diff --git a/config/nova.php b/config/nova.php index 4b408f91..fdb5fcbd 100644 --- a/config/nova.php +++ b/config/nova.php @@ -5,7 +5,7 @@ use Laravel\Nova\Http\Middleware\Authorize; use Laravel\Nova\Http\Middleware\BootTools; use Laravel\Nova\Http\Middleware\DispatchServingNovaEvent; -use Laravel\Nova\Http\Middleware\EnsureEmailIsVerified; +// use Laravel\Nova\Http\Middleware\EnsureEmailIsVerified; use Laravel\Nova\Http\Middleware\HandleInertiaRequests; return [ diff --git a/nova-components/IconsViewer/canvas.yaml b/nova-components/IconsViewer/canvas.yaml new file mode 100644 index 00000000..efd3d041 --- /dev/null +++ b/nova-components/IconsViewer/canvas.yaml @@ -0,0 +1,27 @@ +preset: package + +namespace: Otwell\IconsViewer +user-auth-model: Illuminate\Foundation\Auth\User + +paths: + src: src + resource: resources + +factory: + path: database/factories + +migration: + path: database/migrations + prefix: '' + +console: + namespace: Otwell\IconsViewer\Console + +model: + namespace: Otwell\IconsViewer\Models + +provider: + namespace: Otwell\IconsViewer + +testing: + namespace: Otwell\IconsViewer\Tests diff --git a/nova-components/IconsViewer/composer.json b/nova-components/IconsViewer/composer.json index ea7a1db7..b93dee8e 100644 --- a/nova-components/IconsViewer/composer.json +++ b/nova-components/IconsViewer/composer.json @@ -7,10 +7,12 @@ ], "license": "MIT", "require": { - "php": "^8.1" + "php": "^8.1", + "illuminate/support": "^10.0" }, "require-dev": { - "laravel/nova": "*" + "laravel/nova": "*", + "orchestra/workbench": "^8.5" }, "autoload": { "psr-4": { diff --git a/nova-components/IconsViewer/dist/js/tool.js b/nova-components/IconsViewer/dist/js/tool.js index a5aae559..ba84e11b 100644 --- a/nova-components/IconsViewer/dist/js/tool.js +++ b/nova-components/IconsViewer/dist/js/tool.js @@ -1 +1 @@ -(()=>{var e={834:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"\n.icons-viewer-set-grid[data-v-e0f9023a] {\n display: grid;\n grid-template-columns: repeat(10, minmax(0, 1fr));\n -moz-column-gap: 0.5rem;\n column-gap: 0.5rem;\n row-gap: 2rem\n}\n",""]);const i=o},329:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"\n.icons-viewer-type-grid[data-v-55e196dc] {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 3rem\n}\n",""]);const i=o},645:e=>{"use strict";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 i=0;i{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},653:(e,t,n)=>{var r=n(834);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(346).Z)("2978b9a6",r,!0,{})},89:(e,t,n)=>{var r=n(329);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(346).Z)("727bb051",r,!0,{})},346:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r={},o=0;ov});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,d=function(){},u=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){l=n,u=o||{};var a=r(e,t);return m(a),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o{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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";const e=Vue;var t={class:"icons-viewer-set-grid"},r={inheritAttrs:!1};const o=Object.assign(r,{__name:"IconsCollectionCard",props:{name:{type:String,required:!0},icons:{type:Array,default:[]}},setup:function(n){var r=n;return function(n,o){var i=(0,e.resolveComponent)("Heading"),a=(0,e.resolveComponent)("Card"),s=(0,e.resolveDirective)("tooltip");return(0,e.openBlock)(),(0,e.createElementBlock)("div",null,[(0,e.createVNode)(i,{level:2,class:"mb-6"},{default:(0,e.withCtx)((function(){return[(0,e.createTextVNode)((0,e.toDisplayString)(r.name)+" ("+(0,e.toDisplayString)(r.icons.length)+" icons)",1)]})),_:1}),(0,e.createElementVNode)("div",t,[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(r.icons,(function(t){return(0,e.withDirectives)(((0,e.openBlock)(),(0,e.createBlock)(a,{class:"mx-2 p-2 flex items-center justify-center"},{default:(0,e.withCtx)((function(){return[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)("heroicons-".concat(t)),{height:"48",width:"48"}))]})),_:2},1024)),[[s,"".concat(t)]])})),256))])])}}});n(653);var i=n(744);const a=(0,i.Z)(o,[["__scopeId","data-v-e0f9023a"]]);var s={class:"icons-viewer-type-grid"};const c={__name:"Tool",props:{icons:{type:Object,default:{solid:[],outline:[]}}},setup:function(t){var n=t;return function(t,r){var o=(0,e.resolveComponent)("Head"),i=(0,e.resolveComponent)("Heading");return(0,e.openBlock)(),(0,e.createElementBlock)("div",null,[(0,e.createVNode)(o,{title:"Icons Viewer"}),(0,e.createVNode)(i,{class:"mb-6"},{default:(0,e.withCtx)((function(){return[(0,e.createTextVNode)("Heroicons")]})),_:1}),(0,e.createElementVNode)("div",s,[(0,e.createVNode)((0,e.unref)(a),{name:"Outline",icons:n.icons.outline},null,8,["icons"]),(0,e.createVNode)((0,e.unref)(a),{name:"Solid",icons:n.icons.solid},null,8,["icons"])])])}}};n(89);const l=(0,i.Z)(c,[["__scopeId","data-v-55e196dc"]]);Nova.booting((function(e,t){Nova.inertia("IconsViewer",l)}))})()})(); \ No newline at end of file +(()=>{var e={204:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"\n.icons-viewer-set-grid[data-v-0de8cc5c] {\n display: grid;\n grid-template-columns: repeat(10, minmax(0, 1fr));\n -moz-column-gap: 0.5rem;\n column-gap: 0.5rem;\n row-gap: 2rem\n}\n",""]);const i=o},329:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"\n.icons-viewer-type-grid[data-v-55e196dc] {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 3rem\n}\n",""]);const i=o},645:e=>{"use strict";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 i=0;i{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},214:(e,t,n)=>{var r=n(204);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(346).Z)("0ec41374",r,!0,{})},89:(e,t,n)=>{var r=n(329);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(346).Z)("727bb051",r,!0,{})},346:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r={},o=0;ov});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,d=function(){},u=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){l=n,u=o||{};var a=r(e,t);return m(a),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o{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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";const e=Vue;var t={class:"icons-viewer-set-grid"},r={inheritAttrs:!1};const o=Object.assign(r,{__name:"IconsCollectionCard",props:{name:{type:String,required:!0},icons:{type:Array,default:[]}},setup:function(n){var r=n,o=(0,e.computed)((function(){return"Solid"===r.name?"solid":"outline"}));return function(r,i){var a=(0,e.resolveComponent)("Heading"),s=(0,e.resolveComponent)("Heroicons"),c=(0,e.resolveComponent)("Card"),l=(0,e.resolveDirective)("tooltip");return(0,e.openBlock)(),(0,e.createElementBlock)("div",null,[(0,e.createVNode)(a,{level:2,class:"mb-6"},{default:(0,e.withCtx)((function(){return[(0,e.createTextVNode)((0,e.toDisplayString)(n.name)+" ("+(0,e.toDisplayString)(n.icons.length)+" icons)",1)]})),_:1}),(0,e.createElementVNode)("div",t,[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(n.icons,(function(t){return(0,e.withDirectives)(((0,e.openBlock)(),(0,e.createBlock)(c,{class:"mx-2 p-2 flex items-center justify-center"},{default:(0,e.withCtx)((function(){return[(0,e.createVNode)(s,{name:t,type:o.value,height:"48",width:"48"},null,8,["name","type"])]})),_:2},1024)),[[l,t]])})),256))])])}}});n(214);var i=n(744);const a=(0,i.Z)(o,[["__scopeId","data-v-0de8cc5c"]]);var s={class:"icons-viewer-type-grid"};const c={__name:"Tool",props:{icons:{type:Object,default:{solid:[],outline:[]}}},setup:function(t){var n=t;return function(t,r){var o=(0,e.resolveComponent)("Head"),i=(0,e.resolveComponent)("Heading");return(0,e.openBlock)(),(0,e.createElementBlock)("div",null,[(0,e.createVNode)(o,{title:"Icons Viewer"}),(0,e.createVNode)(i,{class:"mb-6"},{default:(0,e.withCtx)((function(){return[(0,e.createTextVNode)("Heroicons")]})),_:1}),(0,e.createElementVNode)("div",s,[(0,e.createVNode)((0,e.unref)(a),{name:"Outline",icons:n.icons.outline},null,8,["icons"]),(0,e.createVNode)((0,e.unref)(a),{name:"Solid",icons:n.icons.solid},null,8,["icons"])])])}}};n(89);const l=(0,i.Z)(c,[["__scopeId","data-v-55e196dc"]]);Nova.booting((function(e,t){Nova.inertia("IconsViewer",l)}))})()})(); \ No newline at end of file diff --git a/nova-components/IconsViewer/heroicons.json b/nova-components/IconsViewer/heroicons.json new file mode 100644 index 00000000..63954471 --- /dev/null +++ b/nova-components/IconsViewer/heroicons.json @@ -0,0 +1 @@ +["academic-cap","adjustments-horizontal","adjustments-vertical","archive-box","archive-box-arrow-down","archive-box-x-mark","arrow-down","arrow-down-circle","arrow-down-left","arrow-down-on-square","arrow-down-on-square-stack","arrow-down-right","arrow-down-tray","arrow-left","arrow-left-circle","arrow-left-end-on-rectangle","arrow-left-on-rectangle","arrow-left-start-on-rectangle","arrow-long-down","arrow-long-left","arrow-long-right","arrow-long-up","arrow-path","arrow-path-rounded-square","arrow-right","arrow-right-circle","arrow-right-end-on-rectangle","arrow-right-on-rectangle","arrow-right-start-on-rectangle","arrow-small-down","arrow-small-left","arrow-small-right","arrow-small-up","arrow-top-right-on-square","arrow-trending-down","arrow-trending-up","arrow-turn-down-left","arrow-turn-down-right","arrow-turn-left-down","arrow-turn-left-up","arrow-turn-right-down","arrow-turn-right-up","arrow-turn-up-left","arrow-turn-up-right","arrow-up","arrow-up-circle","arrow-up-left","arrow-up-on-square","arrow-up-on-square-stack","arrow-up-right","arrow-up-tray","arrow-uturn-down","arrow-uturn-left","arrow-uturn-right","arrow-uturn-up","arrows-pointing-in","arrows-pointing-out","arrows-right-left","arrows-up-down","at-symbol","backspace","backward","banknotes","bars-arrow-down","bars-arrow-up","bars2","bars3","bars3-bottom-left","bars3-bottom-right","bars3-center-left","bars4","battery0","battery100","battery50","beaker","bell","bell-alert","bell-slash","bell-snooze","bold","bolt","bolt-slash","book-open","bookmark","bookmark-slash","bookmark-square","briefcase","bug-ant","building-library","building-office","building-office2","building-storefront","cake","calculator","calendar","calendar-date-range","calendar-days","camera","chart-bar","chart-bar-square","chart-pie","chat-bubble-bottom-center","chat-bubble-bottom-center-text","chat-bubble-left","chat-bubble-left-ellipsis","chat-bubble-left-right","chat-bubble-oval-left","chat-bubble-oval-left-ellipsis","check","check-badge","check-circle","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up","chevron-down","chevron-left","chevron-right","chevron-up","chevron-up-down","circle-stack","clipboard","clipboard-document","clipboard-document-check","clipboard-document-list","clock","cloud","cloud-arrow-down","cloud-arrow-up","code-bracket","code-bracket-square","cog","cog6-tooth","cog8-tooth","command-line","computer-desktop","cpu-chip","credit-card","cube","cube-transparent","currency-bangladeshi","currency-dollar","currency-euro","currency-pound","currency-rupee","currency-yen","cursor-arrow-rays","cursor-arrow-ripple","device-phone-mobile","device-tablet","divide","document","document-arrow-down","document-arrow-up","document-chart-bar","document-check","document-currency-bangladeshi","document-currency-dollar","document-currency-euro","document-currency-pound","document-currency-rupee","document-currency-yen","document-duplicate","document-magnifying-glass","document-minus","document-plus","document-text","ellipsis-horizontal","ellipsis-horizontal-circle","ellipsis-vertical","envelope","envelope-open","equals","exclamation-circle","exclamation-triangle","eye","eye-dropper","eye-slash","face-frown","face-smile","film","finger-print","fire","flag","folder","folder-arrow-down","folder-minus","folder-open","folder-plus","forward","funnel","gif","gift","gift-top","globe-alt","globe-americas","globe-asia-australia","globe-europe-africa","h1","h2","h3","hand-raised","hand-thumb-down","hand-thumb-up","hashtag","heart","home","home-modern","identification","inbox","inbox-arrow-down","inbox-stack","information-circle","italic","key","language","lifebuoy","light-bulb","link","link-slash","list-bullet","lock-closed","lock-open","magnifying-glass","magnifying-glass-circle","magnifying-glass-minus","magnifying-glass-plus","map","map-pin","megaphone","microphone","minus","minus-circle","minus-small","moon","musical-note","newspaper","no-symbol","numbered-list","paint-brush","paper-airplane","paper-clip","pause","pause-circle","pencil","pencil-square","percent-badge","phone","phone-arrow-down-left","phone-arrow-up-right","phone-x-mark","photo","play","play-circle","play-pause","plus","plus-circle","plus-small","power","presentation-chart-bar","presentation-chart-line","printer","puzzle-piece","qr-code","question-mark-circle","queue-list","radio","receipt-percent","receipt-refund","rectangle-group","rectangle-stack","rocket-launch","rss","scale","scissors","server","server-stack","share","shield-check","shield-exclamation","shopping-bag","shopping-cart","signal","signal-slash","slash","sparkles","speaker-wave","speaker-x-mark","square2-stack","square3-stack3-d","squares-plus","squares2-x2","star","stop","stop-circle","strikethrough","sun","swatch","table-cells","tag","ticket","trash","trophy","truck","tv","underline","user","user-circle","user-group","user-minus","user-plus","users","variable","video-camera","video-camera-slash","view-columns","viewfinder-circle","wallet","wifi","window","wrench","wrench-screwdriver","x-circle","x-mark"] \ No newline at end of file diff --git a/nova-components/IconsViewer/package-lock.json b/nova-components/IconsViewer/package-lock.json index 3b53b42e..7aec9a34 100644 --- a/nova-components/IconsViewer/package-lock.json +++ b/nova-components/IconsViewer/package-lock.json @@ -4,8 +4,8 @@ "requires": true, "packages": { "": { - "name": "IconsViewer", "dependencies": { + "@heroicons/vue": "^2.1.5", "tailwindcss": "^3.4.0" }, "devDependencies": { @@ -565,7 +565,6 @@ "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz", "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", - "dev": true, "bin": { "parser": "bin/babel-parser.js" }, @@ -1775,6 +1774,14 @@ "node": ">=10.0.0" } }, + "node_modules/@heroicons/vue": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@heroicons/vue/-/vue-2.1.5.tgz", + "integrity": "sha512-IpqR72sFqFs55kyKfFS7tN+Ww6odFNeH/7UxycIOrlVYfj4WUGAdzQtLBnJspucSeqWFQsKM0g0YrgU655BEfA==", + "peerDependencies": { + "vue": ">= 3" + } + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -2282,13 +2289,12 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.23.tgz", - "integrity": "sha512-HAFmuVEwNqNdmk+w4VCQ2pkLk1Vw4XYiiyxEp3z/xvl14aLTUBw2OfVH3vBcx+FtGsynQLkkhK410Nah1N2yyQ==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.31.tgz", + "integrity": "sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==", "dependencies": { - "@babel/parser": "^7.24.1", - "@vue/shared": "3.4.23", + "@babel/parser": "^7.24.7", + "@vue/shared": "3.4.31", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" @@ -2298,7 +2304,6 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "dev": true, "engines": { "node": ">=0.12" }, @@ -2307,47 +2312,87 @@ } }, "node_modules/@vue/compiler-dom": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.23.tgz", - "integrity": "sha512-t0b9WSTnCRrzsBGrDd1LNR5HGzYTr7LX3z6nNBG+KGvZLqrT0mY6NsMzOqlVMBKKXKVuusbbB5aOOFgTY+senw==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.31.tgz", + "integrity": "sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==", "dependencies": { - "@vue/compiler-core": "3.4.23", - "@vue/shared": "3.4.23" + "@vue/compiler-core": "3.4.31", + "@vue/shared": "3.4.31" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.23.tgz", - "integrity": "sha512-fSDTKTfzaRX1kNAUiaj8JB4AokikzStWgHooMhaxyjZerw624L+IAP/fvI4ZwMpwIh8f08PVzEnu4rg8/Npssw==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.31.tgz", + "integrity": "sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==", "dependencies": { - "@babel/parser": "^7.24.1", - "@vue/compiler-core": "3.4.23", - "@vue/compiler-dom": "3.4.23", - "@vue/compiler-ssr": "3.4.23", - "@vue/shared": "3.4.23", + "@babel/parser": "^7.24.7", + "@vue/compiler-core": "3.4.31", + "@vue/compiler-dom": "3.4.31", + "@vue/compiler-ssr": "3.4.31", + "@vue/shared": "3.4.31", "estree-walker": "^2.0.2", - "magic-string": "^0.30.8", + "magic-string": "^0.30.10", "postcss": "^8.4.38", "source-map-js": "^1.2.0" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.23.tgz", - "integrity": "sha512-hb6Uj2cYs+tfqz71Wj6h3E5t6OKvb4MVcM2Nl5i/z1nv1gjEhw+zYaNOV+Xwn+SSN/VZM0DgANw5TuJfxfezPg==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.31.tgz", + "integrity": "sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==", + "dependencies": { + "@vue/compiler-dom": "3.4.31", + "@vue/shared": "3.4.31" + } + }, + "node_modules/@vue/reactivity": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.31.tgz", + "integrity": "sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q==", + "peer": true, "dependencies": { - "@vue/compiler-dom": "3.4.23", - "@vue/shared": "3.4.23" + "@vue/shared": "3.4.31" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.31.tgz", + "integrity": "sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw==", + "peer": true, + "dependencies": { + "@vue/reactivity": "3.4.31", + "@vue/shared": "3.4.31" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.31.tgz", + "integrity": "sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw==", + "peer": true, + "dependencies": { + "@vue/reactivity": "3.4.31", + "@vue/runtime-core": "3.4.31", + "@vue/shared": "3.4.31", + "csstype": "^3.1.3" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.31.tgz", + "integrity": "sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==", + "peer": true, + "dependencies": { + "@vue/compiler-ssr": "3.4.31", + "@vue/shared": "3.4.31" + }, + "peerDependencies": { + "vue": "3.4.31" } }, "node_modules/@vue/shared": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.23.tgz", - "integrity": "sha512-wBQ0gvf+SMwsCQOyusNw/GoXPV47WGd1xB5A1Pgzy0sQ3Bi5r5xm3n+92y3gCnB3MWqnRDdvfkRGxhKtbBRNgg==", - "dev": true + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.31.tgz", + "integrity": "sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==" }, "node_modules/@webassemblyjs/ast": { "version": "1.11.1", @@ -3887,6 +3932,12 @@ "node": ">=8.0.0" } }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "peer": true + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -4355,8 +4406,7 @@ "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" }, "node_modules/esutils": { "version": "2.0.3", @@ -5896,7 +5946,6 @@ "version": "0.30.10", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.10.tgz", "integrity": "sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==", - "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" } @@ -5904,8 +5953,7 @@ "node_modules/magic-string/node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/make-dir": { "version": "3.1.0", @@ -8993,6 +9041,27 @@ "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", "dev": true }, + "node_modules/vue": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.31.tgz", + "integrity": "sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ==", + "peer": true, + "dependencies": { + "@vue/compiler-dom": "3.4.31", + "@vue/compiler-sfc": "3.4.31", + "@vue/runtime-dom": "3.4.31", + "@vue/server-renderer": "3.4.31", + "@vue/shared": "3.4.31" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/vue-loader": { "version": "16.8.3", "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", @@ -10014,8 +10083,7 @@ "@babel/parser": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz", - "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", - "dev": true + "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==" }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "version": "7.18.6", @@ -10833,6 +10901,12 @@ "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", "dev": true }, + "@heroicons/vue": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@heroicons/vue/-/vue-2.1.5.tgz", + "integrity": "sha512-IpqR72sFqFs55kyKfFS7tN+Ww6odFNeH/7UxycIOrlVYfj4WUGAdzQtLBnJspucSeqWFQsKM0g0YrgU655BEfA==", + "requires": {} + }, "@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -11284,13 +11358,12 @@ } }, "@vue/compiler-core": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.23.tgz", - "integrity": "sha512-HAFmuVEwNqNdmk+w4VCQ2pkLk1Vw4XYiiyxEp3z/xvl14aLTUBw2OfVH3vBcx+FtGsynQLkkhK410Nah1N2yyQ==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.31.tgz", + "integrity": "sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==", "requires": { - "@babel/parser": "^7.24.1", - "@vue/shared": "3.4.23", + "@babel/parser": "^7.24.7", + "@vue/shared": "3.4.31", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" @@ -11299,53 +11372,89 @@ "entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "dev": true + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==" } } }, "@vue/compiler-dom": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.23.tgz", - "integrity": "sha512-t0b9WSTnCRrzsBGrDd1LNR5HGzYTr7LX3z6nNBG+KGvZLqrT0mY6NsMzOqlVMBKKXKVuusbbB5aOOFgTY+senw==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.31.tgz", + "integrity": "sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==", "requires": { - "@vue/compiler-core": "3.4.23", - "@vue/shared": "3.4.23" + "@vue/compiler-core": "3.4.31", + "@vue/shared": "3.4.31" } }, "@vue/compiler-sfc": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.23.tgz", - "integrity": "sha512-fSDTKTfzaRX1kNAUiaj8JB4AokikzStWgHooMhaxyjZerw624L+IAP/fvI4ZwMpwIh8f08PVzEnu4rg8/Npssw==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.31.tgz", + "integrity": "sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==", "requires": { - "@babel/parser": "^7.24.1", - "@vue/compiler-core": "3.4.23", - "@vue/compiler-dom": "3.4.23", - "@vue/compiler-ssr": "3.4.23", - "@vue/shared": "3.4.23", + "@babel/parser": "^7.24.7", + "@vue/compiler-core": "3.4.31", + "@vue/compiler-dom": "3.4.31", + "@vue/compiler-ssr": "3.4.31", + "@vue/shared": "3.4.31", "estree-walker": "^2.0.2", - "magic-string": "^0.30.8", + "magic-string": "^0.30.10", "postcss": "^8.4.38", "source-map-js": "^1.2.0" } }, "@vue/compiler-ssr": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.23.tgz", - "integrity": "sha512-hb6Uj2cYs+tfqz71Wj6h3E5t6OKvb4MVcM2Nl5i/z1nv1gjEhw+zYaNOV+Xwn+SSN/VZM0DgANw5TuJfxfezPg==", - "dev": true, + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.31.tgz", + "integrity": "sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==", + "requires": { + "@vue/compiler-dom": "3.4.31", + "@vue/shared": "3.4.31" + } + }, + "@vue/reactivity": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.31.tgz", + "integrity": "sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q==", + "peer": true, "requires": { - "@vue/compiler-dom": "3.4.23", - "@vue/shared": "3.4.23" + "@vue/shared": "3.4.31" + } + }, + "@vue/runtime-core": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.31.tgz", + "integrity": "sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw==", + "peer": true, + "requires": { + "@vue/reactivity": "3.4.31", + "@vue/shared": "3.4.31" + } + }, + "@vue/runtime-dom": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.31.tgz", + "integrity": "sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw==", + "peer": true, + "requires": { + "@vue/reactivity": "3.4.31", + "@vue/runtime-core": "3.4.31", + "@vue/shared": "3.4.31", + "csstype": "^3.1.3" + } + }, + "@vue/server-renderer": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.31.tgz", + "integrity": "sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==", + "peer": true, + "requires": { + "@vue/compiler-ssr": "3.4.31", + "@vue/shared": "3.4.31" } }, "@vue/shared": { - "version": "3.4.23", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.23.tgz", - "integrity": "sha512-wBQ0gvf+SMwsCQOyusNw/GoXPV47WGd1xB5A1Pgzy0sQ3Bi5r5xm3n+92y3gCnB3MWqnRDdvfkRGxhKtbBRNgg==", - "dev": true + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.31.tgz", + "integrity": "sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==" }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -12576,6 +12685,12 @@ "css-tree": "^1.1.2" } }, + "csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "peer": true + }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -12942,8 +13057,7 @@ "estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" }, "esutils": { "version": "2.0.3", @@ -14087,7 +14201,6 @@ "version": "0.30.10", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.10.tgz", "integrity": "sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==", - "dev": true, "requires": { "@jridgewell/sourcemap-codec": "^1.4.15" }, @@ -14095,8 +14208,7 @@ "@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" } } }, @@ -16330,6 +16442,19 @@ "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", "dev": true }, + "vue": { + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.31.tgz", + "integrity": "sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ==", + "peer": true, + "requires": { + "@vue/compiler-dom": "3.4.31", + "@vue/compiler-sfc": "3.4.31", + "@vue/runtime-dom": "3.4.31", + "@vue/server-renderer": "3.4.31", + "@vue/shared": "3.4.31" + } + }, "vue-loader": { "version": "16.8.3", "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", diff --git a/nova-components/IconsViewer/package.json b/nova-components/IconsViewer/package.json index 08bc9b02..551b91d0 100644 --- a/nova-components/IconsViewer/package.json +++ b/nova-components/IconsViewer/package.json @@ -18,6 +18,7 @@ "vue-loader": "^16.8.3" }, "dependencies": { + "@heroicons/vue": "^2.1.5", "tailwindcss": "^3.4.0" } } diff --git a/nova-components/IconsViewer/resources/js/components/IconsCollectionCard.vue b/nova-components/IconsViewer/resources/js/components/IconsCollectionCard.vue index 9795182e..071d119c 100644 --- a/nova-components/IconsViewer/resources/js/components/IconsCollectionCard.vue +++ b/nova-components/IconsViewer/resources/js/components/IconsCollectionCard.vue @@ -1,15 +1,16 @@