From 9ab3c73f3b78e42bbef20e069d24864c6f7777c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Mon, 4 Mar 2024 08:57:22 +0100 Subject: [PATCH] version --- package.json | 2 +- .../assets/{app-2a95995e.js => app-475b78f0.js} | 2 +- public/build/assets/app-49feabf0.js | 1 - public/build/assets/app-c0ee82cb.js | 1 + public/build/assets/chart-89c3886a.js | 1 - public/build/assets/chart-9990b758.js | 1 + public/build/assets/dropdown-89c3886a.js | 1 - public/build/assets/dropdown-9990b758.js | 1 + public/build/assets/editor-89c3886a.js | 1 - public/build/assets/editor-9990b758.js | 1 + public/build/assets/media-manager-89c3886a.js | 1 - public/build/assets/media-manager-9990b758.js | 1 + public/build/assets/repeater-89c3886a.js | 1 - public/build/assets/repeater-9990b758.js | 1 + public/build/assets/table-89c3886a.js | 1 - public/build/assets/table-9990b758.js | 1 + public/build/manifest.json | 16 ++++++++-------- src/Root.php | 2 +- yarn.lock | 8 ++++---- 19 files changed, 22 insertions(+), 22 deletions(-) rename public/build/assets/{app-2a95995e.js => app-475b78f0.js} (99%) delete mode 100644 public/build/assets/app-49feabf0.js create mode 100644 public/build/assets/app-c0ee82cb.js delete mode 100644 public/build/assets/chart-89c3886a.js create mode 100644 public/build/assets/chart-9990b758.js delete mode 100644 public/build/assets/dropdown-89c3886a.js create mode 100644 public/build/assets/dropdown-9990b758.js delete mode 100644 public/build/assets/editor-89c3886a.js create mode 100644 public/build/assets/editor-9990b758.js delete mode 100644 public/build/assets/media-manager-89c3886a.js create mode 100644 public/build/assets/media-manager-9990b758.js delete mode 100644 public/build/assets/repeater-89c3886a.js create mode 100644 public/build/assets/repeater-9990b758.js delete mode 100644 public/build/assets/table-89c3886a.js create mode 100644 public/build/assets/table-9990b758.js diff --git a/package.json b/package.json index 5b6a0396..61696351 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@alpinejs/focus": "^3.12.3", - "@conedevelopment/qkie": "^1.0.2", + "@conedevelopment/qkie": "^1.1.1", "@hotwired/turbo": "^8.0.0", "@tiptap/extension-highlight": "^2.0.3", "@tiptap/extension-history": "^2.0.3", diff --git a/public/build/assets/app-2a95995e.js b/public/build/assets/app-475b78f0.js similarity index 99% rename from public/build/assets/app-2a95995e.js rename to public/build/assets/app-475b78f0.js index ab199871..52ce6dde 100644 --- a/public/build/assets/app-2a95995e.js +++ b/public/build/assets/app-475b78f0.js @@ -19,7 +19,7 @@ focus-trap/dist/focus-trap.esm.js: * focus-trap 6.9.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE *) -*/class sw{constructor(){}set(e,t,r=null,a="/",l={}){const d=Object.assign({[e]:t,expires:r instanceof Date?r.toUTCString():r,path:a},{SameSite:"Lax",Secure:!0},l);document.cookie=Object.entries(d).reduce((p,b)=>p.concat(b.join("=")),[]).join("; ")}get(e,t=null){const r=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return r&&r[2]?r[2]:t}isset(e){return document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"))!==null}remove(e){this.set(e,null,"Thu, 01 Jan 1970 00:00:01 GMT")}}document.addEventListener("alpine:init",()=>{window.Alpine.data("notifications",i=>({open:!1,processing:!1,notifications:[],nextPageUrl:i,unread:0,init(){this.fetch()},fetch(){this.processing=!0,window.$http.get(this.nextPageUrl).then(e=>{this.unread=e.data.total_unread,this.notifications.push(...e.data.data),this.nextPageUrl=e.data.next_page_url}).catch(e=>{}).finally(()=>{this.processing=!1})},markAsRead(e){e.is_read||(this.processing=!0,window.$http.patch(e.url).then(t=>{this.unread--,e.is_read=!0}).catch(t=>{}).finally(()=>{this.processing=!1}))}}))});document.addEventListener("alpine:init",()=>{window.Alpine.data("theme",()=>({systemMode:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",theme:window.$cookie.get("theme","system"),init(){window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{this.theme==="system"&&document.documentElement.setAttribute("data-theme-mode",e.matches?"dark":"light")}),document.documentElement.setAttribute("data-theme-mode",this.theme==="system"?this.systemMode:this.theme),this.changeAssets(),new MutationObserver(()=>{this.changeAssets()}).observe(document.documentElement,{attributes:!0})},change(i){document.documentElement.classList.add("no-transition"),window.$cookie.set("theme",i),this.theme=i,document.documentElement.setAttribute("data-theme-mode",i==="system"?this.systemMode:i),this.$root.querySelector(`.theme-switcher__${i}-mode`).focus(),document.documentElement.classList.remove("no-transition")},changeAssets(){const i=document.documentElement.getAttribute("data-theme-mode")==="system"?this.systemMode:document.documentElement.getAttribute("data-theme-mode");document.querySelectorAll("img[data-theme-mode]").forEach(e=>{e.src=e.getAttribute(`data-${i}-asset`)})}}))});/*! +*/class sw{constructor(e=""){this.namespace=e}set(e,t,r=null,a="/",l={}){e=this._qualify(e);const d=Object.assign({[e]:t,expires:r instanceof Date?r.toUTCString():r,path:a},{SameSite:"Lax",Secure:!0},l);document.cookie=Object.entries(d).reduce((p,b)=>p.concat(b.join("=")),[]).join("; ")}get(e,t=null){e=this._escape(this._qualify(e));const r=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return r&&r[2]?r[2]:t}isset(e){return e=this._escape(this._qualify(e)),document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"))!==null}remove(e){e=this._qualify(e),this.set(e,null,"Thu, 01 Jan 1970 00:00:01 GMT")}_qualify(e){return this.namespace+e}_escape(e){return e=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}document.addEventListener("alpine:init",()=>{window.Alpine.data("notifications",i=>({open:!1,processing:!1,notifications:[],nextPageUrl:i,unread:0,init(){this.fetch()},fetch(){this.processing=!0,window.$http.get(this.nextPageUrl).then(e=>{this.unread=e.data.total_unread,this.notifications.push(...e.data.data),this.nextPageUrl=e.data.next_page_url}).catch(e=>{}).finally(()=>{this.processing=!1})},markAsRead(e){e.is_read||(this.processing=!0,window.$http.patch(e.url).then(t=>{this.unread--,e.is_read=!0}).catch(t=>{}).finally(()=>{this.processing=!1}))}}))});document.addEventListener("alpine:init",()=>{window.Alpine.data("theme",()=>({systemMode:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",theme:window.$cookie.get("theme","system"),init(){window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{this.theme==="system"&&document.documentElement.setAttribute("data-theme-mode",e.matches?"dark":"light")}),document.documentElement.setAttribute("data-theme-mode",this.theme==="system"?this.systemMode:this.theme),this.changeAssets(),new MutationObserver(()=>{this.changeAssets()}).observe(document.documentElement,{attributes:!0})},change(i){document.documentElement.classList.add("no-transition"),window.$cookie.set("theme",i),this.theme=i,document.documentElement.setAttribute("data-theme-mode",i==="system"?this.systemMode:i),this.$root.querySelector(`.theme-switcher__${i}-mode`).focus(),document.documentElement.classList.remove("no-transition")},changeAssets(){const i=document.documentElement.getAttribute("data-theme-mode")==="system"?this.systemMode:document.documentElement.getAttribute("data-theme-mode");document.querySelectorAll("img[data-theme-mode]").forEach(e=>{e.src=e.getAttribute(`data-${i}-asset`)})}}))});/*! Turbo 8.0.1 Copyright © 2024 37signals LLC */(function(i){if(typeof i.requestSubmit=="function")return;i.requestSubmit=function(r){r?(e(r,this),r.click()):(r=document.createElement("input"),r.type="submit",r.hidden=!0,this.appendChild(r),r.click(),this.removeChild(r))};function e(r,a){r instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),r.type=="submit"||t(TypeError,"The specified element is not a submit button"),r.form==a||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}function t(r,a,l){throw new r("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+a+".",l)}})(HTMLFormElement.prototype);const lg=new WeakMap;function aw(i){const e=i instanceof Element?i:i instanceof Node?i.parentElement:null,t=e?e.closest("input, button"):null;return(t==null?void 0:t.type)=="submit"?t:null}function ow(i){const e=aw(i.target);e&&e.form&&lg.set(e.form,e)}(function(){if("submitter"in Event.prototype)return;let i=window.Event.prototype;if("SubmitEvent"in window){const e=window.SubmitEvent.prototype;if(/Apple Computer/.test(navigator.vendor)&&!("submitter"in e))i=e;else return}addEventListener("click",ow,!0),Object.defineProperty(i,"submitter",{get(){if(this.type=="submit"&&this.target instanceof HTMLFormElement)return lg.get(this.target)}})})();const an={eager:"eager",lazy:"lazy"},$a=class $a extends HTMLElement{constructor(){super();se(this,"loaded",Promise.resolve());this.delegate=new $a.delegateConstructor(this)}static get observedAttributes(){return["disabled","complete","loading","src"]}connectedCallback(){this.delegate.connect()}disconnectedCallback(){this.delegate.disconnect()}reload(){return this.delegate.sourceURLReloaded()}attributeChangedCallback(t){t=="loading"?this.delegate.loadingStyleChanged():t=="complete"?this.delegate.completeChanged():t=="src"?this.delegate.sourceURLChanged():this.delegate.disabledChanged()}get src(){return this.getAttribute("src")}set src(t){t?this.setAttribute("src",t):this.removeAttribute("src")}get refresh(){return this.getAttribute("refresh")}set refresh(t){t?this.setAttribute("refresh",t):this.removeAttribute("refresh")}get loading(){return lw(this.getAttribute("loading")||"")}set loading(t){t?this.setAttribute("loading",t):this.removeAttribute("loading")}get disabled(){return this.hasAttribute("disabled")}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get autoscroll(){return this.hasAttribute("autoscroll")}set autoscroll(t){t?this.setAttribute("autoscroll",""):this.removeAttribute("autoscroll")}get complete(){return!this.delegate.isLoading}get isActive(){return this.ownerDocument===document&&!this.isPreview}get isPreview(){var t,r;return(r=(t=this.ownerDocument)==null?void 0:t.documentElement)==null?void 0:r.hasAttribute("data-turbo-preview")}};se($a,"delegateConstructor");let Bt=$a;function lw(i){switch(i.toLowerCase()){case"lazy":return an.lazy;default:return an.eager}}function Qe(i){return new URL(i.toString(),document.baseURI)}function xn(i){let e;if(i.hash)return i.hash.slice(1);if(e=i.href.match(/#(.*)$/))return e[1]}function Ch(i,e){const t=(e==null?void 0:e.getAttribute("formaction"))||i.getAttribute("action")||i.action;return Qe(t)}function cw(i){return(pw(i).match(/\.[^.]*$/)||[])[0]||""}function hw(i){return!!cw(i).match(/^(?:|\.(?:htm|html|xhtml|php))$/)}function dw(i,e){const t=gw(e);return i.href===Qe(t).href||i.href.startsWith(t)}function Si(i,e){return dw(i,e)&&hw(i)}function bc(i){const e=xn(i);return e!=null?i.href.slice(0,-(e.length+1)):i.href}function zs(i){return bc(i)}function uw(i,e){return Qe(i).href==Qe(e).href}function fw(i){return i.pathname.split("/").slice(1)}function pw(i){return fw(i).slice(-1)[0]}function gw(i){return mw(i.origin+i.pathname)}function mw(i){return i.endsWith("/")?i:i+"/"}class zo{constructor(e){this.response=e}get succeeded(){return this.response.ok}get failed(){return!this.succeeded}get clientError(){return this.statusCode>=400&&this.statusCode<=499}get serverError(){return this.statusCode>=500&&this.statusCode<=599}get redirected(){return this.response.redirected}get location(){return Qe(this.response.url)}get isHTML(){return this.contentType&&this.contentType.match(/^(?:text\/([^\s;,]+\b)?html|application\/xhtml\+xml)\b/)}get statusCode(){return this.response.status}get contentType(){return this.header("Content-Type")}get responseText(){return this.response.clone().text()}get responseHTML(){return this.isHTML?this.response.clone().text():Promise.resolve(void 0)}header(e){return this.response.headers.get(e)}}function Gr(i){if(i.getAttribute("data-turbo-eval")=="false")return i;{const e=document.createElement("script"),t=hr("csp-nonce");return t&&(e.nonce=t),e.textContent=i.textContent,e.async=!1,xw(e,i),e}}function xw(i,e){for(const{name:t,value:r}of e.attributes)i.setAttribute(t,r)}function bw(i){const e=document.createElement("template");return e.innerHTML=i,e.content}function Xe(i,{target:e,cancelable:t,detail:r}={}){const a=new CustomEvent(i,{cancelable:t,bubbles:!0,composed:!0,detail:r});return e&&e.isConnected?e.dispatchEvent(a):document.documentElement.dispatchEvent(a),a}function jn(){return document.visibilityState==="hidden"?hg():cg()}function cg(){return new Promise(i=>requestAnimationFrame(()=>i()))}function hg(){return new Promise(i=>setTimeout(()=>i(),0))}function yw(){return Promise.resolve()}function dg(i=""){return new DOMParser().parseFromString(i,"text/html")}function ug(i,...e){const t=vw(i,e).replace(/^\n/,"").split(` diff --git a/public/build/assets/app-49feabf0.js b/public/build/assets/app-49feabf0.js deleted file mode 100644 index 51fe7560..00000000 --- a/public/build/assets/app-49feabf0.js +++ /dev/null @@ -1 +0,0 @@ -import{a as f}from"./app-2a95995e.js";export{f as default}; diff --git a/public/build/assets/app-c0ee82cb.js b/public/build/assets/app-c0ee82cb.js new file mode 100644 index 00000000..a5968d03 --- /dev/null +++ b/public/build/assets/app-c0ee82cb.js @@ -0,0 +1 @@ +import{a as f}from"./app-475b78f0.js";export{f as default}; diff --git a/public/build/assets/chart-89c3886a.js b/public/build/assets/chart-89c3886a.js deleted file mode 100644 index ecb46a04..00000000 --- a/public/build/assets/chart-89c3886a.js +++ /dev/null @@ -1 +0,0 @@ -import"./app-2a95995e.js"; diff --git a/public/build/assets/chart-9990b758.js b/public/build/assets/chart-9990b758.js new file mode 100644 index 00000000..45085156 --- /dev/null +++ b/public/build/assets/chart-9990b758.js @@ -0,0 +1 @@ +import"./app-475b78f0.js"; diff --git a/public/build/assets/dropdown-89c3886a.js b/public/build/assets/dropdown-89c3886a.js deleted file mode 100644 index ecb46a04..00000000 --- a/public/build/assets/dropdown-89c3886a.js +++ /dev/null @@ -1 +0,0 @@ -import"./app-2a95995e.js"; diff --git a/public/build/assets/dropdown-9990b758.js b/public/build/assets/dropdown-9990b758.js new file mode 100644 index 00000000..45085156 --- /dev/null +++ b/public/build/assets/dropdown-9990b758.js @@ -0,0 +1 @@ +import"./app-475b78f0.js"; diff --git a/public/build/assets/editor-89c3886a.js b/public/build/assets/editor-89c3886a.js deleted file mode 100644 index ecb46a04..00000000 --- a/public/build/assets/editor-89c3886a.js +++ /dev/null @@ -1 +0,0 @@ -import"./app-2a95995e.js"; diff --git a/public/build/assets/editor-9990b758.js b/public/build/assets/editor-9990b758.js new file mode 100644 index 00000000..45085156 --- /dev/null +++ b/public/build/assets/editor-9990b758.js @@ -0,0 +1 @@ +import"./app-475b78f0.js"; diff --git a/public/build/assets/media-manager-89c3886a.js b/public/build/assets/media-manager-89c3886a.js deleted file mode 100644 index ecb46a04..00000000 --- a/public/build/assets/media-manager-89c3886a.js +++ /dev/null @@ -1 +0,0 @@ -import"./app-2a95995e.js"; diff --git a/public/build/assets/media-manager-9990b758.js b/public/build/assets/media-manager-9990b758.js new file mode 100644 index 00000000..45085156 --- /dev/null +++ b/public/build/assets/media-manager-9990b758.js @@ -0,0 +1 @@ +import"./app-475b78f0.js"; diff --git a/public/build/assets/repeater-89c3886a.js b/public/build/assets/repeater-89c3886a.js deleted file mode 100644 index ecb46a04..00000000 --- a/public/build/assets/repeater-89c3886a.js +++ /dev/null @@ -1 +0,0 @@ -import"./app-2a95995e.js"; diff --git a/public/build/assets/repeater-9990b758.js b/public/build/assets/repeater-9990b758.js new file mode 100644 index 00000000..45085156 --- /dev/null +++ b/public/build/assets/repeater-9990b758.js @@ -0,0 +1 @@ +import"./app-475b78f0.js"; diff --git a/public/build/assets/table-89c3886a.js b/public/build/assets/table-89c3886a.js deleted file mode 100644 index ecb46a04..00000000 --- a/public/build/assets/table-89c3886a.js +++ /dev/null @@ -1 +0,0 @@ -import"./app-2a95995e.js"; diff --git a/public/build/assets/table-9990b758.js b/public/build/assets/table-9990b758.js new file mode 100644 index 00000000..45085156 --- /dev/null +++ b/public/build/assets/table-9990b758.js @@ -0,0 +1 @@ +import"./app-475b78f0.js"; diff --git a/public/build/manifest.json b/public/build/manifest.json index 0f5d93c8..c8e3e6be 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -7,12 +7,12 @@ "css": [ "assets/app-31a2203c.css" ], - "file": "assets/app-2a95995e.js", + "file": "assets/app-475b78f0.js", "isEntry": true, "src": "resources/js/app.js" }, "resources/js/chart.js": { - "file": "assets/chart-89c3886a.js", + "file": "assets/chart-9990b758.js", "imports": [ "resources/js/app.js" ], @@ -20,7 +20,7 @@ "src": "resources/js/chart.js" }, "resources/js/dropdown.js": { - "file": "assets/dropdown-89c3886a.js", + "file": "assets/dropdown-9990b758.js", "imports": [ "resources/js/app.js" ], @@ -28,7 +28,7 @@ "src": "resources/js/dropdown.js" }, "resources/js/editor.js": { - "file": "assets/editor-89c3886a.js", + "file": "assets/editor-9990b758.js", "imports": [ "resources/js/app.js" ], @@ -36,7 +36,7 @@ "src": "resources/js/editor.js" }, "resources/js/media-manager.js": { - "file": "assets/media-manager-89c3886a.js", + "file": "assets/media-manager-9990b758.js", "imports": [ "resources/js/app.js" ], @@ -44,7 +44,7 @@ "src": "resources/js/media-manager.js" }, "resources/js/repeater.js": { - "file": "assets/repeater-89c3886a.js", + "file": "assets/repeater-9990b758.js", "imports": [ "resources/js/app.js" ], @@ -52,7 +52,7 @@ "src": "resources/js/repeater.js" }, "resources/js/table.js": { - "file": "assets/table-89c3886a.js", + "file": "assets/table-9990b758.js", "imports": [ "resources/js/app.js" ], @@ -60,7 +60,7 @@ "src": "resources/js/table.js" }, "resources/sass/app.scss": { - "file": "assets/app-49feabf0.js", + "file": "assets/app-c0ee82cb.js", "imports": [ "resources/js/app.js" ], diff --git a/src/Root.php b/src/Root.php index dd837af1..bec9d18e 100644 --- a/src/Root.php +++ b/src/Root.php @@ -21,7 +21,7 @@ class Root * * @var string */ - public const VERSION = '2.0.0'; + public const VERSION = '2.1.0'; /** * The registered booting callbacks. diff --git a/yarn.lock b/yarn.lock index fcf096da..aeee6916 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32,10 +32,10 @@ chalk "^2.4.2" js-tokens "^4.0.0" -"@conedevelopment/qkie@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@conedevelopment/qkie/-/qkie-1.0.2.tgz#81d7f1a1c15866ca88206600158ab7858c70b83c" - integrity sha512-PUsFJEu1COHqO+ddXUu6bxRJpSMjHl7DCWqtO4CLIkLs26lBZxWTsT6XS4SOL6JTj0oXd32SLS8iFNCDGu4Amg== +"@conedevelopment/qkie@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@conedevelopment/qkie/-/qkie-1.1.1.tgz#40b3e4eb6e4ff2a5976b16c6d802bee513106442" + integrity sha512-8H8YPBCgmF6h27IboL3+wYTeDcMJsvN9Yl5c8muQDFzlUTtUm88Wha8edGk5Gi5n+Ax+xaxiKhBLp9SODT5vZg== "@csstools/selector-specificity@^2.0.2": version "2.2.0"