From e56d8af20ed37ef4a1ce4ac0a8596852d8f15c07 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 10 Aug 2022 09:34:55 +0800 Subject: [PATCH] Solution for app running Vue 2 compiling field using Vue 3 Signed-off-by: Mior Muhammad Zaki --- nova-components/TestTool/dist/js/tool.js | 2 +- nova-components/TestTool/package.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nova-components/TestTool/dist/js/tool.js b/nova-components/TestTool/dist/js/tool.js index b8e6675..bb53592 100644 --- a/nova-components/TestTool/dist/js/tool.js +++ b/nova-components/TestTool/dist/js/tool.js @@ -1 +1 @@ -(()=>{"use strict";var o,r={131:()=>{const o={};Nova.booting((function(r,e){Nova.inertia("TestTool",o)}))},762:()=>{}},e={};function t(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return r[o](i,i.exports,t),i.exports}t.m=r,o=[],t.O=(r,e,n,i)=>{if(!e){var a=1/0;for(f=0;f=i)&&Object.keys(t.O).every((o=>t.O[o](e[v])))?e.splice(v--,1):(s=!1,i0&&o[f-1][2]>i;f--)o[f]=o[f-1];o[f]=[e,n,i]},t.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r),(()=>{var o={103:0,990:0};t.O.j=r=>0===o[r];var r=(r,e)=>{var n,i,[a,s,v]=e,l=0;if(a.some((r=>0!==o[r]))){for(n in s)t.o(s,n)&&(t.m[n]=s[n]);if(v)var f=v(t)}for(r&&r(e);lt(131)));var n=t.O(void 0,[990],(()=>t(762)));n=t.O(n)})(); \ No newline at end of file +(()=>{"use strict";var e,t={924:(e,t,n)=>{const r=Vue;var o=(0,r.createTextVNode)("Test Tool"),a=(0,r.createElementVNode)("svg",{class:"spin fill-80 mb-6",width:"69",height:"72",viewBox:"0 0 23 24",xmlns:"http://www.w3.org/2000/svg"},[(0,r.createElementVNode)("path",{d:"M20.12 20.455A12.184 12.184 0 0 1 11.5 24a12.18 12.18 0 0 1-9.333-4.319c4.772 3.933 11.88 3.687 16.36-.738a7.571 7.571 0 0 0 0-10.8c-3.018-2.982-7.912-2.982-10.931 0a3.245 3.245 0 0 0 0 4.628 3.342 3.342 0 0 0 4.685 0 1.114 1.114 0 0 1 1.561 0 1.082 1.082 0 0 1 0 1.543 5.57 5.57 0 0 1-7.808 0 5.408 5.408 0 0 1 0-7.714c3.881-3.834 10.174-3.834 14.055 0a9.734 9.734 0 0 1 .03 13.855zM4.472 5.057a7.571 7.571 0 0 0 0 10.8c3.018 2.982 7.912 2.982 10.931 0a3.245 3.245 0 0 0 0-4.628 3.342 3.342 0 0 0-4.685 0 1.114 1.114 0 0 1-1.561 0 1.082 1.082 0 0 1 0-1.543 5.57 5.57 0 0 1 7.808 0 5.408 5.408 0 0 1 0 7.714c-3.881 3.834-10.174 3.834-14.055 0a9.734 9.734 0 0 1-.015-13.87C5.096 1.35 8.138 0 11.5 0c3.75 0 7.105 1.68 9.333 4.319C16.06.386 8.953.632 4.473 5.057z","fill-rule":"evenodd"})],-1),i=(0,r.createElementVNode)("h1",{class:"dark:text-white text-4xl font-light mb-6"}," We're in a black hole. ",-1),c=(0,r.createElementVNode)("p",{class:"dark:text-white text-lg opacity-70"},[(0,r.createTextVNode)(" You can edit this tool's component at: "),(0,r.createElementVNode)("code",{class:"ml-1 border border-gray-100 dark:border-gray-900 text-sm font-mono text-white bg-black rounded px-2 py-1"}," /nova-components/TestTool/resources/js/pages/Tool.vue ")],-1);const s={mounted:function(){}};var l=n(379),d=n.n(l),u=n(314),f={insert:"head",singleton:!1};d()(u.Z,f);u.Z.locals;const v=(0,n(744).Z)(s,[["render",function(e,t,n,s,l,d){var u=(0,r.resolveComponent)("Head"),f=(0,r.resolveComponent)("Heading"),v=(0,r.resolveComponent)("Card");return(0,r.openBlock)(),(0,r.createElementBlock)("div",null,[(0,r.createVNode)(u,{title:"Test Tool"}),(0,r.createVNode)(f,{class:"mb-6"},{default:(0,r.withCtx)((function(){return[o]})),_:1}),(0,r.createVNode)(v,{class:"flex flex-col items-center justify-center",style:{"min-height":"300px"}},{default:(0,r.withCtx)((function(){return[a,i,c]})),_:1})])}]]);Nova.booting((function(e,t){Nova.inertia("TestTool",v)}))},314:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"",""]);const a=o},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a{},379:(e,t,n)=>{var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function c(e){for(var t=-1,n=0;n{t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={id:e,exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=(t,n,o,a)=>{if(!n){var i=1/0;for(d=0;d=a)&&Object.keys(r.O).every((e=>r.O[e](n[s])))?n.splice(s--,1):(c=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[n,o,a]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={103:0,990:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,a,[i,c,s]=n,l=0;if(i.some((t=>0!==e[t]))){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(s)var d=s(r)}for(t&&t(n);lr(924)));var o=r.O(void 0,[990],(()=>r(762)));o=r.O(o)})(); \ No newline at end of file diff --git a/nova-components/TestTool/package.json b/nova-components/TestTool/package.json index c57e4c5..3939530 100644 --- a/nova-components/TestTool/package.json +++ b/nova-components/TestTool/package.json @@ -11,10 +11,9 @@ "nova:install": "npm --prefix='../../vendor/laravel/nova' ci" }, "devDependencies": { - "@vue/compiler-sfc": "^3.2.22", "laravel-mix": "^6.0.49", "postcss": "^8.3.11", + "vue": "^3.2.37", "vue-loader": "^16.8.3" - }, - "dependencies": {} + } }