menupro 0.5.7 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +26 -16
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e,r,o={50:e=>{"use strict";e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var o="",n=void 0!==r[5];return r[4]&&(o+="@supports (".concat(r[4],") {")),r[2]&&(o+="@media ".concat(r[2]," {")),n&&(o+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),o+=e(r),n&&(o+="}"),r[2]&&(o+="}"),r[4]&&(o+="}"),o})).join("")},r.i=function(e,o,n,t,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);n&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),o&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=o):d[2]=o),t&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=t):d[4]="".concat(t)),r.push(d))}},r}},56:(e,r,o)=>{"use strict";e.exports=function(e){var r=o.nc;r&&e.setAttribute("nonce",r)}},72:e=>{"use strict";var r=[];function o(e){for(var o=-1,n=0;n<r.length;n++)if(r[n].identifier===e){o=n;break}return o}function n(e,n){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var p=o(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)r[p].references++,r[p].updater(f);else{var h=t(f,n);n.byIndex=s,r.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function t(e,r){var o=r.domAPI(r);return o.update(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap&&r.supports===e.supports&&r.layer===e.layer)return;o.update(e=r)}else o.remove()}}e.exports=function(e,t){var i=n(e=e||[],t=t||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=o(i[a]);r[s].references--}for(var l=n(e,t),c=0;c<i.length;c++){var d=o(i[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}i=l}}},106:()=>{menupro.credits=e=>{console.groupCollapsed(`%c${e.name} v${e.version}%c`,"color:orange",""),console.debug(`%c${e.name} v${e.version}%c by Dario Passariello started`,"color:orange",""),console.debug(`%cType ${e.name} in this console to see it`,"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}},113:e=>{"use strict";e.exports=function(e,r){if(r.styleSheet)r.styleSheet.cssText=e;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(document.createTextNode(e))}}},329:e=>{"use strict";e.exports=function(e){return e[1]}},536:(e,r,o)=>{"use strict";const n=JSON.parse('{"name":"menupro","displayName":"menupro","GENERATE_SOURCEMAP":false,"version":"0.5.7","description":"custom menu like OS by Dario Passariello","copyright":"Dario Passariello","license":"MIT","relaseType":"gold","port":3002,"code":"wind","codeRelease":"menupro","folder":"/","appPort":"","target":"web","logo":"","typeID":0,"theme":"default","deprecated":false,"targets":"web","preferGlobal":true,"language":{"en":{}},"app":{"port":3002,"code":"menupro","name":"menupro","type":"beta","folder":"/","appPort":"","target":"web","proxy":{"api":{"tst":"http://localhost:5003/","dev":"https://a51.dev/","pro":"https://a51.dev/"}},"socket":{"url":{"tst":"wss://ws.a51.dev/","dev":"wss://ws.a51.dev/","pro":"wss://ws.a51.dev/"}},"info":{"type":"gold","code":"menupro","codeRelease":"menupro"},"cdn":{}},"homepage":"https://github.com/passariello/menupro","main":"./index.js","author":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"support":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"company":{},"contributors":[{"name":"Dario Passariello","email":"dariopassarielloa@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"workspaces":["mcp"],"typings":"./types/*","globals":{"menupro":{}},"browserslist":{"production":["last 2 Chrome major versions","last 2 Firefox major versions","last 2 Safari major versions","last 2 Edge major versions","last 2 Opera versions","last 2 iOS major versions","last 1 Explorer major version","last 1 ChromeAndroid version","last 1 UCAndroid version","last 1 Samsung version","last 1 OperaMini version","Firefox ESR",">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"keywords":["layer","popup","modal","passariello","menupro"],"repository":{"type":"git","url":"git+https://github.com/passariello/menupro.git","help":"git+https://github.com/passariello/menupro.git#readme"},"bugs":{"url":"https://github.com/passariello/menupro/issues"},"funding":[{"type":"patreon","url":"https://www.patreon.com/passariello"}],"typing":["types/*"],"scripts":{"watch":"webpack --watch --progress --color --mode production --config webpack.ts","dist":"webpack --progress --color --mode production --config webpack.ts","----":"","tsc":"tsc -b","eslint":"eslint","sandworm":"sandworm","------":"","git":"git push --all -u && git add . && git commit -m \\"update\\" && git pull && git push --all","---------":"","update":"cd mcp/node && node npmUpdate","backup":"cd mcp/backup && run.bat","optimizeSVG":"cd mcp/node && node optimizeSVG.js"},"engines":{"node":">=18"},"devDependencies":{"@babel/core":"^7.26.9","@babel/plugin-transform-runtime":"7.26.9","@babel/preset-env":"7.26.9","@babel/preset-react":"7.26.3","@babel/preset-typescript":"7.26.0","@types/webpack-env":"1.18.8","babel-loader":"9.2.1","copy-webpack-plugin":"^12.0.2","css-loader":"7.1.2","file-loader":"6.2.0","jquery":"3.7.1","sass":"^1.85.1","sass-loader":"^16.0.5","style-loader":"^4.0.0","terser-webpack-plugin":"^5.3.11","thread-loader":"4.0.4","ts-loader":"^9.5.2","ts-node":"10.9.2","typescript":"5.7.3","webpack":"^5.98.0","webpack-cli":"6.0.1","webpack-dev-server":"^5.2.0"}}');globalThis.menupro||globalThis.menupro||(globalThis.menupro={},Object.defineProperty(globalThis,"menupro",{value:{},writable:!1,configurable:!1,enumerable:!1}),o(601),o(853),o(621),o(106),setTimeout((()=>menupro.credits(n)),0))},540:e=>{"use strict";e.exports=function(e){var r=document.createElement("style");return e.setAttributes(r,e.attributes),e.insert(r,e.options),r}},561:(e,r,o)=>{"use strict";o.r(r),o.d(r,{default:()=>s});var n=o(329),t=o.n(n),i=o(50),a=o.n(i)()(t());a.push([e.id,'.menupro{position:relative;margin:0;padding:0}.menupro ul,.menupro li,.menupro ul{background-color:#000;list-style:none;margin:0;padding:0}.menupro li:hover{transition:0s;transition-delay:0s}.menupro ul,.menupro ul,.menupro ul:hover,.menupro ul:hover{transition:0s;transition-delay:.5s}.menupro hr{border:1px solid !important;height:0 !important;color:#333 !important;background-color:#333 !important;margin:0;padding:0}.menupro a{padding:4px 10px;display:block;text-align:left;white-space:nowrap}.menupro :hover{background-color:#0b86bf}.menupro li{float:left;position:relative}.menupro li :hover,.menupro li :active{background-color:#0b86bf}.menupro li:hover>ul,.menupro li:focus-within>ul{opacity:1;visibility:visible;transition-delay:visibility 0s}.menupro li>span.icon{position:absolute;left:5px;top:5px;width:13px;height:auto;filter:invert(0.5)}.menupro li>span.arrow:before{content:"›";position:absolute;right:5px;top:0;font-size:1.5em;line-height:1em}.menupro li>ul{position:absolute;width:auto;float:left;opacity:0;visibility:hidden;transition-delay:visibility 0s;box-shadow:0 8px 8px #000;padding:0}.menupro li>ul li{float:left;position:relative;width:100%;padding:0}.menupro li>ul li:hover>ul,.menupro li>ul li:focus-within>ul{opacity:1;pointer-events:auto}.menupro li>ul li:not(:visible){pointer-events:none}.menupro li>ul li>ul{position:absolute;margin:0 auto;top:0px;left:99%}.menupro li>ul li a{padding:4px 20px 4px 30px}',""]);const s=a},601:()=>{},621:(e,r,o)=>{"use strict";o.r(r),o(822),menupro.start=e=>{const{element:r,name:o=e.name||"menupro"}=e;let n,t;const i=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"."+o;e?.map((e=>{e.name&&(n=$(`<li><a>${e.name}</a></li>`),n.appendTo(r),n.on("click",(function(){new Function(e.onclick)()}))),""===e.name&&(n=$("<hr/>").appendTo(r)),r!="."+o&&(e.icon&&$(`<span class='icon'>${e.icon}</span>`).appendTo(n),e.sub?.length>0&&$("<span class='arrow'></span>").appendTo(n)),e.sub?.length>0&&(t=$("<ul></ul>").appendTo(n)),e.sub?.length>0&&i(e.sub,t)}))};setTimeout((()=>{$(`<ul class="${o}"></ul>`).appendTo(r),i(e.nav)}))}},659:e=>{"use strict";var r={};e.exports=function(e,o){var n=function(e){if(void 0===r[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}r[e]=o}return r[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},822:(e,r,o)=>{"use strict";var n=o(72),t=o.n(n),i=o(825),a=o.n(i),s=o(659),l=o.n(s),c=o(56),d=o.n(c),u=o(540),p=o.n(u),f=o(113),h=o.n(f),m=o(561),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=p();var g=t()(m.default,v);if(!m.default.locals||e.hot.invalidate){var b=!m.default.locals,y=b?m:m.default.locals;e.hot.accept(561,(r=>{m=o(561),function(e,r,o){if(!e&&r||e&&!r)return!1;var n;for(n in e)if((!o||"default"!==n)&&e[n]!==r[n])return!1;for(n in r)if(!(o&&"default"===n||e[n]))return!1;return!0}(y,b?m:m.default.locals,b)?(y=b?m:m.default.locals,g(m.default)):e.hot.invalidate()}))}e.hot.dispose((function(){g()})),m.default&&m.default.locals&&m.default.locals},825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var r=e.insertStyleElement(e);return{update:function(o){!function(e,r,o){var n="";o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var t=void 0!==o.layer;t&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,t&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}");var i=o.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),r.styleTagTransform(n,e,r.options)}(r,e,o)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)}}}},853:()=>{$=globalThis.$||{},jQuery=globalThis.jQuery||{}}},n={};function t(e){var r=n[e];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var i=n[e]={id:e,exports:{}};try{var a={id:e,module:i,factory:o[e],require:t};t.i.forEach((function(e){e(a)})),i=a.module,a.factory.call(i.exports,i,i.exports,a.require)}catch(e){throw i.error=e,e}return i.exports}t.m=o,t.c=n,t.i=[],t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.hu=e=>e+"."+t.h()+".hot-update.js",t.hmrF=()=>"index."+t.h()+".hot-update.json",t.h=()=>"b78eb049db7c810e48ad",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="menupro:",t.l=(o,n,i,a)=>{if(e[o])e[o].push(n);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==o||u.getAttribute("data-webpack")==r+i){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,t.nc&&s.setAttribute("nonce",t.nc),s.setAttribute("data-webpack",r+i),s.src=o),e[o]=[n];var p=(r,n)=>{s.onerror=s.onload=null,clearTimeout(f);var t=e[o];if(delete e[o],s.parentNode&&s.parentNode.removeChild(s),t&&t.forEach((e=>e(n))),r)return r(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,r,o,n={},i=t.c,a=[],s=[],l="idle",c=0,d=[];function u(e){l=e;for(var r=[],o=0;o<s.length;o++)r[o]=s[o].call(null,e);return Promise.all(r).then((function(){}))}function p(){0==--c&&u("ready").then((function(){if(0===c){var e=d;d=[];for(var r=0;r<e.length;r++)e[r]()}}))}function f(e){if("idle"!==l)throw new Error("check() is only allowed in idle status");return u("check").then(t.hmrM).then((function(o){return o?u("prepare").then((function(){var n=[];return r=[],Promise.all(Object.keys(t.hmrC).reduce((function(e,i){return t.hmrC[i](o.c,o.r,o.m,e,r,n),e}),[])).then((function(){return r=function(){return e?m(e):u("ready").then((function(){return n}))},0===c?r():new Promise((function(e){d.push((function(){e(r())}))}));var r}))})):u(v()?"ready":"idle").then((function(){return null}))}))}function h(e){return"ready"!==l?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status (state: "+l+")")})):m(e)}function m(e){e=e||{},v();var n=r.map((function(r){return r(e)}));r=void 0;var t=n.map((function(e){return e.error})).filter(Boolean);if(t.length>0)return u("abort").then((function(){throw t[0]}));var i=u("dispose");n.forEach((function(e){e.dispose&&e.dispose()}));var a,s=u("apply"),l=function(e){a||(a=e)},c=[];return n.forEach((function(e){if(e.apply){var r=e.apply(l);if(r)for(var o=0;o<r.length;o++)c.push(r[o])}})),Promise.all([i,s]).then((function(){return a?u("fail").then((function(){throw a})):o?m(e).then((function(e){return c.forEach((function(r){e.indexOf(r)<0&&e.push(r)})),e})):u("idle").then((function(){return c}))}))}function v(){if(o)return r||(r=[]),Object.keys(t.hmrI).forEach((function(e){o.forEach((function(o){t.hmrI[e](o,r)}))})),o=void 0,!0}t.hmrD=n,t.i.push((function(d){var m,v,g,b,y=d.module,w=function(r,o){var n=i[o];if(!n)return r;var t=function(t){if(n.hot.active){if(i[t]){var s=i[t].parents;-1===s.indexOf(o)&&s.push(o)}else a=[o],e=t;-1===n.children.indexOf(t)&&n.children.push(t)}else console.warn("[HMR] unexpected require("+t+") from disposed module "+o),a=[];return r(t)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return r[e]},set:function(o){r[e]=o}}};for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&"e"!==d&&Object.defineProperty(t,d,s(d));return t.e=function(e,o){return function(e){switch(l){case"ready":u("prepare");case"prepare":return c++,e.then(p,p),e;default:return e}}(r.e(e,o))},t}(d.require,d.id);y.hot=(m=d.id,v=y,b={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:g=e!==m,_requireSelf:function(){a=v.parents.slice(),e=g?void 0:m,t(m)},active:!0,accept:function(e,r,o){if(void 0===e)b._selfAccepted=!0;else if("function"==typeof e)b._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var n=0;n<e.length;n++)b._acceptedDependencies[e[n]]=r||function(){},b._acceptedErrorHandlers[e[n]]=o;else b._acceptedDependencies[e]=r||function(){},b._acceptedErrorHandlers[e]=o},decline:function(e){if(void 0===e)b._selfDeclined=!0;else if("object"==typeof e&&null!==e)for(var r=0;r<e.length;r++)b._declinedDependencies[e[r]]=!0;else b._declinedDependencies[e]=!0},dispose:function(e){b._disposeHandlers.push(e)},addDisposeHandler:function(e){b._disposeHandlers.push(e)},removeDisposeHandler:function(e){var r=b._disposeHandlers.indexOf(e);r>=0&&b._disposeHandlers.splice(r,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":r=[],Object.keys(t.hmrI).forEach((function(e){t.hmrI[e](m,r)})),u("ready");break;case"ready":Object.keys(t.hmrI).forEach((function(e){t.hmrI[e](m,r)}));break;case"prepare":case"check":case"dispose":case"apply":(o=o||[]).push(m)}},check:f,apply:h,status:function(e){if(!e)return l;s.push(e)},addStatusHandler:function(e){s.push(e)},removeStatusHandler:function(e){var r=s.indexOf(e);r>=0&&s.splice(r,1)},data:n[m]},e=void 0,b),y.parents=a,y.children=[],a=[],d.require=w})),t.hmrC={},t.hmrI={}})(),t.p="/",(()=>{var e,r,o,n,i,a=t.hmrS_jsonp=t.hmrS_jsonp||{57:0},s={};function l(r,o){return e=o,new Promise(((e,o)=>{s[r]=e;var n=t.p+t.hu(r),i=new Error;t.l(n,(e=>{if(s[r]){s[r]=void 0;var n=e&&("load"===e.type?"missing":e.type),t=e&&e.target&&e.target.src;i.message="Loading hot update chunk "+r+" failed.\n("+n+": "+t+")",i.name="ChunkLoadError",i.type=n,i.request=t,o(i)}}))}))}function c(e){function s(e){for(var r=[e],o={},n=r.map((function(e){return{chain:[e],id:e}}));n.length>0;){var i=n.pop(),a=i.id,s=i.chain,c=t.c[a];if(c&&(!c.hot._selfAccepted||c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:a};if(c.hot._main)return{type:"unaccepted",chain:s,moduleId:a};for(var d=0;d<c.parents.length;d++){var u=c.parents[d],p=t.c[u];if(p){if(p.hot._declinedDependencies[a])return{type:"declined",chain:s.concat([u]),moduleId:a,parentId:u};-1===r.indexOf(u)&&(p.hot._acceptedDependencies[a]?(o[u]||(o[u]=[]),l(o[u],[a])):(delete o[u],r.push(u),n.push({chain:s.concat([u]),id:u})))}}}}return{type:"accepted",moduleId:e,outdatedModules:r,outdatedDependencies:o}}function l(e,r){for(var o=0;o<r.length;o++){var n=r[o];-1===e.indexOf(n)&&e.push(n)}}t.f&&delete t.f.jsonpHmr,r=void 0;var c={},d=[],u={},p=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var f in o)if(t.o(o,f)){var h=o[f],m=h?s(f):{type:"disposed",moduleId:f},v=!1,g=!1,b=!1,y="";switch(m.chain&&(y="\nUpdate propagation: "+m.chain.join(" -> ")),m.type){case"self-declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of self decline: "+m.moduleId+y));break;case"declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of declined dependency: "+m.moduleId+" in "+m.parentId+y));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(m),e.ignoreUnaccepted||(v=new Error("Aborted because "+f+" is not accepted"+y));break;case"accepted":e.onAccepted&&e.onAccepted(m),g=!0;break;case"disposed":e.onDisposed&&e.onDisposed(m),b=!0;break;default:throw new Error("Unexception type "+m.type)}if(v)return{error:v};if(g)for(f in u[f]=h,l(d,m.outdatedModules),m.outdatedDependencies)t.o(m.outdatedDependencies,f)&&(c[f]||(c[f]=[]),l(c[f],m.outdatedDependencies[f]));b&&(l(d,[m.moduleId]),u[f]=p)}o=void 0;for(var w,E=[],x=0;x<d.length;x++){var k=d[x],_=t.c[k];_&&(_.hot._selfAccepted||_.hot._main)&&u[k]!==p&&!_.hot._selfInvalidated&&E.push({module:k,require:_.hot._requireSelf,errorHandler:_.hot._selfAccepted})}return{dispose:function(){var e;n.forEach((function(e){delete a[e]})),n=void 0;for(var r,o=d.slice();o.length>0;){var i=o.pop(),s=t.c[i];if(s){var l={},u=s.hot._disposeHandlers;for(x=0;x<u.length;x++)u[x].call(null,l);for(t.hmrD[i]=l,s.hot.active=!1,delete t.c[i],delete c[i],x=0;x<s.children.length;x++){var p=t.c[s.children[x]];p&&(e=p.parents.indexOf(i))>=0&&p.parents.splice(e,1)}}}for(var f in c)if(t.o(c,f)&&(s=t.c[f]))for(w=c[f],x=0;x<w.length;x++)r=w[x],(e=s.children.indexOf(r))>=0&&s.children.splice(e,1)},apply:function(r){for(var o in u)t.o(u,o)&&(t.m[o]=u[o]);for(var n=0;n<i.length;n++)i[n](t);for(var a in c)if(t.o(c,a)){var s=t.c[a];if(s){w=c[a];for(var l=[],p=[],f=[],h=0;h<w.length;h++){var m=w[h],v=s.hot._acceptedDependencies[m],g=s.hot._acceptedErrorHandlers[m];if(v){if(-1!==l.indexOf(v))continue;l.push(v),p.push(g),f.push(m)}}for(var b=0;b<l.length;b++)try{l[b].call(null,w)}catch(o){if("function"==typeof p[b])try{p[b](o,{moduleId:a,dependencyId:f[b]})}catch(n){e.onErrored&&e.onErrored({type:"accept-error-handler-errored",moduleId:a,dependencyId:f[b],error:n,originalError:o}),e.ignoreErrored||(r(n),r(o))}else e.onErrored&&e.onErrored({type:"accept-errored",moduleId:a,dependencyId:f[b],error:o}),e.ignoreErrored||r(o)}}}for(var y=0;y<E.length;y++){var x=E[y],k=x.module;try{x.require(k)}catch(o){if("function"==typeof x.errorHandler)try{x.errorHandler(o,{moduleId:k,module:t.c[k]})}catch(n){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:k,error:n,originalError:o}),e.ignoreErrored||(r(n),r(o))}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:k,error:o}),e.ignoreErrored||r(o)}}return d}}}self.webpackHotUpdatemenupro=(r,n,a)=>{for(var l in n)t.o(n,l)&&(o[l]=n[l],e&&e.push(l));a&&i.push(a),s[r]&&(s[r](),s[r]=void 0)},t.hmrI.jsonp=function(e,r){o||(o={},i=[],n=[],r.push(c)),t.o(o,e)||(o[e]=t.m[e])},t.hmrC.jsonp=function(e,s,d,u,p,f){p.push(c),r={},n=s,o=d.reduce((function(e,r){return e[r]=!1,e}),{}),i=[],e.forEach((function(e){t.o(a,e)&&void 0!==a[e]?(u.push(l(e,f)),r[e]=!0):r[e]=!1})),t.f&&(t.f.jsonpHmr=function(e,o){r&&t.o(r,e)&&!r[e]&&(o.push(l(e)),r[e]=!0)})},t.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(t.p+t.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))}})(),t.nc=void 0,t(536)})();
|
|
1
|
+
(()=>{var e,r,o={50:e=>{"use strict";e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var o="",n=void 0!==r[5];return r[4]&&(o+="@supports (".concat(r[4],") {")),r[2]&&(o+="@media ".concat(r[2]," {")),n&&(o+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),o+=e(r),n&&(o+="}"),r[2]&&(o+="}"),r[4]&&(o+="}"),o})).join("")},r.i=function(e,o,n,t,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);n&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),o&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=o):d[2]=o),t&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=t):d[4]="".concat(t)),r.push(d))}},r}},56:(e,r,o)=>{"use strict";e.exports=function(e){var r=o.nc;r&&e.setAttribute("nonce",r)}},72:e=>{"use strict";var r=[];function o(e){for(var o=-1,n=0;n<r.length;n++)if(r[n].identifier===e){o=n;break}return o}function n(e,n){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var p=o(u),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)r[p].references++,r[p].updater(f);else{var h=t(f,n);n.byIndex=s,r.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function t(e,r){var o=r.domAPI(r);return o.update(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap&&r.supports===e.supports&&r.layer===e.layer)return;o.update(e=r)}else o.remove()}}e.exports=function(e,t){var i=n(e=e||[],t=t||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=o(i[a]);r[s].references--}for(var l=n(e,t),c=0;c<i.length;c++){var d=o(i[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}i=l}}},106:()=>{menupro.credits=e=>{console.groupCollapsed(`%c${e.name} v${e.version}%c`,"color:orange",""),console.debug(`%c${e.name} v${e.version}%c by Dario Passariello started`,"color:orange",""),console.debug(`%cType ${e.name} in this console to see it`,"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}},113:e=>{"use strict";e.exports=function(e,r){if(r.styleSheet)r.styleSheet.cssText=e;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(document.createTextNode(e))}}},329:e=>{"use strict";e.exports=function(e){return e[1]}},536:(e,r,o)=>{"use strict";const n=JSON.parse('{"name":"menupro","displayName":"menupro","GENERATE_SOURCEMAP":false,"version":"0.6.5","description":"custom menu like OS by Dario Passariello","copyright":"Dario Passariello","license":"MIT","relaseType":"gold","port":3002,"code":"wind","codeRelease":"menupro","folder":"/","appPort":"","target":"web","logo":"","typeID":0,"theme":"default","deprecated":false,"targets":"web","preferGlobal":true,"language":{"en":{}},"app":{"port":3002,"code":"menupro","name":"menupro","type":"beta","folder":"/","appPort":"","target":"web","proxy":{"api":{"tst":"http://localhost:5003/","dev":"https://a51.dev/","pro":"https://a51.dev/"}},"socket":{"url":{"tst":"wss://ws.a51.dev/","dev":"wss://ws.a51.dev/","pro":"wss://ws.a51.dev/"}},"info":{"type":"gold","code":"menupro","codeRelease":"menupro"},"cdn":{}},"homepage":"https://github.com/passariello/menupro","main":"./index.js","author":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"support":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"company":{},"contributors":[{"name":"Dario Passariello","email":"dariopassarielloa@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"workspaces":["mcp"],"typings":"./types/*","globals":{"menupro":{}},"browserslist":{"production":["last 2 Chrome major versions","last 2 Firefox major versions","last 2 Safari major versions","last 2 Edge major versions","last 2 Opera versions","last 2 iOS major versions","last 1 Explorer major version","last 1 ChromeAndroid version","last 1 UCAndroid version","last 1 Samsung version","last 1 OperaMini version","Firefox ESR",">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"keywords":["layer","popup","modal","passariello","menupro"],"repository":{"type":"git","url":"git+https://github.com/passariello/menupro.git","help":"git+https://github.com/passariello/menupro.git#readme"},"bugs":{"url":"https://github.com/passariello/menupro/issues"},"funding":[{"type":"patreon","url":"https://www.patreon.com/passariello"}],"typing":["types/*"],"scripts":{"watch":"webpack --watch --progress --color --mode production --config webpack.ts","dist":"webpack --progress --color --mode production --config webpack.ts","----":"","tsc":"tsc -b","eslint":"eslint .","sandworm":"sandworm","------":"","git":"git push --all -u && git add . && git commit -m \\"update\\" && git pull && git push --all","---------":"","update":"cd mcp/node && node npmUpdate","backup":"cd mcp/backup && run.bat","optimizeSVG":"cd mcp/node && node optimizeSVG.js"},"engines":{"node":">=18"},"devDependencies":{"@babel/core":"^7.27.4","@babel/plugin-transform-runtime":"7.27.4","@babel/preset-env":"7.27.2","@babel/preset-react":"7.27.1","@babel/preset-typescript":"7.27.1","@babel/eslint-parser":"^7.27.1","@eslint/js":"9.28.0","@types/jest":"^29.5.14","@types/node":"^22.15.29","@types/webpack-env":"1.18.8","@typescript-eslint/eslint-plugin":"8.33.0","@typescript-eslint/parser":"8.33.0","babel-loader":"10.0.0","copy-webpack-plugin":"^13.0.0","eslint":"9.28.0","css-loader":"7.1.2","file-loader":"6.2.0","jquery":"3.7.1","jest":"^29.7.0","ts-loader":"^9.5.2","ts-jest":"29.3.4","ts-node":"10.9.2","tslib":"^2.8.1","sass":"^1.89.1","sass-loader":"^16.0.5","style-loader":"^4.0.0","terser-webpack-plugin":"^5.3.14","thread-loader":"4.0.4","typescript":"5.8.3","webpack":"^5.99.9","webpack-cli":"6.0.1","webpack-dev-server":"^5.2.1"}}');globalThis.menupro||globalThis.menupro||(globalThis.menupro={},Object.defineProperty(globalThis,"menupro",{value:{},writable:!1,configurable:!1,enumerable:!1}),o(601),o(853),o(621),o(106),setTimeout((()=>menupro.credits(n)),0))},540:e=>{"use strict";e.exports=function(e){var r=document.createElement("style");return e.setAttributes(r,e.attributes),e.insert(r,e.options),r}},561:(e,r,o)=>{"use strict";o.r(r),o.d(r,{default:()=>s});var n=o(329),t=o.n(n),i=o(50),a=o.n(i)()(t());a.push([e.id,'.menupro{position:relative;margin:0;padding:0}.menupro ul,.menupro li,.menupro ul{background-color:#000;list-style:none;margin:0;padding:0}.menupro li:hover{transition:0s;transition-delay:0s}.menupro ul,.menupro ul,.menupro ul:hover,.menupro ul:hover{transition:0s;transition-delay:.5s}.menupro hr{border:1px solid !important;height:0 !important;color:#333 !important;background-color:#333 !important;margin:0;padding:0}.menupro a{padding:4px 10px;display:block;text-align:left;white-space:nowrap}.menupro :hover{background-color:#0b86bf}.menupro li{float:left;position:relative}.menupro li :hover,.menupro li :active{background-color:#0b86bf}.menupro li:hover>ul,.menupro li:focus-within>ul{opacity:1;visibility:visible;transition-delay:visibility 0s}.menupro li>span.icon{position:absolute;left:5px;top:5px;width:13px;height:auto;filter:invert(0.5)}.menupro li>span.arrow:before{content:"›";position:absolute;right:5px;top:0;font-size:1.5em;line-height:1em}.menupro li>ul{position:absolute;width:auto;float:left;opacity:0;visibility:hidden;transition-delay:visibility 0s;box-shadow:0 8px 8px #000;padding:0}.menupro li>ul li{float:left;position:relative;width:100%;padding:0}.menupro li>ul li:hover>ul,.menupro li>ul li:focus-within>ul{opacity:1;pointer-events:auto}.menupro li>ul li:not(:visible){pointer-events:none}.menupro li>ul li>ul{position:absolute;margin:0 auto;top:0px;left:99%}.menupro li>ul li a{padding:4px 20px 4px 30px}',""]);const s=a},601:()=>{},621:(e,r,o)=>{"use strict";o.r(r),o(822),menupro.start=e=>{const{element:r,name:o=e.name||"menupro"}=e;let n,t;const i=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"."+o;e?.map((e=>{e.name&&(n=$(`<li><a>${e.name}</a></li>`),n.appendTo(r),n.on("click",(function(){new Function(e.onclick)()}))),""===e.name&&(n=$("<hr/>").appendTo(r)),r!="."+o&&(e.icon&&$(`<span class='icon'>${e.icon}</span>`).appendTo(n),e.sub?.length>0&&$("<span class='arrow'></span>").appendTo(n)),e.sub?.length>0&&(t=$("<ul></ul>").appendTo(n)),e.sub?.length>0&&i(e.sub,t)}))};setTimeout((()=>{$(`<ul class="${o}"></ul>`).appendTo(r),i(e.nav)}))}},659:e=>{"use strict";var r={};e.exports=function(e,o){var n=function(e){if(void 0===r[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}r[e]=o}return r[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},822:(e,r,o)=>{"use strict";var n=o(72),t=o.n(n),i=o(825),a=o.n(i),s=o(659),l=o.n(s),c=o(56),d=o.n(c),u=o(540),p=o.n(u),f=o(113),h=o.n(f),m=o(561),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=p();var g=t()(m.default,v);if(!m.default.locals||e.hot.invalidate){var b=!m.default.locals,y=b?m:m.default.locals;e.hot.accept(561,(r=>{m=o(561),function(e,r,o){if(!e&&r||e&&!r)return!1;var n;for(n in e)if((!o||"default"!==n)&&e[n]!==r[n])return!1;for(n in r)if(!(o&&"default"===n||e[n]))return!1;return!0}(y,b?m:m.default.locals,b)?(y=b?m:m.default.locals,g(m.default)):e.hot.invalidate()}))}e.hot.dispose((function(){g()})),m.default&&m.default.locals&&m.default.locals},825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var r=e.insertStyleElement(e);return{update:function(o){!function(e,r,o){var n="";o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var t=void 0!==o.layer;t&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,t&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}");var i=o.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),r.styleTagTransform(n,e,r.options)}(r,e,o)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)}}}},853:()=>{$=globalThis.$||{},jQuery=globalThis.jQuery||{}}},n={};function t(e){var r=n[e];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var i=n[e]={id:e,exports:{}};try{var a={id:e,module:i,factory:o[e],require:t};t.i.forEach((function(e){e(a)})),i=a.module,a.factory.call(i.exports,i,i.exports,a.require)}catch(e){throw i.error=e,e}return i.exports}t.m=o,t.c=n,t.i=[],t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.hu=e=>e+"."+t.h()+".hot-update.js",t.hmrF=()=>"index."+t.h()+".hot-update.json",t.h=()=>"5c3f735122de78c3a075",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="menupro:",t.l=(o,n,i,a)=>{if(e[o])e[o].push(n);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==o||u.getAttribute("data-webpack")==r+i){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,t.nc&&s.setAttribute("nonce",t.nc),s.setAttribute("data-webpack",r+i),s.src=o),e[o]=[n];var p=(r,n)=>{s.onerror=s.onload=null,clearTimeout(f);var t=e[o];if(delete e[o],s.parentNode&&s.parentNode.removeChild(s),t&&t.forEach((e=>e(n))),r)return r(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,r,o,n={},i=t.c,a=[],s=[],l="idle",c=0,d=[];function u(e){l=e;for(var r=[],o=0;o<s.length;o++)r[o]=s[o].call(null,e);return Promise.all(r).then((function(){}))}function p(){0==--c&&u("ready").then((function(){if(0===c){var e=d;d=[];for(var r=0;r<e.length;r++)e[r]()}}))}function f(e){if("idle"!==l)throw new Error("check() is only allowed in idle status");return u("check").then(t.hmrM).then((function(o){return o?u("prepare").then((function(){var n=[];return r=[],Promise.all(Object.keys(t.hmrC).reduce((function(e,i){return t.hmrC[i](o.c,o.r,o.m,e,r,n),e}),[])).then((function(){return r=function(){return e?m(e):u("ready").then((function(){return n}))},0===c?r():new Promise((function(e){d.push((function(){e(r())}))}));var r}))})):u(v()?"ready":"idle").then((function(){return null}))}))}function h(e){return"ready"!==l?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status (state: "+l+")")})):m(e)}function m(e){e=e||{},v();var n=r.map((function(r){return r(e)}));r=void 0;var t=n.map((function(e){return e.error})).filter(Boolean);if(t.length>0)return u("abort").then((function(){throw t[0]}));var i=u("dispose");n.forEach((function(e){e.dispose&&e.dispose()}));var a,s=u("apply"),l=function(e){a||(a=e)},c=[];return n.forEach((function(e){if(e.apply){var r=e.apply(l);if(r)for(var o=0;o<r.length;o++)c.push(r[o])}})),Promise.all([i,s]).then((function(){return a?u("fail").then((function(){throw a})):o?m(e).then((function(e){return c.forEach((function(r){e.indexOf(r)<0&&e.push(r)})),e})):u("idle").then((function(){return c}))}))}function v(){if(o)return r||(r=[]),Object.keys(t.hmrI).forEach((function(e){o.forEach((function(o){t.hmrI[e](o,r)}))})),o=void 0,!0}t.hmrD=n,t.i.push((function(d){var m,v,g,b,y=d.module,w=function(r,o){var n=i[o];if(!n)return r;var t=function(t){if(n.hot.active){if(i[t]){var s=i[t].parents;-1===s.indexOf(o)&&s.push(o)}else a=[o],e=t;-1===n.children.indexOf(t)&&n.children.push(t)}else console.warn("[HMR] unexpected require("+t+") from disposed module "+o),a=[];return r(t)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return r[e]},set:function(o){r[e]=o}}};for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&"e"!==d&&Object.defineProperty(t,d,s(d));return t.e=function(e,o){return function(e){switch(l){case"ready":u("prepare");case"prepare":return c++,e.then(p,p),e;default:return e}}(r.e(e,o))},t}(d.require,d.id);y.hot=(m=d.id,v=y,b={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:g=e!==m,_requireSelf:function(){a=v.parents.slice(),e=g?void 0:m,t(m)},active:!0,accept:function(e,r,o){if(void 0===e)b._selfAccepted=!0;else if("function"==typeof e)b._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var n=0;n<e.length;n++)b._acceptedDependencies[e[n]]=r||function(){},b._acceptedErrorHandlers[e[n]]=o;else b._acceptedDependencies[e]=r||function(){},b._acceptedErrorHandlers[e]=o},decline:function(e){if(void 0===e)b._selfDeclined=!0;else if("object"==typeof e&&null!==e)for(var r=0;r<e.length;r++)b._declinedDependencies[e[r]]=!0;else b._declinedDependencies[e]=!0},dispose:function(e){b._disposeHandlers.push(e)},addDisposeHandler:function(e){b._disposeHandlers.push(e)},removeDisposeHandler:function(e){var r=b._disposeHandlers.indexOf(e);r>=0&&b._disposeHandlers.splice(r,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":r=[],Object.keys(t.hmrI).forEach((function(e){t.hmrI[e](m,r)})),u("ready");break;case"ready":Object.keys(t.hmrI).forEach((function(e){t.hmrI[e](m,r)}));break;case"prepare":case"check":case"dispose":case"apply":(o=o||[]).push(m)}},check:f,apply:h,status:function(e){if(!e)return l;s.push(e)},addStatusHandler:function(e){s.push(e)},removeStatusHandler:function(e){var r=s.indexOf(e);r>=0&&s.splice(r,1)},data:n[m]},e=void 0,b),y.parents=a,y.children=[],a=[],d.require=w})),t.hmrC={},t.hmrI={}})(),t.p="/",(()=>{var e,r,o,n,i,a=t.hmrS_jsonp=t.hmrS_jsonp||{57:0},s={};function l(r,o){return e=o,new Promise(((e,o)=>{s[r]=e;var n=t.p+t.hu(r),i=new Error;t.l(n,(e=>{if(s[r]){s[r]=void 0;var n=e&&("load"===e.type?"missing":e.type),t=e&&e.target&&e.target.src;i.message="Loading hot update chunk "+r+" failed.\n("+n+": "+t+")",i.name="ChunkLoadError",i.type=n,i.request=t,o(i)}}))}))}function c(e){function s(e){for(var r=[e],o={},n=r.map((function(e){return{chain:[e],id:e}}));n.length>0;){var i=n.pop(),a=i.id,s=i.chain,c=t.c[a];if(c&&(!c.hot._selfAccepted||c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:a};if(c.hot._main)return{type:"unaccepted",chain:s,moduleId:a};for(var d=0;d<c.parents.length;d++){var u=c.parents[d],p=t.c[u];if(p){if(p.hot._declinedDependencies[a])return{type:"declined",chain:s.concat([u]),moduleId:a,parentId:u};-1===r.indexOf(u)&&(p.hot._acceptedDependencies[a]?(o[u]||(o[u]=[]),l(o[u],[a])):(delete o[u],r.push(u),n.push({chain:s.concat([u]),id:u})))}}}}return{type:"accepted",moduleId:e,outdatedModules:r,outdatedDependencies:o}}function l(e,r){for(var o=0;o<r.length;o++){var n=r[o];-1===e.indexOf(n)&&e.push(n)}}t.f&&delete t.f.jsonpHmr,r=void 0;var c={},d=[],u={},p=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var f in o)if(t.o(o,f)){var h=o[f],m=h?s(f):{type:"disposed",moduleId:f},v=!1,g=!1,b=!1,y="";switch(m.chain&&(y="\nUpdate propagation: "+m.chain.join(" -> ")),m.type){case"self-declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of self decline: "+m.moduleId+y));break;case"declined":e.onDeclined&&e.onDeclined(m),e.ignoreDeclined||(v=new Error("Aborted because of declined dependency: "+m.moduleId+" in "+m.parentId+y));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(m),e.ignoreUnaccepted||(v=new Error("Aborted because "+f+" is not accepted"+y));break;case"accepted":e.onAccepted&&e.onAccepted(m),g=!0;break;case"disposed":e.onDisposed&&e.onDisposed(m),b=!0;break;default:throw new Error("Unexception type "+m.type)}if(v)return{error:v};if(g)for(f in u[f]=h,l(d,m.outdatedModules),m.outdatedDependencies)t.o(m.outdatedDependencies,f)&&(c[f]||(c[f]=[]),l(c[f],m.outdatedDependencies[f]));b&&(l(d,[m.moduleId]),u[f]=p)}o=void 0;for(var w,E=[],x=0;x<d.length;x++){var k=d[x],_=t.c[k];_&&(_.hot._selfAccepted||_.hot._main)&&u[k]!==p&&!_.hot._selfInvalidated&&E.push({module:k,require:_.hot._requireSelf,errorHandler:_.hot._selfAccepted})}return{dispose:function(){var e;n.forEach((function(e){delete a[e]})),n=void 0;for(var r,o=d.slice();o.length>0;){var i=o.pop(),s=t.c[i];if(s){var l={},u=s.hot._disposeHandlers;for(x=0;x<u.length;x++)u[x].call(null,l);for(t.hmrD[i]=l,s.hot.active=!1,delete t.c[i],delete c[i],x=0;x<s.children.length;x++){var p=t.c[s.children[x]];p&&(e=p.parents.indexOf(i))>=0&&p.parents.splice(e,1)}}}for(var f in c)if(t.o(c,f)&&(s=t.c[f]))for(w=c[f],x=0;x<w.length;x++)r=w[x],(e=s.children.indexOf(r))>=0&&s.children.splice(e,1)},apply:function(r){for(var o in u)t.o(u,o)&&(t.m[o]=u[o]);for(var n=0;n<i.length;n++)i[n](t);for(var a in c)if(t.o(c,a)){var s=t.c[a];if(s){w=c[a];for(var l=[],p=[],f=[],h=0;h<w.length;h++){var m=w[h],v=s.hot._acceptedDependencies[m],g=s.hot._acceptedErrorHandlers[m];if(v){if(-1!==l.indexOf(v))continue;l.push(v),p.push(g),f.push(m)}}for(var b=0;b<l.length;b++)try{l[b].call(null,w)}catch(o){if("function"==typeof p[b])try{p[b](o,{moduleId:a,dependencyId:f[b]})}catch(n){e.onErrored&&e.onErrored({type:"accept-error-handler-errored",moduleId:a,dependencyId:f[b],error:n,originalError:o}),e.ignoreErrored||(r(n),r(o))}else e.onErrored&&e.onErrored({type:"accept-errored",moduleId:a,dependencyId:f[b],error:o}),e.ignoreErrored||r(o)}}}for(var y=0;y<E.length;y++){var x=E[y],k=x.module;try{x.require(k)}catch(o){if("function"==typeof x.errorHandler)try{x.errorHandler(o,{moduleId:k,module:t.c[k]})}catch(n){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:k,error:n,originalError:o}),e.ignoreErrored||(r(n),r(o))}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:k,error:o}),e.ignoreErrored||r(o)}}return d}}}self.webpackHotUpdatemenupro=(r,n,a)=>{for(var l in n)t.o(n,l)&&(o[l]=n[l],e&&e.push(l));a&&i.push(a),s[r]&&(s[r](),s[r]=void 0)},t.hmrI.jsonp=function(e,r){o||(o={},i=[],n=[],r.push(c)),t.o(o,e)||(o[e]=t.m[e])},t.hmrC.jsonp=function(e,s,d,u,p,f){p.push(c),r={},n=s,o=d.reduce((function(e,r){return e[r]=!1,e}),{}),i=[],e.forEach((function(e){t.o(a,e)&&void 0!==a[e]?(u.push(l(e,f)),r[e]=!0):r[e]=!1})),t.f&&(t.f.jsonpHmr=function(e,o){r&&t.o(r,e)&&!r[e]&&(o.push(l(e)),r[e]=!0)})},t.hmrM=()=>{if("undefined"==typeof fetch)throw new Error("No browser support: need fetch API");return fetch(t.p+t.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))}})(),t.nc=void 0,t(536)})();
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "menupro",
|
|
3
3
|
"displayName": "menupro",
|
|
4
4
|
"GENERATE_SOURCEMAP": false,
|
|
5
|
-
"version": "0.5
|
|
5
|
+
"version": "0.6.5",
|
|
6
6
|
"description": "custom menu like OS by Dario Passariello",
|
|
7
7
|
"copyright": "Dario Passariello",
|
|
8
8
|
"license": "MIT",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"dist": "webpack --progress --color --mode production --config webpack.ts",
|
|
135
135
|
"----": "",
|
|
136
136
|
"tsc": "tsc -b",
|
|
137
|
-
"eslint": "eslint",
|
|
137
|
+
"eslint": "eslint .",
|
|
138
138
|
"sandworm": "sandworm",
|
|
139
139
|
"------": "",
|
|
140
140
|
"git": "git push --all -u && git add . && git commit -m \"update\" && git pull && git push --all",
|
|
@@ -147,27 +147,37 @@
|
|
|
147
147
|
"node": ">=18"
|
|
148
148
|
},
|
|
149
149
|
"devDependencies": {
|
|
150
|
-
"@babel/core": "^7.
|
|
151
|
-
"@babel/plugin-transform-runtime": "7.
|
|
152
|
-
"@babel/preset-env": "7.
|
|
153
|
-
"@babel/preset-react": "7.
|
|
154
|
-
"@babel/preset-typescript": "7.
|
|
150
|
+
"@babel/core": "^7.27.4",
|
|
151
|
+
"@babel/plugin-transform-runtime": "7.27.4",
|
|
152
|
+
"@babel/preset-env": "7.27.2",
|
|
153
|
+
"@babel/preset-react": "7.27.1",
|
|
154
|
+
"@babel/preset-typescript": "7.27.1",
|
|
155
|
+
"@babel/eslint-parser": "^7.27.1",
|
|
156
|
+
"@eslint/js": "9.28.0",
|
|
157
|
+
"@types/jest": "^29.5.14",
|
|
158
|
+
"@types/node": "^22.15.29",
|
|
155
159
|
"@types/webpack-env": "1.18.8",
|
|
156
|
-
"
|
|
157
|
-
"
|
|
160
|
+
"@typescript-eslint/eslint-plugin": "8.33.0",
|
|
161
|
+
"@typescript-eslint/parser": "8.33.0",
|
|
162
|
+
"babel-loader": "10.0.0",
|
|
163
|
+
"copy-webpack-plugin": "^13.0.0",
|
|
164
|
+
"eslint": "9.28.0",
|
|
158
165
|
"css-loader": "7.1.2",
|
|
159
166
|
"file-loader": "6.2.0",
|
|
160
167
|
"jquery": "3.7.1",
|
|
161
|
-
"
|
|
168
|
+
"jest": "^29.7.0",
|
|
169
|
+
"ts-loader": "^9.5.2",
|
|
170
|
+
"ts-jest": "29.3.4",
|
|
171
|
+
"ts-node": "10.9.2",
|
|
172
|
+
"tslib": "^2.8.1",
|
|
173
|
+
"sass": "^1.89.1",
|
|
162
174
|
"sass-loader": "^16.0.5",
|
|
163
175
|
"style-loader": "^4.0.0",
|
|
164
|
-
"terser-webpack-plugin": "^5.3.
|
|
176
|
+
"terser-webpack-plugin": "^5.3.14",
|
|
165
177
|
"thread-loader": "4.0.4",
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"typescript": "5.7.3",
|
|
169
|
-
"webpack": "^5.98.0",
|
|
178
|
+
"typescript": "5.8.3",
|
|
179
|
+
"webpack": "^5.99.9",
|
|
170
180
|
"webpack-cli": "6.0.1",
|
|
171
|
-
"webpack-dev-server": "^5.2.
|
|
181
|
+
"webpack-dev-server": "^5.2.1"
|
|
172
182
|
}
|
|
173
183
|
}
|