vome-core 0.1.30 → 0.1.31

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.
@@ -1 +1 @@
1
- const _0x419692=_0x4599;(function(_0x17b5e6,_0x12dce0){const _0x26ad88=_0x4599,_0x1835db=_0x17b5e6();while(!![]){try{const _0x405c41=-parseInt(_0x26ad88(0x89))/0x1*(parseInt(_0x26ad88(0x8d))/0x2)+-parseInt(_0x26ad88(0x8f))/0x3+-parseInt(_0x26ad88(0x88))/0x4*(parseInt(_0x26ad88(0x7e))/0x5)+parseInt(_0x26ad88(0x83))/0x6+parseInt(_0x26ad88(0x91))/0x7+-parseInt(_0x26ad88(0x7b))/0x8*(parseInt(_0x26ad88(0x85))/0x9)+parseInt(_0x26ad88(0x8e))/0xa*(parseInt(_0x26ad88(0x87))/0xb);if(_0x405c41===_0x12dce0)break;else _0x1835db['push'](_0x1835db['shift']());}catch(_0x2eccc7){_0x1835db['push'](_0x1835db['shift']());}}}(_0x22a4,0x23762));const ORG=_0x419692(0x84);export function serviceUrlFromDocs(_0x3e80a7){const _0x35cdae=_0x419692,_0x36071b=new URL(_0x3e80a7),_0x334577=_0x36071b['hostname']['replace'](/^www\./,'')['replace'](/^service\./,'');return _0x36071b[_0x35cdae(0x7a)]+'//service.'+_0x334577;}export function seatApiBaseFromDocs(_0x460f0e){const _0x1e1a56=_0x419692;return serviceUrlFromDocs(_0x460f0e)+_0x1e1a56(0x77);}function _0x22a4(){const _0x34f6b5=['mti3mdG3mLnZtLbrsa','DM9TzwTQ','mJeXnuf1Cg1uyW','zNvSBa','odeYody3svfuvxfr','mtq5ntzoExjvB2i','mtG5mtnUsuDMvMO','Ahr0Chm6lY92B21LA2OUy29T','6zkP5A2qic8G5PYn5yQH56UV5O+s5lU26isA5OMl5P6277YilNzVBwxVVjRKU4uGC2vYDMvY77Yj77Ym6ycc5zci5lIk5lYG44cb55+T5l+H44cb5PsV5lUy562j6io95yQB5OMP5Bgv44cc','5A6m5Pw05lIA5yQH5QIH5z2x6isA5OMl5P6277YilNzVBwxVVjRLKkSGC2vYDMvYios4JIb3zwlVViNVViZMNkZLNldLVidLJ5hMIzpLJixLKi7LJ5hLUipJGii','mJrgCgrjDKC','odbWA1fQB2u','nte3nJeXEezPAMjt','Ahr0Chm6lY9NAxrLzs5JB20V','mtqZmJyWnKfJy3DcCq','l3jLCg9ZAxrVCNKVyxjJAgL2zs9Tyxn0zxiUEMLW','5yMn56UVicSG5zco56UV','l2fWCc9WBhvNAw5tDg9Yzs9Zzwf0','DM9Tzs1WBhvNAw4TC2vYDMLJzq','zNjVBNrLBMq','ChjVDg9JB2W','otC3nML2Efrgta','57QV5yMn56UV','57QV5zco56UV','mJm1tLnWDezK','z2L0zwu','DM9Tzs1WBhvNAw4TzNjVBNq','Ahr0Chm6lY9NAxrODwiUy29TlW','DM9Tzs1WBhvNAw4TzNvSBa'];_0x22a4=function(){return _0x34f6b5;};return _0x22a4();}export function licenseIssueUrlFromDocs(_0x39f110){return serviceUrlFromDocs(_0x39f110)+'/app/pluginStore/wallet/license/issue';}function giteeArchive(_0xa0f5a){const _0x282894=_0x419692;return _0x282894(0x90)+ORG+'/'+_0xa0f5a+_0x282894(0x75);}function _0x4599(_0x2b39c4,_0x336cbf){_0x2b39c4=_0x2b39c4-0x75;const _0x22a489=_0x22a4();let _0x459990=_0x22a489[_0x2b39c4];if(_0x4599['ZbSNFf']===undefined){var _0x57e9be=function(_0x16a800){const _0x515ed6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3e80a7='',_0x36071b='';for(let _0x334577=0x0,_0x460f0e,_0x39f110,_0xa0f5a=0x0;_0x39f110=_0x16a800['charAt'](_0xa0f5a++);~_0x39f110&&(_0x460f0e=_0x334577%0x4?_0x460f0e*0x40+_0x39f110:_0x39f110,_0x334577++%0x4)?_0x3e80a7+=String['fromCharCode'](0xff&_0x460f0e>>(-0x2*_0x334577&0x6)):0x0){_0x39f110=_0x515ed6['indexOf'](_0x39f110);}for(let _0x60f88d=0x0,_0x279804=_0x3e80a7['length'];_0x60f88d<_0x279804;_0x60f88d++){_0x36071b+='%'+('00'+_0x3e80a7['charCodeAt'](_0x60f88d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x36071b);};_0x4599['CCsyqI']=_0x57e9be,_0x4599['JNmTJu']={},_0x4599['ZbSNFf']=!![];}const _0x5c3ce9=_0x22a489[0x0],_0x28b151=_0x2b39c4+_0x5c3ce9,_0x5ce568=_0x4599['JNmTJu'][_0x28b151];return!_0x5ce568?(_0x459990=_0x4599['CCsyqI'](_0x459990),_0x4599['JNmTJu'][_0x28b151]=_0x459990):_0x459990=_0x5ce568,_0x459990;}function githubArchive(_0x60f88d){return'https://github.com/'+ORG+'/'+_0x60f88d+'/archive/refs/heads/master.zip';}function giteeRepo(_0x279804){return'https://gitee.com/'+ORG+'/'+_0x279804;}function githubRepo(_0x369191){const _0x31f701=_0x419692;return _0x31f701(0x81)+ORG+'/'+_0x369191;}const docsUrl=_0x419692(0x8a);export const pluginDev={'docsUrl':docsUrl,'serviceUrl':serviceUrlFromDocs(docsUrl),'uploadUrl':docsUrl+'/plugins/upload','mirrors':{'prefer':_0x419692(0x7f),'giteeOrg':_0x419692(0x90)+ORG,'githubOrg':_0x419692(0x81)+ORG},'scaffolds':{'full':{'key':_0x419692(0x86),'title':_0x419692(0x76),'desc':_0x419692(0x8c),'repo':_0x419692(0x82),'repoUrl':giteeRepo(_0x419692(0x82)),'githubRepoUrl':githubRepo(_0x419692(0x82)),'downloadUrl':giteeArchive(_0x419692(0x82)),'githubDownloadUrl':githubArchive(_0x419692(0x82))},'backend':{'key':'backend','title':_0x419692(0x7d),'desc':_0x419692(0x8b),'repo':_0x419692(0x78),'repoUrl':giteeRepo(_0x419692(0x78)),'githubRepoUrl':githubRepo(_0x419692(0x78)),'downloadUrl':giteeArchive(_0x419692(0x78)),'githubDownloadUrl':githubArchive(_0x419692(0x78))},'frontend':{'key':_0x419692(0x79),'title':_0x419692(0x7c),'desc':'后台微应用脚手架(.vome:含\x20web/),以\x20wujie\x20挂载独立前端页面。','repo':'vome-plugin-front','repoUrl':giteeRepo('vome-plugin-front'),'githubRepoUrl':githubRepo('vome-plugin-front'),'downloadUrl':giteeArchive(_0x419692(0x80)),'githubDownloadUrl':githubArchive('vome-plugin-front')}}};
1
+ const _0x5bf340=_0x12ec;(function(_0x2d4b2b,_0x39073e){const _0x1e0ce3=_0x12ec,_0x551b6a=_0x2d4b2b();while(!![]){try{const _0x12729f=-parseInt(_0x1e0ce3(0x170))/0x1*(-parseInt(_0x1e0ce3(0x15b))/0x2)+-parseInt(_0x1e0ce3(0x16c))/0x3+-parseInt(_0x1e0ce3(0x173))/0x4*(-parseInt(_0x1e0ce3(0x16a))/0x5)+-parseInt(_0x1e0ce3(0x177))/0x6*(-parseInt(_0x1e0ce3(0x15d))/0x7)+-parseInt(_0x1e0ce3(0x15a))/0x8+parseInt(_0x1e0ce3(0x176))/0x9+-parseInt(_0x1e0ce3(0x171))/0xa*(parseInt(_0x1e0ce3(0x15f))/0xb);if(_0x12729f===_0x39073e)break;else _0x551b6a['push'](_0x551b6a['shift']());}catch(_0x3998d9){_0x551b6a['push'](_0x551b6a['shift']());}}}(_0x34db,0x7d3f7));const ORG=_0x5bf340(0x167);export function serviceUrlFromDocs(_0x21f894){const _0x469e1f=_0x5bf340,_0x58eab0=new URL(_0x21f894),_0x4b2017=_0x58eab0[_0x469e1f(0x174)][_0x469e1f(0x178)](/^www\./,'')[_0x469e1f(0x178)](/^service\./,'');return _0x58eab0['protocol']+_0x469e1f(0x159)+_0x4b2017;}export function seatApiBaseFromDocs(_0x4b9b64){return serviceUrlFromDocs(_0x4b9b64)+'/app/pluginStore/seat';}export function licenseIssueUrlFromDocs(_0x1c7f6e){const _0x559fa9=_0x5bf340;return serviceUrlFromDocs(_0x1c7f6e)+_0x559fa9(0x15e);}function giteeArchive(_0x5918ce){const _0x5362e8=_0x5bf340;return _0x5362e8(0x164)+ORG+'/'+_0x5918ce+_0x5362e8(0x175);}function githubArchive(_0x470a3f){const _0x274182=_0x5bf340;return _0x274182(0x16f)+ORG+'/'+_0x470a3f+_0x274182(0x165);}function giteeRepo(_0xe6598c){return'https://gitee.com/'+ORG+'/'+_0xe6598c;}function githubRepo(_0x50a4a0){const _0x3f2552=_0x5bf340;return _0x3f2552(0x16f)+ORG+'/'+_0x50a4a0;}function _0x12ec(_0x3c2dfb,_0x4b9a1a){_0x3c2dfb=_0x3c2dfb-0x159;const _0x34db8b=_0x34db();let _0x12ec4a=_0x34db8b[_0x3c2dfb];if(_0x12ec['RSNTrk']===undefined){var _0x51aa9d=function(_0x10100a){const _0x4431f9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21f894='',_0x58eab0='';for(let _0x4b2017=0x0,_0x4b9b64,_0x1c7f6e,_0x5918ce=0x0;_0x1c7f6e=_0x10100a['charAt'](_0x5918ce++);~_0x1c7f6e&&(_0x4b9b64=_0x4b2017%0x4?_0x4b9b64*0x40+_0x1c7f6e:_0x1c7f6e,_0x4b2017++%0x4)?_0x21f894+=String['fromCharCode'](0xff&_0x4b9b64>>(-0x2*_0x4b2017&0x6)):0x0){_0x1c7f6e=_0x4431f9['indexOf'](_0x1c7f6e);}for(let _0x470a3f=0x0,_0xe6598c=_0x21f894['length'];_0x470a3f<_0xe6598c;_0x470a3f++){_0x58eab0+='%'+('00'+_0x21f894['charCodeAt'](_0x470a3f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x58eab0);};_0x12ec['EZvOSs']=_0x51aa9d,_0x12ec['VjDmOY']={},_0x12ec['RSNTrk']=!![];}const _0x1ded3b=_0x34db8b[0x0],_0x14b83b=_0x3c2dfb+_0x1ded3b,_0x16d0aa=_0x12ec['VjDmOY'][_0x14b83b];return!_0x16d0aa?(_0x12ec4a=_0x12ec['EZvOSs'](_0x12ec4a),_0x12ec['VjDmOY'][_0x14b83b]=_0x12ec4a):_0x12ec4a=_0x16d0aa,_0x12ec4a;}function _0x34db(){const _0x533797=['zNvSBa','DM9Tzs1WBhvNAw4TzNjVBNq','Ahr0Chm6lY9NAxrLzs5JB20V','l2fYy2HPDMuVCMvMCY9OzwfKCY9Tyxn0zxiUEMLW','57QV5yMn56UV','DM9TzwTQ','DM9Tzs1WBhvNAw4TzNvSBa','5zco5y+W5B6U5BQu55sO6isA5OMl5P6277YilNzVBwxVVjRLKkSGD2vIl++8IE+8Jos7Psb3DwPPzsdMJilOVB3NI6ZNQ4VLIy3NQ6/POBxPNAlJGii','mteYmtvxv3H4qLe','Ahr0Chm6lY92B21LA2OUy29T','mJi5mdC0Cxvksxro','5A6m5Pw05lIA5yQH5QIH5z2x6isA5OMl5P6277YilNzVBwxVVjRLKkSGC2vYDMvYios4JIb3zwlVViNVViZMNkZLNldLVidLJ5hMIzpLJixLKi7LJ5hLUipJGii','DM9Tzs1WBhvNAw4TC2vYDMLJzq','Ahr0Chm6lY9NAxrODwiUy29TlW','mtzlBe1SAwC','mJy3nZbfwfjvsfa','57QV5zco56UV','odG0weTPAezi','Ag9ZDg5HBwu','l3jLCg9ZAxrVCNKVyxjJAgL2zs9Tyxn0zxiUEMLW','nJC2mZC5n1zcBeXcuG','mJm0sLreD1vH','CMvWBgfJzq','lY9Zzxj2AwnLlG','nta5mdmYogL6rfPhyG','mti1mdrWrKPjvei','yMfJA2vUza','otu4otnrvu1twwy','l2fWCc9WBhvNAw5tDg9Yzs93ywXSzxqVBgLJzw5Zzs9PC3n1zq','mJy5nujit2nfwq','6zkP5A2qic8G5PYn5yQH56UV5O+s5lU26isA5OMl5P6277YilNzVBwxVVjRKU4uGC2vYDMvY77Yj77Ym6ycc5zci5lIk5lYG44cb55+T5l+H44cb5PsV5lUy562j6io95yQB5OMP5Bgv44cc','5yMn56UVicSG5zco56UV'];_0x34db=function(){return _0x533797;};return _0x34db();}const docsUrl=_0x5bf340(0x16b);export const pluginDev={'docsUrl':docsUrl,'serviceUrl':serviceUrlFromDocs(docsUrl),'uploadUrl':docsUrl+'/plugins/upload','mirrors':{'prefer':'gitee','giteeOrg':_0x5bf340(0x164)+ORG,'githubOrg':'https://github.com/'+ORG},'scaffolds':{'full':{'key':_0x5bf340(0x162),'title':_0x5bf340(0x161),'desc':_0x5bf340(0x16d),'repo':_0x5bf340(0x168),'repoUrl':giteeRepo(_0x5bf340(0x168)),'githubRepoUrl':githubRepo(_0x5bf340(0x168)),'downloadUrl':giteeArchive(_0x5bf340(0x168)),'githubDownloadUrl':githubArchive('vome-plugin-full')},'backend':{'key':_0x5bf340(0x15c),'title':_0x5bf340(0x172),'desc':_0x5bf340(0x160),'repo':_0x5bf340(0x16e),'repoUrl':giteeRepo(_0x5bf340(0x16e)),'githubRepoUrl':githubRepo(_0x5bf340(0x16e)),'downloadUrl':giteeArchive('vome-plugin-service'),'githubDownloadUrl':githubArchive(_0x5bf340(0x16e))},'frontend':{'key':'frontend','title':_0x5bf340(0x166),'desc':_0x5bf340(0x169),'repo':_0x5bf340(0x163),'repoUrl':giteeRepo(_0x5bf340(0x163)),'githubRepoUrl':githubRepo(_0x5bf340(0x163)),'downloadUrl':giteeArchive('vome-plugin-front'),'githubDownloadUrl':githubArchive(_0x5bf340(0x163))}}};
@@ -0,0 +1,12 @@
1
+ /** OSS 直传后的 `<video>` 块 */
2
+ export declare const VmRichtextVideo: any;
3
+ declare module '@tiptap/core' {
4
+ interface Commands<ReturnType> {
5
+ video: {
6
+ setVideo: (options: {
7
+ src: string;
8
+ }) => ReturnType;
9
+ };
10
+ }
11
+ }
12
+ export declare const VM_RICHTEXT_EMOJIS: readonly ["😀", "😁", "😂", "🤣", "😊", "😍", "😘", "😎", "🤔", "😅", "😭", "😡", "👍", "👎", "👏", "🙏", "💪", "❤️", "🔥", "✨", "🎉", "✅", "❌", "⭐", "💡", "📌", "📝", "📎", "🔗", "🖼️", "🎬", "📷", "🎵", "☕", "🍻", "🚀", "💯", "⚠️", "❓", "❗"];
@@ -0,0 +1 @@
1
+ function _0x2506(){const _0x3a16da=['n2HYExfdsW','mJa1odmZnLzxthL4Ea','mtGYotGXnMXJCLjAsa','nJu0nZe5mgjKsfLiAq','mJaZnZuZmtberuHOC2K','Bwf4lxDPzhrOoJeWmcu7yM9YzgvYlxjHzgL1CZO4ChG','mtG2odiWtxDmAvLs','nte1mJC0nNP0qw9pAG','mta5ntnivgv4z0y','nta0ogfos3f5Ea','BMfTzq','y3jLyxrL','DMLKzw8','mtvPr293rLi','DMLKzw9BC3jJxq'];_0x2506=function(){return _0x3a16da;};return _0x2506();}const _0x5badbd=_0xa8a9;(function(_0x4d5c1c,_0x2f1de7){const _0x46cc3d=_0xa8a9,_0x504508=_0x4d5c1c();while(!![]){try{const _0x2abf00=-parseInt(_0x46cc3d(0xad))/0x1*(parseInt(_0x46cc3d(0xa6))/0x2)+-parseInt(_0x46cc3d(0xb0))/0x3+parseInt(_0x46cc3d(0xb1))/0x4+-parseInt(_0x46cc3d(0xa3))/0x5+parseInt(_0x46cc3d(0xa7))/0x6*(parseInt(_0x46cc3d(0xaf))/0x7)+-parseInt(_0x46cc3d(0xa9))/0x8*(-parseInt(_0x46cc3d(0xa8))/0x9)+parseInt(_0x46cc3d(0xa4))/0xa;if(_0x2abf00===_0x2f1de7)break;else _0x504508['push'](_0x504508['shift']());}catch(_0x4ba613){_0x504508['push'](_0x504508['shift']());}}}(_0x2506,0xb100b));import{Node,mergeAttributes}from'@tiptap/core';function _0xa8a9(_0x4ec5ca,_0x56a26c){_0x4ec5ca=_0x4ec5ca-0xa3;const _0x250663=_0x2506();let _0xa8a907=_0x250663[_0x4ec5ca];if(_0xa8a9['fpKQuz']===undefined){var _0x2a561c=function(_0xc15eb9){const _0x390237='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf2f6c6='',_0xc74070='';for(let _0x53c585=0x0,_0x423b09,_0x19db3a,_0x1920b8=0x0;_0x19db3a=_0xc15eb9['charAt'](_0x1920b8++);~_0x19db3a&&(_0x423b09=_0x53c585%0x4?_0x423b09*0x40+_0x19db3a:_0x19db3a,_0x53c585++%0x4)?_0xf2f6c6+=String['fromCharCode'](0xff&_0x423b09>>(-0x2*_0x53c585&0x6)):0x0){_0x19db3a=_0x390237['indexOf'](_0x19db3a);}for(let _0x3ebafc=0x0,_0x4a1b72=_0xf2f6c6['length'];_0x3ebafc<_0x4a1b72;_0x3ebafc++){_0xc74070+='%'+('00'+_0xf2f6c6['charCodeAt'](_0x3ebafc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc74070);};_0xa8a9['qVZAkp']=_0x2a561c,_0xa8a9['OAwInL']={},_0xa8a9['fpKQuz']=!![];}const _0x956711=_0x250663[0x0],_0xa506c8=_0x4ec5ca+_0x956711,_0x195ec3=_0xa8a9['OAwInL'][_0xa506c8];return!_0x195ec3?(_0xa8a907=_0xa8a9['qVZAkp'](_0xa8a907),_0xa8a9['OAwInL'][_0xa506c8]=_0xa8a907):_0xa8a907=_0x195ec3,_0xa8a907;}export const VmRichtextVideo=Node[_0x5badbd(0xab)]({'name':_0x5badbd(0xac),'group':'block','atom':!![],'selectable':!![],'draggable':!![],'addAttributes'(){return{'src':{'default':null},'controls':{'default':!![]}};},'parseHTML'(){const _0x46517a=_0x5badbd;return[{'tag':_0x46517a(0xae)}];},'renderHTML'({HTMLAttributes:_0xf2f6c6}){const _0x139d67=_0x5badbd;return[_0x139d67(0xac),mergeAttributes(_0xf2f6c6,{'controls':!![],'style':_0x139d67(0xa5)})];},'addCommands'(){const _0x2e6dea=_0x5badbd;return{'setVideo':_0xc74070=>({commands:_0x53c585})=>_0x53c585['insertContent']({'type':this[_0x2e6dea(0xaa)],'attrs':_0xc74070})};}});export const VM_RICHTEXT_EMOJIS=['\uD83D\uDE00','\uD83D\uDE01','\uD83D\uDE02','\uD83E\uDD23','\uD83D\uDE0A','\uD83D\uDE0D','\uD83D\uDE18','\uD83D\uDE0E','\uD83E\uDD14','\uD83D\uDE05','\uD83D\uDE2D','\uD83D\uDE21','\uD83D\uDC4D','\uD83D\uDC4E','\uD83D\uDC4F','\uD83D\uDE4F','\uD83D\uDCAA','❤️','\uD83D\uDD25','✨','\uD83C\uDF89','✅','❌','⭐','\uD83D\uDCA1','\uD83D\uDCCC','\uD83D\uDCDD','\uD83D\uDCCE','\uD83D\uDD17','\uD83D\uDDBC️','\uD83C\uDFAC','\uD83D\uDCF7','\uD83C\uDFB5','☕','\uD83C\uDF7B','\uD83D\uDE80','\uD83D\uDCAF','⚠️','❓','❗'];