Commit 107359e8 authored by JOE XMG's avatar JOE XMG
Browse files

update

parents
/*! For license information please see toastify.js.LICENSE.txt */
(()=>{var t={8588:function(t){var o,e;o=this,e=function(t){var o=function(t){return new o.lib.init(t)};function e(t,o){return o.offset[t]?isNaN(o.offset[t])?o.offset[t]:o.offset[t]+"px":"0px"}function i(t,o){return!(!t||"string"!=typeof o||!(t.className&&t.className.trim().split(/\s+/gi).indexOf(o)>-1))}return o.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,style:{background:""}},o.lib=o.prototype={toastify:"1.11.0",constructor:o,init:function(t){return t||(t={}),this.options={},this.toastElement=null,this.options.text=t.text||o.defaults.text,this.options.node=t.node||o.defaults.node,this.options.duration=0===t.duration?0:t.duration||o.defaults.duration,this.options.selector=t.selector||o.defaults.selector,this.options.callback=t.callback||o.defaults.callback,this.options.destination=t.destination||o.defaults.destination,this.options.newWindow=t.newWindow||o.defaults.newWindow,this.options.close=t.close||o.defaults.close,this.options.gravity="bottom"===t.gravity?"toastify-bottom":o.defaults.gravity,this.options.positionLeft=t.positionLeft||o.defaults.positionLeft,this.options.position=t.position||o.defaults.position,this.options.backgroundColor=t.backgroundColor||o.defaults.backgroundColor,this.options.avatar=t.avatar||o.defaults.avatar,this.options.className=t.className||o.defaults.className,this.options.stopOnFocus=void 0===t.stopOnFocus?o.defaults.stopOnFocus:t.stopOnFocus,this.options.onClick=t.onClick||o.defaults.onClick,this.options.offset=t.offset||o.defaults.offset,this.options.escapeMarkup=void 0!==t.escapeMarkup?t.escapeMarkup:o.defaults.escapeMarkup,this.options.style=t.style||o.defaults.style,this.options.style.background=o.defaults.backgroundColor||t.backgroundColor,this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var t=document.createElement("div");t.className="toastify on "+this.options.className,this.options.position?t.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(t.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):t.className+=" toastify-right",t.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(const o in this.options.style)t.style[o]=this.options.style[o];if(this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)t.appendChild(this.options.node);else if(this.options.escapeMarkup?t.innerText=this.options.text:t.innerHTML=this.options.text,""!==this.options.avatar){var o=document.createElement("img");o.src=this.options.avatar,o.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?t.appendChild(o):t.insertAdjacentElement("afterbegin",o)}if(!0===this.options.close){var i=document.createElement("span");i.innerHTML="&#10006;",i.className="toast-close",i.addEventListener("click",function(t){t.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var s=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&s>360?t.insertAdjacentElement("afterbegin",i):t.appendChild(i)}if(this.options.stopOnFocus&&this.options.duration>0){var n=this;t.addEventListener("mouseover",(function(o){window.clearTimeout(t.timeOutValue)})),t.addEventListener("mouseleave",(function(){t.timeOutValue=window.setTimeout((function(){n.removeElement(t)}),n.options.duration)}))}if(void 0!==this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),this.options.onClick()}.bind(this)),"object"==typeof this.options.offset){var a=e("x",this.options),r=e("y",this.options),l="left"==this.options.position?a:"-"+a,d="toastify-top"==this.options.gravity?r:"-"+r;t.style.transform="translate("+l+","+d+")"}return t},showToast:function(){var t;if(this.toastElement=this.buildToast(),!(t="string"==typeof this.options.selector?document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||this.options.selector instanceof ShadowRoot?this.options.selector:document.body))throw"Root element is not defined";var e=o.defaults.oldestFirst?t.firstChild:t.lastChild;return t.insertBefore(this.toastElement,e),o.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(t){t.className=t.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),t.parentNode&&t.parentNode.removeChild(t),this.options.callback.call(t),o.reposition()}.bind(this),400)}},o.reposition=function(){for(var t,o={top:15,bottom:15},e={top:15,bottom:15},s={top:15,bottom:15},n=document.getElementsByClassName("toastify"),a=0;a<n.length;a++){t=!0===i(n[a],"toastify-top")?"toastify-top":"toastify-bottom";var r=n[a].offsetHeight;t=t.substr(9,t.length-1),(window.innerWidth>0?window.innerWidth:screen.width)<=360?(n[a].style[t]=s[t]+"px",s[t]+=r+15):!0===i(n[a],"toastify-left")?(n[a].style[t]=o[t]+"px",o[t]+=r+15):(n[a].style[t]=e[t]+"px",e[t]+=r+15)}return this},o.lib.init.prototype=o.lib,o},t.exports?t.exports=e():o.Toastify=e()}},o={};function e(i){var s=o[i];if(void 0!==s)return s.exports;var n=o[i]={exports:{}};return t[i].call(n.exports,n,n.exports,e),n.exports}e.n=t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},e.d=(t,o)=>{for(var i in o)e.o(o,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:o[i]})},e.o=(t,o)=>Object.prototype.hasOwnProperty.call(t,o),(()=>{"use strict";var t=e(8588),o=e.n(t);document.getElementById("basic").addEventListener("click",(function(){o()({text:"This is a toast",duration:3e3}).showToast()})),document.getElementById("background").addEventListener("click",(function(){o()({text:"This is a toast",duration:3e3,backgroundColor:"linear-gradient(to right, #00b09b, #96c93d)"}).showToast()})),document.getElementById("close").addEventListener("click",(function(){o()({text:"Click close button",duration:3e3,close:!0,backgroundColor:"#4fbe87"}).showToast()})),document.getElementById("top-left").addEventListener("click",(function(){o()({text:"This is toast in top left",duration:3e3,close:!0,gravity:"top",position:"left",backgroundColor:"#4fbe87"}).showToast()})),document.getElementById("top-center").addEventListener("click",(function(){o()({text:"This is toast in top center",duration:3e3,close:!0,gravity:"top",position:"center",backgroundColor:"#4fbe87"}).showToast()})),document.getElementById("top-right").addEventListener("click",(function(){o()({text:"This is toast in top right",duration:3e3,close:!0,gravity:"top",position:"right",backgroundColor:"#4fbe87"}).showToast()})),document.getElementById("bottom-right").addEventListener("click",(function(){o()({text:"This is toast in bottom right",duration:3e3,close:!0,gravity:"bottom",position:"right",backgroundColor:"#4fbe87"}).showToast()})),document.getElementById("bottom-center").addEventListener("click",(function(){o()({text:"This is toast in bottom center",duration:3e3,close:!0,gravity:"bottom",position:"center",backgroundColor:"#4fbe87"}).showToast()})),document.getElementById("bottom-left").addEventListener("click",(function(){o()({text:"This is toast in bottom left",duration:3e3,close:!0,gravity:"bottom",position:"left",backgroundColor:"#4fbe87"}).showToast()}))})()})();
\ No newline at end of file
/*!
* Toastify js 1.11.0
* https://github.com/apvarun/toastify-js
* @license MIT licensed
*
* Copyright (C) 2018 Varun A P
*/
This source diff could not be displayed because it is too large. You can view the blob instead.
/*!
* ApexCharts v3.27.1
* (c) 2018-2021 Juned Chhipa
* Released under the MIT License.
*/
/*! svg.draggable.js - v2.2.2 - 2019-01-08
* https://github.com/svgdotjs/svg.draggable.js
* Copyright (c) 2019 Wout Fierens; Licensed MIT */
/*! svg.filter.js - v2.0.2 - 2016-02-24
* https://github.com/wout/svg.filter.js
* Copyright (c) 2016 Wout Fierens; Licensed MIT */
This source diff could not be displayed because it is too large. You can view the blob instead.
/*!
* Chart.js v2.9.4
* https://www.chartjs.org
* (c) 2020 Chart.js Contributors
* Released under the MIT License
*/
//! moment.js
//! moment.js locale configuration
(()=>{var e={2584:e=>{e.exports=function(e,t){return Array.prototype.slice.call(e,t)}},8514:(e,t,n)=>{"use strict";var r=n(6115);e.exports=function(e,t,n){e&&r((function(){e.apply(n||null,t||[])}))}},5229:(e,t,n)=>{"use strict";var r=n(2584),o=n(8514);e.exports=function(e,t){var n=t||{},i={};return void 0===e&&(e={}),e.on=function(t,n){return i[t]?i[t].push(n):i[t]=[n],e},e.once=function(t,n){return n._once=!0,e.on(t,n),e},e.off=function(t,n){var r=arguments.length;if(1===r)delete i[t];else if(0===r)i={};else{var o=i[t];if(!o)return e;o.splice(o.indexOf(n),1)}return e},e.emit=function(){var t=r(arguments);return e.emitterSnapshot(t.shift()).apply(this,t)},e.emitterSnapshot=function(t){var u=(i[t]||[]).slice(0);return function(){var i=r(arguments),c=this||e;if("error"===t&&!1!==n.throws&&!u.length)throw 1===i.length?i[0]:i;return u.forEach((function(r){n.async?o(r,i,c):r.apply(c,i),r._once&&e.off(t,r)})),e}},e}},1808:(e,t,n)=>{"use strict";var r=n(9638),o=n(4874),i=n.g.document,u=function(e,t,n,r){return e.addEventListener(t,n,r)},c=function(e,t,n,r){return e.removeEventListener(t,n,r)},a=[];function l(e,t,n){var r=function(e,t,n){var r,o;for(r=0;r<a.length;r++)if((o=a[r]).element===e&&o.type===t&&o.fn===n)return r}(e,t,n);if(r){var o=a[r].wrapper;return a.splice(r,1),o}}n.g.addEventListener||(u=function(e,t,r){return e.attachEvent("on"+t,function(e,t,r){var o=l(e,t,r)||function(e,t,r){return function(t){var o=t||n.g.event;o.target=o.target||o.srcElement,o.preventDefault=o.preventDefault||function(){o.returnValue=!1},o.stopPropagation=o.stopPropagation||function(){o.cancelBubble=!0},o.which=o.which||o.keyCode,r.call(e,o)}}(e,0,r);return a.push({wrapper:o,element:e,type:t,fn:r}),o}(e,t,r))},c=function(e,t,n){var r=l(e,t,n);if(r)return e.detachEvent("on"+t,r)}),e.exports={add:u,remove:c,fabricate:function(e,t,n){var u=-1===o.indexOf(t)?new r(t,{detail:n}):function(){var e;i.createEvent?(e=i.createEvent("Event")).initEvent(t,!0,!0):i.createEventObject&&(e=i.createEventObject());return e}();e.dispatchEvent?e.dispatchEvent(u):e.fireEvent("on"+t,u)}}},4874:(e,t,n)=>{"use strict";var r=[],o="",i=/^on/;for(o in n.g)i.test(o)&&r.push(o.slice(2));e.exports=r},9638:(e,t,n)=>{var r=n.g.CustomEvent;e.exports=function(){try{var e=new r("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(e){}return!1}()?r:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}},9425:e=>{"use strict";var t={};function n(e){var n=t[e];return n?n.lastIndex=0:t[e]=n=new RegExp("(?:^|\\s)"+e+"(?:\\s|$)","g"),n}e.exports={add:function(e,t){var r=e.className;r.length?n(t).test(r)||(e.className+=" "+t):e.className=t},rm:function(e,t){e.className=e.className.replace(n(t)," ").trim()}}},7137:(e,t,n)=>{"use strict";var r=n(5229),o=n(1808),i=n(9425),u=document,c=u.documentElement;function a(e,t,r,i){n.g.navigator.pointerEnabled?o[t](e,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[r],i):n.g.navigator.msPointerEnabled?o[t](e,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[r],i):(o[t](e,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[r],i),o[t](e,r,i))}function l(e){if(void 0!==e.touches)return e.touches.length;if(void 0!==e.which&&0!==e.which)return e.which;if(void 0!==e.buttons)return e.buttons;var t=e.button;return void 0!==t?1&t?1:2&t?3:4&t?2:0:void 0}function f(e){var t=e.getBoundingClientRect();return{left:t.left+s("scrollLeft","pageXOffset"),top:t.top+s("scrollTop","pageYOffset")}}function s(e,t){return void 0!==n.g[t]?n.g[t]:c.clientHeight?c[e]:u.body[e]}function v(e,t,n){var r,o=(e=e||{}).className||"";return e.className+=" gu-hide",r=u.elementFromPoint(t,n),e.className=o,r}function d(){return!1}function m(){return!0}function p(e){return e.width||e.right-e.left}function g(e){return e.height||e.bottom-e.top}function h(e){return e.parentNode===u?null:e.parentNode}function b(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||y(e)}function y(e){return!!e&&("false"!==e.contentEditable&&("true"===e.contentEditable||y(h(e))))}function E(e){return e.nextElementSibling||function(){var t=e;do{t=t.nextSibling}while(t&&1!==t.nodeType);return t}()}function w(e,t){var n=function(e){return e.targetTouches&&e.targetTouches.length?e.targetTouches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e}(t),r={pageX:"clientX",pageY:"clientY"};return e in r&&!(e in n)&&r[e]in n&&(e=r[e]),n[e]}e.exports=function(e,t){var n,s,y,S,x,C,O,T,N,X,P,Y=arguments.length;1===Y&&!1===Array.isArray(e)&&(t=e,e=[]);var B,I=null,M=t||{};void 0===M.moves&&(M.moves=m),void 0===M.accepts&&(M.accepts=m),void 0===M.invalid&&(M.invalid=$),void 0===M.containers&&(M.containers=e||[]),void 0===M.isContainer&&(M.isContainer=d),void 0===M.copy&&(M.copy=!1),void 0===M.copySortSource&&(M.copySortSource=!1),void 0===M.revertOnSpill&&(M.revertOnSpill=!1),void 0===M.removeOnSpill&&(M.removeOnSpill=!1),void 0===M.direction&&(M.direction="vertical"),void 0===M.ignoreInputTextSelection&&(M.ignoreInputTextSelection=!0),void 0===M.mirrorContainer&&(M.mirrorContainer=u.body);var j=r({containers:M.containers,start:H,end:q,cancel:Z,remove:W,destroy:F,canMove:z,dragging:!1});return!0===M.removeOnSpill&&j.on("over",oe).on("out",ie),L(),j;function D(e){return-1!==j.containers.indexOf(e)||M.isContainer(e)}function L(e){var t=e?"remove":"add";a(c,t,"mousedown",k),a(c,t,"mouseup",J)}function R(e){a(c,e?"remove":"add","mousemove",K)}function A(e){var t=e?"remove":"add";o[t](c,"selectstart",_),o[t](c,"click",_)}function F(){L(!0),J({})}function _(e){B&&e.preventDefault()}function k(e){if(C=e.clientX,O=e.clientY,!(1!==l(e)||e.metaKey||e.ctrlKey)){var t=e.target,n=U(t);n&&(B=n,R(),"mousedown"===e.type&&(b(t)?t.focus():e.preventDefault()))}}function K(e){if(B)if(0!==l(e)){if(!(void 0!==e.clientX&&Math.abs(e.clientX-C)<=(M.slideFactorX||0)&&void 0!==e.clientY&&Math.abs(e.clientY-O)<=(M.slideFactorY||0))){if(M.ignoreInputTextSelection){var t=w("clientX",e)||0,n=w("clientY",e)||0;if(b(u.elementFromPoint(t,n)))return}var r=B;R(!0),A(),q(),V(r);var o=f(y);S=w("pageX",e)-o.left,x=w("pageY",e)-o.top,i.add(X||y,"gu-transit"),ue(),re(e)}}else J({})}function U(e){if(!(j.dragging&&n||D(e))){for(var t=e;h(e)&&!1===D(h(e));){if(M.invalid(e,t))return;if(!(e=h(e)))return}var r=h(e);if(r)if(!M.invalid(e,t))if(M.moves(e,r,t,E(e)))return{item:e,source:r}}}function z(e){return!!U(e)}function H(e){var t=U(e);t&&V(t)}function V(e){fe(e.item,e.source)&&(X=e.item.cloneNode(!0),j.emit("cloned",X,e.item,"copy")),s=e.source,y=e.item,T=N=E(e.item),j.dragging=!0,j.emit("drag",y,s)}function $(){return!1}function q(){if(j.dragging){var e=X||y;Q(e,h(e))}}function G(){B=!1,R(!0),A(!0)}function J(e){if(G(),j.dragging){var t=X||y,r=w("clientX",e)||0,o=w("clientY",e)||0,i=ne(v(n,r,o),r,o);i&&(X&&M.copySortSource||!X||i!==s)?Q(t,i):M.removeOnSpill?W():Z()}}function Q(e,t){var n=h(e);X&&M.copySortSource&&t===s&&n.removeChild(y),te(t)?j.emit("cancel",e,s,s):j.emit("drop",e,t,s,N),ee()}function W(){if(j.dragging){var e=X||y,t=h(e);t&&t.removeChild(e),j.emit(X?"cancel":"remove",e,t,s),ee()}}function Z(e){if(j.dragging){var t=arguments.length>0?e:M.revertOnSpill,n=X||y,r=h(n),o=te(r);!1===o&&t&&(X?r&&r.removeChild(X):s.insertBefore(n,T)),o||t?j.emit("cancel",n,s,s):j.emit("drop",n,r,s,N),ee()}}function ee(){var e=X||y;G(),ce(),e&&i.rm(e,"gu-transit"),P&&clearTimeout(P),j.dragging=!1,I&&j.emit("out",e,I,s),j.emit("dragend",e),s=y=X=T=N=P=I=null}function te(e,t){var r;return r=void 0!==t?t:n?N:E(X||y),e===s&&r===T}function ne(e,t,n){for(var r=e;r&&!o();)r=h(r);return r;function o(){if(!1===D(r))return!1;var o=ae(r,e),i=le(r,o,t,n);return!!te(r,i)||M.accepts(y,r,s,i)}}function re(e){if(n){e.preventDefault();var t=w("clientX",e)||0,r=w("clientY",e)||0,o=t-S,i=r-x;n.style.left=o+"px",n.style.top=i+"px";var u=X||y,c=v(n,t,r),a=ne(c,t,r),l=null!==a&&a!==I;(l||null===a)&&(I&&p("out"),I=a,l&&p("over"));var f=h(u);if(a!==s||!X||M.copySortSource){var d,m=ae(a,c);if(null!==m)d=le(a,m,t,r);else{if(!0!==M.revertOnSpill||X)return void(X&&f&&f.removeChild(u));d=T,a=s}(null===d&&l||d!==u&&d!==E(u))&&(N=d,a.insertBefore(u,d),j.emit("shadow",u,a,s))}else f&&f.removeChild(u)}function p(e){j.emit(e,u,I,s)}}function oe(e){i.rm(e,"gu-hide")}function ie(e){j.dragging&&i.add(e,"gu-hide")}function ue(){if(!n){var e=y.getBoundingClientRect();(n=y.cloneNode(!0)).style.width=p(e)+"px",n.style.height=g(e)+"px",i.rm(n,"gu-transit"),i.add(n,"gu-mirror"),M.mirrorContainer.appendChild(n),a(c,"add","mousemove",re),i.add(M.mirrorContainer,"gu-unselectable"),j.emit("cloned",n,y,"mirror")}}function ce(){n&&(i.rm(M.mirrorContainer,"gu-unselectable"),a(c,"remove","mousemove",re),h(n).removeChild(n),n=null)}function ae(e,t){for(var n=t;n!==e&&h(n)!==e;)n=h(n);return n===c?null:n}function le(e,t,n,r){var o="horizontal"===M.direction;return t!==e?function(){var e=t.getBoundingClientRect();if(o)return i(n>e.left+p(e)/2);return i(r>e.top+g(e)/2)}():function(){var t,i,u,c=e.children.length;for(t=0;t<c;t++){if(i=e.children[t],u=i.getBoundingClientRect(),o&&u.left+u.width/2>n)return i;if(!o&&u.top+u.height/2>r)return i}return null}();function i(e){return e?E(t):t}}function fe(e,t){return"boolean"==typeof M.copy?M.copy:M.copy(e,t)}}},6115:e=>{var t;t="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){setTimeout(e,0)},e.exports=t}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(7137),t=n.n(e);window.dragula=t(),t()([document.getElementById("widget-todo-list")],{moves:function(e,t,n){return n.classList.contains("cursor-move")}})})()})();
\ No newline at end of file
(self["webpackChunkmazer"] = self["webpackChunkmazer"] || []).push([["node_modules_simple-datatables_src_date_js"],{
/***/ "./node_modules/dayjs/dayjs.min.js":
/*!*****************************************!*\
!*** ./node_modules/dayjs/dayjs.min.js ***!
\*****************************************/
/***/ (function(module) {
!function(t,e){ true?module.exports=e():0}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",v={};v[D]=M;var p=function(t){return t instanceof _},S=function(t,e,n){var r;if(!t)return D;if("string"==typeof t)v[t]&&(r=t),e&&(v[t]=e,r=t);else{var i=t.name;v[i]=t,r=i}return!n&&r&&(D=r),r||!n&&D},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,v=(y<D?y+7:y)-D;return $(r?m-v:m+(6-v),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this;if(!this.isValid())return $;var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=O.z(this),i=this.$locale(),s=this.$H,u=this.$m,a=this.$M,o=i.weekdays,f=i.months,h=function(t,r,i,s){return t&&(t[r]||t(e,n))||i[r].substr(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(i.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(i.weekdaysMin,this.$W,o,2),ddd:h(i.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:r};return n.replace(y,(function(t,e){return e||l[t]||r.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,D=O.m(this,M);return D=(l={},l[c]=D/12,l[f]=D,l[h]=D/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?D:O.a(D)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return v[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=v[D],w.Ls=v,w.p={},w}));
/***/ }),
/***/ "./node_modules/dayjs/plugin/customParseFormat.js":
/*!********************************************************!*\
!*** ./node_modules/dayjs/plugin/customParseFormat.js ***!
\********************************************************/
/***/ (function(module) {
!function(t,e){ true?module.exports=e():0}(this,(function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^\s\d-_:/()]+/,o={};var s=function(t){return function(e){this[t]=+e}},a=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],f=function(t){var e=o[t];return e&&(e.indexOf?e:e.s.concat(e.f))},h=function(t,e){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(t.indexOf(r(i,0,e))>-1){n=i>12;break}}else n=t===(e?"pm":"PM");return n},u={A:[i,function(t){this.afternoon=h(t,!1)}],a:[i,function(t){this.afternoon=h(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(t){var e=o.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var r=1;r<=31;r+=1)e(r).replace(/\[|\]/g,"")===t&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(t){var e=f("months"),n=(f("monthsShort")||e.map((function(t){return t.substr(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(t){var e=f("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){t=+t,this.year=t+(t>68?1900:2e3)}],YYYY:[/\d{4}/,s("year")],Z:a,ZZ:a};function d(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,r){var o=r&&r.toUpperCase();return n||i[r]||t[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),a=s.length,f=0;f<a;f+=1){var h=s[f],d=u[h],c=d&&d[0],l=d&&d[1];s[f]=l?{regex:c,parser:l}:h.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,r=0;n<a;n+=1){var i=s[n];if("string"==typeof i)r+=i.length;else{var o=i.regex,f=i.parser,h=t.substr(r),u=o.exec(h)[0];f.call(e,u),t=t.replace(u,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0;var r=e.prototype,i=r.parse;r.parse=function(t){var e=t.date,r=t.utc,s=t.args;this.$u=r;var a=s[1];if("string"==typeof a){var f=!0===s[2],h=!0===s[3],u=f||h,c=s[2];h&&(c=s[2]),o=this.$locale(),!f&&c&&(o=n.Ls[c]),this.$d=function(t,e,n){try{var r=d(e)(t),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,c=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var v=a||0,p=f||0,D=h||0,g=u||0;return c?new Date(Date.UTC(M,Y,m,v,p,D,g+60*c.offset*1e3)):n?new Date(Date.UTC(M,Y,m,v,p,D,g)):new Date(M,Y,m,v,p,D,g)}catch(t){return new Date("")}}(e,a,r),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),u&&e!==this.format(a)&&(this.$d=new Date("")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(""))}else i.call(this,t)}}}));
/***/ }),
/***/ "./node_modules/simple-datatables/src/date.js":
/*!****************************************************!*\
!*** ./node_modules/simple-datatables/src/date.js ***!
\****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "parseDate": () => (/* binding */ parseDate)
/* harmony export */ });
/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dayjs */ "./node_modules/dayjs/dayjs.min.js");
/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dayjs__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! dayjs/plugin/customParseFormat */ "./node_modules/dayjs/plugin/customParseFormat.js");
/* harmony import */ var dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_1__);
dayjs__WEBPACK_IMPORTED_MODULE_0___default().extend((dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_1___default()))
/**
* Use dayjs to parse cell contents for sorting
* @param {String} content The datetime string to parse
* @param {String} format The format for dayjs to use
* @return {String|Boolean} Datatime string or false
*/
const parseDate = (content, format) => {
let date = false
// Converting to YYYYMMDD ensures we can accurately sort the column numerically
if (format) {
switch (format) {
case "ISO_8601":
// ISO8601 is already lexiographically sorted, so we can just sort it as a string.
date = content
break
case "RFC_2822":
date = dayjs__WEBPACK_IMPORTED_MODULE_0___default()(content, "ddd, MM MMM YYYY HH:mm:ss ZZ").format("YYYYMMDD")
break
case "MYSQL":
date = dayjs__WEBPACK_IMPORTED_MODULE_0___default()(content, "YYYY-MM-DD hh:mm:ss").format("YYYYMMDD")
break
case "UNIX":
date = dayjs__WEBPACK_IMPORTED_MODULE_0___default()(content).unix()
break
// User defined format using the data-format attribute or columns[n].format option
default:
date = dayjs__WEBPACK_IMPORTED_MODULE_0___default()(content, format).format("YYYYMMDD")
break
}
}
return date
}
/***/ })
}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/*!
* ApexCharts v3.27.1
* (c) 2018-2021 Juned Chhipa
* Released under the MIT License.
*/
/*! svg.draggable.js - v2.2.2 - 2019-01-08
* https://github.com/svgdotjs/svg.draggable.js
* Copyright (c) 2019 Wout Fierens; Licensed MIT */
/*! svg.filter.js - v2.0.2 - 2016-02-24
* https://github.com/wout/svg.filter.js
* Copyright (c) 2016 Wout Fierens; Licensed MIT */
(()=>{new Quill("#snow",{theme:"snow"}),new Quill("#bubble",{theme:"bubble"});new Quill("#full",{bounds:"#full-container .editor",modules:{toolbar:[[{font:[]},{size:[]}],["bold","italic","underline","strike"],[{color:[]},{background:[]}],[{script:"super"},{script:"sub"}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["direction",{align:[]}],["link","image","video"],["clean"]]},theme:"snow"})})();
\ No newline at end of file
(()=>{function e(e,t,n,o){void 0===t&&(t=400),void 0===o&&(o=!1),e.style.overflow="hidden",o&&(e.style.display="block");var i,r=window.getComputedStyle(e),l=parseFloat(r.getPropertyValue("height")),a=parseFloat(r.getPropertyValue("padding-top")),u=parseFloat(r.getPropertyValue("padding-bottom")),s=parseFloat(r.getPropertyValue("margin-top")),d=parseFloat(r.getPropertyValue("margin-bottom")),p=l/t,c=a/t,y=u/t,m=s/t,g=d/t;window.requestAnimationFrame((function r(f){void 0===i&&(i=f);var v=f-i;o?(e.style.height=p*v+"px",e.style.paddingTop=c*v+"px",e.style.paddingBottom=y*v+"px",e.style.marginTop=m*v+"px",e.style.marginBottom=g*v+"px"):(e.style.height=l-p*v+"px",e.style.paddingTop=a-c*v+"px",e.style.paddingBottom=u-y*v+"px",e.style.marginTop=s-m*v+"px",e.style.marginBottom=d-g*v+"px"),v>=t?(e.style.height="",e.style.paddingTop="",e.style.paddingBottom="",e.style.marginTop="",e.style.marginBottom="",e.style.overflow="",o||(e.style.display="none"),"function"==typeof n&&n()):window.requestAnimationFrame(r)}))}function t(){var e;window.innerWidth<1200&&(e=document.querySelectorAll(".menu-item.has-sub"),console.log(e),e.forEach((function(e){e.querySelector(".menu-link").addEventListener("click",(function(t){t.preventDefault(),e.querySelector(".submenu").classList.toggle("active")}))})),document.querySelectorAll(".submenu-item.has-sub").forEach((function(e){e.querySelector(".submenu-link").addEventListener("click",(function(t){t.preventDefault(),e.querySelector(".subsubmenu").classList.toggle("active")}))}))),window.innerWidth>1200&&(document.querySelector(".main-navbar").style.display="")}document.querySelector(".burger-btn").addEventListener("click",(function(t){t.preventDefault(),function(t,n,o){0===t.clientHeight?e(t,n,o,!0):e(t,n,o)}(document.querySelector(".main-navbar"),300)})),window.onload=function(){return t()},window.addEventListener("resize",(function(e){t()}))})();
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IQG4iCity</title>
<link rel="stylesheet" href="assets/css/main/app.css">
<link rel="stylesheet" href="assets/css/main/app-dark.css">
<link rel="shortcut icon" href="assets/images/logo/favicon.svg" type="image/x-icon">
<link rel="shortcut icon" href="assets/images/logo/favicon.png" type="image/png">
<link rel="stylesheet" href="assets/css/shared/iconly.css">
<script src="https://cesium.com/downloads/cesiumjs/releases/1.91/Build/Cesium/Cesium.js"></script>
<link href="https://cesium.com/downloads/cesiumjs/releases/1.91/Build/Cesium/Widgets/widgets.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/main/cesiumCustom.css">
</head>
<body>
<div id="app">
<div id="sidebar" class="active">
<div class="sidebar-wrapper active">
<div class="sidebar-header position-relative">
<div class="d-flex justify-content-between align-items-center">
<div class="logo">
<a href="index.html"><img src="img/iCity.jpg" alt="Logo" srcset=""
style="height: 1.5em;"></a>
</div>
<div class="theme-toggle d-flex gap-2 align-items-center mt-2">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" role="img" class="iconify iconify--system-uicons" width="20"
height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21">
<g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round">
<path
d="M10.5 14.5c2.219 0 4-1.763 4-3.982a4.003 4.003 0 0 0-4-4.018c-2.219 0-4 1.781-4 4c0 2.219 1.781 4 4 4zM4.136 4.136L5.55 5.55m9.9 9.9l1.414 1.414M1.5 10.5h2m14 0h2M4.135 16.863L5.55 15.45m9.899-9.9l1.414-1.415M10.5 19.5v-2m0-14v-2"
opacity=".3"></path>
<g transform="translate(-210 -1)">
<path d="M220.5 2.5v2m6.5.5l-1.5 1.5"></path>
<circle cx="220.5" cy="11.5" r="4"></circle>
<path d="m214 5l1.5 1.5m5 14v-2m6.5-.5l-1.5-1.5M214 18l1.5-1.5m-4-5h2m14 0h2">
</path>
</g>
</g>
</svg>
<div class="form-check form-switch fs-6">
<input class="form-check-input me-0" type="checkbox" id="toggle-dark">
<label class="form-check-label"></label>
</div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" role="img" class="iconify iconify--mdi" width="20" height="20"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
<path fill="currentColor"
d="m17.75 4.09l-2.53 1.94l.91 3.06l-2.63-1.81l-2.63 1.81l.91-3.06l-2.53-1.94L12.44 4l1.06-3l1.06 3l3.19.09m3.5 6.91l-1.64 1.25l.59 1.98l-1.7-1.17l-1.7 1.17l.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95l2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85c-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14c.4-.4.82-.76 1.27-1.08c.75-.53 1.93.36 1.85 1.19c-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82c-2.81 3.14-2.7 7.96.31 10.98c3.02 3.01 7.84 3.12 10.98.31Z">
</path>
</svg>
</div>
<div class="sidebar-toggler x">
<a href="#" class="sidebar-hide d-xl-none d-block"><i class="bi bi-x bi-middle"></i></a>
</div>
</div>
</div>
<div class="sidebar-menu">
<ul class="menu">
<li class="sidebar-title">Menu</li>
<li class="sidebar-item active ">
<a href="index.html" class='sidebar-link'>
<i class="bi bi-grid-fill"></i>
<span>Dashboard</span>
</a>
</li>
<li class="sidebar-item ">
<a href="sensors.html" class='sidebar-link'>
<i class="bi bi-router"></i>
<span>Utility Sensors</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<div id="main">
<header class="mb-3">
<a href="#" class="burger-btn d-block d-xl-none">
<i class="bi bi-justify fs-3"></i>
</a>
</header>
<div class="page-heading">
<h3>iCity</h3>
<h5>Japan Demo Template</h5>
</div>
<div class="page-content">
<section class="row">
<div class="col-12 col-lg-9">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h4><i class="bi bi-globe2"></i> 3D Viewer</h4>
</div>
<div id="cesiumContainer" style="
height: 500px;
width: 100%;
margin: 0;
padding: 0;
"></div>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-3">
<div class="card">
<div class="card-header">
<h4>3D Map Tool</h4>
</div>
<div class="card-content pb-4">
<div class="card-body">
<h6>Utility Network</h6>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="util_nw_line">
<label class="form-check-label" for="util_nw_line">
Utility Network Lines (SSH)
<div class="spinner-border spinner-border-sm" role="status"
id="util_nw_line_loading" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="util_nw_point">
<label class="form-check-label" for="util_nw_point">
Utility Network Stations (SSH)
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="util_nw_Enisyst" checked>
<label class="form-check-label" for="util_nw_Enisyst">
Utility Network Stations (Enisyst)
</label>
</div>
<hr>
<h6>Building Style</h6>
<select class="form-select" id="BuildingStyleSelector">
<option value="AllWhite" selected>Default</option>
<option value="transparent">Transparent</option>
<option value="PVPotential">PV Potential</option>
<option value="PVSpecificYield">PV Specific Yield</option>
</select>
<div class="form-check pt-2">
<input class="form-check-input" type="checkbox" value="" id="shadow_check">
<label class="form-check-label" for="shadow_check">
Building Shadow
</label>
</div>
<hr>
</div>
</div>
</div>
</div>
</section>
<section class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h4><i class="bi bi-graph-up"></i> Sensor</h4>
</div>
<div class="card-body">
<div id="attribute-table-area">
<p> Click on the utility network station (Enisyst) on the 3D Map to see sensor data.</p>
</div>
<div id="chart_area"></div>
</div>
</div>
</div>
</section>
</div>
<footer>
<div class="footer clearfix mb-0 text-muted">
<div class="float-start">
<p>2022 &copy; by <a href="https://www.hft-stuttgart.de/p/thunyathep-santhanavanich">Joe T.S. @HFT Stuttgart</a> </p>
</div>
</div>
</footer>
</div>
</div>
<!-- Joe's Application -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
<!-- <script src="../application/js/drawchart.js"></script>
<script src="../application/js/utility_point_data.js"></script>
<script src="../application/js/staconnector.js"></script>
<script src="../application/js/cesium_00_Main.js"></script>
<script src="../application/js/pipelo_sta.js"></script>
<script src="../application/js/cesium_mouse_handling.js"></script> -->
<!-- theme template -->
<script src="assets/js/app.js"></script>
<script src="assets/js/cesium_00_Main.js"></script>
</body>
</html>
\ No newline at end of file
{
"/assets/js/app.js": "/assets/js/app.js",
"/assets/js/extensions/toastify.js": "/assets/js/extensions/toastify.js",
"/assets/js/extensions/sweetalert2.js": "/assets/js/extensions/sweetalert2.js",
"/assets/js/extensions/ckeditor.js": "/assets/js/extensions/ckeditor.js",
"/assets/js/extensions/ui-apexchart.js": "/assets/js/extensions/ui-apexchart.js",
"/assets/js/extensions/ui-chartjs.js": "/assets/js/extensions/ui-chartjs.js",
"/assets/js/extensions/ui-todolist.js": "/assets/js/extensions/ui-todolist.js",
"/assets/js/extensions/form-element-select.js": "/assets/js/extensions/form-element-select.js",
"/assets/js/extensions/datatables.js": "/assets/js/extensions/datatables.js",
"/assets/js/extensions/quill.js": "/assets/js/extensions/quill.js",
"/assets/js/extensions/rater-js.js": "/assets/js/extensions/rater-js.js",
"/assets/js/extensions/simple-datatables.js": "/assets/js/extensions/simple-datatables.js",
"/assets/js/extensions/summernote.js": "/assets/js/extensions/summernote.js",
"/assets/js/extensions/tinymce.js": "/assets/js/extensions/tinymce.js",
"/assets/js/extensions/filepond.js": "/assets/js/extensions/filepond.js",
"/assets/js/pages/dashboard.js": "/assets/js/pages/dashboard.js",
"/assets/js/pages/form-editor.js": "/assets/js/pages/form-editor.js",
"/assets/js/pages/horizontal-layout.js": "/assets/js/pages/horizontal-layout.js",
"/assets/css/main/app.css": "/assets/css/main/app.css",
"/assets/css/pages/filepond.css": "/assets/css/pages/filepond.css",
"/assets/css/pages/quill.css": "/assets/css/pages/quill.css",
"/assets/css/widgets/todo.css": "/assets/css/widgets/todo.css",
"/assets/css/pages/form-element-select.css": "/assets/css/pages/form-element-select.css",
"/assets/css/pages/summernote.css": "/assets/css/pages/summernote.css",
"/assets/css/pages/rater-js.css": "/assets/css/pages/rater-js.css",
"/assets/css/pages/simple-datatables.css": "/assets/css/pages/simple-datatables.css",
"/assets/css/pages/datatables.css": "/assets/css/pages/datatables.css",
"/assets/css/pages/fontawesome.css": "/assets/css/pages/fontawesome.css",
"/assets/css/pages/dripicons.css": "/assets/css/pages/dripicons.css",
"/assets/css/pages/email.css": "/assets/css/pages/email.css",
"/assets/css/pages/error.css": "/assets/css/pages/error.css",
"/assets/css/pages/auth.css": "/assets/css/pages/auth.css",
"/assets/css/main/app-dark.css": "/assets/css/main/app-dark.css",
"/assets/css/shared/iconly.css": "/assets/css/shared/iconly.css",
"/assets/css/widgets/chat.css": "/assets/css/widgets/chat.css",
"/assets/css/pages/sweetalert2.css": "/assets/css/pages/sweetalert2.css",
"/assets/css/pages/toastify.css": "/assets/css/pages/toastify.css",
"/assets/css/pages/chat.css": "/assets/css/pages/chat.css",
"/assets/images/bootstrap-icons.svg": "/assets/images/bootstrap-icons.svg"
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IQG4iCity</title>
<link rel="stylesheet" href="assets/css/main/app.css">
<link rel="stylesheet" href="assets/css/main/app-dark.css">
<link rel="shortcut icon" href="assets/images/logo/favicon.svg" type="image/x-icon">
<link rel="shortcut icon" href="assets/images/logo/favicon.png" type="image/png">
<link rel="stylesheet" href="assets/css/shared/iconly.css">
<link rel="stylesheet" href="../application/assets/css/cesiumCustom.css">
<link href="https://unpkg.com/tabulator-tables/dist/css/tabulator.min.css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/tabulator-tables/dist/js/tabulator.min.js"></script>
</head>
<body>
<div id="app">
<div id="sidebar" class="active">
<div class="sidebar-wrapper active">
<div class="sidebar-header position-relative">
<div class="d-flex justify-content-between align-items-center">
<div class="logo">
<a href="index.html"><img src="../img/iCity.jpg" alt="Logo" srcset=""
style="height: 1.5em;"></a>
</div>
<div class="theme-toggle d-flex gap-2 align-items-center mt-2">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" role="img" class="iconify iconify--system-uicons" width="20"
height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21">
<g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round">
<path
d="M10.5 14.5c2.219 0 4-1.763 4-3.982a4.003 4.003 0 0 0-4-4.018c-2.219 0-4 1.781-4 4c0 2.219 1.781 4 4 4zM4.136 4.136L5.55 5.55m9.9 9.9l1.414 1.414M1.5 10.5h2m14 0h2M4.135 16.863L5.55 15.45m9.899-9.9l1.414-1.415M10.5 19.5v-2m0-14v-2"
opacity=".3"></path>
<g transform="translate(-210 -1)">
<path d="M220.5 2.5v2m6.5.5l-1.5 1.5"></path>
<circle cx="220.5" cy="11.5" r="4"></circle>
<path d="m214 5l1.5 1.5m5 14v-2m6.5-.5l-1.5-1.5M214 18l1.5-1.5m-4-5h2m14 0h2">
</path>
</g>
</g>
</svg>
<div class="form-check form-switch fs-6">
<input class="form-check-input me-0" type="checkbox" id="toggle-dark">
<label class="form-check-label"></label>
</div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" role="img" class="iconify iconify--mdi" width="20" height="20"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
<path fill="currentColor"
d="m17.75 4.09l-2.53 1.94l.91 3.06l-2.63-1.81l-2.63 1.81l.91-3.06l-2.53-1.94L12.44 4l1.06-3l1.06 3l3.19.09m3.5 6.91l-1.64 1.25l.59 1.98l-1.7-1.17l-1.7 1.17l.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95l2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85c-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14c.4-.4.82-.76 1.27-1.08c.75-.53 1.93.36 1.85 1.19c-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82c-2.81 3.14-2.7 7.96.31 10.98c3.02 3.01 7.84 3.12 10.98.31Z">
</path>
</svg>
</div>
<div class="sidebar-toggler x">
<a href="#" class="sidebar-hide d-xl-none d-block"><i class="bi bi-x bi-middle"></i></a>
</div>
</div>
</div>
<div class="sidebar-menu">
<ul class="menu">
<li class="sidebar-title">Menu</li>
<li class="sidebar-item">
<a href="index.html" class='sidebar-link'>
<i class="bi bi-grid-fill"></i>
<span>Dashboard</span>
</a>
</li>
<li class="sidebar-item active ">
<a href="sensor.html" class='sidebar-link'>
<i class="bi bi-router"></i>
<span>Utility Sensors</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<div id="main">
<header class="mb-3">
<a href="#" class="burger-btn d-block d-xl-none">
<i class="bi bi-justify fs-3"></i>
</a>
</header>
<div class="page-heading">
<h3>iCity 2: IQG4iCity </h3>
<h5>(Buildings, Neighborhoods and Infrastructure) </h5>
</div>
<div class="page-content">
<section class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h4><i class="bi bi-router"></i> Sensors</h4>
</div>
<div class="card-body">
<div id="table-area">
<p> Loading Sensor data... </p>
</div>
<div id="chart_area"></div>
</div>
</div>
</div>
</section>
</div>
<footer>
<div class="footer clearfix mb-0 text-muted">
<div class="float-start">
<p>2022 &copy; Joe T.S. HFT Stuttgart</p>
</div>
<!-- <div class="float-end">
<p>Crafted with <span class="text-danger"><i class="bi bi-heart"></i></span> by <a
href="https://saugi.me">Saugi</a></p>
</div> -->
</div>
</footer>
</div>
</div>
<!-- theme template -->
<script src="assets/js/app.js"></script>
<!-- Joe's Application -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script> -->
<script>
var table;
var settings = {
"url": "https://steinbeis-3dps.eu/iqg4icity/iqg4icity_result.json",
"method": "GET",
};
$.ajax(settings).done(function (response) {
sta_last_result = response
// console.log(response);
try {
table = new Tabulator("#table-area", {
data: sta_last_result, //set initial table data
// autoColumns: true,
layout:"fitDataFill",
columns: [{
title: "STA ID",
field: "id"
},
{
title: "EUI ID",
field: "sensor_actual_id"
},
{
title: "Total Energy (kWh)",
field: "total_energy"
},
{
title: "Power (kW)",
field: "Power"
},
{
title: "Temp Consumption (C)",
field: "Heat_Consumption"
},
{
title: "Inlet temperature (C)",
field: "Inlet_temperature"
},
{
title: "Outlet temperature (C)",
field: "Outlet_temperature"
},
{
title: "Address",
field: "adress"
},
],
// pagination: true, //enable pagination
// paginationMode: "local", //enable remote pagination
// paginationSize: 10,
});
} catch (error) {
console.error(error)
}
});
// var table = new Tabulator("#table-area", {
// ajaxURL: "https://steinbeis-3dps.eu/iqg4icity/iqg4icity_result.json", //ajax URL
// });
</script>
<!-- <script src="assets/js/pages/dashboard.js"></script> -->
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment