First Commit

This commit is contained in:
Kevin Adametz 2018-10-29 09:39:31 +01:00
commit 610aa1e202
4204 changed files with 636764 additions and 0 deletions

View file

@ -0,0 +1 @@
@import "~animate.css/animate";

View file

@ -0,0 +1,6 @@
!function(e,t){var n=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=443)}({180:function(e,t,n){var o,r,i;
/*!
autosize 4.0.2
license: MIT
http://www.jacklmoore.com/autosize
*/r=[e,t],void 0===(i="function"==typeof(o=function(e,t){"use strict";var n,o,r="function"==typeof Map?new Map:(n=[],o=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return o[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function u(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t=null,n=null,o=null,u=function(){e.clientWidth!==n&&c()},l=function(t){window.removeEventListener("resize",u,!1),e.removeEventListener("input",c,!1),e.removeEventListener("keyup",c,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",c,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),r.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",c,!1),window.addEventListener("resize",u,!1),e.addEventListener("input",c,!1),e.addEventListener("autosize:update",c,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:l,update:c}),"vertical"===(d=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===d.resize&&(e.style.resize="horizontal"),t="content-box"===d.boxSizing?-(parseFloat(d.paddingTop)+parseFloat(d.paddingBottom)):parseFloat(d.borderTopWidth)+parseFloat(d.borderBottomWidth),isNaN(t)&&(t=0),c()}var d;function a(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function s(){if(0!==e.scrollHeight){var o=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,o.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)}}function c(){s();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(a("scroll"),s(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(a("hidden"),s(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),o!==r){o=r;var u=i("autosize:resized");try{e.dispatchEvent(u)}catch(e){}}}}function l(e){var t=r.get(e);t&&t.destroy()}function d(e){var t=r.get(e);t&&t.update()}var a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((a=function(e){return e}).destroy=function(e){return e},a.update=function(e){return e}):((a=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return u(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e},a.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],d),e}),t.default=a,e.exports=t.default})?o.apply(t,r):o)||(e.exports=i)},443:function(e,t,n){"use strict";n.r(t);var o=n(180);n.n(o),n.d(t,"autosize",function(){return o})}});if("object"==typeof n){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var r in n)o[0]&&(o[0][r]=n[r]),o[1]&&"__esModule"!==r&&(o[1][r]=n[r]),o[2]&&(o[2][r]=n[r])}}(this);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
!function(e,n){var t=function(e){var n={};function t(l){if(n[l])return n[l].exports;var u=n[l]={i:l,l:!1,exports:{}};return e[l].call(u.exports,u,u.exports,t),u.l=!0,u.exports}return t.m=e,t.c=n,t.d=function(e,n,l){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:l})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=440)}({1:function(e,n){e.exports=window.jQuery},3:function(e,n){e.exports=window.blueimpGallery},439:function(e,n,t){var l,u,o;!function(r){"use strict";u=[t(1),t(3)],void 0===(o="function"==typeof(l=function(e,n){e.extend(n.prototype.options,{fullScreen:!1});var t=n.prototype.initialize,l=n.prototype.close;return e.extend(n.prototype,{getFullScreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},requestFullScreen:function(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},exitFullScreen:function(){document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()},initialize:function(){t.call(this),this.options.fullScreen&&!this.getFullScreenElement()&&this.requestFullScreen(this.container[0])},close:function(){this.getFullScreenElement()===this.container[0]&&this.exitFullScreen(),l.call(this)}}),n})?l.apply(n,u):l)||(e.exports=o)}()},440:function(e,n,t){t(439)}});if("object"==typeof t){var l=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var u in t)l[0]&&(l[0][u]=t[u]),l[1]&&"__esModule"!==u&&(l[1][u]=t[u]),l[2]&&(l[2][u]=t[u])}}(this);

View file

@ -0,0 +1 @@
!function(t,i){var e=function(t){var i={};function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},e.p="",e(e.s=438)}({1:function(t,i){t.exports=window.jQuery},3:function(t,i){t.exports=window.blueimpGallery},437:function(t,i,e){var n,o,r;!function(a){"use strict";o=[e(1),e(3)],void 0===(r="function"==typeof(n=function(t,i){t.extend(i.prototype.options,{indicatorContainer:"ol",activeIndicatorClass:"active",thumbnailProperty:"thumbnail",thumbnailIndicators:!0});var e=i.prototype.initSlides,n=i.prototype.addSlide,o=i.prototype.resetSlides,r=i.prototype.handleClick,a=i.prototype.handleSlide,s=i.prototype.handleClose;return t.extend(i.prototype,{createIndicator:function(i){var e,n,o=this.indicatorPrototype.cloneNode(!1),r=this.getItemProperty(i,this.options.titleProperty),a=this.options.thumbnailProperty;return this.options.thumbnailIndicators&&(a&&(e=this.getItemProperty(i,a)),void 0===e&&(n=i.getElementsByTagName&&t(i).find("img")[0])&&(e=n.src),e&&(o.style.backgroundImage='url("'+e+'")')),r&&(o.title=r),o},addIndicator:function(t){if(this.indicatorContainer.length){var i=this.createIndicator(this.list[t]);i.setAttribute("data-index",t),this.indicatorContainer[0].appendChild(i),this.indicators.push(i)}},setActiveIndicator:function(i){this.indicators&&(this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass),this.activeIndicator=t(this.indicators[i]),this.activeIndicator.addClass(this.options.activeIndicatorClass))},initSlides:function(t){t||(this.indicatorContainer=this.container.find(this.options.indicatorContainer),this.indicatorContainer.length&&(this.indicatorPrototype=document.createElement("li"),this.indicators=this.indicatorContainer[0].children)),e.call(this,t)},addSlide:function(t){n.call(this,t),this.addIndicator(t)},resetSlides:function(){o.call(this),this.indicatorContainer.empty(),this.indicators=[]},handleClick:function(t){var i=t.target||t.srcElement,e=i.parentNode;if(e===this.indicatorContainer[0])this.preventDefault(t),this.slide(this.getNodeIndex(i));else{if(e.parentNode!==this.indicatorContainer[0])return r.call(this,t);this.preventDefault(t),this.slide(this.getNodeIndex(e))}},handleSlide:function(t){a.call(this,t),this.setActiveIndicator(t)},handleClose:function(){this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass),s.call(this)}}),i})?n.apply(i,o):n)||(t.exports=r)}()},438:function(t,i,e){e(437)}});if("object"==typeof e){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var o in e)n[0]&&(n[0][o]=e[o]),n[1]&&"__esModule"!==o&&(n[1][o]=e[o]),n[2]&&(n[2][o]=e[o])}}(this);

View file

@ -0,0 +1 @@
@import '~blueimp-gallery/css/blueimp-gallery-indicator';

View file

@ -0,0 +1 @@
!function(e,t){var o=function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=436)}({1:function(e,t){e.exports=window.jQuery},3:function(e,t){e.exports=window.blueimpGallery},435:function(e,t,o){var n,r,i;!function(s){"use strict";r=[o(1),o(3)],void 0===(i="function"==typeof(n=function(e,t){e.extend(t.prototype.options,{videoContentClass:"video-content",videoLoadingClass:"video-loading",videoPlayingClass:"video-playing",videoPosterProperty:"poster",videoSourcesProperty:"sources"});var o=t.prototype.handleSlide;return e.extend(t.prototype,{handleSlide:function(e){o.call(this,e),this.playingVideo&&this.playingVideo.pause()},videoFactory:function(t,o,n){var r,i,s,a,l,p=this,d=this.options,u=this.elementPrototype.cloneNode(!1),c=e(u),y=[{type:"error",target:u}],f=n||document.createElement("video"),v=this.getItemProperty(t,d.urlProperty),g=this.getItemProperty(t,d.typeProperty),P=this.getItemProperty(t,d.titleProperty),m=this.getItemProperty(t,this.options.altTextProperty)||P,h=this.getItemProperty(t,d.videoPosterProperty),C=this.getItemProperty(t,d.videoSourcesProperty);if(c.addClass(d.videoContentClass),P&&(u.title=P),f.canPlayType)if(v&&g&&f.canPlayType(g))f.src=v;else if(C)for(;C.length;)if(i=C.shift(),v=this.getItemProperty(i,d.urlProperty),g=this.getItemProperty(i,d.typeProperty),v&&g&&f.canPlayType(g)){f.src=v;break}return h&&(f.poster=h,r=this.imagePrototype.cloneNode(!1),e(r).addClass(d.toggleClass),r.src=h,r.draggable=!1,r.alt=m,u.appendChild(r)),(s=document.createElement("a")).setAttribute("target","_blank"),n||s.setAttribute("download",P),s.href=v,f.src&&(f.controls=!0,(n||e(f)).on("error",function(){p.setTimeout(o,y)}).on("pause",function(){f.seeking||(a=!1,c.removeClass(p.options.videoLoadingClass).removeClass(p.options.videoPlayingClass),l&&p.container.addClass(p.options.controlsClass),delete p.playingVideo,p.interval&&p.play())}).on("playing",function(){a=!1,c.removeClass(p.options.videoLoadingClass).addClass(p.options.videoPlayingClass),p.container.hasClass(p.options.controlsClass)?(l=!0,p.container.removeClass(p.options.controlsClass)):l=!1}).on("play",function(){window.clearTimeout(p.timeout),a=!0,c.addClass(p.options.videoLoadingClass),p.playingVideo=f}),e(s).on("click",function(e){p.preventDefault(e),a?f.pause():f.play()}),u.appendChild(n&&n.element||f)),u.appendChild(s),this.setTimeout(o,[{type:"load",target:u}]),u}}),t})?n.apply(t,r):n)||(e.exports=i)}()},436:function(e,t,o){o(435)}});if("object"==typeof o){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var r in o)n[0]&&(n[0][r]=o[r]),n[1]&&"__esModule"!==r&&(n[1][r]=o[r]),n[2]&&(n[2][r]=o[r])}}(this);

View file

@ -0,0 +1,15 @@
@import '~blueimp-gallery/css/blueimp-gallery-video';
.blueimp-gallery > .slides > .slide {
> .video-content > a {
// background-image: url(img/video-play.png);
}
> .video-loading > a {
// background-image: url(img/loading.gif);
}
body:last-child & > .video-content:not(.video-loading) > a {
// background-image: url(img/video-play.svg);
}
}

View file

@ -0,0 +1 @@
!function(e,t){var i=function(e){var t={};function i(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=434)}({1:function(e,t){e.exports=window.jQuery},3:function(e,t){e.exports=window.blueimpGallery},433:function(e,t,i){var o,n,r;!function(a){"use strict";n=[i(1),i(3)],void 0===(r="function"==typeof(o=function(e,t){if(!window.postMessage)return t;e.extend(t.prototype.options,{vimeoVideoIdProperty:"vimeo",vimeoPlayerUrl:"//player.vimeo.com/video/VIDEO_ID?api=1&player_id=PLAYER_ID",vimeoPlayerIdPrefix:"vimeo-player-",vimeoClickToPlay:!0});var i=t.prototype.textFactory||t.prototype.imageFactory,o=function(e,t,i,o){this.url=e,this.videoId=t,this.playerId=i,this.clickToPlay=o,this.element=document.createElement("div"),this.listeners={}},n=0;return e.extend(o.prototype,{canPlayType:function(){return!0},on:function(e,t){return this.listeners[e]=t,this},loadAPI:function(){var t,i,o=this,n="//f.vimeocdn.com/js/froogaloop2.min.js",r=document.getElementsByTagName("script"),a=r.length;function s(){!i&&o.playOnReady&&o.play(),i=!0}for(;a;)if(r[a-=1].src===n){t=r[a];break}t||((t=document.createElement("script")).src=n),e(t).on("load",s),r[0].parentNode.insertBefore(t,r[0]),/loaded|complete/.test(t.readyState)&&s()},onReady:function(){var e=this;this.ready=!0,this.player.addEvent("play",function(){e.hasPlayed=!0,e.onPlaying()}),this.player.addEvent("pause",function(){e.onPause()}),this.player.addEvent("finish",function(){e.onPause()}),this.playOnReady&&this.play()},onPlaying:function(){this.playStatus<2&&(this.listeners.playing(),this.playStatus=2)},onPause:function(){this.listeners.pause(),delete this.playStatus},insertIframe:function(){var e=document.createElement("iframe");e.src=this.url.replace("VIDEO_ID",this.videoId).replace("PLAYER_ID",this.playerId),e.id=this.playerId,this.element.parentNode.replaceChild(e,this.element),this.element=e},play:function(){var e=this;this.playStatus||(this.listeners.play(),this.playStatus=1),this.ready?!this.hasPlayed&&(this.clickToPlay||window.navigator&&/iP(hone|od|ad)/.test(window.navigator.platform))?this.onPlaying():this.player.api("play"):(this.playOnReady=!0,window.$f?this.player||(this.insertIframe(),this.player=$f(this.element),this.player.addEvent("ready",function(){e.onReady()})):this.loadAPI())},pause:function(){this.ready?this.player.api("pause"):this.playStatus&&(delete this.playOnReady,this.listeners.pause(),delete this.playStatus)}}),e.extend(t.prototype,{VimeoPlayer:o,textFactory:function(e,t){var r=this.options,a=this.getItemProperty(e,r.vimeoVideoIdProperty);return a?(void 0===this.getItemProperty(e,r.urlProperty)&&(e[r.urlProperty]="//vimeo.com/"+a),n+=1,this.videoFactory(e,t,new o(r.vimeoPlayerUrl,a,r.vimeoPlayerIdPrefix+n,r.vimeoClickToPlay))):i.call(this,e,t)}}),t})?o.apply(t,n):o)||(e.exports=r)}()},434:function(e,t,i){i(433)}});if("object"==typeof i){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var n in i)o[0]&&(o[0][n]=i[n]),o[1]&&"__esModule"!==n&&(o[1][n]=i[n]),o[2]&&(o[2][n]=i[n])}}(this);

View file

@ -0,0 +1 @@
!function(t,e){var o=function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},o.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=432)}({1:function(t,e){t.exports=window.jQuery},3:function(t,e){t.exports=window.blueimpGallery},431:function(t,e,o){var n,r,i;!function(a){"use strict";r=[o(1),o(3)],void 0===(i="function"==typeof(n=function(t,e){if(!window.postMessage)return e;t.extend(e.prototype.options,{youTubeVideoIdProperty:"youtube",youTubePlayerVars:{wmode:"transparent"},youTubeClickToPlay:!0});var o=e.prototype.textFactory||e.prototype.imageFactory,n=function(t,e,o){this.videoId=t,this.playerVars=e,this.clickToPlay=o,this.element=document.createElement("div"),this.listeners={}};return t.extend(n.prototype,{canPlayType:function(){return!0},on:function(t,e){return this.listeners[t]=e,this},loadAPI:function(){var t,e=this,o=window.onYouTubeIframeAPIReady,n="//www.youtube.com/iframe_api",r=document.getElementsByTagName("script"),i=r.length;for(window.onYouTubeIframeAPIReady=function(){o&&o.apply(this),e.playOnReady&&e.play()};i;)if(r[i-=1].src===n)return;(t=document.createElement("script")).src=n,r[0].parentNode.insertBefore(t,r[0])},onReady:function(){this.ready=!0,this.playOnReady&&this.play()},onPlaying:function(){this.playStatus<2&&(this.listeners.playing(),this.playStatus=2)},onPause:function(){e.prototype.setTimeout.call(this,this.checkSeek,null,2e3)},checkSeek:function(){this.stateChange!==YT.PlayerState.PAUSED&&this.stateChange!==YT.PlayerState.ENDED||(this.listeners.pause(),delete this.playStatus)},onStateChange:function(t){switch(t.data){case YT.PlayerState.PLAYING:this.hasPlayed=!0,this.onPlaying();break;case YT.PlayerState.PAUSED:case YT.PlayerState.ENDED:this.onPause()}this.stateChange=t.data},onError:function(t){this.listeners.error(t)},play:function(){var t=this;this.playStatus||(this.listeners.play(),this.playStatus=1),this.ready?!this.hasPlayed&&(this.clickToPlay||window.navigator&&/iP(hone|od|ad)/.test(window.navigator.platform))?this.onPlaying():this.player.playVideo():(this.playOnReady=!0,window.YT&&YT.Player?this.player||(this.player=new YT.Player(this.element,{videoId:this.videoId,playerVars:this.playerVars,events:{onReady:function(){t.onReady()},onStateChange:function(e){t.onStateChange(e)},onError:function(e){t.onError(e)}}})):this.loadAPI())},pause:function(){this.ready?this.player.pauseVideo():this.playStatus&&(delete this.playOnReady,this.listeners.pause(),delete this.playStatus)}}),t.extend(e.prototype,{YouTubePlayer:n,textFactory:function(t,e){var r=this.options,i=this.getItemProperty(t,r.youTubeVideoIdProperty);return i?(void 0===this.getItemProperty(t,r.urlProperty)&&(t[r.urlProperty]="//www.youtube.com/watch?v="+i),void 0===this.getItemProperty(t,r.videoPosterProperty)&&(t[r.videoPosterProperty]="//img.youtube.com/vi/"+i+"/maxresdefault.jpg"),this.videoFactory(t,e,new n(i,r.youTubePlayerVars,r.youTubeClickToPlay))):o.call(this,t,e)}}),e})?n.apply(e,r):n)||(t.exports=i)}()},432:function(t,e,o){o(431)}});if("object"==typeof o){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var r in o)n[0]&&(n[0][r]=o[r]),n[1]&&"__esModule"!==r&&(n[1][r]=o[r]),n[2]&&(n[2][r]=o[r])}}(this);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,91 @@
@import '~blueimp-gallery/css/blueimp-gallery';
.blueimp-gallery > .slides > .slide-loading {
// background-image: url(img/loading.gif);
}
.blueimp-gallery > .slides > .slide-error {
// background-image: url(img/error.png);
}
.blueimp-gallery > .play-pause {
// background-image: url(img/play-pause.png);
}
body:last-child .blueimp-gallery > .slides > .slide-error {
// background-image: url(img/error.svg);
}
body:last-child .blueimp-gallery > .play-pause {
// background-image: url(img/play-pause.svg);
}
.blueimp-gallery {
a.close,
a.prev,
a.next {
&,
&:hover,
&:focus {
color: #fff;
}
}
.prev,
.next {
border-color: transparent;
}
}
.blueimp-gallery-carousel {
box-shadow: none;
}
[dir=rtl] {
.blueimp-gallery {
direction: rtl;
}
.blueimp-gallery > .slides > .slide {
float: right;
}
.blueimp-gallery > .prev,
.blueimp-gallery > .next {
left: auto;
right: 15px;
}
.blueimp-gallery > .next {
right: auto;
left: 15px;
}
.blueimp-gallery > .play-pause {
transform: scaleX(-1);
}
.blueimp-gallery > .close,
.blueimp-gallery > .title {
left: auto;
right: 15px;
margin-right: 0;
margin-left: 40px;
}
.blueimp-gallery > .close {
left: 15px;
right: auto;
margin: -15px;
}
.blueimp-gallery > .play-pause {
right: auto;
left: 15px;
}
}
.default-style {
@import "../../sass/_appwork/include";
.blueimp-gallery:not(.blueimp-gallery-carousel) {
z-index: $zindex-modal-top;
}
}
.material-style {
@import "../../sass/_appwork/include-material";
.blueimp-gallery:not(.blueimp-gallery-carousel) {
z-index: $zindex-modal-top;
}
}

View file

