vome-core 0.1.69 → 0.1.71

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 _0x483c76=_0x2987;(function(_0x453759,_0x5cd335){const _0x23386f=_0x2987,_0x4b7da9=_0x453759();while(!![]){try{const _0x1acb3e=parseInt(_0x23386f(0x17f))/0x1+-parseInt(_0x23386f(0x16f))/0x2*(-parseInt(_0x23386f(0x172))/0x3)+parseInt(_0x23386f(0x179))/0x4+-parseInt(_0x23386f(0x173))/0x5+-parseInt(_0x23386f(0x166))/0x6*(parseInt(_0x23386f(0x16a))/0x7)+parseInt(_0x23386f(0x168))/0x8+-parseInt(_0x23386f(0x17d))/0x9;if(_0x1acb3e===_0x5cd335)break;else _0x4b7da9['push'](_0x4b7da9['shift']());}catch(_0x122f7c){_0x4b7da9['push'](_0x4b7da9['shift']());}}}(_0x37f7,0x7479a));const ORG=_0x483c76(0x167);export function serviceUrlFromDocs(_0x2999f8){const _0x32c4cb=_0x483c76,_0x1f00a5=new URL(_0x2999f8),_0x41feb9=_0x1f00a5['hostname']['replace'](/^www\./,'')[_0x32c4cb(0x169)](/^service\./,'');return _0x1f00a5[_0x32c4cb(0x174)]+_0x32c4cb(0x16d)+_0x41feb9;}function _0x2987(_0x14f237,_0x4cbfea){_0x14f237=_0x14f237-0x165;const _0x37f787=_0x37f7();let _0x2987d9=_0x37f787[_0x14f237];if(_0x2987['spbelh']===undefined){var _0x48c35d=function(_0x1b7a68){const _0x49b29d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2999f8='',_0x1f00a5='';for(let _0x41feb9=0x0,_0x2d7942,_0x3b4a89,_0x3d651c=0x0;_0x3b4a89=_0x1b7a68['charAt'](_0x3d651c++);~_0x3b4a89&&(_0x2d7942=_0x41feb9%0x4?_0x2d7942*0x40+_0x3b4a89:_0x3b4a89,_0x41feb9++%0x4)?_0x2999f8+=String['fromCharCode'](0xff&_0x2d7942>>(-0x2*_0x41feb9&0x6)):0x0){_0x3b4a89=_0x49b29d['indexOf'](_0x3b4a89);}for(let _0x1ac47e=0x0,_0x118107=_0x2999f8['length'];_0x1ac47e<_0x118107;_0x1ac47e++){_0x1f00a5+='%'+('00'+_0x2999f8['charCodeAt'](_0x1ac47e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1f00a5);};_0x2987['sEIIXv']=_0x48c35d,_0x2987['UGGsJb']={},_0x2987['spbelh']=!![];}const _0x5a1d14=_0x37f787[0x0],_0x268e43=_0x14f237+_0x5a1d14,_0x562b6d=_0x2987['UGGsJb'][_0x268e43];return!_0x562b6d?(_0x2987d9=_0x2987['sEIIXv'](_0x2987d9),_0x2987['UGGsJb'][_0x268e43]=_0x2987d9):_0x2987d9=_0x562b6d,_0x2987d9;}export function seatApiBaseFromDocs(_0x2d7942){const _0x3fdc2f=_0x483c76;return serviceUrlFromDocs(_0x2d7942)+_0x3fdc2f(0x16b);}export function licenseIssueUrlFromDocs(_0x3b4a89){const _0x1d01a0=_0x483c76;return serviceUrlFromDocs(_0x3b4a89)+_0x1d01a0(0x176);}function giteeArchive(_0x3d651c){const _0x232fd0=_0x483c76;return _0x232fd0(0x165)+ORG+'/'+_0x3d651c+_0x232fd0(0x177);}function _0x37f7(){const _0x5d4862=['l3jLCg9ZAxrVCNKVyxjJAgL2zs9Tyxn0zxiUEMLW','yMfJA2vUza','mZa0mtGWnfbTtLPhsq','57QV5zco56UV','zNjVBNrLBMq','5A6m5Pw05lIA5yQH5QIH5z2x6isA5OMl5P6277YilNzVBwxVVjRLKkSGC2vYDMvYios4JIb3zwlVViNVViZMNkZLNldLVidLJ5hMIzpLJixLKi7LJ5hLUipJGii','ntK5otC0mK5TqNvbzW','Ahr0Chm6lY92B21LA2OUy29T','mtCWodm2rgPOCvDY','6zkP5A2qic8G5PYn5yQH56UV5O+s5lU26isA5OMl5P6277YilNzVBwxVVjRKU4uGC2vYDMvY77Yj77Ym6ycc5zci5lIk5lYG44cb55+T5l+H44cb5PsV5lUy562j6io95yQB5OMP5Bgv44cc','l2fYy2HPDMuVCMvMCY9OzwfKCY9Tyxn0zxiUEMLW','Ahr0Chm6lY9NAxrLzs5JB20V','nMrzCwjLrq','DM9TzwTQ','nJq4odiYne9WEKTvwG','CMvWBgfJzq','ndmWmdG3ANrkB0v4','l2fWCc9WBhvNAw5tDg9Yzs9Zzwf0','DM9Tzs1WBhvNAw4TC2vYDMLJzq','lY9Zzxj2AwnLlG','DM9Tzs1WBhvNAw4TzNvSBa','mty1nJu2sgnUuLHZ','DM9Tzs1WBhvNAw4TzNjVBNq','Ahr0Chm6lY9NAxrODwiUy29TlW','ovL4BfzPCG','mZKYode5mevADuTyzG','ChjVDg9JB2W','z2L0zwu','l2fWCc9WBhvNAw5tDg9Yzs93ywXSzxqVBgLJzw5Zzs9PC3n1zq'];_0x37f7=function(){return _0x5d4862;};return _0x37f7();}function githubArchive(_0x1ac47e){const _0x54cff7=_0x483c76;return _0x54cff7(0x171)+ORG+'/'+_0x1ac47e+_0x54cff7(0x181);}function giteeRepo(_0x118107){return'https://gitee.com/'+ORG+'/'+_0x118107;}function githubRepo(_0x5eb0e9){const _0x3365c4=_0x483c76;return _0x3365c4(0x171)+ORG+'/'+_0x5eb0e9;}const docsUrl=_0x483c76(0x17e);export const pluginDev={'docsUrl':docsUrl,'serviceUrl':serviceUrlFromDocs(docsUrl),'uploadUrl':docsUrl+'/plugins/upload','mirrors':{'prefer':_0x483c76(0x175),'giteeOrg':'https://gitee.com/'+ORG,'githubOrg':_0x483c76(0x171)+ORG},'scaffolds':{'full':{'key':'full','title':'前端\x20+\x20后端','desc':_0x483c76(0x17c),'repo':_0x483c76(0x16e),'repoUrl':giteeRepo('vome-plugin-full'),'githubRepoUrl':githubRepo(_0x483c76(0x16e)),'downloadUrl':giteeArchive(_0x483c76(0x16e)),'githubDownloadUrl':githubArchive(_0x483c76(0x16e))},'backend':{'key':_0x483c76(0x178),'title':_0x483c76(0x17a),'desc':_0x483c76(0x180),'repo':'vome-plugin-service','repoUrl':giteeRepo(_0x483c76(0x16c)),'githubRepoUrl':githubRepo('vome-plugin-service'),'downloadUrl':giteeArchive(_0x483c76(0x16c)),'githubDownloadUrl':githubArchive('vome-plugin-service')},'frontend':{'key':_0x483c76(0x17b),'title':'纯前端','desc':'后台微应用脚手架(.vome:含\x20web/),以\x20wujie\x20挂载独立前端页面。','repo':_0x483c76(0x170),'repoUrl':giteeRepo(_0x483c76(0x170)),'githubRepoUrl':githubRepo(_0x483c76(0x170)),'downloadUrl':giteeArchive(_0x483c76(0x170)),'githubDownloadUrl':githubArchive(_0x483c76(0x170))}}};
1
+ const _0x47512a=_0x1b84;(function(_0xabb510,_0x375e04){const _0xdb1ea5=_0x1b84,_0x2f6e9c=_0xabb510();while(!![]){try{const _0x1e555a=-parseInt(_0xdb1ea5(0xd8))/0x1*(-parseInt(_0xdb1ea5(0xdb))/0x2)+parseInt(_0xdb1ea5(0xc3))/0x3*(parseInt(_0xdb1ea5(0xcc))/0x4)+parseInt(_0xdb1ea5(0xcd))/0x5*(-parseInt(_0xdb1ea5(0xbf))/0x6)+parseInt(_0xdb1ea5(0xce))/0x7+parseInt(_0xdb1ea5(0xda))/0x8+parseInt(_0xdb1ea5(0xd4))/0x9*(-parseInt(_0xdb1ea5(0xc7))/0xa)+-parseInt(_0xdb1ea5(0xd9))/0xb;if(_0x1e555a===_0x375e04)break;else _0x2f6e9c['push'](_0x2f6e9c['shift']());}catch(_0x338cc3){_0x2f6e9c['push'](_0x2f6e9c['shift']());}}}(_0x2a4b,0xa5a86));function _0x2a4b(){const _0xba3a55=['mJu5odG0ovPvtfflBG','mZy1ntGWohHVrvLnyG','ndG2s21zBfji','l2fYy2HPDMuVCMvMCY9OzwfKCY9Tyxn0zxiUEMLW','DM9Tzs1WBhvNAw4TzNvSBa','ndC2mZrfs3rMD2e','l2fWCc9WBhvNAw5tDg9Yzs9Zzwf0','Ag9ZDg5HBwu','Ahr0Chm6lY9NAxrLzs5JB20V','mJe2mdqYD25kugzL','zNvSBa','57QV5yMn56UV','5A6m5Pw05lIA5yQH5QIH5z2x6isA5OMl5P6277YilNzVBwxVVjRLKkSGC2vYDMvYios4JIb3zwlVViNVViZMNkZLNldLVidLJ5hMIzpLJixLKi7LJ5hLUipJGii','ndb1sLbxA0G','5zco5y+W5B6U5BQu55sO6isA5OMl5P6277YilNzVBwxVVjRLKkSGD2vIl++8IE+8Jos7Psb3DwPPzsdMJilOVB3NI6ZNQ4VLIy3NQ6/POBxPNAlJGii','ChjVDg9JB2W','l3jLCg9ZAxrVCNKVyxjJAgL2zs9Tyxn0zxiUEMLW','Ahr0Chm6lY9NAxrODwiUy29TlW','oe1OshnZBq','nte1BxDMv2jg','odG4mJGZou15qxb5CW','5yMn56UVicSG5zco56UV','6zkP5A2qic8G5PYn5yQH56UV5O+s5lU26isA5OMl5P6277YilNzVBwxVVjRKU4uGC2vYDMvY77Yj77Ym6ycc5zci5lIk5lYG44cb55+T5l+H44cb5PsV5lUy562j6io95yQB5OMP5Bgv44cc','DM9Tzs1WBhvNAw4TC2vYDMLJzq','l2fWCc9WBhvNAw5tDg9Yzs93ywXSzxqVBgLJzw5Zzs9PC3n1zq','DM9TzwTQ','odK5mJuZvuL3seHb','zNjVBNrLBMq','DM9Tzs1WBhvNAw4TzNjVBNq','CMvWBgfJzq','mta3ovnfDeHetq'];_0x2a4b=function(){return _0xba3a55;};return _0x2a4b();}const ORG=_0x47512a(0xd3);export function serviceUrlFromDocs(_0x5877d8){const _0x16e6bb=_0x47512a,_0x440f0a=new URL(_0x5877d8),_0x3290d3=_0x440f0a[_0x16e6bb(0xc1)]['replace'](/^www\./,'')[_0x16e6bb(0xd7)](/^service\./,'');return _0x440f0a[_0x16e6bb(0xc9)]+'//service.'+_0x3290d3;}export function seatApiBaseFromDocs(_0xeadb16){const _0x11f639=_0x47512a;return serviceUrlFromDocs(_0xeadb16)+_0x11f639(0xc0);}export function licenseIssueUrlFromDocs(_0x3112b5){const _0x25f4b6=_0x47512a;return serviceUrlFromDocs(_0x3112b5)+_0x25f4b6(0xd2);}function giteeArchive(_0x3bb918){const _0x372aa3=_0x47512a;return _0x372aa3(0xc2)+ORG+'/'+_0x3bb918+_0x372aa3(0xca);}function githubArchive(_0x2c277b){const _0x5e3134=_0x47512a;return _0x5e3134(0xcb)+ORG+'/'+_0x2c277b+_0x5e3134(0xdc);}function giteeRepo(_0xebc091){const _0x1469b4=_0x47512a;return _0x1469b4(0xc2)+ORG+'/'+_0xebc091;}function githubRepo(_0x3051d2){const _0x3b3fed=_0x47512a;return _0x3b3fed(0xcb)+ORG+'/'+_0x3051d2;}const docsUrl='https://vomekj.com';function _0x1b84(_0x102846,_0x5dca82){_0x102846=_0x102846-0xbe;const _0x2a4b8b=_0x2a4b();let _0x1b84d8=_0x2a4b8b[_0x102846];if(_0x1b84['goYQlD']===undefined){var _0x4201ad=function(_0x4cb4f8){const _0x21af44='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5877d8='',_0x440f0a='';for(let _0x3290d3=0x0,_0xeadb16,_0x3112b5,_0x3bb918=0x0;_0x3112b5=_0x4cb4f8['charAt'](_0x3bb918++);~_0x3112b5&&(_0xeadb16=_0x3290d3%0x4?_0xeadb16*0x40+_0x3112b5:_0x3112b5,_0x3290d3++%0x4)?_0x5877d8+=String['fromCharCode'](0xff&_0xeadb16>>(-0x2*_0x3290d3&0x6)):0x0){_0x3112b5=_0x21af44['indexOf'](_0x3112b5);}for(let _0x2c277b=0x0,_0xebc091=_0x5877d8['length'];_0x2c277b<_0xebc091;_0x2c277b++){_0x440f0a+='%'+('00'+_0x5877d8['charCodeAt'](_0x2c277b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x440f0a);};_0x1b84['KMpTjA']=_0x4201ad,_0x1b84['EXIOiB']={},_0x1b84['goYQlD']=!![];}const _0x5dc9e1=_0x2a4b8b[0x0],_0x2751fb=_0x102846+_0x5dc9e1,_0x5717cb=_0x1b84['EXIOiB'][_0x2751fb];return!_0x5717cb?(_0x1b84d8=_0x1b84['KMpTjA'](_0x1b84d8),_0x1b84['EXIOiB'][_0x2751fb]=_0x1b84d8):_0x1b84d8=_0x5717cb,_0x1b84d8;}export const pluginDev={'docsUrl':docsUrl,'serviceUrl':serviceUrlFromDocs(docsUrl),'uploadUrl':docsUrl+'/plugins/upload','mirrors':{'prefer':'gitee','giteeOrg':'https://gitee.com/'+ORG,'githubOrg':_0x47512a(0xcb)+ORG},'scaffolds':{'full':{'key':_0x47512a(0xc4),'title':_0x47512a(0xcf),'desc':_0x47512a(0xc6),'repo':_0x47512a(0xbe),'repoUrl':giteeRepo(_0x47512a(0xbe)),'githubRepoUrl':githubRepo('vome-plugin-full'),'downloadUrl':giteeArchive(_0x47512a(0xbe)),'githubDownloadUrl':githubArchive(_0x47512a(0xbe))},'backend':{'key':'backend','title':'纯后端','desc':_0x47512a(0xd0),'repo':_0x47512a(0xd1),'repoUrl':giteeRepo(_0x47512a(0xd1)),'githubRepoUrl':githubRepo(_0x47512a(0xd1)),'downloadUrl':giteeArchive('vome-plugin-service'),'githubDownloadUrl':githubArchive('vome-plugin-service')},'frontend':{'key':_0x47512a(0xd5),'title':_0x47512a(0xc5),'desc':_0x47512a(0xc8),'repo':_0x47512a(0xd6),'repoUrl':giteeRepo(_0x47512a(0xd6)),'githubRepoUrl':githubRepo(_0x47512a(0xd6)),'downloadUrl':giteeArchive(_0x47512a(0xd6)),'githubDownloadUrl':githubArchive(_0x47512a(0xd6))}}};
@@ -1 +1 @@
1
- const _0x41d273=_0x36dd;(function(_0x1be1d9,_0x2587bb){const _0x24908f=_0x36dd,_0x2daf13=_0x1be1d9();while(!![]){try{const _0x4ab5b1=-parseInt(_0x24908f(0x1fa))/0x1*(parseInt(_0x24908f(0x1ee))/0x2)+-parseInt(_0x24908f(0x1f2))/0x3+-parseInt(_0x24908f(0x1f7))/0x4*(-parseInt(_0x24908f(0x1fb))/0x5)+-parseInt(_0x24908f(0x1f3))/0x6*(-parseInt(_0x24908f(0x1ed))/0x7)+-parseInt(_0x24908f(0x1f4))/0x8*(parseInt(_0x24908f(0x1f8))/0x9)+parseInt(_0x24908f(0x1f1))/0xa+-parseInt(_0x24908f(0x1ea))/0xb*(-parseInt(_0x24908f(0x1f9))/0xc);if(_0x4ab5b1===_0x2587bb)break;else _0x2daf13['push'](_0x2daf13['shift']());}catch(_0x48c478){_0x2daf13['push'](_0x2daf13['shift']());}}}(_0x49f1,0xed3c4));function _0x36dd(_0x40cc80,_0x3919f9){_0x40cc80=_0x40cc80-0x1e9;const _0x49f179=_0x49f1();let _0x36ddf9=_0x49f179[_0x40cc80];if(_0x36dd['KUgDOL']===undefined){var _0x4e17aa=function(_0x199e0f){const _0x68b8ed='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x542426='',_0x45b911='';for(let _0x15e7f5=0x0,_0x5c5ee1,_0x121202,_0x2e6c88=0x0;_0x121202=_0x199e0f['charAt'](_0x2e6c88++);~_0x121202&&(_0x5c5ee1=_0x15e7f5%0x4?_0x5c5ee1*0x40+_0x121202:_0x121202,_0x15e7f5++%0x4)?_0x542426+=String['fromCharCode'](0xff&_0x5c5ee1>>(-0x2*_0x15e7f5&0x6)):0x0){_0x121202=_0x68b8ed['indexOf'](_0x121202);}for(let _0x313cce=0x0,_0x5928aa=_0x542426['length'];_0x313cce<_0x5928aa;_0x313cce++){_0x45b911+='%'+('00'+_0x542426['charCodeAt'](_0x313cce)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x45b911);};_0x36dd['EUSTvD']=_0x4e17aa,_0x36dd['HMeGQL']={},_0x36dd['KUgDOL']=!![];}const _0x47a90f=_0x49f179[0x0],_0x41ff30=_0x40cc80+_0x47a90f,_0x1dc059=_0x36dd['HMeGQL'][_0x41ff30];return!_0x1dc059?(_0x36ddf9=_0x36dd['EUSTvD'](_0x36ddf9),_0x36dd['HMeGQL'][_0x41ff30]=_0x36ddf9):_0x36ddf9=_0x1dc059,_0x36ddf9;}function _0x49f1(){const _0x434afd=['Bwf4lxDPzhrOoJeWmcu7yM9YzgvYlxjHzgL1CZO4ChG','y3jLyxrL','ntzpBvPpqve','mta4EKLdA25Q','mJCZnti0nfLcqxjLvW','mxD5u2Tjyq','mJi1ntbjtxbprvC','Aw5Zzxj0q29UDgvUDa','mJjIzu9Xze8','8j+qU+kaJEkDHo+4JW','BMfTzq','mtrTqwjpuxO','mJqXnduXogHXyMf4sq','DMLKzw9BC3jJxq','yMXVy2S','odyYndCWmgLsqufeCG','mtu0nJi5BuLYBuvs','nta3mta5ofvsqufZwG','ntyWodG4vMv6AKvm'];_0x49f1=function(){return _0x434afd;};return _0x49f1();}import{Node,mergeAttributes}from'@tiptap/core';export const VmRichtextVideo=Node[_0x41d273(0x1f6)]({'name':'video','group':_0x41d273(0x1f0),'atom':!![],'selectable':!![],'draggable':!![],'addAttributes'(){return{'src':{'default':null},'controls':{'default':!![]}};},'parseHTML'(){const _0x12c802=_0x41d273;return[{'tag':_0x12c802(0x1ef)}];},'renderHTML'({HTMLAttributes:_0x542426}){const _0xf98a75=_0x41d273;return['video',mergeAttributes(_0x542426,{'controls':!![],'style':_0xf98a75(0x1f5)})];},'addCommands'(){const _0x59bebf=_0x41d273;return{'setVideo':_0x45b911=>({commands:_0x15e7f5})=>_0x15e7f5[_0x59bebf(0x1e9)]({'type':this[_0x59bebf(0x1ec)],'attrs':_0x45b911})};}});export const VM_RICHTEXT_EMOJIS=['\uD83D\uDE00','\uD83D\uDE03','\uD83D\uDE04','\uD83D\uDE01','\uD83D\uDE06','\uD83D\uDE05','\uD83E\uDD23','\uD83D\uDE02','\uD83D\uDE42','\uD83D\uDE43','\uD83D\uDE09','\uD83D\uDE0A','\uD83D\uDE07','\uD83E\uDD70','\uD83D\uDE0D','\uD83E\uDD29','\uD83D\uDE18','\uD83D\uDE17','\uD83D\uDE1A','\uD83D\uDE19','\uD83D\uDE0B','\uD83D\uDE1B','\uD83D\uDE1C','\uD83E\uDD2A','\uD83D\uDE1D','\uD83E\uDD11','\uD83E\uDD17','\uD83E\uDD2D','\uD83E\uDD2B','\uD83E\uDD14','\uD83E\uDD10','\uD83E\uDD28','\uD83D\uDE10','\uD83D\uDE11','\uD83D\uDE36','\uD83D\uDE0F','\uD83D\uDE12','\uD83D\uDE44','\uD83D\uDE2C','\uD83E\uDD25','\uD83D\uDE0C','\uD83D\uDE14','\uD83D\uDE2A','\uD83E\uDD24','\uD83D\uDE34','\uD83D\uDE37','\uD83E\uDD12','\uD83E\uDD15','\uD83E\uDD22','\uD83E\uDD2E','\uD83E\uDD75','\uD83E\uDD76','\uD83E\uDD74','\uD83D\uDE35','\uD83E\uDD2F','\uD83E\uDD20','\uD83E\uDD73','\uD83D\uDE0E','\uD83E\uDD13','\uD83E\uDDD0','\uD83D\uDE15','\uD83D\uDE1F','\uD83D\uDE41','☹️','\uD83D\uDE2E','\uD83D\uDE2F','\uD83D\uDE32','\uD83D\uDE33','\uD83E\uDD7A','\uD83D\uDE26','\uD83D\uDE27','\uD83D\uDE28','\uD83D\uDE30','\uD83D\uDE25','\uD83D\uDE22','\uD83D\uDE2D','\uD83D\uDE31','\uD83D\uDE16','\uD83D\uDE23','\uD83D\uDE1E','\uD83D\uDE13','\uD83D\uDE29','\uD83D\uDE2B','\uD83E\uDD71','\uD83D\uDE24','\uD83D\uDE21','\uD83D\uDE20','\uD83E\uDD2C','\uD83D\uDE08','\uD83D\uDC7F','\uD83D\uDC4B','\uD83E\uDD1A','\uD83D\uDD90','✋','\uD83D\uDD96','\uD83D\uDC4C','\uD83E\uDD0C','\uD83E\uDD0F','✌️','\uD83E\uDD1E','\uD83E\uDD1F','\uD83E\uDD18','\uD83E\uDD19','\uD83D\uDC48','\uD83D\uDC49','\uD83D\uDC46','\uD83D\uDD95','\uD83D\uDC47','☝️','\uD83D\uDC4D','\uD83D\uDC4E','✊','\uD83D\uDC4A','\uD83E\uDD1B','\uD83E\uDD1C','\uD83D\uDC4F','\uD83D\uDE4C','\uD83D\uDC50','\uD83E\uDD32','\uD83E\uDD1D','\uD83D\uDE4F','\uD83D\uDCAA','\uD83E\uDDBE','✍️','\uD83D\uDC85','\uD83E\uDD33','❤️','\uD83E\uDDE1','\uD83D\uDC9B','\uD83D\uDC9A','\uD83D\uDC99','\uD83D\uDC9C','\uD83D\uDDA4','\uD83E\uDD0D','\uD83E\uDD0E','\uD83D\uDC94','❣️','\uD83D\uDC95','\uD83D\uDC9E','\uD83D\uDC93','\uD83D\uDC97','\uD83D\uDC96','\uD83D\uDC98','\uD83D\uDC9D','\uD83D\uDC9F','☮️','✝️','☪️','\uD83D\uDD49','☸️','✡️','\uD83D\uDD2F','\uD83D\uDD4E','☯️','☦️','\uD83D\uDED0','⭐','\uD83C\uDF1F','✨','⚡','\uD83D\uDD25','\uD83D\uDCA5','☀️','\uD83C\uDF19','⭐️','\uD83C\uDF08','✅','❌','⭕','❗','❓','‼️','⁉️','\uD83D\uDCAF','\uD83D\uDD14','\uD83D\uDD15','\uD83D\uDCCC','\uD83D\uDCCD','\uD83D\uDCCE','\uD83D\uDD17','\uD83D\uDD12','\uD83D\uDD13','\uD83D\uDD11','\uD83D\uDDDD','\uD83D\uDCA1','\uD83D\uDD26','\uD83D\uDCDD','✏️','✒️','\uD83D\uDD8A','\uD83D\uDD8B','\uD83D\uDD8C','\uD83D\uDD8D','\uD83D\uDCBC','\uD83D\uDCC1','\uD83D\uDCC2','\uD83D\uDCC5','\uD83D\uDCC6','\uD83D\uDDD3','\uD83D\uDCC7','\uD83D\uDCC8','\uD83D\uDCC9','\uD83D\uDCCA','\uD83D\uDCCB','\uD83D\uDCE4','\uD83D\uDCE5','\uD83D\uDCE6','\uD83D\uDCEB','\uD83D\uDCEC','\uD83D\uDCED','\uD83D\uDCEE','\uD83D\uDCEF','\uD83D\uDCDC','\uD83D\uDCC3','\uD83D\uDCC4','\uD83D\uDCD1','☕','\uD83C\uDF75','\uD83E\uDDC3','\uD83E\uDD64','\uD83E\uDDCB','\uD83C\uDF7A','\uD83C\uDF7B','\uD83E\uDD42','\uD83C\uDF77','\uD83C\uDF78','\uD83C\uDF55','\uD83C\uDF54','\uD83C\uDF5F','\uD83C\uDF2D','\uD83C\uDF7F','\uD83C\uDF69','\uD83C\uDF6A','\uD83C\uDF82','\uD83C\uDF70','\uD83E\uDDC1','\uD83C\uDF4E','\uD83C\uDF4A','\uD83C\uDF4B','\uD83C\uDF4C','\uD83C\uDF49','\uD83C\uDF47','\uD83C\uDF53','\uD83E\uDED0','\uD83C\uDF52','\uD83C\uDF51','⚽','\uD83C\uDFC0','\uD83C\uDFC8','⚾','\uD83C\uDFBE','\uD83C\uDFD0','\uD83C\uDFC9','\uD83C\uDFB1','\uD83C\uDFD3','\uD83C\uDFF8','\uD83C\uDFAE','\uD83D\uDD79','\uD83C\uDFB2','\uD83E\uDDE9','\uD83C\uDFAF','\uD83C\uDFB3','\uD83C\uDFB0','\uD83C\uDFB8','\uD83C\uDFB9','\uD83E\uDD41','\uD83C\uDFA4','\uD83C\uDFA7','\uD83C\uDFAC','\uD83C\uDFA5','\uD83D\uDCF7','\uD83D\uDCF8','\uD83D\uDCF9','\uD83D\uDCFA','\uD83D\uDCFB','\uD83C\uDF99','\uD83D\uDE80','✈️','\uD83D\uDEE9','\uD83D\uDEEB','\uD83D\uDEEC','\uD83D\uDEF0','\uD83D\uDCBA','\uD83D\uDEF8','\uD83D\uDE81','\uD83D\uDEF6','\uD83D\uDE97','\uD83D\uDE95','\uD83D\uDE99','\uD83D\uDE8C','\uD83D\uDE8E','\uD83C\uDFCE','\uD83D\uDE93','\uD83D\uDE91','\uD83D\uDE92','\uD83D\uDE90','\uD83C\uDFE0','\uD83C\uDFE1','\uD83C\uDFE2','\uD83C\uDFE3','\uD83C\uDFE4','\uD83C\uDFE5','\uD83C\uDFE6','\uD83C\uDFE8','\uD83C\uDFE9','\uD83C\uDFEA','\uD83D\uDC36','\uD83D\uDC31','\uD83D\uDC2D','\uD83D\uDC39','\uD83D\uDC30','\uD83E\uDD8A','\uD83D\uDC3B','\uD83D\uDC3C',_0x41d273(0x1eb),'\uD83D\uDC28','\uD83D\uDC2F','\uD83E\uDD81','\uD83D\uDC2E','\uD83D\uDC37','\uD83D\uDC38','\uD83D\uDC35','\uD83D\uDE48','\uD83D\uDE49','\uD83D\uDE4A','\uD83D\uDC12','\uD83D\uDC14','\uD83D\uDC27','\uD83D\uDC26','\uD83D\uDC24','\uD83D\uDC23','\uD83D\uDC25','\uD83E\uDD86','\uD83E\uDD85','\uD83E\uDD89','\uD83E\uDD87','\uD83C\uDF89','\uD83C\uDF8A','\uD83C\uDF88','\uD83C\uDF81','\uD83C\uDF80','\uD83C\uDF97','\uD83C\uDFAB','\uD83C\uDF9F','\uD83C\uDFC6','\uD83C\uDFC5'];
1
+ const _0x291816=_0x325c;(function(_0x2161ad,_0x36b7f4){const _0x2abbd3=_0x325c,_0xb592ab=_0x2161ad();while(!![]){try{const _0x1594f6=parseInt(_0x2abbd3(0x10e))/0x1*(-parseInt(_0x2abbd3(0x116))/0x2)+parseInt(_0x2abbd3(0x111))/0x3+-parseInt(_0x2abbd3(0x110))/0x4+-parseInt(_0x2abbd3(0x115))/0x5*(parseInt(_0x2abbd3(0x119))/0x6)+parseInt(_0x2abbd3(0x11b))/0x7*(parseInt(_0x2abbd3(0x118))/0x8)+parseInt(_0x2abbd3(0x112))/0x9+-parseInt(_0x2abbd3(0x114))/0xa;if(_0x1594f6===_0x36b7f4)break;else _0xb592ab['push'](_0xb592ab['shift']());}catch(_0x4b9620){_0xb592ab['push'](_0xb592ab['shift']());}}}(_0x4b77,0xe2697));import{Node,mergeAttributes}from'@tiptap/core';function _0x325c(_0x4f13e2,_0x303d73){_0x4f13e2=_0x4f13e2-0x10e;const _0x4b77be=_0x4b77();let _0x325c85=_0x4b77be[_0x4f13e2];if(_0x325c['pWvIVN']===undefined){var _0x46b691=function(_0x5d1f1f){const _0x19eba6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3fc4b1='',_0x1cd38a='';for(let _0x1395e6=0x0,_0x57ac65,_0x2cad74,_0x4c5b80=0x0;_0x2cad74=_0x5d1f1f['charAt'](_0x4c5b80++);~_0x2cad74&&(_0x57ac65=_0x1395e6%0x4?_0x57ac65*0x40+_0x2cad74:_0x2cad74,_0x1395e6++%0x4)?_0x3fc4b1+=String['fromCharCode'](0xff&_0x57ac65>>(-0x2*_0x1395e6&0x6)):0x0){_0x2cad74=_0x19eba6['indexOf'](_0x2cad74);}for(let _0x24625c=0x0,_0x3747d3=_0x3fc4b1['length'];_0x24625c<_0x3747d3;_0x24625c++){_0x1cd38a+='%'+('00'+_0x3fc4b1['charCodeAt'](_0x24625c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1cd38a);};_0x325c['qiQOYG']=_0x46b691,_0x325c['zXrUDo']={},_0x325c['pWvIVN']=!![];}const _0x3fc028=_0x4b77be[0x0],_0x4965f0=_0x4f13e2+_0x3fc028,_0x1b4c3c=_0x325c['zXrUDo'][_0x4965f0];return!_0x1b4c3c?(_0x325c85=_0x325c['qiQOYG'](_0x325c85),_0x325c['zXrUDo'][_0x4965f0]=_0x325c85):_0x325c85=_0x1b4c3c,_0x325c85;}function _0x4b77(){const _0x40cf2b=['mtaZmJqZotHnquPSD2S','DMLKzw9BC3jJxq','odqZnxjOqMXQBa','yMXVy2S','DMLKzw8','BMfTzq','mtf4vgjNvLG','y3jLyxrL','mtC1odK5nKrZAhzsva','mZm0ntC2oenVu2DzDa','oda4mdeXmgPjshH3yG','Aw5Zzxj0q29UDgvUDa','nJuYota4mePhvLP0yq','nwTXyMH6qq','mJeYotzXrgT5s20','Bwf4lxDPzhrOoJeWmcu7yM9YzgvYlxjHzgL1CZO4ChG','mtiYndHVvev5zu0'];_0x4b77=function(){return _0x40cf2b;};return _0x4b77();}export const VmRichtextVideo=Node[_0x291816(0x10f)]({'name':_0x291816(0x11d),'group':_0x291816(0x11c),'atom':!![],'selectable':!![],'draggable':!![],'addAttributes'(){return{'src':{'default':null},'controls':{'default':!![]}};},'parseHTML'(){const _0x3c8118=_0x291816;return[{'tag':_0x3c8118(0x11a)}];},'renderHTML'({HTMLAttributes:_0x3fc4b1}){const _0x5737ab=_0x291816;return[_0x5737ab(0x11d),mergeAttributes(_0x3fc4b1,{'controls':!![],'style':_0x5737ab(0x117)})];},'addCommands'(){const _0x170eda=_0x291816;return{'setVideo':_0x1cd38a=>({commands:_0x1395e6})=>_0x1395e6[_0x170eda(0x113)]({'type':this[_0x170eda(0x11e)],'attrs':_0x1cd38a})};}});export const VM_RICHTEXT_EMOJIS=['\uD83D\uDE00','\uD83D\uDE03','\uD83D\uDE04','\uD83D\uDE01','\uD83D\uDE06','\uD83D\uDE05','\uD83E\uDD23','\uD83D\uDE02','\uD83D\uDE42','\uD83D\uDE43','\uD83D\uDE09','\uD83D\uDE0A','\uD83D\uDE07','\uD83E\uDD70','\uD83D\uDE0D','\uD83E\uDD29','\uD83D\uDE18','\uD83D\uDE17','\uD83D\uDE1A','\uD83D\uDE19','\uD83D\uDE0B','\uD83D\uDE1B','\uD83D\uDE1C','\uD83E\uDD2A','\uD83D\uDE1D','\uD83E\uDD11','\uD83E\uDD17','\uD83E\uDD2D','\uD83E\uDD2B','\uD83E\uDD14','\uD83E\uDD10','\uD83E\uDD28','\uD83D\uDE10','\uD83D\uDE11','\uD83D\uDE36','\uD83D\uDE0F','\uD83D\uDE12','\uD83D\uDE44','\uD83D\uDE2C','\uD83E\uDD25','\uD83D\uDE0C','\uD83D\uDE14','\uD83D\uDE2A','\uD83E\uDD24','\uD83D\uDE34','\uD83D\uDE37','\uD83E\uDD12','\uD83E\uDD15','\uD83E\uDD22','\uD83E\uDD2E','\uD83E\uDD75','\uD83E\uDD76','\uD83E\uDD74','\uD83D\uDE35','\uD83E\uDD2F','\uD83E\uDD20','\uD83E\uDD73','\uD83D\uDE0E','\uD83E\uDD13','\uD83E\uDDD0','\uD83D\uDE15','\uD83D\uDE1F','\uD83D\uDE41','☹️','\uD83D\uDE2E','\uD83D\uDE2F','\uD83D\uDE32','\uD83D\uDE33','\uD83E\uDD7A','\uD83D\uDE26','\uD83D\uDE27','\uD83D\uDE28','\uD83D\uDE30','\uD83D\uDE25','\uD83D\uDE22','\uD83D\uDE2D','\uD83D\uDE31','\uD83D\uDE16','\uD83D\uDE23','\uD83D\uDE1E','\uD83D\uDE13','\uD83D\uDE29','\uD83D\uDE2B','\uD83E\uDD71','\uD83D\uDE24','\uD83D\uDE21','\uD83D\uDE20','\uD83E\uDD2C','\uD83D\uDE08','\uD83D\uDC7F','\uD83D\uDC4B','\uD83E\uDD1A','\uD83D\uDD90','✋','\uD83D\uDD96','\uD83D\uDC4C','\uD83E\uDD0C','\uD83E\uDD0F','✌️','\uD83E\uDD1E','\uD83E\uDD1F','\uD83E\uDD18','\uD83E\uDD19','\uD83D\uDC48','\uD83D\uDC49','\uD83D\uDC46','\uD83D\uDD95','\uD83D\uDC47','☝️','\uD83D\uDC4D','\uD83D\uDC4E','✊','\uD83D\uDC4A','\uD83E\uDD1B','\uD83E\uDD1C','\uD83D\uDC4F','\uD83D\uDE4C','\uD83D\uDC50','\uD83E\uDD32','\uD83E\uDD1D','\uD83D\uDE4F','\uD83D\uDCAA','\uD83E\uDDBE','✍️','\uD83D\uDC85','\uD83E\uDD33','❤️','\uD83E\uDDE1','\uD83D\uDC9B','\uD83D\uDC9A','\uD83D\uDC99','\uD83D\uDC9C','\uD83D\uDDA4','\uD83E\uDD0D','\uD83E\uDD0E','\uD83D\uDC94','❣️','\uD83D\uDC95','\uD83D\uDC9E','\uD83D\uDC93','\uD83D\uDC97','\uD83D\uDC96','\uD83D\uDC98','\uD83D\uDC9D','\uD83D\uDC9F','☮️','✝️','☪️','\uD83D\uDD49','☸️','✡️','\uD83D\uDD2F','\uD83D\uDD4E','☯️','☦️','\uD83D\uDED0','⭐','\uD83C\uDF1F','✨','⚡','\uD83D\uDD25','\uD83D\uDCA5','☀️','\uD83C\uDF19','⭐️','\uD83C\uDF08','✅','❌','⭕','❗','❓','‼️','⁉️','\uD83D\uDCAF','\uD83D\uDD14','\uD83D\uDD15','\uD83D\uDCCC','\uD83D\uDCCD','\uD83D\uDCCE','\uD83D\uDD17','\uD83D\uDD12','\uD83D\uDD13','\uD83D\uDD11','\uD83D\uDDDD','\uD83D\uDCA1','\uD83D\uDD26','\uD83D\uDCDD','✏️','✒️','\uD83D\uDD8A','\uD83D\uDD8B','\uD83D\uDD8C','\uD83D\uDD8D','\uD83D\uDCBC','\uD83D\uDCC1','\uD83D\uDCC2','\uD83D\uDCC5','\uD83D\uDCC6','\uD83D\uDDD3','\uD83D\uDCC7','\uD83D\uDCC8','\uD83D\uDCC9','\uD83D\uDCCA','\uD83D\uDCCB','\uD83D\uDCE4','\uD83D\uDCE5','\uD83D\uDCE6','\uD83D\uDCEB','\uD83D\uDCEC','\uD83D\uDCED','\uD83D\uDCEE','\uD83D\uDCEF','\uD83D\uDCDC','\uD83D\uDCC3','\uD83D\uDCC4','\uD83D\uDCD1','☕','\uD83C\uDF75','\uD83E\uDDC3','\uD83E\uDD64','\uD83E\uDDCB','\uD83C\uDF7A','\uD83C\uDF7B','\uD83E\uDD42','\uD83C\uDF77','\uD83C\uDF78','\uD83C\uDF55','\uD83C\uDF54','\uD83C\uDF5F','\uD83C\uDF2D','\uD83C\uDF7F','\uD83C\uDF69','\uD83C\uDF6A','\uD83C\uDF82','\uD83C\uDF70','\uD83E\uDDC1','\uD83C\uDF4E','\uD83C\uDF4A','\uD83C\uDF4B','\uD83C\uDF4C','\uD83C\uDF49','\uD83C\uDF47','\uD83C\uDF53','\uD83E\uDED0','\uD83C\uDF52','\uD83C\uDF51','⚽','\uD83C\uDFC0','\uD83C\uDFC8','⚾','\uD83C\uDFBE','\uD83C\uDFD0','\uD83C\uDFC9','\uD83C\uDFB1','\uD83C\uDFD3','\uD83C\uDFF8','\uD83C\uDFAE','\uD83D\uDD79','\uD83C\uDFB2','\uD83E\uDDE9','\uD83C\uDFAF','\uD83C\uDFB3','\uD83C\uDFB0','\uD83C\uDFB8','\uD83C\uDFB9','\uD83E\uDD41','\uD83C\uDFA4','\uD83C\uDFA7','\uD83C\uDFAC','\uD83C\uDFA5','\uD83D\uDCF7','\uD83D\uDCF8','\uD83D\uDCF9','\uD83D\uDCFA','\uD83D\uDCFB','\uD83C\uDF99','\uD83D\uDE80','✈️','\uD83D\uDEE9','\uD83D\uDEEB','\uD83D\uDEEC','\uD83D\uDEF0','\uD83D\uDCBA','\uD83D\uDEF8','\uD83D\uDE81','\uD83D\uDEF6','\uD83D\uDE97','\uD83D\uDE95','\uD83D\uDE99','\uD83D\uDE8C','\uD83D\uDE8E','\uD83C\uDFCE','\uD83D\uDE93','\uD83D\uDE91','\uD83D\uDE92','\uD83D\uDE90','\uD83C\uDFE0','\uD83C\uDFE1','\uD83C\uDFE2','\uD83C\uDFE3','\uD83C\uDFE4','\uD83C\uDFE5','\uD83C\uDFE6','\uD83C\uDFE8','\uD83C\uDFE9','\uD83C\uDFEA','\uD83D\uDC36','\uD83D\uDC31','\uD83D\uDC2D','\uD83D\uDC39','\uD83D\uDC30','\uD83E\uDD8A','\uD83D\uDC3B','\uD83D\uDC3C','\uD83D\uDC3B‍❄️','\uD83D\uDC28','\uD83D\uDC2F','\uD83E\uDD81','\uD83D\uDC2E','\uD83D\uDC37','\uD83D\uDC38','\uD83D\uDC35','\uD83D\uDE48','\uD83D\uDE49','\uD83D\uDE4A','\uD83D\uDC12','\uD83D\uDC14','\uD83D\uDC27','\uD83D\uDC26','\uD83D\uDC24','\uD83D\uDC23','\uD83D\uDC25','\uD83E\uDD86','\uD83E\uDD85','\uD83E\uDD89','\uD83E\uDD87','\uD83C\uDF89','\uD83C\uDF8A','\uD83C\uDF88','\uD83C\uDF81','\uD83C\uDF80','\uD83C\uDF97','\uD83C\uDFAB','\uD83C\uDF9F','\uD83C\uDFC6','\uD83C\uDFC5'];
@@ -21,6 +21,11 @@
21
21
  >
22
22
  {{ displayLabel || placeholder || '请选择' }}
23
23
  </span>
24
+ <i
25
+ v-if="clearable && hasValue"
26
+ class="ri-close-circle-fill vm-select__clear"
27
+ @click.stop="clear"
28
+ />
24
29
  <i class="ri-arrow-down-s-line vm-select__caret" aria-hidden="true" />
25
30
  </button>
26
31
 
@@ -74,29 +79,39 @@
74
79
  </div>
75
80
 
76
81
  <!-- 不可搜索:保留 reka Select -->
77
- <Select
82
+ <div
78
83
  v-else
79
- :model-value="inner"
80
- :disabled="disabled"
81
- @update:model-value="onChange"
84
+ class="vm-select vm-select--native"
85
+ :class="{ 'is-full': isFullWidth, 'is-disabled': disabled }"
86
+ :style="triggerStyle"
82
87
  >
83
- <SelectTrigger
84
- class="vm-crud-select"
85
- :class="{ 'is-full': isFullWidth }"
86
- :style="triggerStyle"
88
+ <Select
89
+ :model-value="inner"
90
+ :disabled="disabled"
91
+ @update:model-value="onChange"
87
92
  >
88
- <SelectValue :placeholder="placeholder || '请选择'" />
89
- </SelectTrigger>
90
- <SelectContent>
91
- <SelectItem
92
- v-for="opt in normalized"
93
- :key="String(opt[valueKey])"
94
- :value="String(opt[valueKey])"
93
+ <SelectTrigger
94
+ class="vm-crud-select"
95
+ :class="{ 'is-full': isFullWidth, 'has-clear': clearable && hasValue }"
95
96
  >
96
- {{ opt[labelKey] }}
97
- </SelectItem>
98
- </SelectContent>
99
- </Select>
97
+ <SelectValue :placeholder="placeholder || '请选择'" />
98
+ </SelectTrigger>
99
+ <SelectContent>
100
+ <SelectItem
101
+ v-for="opt in normalized"
102
+ :key="String(opt[valueKey])"
103
+ :value="String(opt[valueKey])"
104
+ >
105
+ {{ opt[labelKey] }}
106
+ </SelectItem>
107
+ </SelectContent>
108
+ </Select>
109
+ <i
110
+ v-if="clearable && hasValue && !disabled"
111
+ class="ri-close-circle-fill vm-select__clear"
112
+ @click.stop="clear"
113
+ />
114
+ </div>
100
115
  </template>
101
116
 
102
117
  <script setup lang="ts">
@@ -122,6 +137,8 @@ const props = withDefaults(
122
137
  api?: string | (() => Promise<unknown>)
123
138
  /** 面板内按 label/value 模糊搜索;默认开启 */
124
139
  filterable?: boolean
140
+ /** 有值时展示清除图标,点击置空 */
141
+ clearable?: boolean
125
142
  }>(),
126
143
  {
127
144
  labelKey: 'label',
@@ -129,12 +146,13 @@ const props = withDefaults(
129
146
  refreshOnChange: true,
130
147
  width: '100%',
131
148
  filterable: true,
149
+ clearable: true,
132
150
  },
133
151
  )
134
152
 
135
153
  const emit = defineEmits<{
136
- 'update:modelValue': [v: string | number | boolean]
137
- change: [v: string | number | boolean]
154
+ 'update:modelValue': [v: string | number | boolean | '']
155
+ change: [v: string | number | boolean | '']
138
156
  }>()
139
157
 
140
158
  const crud = useCrud()
@@ -154,6 +172,8 @@ const inner = computed(() =>
154
172
  : String(props.modelValue),
155
173
  )
156
174
 
175
+ const hasValue = computed(() => inner.value !== '')
176
+
157
177
  const isFullWidth = computed(
158
178
  () => !props.width || props.width === '100%' || props.width === '100',
159
179
  )
@@ -243,6 +263,11 @@ function clearSearch() {
243
263
  searchRef.value?.focus()
244
264
  }
245
265
 
266
+ function clear() {
267
+ closePanel()
268
+ onChange('')
269
+ }
270
+
246
271
  function syncPanelPos() {
247
272
  const el = triggerRef.value
248
273
  if (!el) return
@@ -382,6 +407,44 @@ onUnmounted(() => {
382
407
  font-size: 14px;
383
408
  }
384
409
 
410
+ .vm-select__clear {
411
+ flex: 0 0 auto;
412
+ color: var(--muted-foreground);
413
+ font-size: 14px;
414
+ cursor: pointer;
415
+
416
+ &:hover {
417
+ color: var(--foreground);
418
+ }
419
+ }
420
+
421
+ .vm-select--native {
422
+ position: relative;
423
+ box-sizing: border-box;
424
+ min-width: 0;
425
+
426
+ &.is-full {
427
+ width: 100%;
428
+ }
429
+
430
+ &.is-disabled {
431
+ opacity: 0.55;
432
+ pointer-events: none;
433
+ }
434
+
435
+ .vm-select__clear {
436
+ position: absolute;
437
+ top: 50%;
438
+ right: 28px;
439
+ z-index: 1;
440
+ transform: translateY(-50%);
441
+ }
442
+
443
+ :deep(.vm-crud-select.has-clear) {
444
+ padding-right: 52px;
445
+ }
446
+ }
447
+
385
448
  .vm-select__panel {
386
449
  display: flex;
387
450
  max-height: min(280px, 45vh);
@@ -1 +1 @@
1
- (function(_0xe19a9b,_0x5afb76){const _0xda97c9=_0x24a3,_0x47e158=_0xe19a9b();while(!![]){try{const _0x863e73=-parseInt(_0xda97c9(0x18c))/0x1*(parseInt(_0xda97c9(0x18b))/0x2)+-parseInt(_0xda97c9(0x18e))/0x3*(-parseInt(_0xda97c9(0x191))/0x4)+parseInt(_0xda97c9(0x185))/0x5+-parseInt(_0xda97c9(0x18f))/0x6*(parseInt(_0xda97c9(0x186))/0x7)+parseInt(_0xda97c9(0x18d))/0x8*(-parseInt(_0xda97c9(0x187))/0x9)+parseInt(_0xda97c9(0x190))/0xa*(parseInt(_0xda97c9(0x189))/0xb)+parseInt(_0xda97c9(0x195))/0xc;if(_0x863e73===_0x5afb76)break;else _0x47e158['push'](_0x47e158['shift']());}catch(_0x284e40){_0x47e158['push'](_0x47e158['shift']());}}}(_0x39b5,0x54c03));function _0x24a3(_0x2fb6c1,_0x56b6e0){_0x2fb6c1=_0x2fb6c1-0x184;const _0x39b570=_0x39b5();let _0x24a33c=_0x39b570[_0x2fb6c1];if(_0x24a3['pwbECv']===undefined){var _0x14e454=function(_0x5518d9){const _0xd0bd05='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x131cbc='',_0x1988e6='';for(let _0x3729a0=0x0,_0x294ed2,_0x1a31dc,_0x2c1be0=0x0;_0x1a31dc=_0x5518d9['charAt'](_0x2c1be0++);~_0x1a31dc&&(_0x294ed2=_0x3729a0%0x4?_0x294ed2*0x40+_0x1a31dc:_0x1a31dc,_0x3729a0++%0x4)?_0x131cbc+=String['fromCharCode'](0xff&_0x294ed2>>(-0x2*_0x3729a0&0x6)):0x0){_0x1a31dc=_0xd0bd05['indexOf'](_0x1a31dc);}for(let _0x329795=0x0,_0x34fd28=_0x131cbc['length'];_0x329795<_0x34fd28;_0x329795++){_0x1988e6+='%'+('00'+_0x131cbc['charCodeAt'](_0x329795)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1988e6);};_0x24a3['DAeuxS']=_0x14e454,_0x24a3['mrppGo']={},_0x24a3['pwbECv']=!![];}const _0x5e3c6f=_0x39b570[0x0],_0xde5ef6=_0x2fb6c1+_0x5e3c6f,_0x47faab=_0x24a3['mrppGo'][_0xde5ef6];return!_0x47faab?(_0x24a33c=_0x24a3['DAeuxS'](_0x24a33c),_0x24a3['mrppGo'][_0xde5ef6]=_0x24a33c):_0x24a33c=_0x47faab,_0x24a33c;}import{getCrudConfig}from'./style';import{CRUD_LABELS,DEFAULT_CRUD_DICT}from'./dict';export{CRUD_LABELS,DEFAULT_CRUD_DICT};const DEFAULT_CRUD_PERMISSION={'page':!![],'list':!![],'info':!![],'add':![],'delete':![],'update':![],'restore':![]};function _0x39b5(){const _0x4718fe=['mJyWnJjUAhPvzMS','mZGZodK2zvPXqwDq','m3rKrLnuuG','mZaXmty4mNLYwxv2wa','ntbKALLxEui','mty5mti0uKLQuwLM','zgLJDa','C2vHCMnO','C29YDa','mtyWndeWmtjtvfD4sgS','CgfNAw5HDgLVBG','mZG1oteWCffiy3LI','n0LKAxDIqW','mta4DNjXvw1N','yxbP','ndu4ndH0vhzsChu','BgfIzwW','ngfkDNrvsW'];_0x39b5=function(){return _0x4718fe;};return _0x39b5();}export function mergeDict(_0x131cbc){const _0x49fbc7=_0x24a3,_0x1988e6=getCrudConfig()[_0x49fbc7(0x192)];if(!_0x131cbc)return{..._0x1988e6,'label':{..._0x1988e6[_0x49fbc7(0x18a)]}};return{..._0x1988e6,..._0x131cbc,'api':{..._0x1988e6[_0x49fbc7(0x188)],..._0x131cbc['api']},'pagination':{..._0x1988e6[_0x49fbc7(0x184)],..._0x131cbc[_0x49fbc7(0x184)]},'search':{..._0x1988e6[_0x49fbc7(0x193)],..._0x131cbc[_0x49fbc7(0x193)]},'sort':{..._0x1988e6[_0x49fbc7(0x194)],..._0x131cbc[_0x49fbc7(0x194)]},'label':{..._0x1988e6['label'],..._0x131cbc['label']}};}export function mergePermission(_0x3729a0,_0x294ed2){return{...DEFAULT_CRUD_PERMISSION,..._0x294ed2,..._0x3729a0};}
1
+ function _0x3e1b(){const _0x26d334=['zgLJDa','nJn4vhLYvgq','ndaYndm0mgfhBhnQCW','mtC0mJi0nen3zgD0zW','mtHUtLrmq24','mZu5ota2vffJAMPY','CgfNAw5HDgLVBG','C29YDa','mJK4mdC1mKfMzwzmva','BgfIzwW','oda3otK3zwndugHk','C2vHCMnO','yxbP','mJi0ndC0ofnQvuHxCq','ody4ndiYvxHguujV'];_0x3e1b=function(){return _0x26d334;};return _0x3e1b();}(function(_0x2972eb,_0x260e66){const _0x468814=_0x1c97,_0x158cce=_0x2972eb();while(!![]){try{const _0x3e5f3c=-parseInt(_0x468814(0x7a))/0x1+parseInt(_0x468814(0x75))/0x2*(-parseInt(_0x468814(0x74))/0x3)+-parseInt(_0x468814(0x6e))/0x4+parseInt(_0x468814(0x72))/0x5+-parseInt(_0x468814(0x6f))/0x6+-parseInt(_0x468814(0x73))/0x7+parseInt(_0x468814(0x78))/0x8*(parseInt(_0x468814(0x71))/0x9);if(_0x3e5f3c===_0x260e66)break;else _0x158cce['push'](_0x158cce['shift']());}catch(_0x31f87f){_0x158cce['push'](_0x158cce['shift']());}}}(_0x3e1b,0x8b47f));import{getCrudConfig}from'./style';import{CRUD_LABELS,DEFAULT_CRUD_DICT}from'./dict';export{CRUD_LABELS,DEFAULT_CRUD_DICT};const DEFAULT_CRUD_PERMISSION={'page':!![],'list':!![],'info':!![],'add':![],'delete':![],'update':![],'restore':![]};function _0x1c97(_0x1f6de1,_0x6ac021){_0x1f6de1=_0x1f6de1-0x6e;const _0x3e1bf9=_0x3e1b();let _0x1c97ab=_0x3e1bf9[_0x1f6de1];if(_0x1c97['zCGesy']===undefined){var _0x5504c6=function(_0x295675){const _0x108fee='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5961e2='',_0x4b4849='';for(let _0x23f3ba=0x0,_0x4a915b,_0x31dc28,_0xdeca9d=0x0;_0x31dc28=_0x295675['charAt'](_0xdeca9d++);~_0x31dc28&&(_0x4a915b=_0x23f3ba%0x4?_0x4a915b*0x40+_0x31dc28:_0x31dc28,_0x23f3ba++%0x4)?_0x5961e2+=String['fromCharCode'](0xff&_0x4a915b>>(-0x2*_0x23f3ba&0x6)):0x0){_0x31dc28=_0x108fee['indexOf'](_0x31dc28);}for(let _0x291e7b=0x0,_0x183cea=_0x5961e2['length'];_0x291e7b<_0x183cea;_0x291e7b++){_0x4b4849+='%'+('00'+_0x5961e2['charCodeAt'](_0x291e7b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b4849);};_0x1c97['QFXNdA']=_0x5504c6,_0x1c97['BViXfM']={},_0x1c97['zCGesy']=!![];}const _0x127efd=_0x3e1bf9[0x0],_0x12bed0=_0x1f6de1+_0x127efd,_0x3dcfdf=_0x1c97['BViXfM'][_0x12bed0];return!_0x3dcfdf?(_0x1c97ab=_0x1c97['QFXNdA'](_0x1c97ab),_0x1c97['BViXfM'][_0x12bed0]=_0x1c97ab):_0x1c97ab=_0x3dcfdf,_0x1c97ab;}export function mergeDict(_0x5961e2){const _0x5b91ab=_0x1c97,_0x4b4849=getCrudConfig()[_0x5b91ab(0x70)];if(!_0x5961e2)return{..._0x4b4849,'label':{..._0x4b4849[_0x5b91ab(0x79)]}};return{..._0x4b4849,..._0x5961e2,'api':{..._0x4b4849['api'],..._0x5961e2[_0x5b91ab(0x7c)]},'pagination':{..._0x4b4849[_0x5b91ab(0x76)],..._0x5961e2[_0x5b91ab(0x76)]},'search':{..._0x4b4849[_0x5b91ab(0x7b)],..._0x5961e2[_0x5b91ab(0x7b)]},'sort':{..._0x4b4849[_0x5b91ab(0x77)],..._0x5961e2['sort']},'label':{..._0x4b4849[_0x5b91ab(0x79)],..._0x5961e2[_0x5b91ab(0x79)]}};}export function mergePermission(_0x23f3ba,_0x4a915b){return{...DEFAULT_CRUD_PERMISSION,..._0x4a915b,..._0x23f3ba};}
@@ -1 +1 @@
1
- function _0x5782(_0x26368d,_0x33c002){_0x26368d=_0x26368d-0x1a8;const _0x1ec38a=_0x1ec3();let _0x5782db=_0x1ec38a[_0x26368d];if(_0x5782['QUNBxe']===undefined){var _0xe6e596=function(_0x33ca57){const _0x37149e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x7ded6e='',_0x19c901='';for(let _0x1add7d=0x0,_0x1d707a,_0x5615a2,_0x15cc85=0x0;_0x5615a2=_0x33ca57['charAt'](_0x15cc85++);~_0x5615a2&&(_0x1d707a=_0x1add7d%0x4?_0x1d707a*0x40+_0x5615a2:_0x5615a2,_0x1add7d++%0x4)?_0x7ded6e+=String['fromCharCode'](0xff&_0x1d707a>>(-0x2*_0x1add7d&0x6)):0x0){_0x5615a2=_0x37149e['indexOf'](_0x5615a2);}for(let _0x1e0f2d=0x0,_0x3c6cea=_0x7ded6e['length'];_0x1e0f2d<_0x3c6cea;_0x1e0f2d++){_0x19c901+='%'+('00'+_0x7ded6e['charCodeAt'](_0x1e0f2d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x19c901);};_0x5782['WJGfSS']=_0xe6e596,_0x5782['mYRLsS']={},_0x5782['QUNBxe']=!![];}const _0x233683=_0x1ec38a[0x0],_0x3287b0=_0x26368d+_0x233683,_0x4529b1=_0x5782['mYRLsS'][_0x3287b0];return!_0x4529b1?(_0x5782db=_0x5782['WJGfSS'](_0x5782db),_0x5782['mYRLsS'][_0x3287b0]=_0x5782db):_0x5782db=_0x4529b1,_0x5782db;}const _0x27f2a3=_0x5782;(function(_0x57a94d,_0x2017c2){const _0x444721=_0x5782,_0x24c971=_0x57a94d();while(!![]){try{const _0x4eb6fd=-parseInt(_0x444721(0x1c7))/0x1*(parseInt(_0x444721(0x1b2))/0x2)+-parseInt(_0x444721(0x1b7))/0x3*(parseInt(_0x444721(0x1aa))/0x4)+parseInt(_0x444721(0x1a8))/0x5*(-parseInt(_0x444721(0x1b9))/0x6)+-parseInt(_0x444721(0x1a9))/0x7+parseInt(_0x444721(0x1bd))/0x8+-parseInt(_0x444721(0x1bc))/0x9+-parseInt(_0x444721(0x1b5))/0xa*(-parseInt(_0x444721(0x1ac))/0xb);if(_0x4eb6fd===_0x2017c2)break;else _0x24c971['push'](_0x24c971['shift']());}catch(_0x5cf56c){_0x24c971['push'](_0x24c971['shift']());}}}(_0x1ec3,0x600b4));import{createApp,h,ref}from'vue';import{Dialog,DialogContent,DialogFooter,DialogHeader,DialogTitle}from'#vome-host/components/ui/dialog';function _0x1ec3(){const _0xc38df2=['Dgv4DenVBNrLBNq','DM0Ty29UzMLYBv9FyNrUigLZlwDOB3n0','mtbtC216Euu','AgvHza','DM0Ty29UzMLYBv9FzM9VDa','mtmYmtbNBerpqve','yNv0Dg9U','nZmYmJKXtwvhC1vh','DM0Ty29UzMLYBs1ZDhLSzq','mJiXntaZohDzDgH4Aa','DM0Ty29UzMLYBv9FDgL0Bgu','DM0Ty29UzMLYBv9FyNrUigLZlxbYAw1HCNK','mZq4nZa3n2vWuwDPBW','mZCXnta4menjAxfqvq','z2v0rwXLBwvUDej5swq','y3jLyxrLrwXLBwvUDa','DM0Ty29UzMLYBv9FyM9KEq','C3r5Bgu','zgL2','y29UzMLYBvrLEhq','DMfSDwu','DgL0Bgu','DM0Ty29UzMLYBv9FAgvHza','ndy2otzIz0zxDu4','yxbWzw5Kq2HPBgq','C3rYAw5N','nuHpB0Trtq','mtu3nJa5ou1Iqun1sW','nfnRExP4ta','BwvZC2fNzq','mte1nJfPAhHmwxK','yM9KEq','CMvTB3zL','DM0Ty29UzMLYBq'];_0x1ec3=function(){return _0xc38df2;};return _0x1ec3();}export function vmConfirm(_0x7ded6e){const _0x545258=_0x5782,_0x19c901=typeof _0x7ded6e===_0x545258(0x1c9)?{'message':_0x7ded6e}:_0x7ded6e;return new Promise(_0x1add7d=>{const _0x18d404=_0x545258,_0x1d707a=ref(!![]),_0x5615a2=document[_0x18d404(0x1bf)]('div');document[_0x18d404(0x1ad)][_0x18d404(0x1c8)](_0x5615a2);const _0x15cc85=createApp({'setup'(){const _0x517b2=_0x18d404;function _0x1e0f2d(_0x3c6cea){_0x1d707a['value']=![],_0x1add7d(_0x3c6cea),setTimeout(()=>{const _0x18f389=_0x5782;_0x15cc85['unmount'](),_0x5615a2[_0x18f389(0x1ae)]();},0xc8);}return()=>h(Dialog,{'open':_0x1d707a[_0x517b2(0x1c4)],'onUpdate:open':_0x5af933=>{if(!_0x5af933)_0x1e0f2d(![]);}},{'default':()=>h(DialogContent,{'class':_0x517b2(0x1af),'showCloseButton':![]},{'default':()=>[h(DialogHeader,{'class':_0x517b2(0x1c6)},()=>h(DialogTitle,{'class':_0x517b2(0x1ba)},()=>_0x19c901[_0x517b2(0x1c5)]||'提示')),h(_0x517b2(0x1c2),{'class':_0x517b2(0x1c0)},_0x19c901[_0x517b2(0x1ab)]),h(DialogFooter,{'class':_0x517b2(0x1b4)},()=>[h(_0x517b2(0x1b6),{'type':_0x517b2(0x1b6),'class':_0x517b2(0x1b1),'onClick':()=>_0x1e0f2d(![])},_0x19c901['cancelText']||'取消'),h('button',{'type':_0x517b2(0x1b6),'class':_0x517b2(0x1bb),'onClick':()=>_0x1e0f2d(!![])},_0x19c901[_0x517b2(0x1c3)]||'确定')])]})});}});_0x15cc85['mount'](_0x5615a2);});}if(typeof document!=='undefined'&&!document[_0x27f2a3(0x1be)](_0x27f2a3(0x1b8))){const style=document['createElement'](_0x27f2a3(0x1c1));style['id']=_0x27f2a3(0x1b8),style[_0x27f2a3(0x1b0)]='\x0a.vm-confirm[data-slot=\x27dialog-content\x27]\x20{\x0a\x20\x20width:\x20min(400px,\x20calc(100vw\x20-\x2032px))\x20!important;\x0a\x20\x20max-width:\x20min(400px,\x20calc(100vw\x20-\x2032px))\x20!important;\x0a\x20\x20gap:\x200\x20!important;\x0a\x20\x20padding:\x200\x20!important;\x0a\x20\x20border:\x20none\x20!important;\x0a\x20\x20border-radius:\x2024px\x20!important;\x0a\x20\x20box-shadow:\x20var(--shadow-soft)\x20!important;\x0a}\x0a.vm-confirm__head\x20{\x20padding:\x2018px\x2022px\x200;\x20border-bottom:\x20none;\x20}\x0a.vm-confirm__title\x20{\x20font-size:\x2016px;\x20font-weight:\x20650;\x20}\x0a.vm-confirm__body\x20{\x0a\x20\x20padding:\x2012px\x2022px\x208px;\x0a\x20\x20color:\x20var(--foreground);\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.6;\x0a}\x0a.vm-confirm__foot\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20justify-content:\x20flex-end;\x0a\x20\x20gap:\x208px;\x0a\x20\x20padding:\x2014px\x2022px;\x0a}\x0a.vm-confirm__btn\x20{\x0a\x20\x20height:\x2036px;\x0a\x20\x20padding:\x200\x2016px;\x0a\x20\x20border:\x20none;\x0a\x20\x20border-radius:\x2012px;\x0a\x20\x20font-size:\x2013px;\x0a\x20\x20font-weight:\x20600;\x0a\x20\x20cursor:\x20pointer;\x0a}\x0a.vm-confirm__btn.is-primary\x20{\x20background:\x20var(--brand);\x20color:\x20#fff;\x20}\x0a.vm-confirm__btn.is-primary:hover\x20{\x20background:\x20var(--brand-deep);\x20}\x0a.vm-confirm__btn.is-ghost\x20{\x20background:\x20var(--muted);\x20color:\x20var(--foreground);\x20}\x0a',document[_0x27f2a3(0x1b3)][_0x27f2a3(0x1c8)](style);}
1
+ const _0x4a92ca=_0x5aec;function _0x5aec(_0x4af019,_0x5426a3){_0x4af019=_0x4af019-0x1a0;const _0x5368ac=_0x5368();let _0x5aece6=_0x5368ac[_0x4af019];if(_0x5aec['yhxgDm']===undefined){var _0x3b7d1b=function(_0x1ed273){const _0xfedd01='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa1dc64='',_0x5528a5='';for(let _0x702066=0x0,_0x3ceec9,_0x3071fd,_0x584c4a=0x0;_0x3071fd=_0x1ed273['charAt'](_0x584c4a++);~_0x3071fd&&(_0x3ceec9=_0x702066%0x4?_0x3ceec9*0x40+_0x3071fd:_0x3071fd,_0x702066++%0x4)?_0xa1dc64+=String['fromCharCode'](0xff&_0x3ceec9>>(-0x2*_0x702066&0x6)):0x0){_0x3071fd=_0xfedd01['indexOf'](_0x3071fd);}for(let _0x33bc5b=0x0,_0xfc16ea=_0xa1dc64['length'];_0x33bc5b<_0xfc16ea;_0x33bc5b++){_0x5528a5+='%'+('00'+_0xa1dc64['charCodeAt'](_0x33bc5b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5528a5);};_0x5aec['oYldPX']=_0x3b7d1b,_0x5aec['kRxEJA']={},_0x5aec['yhxgDm']=!![];}const _0x17dc6e=_0x5368ac[0x0],_0x540178=_0x4af019+_0x17dc6e,_0x8d1102=_0x5aec['kRxEJA'][_0x540178];return!_0x8d1102?(_0x5aece6=_0x5aec['oYldPX'](_0x5aece6),_0x5aec['kRxEJA'][_0x540178]=_0x5aece6):_0x5aece6=_0x8d1102,_0x5aece6;}(function(_0x2367bc,_0x3c4419){const _0x57139f=_0x5aec,_0x43b5aa=_0x2367bc();while(!![]){try{const _0x551f2f=-parseInt(_0x57139f(0x1b6))/0x1*(parseInt(_0x57139f(0x1a2))/0x2)+parseInt(_0x57139f(0x1a7))/0x3*(-parseInt(_0x57139f(0x1b4))/0x4)+parseInt(_0x57139f(0x1b2))/0x5+parseInt(_0x57139f(0x1a9))/0x6+parseInt(_0x57139f(0x1c3))/0x7*(-parseInt(_0x57139f(0x1af))/0x8)+-parseInt(_0x57139f(0x1a1))/0x9+-parseInt(_0x57139f(0x1b1))/0xa*(-parseInt(_0x57139f(0x1c2))/0xb);if(_0x551f2f===_0x3c4419)break;else _0x43b5aa['push'](_0x43b5aa['shift']());}catch(_0x4a6682){_0x43b5aa['push'](_0x43b5aa['shift']());}}}(_0x5368,0x7d4fa));import{createApp,h,ref}from'vue';import{Dialog,DialogContent,DialogFooter,DialogHeader,DialogTitle}from'#vome-host/components/ui/dialog';function _0x5368(){const _0x472d2b=['Dgv4DenVBNrLBNq','mJy5ndu4mZfJBxHJruW','nZG4mJDNvLDhBgC','DM0Ty29UzMLYBv9FDgL0Bgu','odC3mtK0mhLzBKXhsq','nZHizKrtwgS','DM0Ty29UzMLYBv9FyM9KEq','BwvZC2fNzq','Dw5KzwzPBMvK','DMfSDwu','odKWnZzQCKvlsgG','yxbWzw5Kq2HPBgq','mJyXotbrt1HRvgC','DM0Ty29UzMLYBq','DM0Ty29UzMLYBv9FyNrUigLZlwDOB3n0','DM0Ty29UzMLYBs1ZDhLSzq','DM0Ty29UzMLYBv9FAgvHza','Bw91BNq','mJmYD3bJEvHy','yNv0Dg9U','mtbmuhvQtNy','nty2mJe1suPIwfvk','Dw5TB3vUDa','mZjHsMvZB1C','DM0Ty29UzMLYBv9FyNrUigLZlxbYAw1HCNK','mtmYmtbqtNzrDNK','yM9KEq','zgL2','C3r5Bgu','y2fUy2vSvgv4Da','C3rYAw5N','z2v0rwXLBwvUDej5swq','y29UzMLYBvrLEhq','y3jLyxrLrwXLBwvUDa','DgL0Bgu','AgvHza'];_0x5368=function(){return _0x472d2b;};return _0x5368();}export function vmConfirm(_0xa1dc64){const _0x4c1a15=_0x5aec,_0x5528a5=typeof _0xa1dc64===_0x4c1a15(0x1bb)?{'message':_0xa1dc64}:_0xa1dc64;return new Promise(_0x702066=>{const _0x2bf4e9=_0x4c1a15,_0x3ceec9=ref(!![]),_0x3071fd=document[_0x2bf4e9(0x1be)]('div');document[_0x2bf4e9(0x1b7)][_0x2bf4e9(0x1a8)](_0x3071fd);const _0x584c4a=createApp({'setup'(){const _0x5d9682=_0x2bf4e9;function _0x33bc5b(_0xfc16ea){const _0xc87ce6=_0x5aec;_0x3ceec9[_0xc87ce6(0x1a6)]=![],_0x702066(_0xfc16ea),setTimeout(()=>{const _0x34ffab=_0xc87ce6;_0x584c4a[_0x34ffab(0x1b3)](),_0x3071fd['remove']();},0xc8);}return()=>h(Dialog,{'open':_0x3ceec9[_0x5d9682(0x1a6)],'onUpdate:open':_0x56a4a3=>{if(!_0x56a4a3)_0x33bc5b(![]);}},{'default':()=>h(DialogContent,{'class':_0x5d9682(0x1aa),'showCloseButton':![]},{'default':()=>[h(DialogHeader,{'class':_0x5d9682(0x1ad)},()=>h(DialogTitle,{'class':_0x5d9682(0x1a0)},()=>_0x5528a5[_0x5d9682(0x1bf)]||'提示')),h(_0x5d9682(0x1b8),{'class':_0x5d9682(0x1a3)},_0x5528a5[_0x5d9682(0x1a4)]),h(DialogFooter,{'class':'vm-confirm__foot'},()=>[h(_0x5d9682(0x1b0),{'type':_0x5d9682(0x1b0),'class':_0x5d9682(0x1ab),'onClick':()=>_0x33bc5b(![])},_0x5528a5[_0x5d9682(0x1ba)]||'取消'),h('button',{'type':_0x5d9682(0x1b0),'class':_0x5d9682(0x1b5),'onClick':()=>_0x33bc5b(!![])},_0x5528a5[_0x5d9682(0x1bd)]||'确定')])]})});}});_0x584c4a[_0x2bf4e9(0x1ae)](_0x3071fd);});}if(typeof document!==_0x4a92ca(0x1a5)&&!document[_0x4a92ca(0x1bc)](_0x4a92ca(0x1ac))){const style=document[_0x4a92ca(0x1be)](_0x4a92ca(0x1b9));style['id']=_0x4a92ca(0x1ac),style[_0x4a92ca(0x1c1)]='\x0a.vm-confirm[data-slot=\x27dialog-content\x27]\x20{\x0a\x20\x20width:\x20min(400px,\x20calc(100vw\x20-\x2032px))\x20!important;\x0a\x20\x20max-width:\x20min(400px,\x20calc(100vw\x20-\x2032px))\x20!important;\x0a\x20\x20gap:\x200\x20!important;\x0a\x20\x20padding:\x200\x20!important;\x0a\x20\x20border:\x20none\x20!important;\x0a\x20\x20border-radius:\x2024px\x20!important;\x0a\x20\x20box-shadow:\x20var(--shadow-soft)\x20!important;\x0a}\x0a.vm-confirm__head\x20{\x20padding:\x2018px\x2022px\x200;\x20border-bottom:\x20none;\x20}\x0a.vm-confirm__title\x20{\x20font-size:\x2016px;\x20font-weight:\x20650;\x20}\x0a.vm-confirm__body\x20{\x0a\x20\x20padding:\x2012px\x2022px\x208px;\x0a\x20\x20color:\x20var(--foreground);\x0a\x20\x20font-size:\x2014px;\x0a\x20\x20line-height:\x201.6;\x0a}\x0a.vm-confirm__foot\x20{\x0a\x20\x20display:\x20flex;\x0a\x20\x20justify-content:\x20flex-end;\x0a\x20\x20gap:\x208px;\x0a\x20\x20padding:\x2014px\x2022px;\x0a}\x0a.vm-confirm__btn\x20{\x0a\x20\x20height:\x2036px;\x0a\x20\x20padding:\x200\x2016px;\x0a\x20\x20border:\x20none;\x0a\x20\x20border-radius:\x2012px;\x0a\x20\x20font-size:\x2013px;\x0a\x20\x20font-weight:\x20600;\x0a\x20\x20cursor:\x20pointer;\x0a}\x0a.vm-confirm__btn.is-primary\x20{\x20background:\x20var(--brand);\x20color:\x20#fff;\x20}\x0a.vm-confirm__btn.is-primary:hover\x20{\x20background:\x20var(--brand-deep);\x20}\x0a.vm-confirm__btn.is-ghost\x20{\x20background:\x20var(--muted);\x20color:\x20var(--foreground);\x20}\x0a',document[_0x4a92ca(0x1c0)]['appendChild'](style);}
@@ -1 +1 @@
1
- function _0x2739(){const _0x48b206=['BgvUz3rO','ote5mKP4wgPwsG','AxnbCNjHEq','nde5otaYmMnXr0zSzq','nJKWmJK4n0roq1fHuq','CgfNAw5HDgLVBG','mZe3ndm1BKTorer5','mJy1qxnPAvD2','mZKWote1nNfsr3DODa','mtmYmZaYnKTlz3H6BW','BgLZDa','mteXmZu3ndrYDvDSzue','w3zTlwnYDwrDig9UuMvMCMvZAcdMNkRPGjROV4CGBMv4Dc9Yzw5KzxiG6l+u5zUE5yIx6kgO5PwW5O2U'];_0x2739=function(){return _0x48b206;};return _0x2739();}function _0x3eef(_0x2c9bf1,_0x3958e7){_0x2c9bf1=_0x2c9bf1-0x1ab;const _0x273971=_0x2739();let _0x3eef75=_0x273971[_0x2c9bf1];if(_0x3eef['dAXGOi']===undefined){var _0x105498=function(_0x1d743f){const _0x297c83='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5119db='',_0x3496e5='';for(let _0x5c3195=0x0,_0x15d21e,_0x1c2020,_0x331b69=0x0;_0x1c2020=_0x1d743f['charAt'](_0x331b69++);~_0x1c2020&&(_0x15d21e=_0x5c3195%0x4?_0x15d21e*0x40+_0x1c2020:_0x1c2020,_0x5c3195++%0x4)?_0x5119db+=String['fromCharCode'](0xff&_0x15d21e>>(-0x2*_0x5c3195&0x6)):0x0){_0x1c2020=_0x297c83['indexOf'](_0x1c2020);}for(let _0x41f781=0x0,_0x4a5066=_0x5119db['length'];_0x41f781<_0x4a5066;_0x41f781++){_0x3496e5+='%'+('00'+_0x5119db['charCodeAt'](_0x41f781)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3496e5);};_0x3eef['YYrZqn']=_0x105498,_0x3eef['FqiOhi']={},_0x3eef['dAXGOi']=!![];}const _0x3878fc=_0x273971[0x0],_0x4d50dd=_0x2c9bf1+_0x3878fc,_0x3a27e4=_0x3eef['FqiOhi'][_0x4d50dd];return!_0x3a27e4?(_0x3eef75=_0x3eef['YYrZqn'](_0x3eef75),_0x3eef['FqiOhi'][_0x4d50dd]=_0x3eef75):_0x3eef75=_0x3a27e4,_0x3eef75;}(function(_0x3823c8,_0x520a2b){const _0x4965f1=_0x3eef,_0x41e9fb=_0x3823c8();while(!![]){try{const _0x1192cb=-parseInt(_0x4965f1(0x1af))/0x1+-parseInt(_0x4965f1(0x1b2))/0x2+-parseInt(_0x4965f1(0x1ac))/0x3+parseInt(_0x4965f1(0x1b7))/0x4*(parseInt(_0x4965f1(0x1b0))/0x5)+parseInt(_0x4965f1(0x1b1))/0x6+parseInt(_0x4965f1(0x1ad))/0x7+parseInt(_0x4965f1(0x1b4))/0x8;if(_0x1192cb===_0x520a2b)break;else _0x41e9fb['push'](_0x41e9fb['shift']());}catch(_0x3cdbf6){_0x41e9fb['push'](_0x41e9fb['shift']());}}}(_0x2739,0xbcac7));function normalizePageResult(_0x5119db){const _0x569ac0=_0x3eef;if(Array[_0x569ac0(0x1ab)](_0x5119db))return{'list':_0x5119db,'pagination':{'total':_0x5119db['length']}};const _0x3496e5=_0x5119db||{};return{'list':_0x3496e5[_0x569ac0(0x1b3)]||[],'pagination':_0x3496e5[_0x569ac0(0x1ae)]};}export async function invokeCrudPageRequest(_0x5c3195){const _0x3b2941=_0x3eef,{body:_0x15d21e,fetch:_0x1c2020,onRefresh:_0x331b69,requestOpts:_0x41f781}=_0x5c3195,_0x4a5066=async _0x166496=>{const _0x198491=await _0x1c2020(_0x166496,_0x41f781);return normalizePageResult(_0x198491);};if(!_0x331b69)return _0x4a5066(_0x15d21e);let _0x6c09c6;await _0x331b69(_0x15d21e,{'next':async(_0x9974c3=_0x15d21e)=>{return _0x6c09c6=await _0x4a5066(_0x9974c3),_0x6c09c6;},'done':()=>{},'render':(_0x3bc575,_0x58a408)=>{const _0x2d00a1=_0x3eef;if(_0x6c09c6)return;if(Array[_0x2d00a1(0x1ab)](_0x3bc575)){_0x6c09c6={'list':_0x3bc575,'pagination':_0x58a408??{'total':_0x3bc575[_0x2d00a1(0x1b6)]}};return;}const _0x40d302=_0x3bc575;_0x6c09c6={'list':_0x40d302[_0x2d00a1(0x1b3)]||[],'pagination':_0x40d302[_0x2d00a1(0x1ae)]??_0x58a408};}});if(!_0x6c09c6)throw new Error(_0x3b2941(0x1b5));return _0x6c09c6;}
1
+ (function(_0x1c1880,_0x120453){const _0x85054c=_0x286e,_0x4dbdb2=_0x1c1880();while(!![]){try{const _0x538060=parseInt(_0x85054c(0x1e5))/0x1+-parseInt(_0x85054c(0x1e2))/0x2+-parseInt(_0x85054c(0x1eb))/0x3*(parseInt(_0x85054c(0x1e3))/0x4)+parseInt(_0x85054c(0x1e1))/0x5*(-parseInt(_0x85054c(0x1de))/0x6)+parseInt(_0x85054c(0x1e8))/0x7+-parseInt(_0x85054c(0x1df))/0x8*(parseInt(_0x85054c(0x1dd))/0x9)+parseInt(_0x85054c(0x1e6))/0xa*(parseInt(_0x85054c(0x1ea))/0xb);if(_0x538060===_0x120453)break;else _0x4dbdb2['push'](_0x4dbdb2['shift']());}catch(_0x3efae9){_0x4dbdb2['push'](_0x4dbdb2['shift']());}}}(_0x4647,0x3985a));function normalizePageResult(_0x4c9cfe){const _0x500f44=_0x286e;if(Array[_0x500f44(0x1e9)](_0x4c9cfe))return{'list':_0x4c9cfe,'pagination':{'total':_0x4c9cfe['length']}};const _0x4a141c=_0x4c9cfe||{};return{'list':_0x4a141c[_0x500f44(0x1ec)]||[],'pagination':_0x4a141c[_0x500f44(0x1e4)]};}function _0x286e(_0x19e766,_0x355a58){_0x19e766=_0x19e766-0x1dd;const _0x46478a=_0x4647();let _0x286e8a=_0x46478a[_0x19e766];if(_0x286e['EBapWI']===undefined){var _0x3a694c=function(_0x5640fa){const _0x2da6f9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c9cfe='',_0x4a141c='';for(let _0x2b771f=0x0,_0xe03e02,_0x439d3a,_0x274817=0x0;_0x439d3a=_0x5640fa['charAt'](_0x274817++);~_0x439d3a&&(_0xe03e02=_0x2b771f%0x4?_0xe03e02*0x40+_0x439d3a:_0x439d3a,_0x2b771f++%0x4)?_0x4c9cfe+=String['fromCharCode'](0xff&_0xe03e02>>(-0x2*_0x2b771f&0x6)):0x0){_0x439d3a=_0x2da6f9['indexOf'](_0x439d3a);}for(let _0x5161c5=0x0,_0x14be88=_0x4c9cfe['length'];_0x5161c5<_0x14be88;_0x5161c5++){_0x4a141c+='%'+('00'+_0x4c9cfe['charCodeAt'](_0x5161c5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4a141c);};_0x286e['QGwniT']=_0x3a694c,_0x286e['vEFrAM']={},_0x286e['EBapWI']=!![];}const _0xf3c6fc=_0x46478a[0x0],_0x44a641=_0x19e766+_0xf3c6fc,_0x4b82f8=_0x286e['vEFrAM'][_0x44a641];return!_0x4b82f8?(_0x286e8a=_0x286e['QGwniT'](_0x286e8a),_0x286e['vEFrAM'][_0x44a641]=_0x286e8a):_0x286e8a=_0x4b82f8,_0x286e8a;}function _0x4647(){const _0x303e81=['CgfNAw5HDgLVBG','mtmZmtm0C294s0fP','mti3mte2nJbID1HRCge','BgvUz3rO','mZmXmdC5DMTOBfz2','AxnbCNjHEq','mtf4v3LOB3m','mJC2mZG3r05UtfLZ','BgLZDa','ow1UBvnptq','ntmYota4wfv3svnn','mtu5mZGXnLrQCKDzBq','w3zTlwnYDwrDig9UuMvMCMvZAcdMNkRPGjROV4CGBMv4Dc9Yzw5KzxiG6l+u5zUE5yIx6kgO5PwW5O2U','mJvWC0n6rvC','mJi0mduWq1vbzMLZ','mJbwy2rYA0O'];_0x4647=function(){return _0x303e81;};return _0x4647();}export async function invokeCrudPageRequest(_0x2b771f){const _0xfd35b0=_0x286e,{body:_0xe03e02,fetch:_0x439d3a,onRefresh:_0x274817,requestOpts:_0x5161c5}=_0x2b771f,_0x14be88=async _0xd74b4f=>{const _0x17b734=await _0x439d3a(_0xd74b4f,_0x5161c5);return normalizePageResult(_0x17b734);};if(!_0x274817)return _0x14be88(_0xe03e02);let _0x519b2f;await _0x274817(_0xe03e02,{'next':async(_0xaca7ca=_0xe03e02)=>{return _0x519b2f=await _0x14be88(_0xaca7ca),_0x519b2f;},'done':()=>{},'render':(_0x2dec6d,_0x59ab63)=>{const _0x57d974=_0x286e;if(_0x519b2f)return;if(Array['isArray'](_0x2dec6d)){_0x519b2f={'list':_0x2dec6d,'pagination':_0x59ab63??{'total':_0x2dec6d[_0x57d974(0x1e7)]}};return;}const _0x155cc6=_0x2dec6d;_0x519b2f={'list':_0x155cc6['list']||[],'pagination':_0x155cc6[_0x57d974(0x1e4)]??_0x59ab63};}});if(!_0x519b2f)throw new Error(_0xfd35b0(0x1e0));return _0x519b2f;}
@@ -1 +1 @@
1
- const _0x3544b9=_0x39dd;function _0x39dd(_0x812017,_0xe5400b){_0x812017=_0x812017-0x1ad;const _0x58ff68=_0x58ff();let _0x39ddce=_0x58ff68[_0x812017];if(_0x39dd['hnlKWm']===undefined){var _0x35a403=function(_0x3a3b6d){const _0x1ab80b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4526ac='',_0x1f459b='';for(let _0x94ecff=0x0,_0x42e36d,_0x3ca98c,_0x324204=0x0;_0x3ca98c=_0x3a3b6d['charAt'](_0x324204++);~_0x3ca98c&&(_0x42e36d=_0x94ecff%0x4?_0x42e36d*0x40+_0x3ca98c:_0x3ca98c,_0x94ecff++%0x4)?_0x4526ac+=String['fromCharCode'](0xff&_0x42e36d>>(-0x2*_0x94ecff&0x6)):0x0){_0x3ca98c=_0x1ab80b['indexOf'](_0x3ca98c);}for(let _0x5126d6=0x0,_0x43fe82=_0x4526ac['length'];_0x5126d6<_0x43fe82;_0x5126d6++){_0x1f459b+='%'+('00'+_0x4526ac['charCodeAt'](_0x5126d6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1f459b);};_0x39dd['RZgKhh']=_0x35a403,_0x39dd['EEMlnm']={},_0x39dd['hnlKWm']=!![];}const _0x1c2a53=_0x58ff68[0x0],_0x5b7491=_0x812017+_0x1c2a53,_0x1d55c3=_0x39dd['EEMlnm'][_0x5b7491];return!_0x1d55c3?(_0x39ddce=_0x39dd['RZgKhh'](_0x39ddce),_0x39dd['EEMlnm'][_0x5b7491]=_0x39ddce):_0x39ddce=_0x1d55c3,_0x39ddce;}(function(_0x3c4270,_0x2d0a5f){const _0x477ddd=_0x39dd,_0x3056cc=_0x3c4270();while(!![]){try{const _0x381deb=parseInt(_0x477ddd(0x1bb))/0x1*(-parseInt(_0x477ddd(0x1bd))/0x2)+-parseInt(_0x477ddd(0x1c1))/0x3*(parseInt(_0x477ddd(0x1b1))/0x4)+parseInt(_0x477ddd(0x1b8))/0x5+parseInt(_0x477ddd(0x1b9))/0x6+parseInt(_0x477ddd(0x1c0))/0x7+parseInt(_0x477ddd(0x1be))/0x8+parseInt(_0x477ddd(0x1c3))/0x9;if(_0x381deb===_0x2d0a5f)break;else _0x3056cc['push'](_0x3056cc['shift']());}catch(_0x1d96c4){_0x3056cc['push'](_0x3056cc['shift']());}}}(_0x58ff,0xb7bb7));function _0x58ff(){const _0x415052=['6k+36l6t5ywL','5Q2K5Pon5l2C5Bcg5Rc45lMf5yIG6zMK6ycj5lIT5PwW5O2U77Ym5PIV5zcM57UN57UT77YF','6ycj5OUPEZb9','A2v5v29Yza','6zQq6jEp5yAf5A65','5lIk5lIa6Ag1','5P+L55Yl5PU05AsA','C29YDa','BgLZDa','zgvSzxrL','C2L6zq','CgfNzq','5zUE5Ps256Uz','ntiXmtjcteTeDwy','5PYa5Bcp5yc8','5lIl5lIa6Ag1','CxvLCNK','6AUy57QN5PcC57sI','5PcC57sIEZb9','5BEY5B275BQv5yIG6zMK','mZaZmduYnwHqtu1wsq','mJq1nZm1ng9MAvrNwq','5BEY5yIG6zMK','mtmXmLnZrfDbsW','DxbKyxrL','nZKWwLLiqKLZ','odq1mdK2ogzquhHdyW','Aw5MBW','nty3nZC3y3PNAxfY','mJC5Chz4v09P','5lIn6io95lI656M6','mJK2mZm4nwXRAezdzG','5PYa5AsN5yc8'];_0x58ff=function(){return _0x415052;};return _0x58ff();}export const CRUD_LABELS={'op':'操作','add':'新增','delete':'删除','multiDelete':'删除','export':'导出','import':'导入','update':'编辑','refresh':'刷新','info':'详情','search':'搜索','reset':'重置','clear':'清空','save':'保存','close':'取消','confirm':'确定','advSearch':_0x3544b9(0x1b5),'searchKey':'搜索关键字','placeholder':_0x3544b9(0x1c5),'tips':'提示','saveSuccess':'保存成功','deleteSuccess':'删除成功','deleteConfirm':'此操作将数据标记为已删除,是否继续?','forceDeleteConfirm':_0x3544b9(0x1c6),'empty':'暂无数据','desc':'降序','asc':'升序','select':'选择','deselect':'取消选择','seeMore':_0x3544b9(0x1cb),'hideContent':_0x3544b9(0x1c9),'nonEmpty':_0x3544b9(0x1c2),'list':'列表','trash':_0x3544b9(0x1b0),'searchNamed':_0x3544b9(0x1b6),'selectNamed':_0x3544b9(0x1c7),'keyword':'关键字','range':'区间','min':_0x3544b9(0x1b2),'max':_0x3544b9(0x1c4),'start':'开始','end':'结束','total':'共\x20{0}\x20条','pageSize':'{0}\x20/\x20页','prevPage':_0x3544b9(0x1ca),'nextPage':_0x3544b9(0x1b3),'jumpPage':'页码','forceDeleted':_0x3544b9(0x1b7),'deleted':_0x3544b9(0x1ba),'restore':'恢复','forceDelete':'彻底删除','loading':'加载中…'};export const DEFAULT_CRUD_DICT={'primaryId':'id','api':{'list':_0x3544b9(0x1cd),'add':'add','update':_0x3544b9(0x1bc),'delete':_0x3544b9(0x1ad),'info':_0x3544b9(0x1bf),'page':_0x3544b9(0x1af)},'pagination':{'page':_0x3544b9(0x1af),'size':_0x3544b9(0x1ae)},'search':{'keyWord':_0x3544b9(0x1c8),'query':_0x3544b9(0x1b4)},'sort':{'prop':'order','order':_0x3544b9(0x1cc)},'label':CRUD_LABELS};
1
+ const _0x45ebab=_0x2ee1;function _0x2ee1(_0x35c750,_0x44b99b){_0x35c750=_0x35c750-0x15f;const _0x49ffa6=_0x49ff();let _0x2ee175=_0x49ffa6[_0x35c750];if(_0x2ee1['gRlaUT']===undefined){var _0x42a556=function(_0x2dac9e){const _0x3ff610='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3c60c4='',_0x1602ba='';for(let _0x474c01=0x0,_0x462c8a,_0x793eb9,_0x212359=0x0;_0x793eb9=_0x2dac9e['charAt'](_0x212359++);~_0x793eb9&&(_0x462c8a=_0x474c01%0x4?_0x462c8a*0x40+_0x793eb9:_0x793eb9,_0x474c01++%0x4)?_0x3c60c4+=String['fromCharCode'](0xff&_0x462c8a>>(-0x2*_0x474c01&0x6)):0x0){_0x793eb9=_0x3ff610['indexOf'](_0x793eb9);}for(let _0x3a75e8=0x0,_0x451b2a=_0x3c60c4['length'];_0x3a75e8<_0x451b2a;_0x3a75e8++){_0x1602ba+='%'+('00'+_0x3c60c4['charCodeAt'](_0x3a75e8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1602ba);};_0x2ee1['XIxyAO']=_0x42a556,_0x2ee1['ChcSnu']={},_0x2ee1['gRlaUT']=!![];}const _0x34ca18=_0x49ffa6[0x0],_0x5d62f9=_0x35c750+_0x34ca18,_0x43fdf3=_0x2ee1['ChcSnu'][_0x5d62f9];return!_0x43fdf3?(_0x2ee175=_0x2ee1['XIxyAO'](_0x2ee175),_0x2ee1['ChcSnu'][_0x5d62f9]=_0x2ee175):_0x2ee175=_0x43fdf3,_0x2ee175;}function _0x49ff(){const _0x1e5e85=['5PYa5Bcp5yc8','mtfmEuTsAhm','5PcC57sI5ywZ6zsU5A2x','6AUy57QN5PcC57sI','mJy0mJq1odH6A0TrrMO','5yIG6zMK5OIq5yQF','5Q2K5Pon5l2C5Bcg5Rc45lMf5yIG6zMK6ycj5lIT5PwW5O2U77Ym5PIV5zcM57UN57UT77YF','mtq0mJGYnKreCLPLsa','CxvLCNK','ywrK','5ywXihSWFsdMNAe','5ywZ6zsU5A2x','ndGWne9PChHQqG','5PQc5PEG5PwW5O2U','5BEY5yIG6zMK','EZb9ic8G6Ag1','mtK4otGYmKfovNrsCq','5lIl5lIa6Ag1','mJbZruXKvui','5yQG6l295lIT4OcM','5PYa5AsN5yc8','B3jKzxi','5Q2K5Pon5l2C5Bcg5PwW5O2U5Qch6k6W5lI65BEY5yIG6zMK77Ym5PIV5zcM57UN57UT77YF','5B275BQv5yIG6zMK','mtm2mtG4mfnbvenmvW','5lIk5lIa6Ag1','CgfNzq','BgLZDa','5P+L55Yl5PU05AsA','mJyZmg9hEejRCW','5lIn6io95lI656M6','5BEY5B275BQv5yIG6zMK','mujkt0nJuW','zgvSzxrL','5PcC57sIEZb9','mtaYnti4odbQt2zSBLe','A2v5v29Yza','oti2mJjiuhjVq0O','nteXy1LVzuje'];_0x49ff=function(){return _0x1e5e85;};return _0x49ff();}(function(_0x552e15,_0x145c56){const _0x3e1aaf=_0x2ee1,_0x455d43=_0x552e15();while(!![]){try{const _0x1d8c51=parseInt(_0x3e1aaf(0x17a))/0x1*(-parseInt(_0x3e1aaf(0x161))/0x2)+parseInt(_0x3e1aaf(0x16a))/0x3+-parseInt(_0x3e1aaf(0x166))/0x4*(-parseInt(_0x3e1aaf(0x177))/0x5)+parseInt(_0x3e1aaf(0x17f))/0x6*(-parseInt(_0x3e1aaf(0x180))/0x7)+-parseInt(_0x3e1aaf(0x17d))/0x8+-parseInt(_0x3e1aaf(0x172))/0x9*(-parseInt(_0x3e1aaf(0x16c))/0xa)+parseInt(_0x3e1aaf(0x182))/0xb*(parseInt(_0x3e1aaf(0x185))/0xc);if(_0x1d8c51===_0x145c56)break;else _0x455d43['push'](_0x455d43['shift']());}catch(_0x56e02c){_0x455d43['push'](_0x455d43['shift']());}}}(_0x49ff,0xa3845));export const CRUD_LABELS={'op':'操作','add':'新增','delete':'删除','multiDelete':'删除','export':'导出','import':'导入','update':'编辑','refresh':'刷新','info':'详情','search':'搜索','reset':'重置','clear':'清空','save':'保存','close':'取消','confirm':'确定','advSearch':_0x45ebab(0x184),'searchKey':_0x45ebab(0x183),'placeholder':'请输入','tips':'提示','saveSuccess':'保存成功','deleteSuccess':_0x45ebab(0x15f),'deleteConfirm':_0x45ebab(0x170),'forceDeleteConfirm':_0x45ebab(0x160),'empty':_0x45ebab(0x167),'desc':'降序','asc':'升序','select':'选择','deselect':'取消选择','seeMore':_0x45ebab(0x176),'hideContent':'隐藏内容','nonEmpty':_0x45ebab(0x178),'list':'列表','trash':'回收站','searchNamed':_0x45ebab(0x17c),'selectNamed':'选择{0}','keyword':_0x45ebab(0x165),'range':'区间','min':_0x45ebab(0x181),'max':_0x45ebab(0x16e),'start':'开始','end':'结束','total':_0x45ebab(0x164),'pageSize':_0x45ebab(0x169),'prevPage':_0x45ebab(0x173),'nextPage':_0x45ebab(0x16b),'jumpPage':'页码','forceDeleted':_0x45ebab(0x179),'deleted':_0x45ebab(0x168),'restore':'恢复','forceDelete':_0x45ebab(0x171),'loading':_0x45ebab(0x16d)};export const DEFAULT_CRUD_DICT={'primaryId':'id','api':{'list':_0x45ebab(0x175),'add':_0x45ebab(0x163),'update':'update','delete':_0x45ebab(0x17b),'info':'info','page':_0x45ebab(0x174)},'pagination':{'page':_0x45ebab(0x174),'size':'size'},'search':{'keyWord':_0x45ebab(0x17e),'query':_0x45ebab(0x162)},'sort':{'prop':_0x45ebab(0x16f),'order':'sort'},'label':CRUD_LABELS};
@@ -1 +1 @@
1
- (function(_0x24965f,_0x3bcdaf){const _0x4648de=_0x2205,_0xe8e0f0=_0x24965f();while(!![]){try{const _0x3cfc4b=-parseInt(_0x4648de(0xfd))/0x1+-parseInt(_0x4648de(0x100))/0x2*(parseInt(_0x4648de(0xff))/0x3)+parseInt(_0x4648de(0xfe))/0x4+parseInt(_0x4648de(0x101))/0x5*(parseInt(_0x4648de(0xfb))/0x6)+parseInt(_0x4648de(0xfc))/0x7+parseInt(_0x4648de(0x109))/0x8+-parseInt(_0x4648de(0x108))/0x9*(-parseInt(_0x4648de(0x103))/0xa);if(_0x3cfc4b===_0x3bcdaf)break;else _0xe8e0f0['push'](_0xe8e0f0['shift']());}catch(_0x643779){_0xe8e0f0['push'](_0xe8e0f0['shift']());}}}(_0x342b,0x47857));function _0x342b(){const _0x4cc47f=['C2XPy2u','BgLZDa','ChvZAa','mte5ngvlwK9Qwa','nJiWotm1tuDyB1Ll','nduXnty5sfbID2fo','mZi0ota4wu5PzNvl','odqXotvvDMfKq2u','mtb3B3fIuKq','mJGYnwPQrLfjrq','BgvUz3rO','mZy0mefkr1DIDW','Dg90ywW','BwLU','CgfNAw5HDgLVBG','ue9tsvrjvKvFsu5gsu5jvfK','mZGXnK1VrKTxwq','mZu4nteZnNrtD1rszG'];_0x342b=function(){return _0x4cc47f;};return _0x342b();}import{CRUD_BACKEND_PAGE_MAX}from'./paging';function _0x2205(_0x112394,_0x42b7b2){_0x112394=_0x112394-0xf8;const _0x342bd5=_0x342b();let _0x220568=_0x342bd5[_0x112394];if(_0x2205['uxFFBp']===undefined){var _0xffe09f=function(_0x36e0bd){const _0x4cd2eb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x57f8b0='',_0x50c424='';for(let _0x4b23bb=0x0,_0x316b51,_0x494d7d,_0x203c08=0x0;_0x494d7d=_0x36e0bd['charAt'](_0x203c08++);~_0x494d7d&&(_0x316b51=_0x4b23bb%0x4?_0x316b51*0x40+_0x494d7d:_0x494d7d,_0x4b23bb++%0x4)?_0x57f8b0+=String['fromCharCode'](0xff&_0x316b51>>(-0x2*_0x4b23bb&0x6)):0x0){_0x494d7d=_0x4cd2eb['indexOf'](_0x494d7d);}for(let _0x31e0dd=0x0,_0x523f3f=_0x57f8b0['length'];_0x31e0dd<_0x523f3f;_0x31e0dd++){_0x50c424+='%'+('00'+_0x57f8b0['charCodeAt'](_0x31e0dd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x50c424);};_0x2205['FTIEPg']=_0xffe09f,_0x2205['BtmBfh']={},_0x2205['uxFFBp']=!![];}const _0x183714=_0x342bd5[0x0],_0x46e2c5=_0x112394+_0x183714,_0xd498c0=_0x2205['BtmBfh'][_0x46e2c5];return!_0xd498c0?(_0x220568=_0x2205['FTIEPg'](_0x220568),_0x2205['BtmBfh'][_0x46e2c5]=_0x220568):_0x220568=_0xd498c0,_0x220568;}export async function fetchExportRowsByPage(_0x57f8b0){const _0x481bce=_0x2205,{buildQuery:_0x50c424,pageKey:_0x4b23bb,sizeKey:_0x316b51,page:_0x494d7d,maxExportLimit:_0x203c08,totalHint:totalHint=0x0,requestOpts:_0x31e0dd}=_0x57f8b0,_0x523f3f=_0x203c08>0x0?_0x203c08:Number[_0x481bce(0x107)],_0x48e8e4=[];let _0x3cc288=0x1,_0x15bfe9=totalHint||0x0;while(_0x48e8e4[_0x481bce(0x102)]<_0x523f3f){const _0xfc3a57=_0x523f3f-_0x48e8e4['length'],_0x8c78df=Math[_0x481bce(0x105)](CRUD_BACKEND_PAGE_MAX,_0xfc3a57),_0x31ceab=_0x50c424({[_0x4b23bb]:_0x3cc288,[_0x316b51]:_0x8c78df}),_0x11f861=await _0x494d7d(_0x31ceab,_0x31e0dd),_0x123dcf=_0x11f861[_0x481bce(0xf9)]||[];if(_0x11f861[_0x481bce(0x106)]?.[_0x481bce(0x104)]!=null)_0x15bfe9=_0x11f861[_0x481bce(0x106)][_0x481bce(0x104)];if(!_0x123dcf[_0x481bce(0x102)])break;_0x48e8e4[_0x481bce(0xfa)](..._0x123dcf);const _0x5494e1=_0x15bfe9>0x0?Math[_0x481bce(0x105)](_0x15bfe9,_0x523f3f):_0x523f3f;if(_0x15bfe9>0x0&&_0x48e8e4[_0x481bce(0x102)]>=_0x5494e1)break;if(_0x123dcf[_0x481bce(0x102)]<_0x8c78df)break;_0x3cc288++;}if(_0x203c08>0x0&&_0x48e8e4['length']>_0x203c08)return _0x48e8e4[_0x481bce(0xf8)](0x0,_0x203c08);return _0x48e8e4;}
1
+ (function(_0xd0d175,_0x21e96f){const _0x527dc3=_0x14be,_0x4d25c8=_0xd0d175();while(!![]){try{const _0x10e96f=parseInt(_0x527dc3(0x15b))/0x1*(-parseInt(_0x527dc3(0x158))/0x2)+-parseInt(_0x527dc3(0x163))/0x3*(-parseInt(_0x527dc3(0x160))/0x4)+parseInt(_0x527dc3(0x155))/0x5*(-parseInt(_0x527dc3(0x15f))/0x6)+parseInt(_0x527dc3(0x15c))/0x7+parseInt(_0x527dc3(0x165))/0x8+parseInt(_0x527dc3(0x15a))/0x9*(-parseInt(_0x527dc3(0x15d))/0xa)+parseInt(_0x527dc3(0x164))/0xb*(parseInt(_0x527dc3(0x157))/0xc);if(_0x10e96f===_0x21e96f)break;else _0x4d25c8['push'](_0x4d25c8['shift']());}catch(_0x387397){_0x4d25c8['push'](_0x4d25c8['shift']());}}}(_0x1c7c,0x3cb89));function _0x14be(_0x19ecd3,_0x46a9b5){_0x19ecd3=_0x19ecd3-0x154;const _0x1c7c0f=_0x1c7c();let _0x14bed8=_0x1c7c0f[_0x19ecd3];if(_0x14be['qZTAfY']===undefined){var _0x22f407=function(_0x401a56){const _0x4c5ec0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c329d='',_0x1b575a='';for(let _0x415214=0x0,_0x48920d,_0x18a89e,_0x4b8314=0x0;_0x18a89e=_0x401a56['charAt'](_0x4b8314++);~_0x18a89e&&(_0x48920d=_0x415214%0x4?_0x48920d*0x40+_0x18a89e:_0x18a89e,_0x415214++%0x4)?_0x1c329d+=String['fromCharCode'](0xff&_0x48920d>>(-0x2*_0x415214&0x6)):0x0){_0x18a89e=_0x4c5ec0['indexOf'](_0x18a89e);}for(let _0x565086=0x0,_0xed1669=_0x1c329d['length'];_0x565086<_0xed1669;_0x565086++){_0x1b575a+='%'+('00'+_0x1c329d['charCodeAt'](_0x565086)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b575a);};_0x14be['gHydLP']=_0x22f407,_0x14be['ULEMuS']={},_0x14be['qZTAfY']=!![];}const _0x15d726=_0x1c7c0f[0x0],_0x3230eb=_0x19ecd3+_0x15d726,_0x312263=_0x14be['ULEMuS'][_0x3230eb];return!_0x312263?(_0x14bed8=_0x14be['gHydLP'](_0x14bed8),_0x14be['ULEMuS'][_0x3230eb]=_0x14bed8):_0x14bed8=_0x312263,_0x14bed8;}function _0x1c7c(){const _0x2fc4c1=['BwLU','mJuWodC4q3LSEwH6','mtCWngX4CNnNwG','BgvUz3rO','C2XPy2u','mti5ouLKEenrEG','mJG0mJuXr3PzwxPL','mtuWode2vurYv0vN','Dg90ywW','mtbdAeHjv3a','CgfNAw5HDgLVBG','mtu2D05fDgrQ','nMDcBunwEq','ChvZAa','mJDutfPwzeq','otm5mJzRuxbjC2q','mJy1otyYoxf1wg1MuW','mtaXnJKXmgHetNrTqq'];_0x1c7c=function(){return _0x2fc4c1;};return _0x1c7c();}import{CRUD_BACKEND_PAGE_MAX}from'./paging';export async function fetchExportRowsByPage(_0x1c329d){const _0x2927eb=_0x14be,{buildQuery:_0x1b575a,pageKey:_0x415214,sizeKey:_0x48920d,page:_0x18a89e,maxExportLimit:_0x4b8314,totalHint:totalHint=0x0,requestOpts:_0x565086}=_0x1c329d,_0xed1669=_0x4b8314>0x0?_0x4b8314:Number['POSITIVE_INFINITY'],_0xf9376d=[];let _0xc23b93=0x1,_0x4b1f28=totalHint||0x0;while(_0xf9376d[_0x2927eb(0x161)]<_0xed1669){const _0x4f4ec2=_0xed1669-_0xf9376d[_0x2927eb(0x161)],_0x57240e=Math[_0x2927eb(0x15e)](CRUD_BACKEND_PAGE_MAX,_0x4f4ec2),_0x552c5a=_0x1b575a({[_0x415214]:_0xc23b93,[_0x48920d]:_0x57240e}),_0x47e770=await _0x18a89e(_0x552c5a,_0x565086),_0x56fad1=_0x47e770['list']||[];if(_0x47e770[_0x2927eb(0x156)]?.[_0x2927eb(0x154)]!=null)_0x4b1f28=_0x47e770[_0x2927eb(0x156)][_0x2927eb(0x154)];if(!_0x56fad1[_0x2927eb(0x161)])break;_0xf9376d[_0x2927eb(0x159)](..._0x56fad1);const _0x8e9087=_0x4b1f28>0x0?Math[_0x2927eb(0x15e)](_0x4b1f28,_0xed1669):_0xed1669;if(_0x4b1f28>0x0&&_0xf9376d[_0x2927eb(0x161)]>=_0x8e9087)break;if(_0x56fad1[_0x2927eb(0x161)]<_0x57240e)break;_0xc23b93++;}if(_0x4b8314>0x0&&_0xf9376d[_0x2927eb(0x161)]>_0x4b8314)return _0xf9376d[_0x2927eb(0x162)](0x0,_0x4b8314);return _0xf9376d;}
@@ -1 +1 @@
1
- const _0x1d7f9b=_0x54fc;(function(_0x99f69b,_0x134b9a){const _0x60051c=_0x54fc,_0x355789=_0x99f69b();while(!![]){try{const _0x4a149d=-parseInt(_0x60051c(0x15d))/0x1+parseInt(_0x60051c(0x163))/0x2*(parseInt(_0x60051c(0x160))/0x3)+-parseInt(_0x60051c(0x15b))/0x4+-parseInt(_0x60051c(0x15e))/0x5+parseInt(_0x60051c(0x15f))/0x6+-parseInt(_0x60051c(0x15c))/0x7*(parseInt(_0x60051c(0x164))/0x8)+parseInt(_0x60051c(0x165))/0x9;if(_0x4a149d===_0x134b9a)break;else _0x355789['push'](_0x355789['shift']());}catch(_0x37268c){_0x355789['push'](_0x355789['shift']());}}}(_0x26b1,0x966bf));function _0x54fc(_0x3b2882,_0x35bdac){_0x3b2882=_0x3b2882-0x15b;const _0x26b1d5=_0x26b1();let _0x54fc8e=_0x26b1d5[_0x3b2882];if(_0x54fc['owgBOl']===undefined){var _0x1968d8=function(_0x10c6f2){const _0x5a043c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36b1e4='',_0xb7490f='';for(let _0x3390f1=0x0,_0x111e82,_0x7f23bb,_0x4dff88=0x0;_0x7f23bb=_0x10c6f2['charAt'](_0x4dff88++);~_0x7f23bb&&(_0x111e82=_0x3390f1%0x4?_0x111e82*0x40+_0x7f23bb:_0x7f23bb,_0x3390f1++%0x4)?_0x36b1e4+=String['fromCharCode'](0xff&_0x111e82>>(-0x2*_0x3390f1&0x6)):0x0){_0x7f23bb=_0x5a043c['indexOf'](_0x7f23bb);}for(let _0x15f70a=0x0,_0x252563=_0x36b1e4['length'];_0x15f70a<_0x252563;_0x15f70a++){_0xb7490f+='%'+('00'+_0x36b1e4['charCodeAt'](_0x15f70a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xb7490f);};_0x54fc['hdjKFq']=_0x1968d8,_0x54fc['lfDjae']={},_0x54fc['owgBOl']=!![];}const _0x172e22=_0x26b1d5[0x0],_0x5ca1e5=_0x3b2882+_0x172e22,_0x45f7d1=_0x54fc['lfDjae'][_0x5ca1e5];return!_0x45f7d1?(_0x54fc8e=_0x54fc['hdjKFq'](_0x54fc8e),_0x54fc['lfDjae'][_0x5ca1e5]=_0x54fc8e):_0x54fc8e=_0x45f7d1,_0x54fc8e;}import{inject}from'vue';export const CRUD_KEY=Symbol(_0x1d7f9b(0x168));export const CRUD_OPTIONS_KEY=Symbol(_0x1d7f9b(0x167));export const TABLE_OPTIONS_KEY=Symbol(_0x1d7f9b(0x162));export const UPSERT_OPTIONS_KEY=Symbol(_0x1d7f9b(0x161));export const SEARCH_OPTIONS_KEY=Symbol('useSearch__options');function _0x26b1(){const _0x2a3564=['mte5t3LHBenK','otm2ndqWwhHwB2DX','nteZnty2me9mqMTvBq','ndCWmda5nevSsePPCW','mZaWnJu3t1ruCgvh','DxnLvxbZzxj0x19VChrPB25Z','DxnLvgfIBgvFx29WDgLVBNm','mMT4EwzHDW','mZeYodu2Aw9Wy05A','mJGZntKWnZjQELfYq0K','DM0TDgfIBguTyxbP','DxnLq3j1zf9FB3b0Aw9UCW','DM0Ty3j1za','mZe2mdiZmM9nq1Ptyq'];_0x26b1=function(){return _0x2a3564;};return _0x26b1();}export const TABLE_API_KEY=Symbol(_0x1d7f9b(0x166));export function injectCrudOptions(){return inject(CRUD_OPTIONS_KEY,undefined);}export function injectTableOptions(){return inject(TABLE_OPTIONS_KEY,undefined);}export function injectUpsertOptions(){return inject(UPSERT_OPTIONS_KEY,undefined);}export function injectSearchOptions(){return inject(SEARCH_OPTIONS_KEY,undefined);}
1
+ const _0x3c80fa=_0x5509;(function(_0x5af78c,_0x46750d){const _0x34b741=_0x5509,_0x4a5e2f=_0x5af78c();while(!![]){try{const _0x64af43=-parseInt(_0x34b741(0xab))/0x1+-parseInt(_0x34b741(0x9d))/0x2*(parseInt(_0x34b741(0xa3))/0x3)+parseInt(_0x34b741(0x9c))/0x4*(parseInt(_0x34b741(0xa7))/0x5)+parseInt(_0x34b741(0x9f))/0x6+-parseInt(_0x34b741(0xa8))/0x7*(parseInt(_0x34b741(0xa1))/0x8)+-parseInt(_0x34b741(0xa9))/0x9*(-parseInt(_0x34b741(0xaa))/0xa)+parseInt(_0x34b741(0xa0))/0xb;if(_0x64af43===_0x46750d)break;else _0x4a5e2f['push'](_0x4a5e2f['shift']());}catch(_0x1c3d10){_0x4a5e2f['push'](_0x4a5e2f['shift']());}}}(_0xd9a0,0x89327));function _0xd9a0(){const _0x2c008e=['nJi0ndaYshfWveL2','mJeYnJa2mtnosvHYzNi','mJrNtKjOCeq','DM0Ty3j1za','m2f3CeTtyq','DxnLu2vHCMnOx19VChrPB25Z','DM0TDgfIBguTyxbP','DxnLvgfIBgvFx29WDgLVBNm','ntK1v2fLBfr2','oty4nta2tLbmq09c','oxHKC3jzuW','ndiXndaZmfDYuNv2ta','otKZmZyYufjhsKLf','nJCZmLD3v1z4sq','mtm3nJi3mevLshvJvW','DxnLvxbZzxj0x19VChrPB25Z'];_0xd9a0=function(){return _0x2c008e;};return _0xd9a0();}import{inject}from'vue';export const CRUD_KEY=Symbol(_0x3c80fa(0xa2));function _0x5509(_0x2e8e2c,_0x45aaec){_0x2e8e2c=_0x2e8e2c-0x9c;const _0xd9a015=_0xd9a0();let _0x550984=_0xd9a015[_0x2e8e2c];if(_0x5509['UBXUTT']===undefined){var _0x568991=function(_0x5b4a07){const _0x3832c7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30f49d='',_0x58c4a0='';for(let _0x127f11=0x0,_0x382f44,_0x341a6c,_0x1e1487=0x0;_0x341a6c=_0x5b4a07['charAt'](_0x1e1487++);~_0x341a6c&&(_0x382f44=_0x127f11%0x4?_0x382f44*0x40+_0x341a6c:_0x341a6c,_0x127f11++%0x4)?_0x30f49d+=String['fromCharCode'](0xff&_0x382f44>>(-0x2*_0x127f11&0x6)):0x0){_0x341a6c=_0x3832c7['indexOf'](_0x341a6c);}for(let _0x4190b5=0x0,_0x17dd36=_0x30f49d['length'];_0x4190b5<_0x17dd36;_0x4190b5++){_0x58c4a0+='%'+('00'+_0x30f49d['charCodeAt'](_0x4190b5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x58c4a0);};_0x5509['GEZrav']=_0x568991,_0x5509['VmfMVT']={},_0x5509['UBXUTT']=!![];}const _0x23dd6f=_0xd9a015[0x0],_0x16bf04=_0x2e8e2c+_0x23dd6f,_0x9e3cae=_0x5509['VmfMVT'][_0x16bf04];return!_0x9e3cae?(_0x550984=_0x5509['GEZrav'](_0x550984),_0x5509['VmfMVT'][_0x16bf04]=_0x550984):_0x550984=_0x9e3cae,_0x550984;}export const CRUD_OPTIONS_KEY=Symbol('useCrud__options');export const TABLE_OPTIONS_KEY=Symbol(_0x3c80fa(0xa6));export const UPSERT_OPTIONS_KEY=Symbol(_0x3c80fa(0x9e));export const SEARCH_OPTIONS_KEY=Symbol(_0x3c80fa(0xa4));export const TABLE_API_KEY=Symbol(_0x3c80fa(0xa5));export function injectCrudOptions(){return inject(CRUD_OPTIONS_KEY,undefined);}export function injectTableOptions(){return inject(TABLE_OPTIONS_KEY,undefined);}export function injectUpsertOptions(){return inject(UPSERT_OPTIONS_KEY,undefined);}export function injectSearchOptions(){return inject(SEARCH_OPTIONS_KEY,undefined);}
@@ -1 +1 @@
1
- (function(_0xc36633,_0x115470){const _0x3ff465=_0x2b1f,_0x476f87=_0xc36633();while(!![]){try{const _0x20fc78=parseInt(_0x3ff465(0xe6))/0x1*(-parseInt(_0x3ff465(0xce))/0x2)+-parseInt(_0x3ff465(0x103))/0x3*(-parseInt(_0x3ff465(0x104))/0x4)+parseInt(_0x3ff465(0xed))/0x5+-parseInt(_0x3ff465(0xfe))/0x6+-parseInt(_0x3ff465(0xf5))/0x7*(-parseInt(_0x3ff465(0xf6))/0x8)+parseInt(_0x3ff465(0x10a))/0x9+-parseInt(_0x3ff465(0xd3))/0xa*(-parseInt(_0x3ff465(0xc8))/0xb);if(_0x20fc78===_0x115470)break;else _0x476f87['push'](_0x476f87['shift']());}catch(_0xa01b93){_0x476f87['push'](_0x476f87['shift']());}}}(_0x24dd,0xdd121));import{findEpsEntity}from'../lib/eps';import{getCrudStyle}from'./style';export function toTree(_0x2f9232={}){const _0x57e277=_0x2b1f;return{'__plugin':_0x57e277(0xea),'tree':!![],'lazy':_0x2f9232['lazy']??![]};}export function setFocus(_0x31a9ca){return{'__plugin':'setFocus','prop':_0x31a9ca??''};}function _0x24dd(){const _0x2d85a6=['C3bSAxq','BM9Uzq','C291CMnL','CgfYyw0','zgf0zxjHBMDL','nJnoEfretNG','BNvTyMvYlxjHBMDL','A2v5v29YzeXPA2vgAwvSzhm','C2v0uNvSzxm','Dg9uCMvL','AgfZ','ChjVCa','odG2mZe5nxPYB0LpDa','BgvUz3rO','A2v5D29Yza','DgfIBgu','x19Yyw5Nzv8','C3rYAw5N','DhjLzuXHENK','y29UDgv4De1LBNu','mtCYmZm4nNPeyufftq','mtzAB0Ldsfy','ywrK','DhLWzq','AwDUB3jLrMLLBgrZ','A2v5v29Yza','CMvWBgfJzq','CgX1z2LUCW','DhjLzq','ndeWotuYmgHmyLrbvW','DM0TBNvTyMvYlxjHBMDL','CgfNzunVBhvTBNm','DhjPBq','Aw5WDxq','ntryvhrTrKi','mti4ndy4BKj4zvvq','C2vSzwn0','zgLJDa','B2jQzwn0','zMLLBgrbCNjHEq','CMfUz2u','nZG5nJG3ELnouwHj','Aw50','Cg9W','zMLLBgrsyw5Nzq','ChjVCgvYDhLoyw1L','zMXVyxq','y29SDw1UCW','zMLLBgrmAwTL','x19WBhvNAw4','zMLUza','nJeYn2viEej2qW','BwLU','AM9PBG','BgfIzwW','C3rHCNrZv2L0Aa','Bwf0y2G','ndyZntz4CuTQD3G','5ywZ6zsU5A2x','y29SDw1U','Bwf4','BxvSDgLWBgu','mJe1mfzhrgryrW','y29TBwvUDa','yxv0B0HLAwDODa','5PYa5AsN5yc8','BMfTzxnWywnL','Bgf6Eq','CgfNzvf1zxj5t3a','ChvZAa','Aw5JBhvKzxm','zMLSDgvY','C2vHCMnO','zMLLBgrfCq','AgLKzuXHyMvS','AxnbCNjHEq'];_0x24dd=function(){return _0x2d85a6;};return _0x24dd();}export function setRules(){const _0x853080=_0x2b1f;return{'__plugin':_0x853080(0xe9)};}export function setAuto(_0x5d0841={'hideLabel':!![]}){return{'__plugin':'setAuto',..._0x5d0841};}export const Plugins={'Table':{'toTree':toTree},'Form':{'setFocus':setFocus,'setRules':setRules},'Search':{'setAuto':setAuto}};export function applyTablePlugins(_0x49f0aa){const _0x590b69=_0x2b1f,_0x465d4a=getCrudStyle()[_0x590b69(0xf0)],_0x327b21={'border':_0x465d4a['border'],'autoHeight':_0x465d4a[_0x590b69(0xd5)],'contextMenu':_0x465d4a[_0x590b69(0xf4)],..._0x49f0aa},_0x1ccf53=[..._0x465d4a[_0x590b69(0xfc)],..._0x49f0aa?.[_0x590b69(0xfc)]||[]],_0x50d242={..._0x327b21};delete _0x50d242[_0x590b69(0xfc)];for(const _0x4cddfd of _0x1ccf53){if(!_0x4cddfd||typeof _0x4cddfd!==_0x590b69(0x107))continue;_0x4cddfd[_0x590b69(0xc6)]==='toTree'&&(_0x50d242[_0x590b69(0xfd)]=!![],_0x50d242[_0x590b69(0xf3)]=Boolean(_0x4cddfd[_0x590b69(0xd8)]));}return _0x50d242;}function stripAlias(_0x5887e9){const _0x305a56=_0x2b1f;return _0x5887e9['includes']('.')?_0x5887e9[_0x305a56(0xe1)]('.')[_0x305a56(0xc0)]():_0x5887e9;}function toSource(_0x81c232){const _0x2e1367=_0x2b1f,_0x1ec79c=_0x81c232['trim']()[_0x2e1367(0xfb)](/\s+as\s+[a-zA-Z_]\w*$/i,'')[_0x2e1367(0x101)]();return _0x1ec79c[_0x2e1367(0xdb)]('.')?_0x1ec79c:'a.'+_0x1ec79c;}function _0x2b1f(_0x1dd8b7,_0x54cd12){_0x1dd8b7=_0x1dd8b7-0xbf;const _0x24ddee=_0x24dd();let _0x2b1fc0=_0x24ddee[_0x1dd8b7];if(_0x2b1f['YtFrki']===undefined){var _0xdedee9=function(_0x31d35d){const _0x2c0992='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f9232='',_0x31a9ca='';for(let _0x5d0841=0x0,_0x49f0aa,_0x465d4a,_0x327b21=0x0;_0x465d4a=_0x31d35d['charAt'](_0x327b21++);~_0x465d4a&&(_0x49f0aa=_0x5d0841%0x4?_0x49f0aa*0x40+_0x465d4a:_0x465d4a,_0x5d0841++%0x4)?_0x2f9232+=String['fromCharCode'](0xff&_0x49f0aa>>(-0x2*_0x5d0841&0x6)):0x0){_0x465d4a=_0x2c0992['indexOf'](_0x465d4a);}for(let _0x1ccf53=0x0,_0x50d242=_0x2f9232['length'];_0x1ccf53<_0x50d242;_0x1ccf53++){_0x31a9ca+='%'+('00'+_0x2f9232['charCodeAt'](_0x1ccf53)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31a9ca);};_0x2b1f['hcgkIa']=_0xdedee9,_0x2b1f['cOBFEl']={},_0x2b1f['YtFrki']=!![];}const _0x18b18c=_0x24ddee[0x0],_0xb7aaa1=_0x1dd8b7+_0x18b18c,_0x2d2fae=_0x2b1f['cOBFEl'][_0xb7aaa1];return!_0x2d2fae?(_0x2b1fc0=_0x2b1f['hcgkIa'](_0x2b1fc0),_0x2b1f['cOBFEl'][_0xb7aaa1]=_0x2b1fc0):_0x2b1fc0=_0x2d2fae,_0x2b1fc0;}function parseRef(_0x2b697c){const _0x25eea8=_0x2b1f,_0x4367a8=/^(.+?)\s+as\s+([a-zA-Z_]\w*)$/i,_0x484d84=_0x39a1a7=>{const _0x30bd7d=_0x2b1f,_0x3682a2=_0x39a1a7[_0x30bd7d(0x101)](),_0x58abb0=_0x3682a2[_0x30bd7d(0xcd)](_0x4367a8);if(_0x58abb0)return{'expr':_0x58abb0[0x1][_0x30bd7d(0x101)](),'asName':_0x58abb0[0x2]};return{'expr':_0x3682a2,'asName':undefined};};if(typeof _0x2b697c===_0x25eea8(0xf2)){const {expr:_0x561315,asName:_0x11e443}=_0x484d84(_0x2b697c),_0x199808=toSource(_0x561315),_0x5e2a90=stripAlias(_0x199808);return{'column':_0x5e2a90,'source':_0x199808,'param':_0x11e443??_0x5e2a90,'multiple':!![],'none':![]};}if(!_0x2b697c||typeof _0x2b697c!=='object')return null;const _0x3e89a5=_0x2b697c;if(!_0x3e89a5[_0x25eea8(0xd0)])return null;const {expr:_0x363afc,asName:_0x2d24db}=_0x484d84(_0x3e89a5['column']),_0x3675c5=toSource(_0x363afc),_0x36ae59=stripAlias(_0x3675c5);return{'column':_0x36ae59,'source':_0x3675c5,'param':_0x2d24db??_0x36ae59,'label':_0x3e89a5[_0x25eea8(0xcb)],'dict':_0x3e89a5[_0x25eea8(0x106)],'multiple':_0x3e89a5[_0x25eea8(0xd2)]!==![],'none':Boolean(_0x3e89a5[_0x25eea8(0xe2)])};}function displayName(_0x268145,_0x4b8a90){const _0x57cac5=_0x2b1f;return _0x268145[_0x57cac5(0xcb)]||_0x4b8a90?.[_0x57cac5(0xd4)]||_0x268145['column'];}function fieldKeyOf(_0x828008,_0x7f0fbc){const _0x478a75=_0x2b1f,_0x517df0=_0x7f0fbc?.[_0x478a75(0xf0)]?.[_0x478a75(0x101)](),_0x226e94=(_0x7f0fbc?.[_0x478a75(0xc2)]||_0x828008[_0x478a75(0xd0)]||'')[_0x478a75(0x101)]();if(!_0x517df0||!_0x226e94)return;return _0x517df0+'.'+_0x226e94;}export function buildAutoSearchItems(_0x21e315,_0x29f28b={}){const _0xe28a3f=_0x2b1f,_0x334614=new Set(_0x29f28b[_0xe28a3f(0xf9)]||[]),_0x19f36d=_0x21e315['search']||{};let _0x1fc502=_0x19f36d[_0xe28a3f(0xde)]||[],_0x44bdd9=_0x19f36d[_0xe28a3f(0xc5)]||[],_0x368cce=_0x19f36d[_0xe28a3f(0x108)]||[],_0x213be2=_0x19f36d[_0xe28a3f(0xc1)]||[],_0x3c0d11=_0x19f36d['keyWordLikeFields']||[],_0x1b813c=[];const _0x193338=!_0x1fc502[_0xe28a3f(0xee)]&&!_0x44bdd9[_0xe28a3f(0xee)]&&!_0x368cce[_0xe28a3f(0xee)]&&!_0x213be2[_0xe28a3f(0xee)]&&!_0x3c0d11[_0xe28a3f(0xee)],_0x4fd183=_0x21e315[_0xe28a3f(0xd7)]?findEpsEntity('/'+_0x21e315[_0xe28a3f(0xd7)]):undefined;if(_0x4fd183){_0x1b813c=[..._0x4fd183[_0xe28a3f(0xc4)]||[],..._0x4fd183[_0xe28a3f(0x100)]||[]];if(!_0x21e315[_0xe28a3f(0xdd)]||_0x193338){const _0x525a84=_0x4fd183[_0xe28a3f(0xd9)];_0x525a84&&(_0x1fc502=_0x525a84[_0xe28a3f(0xde)]||[],_0x44bdd9=_0x525a84['fieldLike']||[],_0x368cce=_0x525a84[_0xe28a3f(0x108)]||[],_0x213be2=_0x525a84[_0xe28a3f(0xc1)]||[],_0x3c0d11=_0x525a84[_0xe28a3f(0xe8)]||[]);}}const _0x5a9ff9=(_0x2438c0,_0x421907)=>{const _0x29a77e=_0xe28a3f,_0x512c25=_0x2438c0[_0x29a77e(0xdb)]('.')?_0x2438c0:'a.'+_0x2438c0,_0x2b2f33=_0x421907??stripAlias(_0x512c25);return _0x1b813c[_0x29a77e(0xc7)](_0x2ea65e=>_0x2ea65e['source']===_0x512c25)||_0x1b813c[_0x29a77e(0xc7)](_0x6a3fd2=>_0x6a3fd2[_0x29a77e(0xc2)]===_0x2b2f33&&(!_0x6a3fd2[_0x29a77e(0xe3)]||_0x6a3fd2[_0x29a77e(0xe3)][_0x29a77e(0xcc)]('a.')))||_0x1b813c[_0x29a77e(0xc7)](_0x2d42b3=>_0x2d42b3[_0x29a77e(0xc2)]===_0x2b2f33);},_0x4cbabd=[],_0x4c8e00=new Set(),_0x4e46f6=_0x2f74de=>{const _0xb6f6ab=_0xe28a3f;if(!_0x2f74de[_0xb6f6ab(0xec)]||_0x4c8e00[_0xb6f6ab(0xeb)](_0x2f74de[_0xb6f6ab(0xec)]))return;_0x4c8e00[_0xb6f6ab(0xf7)](_0x2f74de[_0xb6f6ab(0xec)]),_0x4cbabd[_0xb6f6ab(0xda)](_0x2f74de);};for(const _0x530110 of _0x44bdd9){const _0x92ec4f=parseRef(_0x530110);if(!_0x92ec4f||_0x92ec4f[_0xe28a3f(0xe2)]||_0x334614[_0xe28a3f(0xeb)](_0x92ec4f[_0xe28a3f(0xe4)]))continue;const _0x216901=_0x5a9ff9(_0x92ec4f[_0xe28a3f(0xe3)],_0x92ec4f[_0xe28a3f(0xd0)]),_0x1043c2=displayName(_0x92ec4f,_0x216901),_0x5927b9=fieldKeyOf(_0x92ec4f,_0x216901);_0x4e46f6({'prop':_0x92ec4f[_0xe28a3f(0xe4)],'label':_0x29f28b[_0xe28a3f(0xdf)]?'':_0x1043c2,'nameFallback':_0x1043c2,'fieldKey':_0x5927b9,'phMode':_0xe28a3f(0xdd),'placeholder':'搜索'+_0x1043c2,'type':_0xe28a3f(0x102)});}for(const _0x1a4562 of _0x368cce){const _0x326129=parseRef(_0x1a4562);if(!_0x326129||_0x326129[_0xe28a3f(0xe2)]||_0x334614['has'](_0x326129[_0xe28a3f(0xe4)]))continue;const _0x159baa=_0x5a9ff9(_0x326129['source'],_0x326129[_0xe28a3f(0xd0)]),_0x4e9be3=displayName(_0x326129,_0x159baa),_0x399eb3=fieldKeyOf(_0x326129,_0x159baa);_0x4e46f6({'prop':_0x326129[_0xe28a3f(0xe4)],'label':_0x29f28b[_0xe28a3f(0xdf)]?'':_0x4e9be3,'nameFallback':_0x4e9be3,'fieldKey':_0x399eb3,'phMode':'search','placeholder':'搜索'+_0x4e9be3,'type':'input'});}for(const _0x361d46 of _0x1fc502){const _0x1366a5=parseRef(_0x361d46);if(!_0x1366a5||_0x1366a5[_0xe28a3f(0xe2)]||_0x334614[_0xe28a3f(0xeb)](_0x1366a5[_0xe28a3f(0xe4)]))continue;const _0x558d4c=_0x5a9ff9(_0x1366a5[_0xe28a3f(0xe3)],_0x1366a5[_0xe28a3f(0xd0)]),_0x32bd70=_0x1366a5[_0xe28a3f(0x106)]||(typeof _0x558d4c?.[_0xe28a3f(0x106)]===_0xe28a3f(0xf2)?_0x558d4c[_0xe28a3f(0x106)]:Array[_0xe28a3f(0xe0)](_0x558d4c?.[_0xe28a3f(0x106)])?_0x558d4c['dict'][0x0]:undefined),_0x169497=displayName(_0x1366a5,_0x558d4c),_0x541cf0=fieldKeyOf(_0x1366a5,_0x558d4c),_0x56b9cb=_0x29f28b['hideLabel']?'':_0x169497;_0x32bd70?_0x4e46f6({'prop':_0x1366a5['param'],'label':_0x56b9cb,'nameFallback':_0x169497,'fieldKey':_0x541cf0,'phMode':_0xe28a3f(0x105),'placeholder':'选择'+_0x169497,'type':_0xe28a3f(0x105),'dict':_0x32bd70,'multiple':_0x1366a5['multiple']}):_0x4e46f6({'prop':_0x1366a5[_0xe28a3f(0xe4)],'label':_0x56b9cb,'nameFallback':_0x169497,'fieldKey':_0x541cf0,'phMode':_0xe28a3f(0xdd),'placeholder':'搜索'+_0x169497,'type':_0xe28a3f(0x102)});}for(const _0x23a1a4 of _0x213be2){if(!_0x23a1a4?.[_0xe28a3f(0xd0)]||_0x23a1a4[_0xe28a3f(0xe2)])continue;if(_0x334614[_0xe28a3f(0xeb)](_0x23a1a4[_0xe28a3f(0xc9)])||_0x334614[_0xe28a3f(0xeb)](_0x23a1a4[_0xe28a3f(0xd1)]))continue;const _0x340d42=toSource(_0x23a1a4['column']),_0x538c57=stripAlias(_0x23a1a4['column']),_0x1de553=_0x5a9ff9(_0x340d42,_0x538c57),_0x18b7ef=_0x23a1a4[_0xe28a3f(0xcb)]||_0x1de553?.['comment']||_0x538c57,_0x9d1b79=fieldKeyOf({'column':_0x538c57},_0x1de553),_0x46c476=_0x29f28b['hideLabel']?'':_0x18b7ef,_0x532d02=_0x23a1a4[_0xe28a3f(0xf8)]===_0xe28a3f(0xbf)||_0x23a1a4['type']===_0xe28a3f(0xc3),_0x510cf1=_0x532d02?'最小值':'开始',_0x5aa7b7=_0x532d02?_0xe28a3f(0xd6):'结束';_0x4e46f6({'prop':_0xe28a3f(0xf1)+_0x23a1a4[_0xe28a3f(0xc9)]+'_'+_0x23a1a4[_0xe28a3f(0xd1)],'label':_0x46c476,'nameFallback':_0x18b7ef,'fieldKey':_0x9d1b79,'phMode':_0xe28a3f(0x109),'placeholder':_0x18b7ef||'区间','type':_0x532d02?_0xe28a3f(0xe7):_0xe28a3f(0xe5),'range':{'min':_0x23a1a4[_0xe28a3f(0xc9)],'max':_0x23a1a4['max'],'rangeType':_0x23a1a4[_0xe28a3f(0xf8)]},'component':{'name':_0x532d02?_0xe28a3f(0xff):'vm-date-range','props':_0x532d02?{'mode':_0x23a1a4['type'],'startPlaceholder':''+_0x18b7ef+_0x510cf1,'endPlaceholder':''+_0x18b7ef+_0x5aa7b7}:{'precision':_0x23a1a4['type'],'startPlaceholder':''+_0x18b7ef+_0x510cf1,'endPlaceholder':''+_0x18b7ef+_0x5aa7b7}}});}if(_0x3c0d11['length']){const _0x26ccbd=[],_0x1f3d72=_0x3c0d11['map'](_0x515c3b=>{const _0x59a5ff=_0xe28a3f,_0x4218f5=parseRef(_0x515c3b);if(!_0x4218f5)return typeof _0x515c3b===_0x59a5ff(0xf2)?stripAlias(_0x515c3b):'';const _0x2427d3=_0x5a9ff9(_0x4218f5['source'],_0x4218f5[_0x59a5ff(0xd0)]),_0x427dc5=fieldKeyOf(_0x4218f5,_0x2427d3);if(_0x427dc5)_0x26ccbd[_0x59a5ff(0xda)](_0x427dc5);return displayName(_0x4218f5,_0x2427d3);})[_0xe28a3f(0xdc)](Boolean);_0x4e46f6({'prop':_0xe28a3f(0xfa),'label':_0x29f28b[_0xe28a3f(0xdf)]?'':'关键字','nameFallback':_0x1f3d72[_0xe28a3f(0xca)]('、')||'关键字','phMode':_0xe28a3f(0xef),'keywordParts':_0x26ccbd,'placeholder':'搜索'+(_0x1f3d72[_0xe28a3f(0xca)]('、')||_0xe28a3f(0xcf)),'type':_0xe28a3f(0x102)});}return _0x4cbabd;}
1
+ (function(_0x533f8d,_0x397a47){const _0xbb3dd1=_0x7778,_0x353b60=_0x533f8d();while(!![]){try{const _0x323761=-parseInt(_0xbb3dd1(0x18f))/0x1+-parseInt(_0xbb3dd1(0x19a))/0x2*(parseInt(_0xbb3dd1(0x18c))/0x3)+parseInt(_0xbb3dd1(0x15c))/0x4*(-parseInt(_0xbb3dd1(0x174))/0x5)+parseInt(_0xbb3dd1(0x17d))/0x6*(-parseInt(_0xbb3dd1(0x193))/0x7)+parseInt(_0xbb3dd1(0x1a2))/0x8*(-parseInt(_0xbb3dd1(0x1a4))/0x9)+-parseInt(_0xbb3dd1(0x192))/0xa*(parseInt(_0xbb3dd1(0x15e))/0xb)+parseInt(_0xbb3dd1(0x169))/0xc*(parseInt(_0xbb3dd1(0x166))/0xd);if(_0x323761===_0x397a47)break;else _0x353b60['push'](_0x353b60['shift']());}catch(_0x3fb509){_0x353b60['push'](_0x353b60['shift']());}}}(_0x5c75,0xb665f));function _0x5c75(){const _0x32c42c=['mZnlBKfcu1K','AgfZ','BwLU','zMLLBgrmAwTL','Bwf4','Aw50','CgfNzvf1zxj5t3a','C2vSzwn0','ntq0mtqWnJfwtLH4y0u','AgLKzuXHyMvS','5PYa5AsN5yc8','mtjKuMrcrfe','CgfYyw0','Dg9uCMvL','CgX1z2LUCW','C2vHCMnO','B2jQzwn0','y29UDgv4De1LBNu','DM0TBNvTyMvYlxjHBMDL','BgvUz3rO','zMLLBgrbCNjHEq','ChjVCgvYDhLoyw1L','mZiZoti5mgjJruDvAq','yxv0B0HLAwDODa','CgfNzunVBhvTBNm','AM9PBG','BNvTyMvYlxjHBMDL','C291CMnL','CMfUz2u','Bwf0y2G','C2v0uNvSzxm','ndm0ndyZnMLStejjAG','y29TBwvUDa','AxnbCNjHEq','Cg9W','DgfIBgu','y29SDw1UCW','ywrK','C3rYAw5N','C2v0qxv0BW','5PYa5Bcp5yc8','ChjVCa','DhjLzq','Bgf6Eq','AwDUB3jLrMLLBgrZ','Aw5JBhvKzxm','nZm0nJfgv05jDMu','C3rHCNrZv2L0Aa','zMLLBgrfCq','nJC4mtCXreXTBgXR','A2v5v29YzeXPA2vgAwvSzhm','DhjPBq','mJy4ntK1mhHNvwnHtW','n21nsLrmDq','x19Yyw5Nzv8','5ywZ6zsU5A2x','BxvSDgLWBgu','y29SDw1U','Aw5WDxq','ChvZAa','mZjOrLjSAfK','BgfIzwW','BM9Uzq','CMvWBgfJzq','A2v5D29Yza','A2v5v29Yza','zMXVyxq','zgLJDa','mtzZwxDVzfC','BMfTzxnWywnL','odu4oty5vuXftgzO','DhLWzq','C2v0rM9JDxm','zMLUza','ne9OD3bRuW','zMLLBgrsyw5Nzq'];_0x5c75=function(){return _0x32c42c;};return _0x5c75();}import{findEpsEntity}from'../lib/eps';function _0x7778(_0xf4caa3,_0x2bd7a4){_0xf4caa3=_0xf4caa3-0x15c;const _0x5c750d=_0x5c75();let _0x7778eb=_0x5c750d[_0xf4caa3];if(_0x7778['LwIUUm']===undefined){var _0x59f134=function(_0x2afd40){const _0x340e6c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3d6a2d='',_0x1f3e9a='';for(let _0x233b4a=0x0,_0x3e6166,_0x903f26,_0x35599e=0x0;_0x903f26=_0x2afd40['charAt'](_0x35599e++);~_0x903f26&&(_0x3e6166=_0x233b4a%0x4?_0x3e6166*0x40+_0x903f26:_0x903f26,_0x233b4a++%0x4)?_0x3d6a2d+=String['fromCharCode'](0xff&_0x3e6166>>(-0x2*_0x233b4a&0x6)):0x0){_0x903f26=_0x340e6c['indexOf'](_0x903f26);}for(let _0x2574f5=0x0,_0x2ddfb9=_0x3d6a2d['length'];_0x2574f5<_0x2ddfb9;_0x2574f5++){_0x1f3e9a+='%'+('00'+_0x3d6a2d['charCodeAt'](_0x2574f5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1f3e9a);};_0x7778['OaZMzR']=_0x59f134,_0x7778['ByCLSc']={},_0x7778['LwIUUm']=!![];}const _0x2c5799=_0x5c750d[0x0],_0x2c449e=_0xf4caa3+_0x2c5799,_0x373f2b=_0x7778['ByCLSc'][_0x2c449e];return!_0x373f2b?(_0x7778eb=_0x7778['OaZMzR'](_0x7778eb),_0x7778['ByCLSc'][_0x2c449e]=_0x7778eb):_0x7778eb=_0x373f2b,_0x7778eb;}import{getCrudStyle}from'./style';export function toTree(_0x3d6a2d={}){const _0x3cd4e2=_0x7778;return{'__plugin':_0x3cd4e2(0x16b),'tree':!![],'lazy':_0x3d6a2d[_0x3cd4e2(0x189)]??![]};}export function setFocus(_0x1f3e9a){const _0x55200c=_0x7778;return{'__plugin':_0x55200c(0x1a6),'prop':_0x1f3e9a??''};}export function setRules(){const _0x4bdc89=_0x7778;return{'__plugin':_0x4bdc89(0x17c)};}export function setAuto(_0x233b4a={'hideLabel':!![]}){const _0x12b460=_0x7778;return{'__plugin':_0x12b460(0x185),..._0x233b4a};}export const Plugins={'Table':{'toTree':toTree},'Form':{'setFocus':setFocus,'setRules':setRules},'Search':{'setAuto':setAuto}};export function applyTablePlugins(_0x3e6166){const _0x5d051c=_0x7778,_0x903f26=getCrudStyle()[_0x5d051c(0x181)],_0x35599e={'border':_0x903f26['border'],'autoHeight':_0x903f26[_0x5d051c(0x175)],'contextMenu':_0x903f26[_0x5d051c(0x16f)],..._0x3e6166},_0x2574f5=[..._0x903f26[_0x5d051c(0x16c)],..._0x3e6166?.[_0x5d051c(0x16c)]||[]],_0x2ddfb9={..._0x35599e};delete _0x2ddfb9[_0x5d051c(0x16c)];for(const _0x5375d6 of _0x2574f5){if(!_0x5375d6||typeof _0x5375d6!=='object')continue;_0x5375d6['__plugin']===_0x5d051c(0x16b)&&(_0x2ddfb9[_0x5d051c(0x188)]=!![],_0x2ddfb9['treeLazy']=Boolean(_0x5375d6[_0x5d051c(0x189)]));}return _0x2ddfb9;}function stripAlias(_0xbb0d63){const _0x4dac73=_0x7778;return _0xbb0d63[_0x4dac73(0x18b)]('.')?_0xbb0d63['split']('.')[_0x4dac73(0x180)]():_0xbb0d63;}function toSource(_0x557d98){const _0x177fe5=_0x7778,_0xb522c8=_0x557d98[_0x177fe5(0x191)]()[_0x177fe5(0x19d)](/\s+as\s+[a-zA-Z_]\w*$/i,'')[_0x177fe5(0x191)]();return _0xb522c8[_0x177fe5(0x18b)]('.')?_0xb522c8:'a.'+_0xb522c8;}function parseRef(_0x11fbc5){const _0xfa83e2=_0x7778,_0x13d669=/^(.+?)\s+as\s+([a-zA-Z_]\w*)$/i,_0x3d938a=_0x254985=>{const _0x5a042f=_0x7778,_0x539a55=_0x254985[_0x5a042f(0x191)](),_0x34e18e=_0x539a55[_0x5a042f(0x17b)](_0x13d669);if(_0x34e18e)return{'expr':_0x34e18e[0x1][_0x5a042f(0x191)](),'asName':_0x34e18e[0x2]};return{'expr':_0x539a55,'asName':undefined};};if(typeof _0x11fbc5==='string'){const {expr:_0x3b370d,asName:_0x3f22e4}=_0x3d938a(_0x11fbc5),_0x1b97f2=toSource(_0x3b370d),_0x20c91c=stripAlias(_0x1b97f2);return{'column':_0x20c91c,'source':_0x1b97f2,'param':_0x3f22e4??_0x20c91c,'multiple':!![],'none':![]};}if(!_0x11fbc5||typeof _0x11fbc5!==_0xfa83e2(0x16e))return null;const _0x3109bb=_0x11fbc5;if(!_0x3109bb['column'])return null;const {expr:_0x1d7e7b,asName:_0x31f9b2}=_0x3d938a(_0x3109bb[_0xfa83e2(0x197)]),_0x56877e=toSource(_0x1d7e7b),_0x4e922a=stripAlias(_0x56877e);return{'column':_0x4e922a,'source':_0x56877e,'param':_0x31f9b2??_0x4e922a,'label':_0x3109bb[_0xfa83e2(0x19b)],'dict':_0x3109bb[_0xfa83e2(0x1a1)],'multiple':_0x3109bb[_0xfa83e2(0x196)]!==![],'none':Boolean(_0x3109bb[_0xfa83e2(0x19c)])};}function displayName(_0xe2d60d,_0x54e23c){const _0x2ffc14=_0x7778;return _0xe2d60d[_0x2ffc14(0x19b)]||_0x54e23c?.[_0x2ffc14(0x17e)]||_0xe2d60d['column'];}function fieldKeyOf(_0x3e47f8,_0x4794f6){const _0x4f605b=_0x7778,_0x54c0cd=_0x4794f6?.['table']?.['trim'](),_0x32112b=(_0x4794f6?.[_0x4f605b(0x173)]||_0x3e47f8[_0x4f605b(0x197)]||'')[_0x4f605b(0x191)]();if(!_0x54c0cd||!_0x32112b)return;return _0x54c0cd+'.'+_0x32112b;}export function buildAutoSearchItems(_0x3905e4,_0x3d3444={}){const _0xf3a29b=_0x7778,_0x4b195c=new Set(_0x3d3444[_0xf3a29b(0x18a)]||[]),_0x71b84b=_0x3905e4[_0xf3a29b(0x16d)]||{};let _0x514a98=_0x71b84b[_0xf3a29b(0x18e)]||[],_0x127c4d=_0x71b84b['fieldLike']||[],_0x1cdfc5=_0x71b84b[_0xf3a29b(0x172)]||[],_0x51c715=_0x71b84b[_0xf3a29b(0x15d)]||[],_0x11006e=_0x71b84b[_0xf3a29b(0x190)]||[],_0x2ca948=[];const _0x5fe4fd=!_0x514a98[_0xf3a29b(0x171)]&&!_0x127c4d[_0xf3a29b(0x171)]&&!_0x1cdfc5[_0xf3a29b(0x171)]&&!_0x51c715[_0xf3a29b(0x171)]&&!_0x11006e['length'],_0x264b01=_0x3905e4[_0xf3a29b(0x1a3)]?findEpsEntity('/'+_0x3905e4[_0xf3a29b(0x1a3)]):undefined;if(_0x264b01){_0x2ca948=[..._0x264b01[_0xf3a29b(0x182)]||[],..._0x264b01[_0xf3a29b(0x176)]||[]];if(!_0x3905e4[_0xf3a29b(0x16d)]||_0x5fe4fd){const _0x1310f6=_0x264b01[_0xf3a29b(0x164)];_0x1310f6&&(_0x514a98=_0x1310f6[_0xf3a29b(0x18e)]||[],_0x127c4d=_0x1310f6[_0xf3a29b(0x161)]||[],_0x1cdfc5=_0x1310f6[_0xf3a29b(0x172)]||[],_0x51c715=_0x1310f6['fieldRange']||[],_0x11006e=_0x1310f6[_0xf3a29b(0x190)]||[]);}}const _0x3abf4b=(_0x149588,_0x3e30ae)=>{const _0x172533=_0xf3a29b,_0x78627=_0x149588[_0x172533(0x18b)]('.')?_0x149588:'a.'+_0x149588,_0x541239=_0x3e30ae??stripAlias(_0x78627);return _0x2ca948[_0x172533(0x1a7)](_0x4e7ae1=>_0x4e7ae1[_0x172533(0x179)]===_0x78627)||_0x2ca948[_0x172533(0x1a7)](_0x1a2b98=>_0x1a2b98[_0x172533(0x173)]===_0x541239&&(!_0x1a2b98[_0x172533(0x179)]||_0x1a2b98[_0x172533(0x179)][_0x172533(0x18d)]('a.')))||_0x2ca948['find'](_0x4ed30f=>_0x4ed30f['propertyName']===_0x541239);},_0xd95472=[],_0x38a537=new Set(),_0x39927c=_0x2b5002=>{const _0x7c8855=_0xf3a29b;if(!_0x2b5002['prop']||_0x38a537[_0x7c8855(0x15f)](_0x2b5002['prop']))return;_0x38a537[_0x7c8855(0x183)](_0x2b5002[_0x7c8855(0x187)]),_0xd95472[_0x7c8855(0x199)](_0x2b5002);};for(const _0x327766 of _0x127c4d){const _0x1bda41=parseRef(_0x327766);if(!_0x1bda41||_0x1bda41['none']||_0x4b195c[_0xf3a29b(0x15f)](_0x1bda41['param']))continue;const _0x226725=_0x3abf4b(_0x1bda41['source'],_0x1bda41[_0xf3a29b(0x197)]),_0x1be1ea=displayName(_0x1bda41,_0x226725),_0x46119b=fieldKeyOf(_0x1bda41,_0x226725);_0x39927c({'prop':_0x1bda41[_0xf3a29b(0x16a)],'label':_0x3d3444[_0xf3a29b(0x167)]?'':_0x1be1ea,'nameFallback':_0x1be1ea,'fieldKey':_0x46119b,'phMode':'search','placeholder':'搜索'+_0x1be1ea,'type':_0xf3a29b(0x198)});}for(const _0x578495 of _0x1cdfc5){const _0x199909=parseRef(_0x578495);if(!_0x199909||_0x199909[_0xf3a29b(0x19c)]||_0x4b195c['has'](_0x199909[_0xf3a29b(0x16a)]))continue;const _0x45619e=_0x3abf4b(_0x199909[_0xf3a29b(0x179)],_0x199909[_0xf3a29b(0x197)]),_0x13dfcd=displayName(_0x199909,_0x45619e),_0x492900=fieldKeyOf(_0x199909,_0x45619e);_0x39927c({'prop':_0x199909[_0xf3a29b(0x16a)],'label':_0x3d3444['hideLabel']?'':_0x13dfcd,'nameFallback':_0x13dfcd,'fieldKey':_0x492900,'phMode':_0xf3a29b(0x16d),'placeholder':'搜索'+_0x13dfcd,'type':_0xf3a29b(0x198)});}for(const _0x29db9b of _0x514a98){const _0x25df2e=parseRef(_0x29db9b);if(!_0x25df2e||_0x25df2e[_0xf3a29b(0x19c)]||_0x4b195c['has'](_0x25df2e[_0xf3a29b(0x16a)]))continue;const _0x3240be=_0x3abf4b(_0x25df2e[_0xf3a29b(0x179)],_0x25df2e[_0xf3a29b(0x197)]),_0xb56704=_0x25df2e['dict']||(typeof _0x3240be?.[_0xf3a29b(0x1a1)]===_0xf3a29b(0x184)?_0x3240be['dict']:Array[_0xf3a29b(0x17f)](_0x3240be?.[_0xf3a29b(0x1a1)])?_0x3240be['dict'][0x0]:undefined),_0x11cb79=displayName(_0x25df2e,_0x3240be),_0x59db24=fieldKeyOf(_0x25df2e,_0x3240be),_0x5ed3df=_0x3d3444[_0xf3a29b(0x167)]?'':_0x11cb79;_0xb56704?_0x39927c({'prop':_0x25df2e['param'],'label':_0x5ed3df,'nameFallback':_0x11cb79,'fieldKey':_0x59db24,'phMode':_0xf3a29b(0x165),'placeholder':'选择'+_0x11cb79,'type':_0xf3a29b(0x165),'dict':_0xb56704,'multiple':_0x25df2e[_0xf3a29b(0x196)]}):_0x39927c({'prop':_0x25df2e['param'],'label':_0x5ed3df,'nameFallback':_0x11cb79,'fieldKey':_0x59db24,'phMode':'search','placeholder':'搜索'+_0x11cb79,'type':_0xf3a29b(0x198)});}for(const _0x6c075b of _0x51c715){if(!_0x6c075b?.['column']||_0x6c075b[_0xf3a29b(0x19c)])continue;if(_0x4b195c['has'](_0x6c075b[_0xf3a29b(0x160)])||_0x4b195c[_0xf3a29b(0x15f)](_0x6c075b[_0xf3a29b(0x162)]))continue;const _0x84c630=toSource(_0x6c075b[_0xf3a29b(0x197)]),_0x5962c2=stripAlias(_0x6c075b[_0xf3a29b(0x197)]),_0x59813e=_0x3abf4b(_0x84c630,_0x5962c2),_0x37deea=_0x6c075b[_0xf3a29b(0x19b)]||_0x59813e?.[_0xf3a29b(0x17e)]||_0x5962c2,_0x338a30=fieldKeyOf({'column':_0x5962c2},_0x59813e),_0x1c4de3=_0x3d3444[_0xf3a29b(0x167)]?'':_0x37deea,_0x4f50be=_0x6c075b[_0xf3a29b(0x1a5)]===_0xf3a29b(0x163)||_0x6c075b[_0xf3a29b(0x1a5)]===_0xf3a29b(0x1a0),_0x21547f=_0x4f50be?_0xf3a29b(0x186):'开始',_0x150e69=_0x4f50be?_0xf3a29b(0x168):'结束';_0x39927c({'prop':_0xf3a29b(0x194)+_0x6c075b[_0xf3a29b(0x160)]+'_'+_0x6c075b[_0xf3a29b(0x162)],'label':_0x1c4de3,'nameFallback':_0x37deea,'fieldKey':_0x338a30,'phMode':_0xf3a29b(0x17a),'placeholder':_0x37deea||'区间','type':_0x4f50be?_0xf3a29b(0x178):'daterange','range':{'min':_0x6c075b[_0xf3a29b(0x160)],'max':_0x6c075b[_0xf3a29b(0x162)],'rangeType':_0x6c075b[_0xf3a29b(0x1a5)]},'component':{'name':_0x4f50be?_0xf3a29b(0x170):'vm-date-range','props':_0x4f50be?{'mode':_0x6c075b['type'],'startPlaceholder':''+_0x37deea+_0x21547f,'endPlaceholder':''+_0x37deea+_0x150e69}:{'precision':_0x6c075b[_0xf3a29b(0x1a5)],'startPlaceholder':''+_0x37deea+_0x21547f,'endPlaceholder':''+_0x37deea+_0x150e69}}});}if(_0x11006e['length']){const _0x6d7001=[],_0x1ee665=_0x11006e['map'](_0x118cfb=>{const _0x50ac52=_0xf3a29b,_0x4de8d5=parseRef(_0x118cfb);if(!_0x4de8d5)return typeof _0x118cfb===_0x50ac52(0x184)?stripAlias(_0x118cfb):'';const _0x15c062=_0x3abf4b(_0x4de8d5[_0x50ac52(0x179)],_0x4de8d5['column']),_0x3c171c=fieldKeyOf(_0x4de8d5,_0x15c062);if(_0x3c171c)_0x6d7001['push'](_0x3c171c);return displayName(_0x4de8d5,_0x15c062);})['filter'](Boolean);_0x39927c({'prop':_0xf3a29b(0x19f),'label':_0x3d3444[_0xf3a29b(0x167)]?'':_0xf3a29b(0x195),'nameFallback':_0x1ee665[_0xf3a29b(0x177)]('、')||_0xf3a29b(0x195),'phMode':_0xf3a29b(0x19e),'keywordParts':_0x6d7001,'placeholder':'搜索'+(_0x1ee665[_0xf3a29b(0x177)]('、')||_0xf3a29b(0x195)),'type':_0xf3a29b(0x198)});}return _0xd95472;}
@@ -1 +1 @@
1
- (function(_0x30c255,_0x5480ae){const _0x3d5ae3=_0x2ea1,_0x520841=_0x30c255();while(!![]){try{const _0x128f3f=-parseInt(_0x3d5ae3(0x1d6))/0x1*(-parseInt(_0x3d5ae3(0x1d9))/0x2)+-parseInt(_0x3d5ae3(0x1cd))/0x3*(-parseInt(_0x3d5ae3(0x1d8))/0x4)+parseInt(_0x3d5ae3(0x1c6))/0x5+-parseInt(_0x3d5ae3(0x1d5))/0x6+-parseInt(_0x3d5ae3(0x1cb))/0x7*(parseInt(_0x3d5ae3(0x1c5))/0x8)+-parseInt(_0x3d5ae3(0x1d2))/0x9*(-parseInt(_0x3d5ae3(0x1ce))/0xa)+parseInt(_0x3d5ae3(0x1c8))/0xb*(-parseInt(_0x3d5ae3(0x1d7))/0xc);if(_0x128f3f===_0x5480ae)break;else _0x520841['push'](_0x520841['shift']());}catch(_0x1f1208){_0x520841['push'](_0x520841['shift']());}}}(_0x17f1,0x9e4ba));function _0x2ea1(_0x115611,_0x237675){_0x115611=_0x115611-0x1c5;const _0x17f1c3=_0x17f1();let _0x2ea11e=_0x17f1c3[_0x115611];if(_0x2ea1['yzcpeU']===undefined){var _0x14a582=function(_0x58f3be){const _0x4b13ac='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf45f92='',_0x3ee799='';for(let _0x229da9=0x0,_0x2f0a7d,_0x8be435,_0x4c518f=0x0;_0x8be435=_0x58f3be['charAt'](_0x4c518f++);~_0x8be435&&(_0x2f0a7d=_0x229da9%0x4?_0x2f0a7d*0x40+_0x8be435:_0x8be435,_0x229da9++%0x4)?_0xf45f92+=String['fromCharCode'](0xff&_0x2f0a7d>>(-0x2*_0x229da9&0x6)):0x0){_0x8be435=_0x4b13ac['indexOf'](_0x8be435);}for(let _0x342c40=0x0,_0x3a1ca4=_0xf45f92['length'];_0x342c40<_0x3a1ca4;_0x342c40++){_0x3ee799+='%'+('00'+_0xf45f92['charCodeAt'](_0x342c40)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ee799);};_0x2ea1['yFaNDA']=_0x14a582,_0x2ea1['RKKXfX']={},_0x2ea1['yzcpeU']=!![];}const _0x23bb6a=_0x17f1c3[0x0],_0x5852=_0x115611+_0x23bb6a,_0x6ccf70=_0x2ea1['RKKXfX'][_0x5852];return!_0x6ccf70?(_0x2ea11e=_0x2ea1['yFaNDA'](_0x2ea11e),_0x2ea1['RKKXfX'][_0x5852]=_0x2ea11e):_0x2ea11e=_0x6ccf70,_0x2ea11e;}import{onMounted,onUnmounted,ref}from'vue';import{getCrudStyle}from'./style';export const FORM_COLS_DESKTOP=0x18;export const FORM_COLS_MOBILE=0xc;export const FORM_SPAN_FULL=0x18;export const FORM_MQ_MOBILE='(max-width:\x20768px)';export function getFormCols(){const _0x1c8d25=_0x2ea1;if(typeof window!==_0x1c8d25(0x1cc)&&window[_0x1c8d25(0x1d3)](FORM_MQ_MOBILE)['matches'])return FORM_COLS_MOBILE;return FORM_COLS_DESKTOP;}export function resolveFormSpan(_0xf45f92,_0x3ee799=getFormCols()){const _0x432f6d=_0x2ea1,_0x229da9=_0xf45f92??getCrudStyle()['form']['span']??FORM_SPAN_FULL,_0x2f0a7d=Math[_0x432f6d(0x1ca)](FORM_SPAN_FULL,Math[_0x432f6d(0x1d4)](0x1,_0x229da9));if(_0x3ee799===FORM_COLS_DESKTOP)return _0x2f0a7d;return Math[_0x432f6d(0x1d4)](0x1,Math[_0x432f6d(0x1c7)](_0x2f0a7d/FORM_COLS_DESKTOP*FORM_COLS_MOBILE));}function _0x17f1(){const _0x4f3643=['m2reuKjnwq','mtbUqLjhDhq','CMvTB3zLrxzLBNrmAxn0zw5LCG','DMfSDwu','y2HHBMDL','mJC2mZqYm21zAg1eyW','Bwf0y2HnzwrPyq','Bwf4','mZa2mZa4neLhywX5yq','mJm1otGYuM1JrvHS','ndaXnZy0ogXLyuDzsa','mJu3nJqWoePuv2TbqW','ofLPrLHovW','ndHXs0POB1K','nJm3mJyXnw50z3rtCG','CM91BMq','nJzlr0P5yKm','ywrKrxzLBNrmAxn0zw5LCG','BwLU','mJe5og1Wr3HsAW','Dw5KzwzPBMvK'];_0x17f1=function(){return _0x4f3643;};return _0x17f1();}export function useFormCols(){const _0x8be435=ref(getFormCols());let _0x4c518f=null;const _0x342c40=()=>{const _0x36ba8b=_0x2ea1;_0x8be435[_0x36ba8b(0x1d0)]=getFormCols();};return onMounted(()=>{const _0x5e0752=_0x2ea1;_0x4c518f=window[_0x5e0752(0x1d3)](FORM_MQ_MOBILE),_0x4c518f[_0x5e0752(0x1c9)](_0x5e0752(0x1d1),_0x342c40),_0x342c40();}),onUnmounted(()=>{const _0xf215df=_0x2ea1;_0x4c518f?.[_0xf215df(0x1cf)](_0xf215df(0x1d1),_0x342c40);}),_0x8be435;}
1
+ (function(_0x21c3a3,_0x34117c){const _0x39bffa=_0xeff3,_0x342c8a=_0x21c3a3();while(!![]){try{const _0x4643e9=parseInt(_0x39bffa(0xfd))/0x1+parseInt(_0x39bffa(0x106))/0x2*(-parseInt(_0x39bffa(0xf6))/0x3)+parseInt(_0x39bffa(0x105))/0x4*(-parseInt(_0x39bffa(0xf7))/0x5)+-parseInt(_0x39bffa(0xfa))/0x6+parseInt(_0x39bffa(0xf4))/0x7*(parseInt(_0x39bffa(0x100))/0x8)+parseInt(_0x39bffa(0xf5))/0x9*(parseInt(_0x39bffa(0x101))/0xa)+parseInt(_0x39bffa(0xff))/0xb*(parseInt(_0x39bffa(0xfc))/0xc);if(_0x4643e9===_0x34117c)break;else _0x342c8a['push'](_0x342c8a['shift']());}catch(_0x2d8084){_0x342c8a['push'](_0x342c8a['shift']());}}}(_0x1340,0x8cd52));import{onMounted,onUnmounted,ref}from'vue';import{getCrudStyle}from'./style';export const FORM_COLS_DESKTOP=0x18;function _0x1340(){const _0x33b045=['Bwf4','ntq5nJq4nLjLA1nIDG','DMfSDwu','ndHAzg5xDKC','odeXmtGZDvbuDxnn','BwLU','mJy4nZC4ngjds3DpCa','mte0ndbcuhLxA2i','otKXmfDuA1LPyG','C3bHBG','Bwf0y2HLCW','CM91BMq','mZq5ode0og9OCu91sW','mJj3u0vLsM8','Bwf0y2HnzwrPyq','zM9YBq','CMvTB3zLrxzLBNrmAxn0zw5LCG','ywrKrxzLBNrmAxn0zw5LCG','mtqWmerZvxjfDG','ndC2muLbwMPxuW','nJmWotbjyxz3rfq','nxnftg1LzG','y2HHBMDL'];_0x1340=function(){return _0x33b045;};return _0x1340();}export const FORM_COLS_MOBILE=0xc;export const FORM_SPAN_FULL=0x18;export const FORM_MQ_MOBILE='(max-width:\x20768px)';export function getFormCols(){const _0x617f8a=_0xeff3;if(typeof window!=='undefined'&&window[_0x617f8a(0x107)](FORM_MQ_MOBILE)[_0x617f8a(0x103)])return FORM_COLS_MOBILE;return FORM_COLS_DESKTOP;}function _0xeff3(_0x57383b,_0x30168d){_0x57383b=_0x57383b-0xf4;const _0x134079=_0x1340();let _0xeff305=_0x134079[_0x57383b];if(_0xeff3['YIahnH']===undefined){var _0xb90bf6=function(_0x255e7f){const _0x35106d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5aeb9b='',_0x3bcb62='';for(let _0x25ebcb=0x0,_0x3b056d,_0x2bea7c,_0x44cb50=0x0;_0x2bea7c=_0x255e7f['charAt'](_0x44cb50++);~_0x2bea7c&&(_0x3b056d=_0x25ebcb%0x4?_0x3b056d*0x40+_0x2bea7c:_0x2bea7c,_0x25ebcb++%0x4)?_0x5aeb9b+=String['fromCharCode'](0xff&_0x3b056d>>(-0x2*_0x25ebcb&0x6)):0x0){_0x2bea7c=_0x35106d['indexOf'](_0x2bea7c);}for(let _0x3beaab=0x0,_0x328885=_0x5aeb9b['length'];_0x3beaab<_0x328885;_0x3beaab++){_0x3bcb62+='%'+('00'+_0x5aeb9b['charCodeAt'](_0x3beaab)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3bcb62);};_0xeff3['tsbxRN']=_0xb90bf6,_0xeff3['nYnOAR']={},_0xeff3['YIahnH']=!![];}const _0x443f6f=_0x134079[0x0],_0x51e833=_0x57383b+_0x443f6f,_0x1eb914=_0xeff3['nYnOAR'][_0x51e833];return!_0x1eb914?(_0xeff305=_0xeff3['tsbxRN'](_0xeff305),_0xeff3['nYnOAR'][_0x51e833]=_0xeff305):_0xeff305=_0x1eb914,_0xeff305;}export function resolveFormSpan(_0x5aeb9b,_0x3bcb62=getFormCols()){const _0x274940=_0xeff3,_0x25ebcb=_0x5aeb9b??getCrudStyle()[_0x274940(0x108)][_0x274940(0x102)]??FORM_SPAN_FULL,_0x3b056d=Math[_0x274940(0xfe)](FORM_SPAN_FULL,Math[_0x274940(0xf9)](0x1,_0x25ebcb));if(_0x3bcb62===FORM_COLS_DESKTOP)return _0x3b056d;return Math[_0x274940(0xf9)](0x1,Math[_0x274940(0x104)](_0x3b056d/FORM_COLS_DESKTOP*FORM_COLS_MOBILE));}export function useFormCols(){const _0x2bea7c=ref(getFormCols());let _0x44cb50=null;const _0x3beaab=()=>{const _0x9cbf57=_0xeff3;_0x2bea7c[_0x9cbf57(0xfb)]=getFormCols();};return onMounted(()=>{const _0x54ec16=_0xeff3;_0x44cb50=window[_0x54ec16(0x107)](FORM_MQ_MOBILE),_0x44cb50[_0x54ec16(0x10a)](_0x54ec16(0xf8),_0x3beaab),_0x3beaab();}),onUnmounted(()=>{const _0x4ff4cc=_0xeff3;_0x44cb50?.[_0x4ff4cc(0x109)](_0x4ff4cc(0xf8),_0x3beaab);}),_0x2bea7c;}