@ckeditor/ckeditor5-format-painter 48.3.0-alpha.0 → 48.3.0-alpha.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x5eb595,Plugin as _0x49e4c3}from'@ckeditor/ckeditor5-core';import{RemoveFormatCommand as _0x345074}from'@ckeditor/ckeditor5-remove-format';import{SplitButtonView as _0x42797f,UIModel as _0x9f8224,addListToDropdown as _0x507839,createDropdown as _0x50a4cf}from'@ckeditor/ckeditor5-ui';import{Collection as _0x28920e,DomEmitterMixin as _0x1b4137,global as _0x5c275f,uid as _0x2c2d7f}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x1e05ab}from'@ckeditor/ckeditor5-engine';import{IconPaintRoller as _0x250202}from'@ckeditor/ckeditor5-icons';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';var p=class extends _0x5eb595{constructor(_0x4bd22b){super(_0x4bd22b),this['value']=void 0x0,this['on']('change:isEnabled',(_0x1a9414,_0x518933,_0x55a69a)=>{_0x55a69a||this['reset']();}),this['on']('change:value',()=>_0x4bd22b['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x79496b=this['editor']['model'],_0x3c3024=_0x79496b['document']['selection'];return Object['fromEntries'](Array['from'](_0x3c3024['getAttributes']())['filter'](([_0x14b25d])=>_0x79496b['schema']['getAttributeProperties'](_0x14b25d)['isFormatting']));}},y=class extends _0x5eb595{constructor(_0x53b70c){super(_0x53b70c),this['_removeFormatCommand']=new _0x345074(_0x53b70c);}['execute'](_0x322bd4={}){const _0x30878b=this['editor']['model'],_0x50c2b1=_0x30878b['document']['selection'],_0x1f0840=Array['from'](_0x50c2b1['getRanges']()),_0x189e38=_0x50c2b1['isCollapsed']?[this['_createRangeOnEntireWord'](_0x30878b,_0x50c2b1)]:_0x1f0840;_0x30878b['change'](_0x5181fc=>{_0x5181fc['setSelection'](_0x189e38),this['_removeFormatCommand']['execute']();for(const _0xa3a916 in _0x322bd4)for(const _0x2906eb of _0x30878b['schema']['getValidRanges'](_0x189e38,_0xa3a916))_0x5181fc['setAttribute'](_0xa3a916,_0x322bd4[_0xa3a916],_0x2906eb);_0x5181fc['setSelection'](_0x1f0840);});}['_createRangeOnEntireWord'](_0x13ea24,_0x11a21e){const _0x217e64=_0x13ea24['createSelection'](_0x11a21e);_0x13ea24['modifySelection'](_0x217e64,{'unit':'word','direction':'backward'});const _0x5c490e=_0x217e64['getFirstPosition']();_0x13ea24['modifySelection'](_0x217e64,{'unit':'word','direction':'forward'});const _0x5add97=_0x217e64['getLastPosition']();return _0x13ea24['createRange'](_0x5c490e,_0x5add97);}},P=class extends _0x49e4c3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x31f1a5=this['editor'];_0x31f1a5['commands']['add'](w,new p(_0x31f1a5)),_0x31f1a5['commands']['add'](g,new y(_0x31f1a5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20dd68=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x314fda;for(const _0x3052e3 in _0x20dd68){const _0xf259bf=_0x3052e3,_0x1022ed=_0x20dd68[_0xf259bf];if('formatPainterLicenseKeyValid'==_0x1022ed||'formatPainterLicenseKeyInvalid'==_0x1022ed||'formatPainterLicenseKeyExpired'==_0x1022ed||'formatPainterLicenseKeyDomainLimit'==_0x1022ed||'formatPainterLicenseKeyNotAllowed'==_0x1022ed||'formatPainterLicenseKeyEvaluationLimit'==_0x1022ed||'formatPainterLicenseKeyUsageLimit'==_0x1022ed){delete _0x20dd68[_0xf259bf],_0x314fda=_0x1022ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x314fda&&_0x20dd68['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x314fda&&_0x20dd68['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x314fda&&_0x20dd68['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x314fda&&_0x20dd68['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x314fda&&_0x20dd68['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x314fda&&_0x20dd68['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function L(_0x20c204,_0x137ebb){const t=_0x20c204['t'];switch(_0x137ebb){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x137ebb;}}const v=/* #__PURE__ -- @preserve */
24
- _0x1b4137(_0x49e4c3);var k=class extends v{static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3cc75a=this['editor'];_0x3cc75a['editing']['view']['addObserver'](_0x1e05ab),_0x3cc75a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':L(_0x3cc75a['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':L(_0x3cc75a['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x3cc75a['ui']['componentFactory']['add']('formatPainter',_0x579867=>{const _0x15d38b=_0x50a4cf(_0x579867,_0x42797f),_0x325236=_0x3cc75a['commands']['get'](w);_0x15d38b['buttonView']['set']({'label':L(_0x3cc75a['locale'],'Paint\x20formatting'),'icon':_0x250202,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x15d38b['class']='ck-format-painter-dropdown',_0x325236&&(_0x15d38b['bind']('isEnabled')['to'](_0x325236,'isEnabled'),this['listenTo'](_0x325236,'change:isEnabled',(_0x3c4408,_0x57f86d,_0x13325f)=>{_0x13325f||this['_finishPainting']();}),_0x15d38b['buttonView']['bind']('isOn')['to'](_0x325236,'value',_0x32f607=>!!_0x32f607),this['listenTo'](_0x3cc75a,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x325236,'change:value',(_0x2f3a64,_0x4bd977,_0x2c410c)=>{this['_toggleSpecialCursor'](!!_0x2c410c);}));const _0x2b98a7=new _0x9f8224({'withText':!0x0,'label':L(_0x3cc75a['locale'],'Continuous\x20painting'),'tooltip':L(_0x3cc75a['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x507839(_0x15d38b,new _0x28920e([{'type':'switchbutton','model':_0x2b98a7}]),{'role':'menu'});const _0x3f730c=()=>{this['_copyFormatting'](),this['listenTo'](_0x5c275f['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x2b98a7['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x15d38b,'execute',()=>{_0x2b98a7['isOn']=!_0x2b98a7['isOn'];}),this['listenTo'](_0x15d38b['buttonView'],'execute',()=>{_0x3cc75a['editing']['view']['focus'](),_0x15d38b['buttonView']['isOn']?this['_finishPainting']():_0x3f730c();}),_0x3cc75a['keystrokes']['set']('Ctrl+Alt+C',(_0x4ca4c1,_0x4c23a7)=>{_0x3f730c(),_0x2b98a7['isOn']=!0x0,_0x4c23a7();},{'priority':'high'}),_0x3cc75a['keystrokes']['set']('Ctrl+Alt+V',(_0x163aa7,_0x25e140)=>{_0x15d38b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x2b98a7['isOn']||this['_finishPainting'](),_0x25e140());},{'priority':'high'}),_0x3cc75a['keystrokes']['set']('Esc',(_0x2fd710,_0x38ae60)=>{_0x15d38b['buttonView']['isOn']&&(_0x2b98a7['isOn']=!0x1,this['_finishPainting'](),_0x3cc75a['ui']['ariaLiveAnnouncer']['announce'](L(_0x3cc75a['locale'],'Painting\x20cancelled.')),_0x38ae60());}),_0x15d38b;});}['afterInit'](){!async function(_0x3f39d5){const _0x304d9b='QiLRCSOsZ8pAvDdaPJUE3oxjKlzM2uXgrtGfeyh5cNFkmBw9I6WH0qnb4T17YV',_0xd829da=0x78de0,_0x5c1926=window['Date']['now'](),_0x46d02a=_0x3f39d5['editor'],_0x10e4f9=new window['Promise'](_0x1c995e=>{_0x46d02a['once']('ready',_0x1c995e);}),_0x5f10aa={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x44eae9=_0x46d02a['config']['get']('licenseKey');async function _0x3be60f(){let _0x2ac280,_0x283ba9=null,_0x46b663=null;try{return'GPL'==_0x44eae9?'NotAllowed':(_0x2ac280=_0x1e2e49(),_0x2ac280?(_0x2ac280['usageEndpoint']&&(_0x46b663=_0xfc7eef(_0x2ac280['usageEndpoint'],_0x2ac280['jti'])),await _0x2c0cb5()?_0x70fe65()?_0x231dff()?'Expired':_0x5cef28()?('evaluation'==_0x2ac280['licenseType']&&(_0x283ba9=_0x4ce549('EvaluationLimit')),await _0x18c28b()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x231dff(){const _0x4e49c8=['evaluation','trial']['includes'](_0x2ac280['licenseType'])?_0x5c1926/0x3e8:0xe10*_0xd829da;return _0x2ac280['exp']<_0x4e49c8;}function _0x70fe65(){const _0x5a9ee2=_0x2ac280['features'];return!!_0x5a9ee2&&(!!_0x5a9ee2['includes']('*')||(!!_0x5a9ee2['includes']('FP')||(!!_0x5a9ee2['includes']('PP')||!(!_0x5a9ee2['includes']('TRILIUM')||!_0x31647a()))));}function _0x5cef28(){const _0x42fe7d=_0x2ac280['licensedHosts'];if(!_0x42fe7d||0x0==_0x42fe7d['length'])return!0x0;const {hostname:_0x103082}=new URL(window['location']['href']);if(_0x42fe7d['includes'](_0x103082))return!0x0;const _0x1cc690=_0x103082['split']('.');return _0x42fe7d['filter'](_0x145e46=>_0x145e46['includes']('*'))['map'](_0x4750fd=>_0x4750fd['split']('.'))['filter'](_0x4a660e=>_0x4a660e['length']<=_0x1cc690['length'])['map'](_0x1478b4=>Array(_0x1cc690['length']-_0x1478b4['length'])['fill']('*'===_0x1478b4[0x0]?'*':'')['concat'](_0x1478b4))['some'](_0x1f47fa=>_0x1cc690['every']((_0x3ddefe,_0x397ae3)=>_0x1f47fa[_0x397ae3]===_0x3ddefe||'*'===_0x1f47fa[_0x397ae3]));}function _0x18c28b(){return _0x283ba9&&_0x46b663?new window['Promise']((_0x365663,_0x4c8e3a)=>{_0x283ba9['then'](_0x365663,_0x4c8e3a),_0x46b663['then'](_0x32b4e5=>{'Valid'!=_0x32b4e5&&_0x365663(_0x32b4e5);},_0x4c8e3a);}):_0x283ba9||_0x46b663||'Valid';}}function _0xfc7eef(_0x20ad49,_0x4020cd){return new window['Promise'](_0x47502c=>{if(_0x30ef94())return _0x47502c('Valid');_0x2ed609(),_0x46d02a['decorate']('_sendUsageRequest');let _0x182eeb=!0x1;const _0x1e00c1=_0x2c2d7f();function _0x16457b(_0x5adbf6){return!!_0x5adbf6&&('object'==typeof _0x5adbf6||'function'==typeof _0x5adbf6)&&'function'==typeof _0x5adbf6['then']&&'function'==typeof _0x5adbf6['catch'];}function _0x15a3ee(_0x13389e){_0x200cb5(_0x13389e)['then'](_0x591fa8=>_0x591fa8&&'ok'==_0x591fa8['status']?_0x79f35(_0x40b92d(_0x1e00c1+_0x4020cd))!=_0x591fa8['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b38e1=>(_0x2b6d64(),_0x1b38e1),()=>{const _0xd9a46=_0x22696c();return null==_0xd9a46?(_0x2b6d64(),'Valid'):_0x5c1926-_0xd9a46>0x240c8400?'UsageLimit':'Valid';})['then'](_0x47502c)['catch'](()=>{_0x47502c('UsageLimit');});const _0x190234=0x36ee80;function _0x2b6d64(){const _0x1949ae='llct-'+_0x79f35(_0x40b92d(_0x20ad49)),_0x5135d3=_0x28d39e(_0x79f35(window['Math']['ceil'](_0x5c1926/_0x190234)));window['localStorage']['setItem'](_0x1949ae,_0x5135d3);}function _0x22696c(){const _0x877050='llct-'+_0x79f35(_0x40b92d(_0x20ad49)),_0x2ea236=window['localStorage']['getItem'](_0x877050);return _0x2ea236?window['parseInt'](_0x28d39e(_0x2ea236),0x10)*_0x190234:null;}function _0x200cb5(_0x189377){return new window['Promise']((_0x284d06,_0xcc273b)=>{_0x189377['then'](_0x284d06,_0xcc273b),window['setTimeout'](_0xcc273b,0x1d4c0);});}}_0x46d02a['on']('_sendUsageRequest',(_0x46da0e,_0x11c4df)=>{if(_0x11c4df[0x0]!=_0x20ad49)return _0x47502c('UsageLimit');_0x11c4df[0x1]={..._0x11c4df[0x1],'requestId':_0x1e00c1};},{'priority':'high'}),_0x46d02a['on']('_sendUsageRequest',_0x493817=>{_0x16457b(_0x493817['return'])&&(_0x182eeb=!0x0,_0x15a3ee(_0x493817['return']));},{'priority':'low'}),_0x10e4f9['then'](()=>{_0x182eeb||_0x47502c('UsageLimit');});});function _0x30ef94(){return'auto'==_0x46d02a['editing']['view']['_overlayModeHint'];}function _0x2ed609(){_0x46d02a['editing']['view']['_overlayModeHint']='auto';}}function _0x4ce549(_0xf85a33){const _0x165fdd=[new window['Promise'](_0x5632f7=>setTimeout(_0x5632f7,0x93ecc)),_0x10e4f9['then'](()=>new window['Promise'](_0x4ae6b5=>{let _0x324a32=0x0;_0x46d02a['model']['on']('applyOperation',(_0x4a8d4c,_0x1ee914)=>{_0x1ee914[0x0]['isDocumentOperation']&&_0x324a32++,0x5e8==_0x324a32&&(_0x4ae6b5(),_0x4a8d4c['off']());});}))];return window['Promise']['race'](_0x165fdd)['then'](()=>_0xf85a33);}async function _0x22de97(){await _0x10e4f9,_0x46d02a['model']['change']=_0x33fb36,_0x46d02a['model']['enqueueChange']=_0x33fb36,_0x46d02a['enableReadOnlyMode']('model');}function _0x31647a(){return window['glob']&&window['glob']['triliumVersion'];}function _0x53c6c6(_0x29e170){const _0x1a1278=_0x3682ec();_0x46d02a[_0x1a1278]='formatPainterLicenseKey'+_0x29e170,'Valid'!=_0x29e170&&_0x22de97();}function _0x3682ec(){const _0xd75976=window['String'](window['performance']['now']())['replace']('.','');let _0x405b50='Q';for(let _0x23f922=0x0;_0x23f922<_0xd75976['length'];_0x23f922+=0x2){let _0x2f991d=window['parseInt'](_0xd75976['substring'](_0x23f922,_0x23f922+0x2));_0x2f991d>=0x3e&&(_0x2f991d-=0x3e),_0x405b50+=_0x304d9b[_0x2f991d];}return _0x405b50;}function _0x1e2e49(){const _0x4790e6=_0x44eae9['split']('.');if(0x3!=_0x4790e6['length'])return null;return _0x43406f(_0x4790e6[0x1]);function _0x43406f(_0x74b786){const _0x509e0a=_0x1530f8(_0x74b786);return _0x509e0a&&_0x38327c()?_0x509e0a:null;function _0x38327c(){const _0x35ebf7=_0x509e0a['jti'],_0x288033=window['parseInt'](_0x35ebf7['substring'](_0x35ebf7['length']-0x8),0x10),_0x54ee42={..._0x509e0a,'jti':_0x35ebf7['substring'](0x0,_0x35ebf7['length']-0x8)};return delete _0x54ee42['vc'],_0x40b92d(_0x54ee42)==_0x288033;}}}async function _0x2c0cb5(){let _0x2b552b=!0x0;try{const [_0x5f55be,_0x2879b1,_0x13b746]=_0x44eae9['split']('.');return _0x3f2648(_0x5f55be),await _0x24f80b(_0x5f55be,_0x2879b1,_0x13b746),_0x2b552b;}catch{return!0x1;}function _0x3f2648(_0xea6db0){const _0x3a250b=_0x1530f8(_0xea6db0);_0x3a250b&&'ES256'==_0x3a250b['alg']||(_0x2b552b=!0x1);}async function _0x24f80b(_0x2ed59a,_0x4249b0,_0x22d586){const _0x63cd06=window['Uint8Array']['from'](_0xb42c07(_0x22d586),_0x3229b0=>_0x3229b0['charCodeAt'](0x0)),_0x4f52e7=new window['TextEncoder']()['encode'](_0x2ed59a+'.'+_0x4249b0),_0x5883e=window['crypto']['subtle'];if(!_0x5883e)return;const _0x3be8c6=await _0x5883e['importKey']('jwk',_0x5f10aa,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5883e['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3be8c6,_0x63cd06,_0x4f52e7)||(_0x2b552b=!0x1);}}function _0x1530f8(_0x4e294c){return _0x4e294c['startsWith']('ey')?JSON['parse'](_0xb42c07(_0x4e294c)):null;}function _0xb42c07(_0x5015c7){return window['atob'](_0x5015c7['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x40b92d(_0x57c0d5){let _0x557a96=0x1505;function _0x583631(_0x2977be){for(let _0x53df3f=0x0;_0x53df3f<_0x2977be['length'];_0x53df3f++){const _0x4bd8d5=_0x2977be['charCodeAt'](_0x53df3f);_0x557a96=(_0x557a96<<0x5)+_0x557a96+_0x4bd8d5,_0x557a96&=_0x557a96;}}function _0x24f6d1(_0x5f58a2){Array['isArray'](_0x5f58a2)?_0x5f58a2['forEach'](_0x24f6d1):_0x5f58a2&&'object'==typeof _0x5f58a2?Object['entries'](_0x5f58a2)['sort']()['forEach'](([_0x4fe1a7,_0x235d5b])=>{_0x583631(_0x4fe1a7),_0x24f6d1(_0x235d5b);}):_0x583631(window['String'](_0x5f58a2));}return _0x24f6d1(_0x57c0d5),_0x557a96>>>0x0;}function _0x79f35(_0x229811){return _0x229811['toString'](0x10)['padStart'](0x8,'0');}function _0x28d39e(_0x2860fd){return _0x2860fd['split']('')['reverse']()['join']('');}function _0x33fb36(){}_0x53c6c6(await _0x3be60f());}(this);}['_toggleSpecialCursor'](_0x21068f){this['editor']['editing']['view']['change'](_0x47ef00=>{for(const _0xb38029 of this['editor']['editing']['view']['document']['roots'])_0x21068f?_0x47ef00['addClass'](h,_0xb38029):_0x47ef00['removeClass'](h,_0xb38029);});}['_copyFormatting'](){const {editor:_0x5870ac}=this;_0x5870ac['execute'](w),_0x5870ac['ui']['ariaLiveAnnouncer']['announce'](L(_0x5870ac['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x5b3a24}=this,_0x52f6f8=_0x5b3a24['commands']['get'](w)['value'];_0x5b3a24['execute'](g,_0x52f6f8),_0x5b3a24['ui']['ariaLiveAnnouncer']['announce'](L(_0x5b3a24['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x5c275f['window']['document'],'mouseup');}},x=class extends _0x49e4c3{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{p as CopyFormatCommand,x as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
23
+ import{Command as _0x2792a4,Plugin as _0x18364b}from'@ckeditor/ckeditor5-core';import{RemoveFormatCommand as _0x1dc717}from'@ckeditor/ckeditor5-remove-format';import{SplitButtonView as _0x9b69e,UIModel as _0xdc840d,addListToDropdown as _0x45915c,createDropdown as _0x14c857}from'@ckeditor/ckeditor5-ui';import{Collection as _0x34717f,DomEmitterMixin as _0x39d806,global as _0x438bbd,uid as _0x1199e1}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0xc68b1f}from'@ckeditor/ckeditor5-engine';import{IconPaintRoller as _0x1d98df}from'@ckeditor/ckeditor5-icons';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';var p=class extends _0x2792a4{constructor(_0xca9f75){super(_0xca9f75),this['value']=void 0x0,this['on']('change:isEnabled',(_0x4518f4,_0x8cf4db,_0x4ebccd)=>{_0x4ebccd||this['reset']();}),this['on']('change:value',()=>_0xca9f75['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x92d9a4=this['editor']['model'],_0x19e5ef=_0x92d9a4['document']['selection'];return Object['fromEntries'](Array['from'](_0x19e5ef['getAttributes']())['filter'](([_0x3e0538])=>_0x92d9a4['schema']['getAttributeProperties'](_0x3e0538)['isFormatting']));}},y=class extends _0x2792a4{constructor(_0x1bcc09){super(_0x1bcc09),this['_removeFormatCommand']=new _0x1dc717(_0x1bcc09);}['execute'](_0x2f90df={}){const _0x20e697=this['editor']['model'],_0x11d204=_0x20e697['document']['selection'],_0x42f49b=Array['from'](_0x11d204['getRanges']()),_0x53ca91=_0x11d204['isCollapsed']?[this['_createRangeOnEntireWord'](_0x20e697,_0x11d204)]:_0x42f49b;_0x20e697['change'](_0x2fcdfa=>{_0x2fcdfa['setSelection'](_0x53ca91),this['_removeFormatCommand']['execute']();for(const _0x2ac70d in _0x2f90df)for(const _0x47629f of _0x20e697['schema']['getValidRanges'](_0x53ca91,_0x2ac70d))_0x2fcdfa['setAttribute'](_0x2ac70d,_0x2f90df[_0x2ac70d],_0x47629f);_0x2fcdfa['setSelection'](_0x42f49b);});}['_createRangeOnEntireWord'](_0x4bb092,_0x197f51){const _0xd2a6d4=_0x4bb092['createSelection'](_0x197f51);_0x4bb092['modifySelection'](_0xd2a6d4,{'unit':'word','direction':'backward'});const _0x540b5d=_0xd2a6d4['getFirstPosition']();_0x4bb092['modifySelection'](_0xd2a6d4,{'unit':'word','direction':'forward'});const _0x255493=_0xd2a6d4['getLastPosition']();return _0x4bb092['createRange'](_0x540b5d,_0x255493);}},P=class extends _0x18364b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2bc894=this['editor'];_0x2bc894['commands']['add'](w,new p(_0x2bc894)),_0x2bc894['commands']['add'](g,new y(_0x2bc894)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x51e0ac=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f03b8;for(const _0x1c217f in _0x51e0ac){const _0x8159ec=_0x1c217f,_0x2f22c6=_0x51e0ac[_0x8159ec];if('formatPainterLicenseKeyValid'==_0x2f22c6||'formatPainterLicenseKeyInvalid'==_0x2f22c6||'formatPainterLicenseKeyExpired'==_0x2f22c6||'formatPainterLicenseKeyDomainLimit'==_0x2f22c6||'formatPainterLicenseKeyNotAllowed'==_0x2f22c6||'formatPainterLicenseKeyEvaluationLimit'==_0x2f22c6||'formatPainterLicenseKeyUsageLimit'==_0x2f22c6){delete _0x51e0ac[_0x8159ec],_0x3f03b8=_0x2f22c6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x3f03b8&&_0x51e0ac['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x3f03b8&&_0x51e0ac['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x3f03b8&&_0x51e0ac['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x3f03b8&&_0x51e0ac['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x3f03b8&&_0x51e0ac['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x3f03b8&&_0x51e0ac['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function L(_0x3d6fbe,_0x3cc7ab){const t=_0x3d6fbe['t'];switch(_0x3cc7ab){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x3cc7ab;}}const v=/* #__PURE__ -- @preserve */
24
+ _0x39d806(_0x18364b);var k=class extends v{static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe45e21=this['editor'];_0xe45e21['editing']['view']['addObserver'](_0xc68b1f),_0xe45e21['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':L(_0xe45e21['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':L(_0xe45e21['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0xe45e21['ui']['componentFactory']['add']('formatPainter',_0x5c7d73=>{const _0x34d30c=_0x14c857(_0x5c7d73,_0x9b69e),_0x4351b7=_0xe45e21['commands']['get'](w);_0x34d30c['buttonView']['set']({'label':L(_0xe45e21['locale'],'Paint\x20formatting'),'icon':_0x1d98df,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x34d30c['class']='ck-format-painter-dropdown',_0x4351b7&&(_0x34d30c['bind']('isEnabled')['to'](_0x4351b7,'isEnabled'),this['listenTo'](_0x4351b7,'change:isEnabled',(_0x4a41ab,_0x4248fd,_0x2e846e)=>{_0x2e846e||this['_finishPainting']();}),_0x34d30c['buttonView']['bind']('isOn')['to'](_0x4351b7,'value',_0x1ecf8d=>!!_0x1ecf8d),this['listenTo'](_0xe45e21,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x4351b7,'change:value',(_0x5440b8,_0x1c7552,_0x4cb091)=>{this['_toggleSpecialCursor'](!!_0x4cb091);}));const _0x594dc9=new _0xdc840d({'withText':!0x0,'label':L(_0xe45e21['locale'],'Continuous\x20painting'),'tooltip':L(_0xe45e21['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x45915c(_0x34d30c,new _0x34717f([{'type':'switchbutton','model':_0x594dc9}]),{'role':'menu'});const _0xc66b26=()=>{this['_copyFormatting'](),this['listenTo'](_0x438bbd['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x594dc9['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x34d30c,'execute',()=>{_0x594dc9['isOn']=!_0x594dc9['isOn'];}),this['listenTo'](_0x34d30c['buttonView'],'execute',()=>{_0xe45e21['editing']['view']['focus'](),_0x34d30c['buttonView']['isOn']?this['_finishPainting']():_0xc66b26();}),_0xe45e21['keystrokes']['set']('Ctrl+Alt+C',(_0x57f1ff,_0x1a9c58)=>{_0xc66b26(),_0x594dc9['isOn']=!0x0,_0x1a9c58();},{'priority':'high'}),_0xe45e21['keystrokes']['set']('Ctrl+Alt+V',(_0x21d040,_0xba0a2e)=>{_0x34d30c['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x594dc9['isOn']||this['_finishPainting'](),_0xba0a2e());},{'priority':'high'}),_0xe45e21['keystrokes']['set']('Esc',(_0x39921d,_0x2b855c)=>{_0x34d30c['buttonView']['isOn']&&(_0x594dc9['isOn']=!0x1,this['_finishPainting'](),_0xe45e21['ui']['ariaLiveAnnouncer']['announce'](L(_0xe45e21['locale'],'Painting\x20cancelled.')),_0x2b855c());}),_0x34d30c;});}['afterInit'](){!async function(_0x3d628f){const _0x36a603='QiLRCSOsZ8pAvDdaPJUE3oxjKlzM2uXgrtGfeyh5cNFkmBw9I6WH0qnb4T17YV',_0x4740cb=0x78df8,_0x24cee7=window['Date']['now'](),_0x66c7d8=_0x3d628f['editor'],_0x2fa4e2=new window['Promise'](_0x4b0222=>{_0x66c7d8['once']('ready',_0x4b0222);}),_0x5a5948={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x51fea3=_0x66c7d8['config']['get']('licenseKey');async function _0x54d63b(){let _0x517bcc,_0x1eb116=null,_0x17ba45=null;try{return'GPL'==_0x51fea3?'NotAllowed':(_0x517bcc=_0x363c1e(),_0x517bcc?(_0x517bcc['usageEndpoint']&&(_0x17ba45=_0x3f7bfd(_0x517bcc['usageEndpoint'],_0x517bcc['jti'])),await _0x5dcbb4()?_0x32b9c2()?_0x73ce7()?'Expired':_0x1edd3f()?('evaluation'==_0x517bcc['licenseType']&&(_0x1eb116=_0x3d643e('EvaluationLimit')),await _0x4431b2()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x73ce7(){const _0x242c0f=['evaluation','trial']['includes'](_0x517bcc['licenseType'])?_0x24cee7/0x3e8:0xe10*_0x4740cb;return _0x517bcc['exp']<_0x242c0f;}function _0x32b9c2(){const _0x3ee003=_0x517bcc['features'];return!!_0x3ee003&&(!!_0x3ee003['includes']('*')||(!!_0x3ee003['includes']('FP')||(!!_0x3ee003['includes']('PP')||!(!_0x3ee003['includes']('TRILIUM')||!_0x219385()))));}function _0x1edd3f(){const _0x4c36b5=_0x517bcc['licensedHosts'];if(!_0x4c36b5||0x0==_0x4c36b5['length'])return!0x0;const {hostname:_0x2fff43}=new URL(window['location']['href']);if(_0x4c36b5['includes'](_0x2fff43))return!0x0;const _0x4cca65=_0x2fff43['split']('.');return _0x4c36b5['filter'](_0xf3ce49=>_0xf3ce49['includes']('*'))['map'](_0xac72f0=>_0xac72f0['split']('.'))['filter'](_0x2b7760=>_0x2b7760['length']<=_0x4cca65['length'])['map'](_0x148820=>Array(_0x4cca65['length']-_0x148820['length'])['fill']('*'===_0x148820[0x0]?'*':'')['concat'](_0x148820))['some'](_0x46726b=>_0x4cca65['every']((_0x1ce17a,_0x4a4fcb)=>_0x46726b[_0x4a4fcb]===_0x1ce17a||'*'===_0x46726b[_0x4a4fcb]));}function _0x4431b2(){return _0x1eb116&&_0x17ba45?new window['Promise']((_0x573977,_0xd9ec7e)=>{_0x1eb116['then'](_0x573977,_0xd9ec7e),_0x17ba45['then'](_0x2d150c=>{'Valid'!=_0x2d150c&&_0x573977(_0x2d150c);},_0xd9ec7e);}):_0x1eb116||_0x17ba45||'Valid';}}function _0x3f7bfd(_0x16d97b,_0x29d41d){return new window['Promise'](_0x3a7612=>{if(_0x14a99a())return _0x3a7612('Valid');_0x5cdd8f(),_0x66c7d8['decorate']('_sendUsageRequest');let _0x4d0a8e=!0x1;const _0x27611a=_0x1199e1();function _0x203e6b(_0x2404fd){return!!_0x2404fd&&('object'==typeof _0x2404fd||'function'==typeof _0x2404fd)&&'function'==typeof _0x2404fd['then']&&'function'==typeof _0x2404fd['catch'];}function _0x3401ac(_0x50fda2){_0x14cb1f(_0x50fda2)['then'](_0x1b0ac4=>_0x1b0ac4&&'ok'==_0x1b0ac4['status']?_0x42a5a1(_0x937864(_0x27611a+_0x29d41d))!=_0x1b0ac4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2609f6=>(_0x34da4d(),_0x2609f6),()=>{const _0x48b7ba=_0x26e62e();return null==_0x48b7ba?(_0x34da4d(),'Valid'):_0x24cee7-_0x48b7ba>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3a7612)['catch'](()=>{_0x3a7612('UsageLimit');});const _0x257c14=0x36ee80;function _0x34da4d(){const _0x4a971c='llct-'+_0x42a5a1(_0x937864(_0x16d97b)),_0x5831b3=_0x224c36(_0x42a5a1(window['Math']['ceil'](_0x24cee7/_0x257c14)));window['localStorage']['setItem'](_0x4a971c,_0x5831b3);}function _0x26e62e(){const _0x242d2f='llct-'+_0x42a5a1(_0x937864(_0x16d97b)),_0x2757d9=window['localStorage']['getItem'](_0x242d2f);return _0x2757d9?window['parseInt'](_0x224c36(_0x2757d9),0x10)*_0x257c14:null;}function _0x14cb1f(_0x182abe){return new window['Promise']((_0x203de9,_0xe062cc)=>{_0x182abe['then'](_0x203de9,_0xe062cc),window['setTimeout'](_0xe062cc,0x1d4c0);});}}_0x66c7d8['on']('_sendUsageRequest',(_0x55eae4,_0xc8a5eb)=>{if(_0xc8a5eb[0x0]!=_0x16d97b)return _0x3a7612('UsageLimit');_0xc8a5eb[0x1]={..._0xc8a5eb[0x1],'requestId':_0x27611a};},{'priority':'high'}),_0x66c7d8['on']('_sendUsageRequest',_0x30f03f=>{_0x203e6b(_0x30f03f['return'])&&(_0x4d0a8e=!0x0,_0x3401ac(_0x30f03f['return']));},{'priority':'low'}),_0x2fa4e2['then'](()=>{_0x4d0a8e||_0x3a7612('UsageLimit');});});function _0x14a99a(){return'auto'==_0x66c7d8['editing']['view']['_overlayModeHint'];}function _0x5cdd8f(){_0x66c7d8['editing']['view']['_overlayModeHint']='auto';}}function _0x3d643e(_0x16ee52){const _0x209912=[new window['Promise'](_0x2f89ed=>setTimeout(_0x2f89ed,0x93ecc)),_0x2fa4e2['then'](()=>new window['Promise'](_0xca2d09=>{let _0x1bb093=0x0;_0x66c7d8['model']['on']('applyOperation',(_0x53fa50,_0x22095f)=>{_0x22095f[0x0]['isDocumentOperation']&&_0x1bb093++,0x5e8==_0x1bb093&&(_0xca2d09(),_0x53fa50['off']());});}))];return window['Promise']['race'](_0x209912)['then'](()=>_0x16ee52);}async function _0x49210f(){await _0x2fa4e2,_0x66c7d8['model']['change']=_0x3db3ab,_0x66c7d8['model']['enqueueChange']=_0x3db3ab,_0x66c7d8['enableReadOnlyMode']('model');}function _0x219385(){return window['glob']&&window['glob']['triliumVersion'];}function _0x157f21(_0x5f44ad){const _0x57c7f1=_0x546426();_0x66c7d8[_0x57c7f1]='formatPainterLicenseKey'+_0x5f44ad,'Valid'!=_0x5f44ad&&_0x49210f();}function _0x546426(){const _0x3e9992=window['String'](window['performance']['now']())['replace']('.','');let _0x4275c0='Q';for(let _0x39293f=0x0;_0x39293f<_0x3e9992['length'];_0x39293f+=0x2){let _0x19353b=window['parseInt'](_0x3e9992['substring'](_0x39293f,_0x39293f+0x2));_0x19353b>=0x3e&&(_0x19353b-=0x3e),_0x4275c0+=_0x36a603[_0x19353b];}return _0x4275c0;}function _0x363c1e(){const _0x404040=_0x51fea3['split']('.');if(0x3!=_0x404040['length'])return null;return _0x4e5e28(_0x404040[0x1]);function _0x4e5e28(_0x248c2b){const _0x28ab8d=_0x57a9fc(_0x248c2b);return _0x28ab8d&&_0x406dc6()?_0x28ab8d:null;function _0x406dc6(){const _0x232cd1=_0x28ab8d['jti'],_0x20fbac=window['parseInt'](_0x232cd1['substring'](_0x232cd1['length']-0x8),0x10),_0xd14d79={..._0x28ab8d,'jti':_0x232cd1['substring'](0x0,_0x232cd1['length']-0x8)};return delete _0xd14d79['vc'],_0x937864(_0xd14d79)==_0x20fbac;}}}async function _0x5dcbb4(){let _0x4ba913=!0x0;try{const [_0x56e476,_0x709b7e,_0x25c8fc]=_0x51fea3['split']('.');return _0x295bcb(_0x56e476),await _0x2569b2(_0x56e476,_0x709b7e,_0x25c8fc),_0x4ba913;}catch{return!0x1;}function _0x295bcb(_0x11d1c9){const _0x5c464f=_0x57a9fc(_0x11d1c9);_0x5c464f&&'ES256'==_0x5c464f['alg']||(_0x4ba913=!0x1);}async function _0x2569b2(_0x315ba1,_0x93e823,_0x10ca9b){const _0x2172bb=window['Uint8Array']['from'](_0x2c094f(_0x10ca9b),_0x7cc187=>_0x7cc187['charCodeAt'](0x0)),_0x2759fe=new window['TextEncoder']()['encode'](_0x315ba1+'.'+_0x93e823),_0x640457=window['crypto']['subtle'];if(!_0x640457)return;const _0x58326b=await _0x640457['importKey']('jwk',_0x5a5948,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x640457['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x58326b,_0x2172bb,_0x2759fe)||(_0x4ba913=!0x1);}}function _0x57a9fc(_0x572ad6){return _0x572ad6['startsWith']('ey')?JSON['parse'](_0x2c094f(_0x572ad6)):null;}function _0x2c094f(_0x5e157e){return window['atob'](_0x5e157e['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x937864(_0xdf7f5a){let _0x3d8479=0x1505;function _0x37a65e(_0x5472f0){for(let _0x162966=0x0;_0x162966<_0x5472f0['length'];_0x162966++){const _0x3e15ff=_0x5472f0['charCodeAt'](_0x162966);_0x3d8479=(_0x3d8479<<0x5)+_0x3d8479+_0x3e15ff,_0x3d8479&=_0x3d8479;}}function _0x2ab015(_0x1d8917){Array['isArray'](_0x1d8917)?_0x1d8917['forEach'](_0x2ab015):_0x1d8917&&'object'==typeof _0x1d8917?Object['entries'](_0x1d8917)['sort']()['forEach'](([_0x8aaba8,_0x1cb5ba])=>{_0x37a65e(_0x8aaba8),_0x2ab015(_0x1cb5ba);}):_0x37a65e(window['String'](_0x1d8917));}return _0x2ab015(_0xdf7f5a),_0x3d8479>>>0x0;}function _0x42a5a1(_0x21be24){return _0x21be24['toString'](0x10)['padStart'](0x8,'0');}function _0x224c36(_0x5b7ae0){return _0x5b7ae0['split']('')['reverse']()['join']('');}function _0x3db3ab(){}_0x157f21(await _0x54d63b());}(this);}['_toggleSpecialCursor'](_0x10eb5f){this['editor']['editing']['view']['change'](_0x302f00=>{for(const _0xc6ea65 of this['editor']['editing']['view']['document']['roots'])_0x10eb5f?_0x302f00['addClass'](h,_0xc6ea65):_0x302f00['removeClass'](h,_0xc6ea65);});}['_copyFormatting'](){const {editor:_0x2ccd4c}=this;_0x2ccd4c['execute'](w),_0x2ccd4c['ui']['ariaLiveAnnouncer']['announce'](L(_0x2ccd4c['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x4dd298}=this,_0x17e525=_0x4dd298['commands']['get'](w)['value'];_0x4dd298['execute'](g,_0x17e525),_0x4dd298['ui']['ariaLiveAnnouncer']['announce'](L(_0x4dd298['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x438bbd['window']['document'],'mouseup');}},x=class extends _0x18364b{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{p as CopyFormatCommand,x as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-format-painter",
3
- "version": "48.3.0-alpha.0",
3
+ "version": "48.3.0-alpha.1",
4
4
  "description": "Format painter feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -21,12 +21,12 @@
21
21
  "./package.json": "./package.json"
22
22
  },
23
23
  "dependencies": {
24
- "@ckeditor/ckeditor5-core": "48.3.0-alpha.0",
25
- "@ckeditor/ckeditor5-engine": "48.3.0-alpha.0",
26
- "@ckeditor/ckeditor5-icons": "48.3.0-alpha.0",
27
- "@ckeditor/ckeditor5-remove-format": "48.3.0-alpha.0",
28
- "@ckeditor/ckeditor5-ui": "48.3.0-alpha.0",
29
- "@ckeditor/ckeditor5-utils": "48.3.0-alpha.0"
24
+ "@ckeditor/ckeditor5-core": "48.3.0-alpha.1",
25
+ "@ckeditor/ckeditor5-engine": "48.3.0-alpha.1",
26
+ "@ckeditor/ckeditor5-icons": "48.3.0-alpha.1",
27
+ "@ckeditor/ckeditor5-remove-format": "48.3.0-alpha.1",
28
+ "@ckeditor/ckeditor5-ui": "48.3.0-alpha.1",
29
+ "@ckeditor/ckeditor5-utils": "48.3.0-alpha.1"
30
30
  },
31
31
  "files": [
32
32
  "dist",