@ -0,0 +1 @@
!function(e,n){var t=function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=429)}({1:function(e,n){e.exports=window.jQuery},3:function(e,n){e.exports=window.blueimpGallery},428:function(e,n,t){var o,r,i;!function(l){"use strict";r=[t(1),t(3)],void 0===(i="function"==typeof(o=function(e,n){e(document).on("click","[data-gallery]",function(t){var o=e(this).data("gallery"),r=e(o),i=r.length&&r||e(n.prototype.options.container),l={onopen:function(){i.data("gallery",this).trigger("open")},onopened:function(){i.trigger("opened")},onslide:function(){i.trigger("slide",arguments)},onslideend:function(){i.trigger("slideend",arguments)},onslidecomplete:function(){i.trigger("slidecomplete",arguments)},onclose:function(){i.trigger("close")},onclosed:function(){i.trigger("closed").removeData("gallery")}},u=e.extend(i.data(),{container:i[0],index:this,event:t},l),c=e(this).closest("[data-gallery-group], body").find('[data-gallery="'+o+'"]');return u.filter&&(c=c.filter(u.filter)),new n(c,u)})})?o.apply(n,r):o)||(e.exports=i)}()},429:function(e,n,t){t(428)}});if("object"==typeof t){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var r in t)o[0]&&(o[0][r]=t[r]),o[1]&&"__esModule"!==r&&(o[1][r]=t[r]),o[2]&&(o[2][r]=t[r])}}(this);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,36 @@
@import "../../sass/_appwork/functions";
@mixin bs-datepicker-theme($background, $color: null) {
$color: if($color, $color, yiq($background));
$range-bg: rgba-to-hex(rgba($background, .15), #fff);
$range-color: yiq($range-bg);
.datepicker table tr td {
&.active,
&.active.highlighted,
&.active.today,
span.active,
span.active.disabled,
&.range-start,
&.range-end {
background: $background !important;
color: $color !important;
}
&.range,
&.range.highlighted,
&.range.today {
background: $range-bg !important;
color: $range-color !important;
&.focused {
background: darken($range-bg, 6%) !important;
}
&.disabled {
background: transparentize($range-bg, .5) !important;
color: transparentize($range-color, .5) !important;
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,433 @@
@import '../../sass/_custom-variables/libs';
$datepicker-today-bg: #fff4df !default;
$datepicker-highlighted-bg: #eff8fc !default;
$datepicker-arrow-size: .5rem !default;
.datepicker {
direction: ltr;
&.datepicker-rtl {
direction: rtl;
table tr td span {
float: right;
}
}
[dir=rtl] & {
direction: rtl;
}
.next,
.prev {
position: relative;
color: transparent !important;
}
.next::after,
.prev::after {
content: "";
position: absolute;
display: block;
width: $datepicker-arrow-size;
height: $datepicker-arrow-size;
border-style: solid;
border-radius: 0;
top: 50%;
left: 50%;
transform: rotate(-45deg);
transform-origin: left;
}
.next::after {
border-width: 0 1px 1px 0;
margin-left: -$datepicker-arrow-size / 2;
[dir=rtl] & {
margin-left: 0;
border-width: 1px 0 0 1px;
transform: rotate(-45deg);
}
}
.prev::after {
border-width: 1px 0 0 1px;
[dir=rtl] & {
margin-left: -$datepicker-arrow-size / 2;
border-width: 0 1px 1px 0;
transform: rotate(-45deg);
}
}
}
.datepicker-dropdown {
top: 0;
left: 0;
padding: .25rem;
}
.datepicker table {
margin: 0;
user-select: none;
}
.datepicker table tr td,
.datepicker table tr th {
width: 2rem;
height: 2rem;
border: none;
text-align: center;
line-height: calc(#{"2rem - 2px"});
}
.datepicker table tr td {
&.day:hover,
&.focused {
cursor: pointer;
}
&.disabled,
&.disabled:hover {
background: none;
cursor: default;
}
&.highlighted {
border-radius: 0 !important;
background: $datepicker-highlighted-bg;
&.focused {
background: darken($datepicker-highlighted-bg, 6%);
}
}
&.today {
background: $datepicker-today-bg !important;
&.focused {
background: darken($datepicker-today-bg, 6%) !important;
}
&.disabled,
&.disabled:active {
background: $datepicker-today-bg !important;
}
}
&.range {
border-radius: 0 !important;
}
&.range.highlighted {
$range-highlighted-bg: darken($datepicker-highlighted-bg, 3%);
background: $range-highlighted-bg;
&.focused {
background: darken($range-highlighted-bg, 6%);
}
}
&.range.today {
$range-today-bg: darken($datepicker-today-bg, 3%) !important;
background: $range-today-bg !important;
&.disabled,
&.disabled:active {
background: $range-today-bg !important;
}
}
&.range-start:not(.range-end) {
html:not([dir=rtl]) & {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
[dir=rtl] & {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
}
&.range-end:not(.range-start) {
html:not([dir=rtl]) & {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
[dir=rtl] & {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
}
&.selected,
&.selected:hover,
&.selected.highlighted {
color: #fff;
}
}
.datepicker table tr td span {
display: block;
float: left;
width: 3.375rem;
height: 3.375rem;
line-height: 3.375rem;
cursor: pointer;
&.disabled,
&.disabled:hover {
background: none;
cursor: default;
}
[dir=rtl] & {
float: right;
}
}
.table-striped .datepicker table tr td,
.table-striped .datepicker table tr th {
background-color: transparent;
}
.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next,
.datepicker tfoot tr th {
cursor: pointer;
}
// Basic styling for calendar-week cells
.datepicker .cw {
padding: 0 .125rem;
width: .75rem;
vertical-align: middle;
font-size: .625rem;
}
.datepicker-months table,
.datepicker-years table,
.datepicker-decades table,
.datepicker-centuries table {
width: (3.375rem * 3) + 2.625rem;
td {
padding: 0 0 1.25rem 1.25rem;
[dir=rtl] & {
padding: 0 1.25rem 1.25rem 0;
}
}
}
.input-group.date .input-group-addon {
cursor: pointer;
}
.input-daterange input {
text-align: center;
}
.default-style {
@import "../../sass/_appwork/include";
$datepicker-hover-bg : $gray-50;
$datepicker-old-new-color : $text-light;
.datepicker-dropdown {
z-index: $zindex-popover !important;
}
.datepicker {
border-radius: $border-radius;
}
.datepicker table tr td,
.datepicker table tr th {
border-radius: $border-radius;
}
.datepicker table tr td {
&.old,
&.new {
color: $datepicker-old-new-color;
}
&.day:hover,
&.focused {
background: $datepicker-hover-bg;
}
&.disabled,
&.disabled:hover {
background: none;
color: $datepicker-old-new-color;
}
&.highlighted.disabled,
&.highlighted.disabled:active {
color: $datepicker-old-new-color;
}
&.today.disabled,
&.today.disabled:active {
color: $datepicker-old-new-color;
}
}
.datepicker table tr td span {
border-radius: $border-radius;
&:hover,
&.focused {
background: $datepicker-hover-bg;
}
&.disabled,
&.disabled:hover {
color: $datepicker-old-new-color;
}
&.old,
&.new {
color: $datepicker-old-new-color;
}
}
.datepicker .next,
.datepicker .prev {
&::after {
color: $text-light;
}
&:hover::after {
color: $body-color;
}
}
.datepicker .datepicker-switch:hover,
.datepicker tfoot tr th:hover {
background: $datepicker-hover-bg;
}
.datepicker tfoot tr th,
.datepicker .datepicker-switch {
font-weight: $font-weight-semibold;
}
.datepicker .cw,
.datepicker .dow {
color: $datepicker-old-new-color;
font-size: $font-size-sm;
font-weight: $font-weight-semibold;
background: $gray-50;
border-radius: 0 !important;
}
}
.material-style {
@import "../../sass/_appwork/include-material";
$datepicker-hover-bg : $gray-50;
$datepicker-old-new-color : $text-light;
.datepicker-dropdown {
z-index: $zindex-popover !important;
animation: none !important;
}
.datepicker {
border-radius: $border-radius;
}
.datepicker table tr td,
.datepicker table tr th,
.datepicker table tr td span {
border-radius: 99rem;
}
.datepicker table tr td.day,
.datepicker tfoot tr th {
font-size: $font-size-sm;
font-weight: $font-weight-semibold;
}
.datepicker table tr td {
&.old,
&.new {
color: $datepicker-old-new-color;
}
&.day:hover,
&.focused {
background: $datepicker-hover-bg;
}
&.disabled,
&.disabled:hover {
background: none;
color: $datepicker-old-new-color;
}
&.highlighted.disabled,
&.highlighted.disabled:active {
color: $datepicker-old-new-color;
}
&.today.disabled,
&.today.disabled:active {
color: $datepicker-old-new-color;
}
}
.datepicker table tr td span {
&:hover,
&.focused {
background: $datepicker-hover-bg;
}
&.disabled,
&.disabled:hover {
color: $datepicker-old-new-color;
}
&.old,
&.new {
color: $datepicker-old-new-color;
}
}
.datepicker .next,
.datepicker .prev {
&::after {
color: $text-light;
}
&:hover::after {
color: $body-color;
}
}
.datepicker .datepicker-switch:hover,
.datepicker tfoot tr th:hover {
background: $datepicker-hover-bg;
}
.datepicker tfoot tr th,
.datepicker .datepicker-switch {
font-weight: $font-weight-semibold;
}
.datepicker .cw,
.datepicker .dow {
color: $datepicker-old-new-color;
font-size: $font-size-sm;
font-weight: $font-weight-semibold;
background: $gray-50;
border-radius: 0 !important;
}
}

View file

@ -0,0 +1,26 @@
@import "../../sass/_appwork/functions";
@mixin bs-daterangepicker-theme($background, $color) {
$color: if($color, $color, yiq($background));
$higlighted-bg: rgba-to-hex(rgba($background, .15), #fff);
$higlighted-color: yiq($higlighted-bg);
.daterangepicker td.active {
background-color: $background !important;
color: $color !important;
}
.daterangepicker td.in-range:not(.start-date):not(.end-date):not(.off) {
background-color: $higlighted-bg !important;
color: $higlighted-color !important;
}
.daterangepicker .input-mini.active {
border-color: $background !important;
}
.ranges li.active {
background-color: $background !important;
color: $color !important;
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,571 @@
@import '../../sass/_custom-variables/libs';
$daterangepicker-cell-size: 2rem !default;
$daterangepicker-padding: .5rem !default;
$daterangepicker-arrow-size: .5rem !default;
$daterangepicker-select-width: 3.125rem !default;
// Calculate widths
$daterangepicker-width: ($daterangepicker-cell-size * 7) + ($daterangepicker-padding * 2);
$daterangepicker-width-with-weeks: $daterangepicker-width + $daterangepicker-cell-size;
.daterangepicker {
position: absolute;
top: 100px;
left: 20px;
display: none;
padding: 0;
max-width: none;
background-clip: padding-box;
[dir=rtl] & {
direction: rtl !important;
}
}
.daterangepicker.single {
.daterangepicker .ranges,
.drp-calendar {
float: none;
}
.drp-selected {
display: none;
}
}
.daterangepicker.show-calendar .drp-calendar,
.daterangepicker.show-calendar .drp-buttons {
display: block;
}
.daterangepicker.auto-apply .drp-buttons {
display: none;
}
.daterangepicker .drp-calendar {
display: none;
padding: $daterangepicker-padding;
&.single .calendar-table {
border: 0;
}
}
.daterangepicker .calendar-table {
border: 0;
.next,
.prev {
background: transparent !important;
}
.next span,
.prev span {
display: inline-block;
width: $daterangepicker-arrow-size;
height: $daterangepicker-arrow-size;
border-width: 0 1px 1px 0;
border-style: solid;
border-radius: 0;
}
.next span {
margin-left: -$daterangepicker-arrow-size / 2;
transform: rotate(-45deg);
[dir=rtl] & {
margin-right: -$daterangepicker-arrow-size / 2;
margin-left: 0;
transform: rotate(135deg);
}
}
.prev span {
margin-right: -$daterangepicker-arrow-size / 2;
transform: rotate(135deg);
[dir=rtl] & {
margin-right: 0;
margin-left: -$daterangepicker-arrow-size / 2;
transform: rotate(-45deg);
}
}
table {
margin: 0;
width: 100%;
border: 0;
border-spacing: 0;
border-collapse: collapse;
}
th,
td {
min-width: $daterangepicker-cell-size;
width: $daterangepicker-cell-size;
height: $daterangepicker-cell-size;
border: 1px solid transparent;
vertical-align: middle;
text-align: center;
white-space: nowrap;
white-space: nowrap;
line-height: calc(#{$daterangepicker-cell-size} - 2px);
cursor: pointer;
}
}
.daterangepicker td {
html:not([dir=rtl]) &.start-date:not(.end-date) {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
html:not([dir=rtl]) &.end-date:not(.start-date) {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
[dir=rtl] &.start-date:not(.end-date) {
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
[dir=rtl] &.end-date:not(.start-date) {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
&.in-range:not(.start-date):not(.end-date) {
border-radius: 0 !important;
}
}
.daterangepicker th.month {
width: auto;
}
.daterangepicker td.disabled,
.daterangepicker option.disabled {
text-decoration: line-through;
cursor: not-allowed;
}
.daterangepicker select {
&.monthselect,
&.yearselect {
margin: 0;
padding: 1px;
height: auto;
cursor: default;
}
&.monthselect {
margin-right: 2%;
width: 56%;
[dir=rtl] & {
margin-right: 0;
margin-left: 2%;
}
}
&.yearselect {
width: 40%;
}
&.hourselect,
&.minuteselect,
&.secondselect,
&.ampmselect {
margin: 0 auto;
padding: 2px;
width: $daterangepicker-select-width;
outline: 0;
}
}
.daterangepicker .calendar-time {
position: relative;
margin: 0 auto;
text-align: center;
line-height: 30px;
select.disabled {
cursor: not-allowed;
}
}
.daterangepicker .drp-buttons {
display: none;
clear: both;
padding: $daterangepicker-padding;
border-top: 1px solid;
vertical-align: middle;
text-align: right;
.btn {
margin-left: $daterangepicker-padding;
}
[dir=rtl] & {
text-align: left;
.btn {
margin-right: $daterangepicker-padding;
margin-left: 0;
}
}
}
.daterangepicker .drp-selected {
display: block;
padding-bottom: $daterangepicker-padding;
width: 100%;
}
.daterangepicker .ranges {
float: none;
margin: 0;
text-align: left;
[dir=rtl] & {
text-align: right;
}
ul {
margin: 0 auto;
padding: 0;
width: 100%;
list-style: none;
}
}
.daterangepicker.show-calendar .ranges {
border-bottom: 1px solid;
&:empty {
display: none;
}
}
.default-style {
@import "../../sass/_appwork/include";
.daterangepicker {
z-index: $zindex-popover !important;
margin-top: $dropdown-spacer;
width: calc(#{$daterangepicker-width} + #{$dropdown-border-width * 2});
border: $dropdown-border-width solid $dropdown-border-color;
border-radius: $border-radius;
background-color: $dropdown-bg;
box-shadow: $dropdown-box-shadow;
&.drop-up {
margin-top: -$dropdown-spacer;
}
&.with-week-numbers {
width: calc(#{$daterangepicker-width-with-weeks} + #{$dropdown-border-width * 2});
}
}
.daterangepicker .calendar-table td {
border-radius: $border-radius;
}
.daterangepicker .drp-buttons,
.daterangepicker .ranges {
border-color: $border-color;
}
.daterangepicker .drp-selected {
font-size: $font-size-sm;
}
.daterangepicker .calendar-table thead tr:last-child th {
border-radius: 0 !important;
background: $gray-50;
font-weight: $font-weight-semibold;
font-size: $font-size-sm;
}
.daterangepicker td.week,
.daterangepicker th.week {
color: $text-light;
}
.daterangepicker th.month {
font-weight: $font-weight-semibold;
}
.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
background-color: $gray-50;
}
.daterangepicker td.disabled,
.daterangepicker option.disabled {
color: $text-lighter;
}
.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
color: $text-light;
}
.daterangepicker .ranges li {
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
cursor: pointer;
&:hover {
background-color: $dropdown-link-hover-bg;
}
}
.daterangepicker .calendar-table .next,
.daterangepicker .calendar-table .prev {
span {
border-color: $text-light;
}
&:hover span {
border-color: $body-color;
}
}
.daterangepicker select {
&.monthselect,
&.yearselect,
&.hourselect,
&.minuteselect,
&.secondselect,
&.ampmselect {
border: 1px solid transparent;
background: $gray-100;
color: $body-color;
font-size: $font-size-sm;
}
}
.daterangepicker .calendar-time select.disabled {
color: $text-light;
}
@media (min-width: map-get($grid-breakpoints, md)) {
.daterangepicker {
width: auto !important;
.drp-selected {
display: inline-block;
padding: 0;
width: auto;
}
}
&:not([dir=rtl]) .daterangepicker .drp-calendar {
float: left;
&.left {
padding-right: 0;
}
}
&[dir=rtl] .daterangepicker .drp-calendar {
float: right;
&.left {
padding-left: 0;
}
}
}
@media (min-width: map-get($grid-breakpoints, lg)) {
.daterangepicker .ranges {
border-bottom: 0;
}
&:not([dir=rtl]) .daterangepicker {
.ranges {
float: left;
}
.drp-calendar.left {
border-left: 1px solid $border-color;
}
}
&[dir=rtl] .daterangepicker {
.ranges {
float: right;
}
.drp-calendar.left {
border-right: 1px solid $border-color;
}
}
}
}
.material-style {
@import "../../sass/_appwork/include-material";
.daterangepicker {
z-index: $zindex-popover !important;
margin-top: $dropdown-spacer;
width: calc(#{$daterangepicker-width} + #{$dropdown-border-width * 2});
border: $dropdown-border-width solid $dropdown-border-color;
border-radius: $border-radius;
background-color: $dropdown-bg;
box-shadow: $dropdown-box-shadow;
&.drop-up {
margin-top: -$dropdown-spacer;
}
&.with-week-numbers {
width: calc(#{$daterangepicker-width-with-weeks} + #{$dropdown-border-width * 2});
}
}
.daterangepicker .calendar-table td {
border-radius: 99rem;
font-weight: $font-weight-semibold;
font-size: $font-size-sm;
}
.daterangepicker .drp-buttons,
.daterangepicker .ranges {
border-color: $border-color;
}
.daterangepicker .drp-selected {
font-size: $font-size-sm;
}
.daterangepicker .calendar-table thead tr:last-child th {
background: $gray-50;
font-weight: $font-weight-semibold;
font-size: $font-size-sm;
}
.daterangepicker td.week,
.daterangepicker th.week {
color: $text-light;
}
.daterangepicker th.month {
font-weight: $font-weight-semibold;
}
.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
background-color: $gray-50;
}
.daterangepicker td.disabled,
.daterangepicker option.disabled {
color: $text-lighter;
}
.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
color: $text-light;
}
.daterangepicker .ranges li {
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
cursor: pointer;
&:hover {
background-color: $dropdown-link-hover-bg;
}
}
.daterangepicker .calendar-table .next,
.daterangepicker .calendar-table .prev {
span {
border-color: $text-light;
}
&:hover span {
border-color: $body-color;
}
}
.daterangepicker select {
&.monthselect,
&.yearselect,
&.hourselect,
&.minuteselect,
&.secondselect,
&.ampmselect {
border: 1px solid transparent;
background: $gray-100;
color: $body-color;
font-size: $font-size-sm;
}
}
.daterangepicker .calendar-time select.disabled {
color: $text-light;
}
@media (min-width: map-get($grid-breakpoints, md)) {
.daterangepicker {
width: auto !important;
.drp-selected {
display: inline-block;
padding: 0;
width: auto;
}
}
&:not([dir=rtl]) .daterangepicker .drp-calendar {
float: left;
&.left {
padding-right: 0;
}
}
&[dir=rtl] .daterangepicker .drp-calendar {
float: right;
&.left {
padding-left: 0;
}
}
}
@media (min-width: map-get($grid-breakpoints, lg)) {
.daterangepicker .ranges {
border-bottom: 0;
}
&:not([dir=rtl]) .daterangepicker {
.ranges {
float: left;
}
.drp-calendar.left {
border-left: 1px solid $border-color;
}
}
&[dir=rtl] .daterangepicker {
.ranges {
float: right;
}
.drp-calendar.left {
border-right: 1px solid $border-color;
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,40 @@
@import "~bootstrap-duallistbox/src/bootstrap-duallistbox";
.bootstrap-duallistbox-container .glyphicon-arrow-left,
.bootstrap-duallistbox-container .glyphicon-arrow-right {
position: relative;
top: 1px;
display: inline-block;
font-weight: normal;
font-style: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
[dir=rtl] & {
transform: scaleX(-1);
}
}
.bootstrap-duallistbox-container .glyphicon-arrow-left:before {
content: "";
}
.bootstrap-duallistbox-container .glyphicon-arrow-right:before {
content: "";
}
.bootstrap-duallistbox-container select {
padding: .3125rem 0;
option {
padding: .1875rem .625rem;
line-height: 1;
}
}
.material-style {
.bootstrap-duallistbox-container select {
padding: .625rem 0;
}
}

View file

@ -0,0 +1,5 @@
@mixin bs-markdown-theme($border) {
.md-editor.active {
border-color: $border !important;
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,96 @@
@import "~bootstrap-markdown/css/bootstrap-markdown.min";
.md-editor.active {
box-shadow: none !important;
}
.md-editor > .md-header,
.md-editor .md-footer {
background: #fff;
}
.md-editor > textarea,
.md-editor > .md-preview {
background: #fff;
padding: 14px;
}
.md-editor > .md-header > .btn-group {
margin-right: .3125rem;
[dir=rtl] & {
margin-right: 0;
margin-left: .3125rem;
}
}
[dir=rtl] .md-controls {
float: left;
}
[dir=rtl] .md-controls .md-control {
right: auto;
left: 5px;
padding-left: 3px;
padding-right: 10px;
}
[dir=rtl] .md-fullscreen-mode .md-fullscreen-controls {
right: auto;
left: 20px;
text-align: left;
}
.default-style {
@import "../../sass/_appwork/include";
.md-editor {
border-color: $card-border-color;
&.md-fullscreen-mode {
z-index: $zindex-modal-top;
}
}
.md-editor:not(.md-fullscreen-mode) > .md-header,
.md-editor:not(.md-fullscreen-mode) .md-footer {
padding-left: $input-btn-padding-x / 2 !important;
padding-right: $input-btn-padding-x / 2 !important;
}
.md-editor > textarea,
.md-editor > .md-preview {
border-color: $card-border-color;
padding: $input-btn-padding-x !important;
}
}
.material-style {
@import "../../sass/_appwork/include-material";
.md-editor {
border-color: $card-border-color;
&.md-fullscreen-mode {
z-index: $zindex-modal-top;
}
}
.md-editor:not(.md-fullscreen-mode) > .md-header,
.md-editor:not(.md-fullscreen-mode) .md-footer {
background: $gray-25;
padding-left: $input-btn-padding-x / 2 !important;
padding-right: $input-btn-padding-x / 2 !important;
}
.md-fullscreen-mode > .md-header .btn {
box-shadow: none !important;
}
// Some hack to rewrite default form-contol style
:not(.input-group) > div.md-editor[class] > textarea.md-input[class],
.md-editor > .md-preview {
border-color: $card-border-color;
padding: $input-btn-padding-x !important;
}
}

View file

@ -0,0 +1,37 @@
@import "../../sass/_appwork/functions";
@mixin bs-material-datetimepicker-theme($background, $color: null) {
$color: if($color, $color, yiq($background));
.dtp-date,
.dtp-time {
background: $background;
color: $color;
}
.dtp-close > a { color: $color; }
header.dtp-header {
background: rgba-to-hex(rgba($background, .85), $background: #000);
color: $color;
}
table.dtp-picker-days tr > td > a.selected {
background: $background;
color: $color !important;
}
.dtp-actual-meridien a.selected {
background: $background !important;
color: $color !important;
}
.dtp .year-picker-item {
&:hover { color: $background; }
&.active { color: $background; }
}
.dtp .svg-clock [stroke="#8BC34A"] { stroke: $background !important; }
.dtp .svg-clock [fill="#8BC34A"] { fill: $background !important; }
.dtp .svg-clock [fill="#fff"] { fill: $color !important; }
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,398 @@
@import '../../sass/_custom-variables/libs';
$dtp-padding: 1rem !default;
$dtp-header-height: 2rem !default;
.dtp {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
animation-duration: .3s;
user-select: none;
&.hidden {
display: none;
}
}
// Utilities
//
.dtp .p10 {
display: inline-block;
width: 10%;
> a {
display: block;
width: 100%;
color: rgba(#000, .2);
text-decoration: none;
}
}
.dtp .p20 {
display: inline-block;
width: 20%;
}
.dtp .p60 {
display: inline-block;
width: 60%;
}
.dtp .p80 {
display: inline-block;
width: 80%;
}
.dtp .hidden {
display: none;
}
.dtp .invisible {
visibility: hidden;
}
.dtp .left {
float: left;
[dir=rtl] & {
float: right;
}
}
.dtp .right {
float: right;
[dir=rtl] & {
float: left;
}
}
.dtp .clearfix {
clear: both;
}
.dtp .center {
text-align: center;
}
// Icons
//
.dtp-select-month-before,
.dtp-select-month-after,
.dtp-select-year-before,
.dtp-select-year-after,
.dtp-select-year-range.before,
.dtp-select-year-range.after,
.dtp-close > a {
font-size: 1.25rem;
> .material-icons {
display: none;
}
}
.dtp-select-month-before:before,
.dtp-select-year-before:before {
content: "";
}
.dtp-select-month-after:before,
.dtp-select-year-after:before {
content: "";
}
.dtp-select-year-range.before:before {
content: "";
display: inline-block;
transform: rotate(-90deg);
direction: ltr !important;
}
.dtp-select-year-range.after:before {
content: "";
display: inline-block;
transform: rotate(90deg);
direction: ltr !important;
}
.dtp-close > a:before {
content: "×";
}
// Content
//
.dtp-content {
position: relative;
left: 50%;
max-width: 18.75rem;
background: #fff;
[dir=rtl] & {
right: 50%;
left: auto;
margin-left: 0 !important;
transform: translate(50%, 0);
}
}
// Header
//
header.dtp-header {
text-align: center;
line-height: $dtp-header-height;
}
.dtp-close {
position: absolute;
top: 0;
right: $dtp-padding;
[dir=rtl] & {
right: auto;
left: $dtp-padding;
}
> a {
line-height: 1;
}
}
.dtp-date,
.dtp-time {
padding: $dtp-padding;
text-align: center;
}
.dtp-date > div {
margin: 0;
padding: 0;
}
.dtp-actual-month,
.dtp-actual-year {
font-size: 1.375rem;
}
.dtp-actual-num,
.dtp-actual-maxtime {
font-size: 2.625rem;
line-height: .9;
}
.dtp-actual-year {
&:hover {
cursor: pointer;
}
&.disabled:hover {
cursor: inherit;
}
}
.dtp-actual-time {
text-align: center;
font-weight: 500;
}
// Picker
//
.dtp-picker {
padding: $dtp-padding;
text-align: center;
}
.dtp-picker-year {
margin-bottom: .0625rem;
}
.dtp-select-year-range {
display: inline-block;
width: 100%;
text-align: center;
line-height: 1;
&.before {
margin-bottom: .625rem !important;
}
&.after {
margin-top: .625rem !important;
}
}
.dtp-picker-month {
padding-bottom: 1.25rem !important;
text-align: center;
text-transform: uppercase !important;
font-weight: 500;
}
.dtp .year-picker-item {
margin: 0 auto;
padding-top: .3125rem;
text-align: center;
cursor: pointer;
&.active {
font-weight: bold;
}
}
table.dtp-picker-days tr > td > a,
.dtp-picker-time > a {
padding: .4375rem;
border-radius: 50% !important;
text-decoration: none;
}
table.dtp-picker-days {
margin: 0;
min-height: 13.8125rem;
border: none;
}
table.dtp-picker-days tr {
border: none;
}
table.dtp-picker-days tr > td {
padding: .25rem;
border: none;
text-align: center;
font-weight: 700;
font-size: .8125rem;
> span.dtp-select-day {
padding: .4375rem;
}
}
table.dtp-picker-days tr > th {
padding: .25rem;
text-align: center;
font-weight: 700;
}
.dtp-picker-time > .dtp-select-hour,
.dtp-picker-time > .dtp-select-minute {
cursor: pointer;
}
a.dtp-meridien-am,
a.dtp-meridien-pm {
position: relative;
top: .625rem;
padding: .7em .5em;
border-radius: 50% !important;
text-decoration: none;
font-weight: 500;
}
// Buttons
//
.dtp-buttons {
padding: 0 $dtp-padding $dtp-padding $dtp-padding;
text-align: right;
[dir=rtl] & {
text-align: left;
}
.btn + .btn {
margin-left: .3125rem;
[dir=rtl] & {
margin-right: .3125rem;
margin-left: 0;
}
}
}
.default-style {
@import "../../sass/_appwork/include";
.dtp {
z-index: $zindex-modal-top;
background: rgba($modal-backdrop-bg, $modal-backdrop-opacity);
}
.dtp-content {
border-radius: $border-radius;
box-shadow: $modal-content-box-shadow-xs;
}
header.dtp-header {
@include border-top-radius(if($border-radius, calc(#{$border-radius} - 2px), 0));
}
.dtp .year-picker-item {
font-size: $font-size-xl;
}
table.dtp-picker-days tr > td > a,
.dtp-picker-time > a {
color: $body-color;
}
table.dtp-picker-days tr > td > span.dtp-select-day {
color: $text-muted !important;
}
table.dtp-picker-days tr > th {
color: $text-muted;
}
a.dtp-meridien-am,
a.dtp-meridien-pm {
position: relative;
background: $gray-100;
color: $body-color;
}
}
.material-style {
@import "../../sass/_appwork/include-material";
.dtp {
z-index: $zindex-modal-top;
background: rgba($modal-backdrop-bg, $modal-backdrop-opacity);
}
.dtp-content {
border-radius: 0;
box-shadow: $modal-content-box-shadow-xs;
}
.dtp .year-picker-item {
font-size: $font-size-xl;
}
table.dtp-picker-days tr > td > a,
.dtp-picker-time > a {
color: $body-color;
}
table.dtp-picker-days tr > td > span.dtp-select-day {
color: $text-muted !important;
}
table.dtp-picker-days tr > th {
color: $text-muted;
}
a.dtp-meridien-am,
a.dtp-meridien-pm {
position: relative;
background: $gray-100;
color: $body-color;
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,41 @@
.bootstrap-maxlength {
vertical-align: baseline;
text-align: center;
line-height: 1;
}
.default-style {
@import '../../sass/_appwork/include';
.bootstrap-maxlength {
padding: $badge-padding-y $badge-padding-x;
background: $badge-default-bg;
font-weight: $badge-font-weight;
font-size: $badge-font-size;
@include border-bottom-radius($badge-border-radius);
&.label-danger {
background: map-get($theme-colors, danger);
color: yiq(map-get($theme-colors, danger));
}
}
}
.material-style {
@import '../../sass/_appwork/include-material';
.bootstrap-maxlength {
padding: $badge-padding-y $badge-padding-x;
background: $badge-default-bg;
font-weight: $badge-font-weight;
font-size: $badge-font-size;
@include border-bottom-radius($badge-border-radius);
&.label-danger {
background: map-get($theme-colors, danger);
color: yiq(map-get($theme-colors, danger));
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,112 @@
@import "~bootstrap-multiselect/dist/css/bootstrap-multiselect";
.multiselect-container {
margin-top: 2px;
margin-bottom: 2px;
padding: 13px 0;
label,
.multiselect-group > a > * {
position: relative;
z-index: 10;
}
.multiselect-group > a > * {
display: inline-block !important;
}
}
.multiselect-container li a,
.multiselect-container .multiselect-item.filter {
padding-left: 16px !important;
padding-right: 16px !important;
}
.multiselect-container .multiselect-group a,
.multiselect-container .multiselect-group > label {
display: block;
padding: 0.3125rem 16px !important;
}
.multiselect-container .multiselect-group ~ li:not(.multiselect-group) a {
padding-left: 24px !important;
[dir=rtl] & {
padding-left: 16px !important;
padding-right: 24px !important;
}
}
.multiselect-container > li > a > label {
padding-top: 0;
padding-bottom: 0;
}
.multiselect-container .hidden {
display: none !important;
}
.multiselect-container .input-group {
margin: 0 0 10px 0 !important;
}
.multiselect-container * {
outline: 0 !important;
}
.multiselect-container label.checkbox,
.multiselect-container label.radio {
color: #444 !important;
padding-left: 0;
padding-right: 0;
}
.multiselect-container > li.multiselect-group label {
padding-left: 0;
padding-right: 0;
}
.multiselect-group-clickable a {
padding-left: 0 !important;
padding-right: 0 !important;
color: #444 !important;
}
.multiselect-group-clickable a input {
margin-left: 0 !important;
margin-right: 0 !important;
}
.multiselect-item.multiselect-all {
margin-bottom: 10px;
background: none !important;
}
.multiselect-item.multiselect-all label {
padding-left: 0 !important;
padding-right: 0 !important;
}
.default-style {
@import "../../sass/_appwork/include";
.multiselect-container li > a:active,
.multiselect-container .active > a {
background: $dropdown-link-hover-bg !important;
}
}
.material-style {
@import "../../sass/_appwork/include-material";
.multiselect-container li > a:active,
.multiselect-container .active > a {
background: $dropdown-link-hover-bg !important;
}
// IE has a strange material ripple bug, so just hide the ripple element
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.multiselect .waves-ripple,
.multiselect-container .waves-ripple {
display: none !important;
}
}
}

View file

@ -0,0 +1,10 @@
@import "../../sass/_appwork/functions";
@mixin bs-select-theme($background, $color:null) {
$color: if($color, $color, yiq($background));
.bootstrap-select .dropdown-menu.inner a[aria-selected=true] {
background: $background !important;
color: $color !important;
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,81 @@
$width-default: 100%;
@import "~bootstrap-select/sass/bootstrap-select";
.bootstrap-select *,
.bootstrap-select .dropdown-toggle:focus {
outline: 0 !important;
}
.bootstrap-select .dropdown-toggle:after {
position: absolute;
top: 50%;
right: 13px;
[dir=rtl] & {
right: auto;
left: 13px;
}
}
[dir=rtl] .bootstrap-select .dropdown-toggle .filter-option {
text-align: right;
}
.bootstrap-select.show-tick .dropdown-menu {
li a {
position: relative;
}
[dir=rtl] & li a span.text {
margin-right: 0;
margin-left: 2.125rem;
}
.selected span.check-mark {
top: 50%;
right: 1rem;
display: block;
line-height: 1;
transform: translateY(-50%);
margin: 0;
[dir=rtl] & {
right: auto;
left: 1rem;
}
}
}
[dir=rtl] .bootstrap-select .dropdown-toggle .filter-option-inner {
padding-right: 0;
padding-left: inherit;
}
html:not([dir=rtl]) .bootstrap-select.custom-select,
[dir=rtl] .bootstrap-select.custom-select {
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
background: none !important;
}
.bootstrap-select:not(.input-group-btn),
.bootstrap-select[class*="col-"] {
display: block;
}
.bootstrap-select .dropdown-menu.inner .selected .waves-ripple {
display: none !important;
}
.material-style {
@import "../../sass/_appwork/include-material";
// IE has a strange material ripple bug, so just hide the ripple element
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.bootstrap-select .waves-ripple {
display: none !important;
}
}
}

View file

@ -0,0 +1,32 @@
@mixin bs-slider-variant($color) {
.slider-selection,
.slider-reversed .slider-track-high,
&.slider-reversed .slider-track-high {
background: $color;
}
}
@mixin material-bs-slider-variant($color) {
.slider-handle {
box-shadow: none !important;
}
.slider-handle,
.slider-selection,
.slider-reversed .slider-track-high,
&.slider-reversed .slider-track-high {
background: $color;
}
}
@mixin bs-slider-theme($color) {
.slider-primary {
@include bs-slider-variant($color);
}
}
@mixin material-bs-slider-theme($color) {
.slider-primary {
@include material-bs-slider-variant($color);
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,157 @@
@import '../../sass/_custom-variables/libs';
$slider-line-height: .75rem !default;
$slider-border-radius: 6.1875rem !default;
$slider-horizontal-width: 100% !default;
// DUMMY
@mixin slider_background-image ($v...) {}
@mixin slider_box-sizing ($v...) {}
@mixin slider_box-shadow ($v...) {}
@mixin slider_border-radius ($value) { border-radius: $value; }
@function slider_border-radius($value) { @return $value; }
// Imports
@import "~bootstrap-slider/src/sass/variables";
@import "mixins";
@import "~bootstrap-slider/src/sass/rules";
.slider {
user-select: none;
}
.slider .tooltip {
transition: opacity .2s;
&.top,
&.bottom {
transform: translateX(-50%);
[dir=rtl] & {
transform: translateX(50%);
}
}
&.left,
&.right {
transform: translateY(-50%);
}
&.in {
opacity: 1;
}
&.top {
margin-top: -($slider-line-height * 2.2) - .125rem;
}
&.right {
margin-left: .5rem;
}
&.left {
margin-right: .5rem;
}
}
.slider-handle {
background: #fff;
transition: transform .2s;
&:active {
transform: scale(1.4, 1.4);
}
}
// Horizontal track
.slider.slider-horizontal .slider-track {
margin-top: -.0625rem;
height: .125rem;
}
// Vertical track
.slider.slider-vertical .slider-track {
margin-left: .125rem;
width: .125rem;
}
// Reversed slider
.slider-reversed .slider-selection {
background: transparent !important;
}
// Disabled
//
.slider-disabled .slider-track {
opacity: .3;
cursor: not-allowed;
}
.slider-disabled .slider-handle {
box-shadow: 0 0 0 1px rgba(0,0,0,.07);
cursor: not-allowed;
transform: none;
}
// Horizontal labels
.slider.slider-horizontal .slider-tick-label-container .slider-tick-label {
padding-top: .25rem;
}
[dir=rtl] .slider.slider-vertical {
.slider-track {
margin-left: 0;
margin-right: .125rem;
}
}
.default-style {
@import '../../sass/_appwork/include';
.slider-handle {
box-shadow: 0 0 0 1px rgba(0,0,0,.1), $floating-component-shadow;
}
.slider-track {
background: $gray-200;
}
.slider-tick-label-container .slider-tick-label {
color: $text-muted;
font-size: $small-font-size;
}
@each $color, $value in $theme-colors {
@if $color != primary {
.slider-#{$color} {
@include bs-slider-variant($value);
}
}
}
}
.material-style {
@import '../../sass/_appwork/include-material';
.slider-handle {
box-shadow: 0 0 0 1px rgba(0,0,0,.1), $floating-component-shadow;
}
.slider-track {
background: $gray-200;
}
.slider-tick-label-container .slider-tick-label {
color: $text-muted;
font-size: $small-font-size;
}
@each $color, $value in $theme-colors {
@if $color != primary {
.slider-#{$color} {
@include material-bs-slider-variant($value);
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,65 @@
@import "~bootstrap-sortable/Contents/bootstrap-sortable";
[dir=rtl] table.sortable {
span.sign {
right: auto;
left: .3125rem;
}
th:after {
right: auto;
left: .3125rem;
}
> thead th:not([data-defaultsort=disabled]) {
right: 0;
left: auto;
}
span.az:before,
th.az.down:after {
content: "z .. a";
}
span.az.up:before,
th.az.up:after {
content: "a .. z";
}
th.az.nosort:after,
th.AZ.nosort:after,
th._19.nosort:after,
th.month.nosort:after {
content: "..";
}
span.AZ:before,
th.AZ.down:after {
content: "Z .. A";
}
span.AZ.up:before,
th.AZ.up:after {
content: "A .. Z";
}
span._19:before,
th._19.down:after {
content: "9 .. 1";
}
span._19.up:before,
th._19.up:after {
content: "1 .. 9";
}
span.month:before,
th.month.down:after {
content: "dec .. jan";
}
span.month.up:before,
th.month.up:after {
content: "jan .. dec";
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,800 @@
@mixin keyframes($name) {
@-webkit-keyframes #{$name} {
@content;
}
@-moz-keyframes #{$name} {
@content;
}
@keyframes #{$name} {
@content;
}
}
// *******************************************************************************
// * Loader
.la-ball-fall,
.la-ball-fall > div {
position: relative;
box-sizing: border-box;
}
.la-ball-fall {
display: block;
color: #fff;
font-size: 0;
}
.la-ball-fall.la-dark {
color: #333;
}
.la-ball-fall > div {
display: inline-block;
float: none;
border: 0 solid currentColor;
background-color: currentColor;
}
.la-ball-fall {
width: 3.375rem;
height: 1.125rem;
}
.la-ball-fall > div {
margin: .25rem;
width: .625rem;
height: .625rem;
border-radius: 100%;
opacity: 0;
animation: ball-fall 1s ease-in-out infinite;
}
.la-ball-fall > div:nth-child(1) {
animation-delay: -200ms;
}
.la-ball-fall > div:nth-child(2) {
animation-delay: -100ms;
}
.la-ball-fall > div:nth-child(3) {
animation-delay: 0ms;
}
.la-ball-fall.la-sm {
width: 1.625rem;
height: .5rem;
}
.la-ball-fall.la-sm > div {
margin: .125rem;
width: .25rem;
height: .25rem;
}
.la-ball-fall.la-2x {
width: 6.75rem;
height: 2.25rem;
}
.la-ball-fall.la-2x > div {
margin: .5rem;
width: 1.25rem;
height: 1.25rem;
}
.la-ball-fall.la-3x {
width: 10.125rem;
height: 3.375rem;
}
.la-ball-fall.la-3x > div {
margin: .75rem;
width: 1.875rem;
height: 1.875rem;
}
// *******************************************************************************
// * Keyframes
@include keyframes(ball-fall) {
0% {
opacity: 0;
transform: translateY(-145%);
}
10% {
opacity: .5;
}
20% {
opacity: 1;
transform: translateY(0);
}
80% {
opacity: 1;
transform: translateY(0);
}
90% {
opacity: .5;
}
100% {
opacity: 0;
transform: translateY(145%);
}
}
@include keyframes(showSweetAlert) {
0% {
transform: scale(.7);
}
45% {
transform: scale(1.05);
}
80% {
transform: scale(.95);
}
100% {
transform: scale(1);
}
}
@include keyframes(hideSweetAlert) {
0% {
transform: scale(1);
}
100% {
transform: scale(.5);
}
};
@include keyframes(slideFromTop) {
0% {
top: 0;
}
100% {
top: 50%;
}
};
@include keyframes(slideToTop) {
0% {
top: 50%;
}
100% {
top: 0;
}
};
@include keyframes(slideFromBottom) {
0% {
top: 70%;
}
100% {
top: 50%;
}
}
@include keyframes(slideToBottom) {
0% {
top: 50%;
}
100% {
top: 70%;
}
}
@include keyframes(animateSuccessTip) {
0% {
top: 1.1875rem;
left: .0625rem;
width: 0;
}
54% {
top: 1.1875rem;
left: .0625rem;
width: 0;
}
70% {
top: 2.3125rem;
left: -.5rem;
width: 3.125rem;
}
84% {
top: 3rem;
left: 1.3125rem;
width: 1.0625rem;
}
100% {
top: 2.8125rem;
left: .875rem;
width: 1.5625rem;
}
}
@include keyframes(animateSuccessLong) {
0% {
top: 3.375rem;
right: 2.875rem;
width: 0;
}
65% {
top: 3.375rem;
right: 2.875rem;
width: 0;
}
84% {
top: 2.1875rem;
right: 0;
width: 3.4375rem;
}
100% {
top: 2.375rem;
right: .5rem;
width: 2.9375rem;
}
}
@include keyframes(rotatePlaceholder) {
0% {
transform: rotate(-45deg);
}
5% {
transform: rotate(-45deg);
}
12% {
transform: rotate(-405deg);
}
100% {
transform: rotate(-405deg);
}
}
@include keyframes(animateErrorIcon) {
0% {
opacity: 0;
transform: rotateX(100deg);
}
100% {
opacity: 1;
transform: rotateX(0deg);
}
}
@include keyframes(animateXMark) {
0% {
margin-top: 1.625rem;
opacity: 0;
transform: scale(.4);
}
50% {
margin-top: 1.625rem;
opacity: 0;
transform: scale(.4);
}
80% {
margin-top: -.375rem;
transform: scale(1.15);
}
100% {
margin-top: 0;
opacity: 1;
transform: scale(1);
}
}
@include keyframes(pulseWarning) {
0% {
border-color: #f8d486;
}
100% {
border-color: #f8bb86;
}
}
@include keyframes(pulseWarningIns) {
0% {
background-color: #f8d486;
}
100% {
background-color: #f8bb86;
}
}
@include keyframes(rotate-loading) {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
// *******************************************************************************
// * Animations
.showSweetAlert {
animation: showSweetAlert .3s;
&[data-animation=none] {
animation: none;
}
&[data-animation=slide-from-top] {
animation: slideFromTop .3s;
}
&[data-animation=slide-from-bottom] {
animation: slideFromBottom .3s;
}
}
.hideSweetAlert {
animation: hideSweetAlert .3s;
&[data-animation=none] {
animation: none;
}
&[data-animation=slide-from-top] {
animation: slideToTop .3s;
}
&[data-animation=slide-from-bottom] {
animation: slideToBottom .3s;
}
}
.animateSuccessTip {
animation: animateSuccessTip .75s;
}
.animateSuccessLong {
animation: animateSuccessLong .75s;
}
.sa-icon.sa-success.animate::after {
animation: rotatePlaceholder 4.25s ease-in;
}
.animateErrorIcon {
animation: animateErrorIcon .5s;
}
.animateXMark {
animation: animateXMark .5s;
}
.pulseWarning {
animation: pulseWarning .75s infinite alternate;
}
.pulseWarningIns {
animation: pulseWarningIns .75s infinite alternate;
}
// *******************************************************************************
// * Styles
body.stop-scrolling {
overflow: hidden;
height: 100%;
}
.sweet-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: none;
}
.sweet-alert {
$width: 29.875rem;
$padding: 1.0625rem;
background-color: #fff;
width: $width;
padding: $padding;
text-align: center;
margin-left: -$width / 2;
position: fixed;
left: 50%;
top: 50%;
margin-top: -12.5rem;
overflow: hidden;
display: none;
outline: 0 !important;
}
.sweet-alert h2,
.sweet-alert .sa-button-container {
margin-top: 1.875rem;
}
.sweet-alert .form-group {
display: none;
.sa-input-error {
display: none;
}
}
.sweet-alert.show-input .form-group {
display: block;
}
.sweet-alert .sa-confirm-button-container {
position: relative;
display: inline-block;
}
.sweet-alert .la-ball-fall {
position: absolute;
top: 50%;
left: 50%;
visibility: hidden;
margin-top: -.5625rem;
margin-left: -1.6875rem;
opacity: 0;
}
.sweet-alert button {
&[disabled] {
opacity: .6;
cursor: default;
}
&.confirm[disabled] {
color: transparent;
}
&.confirm[disabled] ~ .la-ball-fall {
visibility: visible;
opacity: 1;
transition-delay: 0s;
}
}
// *******************************************************************************
// * Icons
.sweet-alert .sa-icon {
position: relative;
box-sizing: content-box;
margin: 1.25rem auto;
width: 5rem;
height: 5rem;
border: 4px solid gray;
border-radius: 50%;
[dir=rtl] & {
transform: scaleX(-1);
}
}
// Error icon
.sweet-alert .sa-icon.sa-error {
.sa-x-mark {
position: relative;
display: block;
}
.sa-line {
position: absolute;
top: 2.3125rem;
display: block;
width: 2.9375rem;
height: .3125rem;
border-radius: .125rem;
&.sa-left {
left: 1.0625rem;
transform: rotate(45deg);
}
&.sa-right {
right: 1rem;
transform: rotate(-45deg);
}
}
}
// Warning icon
.sweet-alert .sa-icon.sa-warning {
.sa-body {
// Exclamation mark body
position: absolute;
top: .625rem;
left: 50%;
margin-left: -.125rem;
width: .3125rem;
height: 2.9375rem;
border-radius: .125rem;
}
.sa-dot {
// Exclamation mark dot
position: absolute;
bottom: .625rem;
left: 50%;
margin-left: -.1875rem;
width: .4375rem;
height: .4375rem;
border-radius: 50%;
}
}
// Info icon
.sweet-alert .sa-icon.sa-info {
&::before {
// i-letter body
content: "";
position: absolute;
bottom: 1.0625rem;
left: 50%;
margin-left: -.125rem;
width: .3125rem;
height: 1.8125rem;
border-radius: .125rem;
}
&::after {
// i-letter dot
content: "";
position: absolute;
top: 1.1875rem;
left: 50%;
margin-left: -.1875rem;
width: .4375rem;
height: .4375rem;
border-radius: 50%;
}
}
// Success icon
.sweet-alert .sa-icon.sa-success {
&::before,
&::after {
// Emulate moving circular line
content: '';
position: absolute;
width: 3.75rem;
height: 7.5rem;
border-radius: 50%;
background: #fff;
transform: rotate(45deg);
}
&::before {
top: -.4375rem;
left: -2.0625rem;
border-radius: 7.5rem 0 0 7.5rem;
transform: rotate(-45deg);
transform-origin: 3.75rem 3.75rem;
}
&::after {
top: -.6875rem;
left: 1.875rem;
border-radius: 0 7.5rem 7.5rem 0;
transform: rotate(-45deg);
transform-origin: 0 3.75rem;
}
.sa-placeholder {
// Ring
position: absolute;
top: -.25rem;
left: -.25rem;
z-index: 2;
box-sizing: content-box;
width: 5rem;
height: 5rem;
border-radius: 50%;
}
.sa-fix {
position: absolute;
top: .5rem;
left: 1.75rem;
z-index: 1;
width: .3125rem;
height: 5.625rem;
background-color: #fff;
transform: rotate(-45deg);
}
.sa-line {
position: absolute;
z-index: 2;
display: block;
height: .3125rem;
border-radius: .125rem;
&.sa-tip {
top: 2.875rem;
left: .875rem;
width: 1.5625rem;
transform: rotate(45deg);
}
&.sa-long {
top: 2.375rem;
right: .5rem;
width: 2.9375rem;
transform: rotate(-45deg);
}
}
}
// Custom icon
.sweet-alert .sa-icon.sa-custom {
border: none;
border-radius: 0;
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
}
.default-style {
@import "../../sass/_appwork/include";
.sweet-alert {
z-index: $zindex-modal-top;
}
.sweet-alert .popover {
z-index: $zindex-modal-top + 1;
}
.sweet-alert .tooltip {
z-index: $zindex-modal-top + 2;
}
.sweet-overlay {
z-index: $zindex-modal-top - 1;
background-color: rgba($modal-backdrop-bg, $modal-backdrop-opacity);
}
.sweet-alert {
border-radius: $border-radius;
box-shadow: $modal-content-box-shadow-xs;
@media all and (max-width: (map-get($grid-breakpoints, sm) - 1px)) {
right: ($grid-gutter-width / 2);
left: ($grid-gutter-width / 2);
margin-right: 0;
margin-left: 0;
width: auto;
}
}
.sweet-alert .sa-icon.sa-error {
border-color: map-get($theme-colors, danger);
.sa-line {
background-color: map-get($theme-colors, danger);
}
}
.sweet-alert .sa-icon.sa-warning {
border-color: map-get($theme-colors, warning);
.sa-body {
// Exclamation mark body
background-color: map-get($theme-colors, warning);
}
.sa-dot {
// Exclamation mark dot
background-color: map-get($theme-colors, warning);
}
}
.sweet-alert .sa-icon.sa-info {
border-color: map-get($theme-colors, info);
&::before {
// i-letter body
background-color: map-get($theme-colors, info);
}
&::after {
// i-letter dot
background-color: map-get($theme-colors, info);
}
}
.sweet-alert .sa-icon.sa-success {
border-color: map-get($theme-colors, success);
.sa-placeholder {
// Ring
border: 4px solid rgba(map-get($theme-colors, success), .2);
}
.sa-line {
background-color: map-get($theme-colors, success);
}
}
}
.material-style {
@import "../../sass/_appwork/include-material";
.sweet-alert {
z-index: $zindex-modal-top;
}
.sweet-alert .popover {
z-index: $zindex-modal-top + 1;
}
.sweet-alert .tooltip {
z-index: $zindex-modal-top + 2;
}
.sweet-overlay {
z-index: $zindex-modal-top - 1;
background-color: rgba($modal-backdrop-bg, $modal-backdrop-opacity);
}
.sweet-alert {
box-shadow: $modal-content-box-shadow-xs;
@media all and (max-width: (map-get($grid-breakpoints, sm) - 1px)) {
right: ($grid-gutter-width / 2);
left: ($grid-gutter-width / 2);
margin-right: 0;
margin-left: 0;
width: auto;
}
}
.sweet-alert .sa-icon.sa-error {
border-color: map-get($theme-colors, danger);
.sa-line {
background-color: map-get($theme-colors, danger);
}
}
.sweet-alert .sa-icon.sa-warning {
border-color: map-get($theme-colors, warning);
.sa-body {
// Exclamation mark body
background-color: map-get($theme-colors, warning);
}
.sa-dot {
// Exclamation mark dot
background-color: map-get($theme-colors, warning);
}
}
.sweet-alert .sa-icon.sa-info {
border-color: map-get($theme-colors, info);
&::before {
// i-letter body
background-color: map-get($theme-colors, info);
}
&::after {
// i-letter dot
background-color: map-get($theme-colors, info);
}
}
.sweet-alert .sa-icon.sa-success {
border-color: map-get($theme-colors, success);
.sa-placeholder {
// Ring
border: 4px solid rgba(map-get($theme-colors, success), .2);
}
.sa-line {
background-color: map-get($theme-colors, success);
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,171 @@
@import "~bootstrap-table/src/bootstrap-table";
.bootstrap-table .pull-left {
float: left;
[dir=rtl] & {
float: right;
}
}
.bootstrap-table .pull-right {
float: right;
[dir=rtl] & {
float: left;
}
}
.bootstrap-table .pull-left .dropdown-menu,
.bootstrap-table .pull-right .dropdown-menu {
left: auto;
right: auto;
}
.bootstrap-table .table.table-no-bordered > thead > tr > th,
.bootstrap-table .table.table-no-bordered > tbody > tr > td {
border-color: transparent !important;
[dir=rtl] & {
border-right: 0;
border-left: 2px solid;
&:last-child {
border-left: 0;
}
}
}
.bootstrap-table .fixed-table-container {
border-radius: 0;
&.table-no-bordered {
border-color: transparent !important;
}
}
.bootstrap-table .fixed-table-container thead th {
padding: 0;
border-radius: 0 !important;
}
[dir=rtl] .bootstrap-table .fixed-table-container thead th,
[dir=rtl] .bootstrap-table .fixed-table-container tbody td {
border-left: 0;
border-right: 1px solid;
.sortable {
background-position: left;
padding-left: 1.875rem;
}
&:first-child {
border-right: none;
}
}
[dir=rtl] .bootstrap-table .fixed-table-pagination .pagination-info {
margin-right: 0;
margin-left: .3125rem;
}
[dir=rtl] .bootstrap-table .fixed-table-toolbar {
.columns-left {
margin-right: 0;
margin-left: .3125rem;
}
.columns-right {
margin-right: .3125rem;
margin-left: 0;
}
.dropdown-menu {
text-align: right;
}
}
[dir=rtl] .bootstrap-table .fixed-table-body .card-view .title {
text-align: right !important;
}
[dir=rtl] .bootstrap-table .fixed-table-toolbar .btn-group > .btn-group {
margin-left: 0 !important;
}
[dir=rtl] .bootstrap-table div.fixed-table-scroll-outer {
left: auto;
right: 0;
}
.default-style {
@import "../../sass/_appwork/include";
.bootstrap-table .table th,
.bootstrap-table .table td,
.bootstrap-table .fixed-table-container {
border-color: $table-border-color !important;
}
.bootstrap-table .fixed-table-pagination .pagination a {
padding: $pagination-padding-y $pagination-padding-x;
}
.bootstrap-table .fixed-table-container thead th .th-inner,
.bootstrap-table .fixed-table-container tbody td .th-inner {
padding: $table-cell-padding;
}
.bootstrap-table .fixed-table-container .bs-checkbox .th-inner {
padding: $table-cell-padding 0;
}
.bootstrap-table .table:not(.table-condensed),
.bootstrap-table .table:not(.table-condensed) > tbody > tr > th,
.bootstrap-table .table:not(.table-condensed) > tfoot > tr > th,
.bootstrap-table .table:not(.table-condensed) > thead > tr > td,
.bootstrap-table .table:not(.table-condensed) > tbody > tr > td,
.bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
padding: $table-cell-padding;
}
&[dir=rtl] .bootstrap-table .fixed-table-container thead th .sortable {
padding-right: $table-cell-padding;
}
}
.material-style {
@import "../../sass/_appwork/include-material";
.bootstrap-table .table th,
.bootstrap-table .table td,
.bootstrap-table .fixed-table-container {
border-color: $table-border-color !important;
}
.bootstrap-table .fixed-table-pagination .pagination a {
padding: $pagination-padding-y $pagination-padding-x;
}
.bootstrap-table .fixed-table-container thead th .th-inner,
.bootstrap-table .fixed-table-container tbody td .th-inner {
padding: $table-cell-padding;
}
.bootstrap-table .fixed-table-container .bs-checkbox .th-inner {
padding: $table-cell-padding 0;
}
.bootstrap-table .table:not(.table-condensed),
.bootstrap-table .table:not(.table-condensed) > tbody > tr > th,
.bootstrap-table .table:not(.table-condensed) > tfoot > tr > th,
.bootstrap-table .table:not(.table-condensed) > thead > tr > td,
.bootstrap-table .table:not(.table-condensed) > tbody > tr > td,
.bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
padding: $table-cell-padding;
}
&[dir=rtl] .bootstrap-table .fixed-table-container thead th .sortable {
padding-right: $table-cell-padding;
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
!function(t,e){var o=function(t){var e={};function o(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},o.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=359)}({358:function(t,e){!function(t){"use strict";t.extend(t.fn.bootstrapTable.defaults,{autoRefresh:!1,autoRefreshInterval:60,autoRefreshSilent:!0,autoRefreshStatus:!0,autoRefreshFunction:null}),t.extend(t.fn.bootstrapTable.defaults.icons,{autoRefresh:"glyphicon-time icon-time"}),t.extend(t.fn.bootstrapTable.locales,{formatAutoRefresh:function(){return"Auto Refresh"}}),t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales);var e=t.fn.bootstrapTable.Constructor,o=e.prototype.init,n=e.prototype.initToolbar,s=t.fn.bootstrapTable.utils.sprintf;e.prototype.init=function(){if(o.apply(this,Array.prototype.slice.apply(arguments)),this.options.autoRefresh&&this.options.autoRefreshStatus){var t=this;this.options.autoRefreshFunction=setInterval(function(){t.refresh({silent:t.options.autoRefreshSilent})},1e3*this.options.autoRefreshInterval)}},e.prototype.initToolbar=function(){if(n.apply(this,Array.prototype.slice.apply(arguments)),this.options.autoRefresh){var e=this.$toolbar.find(">.btn-group"),o=e.find(".auto-refresh");o.length||(o=t([s('<button class="btn btn-default auto-refresh %s" ',this.options.autoRefreshStatus?"enabled":""),'type="button" ',s('title="%s">',this.options.formatAutoRefresh()),s('<i class="%s %s"></i>',this.options.iconsPrefix,this.options.icons.autoRefresh),"</button>"].join("")).appendTo(e)).on("click",t.proxy(this.toggleAutoRefresh,this))}},e.prototype.toggleAutoRefresh=function(){if(this.options.autoRefresh){if(this.options.autoRefreshStatus)clearInterval(this.options.autoRefreshFunction),this.$toolbar.find(">.btn-group").find(".auto-refresh").removeClass("enabled");else{var t=this;this.options.autoRefreshFunction=setInterval(function(){t.refresh({silent:t.options.autoRefreshSilent})},1e3*this.options.autoRefreshInterval),this.$toolbar.find(">.btn-group").find(".auto-refresh").addClass("enabled")}this.options.autoRefreshStatus=!this.options.autoRefreshStatus}}}(jQuery)},359:function(t,e,o){o(358)}});if("object"==typeof o){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var s in o)n[0]&&(n[0][s]=o[s]),n[1]&&"__esModule"!==s&&(n[1][s]=o[s]),n[2]&&(n[2][s]=o[s])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/auto-refresh/bootstrap-table-auto-refresh";

View file

@ -0,0 +1 @@
!function(t,e){var n=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=357)}({356:function(t,e){!function(t){"use strict";function e(e,n){var i=[],o=e;if(o.editing){o.editing=!1,o.columns.forEach(function(e,o){if(e.editable)switch(e.editable){case"input":var a=t('<div class="editable-input col-md-12 col-sm-12 col-xs-12" style="position: relative;"/>');i.push(n.find("td").eq(e.fieldIndex).text()),a.append(t('<input type="text" class="form-control input-sm"/>')),a.append(t('<span class="clear"><i class="fa fa-times-circle-o" aria-hidden="true"></i></span>')),n.find("td").eq(e.fieldIndex).text("").append(a);break;case"select":var l=t('<select id="'+e.field+'">'),d=t.selectArray[e.field];n.find("td").eq(e.fieldIndex).text("").append(l),function(e,n){var i=t("<option />");n?t(n).each(function(t,n){i.clone().text(n.idxNum+" "+n.name).val(n.idxNum).appendTo(e)}):console.log("Please setup options first!!")}(t("#"+e.field),d);break;case"textarea":break;default:console.log(e.fieldIndex+" "+e.editable)}},e);for(var a=0,l=i.length;a<l;a++)n.find('input[type="text"]').eq(a).val(i[a]);n.find("td").last().append('<div id="tooling" class="editable-buttons"/>'),t(".clear").on("click",function(){t(this).parent().find("input").val("")}),t('<button type="button" class="btn btn-primary btn-sm editable-submit"><i class="glyphicon glyphicon-ok"></i></button>').on("click",function(){return i=[],n.find("td").find('input[type="text"]').each(function(e,n){i.push(t(n).eq(0).val())}),n.find("select").each(function(e,n){i.push(t("#"+n.id+" option:selected").val())}),t("#table").bootstrapTable("updateRow",{index:o.$data.thId,row:{noOld:i[0],area:n.find("select").eq(0).children(":selected").text(),town:n.find("select").eq(1).children(":selected").text(),address:i[1]}}),t("#tooling").remove(),o.editing=!0,!1}).appendTo("#tooling"),t('<button type="button" class="btn btn-default btn-sm editable-cancel"><i class="glyphicon glyphicon-remove"></i></button>').on("click",function(){return t("#table").bootstrapTable("updateRow",{index:o.$data.thId,row:{}}),t("#tooling").remove(),o.editing=!0,!1}).appendTo("#tooling")}}t.extend(t.fn.bootstrapTable.defaults,{clickEdit:!1});var n=t.fn.bootstrapTable.Constructor,i=n.prototype.initTable,o=n.prototype.initBody;n.prototype.initTable=function(){this.$data={},i.apply(this,Array.prototype.slice.apply(arguments)),this.options.clickEdit},n.prototype.initBody=function(){if(o.apply(this,Array.prototype.slice.apply(arguments)),this.options.clickEdit){var t=this.$tableBody.find("table");this.editing=!0,t.on("click-row.bs.table",function(t,n,i,o){"no"!==o&&(this.$data.thId=i.data().index,this.$data.itemid=i.data().uniqueid,this.$data.divi=parseInt(n.area),this.$data.town=parseInt(n.town),e(this,i))}.bind(this))}}}(jQuery)},357:function(t,e,n){n(356)}});if("object"==typeof n){var i=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var o in n)i[0]&&(i[0][o]=n[o]),i[1]&&"__esModule"!==o&&(i[1][o]=n[o]),i[2]&&(i[2][o]=n[o])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/click-edit-row/bootstrap-table-click-edit-row";

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
!function(o,t){var e=function(o){var t={};function e(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return o[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=o,e.c=t,e.d=function(o,t,n){e.o(o,t)||Object.defineProperty(o,t,{configurable:!1,enumerable:!0,get:n})},e.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},e.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(t,"a",t),t},e.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},e.p="",e(e.s=353)}({352:function(o,t){!function(o){"use strict";var t=o.fn.bootstrapTable.utils.calculateObjectValue,e=(o.fn.bootstrapTable.utils.sprintf,function(t){var e=document.createElement("textarea");o(e).html(t),document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(o){console.log("Oops, unable to copy")}o(e).remove()});o.extend(o.fn.bootstrapTable.defaults,{copyBtn:!1,copyWHiddenBtn:!1,copyDelemeter:", "}),o.fn.bootstrapTable.methods.push("copyColumnsToClipboard","copyColumnsToClipboardWithHidden");var n=o.fn.bootstrapTable.Constructor,i=n.prototype.initToolbar;n.prototype.initToolbar=function(){i.apply(this,Array.prototype.slice.apply(arguments));var o=this,t=this.$toolbar.find(">.btn-group");(this.options.clickToSelect||this.options.singleSelect)&&(this.options.copyBtn&&(t.append("<button class='btn btn-default' id='copyBtn'><span class='glyphicon glyphicon-copy icon-pencil'></span></button>"),t.find("#copyBtn").click(function(){o.copyColumnsToClipboard()})),this.options.copyWHiddenBtn&&(t.append("<button class='btn btn-default' id='copyWHiddenBtn'><span class='badge'><span class='glyphicon glyphicon-copy icon-pencil'></span></span></button>"),t.find("#copyWHiddenBtn").click(function(){o.copyColumnsToClipboardWithHidden()})))},n.prototype.copyColumnsToClipboard=function(){var n=this,i="",l=this.options.copyDelemeter;o.each(n.getSelections(),function(e,c){o.each(n.options.columns[0],function(o,p){"state"!==p.field&&"RowNumber"!==p.field&&p.visible&&(null!==c[p.field]&&(i+=t(p,n.header.formatters[o],[c[p.field],c,e],c[p.field])),i+=l)}),i+="\r\n"}),e(i)},n.prototype.copyColumnsToClipboardWithHidden=function(){var n=this,i="",l=this.options.copyDelemeter;o.each(n.getSelections(),function(e,c){o.each(n.options.columns[0],function(o,p){"state"!=p.field&&"RowNumber"!==p.field&&(null!==c[p.field]&&(i+=t(p,n.header.formatters[o],[c[p.field],c,e],c[p.field])),i+=l)}),i+="\r\n"}),e(i)}}(jQuery)},353:function(o,t,e){e(352)}});if("object"==typeof e){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,o&&o!==window?o:null];for(var i in e)n[0]&&(n[0][i]=e[i]),n[1]&&"__esModule"!==i&&(n[1][i]=e[i]),n[2]&&(n[2][i]=e[i])}}(this);

View file

@ -0,0 +1 @@
!function(t,e){var a=function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},a.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=351)}({350:function(t,e){!function(t){"use strict";t.extend(t.fn.bootstrapTable.defaults,{editable:!0,onEditableInit:function(){return!1},onEditableSave:function(t,e,a,n){return!1},onEditableShown:function(t,e,a,n){return!1},onEditableHidden:function(t,e,a,n){return!1}}),t.extend(t.fn.bootstrapTable.Constructor.EVENTS,{"editable-init.bs.table":"onEditableInit","editable-save.bs.table":"onEditableSave","editable-shown.bs.table":"onEditableShown","editable-hidden.bs.table":"onEditableHidden"});var e=t.fn.bootstrapTable.Constructor,a=e.prototype.initTable,n=e.prototype.initBody;e.prototype.initTable=function(){var e=this;a.apply(this,Array.prototype.slice.apply(arguments)),this.options.editable&&t.each(this.columns,function(a,n){if(n.editable){var i={},o=[],r=function(t,e){var a=t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});if("editable-"==a.slice(0,"editable-".length)){var n=a.replace("editable-","data-");i[n]=e}};t.each(e.options,r),n.formatter=n.formatter||function(t,e,a){return t},n._formatter=n._formatter?n._formatter:n.formatter,n.formatter=function(a,d,l){var f=n._formatter?n._formatter(a,d,l):a;t.each(n,r),t.each(i,function(t,e){o.push(" "+t+'="'+e+'"')});var u=!1;return n.editable.hasOwnProperty("noeditFormatter")&&(u=n.editable.noeditFormatter(a,d,l)),!1===u?['<a href="javascript:void(0)"',' data-name="'+n.field+'"',' data-pk="'+d[e.options.idField]+'"',' data-value="'+f+'"',o.join(""),"></a>"].join(""):u}}})},e.prototype.initBody=function(){var e=this;n.apply(this,Array.prototype.slice.apply(arguments)),this.options.editable&&(t.each(this.columns,function(a,n){n.editable&&(e.$body.find('a[data-name="'+n.field+'"]').editable(n.editable).off("save").on("save",function(a,i){var o=e.getData(),r=t(this).parents("tr[data-index]").data("index"),d=o[r],l=d[n.field];t(this).data("value",i.submitValue),d[n.field]=i.submitValue,e.trigger("editable-save",n.field,d,l,t(this)),e.resetFooter()}),e.$body.find('a[data-name="'+n.field+'"]').editable(n.editable).off("shown").on("shown",function(a,i){var o=e.getData(),r=t(this).parents("tr[data-index]").data("index"),d=o[r];e.trigger("editable-shown",n.field,d,t(this),i)}),e.$body.find('a[data-name="'+n.field+'"]').editable(n.editable).off("hidden").on("hidden",function(a,i){var o=e.getData(),r=t(this).parents("tr[data-index]").data("index"),d=o[r];e.trigger("editable-hidden",n.field,d,t(this),i)}))}),this.trigger("editable-init"))}}(jQuery)},351:function(t,e,a){a(350)}});if("object"==typeof a){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var i in a)n[0]&&(n[0][i]=a[i]),n[1]&&"__esModule"!==i&&(n[1][i]=a[i]),n[2]&&(n[2][i]=a[i])}}(this);

View file

@ -0,0 +1 @@
!function(t,o){var e=function(t){var o={};function e(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=349)}({348:function(t,o){!function(t){"use strict";var o=t.fn.bootstrapTable.utils.sprintf,e={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};t.extend(t.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{}}),t.extend(t.fn.bootstrapTable.defaults.icons,{export:"glyphicon-export icon-share"}),t.extend(t.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales);var n=t.fn.bootstrapTable.Constructor,i=n.prototype.initToolbar;n.prototype.initToolbar=function(){if(this.showToolbar=this.showToolbar||this.options.showExport,i.apply(this,Array.prototype.slice.apply(arguments)),this.options.showExport){var n=this,r=this.$toolbar.find(">.btn-group"),s=r.find("div.export");if(!s.length){var a=(s=t(['<div class="export btn-group">','<button class="btn'+o(" btn-%s",this.options.buttonsClass)+o(" btn-%s",this.options.iconSize)+' dropdown-toggle" aria-label="export type" title="'+this.options.formatExport()+'" data-toggle="dropdown" type="button">',o('<i class="%s %s"></i> ',this.options.iconsPrefix,this.options.icons.export),'<span class="caret"></span>',"</button>",'<ul class="dropdown-menu" role="menu">',"</ul>","</div>"].join("")).appendTo(r)).find(".dropdown-menu"),p=this.options.exportTypes;if("string"==typeof this.options.exportTypes){var l=this.options.exportTypes.slice(1,-1).replace(/ /g,"").split(",");p=[],t.each(l,function(t,o){p.push(o.slice(1,-1))})}t.each(p,function(t,o){e.hasOwnProperty(o)&&a.append(['<li role="menuitem" data-type="'+o+'">','<a href="javascript:void(0)">',e[o],"</a>","</li>"].join(""))}),a.find("li").click(function(){var o=t(this).data("type"),e=function(){if(n.options.exportFooter){var e=n.getData(),i=n.$tableFooter.find("tr").first(),r={},s=[];t.each(i.children(),function(o,e){var i=t(e).children(".th-inner").first().html();r[n.columns[o].field]="&nbsp;"==i?null:i,s.push(i)}),n.append(r);var a=n.$body.children().last();t.each(a.children(),function(o,e){t(e).html(s[o])})}n.$el.tableExport(t.extend({},n.options.exportOptions,{type:o,escape:!1})),n.options.exportFooter&&n.load(e)},i=n.header.stateField;if("all"===n.options.exportDataType&&n.options.pagination)n.$el.one("server"===n.options.sidePagination?"post-body.bs.table":"page-change.bs.table",function(){i&&n.hideColumn(i),e(),n.togglePagination()}),n.togglePagination();else if("selected"===n.options.exportDataType){var r=n.getData(),s=n.getSelections();if(!s.length)return;if("server"===n.options.sidePagination){var a={total:n.options.totalRows};a[n.options.dataField]=r,r=a;var p={total:s.length};p[n.options.dataField]=s,s=p}n.load(s),i&&n.hideColumn(i),e(),n.load(r)}else i&&n.hideColumn(i),e();i&&n.showColumn(i)})}}}}(jQuery)},349:function(t,o,e){e(348)}});if("object"==typeof e){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var i in e)n[0]&&(n[0][i]=e[i]),n[1]&&"__esModule"!==i&&(n[1][i]=e[i]),n[2]&&(n[2][i]=e[i])}}(this);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/filter-control/bootstrap-table-filter-control";

View file

@ -0,0 +1 @@
!function(t,e){var o=function(t){var e={};function o(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=e,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},o.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=345)}({344:function(t,e){!function(t){"use strict";t.extend(t.fn.bootstrapTable.defaults,{showFilter:!1});var e=t.fn.bootstrapTable.Constructor,o=e.prototype.init,r=e.prototype.initSearch;e.prototype.init=function(){o.apply(this,Array.prototype.slice.apply(arguments));var e=this;this.$el.on("load-success.bs.table",function(){e.options.showFilter&&t(e.options.toolbar).bootstrapTableFilter({connectTo:e.$el})})},e.prototype.initSearch=function(){r.apply(this,Array.prototype.slice.apply(arguments)),"server"!==this.options.sidePagination&&"function"==typeof this.searchCallback&&(this.data=t.grep(this.options.data,this.searchCallback))},e.prototype.getData=function(){return this.searchText||this.searchCallback?this.data:this.options.data},e.prototype.getColumns=function(){return this.columns},e.prototype.registerSearchCallback=function(t){this.searchCallback=t},e.prototype.updateSearch=function(){this.options.pageNumber=1,this.initSearch(),this.updatePagination()},e.prototype.getServerUrl=function(){return"server"===this.options.sidePagination&&this.options.url},t.fn.bootstrapTable.methods.push("getColumns","registerSearchCallback","updateSearch","getServerUrl")}(jQuery)},345:function(t,e,o){o(344)}});if("object"==typeof o){var r=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var n in o)r[0]&&(r[0][n]=o[n]),r[1]&&"__esModule"!==n&&(r[1][n]=o[n]),r[2]&&(r[2][n]=o[n])}}(this);

View file

@ -0,0 +1 @@
!function(t,o){var e=function(t){var o={};function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=343)}({342:function(t,o){!function(t){"use strict";var o=function(o,e){var n=[];return t.each(t.isArray(o)?o:[o],function(o,r){n.push(function(o,e){var n={};return function o(r,a){if(Object(r)!==r)n[a]=r;else if(t.isArray(r))for(var i=0,u=r.length;i<u;i++)o(r[i],a?a+e.options.flatSeparator+i:""+i),0==u&&(n[a]=[]);else{var f=!0;for(var l in r)f=!1,o(r[l],a?a+e.options.flatSeparator+l:l);f&&(n[a]={})}}(o,""),n}(r,e))}),n};t.extend(t.fn.bootstrapTable.defaults,{flat:!1,flatSeparator:"."});var e=t.fn.bootstrapTable.Constructor,n=e.prototype.initData;e.prototype.initData=function(t,e){this.options.flat&&(t=o(t||this.options.data,this)),n.apply(this,[t,e])}}(jQuery)},343:function(t,o,e){e(342)}});if("object"==typeof e){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var r in e)n[0]&&(n[0][r]=e[r]),n[1]&&"__esModule"!==r&&(n[1][r]=e[r]),n[2]&&(n[2][r]=e[r])}}(this);

View file

@ -0,0 +1 @@
!function(t,e){var o=function(t){var e={};function o(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=t,o.c=e,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},o.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=341)}({340:function(t,e){!function(t){"use strict";var e,o,r=function(t){var e=arguments,o=!0,r=1;return t=t.replace(/%s/g,function(){var t=e[r++];return void 0===t?(o=!1,""):t}),o?t:""};t.extend(t.fn.bootstrapTable.defaults,{groupBy:!1,groupByField:""});var i=t.fn.bootstrapTable.Constructor,n=i.prototype.initSort,p=i.prototype.initBody,c=i.prototype.updateSelected;i.prototype.initSort=function(){n.apply(this,Array.prototype.slice.apply(arguments));var e=this;if(o=[],this.options.groupBy&&""!==this.options.groupByField){this.options.sortName!=this.options.groupByField&&this.data.sort(function(t,o){return t[e.options.groupByField].localeCompare(o[e.options.groupByField])});var e=this,r=function(t,e){var o={};return t.forEach(function(t){var r=e(t);o[r]=o[r]||[],o[r].push(t)}),o}(e.data,function(t){return[t[e.options.groupByField]]}),i=0;t.each(r,function(t,e){o.push({id:i,name:t}),e.forEach(function(t){t._data||(t._data={}),t._data["parent-index"]=i}),i++})}},i.prototype.initBody=function(){if(e=!0,p.apply(this,Array.prototype.slice.apply(arguments)),this.options.groupBy&&""!==this.options.groupByField){var i=this,n=!1,c=0;this.columns.forEach(function(t){t.checkbox?n=!0:t.visible&&(c+=1)}),this.options.detailView&&!this.options.cardView&&(c+=1),o.forEach(function(e){var o=[];o.push(r('<tr class="info groupBy expanded" data-group-index="%s">',e.id)),i.options.detailView&&!i.options.cardView&&o.push('<td class="detail"></td>'),n&&o.push('<td class="bs-checkbox">','<input name="btSelectGroup" type="checkbox" />',"</td>"),o.push("<td",r(' colspan="%s"',c),">",e.name,"</td>"),o.push("</tr>"),i.$body.find("tr[data-parent-index="+e.id+"]:first").before(t(o.join("")))}),this.$selectGroup=[],this.$body.find('[name="btSelectGroup"]').each(function(){var e=t(this);i.$selectGroup.push({group:e,item:i.$selectItem.filter(function(){return t(this).closest("tr").data("parent-index")===e.closest("tr").data("group-index")})})}),this.$container.off("click",".groupBy").on("click",".groupBy",function(){t(this).toggleClass("expanded"),i.$body.find("tr[data-parent-index="+t(this).closest("tr").data("group-index")+"]").toggleClass("hidden")}),this.$container.off("click",'[name="btSelectGroup"]').on("click",'[name="btSelectGroup"]',function(e){e.stopImmediatePropagation();var o=t(this),r=o.prop("checked");i[r?"checkGroup":"uncheckGroup"](t(this).closest("tr").data("group-index"))})}e=!1,this.updateSelected()},i.prototype.updateSelected=function(){e||(c.apply(this,Array.prototype.slice.apply(arguments)),this.options.groupBy&&""!==this.options.groupByField&&this.$selectGroup.forEach(function(t){var e=t.item.filter(":enabled").length===t.item.filter(":enabled").filter(":checked").length;t.group.prop("checked",e)}))},i.prototype.getGroupSelections=function(e){var o=this;return t.grep(this.data,function(t){return t[o.header.stateField]&&t._data["parent-index"]===e})},i.prototype.checkGroup=function(t){this.checkGroup_(t,!0)},i.prototype.uncheckGroup=function(t){this.checkGroup_(t,!1)},i.prototype.checkGroup_=function(e,o){var r;o||(r=this.getGroupSelections(e)),this.$selectItem.filter(function(){return t(this).closest("tr").data("parent-index")===e}).prop("checked",o),this.updateRows(),this.updateSelected(),o&&(r=this.getGroupSelections(e)),this.trigger(o?"check-all":"uncheck-all",r)}}(jQuery)},341:function(t,e,o){o(340)}});if("object"==typeof o){var r=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var i in o)r[0]&&(r[0][i]=o[i]),r[1]&&"__esModule"!==i&&(r[1][i]=o[i]),r[2]&&(r[2][i]=o[i])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/group-by-v2/bootstrap-table-group-by";

View file

@ -0,0 +1 @@
!function(t,o){var e=function(t){var o={};function e(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=339)}({338:function(t,o){!function(t){"use strict";var o,e={},n=void 0,i=function(o,e){var n={};return t.each(e,function(t,e){if(!e.IsParent)for(var i in e)isNaN(parseFloat(e[i]))||o.columns[o.fieldsColumnsIndex[i]].groupBySumGroup&&(void 0===n[i]&&(n[i]=0),n[i]+=+e[i])}),n},r=function(t,i){return o.apply([t,i]),e["data-tt-id".toString()]=i,t.IsParent?(n=i,delete e["data-tt-parent-id".toString()]):e["data-tt-parent-id".toString()]=void 0===n?i:n,e},p=function(t,o,e){for(var n={},i=0;i<t.options.groupByField.length;i++)n[t.options.groupByField[i].toString()]=o[e][0][t.options.groupByField[i]];return n.IsParent=!0,n},a=function(o,e){for(var n,r,a,s=[],l={},u=(n=e,r=function(t){return function(t,o){for(var e=[],n=0;n<t.options.groupByField.length;n++)e.push(o[t.options.groupByField[n]]);return e}(o,t)},a={},t.each(n,function(t,o){var e=JSON.stringify(r(o));a[e]=a[e]||[],a[e].push(o)}),Object.keys(a).map(function(t){return a[t]})),d=0;d<u.length;d++)u[d].unshift(p(o,u,d)),o.options.groupBySumGroup&&(l=i(o,u[d]),t.isEmptyObject(l)||u[d].push(l));return s=s.concat.apply(s,u),!o.options.loaded&&s.length>0&&(o.options.loaded=!0,o.options.originalData=o.options.data,o.options.data=s),s};t.extend(t.fn.bootstrapTable.defaults,{groupBy:!1,groupByField:[],groupBySumGroup:!1,groupByInitExpanded:void 0,loaded:!1,originalData:void 0}),t.fn.bootstrapTable.methods.push("collapseAll","expandAll","refreshGroupByField"),t.extend(t.fn.bootstrapTable.COLUMN_DEFAULTS,{groupBySumGroup:!1});var s=t.fn.bootstrapTable.Constructor,l=s.prototype.init,u=s.prototype.initData;s.prototype.init=function(){if(!this.options.sortName&&this.options.groupBy&&this.options.groupByField.length>0){var e=this;Object.keys||t.fn.bootstrapTable.utils.objectKeys(),this.options.loaded=!1,this.options.originalData=void 0,o=this.options.rowAttributes,this.options.rowAttributes=r,this.$el.off("post-body.bs.table").on("post-body.bs.table",function(){e.$el.treetable({expandable:!0,onNodeExpand:function(){e.options.height&&e.resetHeader()},onNodeCollapse:function(){e.options.height&&e.resetHeader()}},!0),void 0!==e.options.groupByInitExpanded&&("number"==typeof e.options.groupByInitExpanded?e.expandNode(e.options.groupByInitExpanded):"all"===e.options.groupByInitExpanded.toLowerCase()&&e.expandAll())})}l.apply(this,Array.prototype.slice.apply(arguments))},s.prototype.initData=function(t,o){this.options.sortName||this.options.groupBy&&this.options.groupByField.length>0&&(this.options.groupByField="string"==typeof this.options.groupByField?this.options.groupByField.replace("[","").replace("]","").replace(/ /g,"").toLowerCase().split(","):this.options.groupByField,t=a(this,t||this.options.data)),u.apply(this,[t,o])},s.prototype.expandAll=function(){this.$el.treetable("expandAll")},s.prototype.collapseAll=function(){this.$el.treetable("collapseAll")},s.prototype.expandNode=function(o){void 0!==(o=function(o,e){for(var n=o.$body.find("tr").not("[data-tt-parent-id]"),i=0;i<n.length;i++)if(i===e)return t(n[i]).attr("data-tt-id")}(this,o))&&this.$el.treetable("expandNode",o)},s.prototype.refreshGroupByField=function(o){t.fn.bootstrapTable.utils.compareObjects(this.options.groupByField,o)||(this.options.groupByField=o,this.load(this.options.originalData))}}(jQuery)},339:function(t,o,e){e(338)}});if("object"==typeof e){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var i in e)n[0]&&(n[0][i]=e[i]),n[1]&&"__esModule"!==i&&(n[1][i]=e[i]),n[2]&&(n[2][i]=e[i])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/group-by/bootstrap-table-group-by";

View file

@ -0,0 +1 @@
!function(t,e){var n=function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=337)}({336:function(t,e){!function(t){"use strict";t.extend(t.fn.bootstrapTable.defaults,{keyEvents:!1});var e=t.fn.bootstrapTable.Constructor,n=e.prototype.init;e.prototype.init=function(){n.apply(this,Array.prototype.slice.apply(arguments)),this.initKeyEvents()},e.prototype.initKeyEvents=function(){if(this.options.keyEvents){var e=this;t(document).off("keydown").on("keydown",function(n){var o=e.$toolbar.find(".search input"),r=e.$toolbar.find('button[name="refresh"]'),i=e.$toolbar.find('button[name="toggle"]'),u=e.$toolbar.find('button[name="paginationSwitch"]');if(document.activeElement===o.get(0)||!t.contains(document.activeElement,e.$toolbar.get(0)))return!0;switch(n.keyCode){case 83:if(!e.options.search)return;return o.focus(),!1;case 82:if(!e.options.showRefresh)return;return r.click(),!1;case 84:if(!e.options.showToggle)return;return i.click(),!1;case 80:if(!e.options.showPaginationSwitch)return;return u.click(),!1;case 37:if(!e.options.pagination)return;return e.prevPage(),!1;case 39:if(!e.options.pagination)return;return void e.nextPage()}})}}}(jQuery)},337:function(t,e,n){n(336)}});if("object"==typeof n){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var r in n)o[0]&&(o[0][r]=n[r]),o[1]&&"__esModule"!==r&&(o[1][r]=n[r]),o[2]&&(o[2][r]=n[r])}}(this);

View file

@ -0,0 +1 @@
!function(t,i){var n=function(t){var i={};function n(o){if(i[o])return i[o].exports;var e=i[o]={i:o,l:!1,exports:{}};return t[o].call(e.exports,e,e.exports,n),e.l=!0,e.exports}return n.m=t,n.c=i,n.d=function(t,i,o){n.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:o})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="",n(n.s=335)}({334:function(t,i){!function(t){"use strict";var i=function(i,n){i.options.columnsHidden.length>0&&t.each(i.columns,function(t,o){-1!==i.options.columnsHidden.indexOf(o.field)&&o.visible!==n&&i.toggleColumn(i.fieldsColumnsIndex[o.field],n,!0)})},n=function(t,i,n){t.options.minHeight?i<=t.options.minWidth&&n<=t.options.minHeight?o(t):i>t.options.minWidth&&n>t.options.minHeight&&e(t):i<=t.options.minWidth?o(t):i>t.options.minWidth&&e(t),function(t){(t.options.height||t.options.showFooter)&&setTimeout(function(){t.resetView.call(t)},1)}(t)},o=function(t){s(t,!1),i(t,!1)},e=function(t){s(t,!0),i(t,!0)},s=function(t,i){t.options.cardView=i,t.toggleView()};t.extend(t.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]});var h=t.fn.bootstrapTable.Constructor,r=h.prototype.init;h.prototype.init=function(){if(r.apply(this,Array.prototype.slice.apply(arguments)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.log("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var i,o,e,s=this,h={width:t(window).width(),height:t(window).height()};if(t(window).on("resize orientationchange",(i=function(i){var o=t(this).height(),e=t(this).width();(Math.abs(h.height-o)>s.options.heightThreshold||h.width!=e)&&(n(s,e,o),h={width:e,height:o})},o=200,function(){var t=this,n=arguments;clearTimeout(e),e=setTimeout(function(){e=null,i.apply(t,n)},o)})),this.options.checkOnInit){var u=t(window).height(),l=t(window).width();n(this,l,u),h={width:l,height:u}}}}}(jQuery)},335:function(t,i,n){n(334)}});if("object"==typeof n){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var e in n)o[0]&&(o[0][e]=n[e]),o[1]&&"__esModule"!==e&&(o[1][e]=n[e]),o[2]&&(o[2][e]=n[e])}}(this);

View file

@ -0,0 +1 @@
!function(t,o){var n=function(t){var o={};function n(e){if(o[e])return o[e].exports;var l=o[e]={i:e,l:!1,exports:{}};return t[e].call(l.exports,l,l.exports,n),l.l=!0,l.exports}return n.m=t,n.c=o,n.d=function(t,o,e){n.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:e})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=333)}({332:function(t,o){!function(t){"use strict";var o=t.fn.bootstrapTable.utils.sprintf,n=function(t){t.initHeader(),t.initSearch(),t.initPagination(),t.initBody()};t.extend(t.fn.bootstrapTable.defaults,{showToggleBtn:!1,multiToggleDefaults:[]}),t.fn.bootstrapTable.methods.push("hideAllColumns","showAllColumns");var e=t.fn.bootstrapTable.Constructor,l=e.prototype.initToolbar;e.prototype.initToolbar=function(){l.apply(this,Array.prototype.slice.apply(arguments));var t=this,o=this.$toolbar.find(">.btn-group");"string"==typeof this.options.multiToggleDefaults&&(this.options.multiToggleDefaults=JSON.parse(this.options.multiToggleDefaults)),this.options.showToggleBtn&&this.options.showColumns&&(o.append("<button class='btn btn-default hidden' id='showAllBtn'><span class='glyphicon glyphicon-resize-full icon-zoom-in'></span></button><button class='btn btn-default' id='hideAllBtn'><span class='glyphicon glyphicon-resize-small icon-zoom-out'></span></button>"),o.find("#showAllBtn").click(function(){t.showAllColumns(),o.find("#hideAllBtn").toggleClass("hidden"),o.find("#showAllBtn").toggleClass("hidden")}),o.find("#hideAllBtn").click(function(){t.hideAllColumns(),o.find("#hideAllBtn").toggleClass("hidden"),o.find("#showAllBtn").toggleClass("hidden")}))},e.prototype.hideAllColumns=function(){var e=this,l=e.options.multiToggleDefaults;t.each(this.columns,function(t,n){if(-1==l.indexOf(n.field)&&n.switchable){n.visible=!1;var i=e.$toolbar.find(".keep-open input").prop("disabled",!1);i.filter(o('[value="%s"]',t)).prop("checked",!1)}}),n(e)},e.prototype.showAllColumns=function(){var e=this;t.each(this.columns,function(t,n){n.switchable&&(n.visible=!0);var l=e.$toolbar.find(".keep-open input").prop("disabled",!1);l.filter(o('[value="%s"]',t)).prop("checked",!0)}),n(e),e.toggleColumn(0,e.columns[0].visible,!1)}}(jQuery)},333:function(t,o,n){n(332)}});if("object"==typeof n){var e=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var l in n)e[0]&&(e[0][l]=n[l]),e[1]&&"__esModule"!==l&&(e[1][l]=n[l]),e[2]&&(e[2][l]=n[l])}}(this);

View file

@ -0,0 +1 @@
!function(e,t){var r=function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=331)}({330:function(e,t){!function(e){"use strict";e.extend(e.fn.bootstrapTable.defaults,{multipleSearch:!1,delimeter:" "});var t=e.fn.bootstrapTable.Constructor,r=t.prototype.initSearch;t.prototype.initSearch=function(){if(this.options.multipleSearch){if(void 0===this.searchText)return;var t=this.searchText.split(this.options.delimeter),o=this,n=(e.isEmptyObject(this.filterColumns)||this.filterColumns,[]);if(1===t.length)r.apply(this,Array.prototype.slice.apply(arguments));else{for(var i=0;i<t.length;i++){var a=t[i].trim();n=a?e.grep(0===n.length?this.options.data:n,function(t,r){for(var n in t){n=e.isNumeric(n)?parseInt(n,10):n;var i=t[n],s=o.columns[o.fieldsColumnsIndex[n]],l=e.inArray(n,o.header.fields);s&&s.searchFormatter&&(i=e.fn.bootstrapTable.utils.calculateObjectValue(s,o.header.formatters[l],[i,t,r],i));var u=e.inArray(n,o.header.fields);if(-1!==u&&o.header.searchables[u]&&("string"==typeof i||"number"==typeof i))if(o.options.strictSearch){if((i+"").toLowerCase()===a)return!0}else if(-1!==(i+"").toLowerCase().indexOf(a))return!0}return!1}):this.data}this.data=n}}else r.apply(this,Array.prototype.slice.apply(arguments))}}(jQuery)},331:function(e,t,r){r(330)}});if("object"==typeof r){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var n in r)o[0]&&(o[0][n]=r[n]),o[1]&&"__esModule"!==n&&(o[1][n]=r[n]),o[2]&&(o[2][n]=r[n])}}(this);

View file

@ -0,0 +1 @@
!function(t,e){var o=function(t){var e={};function o(l){if(e[l])return e[l].exports;var n=e[l]={i:l,l:!1,exports:{}};return t[l].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=e,o.d=function(t,e,l){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:l})},o.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=329)}({328:function(t,e){!function(t){"use strict";document.onselectstart=function(){return!1};var e=function(e){return(e=t(e)).is("table")?e:e.parents().find(".table")},o=function(t){var o=e(t.currentTarget);window.event.ctrlKey&&n(t.currentTarget,o,!1,!1),0===window.event.button&&(window.event.ctrlKey||window.event.shiftKey||(i(o),n(t.currentTarget,o,!1,!1)),window.event.shiftKey&&s([o.bootstrapTable("getOptions").multipleSelectRowLastSelectedRow.rowIndex,t.currentTarget.rowIndex],o))},l=function(o){var l,s=e(o.currentTarget);i(s),n((l=o.currentTarget,(l=t(l)).parent().parent()),s,!1,!1)},n=function(e,o,l,n){l?(e=t(e),o.bootstrapTable("getOptions").multipleSelectRowLastSelectedRow=void 0,e.removeClass(o.bootstrapTable("getOptions").multipleSelectRowCssClass),o.bootstrapTable("uncheck",e.data("index"))):(o.bootstrapTable("getOptions").multipleSelectRowLastSelectedRow=e,e=t(e),n?(e.addClass(o.bootstrapTable("getOptions").multipleSelectRowCssClass),o.bootstrapTable("check",e.data("index"))):e.hasClass(o.bootstrapTable("getOptions").multipleSelectRowCssClass)?(e.removeClass(o.bootstrapTable("getOptions").multipleSelectRowCssClass),o.bootstrapTable("uncheck",e.data("index"))):(e.addClass(o.bootstrapTable("getOptions").multipleSelectRowCssClass),o.bootstrapTable("check",e.data("index"))))},s=function(t,e){t.sort(function(t,e){return t-e});for(var o=t[0];o<=t[1];o++)n(e.bootstrapTable("getOptions").multipleSelectRowRows[o-1],e,!1,!0)},i=function(t){for(var e=0;e<t.bootstrapTable("getOptions").multipleSelectRowRows.length;e++)n(t.bootstrapTable("getOptions").multipleSelectRowRows[e],t,!0,!1)};t.extend(t.fn.bootstrapTable.defaults,{multipleSelectRow:!1,multipleSelectRowCssClass:"multiple-select-row-selected",multipleSelectRowLastSelectedRow:void 0,multipleSelectRowRows:[]});var r=t.fn.bootstrapTable.Constructor,a=r.prototype.init;r.prototype.initBody,r.prototype.init=function(){if(this.options.multipleSelectRow){var t=this;this.options.multipleSelectRowLastSelectedRow=void 0,this.options.multipleSelectRowRows=[],this.$el.on("post-body.bs.table",function(e){setTimeout(function(){t.options.multipleSelectRowRows=t.$body.children(),t.options.multipleSelectRowRows.click(o),t.options.multipleSelectRowRows.find("input[type=checkbox]").change(l)},1)})}a.apply(this,Array.prototype.slice.apply(arguments))},r.prototype.clearAllMultipleSelectionRow=function(){i(this)},t.fn.bootstrapTable.methods.push("clearAllMultipleSelectionRow")}(jQuery)},329:function(t,e,o){o(328)}});if("object"==typeof o){var l=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var n in o)l[0]&&(l[0][n]=o[n]),l[1]&&"__esModule"!==n&&(l[1][n]=o[n]),l[2]&&(l[2][n]=o[n])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row";

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
!function(e,n){var o=function(e){var n={};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=n,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="",o(o.s=325)}({324:function(e,n){},325:function(e,n,o){o(324)}});if("object"==typeof o){var t=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var r in o)t[0]&&(t[0][r]=o[r]),t[1]&&"__esModule"!==r&&(t[1][r]=o[r]),t[2]&&(t[2][r]=o[r])}}(this);

View file

@ -0,0 +1 @@
!function(t,n){var r=function(t){var n={};function r(o){if(n[o])return n[o].exports;var e=n[o]={i:o,l:!1,exports:{}};return t[o].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return r.m=t,r.c=n,r.d=function(t,n,o){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=323)}({322:function(t,n){!function(t){"use strict";var n=t.fn.bootstrapTable.utils.sprintf;t.extend(t.fn.bootstrapTable.defaults,{showPrint:!1,printAsFilteredAndSortedOnUI:!0,printSortColumn:void 0,printSortOrder:"asc",printPageBuilder:function(t){return function(t){return'<html><head><style type="text/css" media="print"> @page { size: auto; margin: 25px 0 25px 0; }</style><style type="text/css" media="all">table{border-collapse: collapse; font-size: 12px; }\ntable, th, td {border: 1px solid grey}\nth, td {text-align: center; vertical-align: middle;}\np {font-weight: bold; margin-left:20px }\ntable { width:94%; margin-left:3%; margin-right:3%}\ndiv.bs-table-print { text-align:center;}\n</style></head><title>Print Table</title><body><p>Printed on: '+new Date+' </p><div class="bs-table-print">'+t+"</div></body></html>"}(t)}}),t.extend(t.fn.bootstrapTable.COLUMN_DEFAULTS,{printFilter:void 0,printIgnore:!1,printFormatter:void 0}),t.extend(t.fn.bootstrapTable.defaults.icons,{print:"glyphicon-print icon-share"});var r=t.fn.bootstrapTable.Constructor,o=r.prototype.initToolbar;r.prototype.initToolbar=function(){if(this.showToolbar=this.showToolbar||this.options.showPrint,o.apply(this,Array.prototype.slice.apply(arguments)),this.options.showPrint){var r=this,e=this.$toolbar.find(">.btn-group"),i=e.find("button.bs-print");i.length||(i=t(['<button class="bs-print btn btn-default'+n(' btn-%s"',this.options.iconSize)+' name="print" title="print" type="button">',n('<i class="%s %s"></i> ',this.options.iconsPrefix,this.options.icons.print),"</button>"].join("")).appendTo(e)).click(function(){function t(t,n,r){var o=t[r.field];return"function"==typeof r.printFormatter?r.printFormatter.apply(r,[o,t,n]):void 0===o?"-":o}!function(o){var e,i=function(r,o){for(var e=["<table><thead>"],i=0;i<o.length;i++){var l=o[i];e.push("<tr>");for(var p=0;p<l.length;p++)l[p].printIgnore||e.push("<th",n(' rowspan="%s"',l[p].rowspan),n(' colspan="%s"',l[p].colspan),n(">%s</th>",l[p].title));e.push("</tr>")}e.push("</thead><tbody>");for(var s=0;s<r.length;s++){e.push("<tr>");for(var a=0;a<o.length;a++)for(var l=o[a],u=0;u<l.length;u++)!l[u].printIgnore&&l[u].field&&e.push("<td>",t(r[s],s,l[u]),"</td>");e.push("</tr>")}return e.push("</tbody></table>"),e.join("")}(o=function(t,n,r){if(!n)return t;var o="asc"!=r;return o=-(+o||-1),t.sort(function(t,r){return o*t[n].localeCompare(r[n])})}(o=function(t,n){return t.filter(function(t){return function(t,n){for(var r=0;r<n.length;++r)if(t[n[r].colName]!=n[r].value)return!1;return!0}(t,n)})}(o,(e=r.options.columns)&&e[0]?e[0].filter(function(t){return t.printFilter}).map(function(t){return{colName:t.field,value:t.printFilter}}):[]),r.options.printSortColumn,r.options.printSortOrder),r.options.columns),l=window.open("");l.document.write(r.options.printPageBuilder.call(this,i)),l.print(),l.close()}(r.options.printAsFilteredAndSortedOnUI?r.getData():r.options.data.slice(0))})}}}(jQuery)},323:function(t,n,r){r(322)}});if("object"==typeof r){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var e in r)o[0]&&(o[0][e]=r[e]),o[1]&&"__esModule"!==e&&(o[1][e]=r[e]),o[2]&&(o[2][e]=r[e])}}(this);

View file

@ -0,0 +1 @@
!function(e,o){var t=function(e){var o={};function t(r){if(o[r])return o[r].exports;var n=o[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=o,t.d=function(e,o,r){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=321)}({320:function(e,o){!function(e){"use strict";e.extend(e.fn.bootstrapTable.defaults,{reorderableColumns:!1,maxMovingRows:10,onReorderColumn:function(e){return!1},dragaccept:null}),e.extend(e.fn.bootstrapTable.Constructor.EVENTS,{"reorder-column.bs.table":"onReorderColumn"});var o=e.fn.bootstrapTable.Constructor,t=o.prototype.initHeader,r=o.prototype.toggleColumn,n=o.prototype.toggleView,i=o.prototype.resetView;o.prototype.initHeader=function(){t.apply(this,Array.prototype.slice.apply(arguments)),this.options.reorderableColumns&&this.makeRowsReorderable()},o.prototype.toggleColumn=function(){r.apply(this,Array.prototype.slice.apply(arguments)),this.options.reorderableColumns&&this.makeRowsReorderable()},o.prototype.toggleView=function(){n.apply(this,Array.prototype.slice.apply(arguments)),this.options.reorderableColumns&&(this.options.cardView||this.makeRowsReorderable())},o.prototype.resetView=function(){i.apply(this,Array.prototype.slice.apply(arguments)),this.options.reorderableColumns&&this.makeRowsReorderable()},o.prototype.makeRowsReorderable=function(){var o=this;try{e(this.$el).dragtable("destroy")}catch(e){}e(this.$el).dragtable({maxMovingRows:o.options.maxMovingRows,dragaccept:o.options.dragaccept,clickDelay:200,beforeStop:function(){var t=[],r=[],n=[],i=[],l=-1,s=[];if(o.$header.find("th").each(function(o){t.push(e(this).data("field")),r.push(e(this).data("formatter"))}),t.length<o.columns.length){i=e.grep(o.columns,function(e){return!e.visible});for(var a=0;a<i.length;a++)t.push(i[a].field),r.push(i[a].formatter)}for(var a=0;a<this.length;a++)-1!==(l=o.fieldsColumnsIndex[t[a]])&&(o.columns[l].fieldIndex=a,n.push(o.columns[l]),o.columns.splice(l,1));o.columns=o.columns.concat(n),Array.prototype.filter||(Array.prototype.filter=function(e){if(void 0===this||null===this)throw new TypeError;var o=Object(this),t=o.length>>>0;if("function"!=typeof e)throw new TypeError;for(var r=[],n=arguments.length>=2?arguments[1]:void 0,i=0;i<t;i++)if(i in o){var l=o[i];e.call(n,l,i,o)&&r.push(l)}return r}),e.each(o.columns,function(e,t){var r=!1,n=t.field;o.options.columns[0].filter(function(e){return!(!r&&e.field==n&&(s.push(e),r=!0,1))})}),o.options.columns[0]=s,o.header.fields=t,o.header.formatters=r,o.initHeader(),o.initToolbar(),o.initBody(),o.resetView(),o.trigger("reorder-column",t)}})}}(jQuery)},321:function(e,o,t){t(320)}});if("object"==typeof t){var r=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var n in t)r[0]&&(r[0][n]=t[n]),r[1]&&"__esModule"!==n&&(r[1][n]=t[n]),r[2]&&(r[2][n]=t[n])}}(this);

View file

@ -0,0 +1 @@
!function(o,t){var r=function(o){var t={};function r(e){if(t[e])return t[e].exports;var n=t[e]={i:e,l:!1,exports:{}};return o[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=o,r.c=t,r.d=function(o,t,e){r.o(o,t)||Object.defineProperty(o,t,{configurable:!1,enumerable:!0,get:e})},r.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},r.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(t,"a",t),t},r.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},r.p="",r(r.s=319)}({318:function(o,t){!function(o){"use strict";var t=function(o,t){return{id:"customId_"+t}};o.extend(o.fn.bootstrapTable.defaults,{reorderableRows:!1,onDragStyle:null,onDropStyle:null,onDragClass:"reorder_rows_onDragClass",dragHandle:null,useRowAttrFunc:!1,onReorderRowsDrag:function(o,t){return!1},onReorderRowsDrop:function(o,t){return!1},onReorderRow:function(o){return!1}}),o.extend(o.fn.bootstrapTable.Constructor.EVENTS,{"reorder-row.bs.table":"onReorderRow"});var r=o.fn.bootstrapTable.Constructor,e=r.prototype.init,n=r.prototype.initSearch;r.prototype.init=function(){if(this.options.reorderableRows){var o=this;this.options.useRowAttrFunc&&(this.options.rowAttributes=t);var r=this.options.onPostBody;this.options.onPostBody=function(){setTimeout(function(){o.makeRowsReorderable(),r.apply()},1)},e.apply(this,Array.prototype.slice.apply(arguments))}else e.apply(this,Array.prototype.slice.apply(arguments))},r.prototype.initSearch=function(){n.apply(this,Array.prototype.slice.apply(arguments)),this.options.reorderableRows},r.prototype.makeRowsReorderable=function(){this.options.cardView||this.$el.tableDnD({onDragStyle:this.options.onDragStyle,onDropStyle:this.options.onDropStyle,onDragClass:this.options.onDragClass,onDrop:this.onDrop,onDragStart:this.options.onReorderRowsDrag,dragHandle:this.options.dragHandle})},r.prototype.onDrop=function(t,r){for(var e=o(t),n=e.data("bootstrap.table"),a=e.data("bootstrap.table").options,s=null,i=[],p=0;p<t.tBodies[0].rows.length;p++)s=o(t.tBodies[0].rows[p]),i.push(a.data[s.data("index")]),s.data("index",p).attr("data-index",p);a.data=a.data.slice(0,n.pageFrom-1).concat(i).concat(a.data.slice(n.pageTo)),a.onReorderRowsDrop.apply(t,[t,r]),n.trigger("reorder-row",i)}}(jQuery)},319:function(o,t,r){r(318)}});if("object"==typeof r){var e=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,o&&o!==window?o:null];for(var n in r)e[0]&&(e[0][n]=r[n]),e[1]&&"__esModule"!==n&&(e[1][n]=r[n]),e[2]&&(e[2][n]=r[n])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/reorder-rows/bootstrap-table-reorder-rows";

View file

@ -0,0 +1 @@
!function(e,o){var t=function(e){var o={};function t(r){if(o[r])return o[r].exports;var i=o[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=o,t.d=function(e,o,r){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=317)}({316:function(e,o){!function(e){"use strict";e.extend(e.fn.bootstrapTable.defaults,{resizable:!1,liveDrag:!1,fixed:!0,headerOnly:!1,minWidth:15,hoverCursor:"e-resize",dragCursor:"e-resize",onResizableResize:function(e){return!1},onResizableDrag:function(e){return!1}});var o=e.fn.bootstrapTable.Constructor,t=o.prototype.toggleView,r=o.prototype.resetView;o.prototype.toggleView=function(){t.apply(this,Array.prototype.slice.apply(arguments)),this.options.resizable&&this.options.cardView&&e(this.$el).colResizable({disable:!0})},o.prototype.resetView=function(){var e=this;r.apply(this,Array.prototype.slice.apply(arguments)),this.options.resizable&&setTimeout(function(){!function(e){e.$el.colResizable({disable:!0}),e.$el.colResizable({liveDrag:e.options.liveDrag,fixed:e.options.fixed,headerOnly:e.options.headerOnly,minWidth:e.options.minWidth,hoverCursor:e.options.hoverCursor,dragCursor:e.options.dragCursor,onResize:e.onResize,onDrag:e.options.onResizableDrag,resizeMode:e.options.resizeMode})}(e)},100)},o.prototype.onResize=function(o){var t=e(o.currentTarget);t.bootstrapTable("resetView"),t.data("bootstrap.table").options.onResizableResize.apply(o)}}(jQuery)},317:function(e,o,t){t(316)}});if("object"==typeof t){var r=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var i in t)r[0]&&(r[0][i]=t[i]),r[1]&&"__esModule"!==i&&(r[1][i]=t[i]),r[2]&&(r[2][i]=t[i])}}(this);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
!function(e,t){var o=function(e){var t={};function o(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=313)}({312:function(e,t){!function(e){"use strict";var t=e.fn.bootstrapTable.utils.sprintf;e.extend(e.fn.bootstrapTable.defaults,{stickyHeader:!1});var o=3;try{o=parseInt(e.fn.dropdown.Constructor.VERSION,10)}catch(e){}var i=o>3?"d-none":"hidden",r=e.fn.bootstrapTable.Constructor,n=r.prototype.initHeader;r.prototype.initHeader=function(){var o=this;if(n.apply(this,Array.prototype.slice.apply(arguments)),this.options.stickyHeader){var r=this.$tableBody.find("table"),s=r.attr("id"),d=r.attr("id")+"-sticky-header",a=d+"-sticky-header-container",c=d+"_sticky_anchor_begin",f=d+"_sticky_anchor_end";r.before(t('<div id="%s" class="%s"></div>',a,i)),r.before(t('<div id="%s"></div>',c)),r.after(t('<div id="%s"></div>',f)),r.find("thead").attr("id",d),this.$stickyHeader=e(e("#"+d).clone(!0,!0)),this.$stickyHeader.removeAttr("id"),e(window).on("resize."+s,r,l),e(window).on("scroll."+s,r,l),r.closest(".fixed-table-container").find(".fixed-table-body").on("scroll."+s,r,p),this.$el.on("all.bs.table",function(t){o.$stickyHeader=e(e("#"+d).clone(!0,!0)),o.$stickyHeader.removeAttr("id")})}function l(t){var r=t.data,n=r.find("thead").attr("id");if(r.length<1||e("#"+s).length<1)return e(window).off("resize."+s),e(window).off("scroll."+s),void r.closest(".fixed-table-container").find(".fixed-table-body").off("scroll."+s);var d="0";o.options.stickyHeaderOffsetY&&(d=o.options.stickyHeaderOffsetY.replace("px",""));var l=e(window).scrollTop(),u=e("#"+c).offset().top-d,y=e("#"+f).offset().top-d-e("#"+n).css("height").replace("px","");if(l>u&&l<=y){e.each(o.$stickyHeader.find("tr").eq(0).find("th"),function(t,o){e(o).css("min-width",e("#"+n+" tr").eq(0).find("th").eq(t).css("width"))}),e("#"+a).removeClass(i).addClass("fix-sticky fixed-table-container"),e("#"+a).css("top",d+"px");var h=e('<div style="position:absolute;width:100%;overflow-x:hidden;" />');e("#"+a).html(h.append(o.$stickyHeader)),p(t)}else e("#"+a).removeClass("fix-sticky").addClass(i)}function p(t){var o=t.data,i=o.find("thead").attr("id");e("#"+a).css("width",+o.closest(".fixed-table-body").css("width").replace("px","")+1),e("#"+a+" thead").parent().scrollLeft(Math.abs(e("#"+i).position().left))}}}(jQuery)},313:function(e,t,o){o(312)}});if("object"==typeof o){var i=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var r in o)i[0]&&(i[0][r]=o[r]),i[1]&&"__esModule"!==r&&(i[1][r]=o[r]),i[2]&&(i[2][r]=o[r])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/sticky-header/bootstrap-table-sticky-header";

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
!function(e,t){var r=function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=309)}({308:function(e,t){!function(e){"use strict";e.extend(e.fn.bootstrapTable.defaults,{treeShowField:null,idField:"id",parentIdField:"pid",treeVerticalcls:"vertical",treeVerticalLastcls:"vertical last",treeSpacecls:"space",treeNodecls:"node",treeCellcls:"treenode",treeTextcls:"text",onTreeFormatter:function(e){for(var t=this.options,r=e._level||0,o=e._parent&&e._parent._level||0,n=[],s=0;s<o;s++)n.push('<i class="'+t.treeVerticalcls+'"></i>'),n.push('<i class="'+t.treeSpacecls+'"></i>');for(var s=o;s<r;s++)e._last&&s===r-1?n.push('<i class="'+t.treeVerticalLastcls+'"></i>'):n.push('<i class="'+t.treeVerticalcls+'"></i>'),n.push('<i class="'+t.treeNodecls+'"></i>');return n.join("")},onGetNodes:function(t,r){var o=this,n=[];return e.each(r,function(e,r){t[o.options.idField]===r[o.options.parentIdField]&&n.push(r)}),n},onCheckLeaf:function(e,t){return void 0!==e.isLeaf?e.isLeaf:!e._nodes||!e._nodes.length},onCheckRoot:function(e,t){return!e[this.options.parentIdField]}});var t=e.fn.bootstrapTable.Constructor,r=t.prototype.initRow,o=t.prototype.initHeader;t.prototype.initHeader=function(){var t=this;o.apply(t,Array.prototype.slice.apply(arguments));var r=t.options.treeShowField;r&&e.each(this.header.fields,function(e,o){if(r===o){t.treeEnable=!0;var n=t.header.formatters[e],s=[t.options.treeCellcls];return t.header.classes[e]&&s.push(t.header.classes[e].split('"')[1]||""),t.header.classes[e]='class="'+s.join(" ")+'"',t.header.formatters[e]=function(e,r,o){var s=[t.options.onTreeFormatter.apply(t,[r])];return s.push('<span class="'+t.options.treeTextcls+'">'),n?s.push(n.apply(this,Array.prototype.slice.apply(arguments))):s.push(e),s.push("</span>"),s.join("")},!1}})};var n=function(t,o,s,i){var l=this.options.onGetNodes.apply(this,[t,s]);t._nodes=l,i.append(r.apply(this,[t,o,s,i]));for(var a=l.length-1,p=0;p<=a;p++){var c=l[p];c._level=t._level+1,c._parent=t,p===a&&(c._last=1),n.apply(this,[c,e.inArray(c,s),s,i])}};t.prototype.initRow=function(e,t,o,s){return this.treeEnable?!!this.options.onCheckRoot.apply(this,[e,o])&&(void 0===e._level&&(e._level=0),n.apply(this,[e,t,o,s]),!0):r.apply(this,Array.prototype.slice.apply(arguments))}}(jQuery)},309:function(e,t,r){r(308)}});if("object"==typeof r){var o=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,e&&e!==window?e:null];for(var n in r)o[0]&&(o[0][n]=r[n]),o[1]&&"__esModule"!==n&&(o[1][n]=r[n]),o[2]&&(o[2][n]=r[n])}}(this);

View file

@ -0,0 +1 @@
@import "~bootstrap-table/src/extensions/tree-column/bootstrap-table-tree-column";

View file

@ -0,0 +1,19 @@
@mixin bs-tagsinput-theme($color) {
.bootstrap-tagsinput.focus {
border-color: $color !important;
}
}
@mixin material-bs-tagsinput-theme($color) {
.bootstrap-tagsinput.focus {
border-color: $color !important;
box-shadow: 0 -1px 0 0 $color inset !important;
}
}
@mixin bg-tagsinput-validation-state($state, $color) {
.is-#{$state}.bootstrap-tagsinput,
.is-#{$state} .bootstrap-tagsinput {
border-color: $color;
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,225 @@
@import '../../sass/_custom-variables/libs';
@import 'mixins';
$tagsinput-tag-line-height: 1.5rem !default;
.bootstrap-tagsinput {
display: block;
max-width: 100%;
vertical-align: middle;
cursor: text;
transition: border-color .15s;
// Clearfix
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
}
.bootstrap-tagsinput input,
.bootstrap-tagsinput-input {
display: block;
float: left;
padding: 0 .375rem !important;
max-width: 100% !important;
width: auto;
outline: none !important;
border: none !important;
background-color: transparent !important;
box-shadow: none !important;
line-height: $tagsinput-tag-line-height;
[dir=rtl] & {
float: right;
}
}
.bootstrap-tagsinput-input {
max-width: none !important;
}
.bootstrap-tagsinput.form-control input::-moz-placeholder {
opacity: 1;
}
.bootstrap-tagsinput .tag {
position: relative;
float: left;
padding: 0 .5rem;
font-weight: normal;
line-height: $tagsinput-tag-line-height;
cursor: default;
[dir=rtl] & {
float: right;
}
}
.bootstrap-tagsinput .tag [data-role="remove"] {
display: inline-block;
margin-right: -.375rem;
padding: 0 .375rem;
font-weight: bold;
line-height: $tagsinput-tag-line-height;
cursor: pointer;
[dir=rtl] & {
margin-right: 0;
margin-left: -.375rem;
}
&:after {
content: "×";
}
&:hover,
&:focus {
opacity: .5;
}
}
.bootstrap-tagsinput.disabled {
cursor: not-allowed !important;
input {
visibility: hidden !important;
}
.tag [data-role="remove"] {
display: none !important;
}
}
.default-style {
@import "../../sass/_appwork/include";
$tagsinput-tag-spacer: px-to-rem(floor(rem-to-px(($input-height-inner - $tagsinput-tag-line-height) / 2)));
.bootstrap-tagsinput {
padding: 0 $tagsinput-tag-spacer $tagsinput-tag-spacer $tagsinput-tag-spacer;
border: 1px solid $input-border-color;
border-radius: $border-radius;
background-color: $input-bg;
color: $input-color;
transition: $input-transition;
&.disabled {
border-color: $input-border-color !important;
background-color: $input-disabled-bg !important;
}
}
.bootstrap-tagsinput input,
.bootstrap-tagsinput-input {
margin-top: $tagsinput-tag-spacer;
}
.bootstrap-tagsinput input {
color: $input-color;
}
.bootstrap-tagsinput .tag {
margin-top: $tagsinput-tag-spacer;
margin-right: $tagsinput-tag-spacer;
font-size: $font-size-base;
&:not(.badge) {
border-radius: $badge-border-radius;
background: $badge-default-bg;
color: $input-color;
}
}
&[dir=rtl] .bootstrap-tagsinput .tag {
margin-right: 0;
margin-left: $tagsinput-tag-spacer;
}
.bootstrap-tagsinput.form-control input {
&::-moz-placeholder {
color: $input-placeholder-color !important;
}
&:-ms-input-placeholder {
color: $input-placeholder-color !important;
}
&::-webkit-input-placeholder {
color: $input-placeholder-color !important;
}
}
@include bg-tagsinput-validation-state("valid", $form-feedback-valid-color);
@include bg-tagsinput-validation-state("invalid", $form-feedback-invalid-color);
}
.material-style {
@import "../../sass/_appwork/include-material";
$tagsinput-tag-spacer: px-to-rem(floor(rem-to-px(($input-height-inner - $tagsinput-tag-line-height) / 2)));
.bootstrap-tagsinput {
padding: 0 $tagsinput-tag-spacer $tagsinput-tag-spacer $tagsinput-tag-spacer;
padding-right: 0;
padding-left: 0;
border-bottom: 1px solid $input-border-color;
background: $input-bg;
color: $input-color;
transition: $input-transition;
&.disabled {
border-color: $input-border-color !important;
background-color: $input-disabled-bg !important;
}
}
.bootstrap-tagsinput input,
.bootstrap-tagsinput-input {
margin-top: $tagsinput-tag-spacer;
}
.bootstrap-tagsinput input {
color: $input-color;
}
.bootstrap-tagsinput .tag {
margin-top: $tagsinput-tag-spacer;
margin-right: $tagsinput-tag-spacer;
font-size: $font-size-base;
&:not(.badge) {
border-radius: $badge-border-radius;
background: $badge-default-bg;
color: $input-color;
}
}
&[dir=rtl] .bootstrap-tagsinput .tag {
margin-right: 0;
margin-left: $tagsinput-tag-spacer;
}
.bootstrap-tagsinput.form-control input {
&::-moz-placeholder {
color: $input-placeholder-color !important;
}
&:-ms-input-placeholder {
color: $input-placeholder-color !important;
}
&::-webkit-input-placeholder {
color: $input-placeholder-color !important;
}
}
@include bg-tagsinput-validation-state("valid", $form-feedback-valid-color);
@include bg-tagsinput-validation-state("invalid", $form-feedback-invalid-color);
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,62 @@
@import "~bootstrap-tour/build/css/bootstrap-tour";
.popover[class*="tour-"] .popover-navigation > .btn-group {
margin-right: .5rem;
}
[dir=rtl] .popover[class*="tour-"] .popover-navigation > * {
float: right;
}
[dir=rtl] .popover[class*="tour-"] .popover-navigation > .btn-group {
margin-right: 0;
margin-left: .5rem;
}
.default-style {
@import '../../sass/_appwork/include';
.popover[class*="tour-"] .popover-header {
padding: $card-spacer-y $card-spacer-x-sm;
font-size: $font-size-base;
}
.popover[class*="tour-"] .popover-body {
padding: $card-spacer-x-sm $card-spacer-x-sm;
font-size: $font-size-base;
}
.popover[class*="tour-"] .popover-navigation {
padding: 0 $card-spacer-x $card-spacer-x-sm $card-spacer-x-sm;
}
.tour-backdrop {
background: $modal-backdrop-bg;
opacity: $modal-backdrop-opacity;
filter: alpha(opacity=$modal-backdrop-opacity*100);
}
}
.material-style {
@import '../../sass/_appwork/include-material';
.popover[class*="tour-"] .popover-header {
padding: $card-spacer-y $card-spacer-x-sm;
font-size: $font-size-base;
}
.popover[class*="tour-"] .popover-body {
padding: $card-spacer-x-sm $card-spacer-x-sm;
font-size: $font-size-base;
}
.popover[class*="tour-"] .popover-navigation {
padding: 0 $card-spacer-x $card-spacer-x-sm $card-spacer-x-sm;
}
.tour-backdrop {
background: $modal-backdrop-bg;
opacity: $modal-backdrop-opacity;
filter: alpha(opacity=$modal-backdrop-opacity*100);
}
}

3
resources/assets/vendor/libs/c3/c3.js vendored Executable file

File diff suppressed because one or more lines are too long

379
resources/assets/vendor/libs/c3/c3.scss vendored Executable file
View file

@ -0,0 +1,379 @@
/*-- Chart --*/
.c3 {
direction: ltr !important;
svg {
-webkit-tap-highlight-color: transparent;
}
path,
line {
fill: none;
}
text {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
}
.c3-legend-item-tile,
.c3-xgrid-focus,
.c3-ygrid,
.c3-event-rect,
.c3-bars path {
shape-rendering: crispEdges;
}
/*-- Axis --*/
/*-- Grid --*/
.c3-xgrid,
.c3-ygrid {
stroke-dasharray: 3 3;
}
/*-- Text on Chart --*/
.c3-text.c3-empty {
font-size: 2em;
}
/*-- Line --*/
.c3-line {
stroke-width: 1px;
}
/*-- Point --*/
.c3-circle._expanded_ {
stroke: white;
stroke-width: 1px;
}
.c3-selected-circle {
fill: white;
stroke-width: 2px;
}
/*-- Bar --*/
.c3-bar {
stroke-width: 0;
&._expanded_ {
fill-opacity: 1;
fill-opacity: .75;
}
}
/*-- Focus --*/
.c3-target {
&.c3-focused {
opacity: 1;
path.c3-line,
path.c3-step {
stroke-width: 2px;
}
}
&.c3-defocused {
opacity: .3 !important;
}
}
/*-- Region --*/
.c3-region {
fill: steelblue;
fill-opacity: .1;
}
/*-- Brush --*/
.c3-brush .extent {
fill-opacity: .1;
}
/*-- Select - Drag --*/
/*-- Legend --*/
.c3-legend-item-hidden {
opacity: .15;
}
.c3-legend-background {
opacity: .75;
fill: white;
stroke: lightgray;
stroke-width: 1;
}
/*-- Area --*/
.c3-area {
opacity: .2;
stroke-width: 0;
}
/*-- Arc --*/
.c3-chart-arcs-title {
font-size: 1.3em;
dominant-baseline: middle;
}
.c3-chart-arc.c3-target g path,
.c3-chart-arc.c3-target.c3-focused g path {
opacity: 1;
}
.default-style {
@import "../../sass/_appwork/include";
$c3-grid-color: $gray-200 !default;
$c3-guide-color: $gray-200 !default;
$c3-text-color: $body-color !default;
$c3-arcs-background: $gray-100 !default;
$c3-arcs-stroke: #fff !default;
$c3-tooltip-padding: 6px !default;
.c3 {
svg {
font: 11px $font-family-base;
}
path,
line {
fill: none;
stroke: $c3-grid-color;
}
text {
fill: $body-color;
}
}
.c3-chart-arc {
path {
stroke: $c3-arcs-stroke;
}
text {
font-size: $font-size-sm;
fill: $c3-arcs-stroke;
}
}
.c3-grid {
line {
stroke: $c3-grid-color;
}
text {
fill: $c3-grid-color;
}
}
.c3-text.c3-empty {
fill: $text-muted;
}
.c3-legend-item {
font-size: $font-size-sm;
}
.c3-title {
font: $font-size-base $font-family-base;
}
.c3-chart-arcs .c3-chart-arcs-background {
fill: $c3-arcs-background;
stroke: none;
}
.c3-chart-arcs .c3-chart-arcs-gauge-unit {
font-size: $font-size-lg;
fill: $body-color;
}
.c3-chart-arcs .c3-chart-arcs-gauge-max,
.c3-chart-arcs .c3-chart-arcs-gauge-min {
fill: $body-color;
}
.c3-chart-arc .c3-gauge-value {
fill: $body-color;
}
.c3-tooltip-container {
z-index: 10;
padding: $c3-tooltip-padding;
background-color: $tooltip-bg;
@include border-radius($border-radius);
}
.c3-tooltip {
border-spacing: 0;
border-collapse: collapse;
empty-cells: show;
}
.c3-tooltip,
.c3-tooltip tr,
.c3-tooltip th,
.c3-tooltip td {
border: none;
background: none !important;
color: $tooltip-color;
font-size: $font-size-sm;
}
.c3-tooltip th {
padding: 0 $c3-tooltip-padding;
}
.c3-tooltip td {
padding: 0 $c3-tooltip-padding;
&.value {
text-align: right;
}
> span {
display: inline-block;
margin-right: $c3-tooltip-padding;
width: 10px;
height: 10px;
}
}
}
.material-style {
@import "../../sass/_appwork/include-material";
$c3-grid-color: $gray-200 !default;
$c3-guide-color: $gray-200 !default;
$c3-text-color: $body-color !default;
$c3-arcs-background: $gray-100 !default;
$c3-arcs-stroke: #fff !default;
$c3-tooltip-padding: 6px !default;
.c3 {
svg {
font: 11px $font-family-base;
}
path,
line {
fill: none;
stroke: $c3-grid-color;
}
text {
fill: $body-color;
}
}
.c3-chart-arc {
path {
stroke: $c3-arcs-stroke;
}
text {
font-size: $font-size-sm;
fill: $c3-arcs-stroke;
}
}
.c3-grid {
line {
stroke: $c3-grid-color;
}
text {
fill: $c3-grid-color;
}
}
.c3-text.c3-empty {
fill: $text-muted;
}
.c3-legend-item {
font-size: $font-size-sm;
}
.c3-title {
font: $font-size-base $font-family-base;
}
.c3-chart-arcs .c3-chart-arcs-background {
fill: $c3-arcs-background;
stroke: none;
}
.c3-chart-arcs .c3-chart-arcs-gauge-unit {
font-size: $font-size-lg;
fill: $body-color;
}
.c3-chart-arcs .c3-chart-arcs-gauge-max,
.c3-chart-arcs .c3-chart-arcs-gauge-min {
fill: $body-color;
}
.c3-chart-arc .c3-gauge-value {
fill: $body-color;
}
.c3-tooltip-container {
z-index: 10;
padding: $c3-tooltip-padding;
background-color: $tooltip-bg;
@include border-radius($border-radius);
}
.c3-tooltip {
border-spacing: 0;
border-collapse: collapse;
empty-cells: show;
}
.c3-tooltip,
.c3-tooltip tr,
.c3-tooltip th,
.c3-tooltip td {
border: none;
background: none !important;
color: $tooltip-color;
font-size: $font-size-sm;
}
.c3-tooltip th {
padding: 0 $c3-tooltip-padding;
}
.c3-tooltip td {
padding: 0 $c3-tooltip-padding;
&.value {
text-align: right;
}
> span {
display: inline-block;
margin-right: $c3-tooltip-padding;
width: 10px;
height: 10px;
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,421 @@
@import "~chartist/dist/scss/settings/chartist-settings";
$ct-text-size: 11px;
$ct-series-colors: (
#647c8a,
#3f51b5,
#2196f3,
#00b862,
#afdf0a,
#a7b61a,
#f3e562,
#ff9800,
#ff5722,
#ff4514,
#2597FB,
#65EBFD,
#99FDD0,
#FCEE4B,
#FEFCFA
);
$ct-line-width: 1px;
$ct-point-size: 7px;
@import '../../sass/_custom-variables/libs';
@mixin ct-responsive-svg-container($width: 100%, $ratio: $ct-container-ratio) {
display: block;
position: relative;
width: $width;
&:before {
display: block;
float: left;
content: "";
width: 0;
height: 0;
padding-bottom: $ratio * 100%;
}
&:after {
content: "";
display: table;
clear: both;
}
> svg {
display: block;
position: absolute;
top: 0;
left: 0;
}
}
@mixin ct-align-justify($ct-text-align: $ct-text-align, $ct-text-justify: $ct-text-justify) {
-webkit-box-align: $ct-text-align;
-webkit-align-items: $ct-text-align;
-ms-flex-align: $ct-text-align;
align-items: $ct-text-align;
-webkit-box-pack: $ct-text-justify;
-webkit-justify-content: $ct-text-justify;
-ms-flex-pack: $ct-text-justify;
justify-content: $ct-text-justify;
// Fallback to text-align for non-flex browsers
@if($ct-text-justify == 'flex-start') {
text-align: left;
} @else if ($ct-text-justify == 'flex-end') {
text-align: right;
} @else {
text-align: center;
}
}
@mixin ct-flex() {
// Fallback to block
display: block;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
@mixin ct-chart-point($ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape) {
stroke-width: $ct-point-size;
stroke-linecap: $ct-point-shape;
}
@mixin ct-chart-line($ct-line-width: $ct-line-width, $ct-line-dasharray: $ct-line-dasharray) {
fill: none;
stroke-width: $ct-line-width;
@if ($ct-line-dasharray) {
stroke-dasharray: $ct-line-dasharray;
}
}
@mixin ct-chart-area($ct-area-opacity: $ct-area-opacity) {
stroke: none;
fill-opacity: $ct-area-opacity;
}
@mixin ct-chart-bar($ct-bar-width: $ct-bar-width) {
fill: none;
stroke-width: $ct-bar-width;
}
@mixin ct-chart-donut($ct-donut-width: $ct-donut-width) {
fill: none;
stroke-width: $ct-donut-width;
}
@mixin ct-chart-series-color($color) {
.#{$ct-class-point}, .#{$ct-class-line}, .#{$ct-class-bar}, .#{$ct-class-slice-donut} {
stroke: $color;
}
.#{$ct-class-slice-pie}, .#{$ct-class-slice-donut-solid}, .#{$ct-class-area} {
fill: $color;
}
}
.default-style {
@import "../../sass/_appwork/include";
$ct-text-color: $body-color;
$ct-grid-color: $gray-200;
@mixin ct-chart-label($ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-text-line-height: $ct-text-line-height) {
fill: $ct-text-color;
color: $ct-text-color;
font-size: $ct-text-size;
line-height: $ct-text-line-height;
}
@mixin ct-chart-grid($ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray) {
stroke: $ct-grid-color;
stroke-width: $ct-grid-width;
@if ($ct-grid-dasharray) {
stroke-dasharray: $ct-grid-dasharray;
}
}
@mixin ct-chart($ct-container-ratio: $ct-container-ratio, $ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray, $ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape, $ct-line-width: $ct-line-width, $ct-bar-width: $ct-bar-width, $ct-donut-width: $ct-donut-width, $ct-series-names: $ct-series-names, $ct-series-colors: $ct-series-colors) {
.#{$ct-class-label} {
@include ct-chart-label($ct-text-color, $ct-text-size);
}
.#{$ct-class-chart-line} .#{$ct-class-label},
.#{$ct-class-chart-bar} .#{$ct-class-label} {
@include ct-flex();
}
.#{$ct-class-chart-pie} .#{$ct-class-label},
.#{$ct-class-chart-donut} .#{$ct-class-label} {
dominant-baseline: central;
}
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
@include ct-align-justify(flex-end, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
@include ct-align-justify(flex-start, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
@include ct-align-justify(flex-end, flex-end);
// Fallback for browsers that don't support foreignObjects
text-anchor: end;
}
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
@include ct-align-justify(flex-end, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
@include ct-align-justify(flex-end, center);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
@include ct-align-justify(flex-start, center);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
@include ct-align-justify(flex-end, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
@include ct-align-justify(flex-start, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
@include ct-align-justify(center, flex-end);
// Fallback for browsers that don't support foreignObjects
text-anchor: end;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
@include ct-align-justify(center, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: end;
}
.#{$ct-class-grid} {
@include ct-chart-grid($ct-grid-color, $ct-grid-width, $ct-grid-dasharray);
}
.#{$ct-class-grid-background} {
fill: $ct-grid-background-fill;
}
.#{$ct-class-point} {
@include ct-chart-point($ct-point-size, $ct-point-shape);
}
.#{$ct-class-line} {
@include ct-chart-line($ct-line-width);
}
.#{$ct-class-area} {
@include ct-chart-area();
}
.#{$ct-class-bar} {
@include ct-chart-bar($ct-bar-width);
}
.#{$ct-class-slice-donut} {
@include ct-chart-donut($ct-donut-width);
}
@if $ct-include-colored-series {
@for $i from 0 to length($ct-series-names) {
.#{$ct-class-series}-#{nth($ct-series-names, $i + 1)} {
$color: nth($ct-series-colors, $i + 1);
@include ct-chart-series-color($color);
}
}
}
}
@if $ct-include-classes {
@include ct-chart();
@if $ct-include-alternative-responsive-containers {
@for $i from 0 to length($ct-scales-names) {
.#{nth($ct-scales-names, $i + 1)} {
@include ct-responsive-svg-container($ratio: nth($ct-scales, $i + 1));
}
}
}
}
}
.material-style {
@import "../../sass/_appwork/include-material";
$ct-text-color: $body-color;
$ct-grid-color: $gray-200;
@mixin ct-chart-label($ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-text-line-height: $ct-text-line-height) {
fill: $ct-text-color;
color: $ct-text-color;
font-size: $ct-text-size;
line-height: $ct-text-line-height;
}
@mixin ct-chart-grid($ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray) {
stroke: $ct-grid-color;
stroke-width: $ct-grid-width;
@if ($ct-grid-dasharray) {
stroke-dasharray: $ct-grid-dasharray;
}
}
@mixin ct-chart($ct-container-ratio: $ct-container-ratio, $ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray, $ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape, $ct-line-width: $ct-line-width, $ct-bar-width: $ct-bar-width, $ct-donut-width: $ct-donut-width, $ct-series-names: $ct-series-names, $ct-series-colors: $ct-series-colors) {
.#{$ct-class-label} {
@include ct-chart-label($ct-text-color, $ct-text-size);
}
.#{$ct-class-chart-line} .#{$ct-class-label},
.#{$ct-class-chart-bar} .#{$ct-class-label} {
@include ct-flex();
}
.#{$ct-class-chart-pie} .#{$ct-class-label},
.#{$ct-class-chart-donut} .#{$ct-class-label} {
dominant-baseline: central;
}
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
@include ct-align-justify(flex-end, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
@include ct-align-justify(flex-start, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
@include ct-align-justify(flex-end, flex-end);
// Fallback for browsers that don't support foreignObjects
text-anchor: end;
}
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
@include ct-align-justify(flex-end, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
@include ct-align-justify(flex-end, center);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
@include ct-align-justify(flex-start, center);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
@include ct-align-justify(flex-end, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
@include ct-align-justify(flex-start, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: start;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
@include ct-align-justify(center, flex-end);
// Fallback for browsers that don't support foreignObjects
text-anchor: end;
}
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
@include ct-align-justify(center, flex-start);
// Fallback for browsers that don't support foreignObjects
text-anchor: end;
}
.#{$ct-class-grid} {
@include ct-chart-grid($ct-grid-color, $ct-grid-width, $ct-grid-dasharray);
}
.#{$ct-class-grid-background} {
fill: $ct-grid-background-fill;
}
.#{$ct-class-point} {
@include ct-chart-point($ct-point-size, $ct-point-shape);
}
.#{$ct-class-line} {
@include ct-chart-line($ct-line-width);
}
.#{$ct-class-area} {
@include ct-chart-area();
}
.#{$ct-class-bar} {
@include ct-chart-bar($ct-bar-width);
}
.#{$ct-class-slice-donut} {
@include ct-chart-donut($ct-donut-width);
}
@if $ct-include-colored-series {
@for $i from 0 to length($ct-series-names) {
.#{$ct-class-series}-#{nth($ct-series-names, $i + 1)} {
$color: nth($ct-series-colors, $i + 1);
@include ct-chart-series-color($color);
}
}
}
}
@if $ct-include-classes {
@include ct-chart();
@if $ct-include-alternative-responsive-containers {
@for $i from 0 to length($ct-scales-names) {
.#{nth($ct-scales-names, $i + 1)} {
@include ct-responsive-svg-container($ratio: nth($ct-scales, $i + 1));
}
}
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
@import "~cropper/dist/cropper";

1
resources/assets/vendor/libs/d3/d3.js vendored Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,364 @@
@import "~datatables.net-bs4/css/dataTables.bootstrap4";
div.dataTables_wrapper {
padding: 0;
}
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
display: flex;
align-items: center;
margin: 0;
}
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_info {
justify-content: flex-start;
}
div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_paginate,
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
justify-content: flex-end;
}
div.dataTables_wrapper div.dataTables_length {
.form-control {
margin: 0 .5rem;
}
[dir=rtl] & label {
text-align: right;
}
}
[dir=rtl] div.dataTables_filter {
text-align: left;
label {
text-align: right;
}
input {
margin-right: .5em;
margin-left: 0;
}
}
div.dataTables_wrapper div.dataTables_info {
padding-top: .25rem;
white-space: normal;
}
[dir=rtl] div.dataTables_wrapper div.dataTables_paginate {
text-align: right;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
flex-wrap: wrap;
justify-content: center;
white-space: normal;
.page-link {
outline: 0;
}
}
div.dataTables_wrapper [class*="col-md-"] {
padding-right: 0 !important;
padding-left: 0 !important;
}
table.dataTable {
width: 100% !important;
border-collapse: collapse !important;
[dir=rtl] &.table-sm > thead > tr > th {
padding-left: 1.25rem;
}
[dir=rtl] &.table-sm .sorting:before,
[dir=rtl] &.table-sm .sorting_asc:before,
[dir=rtl] &.table-sm .sorting_desc:before {
right: auto;
left: .85em;
}
}
[dir=rtl] table.dataTable thead > tr > th,
[dir=rtl] table.dataTable thead > tr > td {
&.sorting_asc,
&.sorting_desc,
&.sorting {
padding-left: 1.875rem;
}
}
table.dataTable thead th {
vertical-align: middle;
}
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
&::before,
&::after {
top: 50%;
margin-top: -.625rem;
height: 1.25rem;
line-height: 1.25rem;
}
[dir=rtl] &::before {
right: auto;
left: 1em;
}
[dir=rtl] &::after {
right: auto;
left: .5em;
}
}
[dir=rtl] table.table-bordered.dataTable th,
[dir=rtl] table.table-bordered.dataTable td {
border-right-width: 0;
border-left-width: 1px;
&:last-child {
border-left-width: 0;
}
}
// DataTable within card
div.card-datatable.dataTable,
div.card-datatable .dataTable {
border-right: 0;
border-left: 0;
}
.default-style {
@import "../../sass/_appwork/include";
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
margin-bottom: $spacer / 2;
}
div.dataTables_wrapper div.dataTables_info {
color: $text-muted;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link {
padding: $pagination-padding-y-sm $pagination-padding-x-sm;
min-width: calc(#{"#{($font-size-sm * $pagination-line-height) + ($pagination-padding-y-sm * 2)} + #{$pagination-border-width * 2}"});
font-size: $font-size-sm;
line-height: $pagination-line-height;
}
@media (max-width: (map-get($grid-breakpoints, md) - 1)) {
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
justify-content: center;
}
}
// DataTable within card
div.card-datatable {
padding: $card-spacer-x 0;
[class*="col-md-"] {
padding-right: $card-spacer-x !important;
padding-left: $card-spacer-x !important;
}
}
&:not([dir=rtl]) {
@media (min-width: map-get($grid-breakpoints, md)) {
div.dataTables_wrapper .row [class*="col-sm-"] {
&:first-child {
padding-right: 0 !important;
}
&:last-child {
padding-left: 0 !important;
}
}
}
div.card-datatable table.dataTable thead th,
div.card-datatable table.dataTable tbody td,
div.card-datatable table.dataTable tfoot th {
&:first-child {
padding-left: $card-spacer-x;
}
&:last-child {
padding-right: $card-spacer-x;
}
}
}
&[dir=rtl] {
table.dataTable.table-sm > thead > tr > th {
padding-right: $table-cell-padding-sm;
}
@media (min-width: map-get($grid-breakpoints, md)) {
div.dataTables_wrapper .row [class*="col-sm-"] {
&:first-child {
padding-left: 0 !important;
}
&:last-child {
padding-right: 0 !important;
}
}
}
table.dataTable {
thead th,
tbody td,
tfoot th {
padding-right: $table-cell-padding;
}
&.table-sm thead th,
&.table-sm tbody td,
&.table-sm tfoot th {
padding-right: $table-cell-padding-sm;
}
}
div.card-datatable table.dataTable {
thead th,
tbody td,
tfoot th {
&:first-child {
padding-right: $card-spacer-x;
}
&:last-child {
padding-left: $card-spacer-x;
}
}
}
}
}
.material-style {
@import "../../sass/_appwork/include-material";
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
margin-bottom: $spacer / 2;
}
div.dataTables_wrapper div.dataTables_info {
color: $text-muted;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link {
padding: $pagination-padding-y-sm $pagination-padding-x-sm;
min-width: calc(#{"#{($font-size-sm * $pagination-line-height) + ($pagination-padding-y-sm * 2)} + #{$pagination-border-width * 2}"});
font-size: $font-size-sm;
line-height: $pagination-line-height;
}
@media (max-width: (map-get($grid-breakpoints, md) - 1)) {
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
justify-content: center;
}
}
// DataTable within card
div.card-datatable {
padding: $card-spacer-x 0;
[class*="col-md-"] {
padding-right: $card-spacer-x !important;
padding-left: $card-spacer-x !important;
}
}
&:not([dir=rtl]) {
@media (min-width: map-get($grid-breakpoints, md)) {
div.dataTables_wrapper .row [class*="col-sm-"] {
&:first-child {
padding-right: 0 !important;
}
&:last-child {
padding-left: 0 !important;
}
}
}
div.card-datatable table.dataTable thead th,
div.card-datatable table.dataTable tbody td,
div.card-datatable table.dataTable tfoot th {
&:first-child {
padding-left: $card-spacer-x;
}
&:last-child {
padding-right: $card-spacer-x;
}
}
}
&[dir=rtl] {
table.dataTable.table-sm > thead > tr > th {
padding-right: $table-cell-padding-sm;
}
@media (min-width: map-get($grid-breakpoints, md)) {
div.dataTables_wrapper .row [class*="col-sm-"] {
&:first-child {
padding-left: 0 !important;
}
&:last-child {
padding-right: 0 !important;
}
}
}
table.dataTable {
thead th,
tbody td,
tfoot th {
padding-right: $table-cell-padding;
}
&.table-sm thead th,
&.table-sm tbody td,
&.table-sm tfoot th {
padding-right: $table-cell-padding-sm;
}
}
div.card-datatable table.dataTable {
thead th,
tbody td,
tfoot th {
&:first-child {
padding-right: $card-spacer-x;
}
&:last-child {
padding-left: $card-spacer-x;
}
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
@import "~dragula/dist/dragula";

View file

@ -0,0 +1,5 @@
@mixin dropzone-theme($border) {
.dropzone.dz-drag-hover {
border-color: $border !important;
}
}

Some files were not shown because too many files have changed in this diff Show more