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.
- package/dist/admin/config/plugin-dev.js +1 -1
- package/dist/admin/crud/components/vm-richtext-extensions.d.ts +12 -0
- package/dist/admin/crud/components/vm-richtext-extensions.js +1 -0
- package/dist/admin/crud/components/vm-richtext.vue +272 -348
- package/dist/admin/crud/config.js +1 -1
- package/dist/admin/crud/confirm.js +1 -1
- package/dist/admin/crud/dict.js +1 -1
- package/dist/admin/crud/key.js +1 -1
- package/dist/admin/crud/mitt.js +1 -1
- package/dist/admin/crud/plugins.js +1 -1
- package/dist/admin/crud/span.js +1 -1
- package/dist/admin/crud/style.js +1 -1
- package/dist/admin/crud/validate.js +1 -1
- package/dist/admin/directives/perm.js +1 -1
- package/dist/admin/hooks/useUpload.js +1 -1
- package/dist/admin/lib/browser.js +1 -1
- package/dist/admin/lib/cn.js +1 -1
- package/dist/admin/lib/dialog-float.js +1 -1
- package/dist/admin/lib/export-excel.js +1 -1
- package/dist/admin/lib/import-excel.js +1 -1
- package/dist/admin/lib/json.js +1 -1
- package/dist/admin/lib/menu.js +1 -1
- package/dist/admin/lib/tree.js +1 -1
- package/dist/admin/lib/upload.js +1 -1
- package/dist/admin/lib/video-frame.js +1 -1
- package/dist/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/shared/excel.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/locale-json.js +1 -1
- package/dist/shared/tree.js +1 -1
- package/package.json +49 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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','⚠️','❓','❗'];
|