@things-factory/operato-tools 6.1.30 → 6.1.32

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
- (function(_0x31229a,_0x16fc6c){const _0x33559=a0_0x1cd4,_0x59b46b=_0x31229a();while(!![]){try{const _0xd30614=-parseInt(_0x33559(0x1a5))/0x1+-parseInt(_0x33559(0x1a7))/0x2+-parseInt(_0x33559(0x1a9))/0x3*(parseInt(_0x33559(0x1ab))/0x4)+-parseInt(_0x33559(0x1a4))/0x5*(-parseInt(_0x33559(0x1a3))/0x6)+parseInt(_0x33559(0x1a6))/0x7+-parseInt(_0x33559(0x1aa))/0x8*(-parseInt(_0x33559(0x1a8))/0x9)+parseInt(_0x33559(0x1ac))/0xa;if(_0xd30614===_0x16fc6c)break;else _0x59b46b['push'](_0x59b46b['shift']());}catch(_0x53fc4b){_0x59b46b['push'](_0x59b46b['shift']());}}}(a0_0x8731,0x75e18));function a0_0x1cd4(_0x51849d,_0x3b3896){const _0x8731b7=a0_0x8731();return a0_0x1cd4=function(_0x1cd4e1,_0x17ec24){_0x1cd4e1=_0x1cd4e1-0x1a3;let _0x5be1b7=_0x8731b7[_0x1cd4e1];return _0x5be1b7;},a0_0x1cd4(_0x51849d,_0x3b3896);}function a0_0x8731(){const _0x5d0571=['14904180wHiSOL','6nlltCd','80935KOpZrV','835878HIviXB','727699wlGkEs','18696UBWfqW','72SQyRhN','623352LyTXWj','133072QDEoWA','8rdvHDh'];a0_0x8731=function(){return _0x5d0571;};return a0_0x8731();}export const UPDATE_OPERATO_TOOLS='UPDATE_OPERATO_TOOLS';
1
+ const a0_0x3b5a0f=a0_0x1872;function a0_0x1872(_0x5e37b4,_0x25cf87){const _0x5a764d=a0_0x5a76();return a0_0x1872=function(_0x1872b1,_0x1c35c0){_0x1872b1=_0x1872b1-0x127;let _0x8eb888=_0x5a764d[_0x1872b1];return _0x8eb888;},a0_0x1872(_0x5e37b4,_0x25cf87);}(function(_0x550040,_0x3e11ea){const _0x37a10f=a0_0x1872,_0x45c100=_0x550040();while(!![]){try{const _0x31c03b=parseInt(_0x37a10f(0x129))/0x1*(parseInt(_0x37a10f(0x12f))/0x2)+-parseInt(_0x37a10f(0x12e))/0x3*(-parseInt(_0x37a10f(0x131))/0x4)+-parseInt(_0x37a10f(0x12b))/0x5+parseInt(_0x37a10f(0x12c))/0x6+parseInt(_0x37a10f(0x127))/0x7+parseInt(_0x37a10f(0x12a))/0x8*(-parseInt(_0x37a10f(0x12d))/0x9)+-parseInt(_0x37a10f(0x130))/0xa;if(_0x31c03b===_0x3e11ea)break;else _0x45c100['push'](_0x45c100['shift']());}catch(_0x1f8677){_0x45c100['push'](_0x45c100['shift']());}}}(a0_0x5a76,0x867a6));export const UPDATE_OPERATO_TOOLS=a0_0x3b5a0f(0x128);function a0_0x5a76(){const _0xfdda56=['43098BotPvF','377362OBFNvT','16182280COlIBf','188VVAloG','5677574isxSMU','UPDATE_OPERATO_TOOLS','2EhgKWY','2977096yfckPq','2106390UGYdCL','6592914ljrVXX','9TKMVev'];a0_0x5a76=function(){return _0xfdda56;};return a0_0x5a76();}
@@ -1,5 +1,5 @@
1
- const a0_0x41aede=a0_0x205c;(function(_0x136c17,_0x55a6a7){const _0x4a9904=a0_0x205c,_0x47253a=_0x136c17();while(!![]){try{const _0x12d66b=parseInt(_0x4a9904(0xc7))/0x1*(parseInt(_0x4a9904(0xab))/0x2)+parseInt(_0x4a9904(0xaa))/0x3+parseInt(_0x4a9904(0xa4))/0x4+-parseInt(_0x4a9904(0xa7))/0x5+parseInt(_0x4a9904(0xcd))/0x6*(-parseInt(_0x4a9904(0xde))/0x7)+parseInt(_0x4a9904(0xad))/0x8+parseInt(_0x4a9904(0xdb))/0x9*(parseInt(_0x4a9904(0xe1))/0xa);if(_0x12d66b===_0x55a6a7)break;else _0x47253a['push'](_0x47253a['shift']());}catch(_0x5c4c6a){_0x47253a['push'](_0x47253a['shift']());}}}(a0_0x25c7,0x381de));import{html}from'lit-element';function a0_0x205c(_0x3ce17d,_0x3b19e4){const _0x25c730=a0_0x25c7();return a0_0x205c=function(_0x205c22,_0x5467a9){_0x205c22=_0x205c22-0x9d;let _0x9d3f3=_0x25c730[_0x205c22];return _0x9d3f3;},a0_0x205c(_0x3ce17d,_0x3b19e4);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{getRenderer}from'@operato/data-grist';function a0_0x25c7(){const _0x38beb2=['rank','#button-tab-grid','trim','style','viewButtonData','menu-routing','meta-grist-element','grist_all','tLabel','button','grid-basic','title.detail','191652gNfJlP','label','right','1885225GSuyjl','filter','bind','927288FayCzN','11202vqOUxV','setButtonConfigTabConfig','1237344ghuHmP','fetchButtonConfigTabHandler','startsWith','basic','custom','stringify','param_field','getGristSelectableConfig','tButton','type','large','form','select','sortRecordByRank','textarea','buttonTabGridConfig','testScenario','display','name','json5','popup','isArray','forEach','logic','getGristGuttersConfig','scenario','23rnZFRa','icon','shadowRoot','string','push','gutter','34098GIfzlt','parameters','menu.variables','parse','script','getElementValueById','pages/meta-grist-element.js','grid-custom','querySelector','buttonTabGrist','grid-','delete','fetch','grist_changed','558BeRsWH','deleteRow','grist_one','63FHYhKq','left','integer','2830btWlbg'];a0_0x25c7=function(){return _0x38beb2;};return a0_0x25c7();}export const ButtonConfigTabMixin=_0x4c1049=>class extends _0x4c1049{['setButtonConfigTabValues'](_0x8cd7f8){const _0x212e01=a0_0x205c;_0x8cd7f8?.[_0x212e01(0xc3)]((_0x2f5189,_0x394479)=>{const _0x7aaca1=_0x212e01;let _0x2d68ee=_0x394479+0x1;if(_0x2f5189[_0x7aaca1(0xe2)]=0xa*_0x2d68ee,_0x2f5189['id']=_0x2d68ee,_0x2f5189[_0x7aaca1(0xc4)]&&!_0x2f5189[_0x7aaca1(0xc4)][_0x7aaca1(0xc4)]){let _0x4352b7=JSON[_0x7aaca1(0xb2)](_0x2f5189['logic'],null,0x2);_0x2f5189['logic']={},_0x2f5189[_0x7aaca1(0xc4)][_0x7aaca1(0xc4)]=_0x4352b7;}_0x2f5189['style']&&Array[_0x7aaca1(0xc2)](_0x2f5189['style'])&&(_0x2f5189['style']=JSON['stringify'](_0x2f5189['style'],null,0x2));}),this['viewButtonData']=_0x8cd7f8,this[_0x212e01(0xd6)]?.[_0x212e01(0xd9)]();}['getButtonConfigTabValues'](){const _0x75bfe0=a0_0x205c;let _0x1c273c={'button':[],'grid':{'button':[]}},_0x19235a=this[_0x75bfe0(0xd2)]('button-tab-grid');return this[_0x75bfe0(0xba)](_0x19235a)?.[_0x75bfe0(0xc3)](_0x229798=>{const _0x44ce8e=_0x75bfe0;var {name:_0x4c998a,label:_0x5576c0,style:_0x116b04,type:_0x17352b=_0x44ce8e(0xb0),logic:_0xec05da}=_0x229798;if(!_0x4c998a)return;let _0x2d7751={'name':_0x4c998a,'type':_0x17352b['replaceAll'](_0x44ce8e(0xd7),''),'label':_0x5576c0||_0x4c998a};_0xec05da&&(_0x44ce8e(0xca)==typeof _0xec05da&&(_0xec05da=JSON[_0x44ce8e(0xd0)](_0xec05da)),_0xec05da[_0x44ce8e(0xc4)]&&(_0x2d7751['logic']=JSON['parse'](_0xec05da[_0x44ce8e(0xc4)]))),_0x17352b['startsWith']('grid')?(_0x116b04&&((_0x116b04=_0x116b04[_0x44ce8e(0xe4)]())[_0x44ce8e(0xaf)]('[')&&(_0x116b04=JSON[_0x44ce8e(0xd0)](_0x116b04)),_0x2d7751[_0x44ce8e(0xc8)]=_0x116b04),_0x1c273c['grid'][_0x44ce8e(0xa1)][_0x44ce8e(0xcb)](_0x2d7751)):(_0x116b04&&(_0x2d7751[_0x44ce8e(0xe5)]=_0x116b04),_0x1c273c['button'][_0x44ce8e(0xcb)](_0x2d7751));}),_0x1c273c;}['renderButtonConfigTab'](){const _0x29a075=a0_0x205c;return html`
2
- <ox-grist auto-fetch id="button-tab-grid" .config=${this[_0x29a075(0xbc)]} .mode='GRID'
3
- .fetchHandler=${this['fetchButtonConfigTabHandler'][_0x29a075(0xa9)](this)}>
1
+ const a0_0x55e9e1=a0_0x3d0d;(function(_0x1f2dfa,_0x1d58ab){const _0x541f7a=a0_0x3d0d,_0xa65a3f=_0x1f2dfa();while(!![]){try{const _0x449af1=parseInt(_0x541f7a(0x124))/0x1*(-parseInt(_0x541f7a(0x139))/0x2)+-parseInt(_0x541f7a(0x127))/0x3*(parseInt(_0x541f7a(0x146))/0x4)+parseInt(_0x541f7a(0x157))/0x5+parseInt(_0x541f7a(0x138))/0x6*(parseInt(_0x541f7a(0x125))/0x7)+parseInt(_0x541f7a(0x136))/0x8+parseInt(_0x541f7a(0x159))/0x9+parseInt(_0x541f7a(0x141))/0xa*(-parseInt(_0x541f7a(0x128))/0xb);if(_0x449af1===_0x1d58ab)break;else _0xa65a3f['push'](_0xa65a3f['shift']());}catch(_0x4acb9e){_0xa65a3f['push'](_0xa65a3f['shift']());}}}(a0_0x3684,0xbd580));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{getRenderer}from'@operato/data-grist';export const ButtonConfigTabMixin=_0xb6bf0f=>class extends _0xb6bf0f{['setButtonConfigTabValues'](_0xf0239d){const _0x2919b8=a0_0x3d0d;_0xf0239d?.['forEach']((_0x2b921e,_0x403ad5)=>{const _0x15149c=a0_0x3d0d;let _0x1c692e=_0x403ad5+0x1;if(_0x2b921e['rank']=0xa*_0x1c692e,_0x2b921e['id']=_0x1c692e,_0x2b921e['logic']&&!_0x2b921e[_0x15149c(0x129)]['logic']){let _0x19dbde=JSON['stringify'](_0x2b921e['logic'],null,0x2);_0x2b921e[_0x15149c(0x129)]={},_0x2b921e[_0x15149c(0x129)][_0x15149c(0x129)]=_0x19dbde;}_0x2b921e[_0x15149c(0x13f)]&&Array[_0x15149c(0x13b)](_0x2b921e[_0x15149c(0x13f)])&&(_0x2b921e['style']=JSON['stringify'](_0x2b921e[_0x15149c(0x13f)],null,0x2));}),this['viewButtonData']=_0xf0239d,this['buttonTabGrist']?.[_0x2919b8(0x130)]();}['getButtonConfigTabValues'](){const _0x130de9=a0_0x3d0d;let _0x47d74b={'button':[],'grid':{'button':[]}},_0x4a9ba8=this[_0x130de9(0x14c)](_0x130de9(0x132));return this['sortRecordByRank'](_0x4a9ba8)?.['forEach'](_0x4ff62e=>{const _0x1f36e7=_0x130de9;var {name:_0x3fc2cc,label:_0x3122d8,style:_0x4a6275,type:_0x544ff9=_0x1f36e7(0x168),logic:_0x92eb63}=_0x4ff62e;if(!_0x3fc2cc)return;let _0x17d895={'name':_0x3fc2cc,'type':_0x544ff9['replaceAll'](_0x1f36e7(0x15d),''),'label':_0x3122d8||_0x3fc2cc};_0x92eb63&&('string'==typeof _0x92eb63&&(_0x92eb63=JSON[_0x1f36e7(0x158)](_0x92eb63)),_0x92eb63[_0x1f36e7(0x129)]&&(_0x17d895[_0x1f36e7(0x129)]=JSON[_0x1f36e7(0x158)](_0x92eb63[_0x1f36e7(0x129)]))),_0x544ff9[_0x1f36e7(0x140)](_0x1f36e7(0x14d))?(_0x4a6275&&((_0x4a6275=_0x4a6275[_0x1f36e7(0x162)]())[_0x1f36e7(0x140)]('[')&&(_0x4a6275=JSON[_0x1f36e7(0x158)](_0x4a6275)),_0x17d895[_0x1f36e7(0x143)]=_0x4a6275),_0x47d74b[_0x1f36e7(0x14d)][_0x1f36e7(0x149)][_0x1f36e7(0x14a)](_0x17d895)):(_0x4a6275&&(_0x17d895[_0x1f36e7(0x13f)]=_0x4a6275),_0x47d74b[_0x1f36e7(0x149)][_0x1f36e7(0x14a)](_0x17d895));}),_0x47d74b;}[a0_0x55e9e1(0x137)](){const _0x15ae5e=a0_0x55e9e1;return html`
2
+ <ox-grist auto-fetch id="button-tab-grid" .config=${this[_0x15ae5e(0x154)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x15ae5e(0x160)][_0x15ae5e(0x163)](this)}>
4
4
  </ox-grist>
5
- `;}get[a0_0x41aede(0xd6)](){const _0xe0173b=a0_0x41aede;return this[_0xe0173b(0xc9)][_0xe0173b(0xd5)](_0xe0173b(0xe3));}async[a0_0x41aede(0xae)](){const _0xf70ebd=a0_0x41aede;return{'total':0x0,'records':this[_0xf70ebd(0xe6)]||[]};}[a0_0x41aede(0xac)](){const _0x195530=a0_0x41aede;this['buttonTabGridConfig']={'rows':MetaApi[_0x195530(0xb4)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x195530(0xe2),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x195530(0xc5)](!0x1,!0x1),{'type':_0x195530(0xcc),'gutterName':_0x195530(0xa1),'icon':_0x195530(0xd8),'handlers':{'click':(_0x5ac9a8,_0x2d1804,_0x1114a0,_0x1dc9c6,_0x4555d6)=>{const _0x218958=_0x195530;_0x1dc9c6['id']&&this[_0x218958(0xdc)](this[_0x218958(0xd6)],_0x1dc9c6);}}},{'type':_0x195530(0xca),'name':'id','hidden':!0x0},{'type':_0x195530(0xe0),'name':'rank','header':TermsUtil[_0x195530(0xa0)](_0x195530(0xe2)),'sortable':!0x0,'width':0x41,'record':{'align':_0x195530(0xa6),'editable':!0x0,'mandatory':!0x0}},{'type':_0x195530(0xca),'name':_0x195530(0xbf),'header':TermsUtil['tLabel'](_0x195530(0xbf)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x195530(0xdf),'editable':!0x0,'mandatory':!0x0}},{'type':_0x195530(0xca),'name':'label','header':TermsUtil[_0x195530(0xa0)](_0x195530(0xa5)),'sortable':!0x1,'width':0xaf,'record':{'align':_0x195530(0xdf),'editable':!0x0,'mandatory':!0x0}},{'type':_0x195530(0xca),'name':_0x195530(0xbe),'header':TermsUtil[_0x195530(0xa0)](_0x195530(0xbe)),'sortable':!0x1,'width':0xaf,'record':{'align':_0x195530(0xdf),'editable':!0x1,'mandatory':!0x1,'renderer':(_0x4b3200,_0x550471,_0x43fc79,_0x446850,_0x1364f3)=>{const _0x138ec2=_0x195530;let _0x4b1888=_0x43fc79[_0x138ec2(0xa5)]?_0x43fc79['label']:_0x43fc79[_0x138ec2(0xbf)];return TermsUtil[_0x138ec2(0xb5)](_0x4b1888);}}},{'type':_0x195530(0xb9),'name':'type','header':TermsUtil['tLabel'](_0x195530(0xb6)),'sortable':!0x1,'width':0x64,'record':{'align':_0x195530(0xdf),'editable':!0x0,'mandatory':!0x0,'options':['',_0x195530(0xb0),_0x195530(0xb1),_0x195530(0xa2),_0x195530(0xd4)]}},{'type':_0x195530(0xca),'name':_0x195530(0xe5),'header':TermsUtil[_0x195530(0xa0)](_0x195530(0xe5)),'sortable':!0x1,'width':0x9b,'record':{'align':'left','editable':!0x0,'mandatory':!0x1}},{'type':_0x195530(0xce),'name':'logic','header':TermsUtil[_0x195530(0xa0)](_0x195530(0xc4)),'sortable':!0x1,'width':0xfa,'record':{'align':_0x195530(0xdf),'editable':!0x0,'mandatory':!0x1,'renderer':(_0x2231de,_0x36e2fe,_0xf0493a,_0x4b77ba,_0x46cf56)=>{const _0x3325ff=_0x195530;if(_0xf0493a[_0x3325ff(0xc4)])_0x3325ff(0xb0)===_0xf0493a[_0x3325ff(0xb6)]&&(_0xf0493a[_0x3325ff(0xc4)]=void 0x0);else{if(_0x3325ff(0xb0)===_0xf0493a[_0x3325ff(0xb6)])delete _0xf0493a['logic'];else{if(_0x3325ff(0xb1)===_0xf0493a[_0x3325ff(0xb6)]){let _0x25b4bd={'logic':JSON[_0x3325ff(0xb2)]({'open_popup':{'title':'menu.variables','title_detail':_0x3325ff(0xbf),'type':_0x3325ff(0xc1),'menu':'menu-routing','tagname':_0x3325ff(0x9e),'location':_0x3325ff(0xd3),'size':_0x3325ff(0xb7),'popup_field':_0x3325ff(0xb3),'parent_field':'id','param':[_0x3325ff(0xa8),_0x3325ff(0xdd),'grist_selected',_0x3325ff(0xda)]},'call_scenario':{'type':_0x3325ff(0xc6),'name':_0x3325ff(0xbd),'after':'fetch','param':['filter',_0x3325ff(0x9f),'grist_selected']}},null,0x2)};_0xf0493a[_0x3325ff(0xc4)]=_0x25b4bd;}else{if('grid-basic'===_0xf0493a[_0x3325ff(0xb6)]){let _0x248a4b={'logic':'\x22record-view\x22'};_0xf0493a[_0x3325ff(0xc4)]=_0x248a4b;}else{if(_0x3325ff(0xd4)===_0xf0493a[_0x3325ff(0xb6)]){let _0x484af0={'logic':JSON[_0x3325ff(0xb2)]({'open_popup':{'title':_0x3325ff(0xcf),'title_detail':_0x3325ff(0xbf),'type':'popup','menu':_0x3325ff(0x9d),'tagname':_0x3325ff(0x9e),'location':_0x3325ff(0xd3),'size':'large','popup_field':'param_field','parent_field':'id'},'open_form_popup':{'type':_0x3325ff(0xb8),'title':_0x3325ff(0xa3),'title_detail':_0x3325ff(0xbf),'size':_0x3325ff(0xb7),'menu':'operation-master'},'call_scenario':{'type':'scenario','name':_0x3325ff(0xbd),'after':_0x3325ff(0xd9)}},null,0x2)};_0xf0493a[_0x3325ff(0xc4)]=_0x484af0;}else _0xf0493a[_0x3325ff(0xc4)]=void 0x0;}}}}return getRenderer(_0x3325ff(0xc0))(_0x2231de,_0x36e2fe,_0xf0493a,_0x4b77ba,_0x46cf56);},'options':(_0x230734,_0x553476,_0xff70bc,_0x70c6ed,_0x5b3789)=>{const _0x46faa1=_0x195530;var {name:_0x3ab10a,help:_0x117851}={'name':TermsUtil[_0x46faa1(0xa0)](_0x46faa1(0xc4)),'help':''};return{'name':_0x3ab10a,'spec':[{'label':_0x46faa1(0xd1),'name':'logic','type':_0x46faa1(0xbb)}],'help':_0x117851,'context':this[_0x46faa1(0xd6)]};}}}]};}};
5
+ `;}get['buttonTabGrist'](){const _0x5a2ea5=a0_0x55e9e1;return this[_0x5a2ea5(0x142)][_0x5a2ea5(0x12e)](_0x5a2ea5(0x150));}async['fetchButtonConfigTabHandler'](){const _0x23e0b6=a0_0x55e9e1;return{'total':0x0,'records':this[_0x23e0b6(0x155)]||[]};}['setButtonConfigTabConfig'](){const _0x28fc6c=a0_0x55e9e1;this['buttonTabGridConfig']={'rows':MetaApi[_0x28fc6c(0x144)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x28fc6c(0x169),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':'gutter','gutterName':'button','icon':'delete','handlers':{'click':(_0x41aae3,_0x13471f,_0x3d40a2,_0x37aa2a,_0x408ebf)=>{const _0x4974cb=_0x28fc6c;_0x37aa2a['id']&&this['deleteRow'](this[_0x4974cb(0x156)],_0x37aa2a);}}},{'type':_0x28fc6c(0x126),'name':'id','hidden':!0x0},{'type':_0x28fc6c(0x12d),'name':_0x28fc6c(0x169),'header':TermsUtil[_0x28fc6c(0x151)](_0x28fc6c(0x169)),'sortable':!0x0,'width':0x41,'record':{'align':_0x28fc6c(0x12a),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x28fc6c(0x15f),'header':TermsUtil['tLabel'](_0x28fc6c(0x15f)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x28fc6c(0x15a),'editable':!0x0,'mandatory':!0x0}},{'type':_0x28fc6c(0x126),'name':_0x28fc6c(0x12f),'header':TermsUtil[_0x28fc6c(0x151)](_0x28fc6c(0x12f)),'sortable':!0x1,'width':0xaf,'record':{'align':_0x28fc6c(0x15a),'editable':!0x0,'mandatory':!0x0}},{'type':_0x28fc6c(0x126),'name':_0x28fc6c(0x123),'header':TermsUtil[_0x28fc6c(0x151)]('display'),'sortable':!0x1,'width':0xaf,'record':{'align':_0x28fc6c(0x15a),'editable':!0x1,'mandatory':!0x1,'renderer':(_0x25b31e,_0xf12410,_0x55b497,_0x3dd8da,_0x12ae07)=>{const _0x22bc55=_0x28fc6c;let _0xe9821d=_0x55b497[_0x22bc55(0x12f)]?_0x55b497[_0x22bc55(0x12f)]:_0x55b497['name'];return TermsUtil[_0x22bc55(0x152)](_0xe9821d);}}},{'type':'select','name':'type','header':TermsUtil[_0x28fc6c(0x151)]('type'),'sortable':!0x1,'width':0x64,'record':{'align':_0x28fc6c(0x15a),'editable':!0x0,'mandatory':!0x0,'options':['',_0x28fc6c(0x168),'custom',_0x28fc6c(0x164),_0x28fc6c(0x167)]}},{'type':_0x28fc6c(0x126),'name':_0x28fc6c(0x13f),'header':TermsUtil[_0x28fc6c(0x151)](_0x28fc6c(0x13f)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x28fc6c(0x15a),'editable':!0x0,'mandatory':!0x1}},{'type':_0x28fc6c(0x131),'name':_0x28fc6c(0x129),'header':TermsUtil[_0x28fc6c(0x151)](_0x28fc6c(0x129)),'sortable':!0x1,'width':0xfa,'record':{'align':_0x28fc6c(0x15a),'editable':!0x0,'mandatory':!0x1,'renderer':(_0x3cdfc8,_0x5052f8,_0x5d52c8,_0x4febb7,_0x36f195)=>{const _0x495822=_0x28fc6c;if(_0x5d52c8[_0x495822(0x129)])_0x495822(0x168)===_0x5d52c8['type']&&(_0x5d52c8[_0x495822(0x129)]=void 0x0);else{if(_0x495822(0x168)===_0x5d52c8[_0x495822(0x15e)])delete _0x5d52c8[_0x495822(0x129)];else{if('custom'===_0x5d52c8[_0x495822(0x15e)]){let _0x1af597={'logic':JSON['stringify']({'open_popup':{'title':'menu.variables','title_detail':'name','type':_0x495822(0x13e),'menu':_0x495822(0x14b),'tagname':_0x495822(0x133),'location':_0x495822(0x165),'size':_0x495822(0x15c),'popup_field':_0x495822(0x134),'parent_field':'id','param':[_0x495822(0x147),_0x495822(0x161),_0x495822(0x14e),_0x495822(0x148)]},'call_scenario':{'type':_0x495822(0x14f),'name':'testScenario','after':_0x495822(0x130),'param':[_0x495822(0x147),_0x495822(0x15b),_0x495822(0x14e)]}},null,0x2)};_0x5d52c8[_0x495822(0x129)]=_0x1af597;}else{if(_0x495822(0x164)===_0x5d52c8[_0x495822(0x15e)]){let _0x30d0e1={'logic':_0x495822(0x145)};_0x5d52c8[_0x495822(0x129)]=_0x30d0e1;}else{if(_0x495822(0x167)===_0x5d52c8[_0x495822(0x15e)]){let _0x28d8f1={'logic':JSON[_0x495822(0x13a)]({'open_popup':{'title':_0x495822(0x13c),'title_detail':'name','type':_0x495822(0x13e),'menu':_0x495822(0x14b),'tagname':_0x495822(0x133),'location':_0x495822(0x165),'size':_0x495822(0x15c),'popup_field':'param_field','parent_field':'id'},'open_form_popup':{'type':_0x495822(0x16a),'title':_0x495822(0x12b),'title_detail':_0x495822(0x15f),'size':_0x495822(0x15c),'menu':_0x495822(0x13d)},'call_scenario':{'type':'scenario','name':_0x495822(0x166),'after':_0x495822(0x130)}},null,0x2)};_0x5d52c8[_0x495822(0x129)]=_0x28d8f1;}else _0x5d52c8[_0x495822(0x129)]=void 0x0;}}}}return getRenderer(_0x495822(0x12c))(_0x3cdfc8,_0x5052f8,_0x5d52c8,_0x4febb7,_0x36f195);},'options':(_0x2d0ffe,_0x2de039,_0x2d5a43,_0x4bbb7b,_0x3e110f)=>{const _0xd3b4d7=_0x28fc6c;var {name:_0x3e9ed0,help:_0x5d1c83}={'name':TermsUtil[_0xd3b4d7(0x151)](_0xd3b4d7(0x129)),'help':''};return{'name':_0x3e9ed0,'spec':[{'label':_0xd3b4d7(0x135),'name':_0xd3b4d7(0x129),'type':_0xd3b4d7(0x153)}],'help':_0x5d1c83,'context':this['buttonTabGrist']};}}}]};}};function a0_0x3d0d(_0x25dda7,_0x4125cf){const _0x3684f3=a0_0x3684();return a0_0x3d0d=function(_0x3d0d26,_0x3030ff){_0x3d0d26=_0x3d0d26-0x123;let _0xd0bd10=_0x3684f3[_0x3d0d26];return _0xd0bd10;},a0_0x3d0d(_0x25dda7,_0x4125cf);}function a0_0x3684(){const _0x147de3=['tLabel','tButton','textarea','buttonTabGridConfig','viewButtonData','buttonTabGrist','919515ehEmYM','parse','8789697RjJPmp','left','grist_all','large','grid-','type','name','fetchButtonConfigTabHandler','grist_one','trim','bind','grid-basic','pages/meta-grist-element.js','testScenario','grid-custom','basic','rank','form','display','973723XBThev','1317106eqPqqU','string','1689ADcGzU','1921931xBHFQA','logic','right','title.detail','json5','integer','querySelector','label','fetch','parameters','button-tab-grid','meta-grist-element','param_field','script','11054464wbTbtL','renderButtonConfigTab','30eUCgYs','2XJDfEq','stringify','isArray','menu.variables','operation-master','popup','style','startsWith','20FNLEDw','shadowRoot','icon','getGristSelectableConfig','\x22record-view\x22','9836CEMmBu','filter','grist_changed','button','push','menu-routing','getElementValueById','grid','grist_selected','scenario','#button-tab-grid'];a0_0x3684=function(){return _0x147de3;};return a0_0x3684();}
@@ -1,4 +1,4 @@
1
- const a0_0x270927=a0_0x4051;(function(_0xc9abe,_0x8750e5){const _0xb81c8c=a0_0x4051,_0xf38c6=_0xc9abe();while(!![]){try{const _0x3d7973=parseInt(_0xb81c8c(0x157))/0x1*(-parseInt(_0xb81c8c(0x122))/0x2)+-parseInt(_0xb81c8c(0x140))/0x3*(-parseInt(_0xb81c8c(0x160))/0x4)+-parseInt(_0xb81c8c(0x108))/0x5+parseInt(_0xb81c8c(0x137))/0x6+-parseInt(_0xb81c8c(0x10b))/0x7*(-parseInt(_0xb81c8c(0x169))/0x8)+-parseInt(_0xb81c8c(0x16d))/0x9*(-parseInt(_0xb81c8c(0x15c))/0xa)+parseInt(_0xb81c8c(0x166))/0xb*(-parseInt(_0xb81c8c(0x15b))/0xc);if(_0x3d7973===_0x8750e5)break;else _0xf38c6['push'](_0xf38c6['shift']());}catch(_0x4faf01){_0xf38c6['push'](_0xf38c6['shift']());}}}(a0_0x16d0,0xcfff3));import{html}from'lit-element';function a0_0x16d0(){const _0x582621=['grid_column','codeName\x20or\x20scenario\x20Name','36gPTTnB','format','targetField1','1951470RHwrBH','details','grid','14nTYmsJ','getElementValueById','columnTabGrist','getGristSelectableConfig','sort_desc','entity\x20type\x20graphQL\x20Query','parse','graphQL\x20Query','code\x20Field','rep_field','change-event-handler','thumbnail','button','sortRecordByField','center','boolean','targetField2','tLabel','code\x20or\x20scenario\x20or\x20entity','type','string','exportable','entity\x20type\x20filter\x20values\x20[{\x22name\x22:\x20\x22parentId\x22,\x20\x22operator\x22:\x20\x22eq\x22,\x20\x22value\x22:\x20\x22506134f8-8655-47ee-afdc-248b0de2f31c\x22}]','29558YHMaWO','popup\x20Title','disp\x20Field','includes','GraphQL\x20query\x20Name','width','sortRecordByRank','columnTabGridConfig','forEach','default_value','rank','route_name','display','parameters','column-tab-grid','right','hidden','select','sort\x20field\x20[{\x22name\x22:\x20\x22boxTypeCd\x22,\x20\x22desc\x22:\x20false}]','querySelector','resource-code-selector','3380964FqpTYL','sort_rank','object_opt','delete','object','resource-object','getColumnConfigTabValues','meta-code-selector','mandatory','2387157jxbdIZ','targetField3','editable','fetchColumnTabHandler','reverse_sort','bind','name','filter\x20values\x20[{\x22name\x22:\x20\x22parentId\x22,\x20\x22operator\x22:\x20\x22eq\x22,\x20\x22value\x22:\x20\x22506134f8-8655-47ee-afdc-248b0de2f31c\x22}]','thumbnail_field','deleteRow','option','GRIST_COLUMN_TYPES','fetch','integer','viewColumnData','selector_args','Object\x20Mapping\x20Entity\x20reference\x20Field\x20Name','json5','list','header','entity\x20type\x20code\x20Field','[\x22code\x22,\x22display\x22]\x20or\x20[{\x22name\x22:\x22code1\x22,\x22operator\x22:\x22eq\x22},{\x22name\x22:\x22display\x22,\x22operator\x22:\x22eq\x22}]','sortable','47FXCgUy','select_opt','stringify','textarea','7418148Topafs','2096980vGiPCG','renderColumnConfigTab','left','getCodeSelectorData','4rbcYeD','push','detail_field','code\x20type\x20display\x20select\x20Array\x20[{\x22code1\x22,\x22code2\x22}]\x20OR\x20[{\x22value\x22:\x22code1\x22,\x22display\x22:\x22CODE1\x22},\x20{\x22value\x22:\x22code2\x22,\x22display\x22:\x22CODE2\x22}]','meta-object-selector','shadowRoot','11zSwoGF','align','gutter','1428144fFHDlD','change_event_handler'];a0_0x16d0=function(){return _0x582621;};return a0_0x16d0();}import'@things-factory/component-ui/client/quick-find/quick-find-tabs';import'@things-factory/form-ui';import{getRenderer}from'@operato/data-grist';function a0_0x4051(_0x1e1edb,_0x10f29c){const _0x16d0f2=a0_0x16d0();return a0_0x4051=function(_0x405121,_0x737bed){_0x405121=_0x405121-0x106;let _0x372d1e=_0x16d0f2[_0x405121];return _0x372d1e;},a0_0x4051(_0x1e1edb,_0x10f29c);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';const objectTypes=[a0_0x270927(0x13b),'resource-object',a0_0x270927(0x136),a0_0x270927(0x164),'meta-code-selector'],jsonConfigTypes=[a0_0x270927(0x13b),a0_0x270927(0x133),a0_0x270927(0x13c),a0_0x270927(0x136),a0_0x270927(0x164),a0_0x270927(0x13e)],typeConfigGuides={'object':{'queryName':'','referenceField':'Object\x20Mapping\x20Entity\x20reference\x20Field\x20Name','nameField':'','descriptionField':'','select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'list':{'fields':['','']}},'resource-object':{'queryName':a0_0x270927(0x126),'referenceField':a0_0x270927(0x150),'nameField':'','descriptionField':'','select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'list':{'fields':['','']}},'resource-code-selector':{'queryName':a0_0x270927(0x112),'selectorName':'popup\x20Title','codeField':a0_0x270927(0x113),'dispField':a0_0x270927(0x124),'filterFields':a0_0x270927(0x155),'select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'filters':a0_0x270927(0x147),'sorters':a0_0x270927(0x134)},'select':{'type':a0_0x270927(0x11d),'name':a0_0x270927(0x16c),'values':a0_0x270927(0x163),'args':{'queryName':a0_0x270927(0x110),'codeField':a0_0x270927(0x154),'dispField':'entity\x20type\x20disp\x20Field','filters':a0_0x270927(0x121),'sorters':'entity\x20type\x20sort\x20field\x20[{\x22name\x22:\x20\x22boxTypeCd\x22,\x20\x22desc\x22:\x20false}]'}},'meta-object-selector':{'case_custom':{'queryName':'GraphQL\x20query\x20Name','selectorName':a0_0x270927(0x123),'referenceField':'Object\x20Mapping\x20Entity\x20reference\x20Field\x20Name','nameField':'','filterFields':a0_0x270927(0x155),'select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'filters':a0_0x270927(0x147),'sorters':a0_0x270927(0x134),'fieldMap':{'sourceField1':a0_0x270927(0x107),'sourceField2':a0_0x270927(0x11b),'sourceField3':'targetField3'}},'case_menu':{'menu':a0_0x270927(0x12d),'referenceField':'Object\x20Mapping\x20Entity\x20reference\x20Field\x20Name','fieldMap':{'sourceField1':'targetField1','sourceField2':'targetField2','sourceField3':'targetField3'}}},'meta-code-selector':{'case_custom':{'queryName':a0_0x270927(0x112),'selectorName':'popup\x20Title','codeField':a0_0x270927(0x113),'dispField':a0_0x270927(0x124),'filterFields':a0_0x270927(0x155),'select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'filters':'filter\x20values\x20[{\x22name\x22:\x20\x22parentId\x22,\x20\x22operator\x22:\x20\x22eq\x22,\x20\x22value\x22:\x20\x22506134f8-8655-47ee-afdc-248b0de2f31c\x22}]','sorters':a0_0x270927(0x134),'fieldMap':{'sourceField1':a0_0x270927(0x107),'sourceField2':a0_0x270927(0x11b),'sourceField3':a0_0x270927(0x141)}},'case_menu':{'menu':a0_0x270927(0x12d),'fieldMap':{'sourceField1':a0_0x270927(0x107),'sourceField2':a0_0x270927(0x11b),'sourceField3':'targetField3'}}}};export const ColumnConfigTabMixin=_0x32d7ca=>class extends _0x32d7ca{['setColumnConfigTabValues'](_0x239dae){const _0x3b7eaa=a0_0x270927;_0x239dae?.[_0x3b7eaa(0x12a)]((_0x3c40f2,_0x2db61e)=>{const _0x9c55d6=_0x3b7eaa;let _0x7c47e2=_0x2db61e+0x1;if(_0x3c40f2[_0x9c55d6(0x12c)]=0xa*_0x7c47e2,_0x3c40f2['id']=_0x7c47e2,objectTypes['includes'](_0x3c40f2[_0x9c55d6(0x11e)])){if(_0x3c40f2[_0x9c55d6(0x139)]&&!_0x3c40f2['selector_args']){let _0x5c6674=JSON[_0x9c55d6(0x159)](_0x3c40f2[_0x9c55d6(0x139)],null,0x2);_0x3c40f2[_0x9c55d6(0x14f)]={},_0x3c40f2[_0x9c55d6(0x14f)][_0x9c55d6(0x14a)]=_0x5c6674;}}else{if(_0x9c55d6(0x133)==_0x3c40f2[_0x9c55d6(0x11e)]&&_0x3c40f2[_0x9c55d6(0x158)]&&!_0x3c40f2['selector_args']){let _0x25bd04=JSON['stringify'](_0x3c40f2[_0x9c55d6(0x158)],null,0x2);_0x3c40f2[_0x9c55d6(0x14f)]={},_0x3c40f2[_0x9c55d6(0x14f)]['option']=_0x25bd04;}}}),this[_0x3b7eaa(0x14e)]=_0x239dae,this[_0x3b7eaa(0x10d)]?.[_0x3b7eaa(0x14c)]();}[a0_0x270927(0x13d)](){const _0xf873d6=a0_0x270927;let _0x120b03={'grid_column':[],'grid':{'list':{'fields':[],'details':[],'thumbnail':''},'option':{'sorters':[]}}},_0x4d3753=this[_0xf873d6(0x10c)](_0xf873d6(0x130));return _0x4d3753&&(this[_0xf873d6(0x128)](_0x4d3753)?.['forEach'](_0x57f953=>{const _0x1dbb6e=_0xf873d6;var {name:_0x2e4630,header:_0x2bbe84,type:_0x47ba40=_0x1dbb6e(0x11f),editable:_0x57ff8d=!0x1,sortable:_0xee7419=!0x1,mandatory:_0x15134a=!0x1,exportable:_0x22695d=!0x1,rep_field:_0x39a531=!0x1,detail_field:_0xe41686=!0x1,thumbnail_field:_0x3e1944=!0x1,hidden:_0x58597c=!0x1,align:_0x33f7da=_0x1dbb6e(0x15e),width:_0x3910ba=0x0,format:_0x187a87,change_event_handler:_0x29848d,default_value:_0x403c8c,selector_args:_0x39d80e}=_0x57f953;if(!_0x2e4630)return;let _0x5500c1={'name':_0x2e4630,'header':_0x2bbe84||_0x2e4630,'type':_0x47ba40,'editable':_0x57ff8d,'sortable':_0xee7419,'mandatory':_0x15134a,'exportable':_0x22695d,'hidden':_0x58597c,'align':_0x33f7da,'width':_0x3910ba,'format':_0x187a87,'change_event_handler':_0x29848d,'default_value':_0x403c8c};_0x39d80e&&_0x1dbb6e(0x11f)==typeof _0x39d80e&&(_0x39d80e=JSON['parse'](_0x39d80e)),jsonConfigTypes[_0x1dbb6e(0x125)](_0x47ba40)&&_0x39d80e&&_0x39d80e[_0x1dbb6e(0x14a)]&&(_0x5500c1[_0x1dbb6e(0x133)==_0x47ba40?'select_opt':_0x1dbb6e(0x139)]=JSON[_0x1dbb6e(0x111)](_0x39d80e[_0x1dbb6e(0x14a)])),_0x120b03[_0x1dbb6e(0x16b)]['push'](_0x5500c1),_0x39a531&&_0x120b03[_0x1dbb6e(0x10a)][_0x1dbb6e(0x152)]['fields'][_0x1dbb6e(0x161)](_0x2e4630),_0xe41686&&_0x120b03[_0x1dbb6e(0x10a)][_0x1dbb6e(0x152)][_0x1dbb6e(0x109)]['push'](_0x2e4630),_0x3e1944&&(_0x120b03['grid']['list'][_0x1dbb6e(0x116)]=_0x2e4630);}),this[_0xf873d6(0x118)](_0x4d3753['filter'](_0x371b1d=>_0x371b1d[_0xf873d6(0x138)]&&_0x371b1d[_0xf873d6(0x138)]>0x0),'sort_rank')[_0xf873d6(0x12a)](_0x598a3a=>{const _0x45c84a=_0xf873d6;var {name:_0x36939b,sort_desc:_0x168ca3=!0x1}=_0x598a3a;_0x36939b&&_0x120b03[_0x45c84a(0x10a)][_0x45c84a(0x14a)]['sorters']['push']({'name':_0x36939b,'desc':_0x168ca3});})),_0x120b03;}[a0_0x270927(0x15d)](){const _0x4d2da1=a0_0x270927;return html`
2
- <ox-grist auto-fetch id="column-tab-grid" .config=${this[_0x4d2da1(0x129)]} .mode='GRID'
3
- .fetchHandler=${this[_0x4d2da1(0x143)][_0x4d2da1(0x145)](this)}>
4
- </ox-grist>`;}get['columnTabGrist'](){const _0xbe8410=a0_0x270927;return this[_0xbe8410(0x165)][_0xbe8410(0x135)]('#column-tab-grid');}async[a0_0x270927(0x143)](){return{'total':0x0,'records':this['viewColumnData']||[]};}async['setColumnConfigTabConfig'](){const _0x1cec17=a0_0x270927;let _0x373a76=await MetaApi[_0x1cec17(0x15f)](_0x1cec17(0x14b));this[_0x1cec17(0x129)]={'rows':MetaApi[_0x1cec17(0x10e)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x1cec17(0x12c),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x1cec17(0x168),'gutterName':_0x1cec17(0x117),'icon':_0x1cec17(0x13a),'handlers':{'click':(_0x39b0cf,_0x48ffa5,_0x1bee9f,_0x1c0ba2,_0x4b0430)=>{const _0x2ffbe4=_0x1cec17;_0x1c0ba2['id']&&this[_0x2ffbe4(0x149)](this[_0x2ffbe4(0x10d)],_0x1c0ba2);}}},{'type':_0x1cec17(0x14d),'name':'rank','header':TermsUtil['tLabel'](_0x1cec17(0x12c)),'sortable':!0x0,'width':0x41,'record':{'align':_0x1cec17(0x131),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1cec17(0x11f),'name':'id','hidden':!0x0},{'type':_0x1cec17(0x11f),'name':_0x1cec17(0x146),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x146)),'sortable':!0x1,'width':0x87,'record':{'align':_0x1cec17(0x15e),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1cec17(0x11f),'name':_0x1cec17(0x153),'header':TermsUtil['tLabel']('header'),'sortable':!0x1,'width':0x87,'record':{'align':_0x1cec17(0x15e),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1cec17(0x11f),'name':_0x1cec17(0x12e),'header':TermsUtil['tLabel'](_0x1cec17(0x12e)),'sortable':!0x1,'width':0x87,'record':{'align':_0x1cec17(0x15e),'editable':!0x1,'mandatory':!0x1,'renderer':(_0x4cbdba,_0x30078b,_0x1fd9b6,_0x3c7c53,_0x41c693)=>_0x1fd9b6&&_0x1fd9b6[_0x1cec17(0x153)]?TermsUtil[_0x1cec17(0x11c)](_0x1fd9b6[_0x1cec17(0x153)]):''}},{'type':_0x1cec17(0x133),'name':_0x1cec17(0x11e),'header':TermsUtil['tLabel'](_0x1cec17(0x11e)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0,'options':_0x373a76}},{'type':_0x1cec17(0x11a),'name':_0x1cec17(0x142),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x142)),'sortable':!0x1,'width':0x50,'record':{'align':_0x1cec17(0x119),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11a),'name':'sortable','header':TermsUtil['tLabel'](_0x1cec17(0x156)),'sortable':!0x1,'width':0x50,'record':{'align':_0x1cec17(0x119),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11a),'name':_0x1cec17(0x13f),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x13f)),'sortable':!0x1,'width':0x55,'record':{'align':_0x1cec17(0x119),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11a),'name':_0x1cec17(0x120),'header':TermsUtil['tLabel']('exportable'),'sortable':!0x1,'width':0x5a,'record':{'align':_0x1cec17(0x119),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11a),'name':_0x1cec17(0x114),'header':TermsUtil[_0x1cec17(0x11c)]('rep_field'),'sortable':!0x1,'width':0x5a,'record':{'align':_0x1cec17(0x119),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11a),'name':_0x1cec17(0x162),'header':TermsUtil['tLabel'](_0x1cec17(0x162)),'sortable':!0x1,'width':0x5a,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11a),'name':_0x1cec17(0x148),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x148)),'sortable':!0x1,'width':0x5a,'record':{'align':_0x1cec17(0x119),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11a),'name':_0x1cec17(0x132),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x132)),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x133),'name':_0x1cec17(0x167),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x167)),'sortable':!0x1,'width':0x46,'record':{'align':'left','editable':!0x0,'mandatory':!0x1,'options':['',_0x1cec17(0x15e),_0x1cec17(0x119),_0x1cec17(0x131)]}},{'type':'integer','name':'width','header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x127)),'sortable':!0x1,'width':0x3c,'record':{'editable':!0x0,'mandatory':!0x0,'align':_0x1cec17(0x131)}},{'type':'integer','name':_0x1cec17(0x138),'header':TermsUtil['tLabel'](_0x1cec17(0x138)),'sortable':!0x1,'width':0x50,'record':{'editable':!0x0,'mandatory':!0x0,'align':_0x1cec17(0x131)}},{'type':'boolean','name':_0x1cec17(0x10f),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x144)),'sortable':!0x1,'width':0x41,'record':{'align':_0x1cec17(0x119),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x11f),'name':_0x1cec17(0x106),'header':TermsUtil['tLabel'](_0x1cec17(0x106)),'sortable':!0x1,'width':0x87,'record':{'align':'left','editable':!0x0,'mandatory':!0x1}},{'type':_0x1cec17(0x11f),'name':'default_value','header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x12b)),'sortable':!0x1,'width':0x87,'record':{'align':_0x1cec17(0x15e),'editable':!0x0,'mandatory':!0x1}},{'type':_0x1cec17(0x11f),'name':_0x1cec17(0x16a),'header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x115)),'sortable':!0x1,'width':0x96,'record':{'align':_0x1cec17(0x15e),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1cec17(0x12f),'name':'selector_args','header':TermsUtil[_0x1cec17(0x11c)](_0x1cec17(0x14f)),'sortable':!0x1,'width':0x96,'record':{'align':_0x1cec17(0x15e),'editable':!0x0,'mandatory':!0x1,'renderer':(_0x4f0d0e,_0x244231,_0x41aa8a,_0x31d10c,_0x4c8ad5)=>{const _0x55fc4b=_0x1cec17;if(!_0x41aa8a[_0x55fc4b(0x14f)]){let _0x219aca=typeConfigGuides[_0x41aa8a[_0x55fc4b(0x11e)]];_0x219aca?_0x41aa8a['selector_args']={'option':JSON[_0x55fc4b(0x159)](_0x219aca,null,0x2)}:0x0==jsonConfigTypes[_0x55fc4b(0x125)](_0x41aa8a[_0x55fc4b(0x11e)])&&(_0x41aa8a[_0x55fc4b(0x14f)]=void 0x0);}return getRenderer(_0x55fc4b(0x151))(_0x4f0d0e,_0x244231,_0x41aa8a,_0x31d10c,_0x4c8ad5);},'options':(_0x45399d,_0xd40287,_0x28aac6,_0x30b468,_0x2edbcb)=>{const _0x372b5a=_0x1cec17;var {name:_0x5033c5,help:_0x467458}={'name':TermsUtil[_0x372b5a(0x11c)](_0x372b5a(0x14f)),'help':''};return{'name':_0x5033c5,'spec':[{'label':'script','name':_0x372b5a(0x14a),'type':_0x372b5a(0x15a)}],'help':_0x467458,'context':this[_0x372b5a(0x10d)]};}}}]};}};
1
+ function a0_0x3cf5(){const _0x103c8d=['bind','selector_args','sort_rank','left','code\x20Field','disp\x20Field','entity\x20type\x20filter\x20values\x20[{\x22name\x22:\x20\x22parentId\x22,\x20\x22operator\x22:\x20\x22eq\x22,\x20\x22value\x22:\x20\x22506134f8-8655-47ee-afdc-248b0de2f31c\x22}]','shadowRoot','delete','code\x20type\x20display\x20select\x20Array\x20[{\x22code1\x22,\x22code2\x22}]\x20OR\x20[{\x22value\x22:\x22code1\x22,\x22display\x22:\x22CODE1\x22},\x20{\x22value\x22:\x22code2\x22,\x22display\x22:\x22CODE2\x22}]','grid_column','graphQL\x20Query','getGristGuttersConfig','tLabel','string','rep_field','type','align','Object\x20Mapping\x20Entity\x20reference\x20Field\x20Name','editable','center','targetField3','getElementValueById','fetch','parse','1565380OSoPBE','details','default_value','resource-code-selector','[\x22code\x22,\x22display\x22]\x20or\x20[{\x22name\x22:\x22code1\x22,\x22operator\x22:\x22eq\x22},{\x22name\x22:\x22display\x22,\x22operator\x22:\x22eq\x22}]','select_opt','fields','renderColumnConfigTab','columnTabGrist','getColumnConfigTabValues','2089206RiUiwZ','stringify','route_name','meta-code-selector','querySelector','column-tab-grid','entity\x20type\x20code\x20Field','includes','name','right','integer','button','864914XJAMdR','display','15892uGodIq','#column-tab-grid','filter\x20values\x20[{\x22name\x22:\x20\x22parentId\x22,\x20\x22operator\x22:\x20\x22eq\x22,\x20\x22value\x22:\x20\x22506134f8-8655-47ee-afdc-248b0de2f31c\x22}]','forEach','GraphQL\x20query\x20Name','format','gutter','fetchColumnTabHandler','sortRecordByRank','columnTabGridConfig','script','resource-object','exportable','22785444jxkiaY','grid','rank','sortRecordByField','object','boolean','viewColumnData','429oKJwnZ','header','sorters','targetField1','width','change-event-handler','entity\x20type\x20sort\x20field\x20[{\x22name\x22:\x20\x22boxTypeCd\x22,\x20\x22desc\x22:\x20false}]','option','list','7469502zMAjNW','push','deleteRow','sortable','codeName\x20or\x20scenario\x20Name','mandatory','textarea','json5','targetField2','meta-object-selector','hidden','object_opt','parameters','4362480VtoFHM','popup\x20Title','setColumnConfigTabValues','getGristSelectableConfig','thumbnail_field','select','5mmUmDb'];a0_0x3cf5=function(){return _0x103c8d;};return a0_0x3cf5();}function a0_0x6241(_0x417a78,_0x467c68){const _0x3cf5e8=a0_0x3cf5();return a0_0x6241=function(_0x6241b2,_0x4590d3){_0x6241b2=_0x6241b2-0x184;let _0x24ebda=_0x3cf5e8[_0x6241b2];return _0x24ebda;},a0_0x6241(_0x417a78,_0x467c68);}const a0_0x8ab37=a0_0x6241;(function(_0x107c76,_0xe2444b){const _0x2e2895=a0_0x6241,_0x10ab30=_0x107c76();while(!![]){try{const _0xd6942d=-parseInt(_0x2e2895(0x19b))/0x1+parseInt(_0x2e2895(0x1b1))/0x2+-parseInt(_0x2e2895(0x1c7))/0x3*(-parseInt(_0x2e2895(0x1b3))/0x4)+parseInt(_0x2e2895(0x1e3))/0x5*(-parseInt(_0x2e2895(0x1d0))/0x6)+-parseInt(_0x2e2895(0x1a5))/0x7+parseInt(_0x2e2895(0x1dd))/0x8+parseInt(_0x2e2895(0x1c0))/0x9;if(_0xd6942d===_0xe2444b)break;else _0x10ab30['push'](_0x10ab30['shift']());}catch(_0xa9016e){_0x10ab30['push'](_0x10ab30['shift']());}}}(a0_0x3cf5,0xec8a3));import{html}from'lit-element';import'@things-factory/component-ui/client/quick-find/quick-find-tabs';import'@things-factory/form-ui';import{getRenderer}from'@operato/data-grist';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';const objectTypes=['object',a0_0x8ab37(0x1be),a0_0x8ab37(0x19e),a0_0x8ab37(0x1d9),a0_0x8ab37(0x1a8)],jsonConfigTypes=[a0_0x8ab37(0x1c4),a0_0x8ab37(0x1e2),a0_0x8ab37(0x1be),'resource-code-selector','meta-object-selector',a0_0x8ab37(0x1a8)],typeConfigGuides={'object':{'queryName':'','referenceField':'Object\x20Mapping\x20Entity\x20reference\x20Field\x20Name','nameField':'','descriptionField':'','select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'list':{'fields':['','']}},'resource-object':{'queryName':a0_0x8ab37(0x1b7),'referenceField':a0_0x8ab37(0x194),'nameField':'','descriptionField':'','select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'list':{'fields':['','']}},'resource-code-selector':{'queryName':a0_0x8ab37(0x18d),'selectorName':a0_0x8ab37(0x1de),'codeField':a0_0x8ab37(0x186),'dispField':a0_0x8ab37(0x187),'filterFields':'[\x22code\x22,\x22display\x22]\x20or\x20[{\x22name\x22:\x22code1\x22,\x22operator\x22:\x22eq\x22},{\x22name\x22:\x22display\x22,\x22operator\x22:\x22eq\x22}]','select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'filters':a0_0x8ab37(0x1b5),'sorters':'sort\x20field\x20[{\x22name\x22:\x20\x22boxTypeCd\x22,\x20\x22desc\x22:\x20false}]'},'select':{'type':'code\x20or\x20scenario\x20or\x20entity','name':a0_0x8ab37(0x1d4),'values':a0_0x8ab37(0x18b),'args':{'queryName':'entity\x20type\x20graphQL\x20Query','codeField':a0_0x8ab37(0x1ab),'dispField':'entity\x20type\x20disp\x20Field','filters':a0_0x8ab37(0x188),'sorters':a0_0x8ab37(0x1cd)}},'meta-object-selector':{'case_custom':{'queryName':a0_0x8ab37(0x1b7),'selectorName':a0_0x8ab37(0x1de),'referenceField':a0_0x8ab37(0x194),'nameField':'','filterFields':a0_0x8ab37(0x19f),'select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'filters':a0_0x8ab37(0x1b5),'sorters':'sort\x20field\x20[{\x22name\x22:\x20\x22boxTypeCd\x22,\x20\x22desc\x22:\x20false}]','fieldMap':{'sourceField1':a0_0x8ab37(0x1ca),'sourceField2':a0_0x8ab37(0x1d8),'sourceField3':'targetField3'}},'case_menu':{'menu':a0_0x8ab37(0x1a7),'referenceField':'Object\x20Mapping\x20Entity\x20reference\x20Field\x20Name','fieldMap':{'sourceField1':a0_0x8ab37(0x1ca),'sourceField2':a0_0x8ab37(0x1d8),'sourceField3':'targetField3'}}},'meta-code-selector':{'case_custom':{'queryName':'graphQL\x20Query','selectorName':'popup\x20Title','codeField':a0_0x8ab37(0x186),'dispField':'disp\x20Field','filterFields':a0_0x8ab37(0x19f),'select':[{'name':'','hidden':!0x0},{'name':'','hidden':!0x1}],'filters':a0_0x8ab37(0x1b5),'sorters':'sort\x20field\x20[{\x22name\x22:\x20\x22boxTypeCd\x22,\x20\x22desc\x22:\x20false}]','fieldMap':{'sourceField1':a0_0x8ab37(0x1ca),'sourceField2':'targetField2','sourceField3':a0_0x8ab37(0x197)}},'case_menu':{'menu':a0_0x8ab37(0x1a7),'fieldMap':{'sourceField1':'targetField1','sourceField2':a0_0x8ab37(0x1d8),'sourceField3':a0_0x8ab37(0x197)}}}};export const ColumnConfigTabMixin=_0x55b391=>class extends _0x55b391{[a0_0x8ab37(0x1df)](_0x1ebb59){const _0x17d4ac=a0_0x8ab37;_0x1ebb59?.[_0x17d4ac(0x1b6)]((_0x255311,_0x10b30f)=>{const _0x1c7d18=_0x17d4ac;let _0x1a435c=_0x10b30f+0x1;if(_0x255311[_0x1c7d18(0x1c2)]=0xa*_0x1a435c,_0x255311['id']=_0x1a435c,objectTypes[_0x1c7d18(0x1ac)](_0x255311['type'])){if(_0x255311['object_opt']&&!_0x255311[_0x1c7d18(0x1e5)]){let _0x4c2f90=JSON['stringify'](_0x255311[_0x1c7d18(0x1db)],null,0x2);_0x255311[_0x1c7d18(0x1e5)]={},_0x255311[_0x1c7d18(0x1e5)][_0x1c7d18(0x1ce)]=_0x4c2f90;}}else{if('select'==_0x255311[_0x1c7d18(0x192)]&&_0x255311[_0x1c7d18(0x1a0)]&&!_0x255311[_0x1c7d18(0x1e5)]){let _0x336a48=JSON[_0x1c7d18(0x1a6)](_0x255311['select_opt'],null,0x2);_0x255311[_0x1c7d18(0x1e5)]={},_0x255311[_0x1c7d18(0x1e5)][_0x1c7d18(0x1ce)]=_0x336a48;}}}),this[_0x17d4ac(0x1c6)]=_0x1ebb59,this[_0x17d4ac(0x1a3)]?.[_0x17d4ac(0x199)]();}[a0_0x8ab37(0x1a4)](){const _0xc0c207=a0_0x8ab37;let _0x987617={'grid_column':[],'grid':{'list':{'fields':[],'details':[],'thumbnail':''},'option':{'sorters':[]}}},_0x2ba78e=this[_0xc0c207(0x198)](_0xc0c207(0x1aa));return _0x2ba78e&&(this[_0xc0c207(0x1bb)](_0x2ba78e)?.[_0xc0c207(0x1b6)](_0x2a39a0=>{const _0x4d3350=_0xc0c207;var {name:_0x2ab681,header:_0x5ae764,type:_0xb48173=_0x4d3350(0x190),editable:_0x322797=!0x1,sortable:_0x2f1392=!0x1,mandatory:_0x379d96=!0x1,exportable:_0x47e9c6=!0x1,rep_field:_0x45079e=!0x1,detail_field:_0x18a998=!0x1,thumbnail_field:_0x101880=!0x1,hidden:_0x10b050=!0x1,align:_0xdbe2aa=_0x4d3350(0x185),width:_0x218e60=0x0,format:_0x16b624,change_event_handler:_0x4fe5ae,default_value:_0x1a8bda,selector_args:_0x1ccb24}=_0x2a39a0;if(!_0x2ab681)return;let _0x5c6676={'name':_0x2ab681,'header':_0x5ae764||_0x2ab681,'type':_0xb48173,'editable':_0x322797,'sortable':_0x2f1392,'mandatory':_0x379d96,'exportable':_0x47e9c6,'hidden':_0x10b050,'align':_0xdbe2aa,'width':_0x218e60,'format':_0x16b624,'change_event_handler':_0x4fe5ae,'default_value':_0x1a8bda};_0x1ccb24&&_0x4d3350(0x190)==typeof _0x1ccb24&&(_0x1ccb24=JSON[_0x4d3350(0x19a)](_0x1ccb24)),jsonConfigTypes[_0x4d3350(0x1ac)](_0xb48173)&&_0x1ccb24&&_0x1ccb24[_0x4d3350(0x1ce)]&&(_0x5c6676['select'==_0xb48173?_0x4d3350(0x1a0):_0x4d3350(0x1db)]=JSON[_0x4d3350(0x19a)](_0x1ccb24[_0x4d3350(0x1ce)])),_0x987617[_0x4d3350(0x18c)][_0x4d3350(0x1d1)](_0x5c6676),_0x45079e&&_0x987617[_0x4d3350(0x1c1)][_0x4d3350(0x1cf)][_0x4d3350(0x1a1)][_0x4d3350(0x1d1)](_0x2ab681),_0x18a998&&_0x987617[_0x4d3350(0x1c1)][_0x4d3350(0x1cf)][_0x4d3350(0x19c)][_0x4d3350(0x1d1)](_0x2ab681),_0x101880&&(_0x987617[_0x4d3350(0x1c1)][_0x4d3350(0x1cf)]['thumbnail']=_0x2ab681);}),this[_0xc0c207(0x1c3)](_0x2ba78e['filter'](_0x4d339d=>_0x4d339d['sort_rank']&&_0x4d339d[_0xc0c207(0x184)]>0x0),_0xc0c207(0x184))[_0xc0c207(0x1b6)](_0x183f07=>{const _0xbbd2c9=_0xc0c207;var {name:_0x451d58,sort_desc:_0x66dfd9=!0x1}=_0x183f07;_0x451d58&&_0x987617[_0xbbd2c9(0x1c1)][_0xbbd2c9(0x1ce)][_0xbbd2c9(0x1c9)][_0xbbd2c9(0x1d1)]({'name':_0x451d58,'desc':_0x66dfd9});})),_0x987617;}[a0_0x8ab37(0x1a2)](){const _0x13cb43=a0_0x8ab37;return html`
2
+ <ox-grist auto-fetch id="column-tab-grid" .config=${this[_0x13cb43(0x1bc)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x13cb43(0x1ba)][_0x13cb43(0x1e4)](this)}>
4
+ </ox-grist>`;}get[a0_0x8ab37(0x1a3)](){const _0x239858=a0_0x8ab37;return this[_0x239858(0x189)][_0x239858(0x1a9)](_0x239858(0x1b4));}async[a0_0x8ab37(0x1ba)](){return{'total':0x0,'records':this['viewColumnData']||[]};}async['setColumnConfigTabConfig'](){const _0x561093=a0_0x8ab37;let _0xa1e37d=await MetaApi['getCodeSelectorData']('GRIST_COLUMN_TYPES');this[_0x561093(0x1bc)]={'rows':MetaApi[_0x561093(0x1e0)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x561093(0x1c2),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x561093(0x18e)](!0x1,!0x1),{'type':_0x561093(0x1b9),'gutterName':_0x561093(0x1b0),'icon':_0x561093(0x18a),'handlers':{'click':(_0x5f2290,_0x5b4a8e,_0x339f42,_0x3fde5b,_0x16c3d5)=>{const _0xffcd45=_0x561093;_0x3fde5b['id']&&this[_0xffcd45(0x1d2)](this[_0xffcd45(0x1a3)],_0x3fde5b);}}},{'type':_0x561093(0x1af),'name':_0x561093(0x1c2),'header':TermsUtil[_0x561093(0x18f)](_0x561093(0x1c2)),'sortable':!0x0,'width':0x41,'record':{'align':_0x561093(0x1ae),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x561093(0x190),'name':_0x561093(0x1ad),'header':TermsUtil['tLabel']('name'),'sortable':!0x1,'width':0x87,'record':{'align':_0x561093(0x185),'editable':!0x0,'mandatory':!0x0}},{'type':_0x561093(0x190),'name':_0x561093(0x1c8),'header':TermsUtil[_0x561093(0x18f)]('header'),'sortable':!0x1,'width':0x87,'record':{'align':_0x561093(0x185),'editable':!0x0,'mandatory':!0x0}},{'type':_0x561093(0x190),'name':_0x561093(0x1b2),'header':TermsUtil[_0x561093(0x18f)](_0x561093(0x1b2)),'sortable':!0x1,'width':0x87,'record':{'align':_0x561093(0x185),'editable':!0x1,'mandatory':!0x1,'renderer':(_0x26ce27,_0x53437e,_0x21107d,_0x42ac4e,_0x47ef0c)=>_0x21107d&&_0x21107d[_0x561093(0x1c8)]?TermsUtil['tLabel'](_0x21107d[_0x561093(0x1c8)]):''}},{'type':'select','name':'type','header':TermsUtil[_0x561093(0x18f)](_0x561093(0x192)),'sortable':!0x1,'width':0x64,'record':{'align':_0x561093(0x185),'editable':!0x0,'mandatory':!0x0,'options':_0xa1e37d}},{'type':'boolean','name':_0x561093(0x195),'header':TermsUtil['tLabel']('editable'),'sortable':!0x1,'width':0x50,'record':{'align':_0x561093(0x196),'mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1c5),'name':_0x561093(0x1d3),'header':TermsUtil['tLabel'](_0x561093(0x1d3)),'sortable':!0x1,'width':0x50,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1c5),'name':'mandatory','header':TermsUtil[_0x561093(0x18f)](_0x561093(0x1d5)),'sortable':!0x1,'width':0x55,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1c5),'name':_0x561093(0x1bf),'header':TermsUtil[_0x561093(0x18f)]('exportable'),'sortable':!0x1,'width':0x5a,'record':{'align':_0x561093(0x196),'mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1c5),'name':_0x561093(0x191),'header':TermsUtil['tLabel'](_0x561093(0x191)),'sortable':!0x1,'width':0x5a,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1c5),'name':'detail_field','header':TermsUtil['tLabel']('detail_field'),'sortable':!0x1,'width':0x5a,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1c5),'name':_0x561093(0x1e1),'header':TermsUtil['tLabel'](_0x561093(0x1e1)),'sortable':!0x1,'width':0x5a,'record':{'align':_0x561093(0x196),'mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1c5),'name':_0x561093(0x1da),'header':TermsUtil['tLabel'](_0x561093(0x1da)),'sortable':!0x1,'width':0x41,'record':{'align':_0x561093(0x196),'mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1e2),'name':_0x561093(0x193),'header':TermsUtil[_0x561093(0x18f)](_0x561093(0x193)),'sortable':!0x1,'width':0x46,'record':{'align':_0x561093(0x185),'editable':!0x0,'mandatory':!0x1,'options':['','left','center',_0x561093(0x1ae)]}},{'type':_0x561093(0x1af),'name':'width','header':TermsUtil[_0x561093(0x18f)](_0x561093(0x1cb)),'sortable':!0x1,'width':0x3c,'record':{'editable':!0x0,'mandatory':!0x0,'align':_0x561093(0x1ae)}},{'type':_0x561093(0x1af),'name':'sort_rank','header':TermsUtil[_0x561093(0x18f)](_0x561093(0x184)),'sortable':!0x1,'width':0x50,'record':{'editable':!0x0,'mandatory':!0x0,'align':_0x561093(0x1ae)}},{'type':_0x561093(0x1c5),'name':'sort_desc','header':TermsUtil['tLabel']('reverse_sort'),'sortable':!0x1,'width':0x41,'record':{'align':_0x561093(0x196),'mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x190),'name':_0x561093(0x1b8),'header':TermsUtil['tLabel'](_0x561093(0x1b8)),'sortable':!0x1,'width':0x87,'record':{'align':'left','editable':!0x0,'mandatory':!0x1}},{'type':_0x561093(0x190),'name':_0x561093(0x19d),'header':TermsUtil['tLabel'](_0x561093(0x19d)),'sortable':!0x1,'width':0x87,'record':{'align':'left','editable':!0x0,'mandatory':!0x1}},{'type':_0x561093(0x190),'name':'change_event_handler','header':TermsUtil[_0x561093(0x18f)](_0x561093(0x1cc)),'sortable':!0x1,'width':0x96,'record':{'align':_0x561093(0x185),'mandatory':!0x1,'editable':!0x0}},{'type':_0x561093(0x1dc),'name':'selector_args','header':TermsUtil[_0x561093(0x18f)]('selector_args'),'sortable':!0x1,'width':0x96,'record':{'align':_0x561093(0x185),'editable':!0x0,'mandatory':!0x1,'renderer':(_0x55e816,_0x516e3b,_0x3116f0,_0x3fedf9,_0x2485d6)=>{const _0x178711=_0x561093;if(!_0x3116f0['selector_args']){let _0x10da07=typeConfigGuides[_0x3116f0[_0x178711(0x192)]];_0x10da07?_0x3116f0[_0x178711(0x1e5)]={'option':JSON[_0x178711(0x1a6)](_0x10da07,null,0x2)}:0x0==jsonConfigTypes[_0x178711(0x1ac)](_0x3116f0[_0x178711(0x192)])&&(_0x3116f0[_0x178711(0x1e5)]=void 0x0);}return getRenderer(_0x178711(0x1d7))(_0x55e816,_0x516e3b,_0x3116f0,_0x3fedf9,_0x2485d6);},'options':(_0x3a48d4,_0x3b8785,_0x404d7d,_0x38b9a3,_0x1bb2d1)=>{const _0x27e1e2=_0x561093;var {name:_0x253795,help:_0x5b8cfa}={'name':TermsUtil['tLabel'](_0x27e1e2(0x1e5)),'help':''};return{'name':_0x253795,'spec':[{'label':_0x27e1e2(0x1bd),'name':_0x27e1e2(0x1ce),'type':_0x27e1e2(0x1d6)}],'help':_0x5b8cfa,'context':this['columnTabGrist']};}}}]};}};
@@ -1,4 +1,4 @@
1
- const a0_0x1ec147=a0_0x2a40;function a0_0x2a40(_0x1d41f9,_0x4d2237){const _0x79d7ff=a0_0x79d7();return a0_0x2a40=function(_0x2a4043,_0x2cf335){_0x2a4043=_0x2a4043-0x187;let _0xac171a=_0x79d7ff[_0x2a4043];return _0xac171a;},a0_0x2a40(_0x1d41f9,_0x4d2237);}(function(_0x2e8916,_0x354f9b){const _0x536495=a0_0x2a40,_0x34bdd5=_0x2e8916();while(!![]){try{const _0x51d9ed=parseInt(_0x536495(0x190))/0x1*(-parseInt(_0x536495(0x19d))/0x2)+parseInt(_0x536495(0x1a0))/0x3+-parseInt(_0x536495(0x187))/0x4*(-parseInt(_0x536495(0x1a4))/0x5)+-parseInt(_0x536495(0x188))/0x6*(-parseInt(_0x536495(0x18b))/0x7)+-parseInt(_0x536495(0x18d))/0x8+-parseInt(_0x536495(0x18c))/0x9*(parseInt(_0x536495(0x19b))/0xa)+-parseInt(_0x536495(0x192))/0xb;if(_0x51d9ed===_0x354f9b)break;else _0x34bdd5['push'](_0x34bdd5['shift']());}catch(_0x5b6f50){_0x34bdd5['push'](_0x34bdd5['shift']());}}}(a0_0x79d7,0x6653c));import{html}from'lit-element';function a0_0x79d7(){const _0x496825=['button','tLabel','forEach','1100EHAIQM','getGristSelectableConfig','248042rkhrxB','bind','shadowRoot','2085993hitMpD','etcTabGridConfig','renderEtcConfigTab','getGristGuttersConfig','5fHVWkP','fetchEtcTabHandler','string','getEtcConfigTabValues','setEtcConfigTabConfig','viewEtcData','3015004OVmhnQ','1669974IqRFRE','etcTabGrist','key','21ISFAWp','3114Sunwvb','3169376sRjfXg','getElementValueById','gutter','3yCAXRh','value','11645062CEoUmx','etc-tab-grid','#etc-tab-grid','map','keys','deleteRow'];a0_0x79d7=function(){return _0x496825;};return a0_0x79d7();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const EtcConfigTabMixin=_0x224be5=>class extends _0x224be5{['setEtcConfigTabValues'](_0x15dcf3){const _0x1a4cf6=a0_0x2a40;let _0x123439=0x1,_0x50700d=Object[_0x1a4cf6(0x196)](_0x15dcf3||{})[_0x1a4cf6(0x195)](_0x4b7625=>{const _0x3d4586=_0x1a4cf6;let _0x39a511={};return _0x39a511['id']=0x64*_0x123439,_0x39a511['key']=_0x4b7625,_0x39a511[_0x3d4586(0x191)]=_0x15dcf3[_0x4b7625],_0x123439+=0x1,_0x39a511;});this[_0x1a4cf6(0x1a9)]=_0x50700d||[],this[_0x1a4cf6(0x189)]?.['fetch']();}[a0_0x1ec147(0x1a7)](){const _0x20cb4c=a0_0x1ec147;let _0xbbb90f={'etc':{}};return this[_0x20cb4c(0x18e)](_0x20cb4c(0x193))?.[_0x20cb4c(0x19a)](_0x36690d=>{var {key:_0x3bda74,value:_0x426044}=_0x36690d;_0x3bda74&&_0x426044&&(_0xbbb90f['etc'][_0x3bda74]=_0x426044);}),_0xbbb90f;}[a0_0x1ec147(0x1a2)](){const _0x2008f3=a0_0x1ec147;return html`
2
- <ox-grist auto-fetch id="etc-tab-grid" .config=${this[_0x2008f3(0x1a1)]} .mode='GRID'
3
- .fetchHandler=${this[_0x2008f3(0x1a5)][_0x2008f3(0x19e)](this)}>
4
- </ox-grist>`;}get[a0_0x1ec147(0x189)](){const _0x3195e6=a0_0x1ec147;return this[_0x3195e6(0x19f)]['querySelector'](_0x3195e6(0x194));}async[a0_0x1ec147(0x1a5)](){const _0x176afd=a0_0x1ec147;return{'total':0x0,'records':this[_0x176afd(0x1a9)]||[]};}async[a0_0x1ec147(0x1a8)](){const _0xeb9a55=a0_0x1ec147;this[_0xeb9a55(0x1a1)]={'rows':MetaApi[_0xeb9a55(0x19c)](!0x0),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0xeb9a55(0x1a3)](!0x1,!0x1),{'type':_0xeb9a55(0x18f),'gutterName':_0xeb9a55(0x198),'icon':'delete','handlers':{'click':(_0x20409c,_0x4ef948,_0x2e8149,_0x9dfb3e,_0x40ba60)=>{const _0x2e2da0=_0xeb9a55;_0x9dfb3e['id']&&this[_0x2e2da0(0x197)](this['etcTabGrist'],_0x9dfb3e);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'string','name':_0xeb9a55(0x18a),'header':TermsUtil[_0xeb9a55(0x199)](_0xeb9a55(0x18a)),'sortable':!0x1,'width':0xc8,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0xeb9a55(0x1a6),'name':'value','header':TermsUtil[_0xeb9a55(0x199)](_0xeb9a55(0x191)),'sortable':!0x1,'width':0xc8,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}}]};}};
1
+ const a0_0x32859a=a0_0x3a97;(function(_0x36ce46,_0x4b8ada){const _0x2c9307=a0_0x3a97,_0x5a57e8=_0x36ce46();while(!![]){try{const _0x9b194=parseInt(_0x2c9307(0x1e3))/0x1+-parseInt(_0x2c9307(0x1db))/0x2+parseInt(_0x2c9307(0x1f1))/0x3*(-parseInt(_0x2c9307(0x1d3))/0x4)+parseInt(_0x2c9307(0x1f0))/0x5*(-parseInt(_0x2c9307(0x1d9))/0x6)+-parseInt(_0x2c9307(0x1df))/0x7+-parseInt(_0x2c9307(0x1e5))/0x8+parseInt(_0x2c9307(0x1f4))/0x9*(parseInt(_0x2c9307(0x1e1))/0xa);if(_0x9b194===_0x4b8ada)break;else _0x5a57e8['push'](_0x5a57e8['shift']());}catch(_0x18fccf){_0x5a57e8['push'](_0x5a57e8['shift']());}}}(a0_0x3feb,0x9244a));function a0_0x3feb(){const _0x120ebe=['etc','65ereaCH','90JKdHaK','getGristGuttersConfig','delete','438903wCzNcL','getElementValueById','56816ZjbCUE','fetch','getEtcConfigTabValues','gutter','keys','etcTabGridConfig','320766qmhkpn','setEtcConfigTabConfig','726420KBPZgM','renderEtcConfigTab','shadowRoot','map','5615736LKkQcF','fetchEtcTabHandler','690aoDGUZ','etcTabGrist','462110iJpwwH','left','7530784wkOfng','getGristSelectableConfig','value','querySelector','etc-tab-grid','tLabel','string','forEach','button','#etc-tab-grid'];a0_0x3feb=function(){return _0x120ebe;};return a0_0x3feb();}function a0_0x3a97(_0x5e4dde,_0x37ff56){const _0x3febec=a0_0x3feb();return a0_0x3a97=function(_0x3a97c3,_0x3f8d7c){_0x3a97c3=_0x3a97c3-0x1d2;let _0x1fc91c=_0x3febec[_0x3a97c3];return _0x1fc91c;},a0_0x3a97(_0x5e4dde,_0x37ff56);}import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const EtcConfigTabMixin=_0xf8f74a=>class extends _0xf8f74a{['setEtcConfigTabValues'](_0x1635c4){const _0x9ed52e=a0_0x3a97;let _0x1d0d91=0x1,_0x1a2bab=Object[_0x9ed52e(0x1d7)](_0x1635c4||{})[_0x9ed52e(0x1de)](_0x54a62e=>{const _0x1ac24b=_0x9ed52e;let _0x235ed5={};return _0x235ed5['id']=0x64*_0x1d0d91,_0x235ed5['key']=_0x54a62e,_0x235ed5[_0x1ac24b(0x1e7)]=_0x1635c4[_0x54a62e],_0x1d0d91+=0x1,_0x235ed5;});this['viewEtcData']=_0x1a2bab||[],this[_0x9ed52e(0x1e2)]?.[_0x9ed52e(0x1d4)]();}[a0_0x32859a(0x1d5)](){const _0x1d4dd9=a0_0x32859a;let _0x22bfef={'etc':{}};return this[_0x1d4dd9(0x1d2)](_0x1d4dd9(0x1e9))?.[_0x1d4dd9(0x1ec)](_0x185f88=>{const _0x2f7757=_0x1d4dd9;var {key:_0x364467,value:_0x25b425}=_0x185f88;_0x364467&&_0x25b425&&(_0x22bfef[_0x2f7757(0x1ef)][_0x364467]=_0x25b425);}),_0x22bfef;}[a0_0x32859a(0x1dc)](){const _0x5d7dba=a0_0x32859a;return html`
2
+ <ox-grist auto-fetch id="etc-tab-grid" .config=${this[_0x5d7dba(0x1d8)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x5d7dba(0x1e0)]['bind'](this)}>
4
+ </ox-grist>`;}get[a0_0x32859a(0x1e2)](){const _0x55903a=a0_0x32859a;return this[_0x55903a(0x1dd)][_0x55903a(0x1e8)](_0x55903a(0x1ee));}async[a0_0x32859a(0x1e0)](){return{'total':0x0,'records':this['viewEtcData']||[]};}async[a0_0x32859a(0x1da)](){const _0x3f6343=a0_0x32859a;this[_0x3f6343(0x1d8)]={'rows':MetaApi[_0x3f6343(0x1e6)](!0x0),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x3f6343(0x1f2)](!0x1,!0x1),{'type':_0x3f6343(0x1d6),'gutterName':_0x3f6343(0x1ed),'icon':_0x3f6343(0x1f3),'handlers':{'click':(_0xc79603,_0x72f4dd,_0x292c0a,_0x4f24d7,_0xde87dc)=>{_0x4f24d7['id']&&this['deleteRow'](this['etcTabGrist'],_0x4f24d7);}}},{'type':_0x3f6343(0x1eb),'name':'id','hidden':!0x0},{'type':_0x3f6343(0x1eb),'name':'key','header':TermsUtil[_0x3f6343(0x1ea)]('key'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x3f6343(0x1e4),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3f6343(0x1eb),'name':_0x3f6343(0x1e7),'header':TermsUtil['tLabel'](_0x3f6343(0x1e7)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x3f6343(0x1e4),'editable':!0x0,'mandatory':!0x0}}]};}};
@@ -1,4 +1,4 @@
1
- const a0_0x520b55=a0_0x3cb1;function a0_0x8f65(){const _0x1dda43=['401255fcxyyW','614908IdyTKv','getGristSelectableConfig','3313hMUtDf','tLabel','2773446kuUpzW','getFormConfigTabValues','category','button','18248qmwaSF','querySelector','column','left','display','5602806SomAdG','rank','string','10bIIxbh','fetchFormTabHandler','integer','48ZDuIIs','setFormConfigTabConfig','join','column_list','gutter','fetch','formTabGrist','setFormConfigTabValues','push','272hCEmMf','viewFormData','renderFormConfigTab','right','5622990NeQVXE','6111afBFab','deleteRow','split','formTabGridConfig'];a0_0x8f65=function(){return _0x1dda43;};return a0_0x8f65();}(function(_0x2c3454,_0x2651de){const _0x3ddf2a=a0_0x3cb1,_0x56b5d9=_0x2c3454();while(!![]){try{const _0x2b3129=-parseInt(_0x3ddf2a(0x95))/0x1*(-parseInt(_0x3ddf2a(0x89))/0x2)+-parseInt(_0x3ddf2a(0x8d))/0x3+-parseInt(_0x3ddf2a(0x80))/0x4*(-parseInt(_0x3ddf2a(0x92))/0x5)+parseInt(_0x3ddf2a(0x97))/0x6+-parseInt(_0x3ddf2a(0x93))/0x7+parseInt(_0x3ddf2a(0x9b))/0x8*(parseInt(_0x3ddf2a(0x8e))/0x9)+-parseInt(_0x3ddf2a(0x7d))/0xa*(parseInt(_0x3ddf2a(0x7a))/0xb);if(_0x2b3129===_0x2651de)break;else _0x56b5d9['push'](_0x56b5d9['shift']());}catch(_0xa72f7d){_0x56b5d9['push'](_0x56b5d9['shift']());}}}(a0_0x8f65,0xe8b0c));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x3cb1(_0x507f59,_0x584efe){const _0x8f656f=a0_0x8f65();return a0_0x3cb1=function(_0x3cb1bf,_0x19b745){_0x3cb1bf=_0x3cb1bf-0x7a;let _0x4a6d1b=_0x8f656f[_0x3cb1bf];return _0x4a6d1b;},a0_0x3cb1(_0x507f59,_0x584efe);}export const FormConfigTabMixin=_0x4a9c59=>class extends _0x4a9c59{[a0_0x520b55(0x87)](_0x58b2e9){const _0x114e61=a0_0x520b55;let _0x3ff0e0=_0x58b2e9?.['map']((_0x222ff6,_0x481583)=>{const _0x5e5dbb=a0_0x3cb1;let _0x19c556=_0x481583+0x1,_0x57a4ac={};return _0x57a4ac[_0x5e5dbb(0x7b)]=0xa*_0x19c556,_0x57a4ac['id']=_0x19c556,_0x57a4ac[_0x5e5dbb(0x99)]=_0x222ff6[_0x5e5dbb(0x99)],_0x57a4ac[_0x5e5dbb(0x9f)]=_0x222ff6[_0x5e5dbb(0x9f)],_0x57a4ac[_0x5e5dbb(0x9d)]=_0x222ff6[_0x5e5dbb(0x9d)],_0x57a4ac['column_list']=_0x222ff6[_0x5e5dbb(0x83)][_0x5e5dbb(0x82)](','),_0x57a4ac;});this[_0x114e61(0x8a)]=_0x3ff0e0||[],this[_0x114e61(0x86)]?.[_0x114e61(0x85)]();}[a0_0x520b55(0x98)](){let _0x2dbd5d={'form':[]},_0x3e0615=this['getElementValueById']('form-tab-grid');return this['sortRecordByRank'](_0x3e0615)?.['forEach'](_0xe3132=>{const _0x2c9dfc=a0_0x3cb1;var {category:_0x51f3a9,display:_0xf7d83c,column:_0x5b56ec=0x1,column_list:_0x3bbca4}=_0xe3132;_0x51f3a9&&_0x3bbca4&&(_0xf7d83c||(_0xf7d83c=_0x51f3a9),_0x3bbca4=_0x3bbca4[_0x2c9dfc(0x90)](','),_0x2dbd5d['form'][_0x2c9dfc(0x88)]({'category':_0x51f3a9,'display':_0xf7d83c,'column':_0x5b56ec,'column_list':_0x3bbca4}));}),_0x2dbd5d;}[a0_0x520b55(0x8b)](){const _0x443536=a0_0x520b55;return html`
2
- <ox-grist auto-fetch id="form-tab-grid" .config=${this[_0x443536(0x91)]} .mode='GRID'
3
- .fetchHandler=${this[_0x443536(0x7e)]['bind'](this)}>
4
- </ox-grist>`;}get['formTabGrist'](){const _0x3fd102=a0_0x520b55;return this['shadowRoot'][_0x3fd102(0x9c)]('#form-tab-grid');}async['fetchFormTabHandler'](){const _0x5f7bb1=a0_0x520b55;return{'total':0x0,'records':this[_0x5f7bb1(0x8a)]||[]};}async[a0_0x520b55(0x81)](){const _0x3c013b=a0_0x520b55;this[_0x3c013b(0x91)]={'rows':MetaApi[_0x3c013b(0x94)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x3c013b(0x7b),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x3c013b(0x84),'gutterName':_0x3c013b(0x9a),'icon':'delete','handlers':{'click':(_0x2e9cde,_0x2ca323,_0xf7f0da,_0x26f10e,_0x3b407a)=>{const _0x5ee98f=_0x3c013b;_0x26f10e['id']&&this[_0x5ee98f(0x8f)](this[_0x5ee98f(0x86)],_0x26f10e);}}},{'type':_0x3c013b(0x7c),'name':'id','hidden':!0x0},{'type':_0x3c013b(0x7f),'name':'rank','header':TermsUtil['tLabel'](_0x3c013b(0x7b)),'sortable':!0x0,'width':0x41,'record':{'align':_0x3c013b(0x8c),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3c013b(0x7c),'name':_0x3c013b(0x99),'header':TermsUtil[_0x3c013b(0x96)](_0x3c013b(0x99)),'sortable':!0x1,'width':0x9b,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x3c013b(0x7c),'name':_0x3c013b(0x9f),'header':TermsUtil[_0x3c013b(0x96)](_0x3c013b(0x9f)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x3c013b(0x9e),'editable':!0x0,'mandatory':!0x0}},{'type':'integer','name':_0x3c013b(0x9d),'header':TermsUtil[_0x3c013b(0x96)]('column_cnt'),'sortable':!0x0,'width':0x41,'record':{'align':_0x3c013b(0x8c),'editable':!0x0}},{'type':_0x3c013b(0x7c),'name':_0x3c013b(0x83),'header':TermsUtil[_0x3c013b(0x96)]('grid_column_list'),'sortable':!0x1,'width':0x190,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}}]};}};
1
+ const a0_0x43568c=a0_0x24b3;(function(_0x2cf3a7,_0x4f8607){const _0x2fd6b3=a0_0x24b3,_0x3b32b2=_0x2cf3a7();while(!![]){try{const _0x1bc62b=-parseInt(_0x2fd6b3(0x18d))/0x1*(-parseInt(_0x2fd6b3(0x19a))/0x2)+parseInt(_0x2fd6b3(0x199))/0x3*(-parseInt(_0x2fd6b3(0x1a9))/0x4)+parseInt(_0x2fd6b3(0x1b0))/0x5*(parseInt(_0x2fd6b3(0x1b2))/0x6)+parseInt(_0x2fd6b3(0x1aa))/0x7*(parseInt(_0x2fd6b3(0x1a8))/0x8)+parseInt(_0x2fd6b3(0x189))/0x9+-parseInt(_0x2fd6b3(0x198))/0xa*(-parseInt(_0x2fd6b3(0x1a3))/0xb)+-parseInt(_0x2fd6b3(0x19c))/0xc;if(_0x1bc62b===_0x4f8607)break;else _0x3b32b2['push'](_0x3b32b2['shift']());}catch(_0x2fbf09){_0x3b32b2['push'](_0x3b32b2['shift']());}}}(a0_0xf206,0x9c33f));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x24b3(_0x1f0cd4,_0x1bfcf8){const _0xf2066a=a0_0xf206();return a0_0x24b3=function(_0x24b3e3,_0x31ebf2){_0x24b3e3=_0x24b3e3-0x187;let _0x4ad7f1=_0xf2066a[_0x24b3e3];return _0x4ad7f1;},a0_0x24b3(_0x1f0cd4,_0x1bfcf8);}function a0_0xf206(){const _0x4f1035=['152LFqxlf','5596KPUOhH','52199DJzcnf','sortRecordByRank','integer','button','tLabel','gutter','15wIXibp','setFormConfigTabConfig','922398TODnqG','grid_column_list','delete','fetch','getElementValueById','formTabGridConfig','1075131kujiiF','form','column_list','column_cnt','1vRpOTW','rank','renderFormConfigTab','#form-tab-grid','category','fetchFormTabHandler','right','map','push','shadowRoot','display','210JMeBNv','906erTvFN','2396764dKKEOU','viewFormData','23833164zefyoQ','forEach','string','formTabGrist','left','column','getGristGuttersConfig','590689RFFNAV','deleteRow','join','setFormConfigTabValues','split'];a0_0xf206=function(){return _0x4f1035;};return a0_0xf206();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const FormConfigTabMixin=_0x273c8b=>class extends _0x273c8b{[a0_0x43568c(0x1a6)](_0x43f0ce){const _0x3c895d=a0_0x43568c;let _0x2cb60f=_0x43f0ce?.[_0x3c895d(0x194)]((_0x16eadb,_0x287260)=>{const _0x4f4614=_0x3c895d;let _0x467d29=_0x287260+0x1,_0x25a7c7={};return _0x25a7c7[_0x4f4614(0x18e)]=0xa*_0x467d29,_0x25a7c7['id']=_0x467d29,_0x25a7c7['category']=_0x16eadb[_0x4f4614(0x191)],_0x25a7c7[_0x4f4614(0x197)]=_0x16eadb[_0x4f4614(0x197)],_0x25a7c7[_0x4f4614(0x1a1)]=_0x16eadb[_0x4f4614(0x1a1)],_0x25a7c7[_0x4f4614(0x18b)]=_0x16eadb['column_list'][_0x4f4614(0x1a5)](','),_0x25a7c7;});this[_0x3c895d(0x19b)]=_0x2cb60f||[],this['formTabGrist']?.[_0x3c895d(0x1b5)]();}['getFormConfigTabValues'](){const _0x5492c1=a0_0x43568c;let _0x2e628f={'form':[]},_0x483b2b=this[_0x5492c1(0x187)]('form-tab-grid');return this[_0x5492c1(0x1ab)](_0x483b2b)?.[_0x5492c1(0x19d)](_0x4e4f61=>{const _0x206590=_0x5492c1;var {category:_0x56c539,display:_0x247782,column:_0x265458=0x1,column_list:_0x1d822e}=_0x4e4f61;_0x56c539&&_0x1d822e&&(_0x247782||(_0x247782=_0x56c539),_0x1d822e=_0x1d822e[_0x206590(0x1a7)](','),_0x2e628f[_0x206590(0x18a)][_0x206590(0x195)]({'category':_0x56c539,'display':_0x247782,'column':_0x265458,'column_list':_0x1d822e}));}),_0x2e628f;}[a0_0x43568c(0x18f)](){const _0x390d2d=a0_0x43568c;return html`
2
+ <ox-grist auto-fetch id="form-tab-grid" .config=${this[_0x390d2d(0x188)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x390d2d(0x192)]['bind'](this)}>
4
+ </ox-grist>`;}get[a0_0x43568c(0x19f)](){const _0x566bae=a0_0x43568c;return this[_0x566bae(0x196)]['querySelector'](_0x566bae(0x190));}async[a0_0x43568c(0x192)](){return{'total':0x0,'records':this['viewFormData']||[]};}async[a0_0x43568c(0x1b1)](){const _0x387f7d=a0_0x43568c;this[_0x387f7d(0x188)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x387f7d(0x18e),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x387f7d(0x1a2)](!0x1,!0x1),{'type':_0x387f7d(0x1af),'gutterName':_0x387f7d(0x1ad),'icon':_0x387f7d(0x1b4),'handlers':{'click':(_0x19fa8f,_0x1711d0,_0x5b8e43,_0x1fa124,_0x305d23)=>{const _0x2558ac=_0x387f7d;_0x1fa124['id']&&this[_0x2558ac(0x1a4)](this['formTabGrist'],_0x1fa124);}}},{'type':_0x387f7d(0x19e),'name':'id','hidden':!0x0},{'type':_0x387f7d(0x1ac),'name':_0x387f7d(0x18e),'header':TermsUtil[_0x387f7d(0x1ae)](_0x387f7d(0x18e)),'sortable':!0x0,'width':0x41,'record':{'align':_0x387f7d(0x193),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x387f7d(0x191),'header':TermsUtil[_0x387f7d(0x1ae)](_0x387f7d(0x191)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x387f7d(0x1a0),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x387f7d(0x197),'header':TermsUtil['tLabel'](_0x387f7d(0x197)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x387f7d(0x1a0),'editable':!0x0,'mandatory':!0x0}},{'type':'integer','name':_0x387f7d(0x1a1),'header':TermsUtil[_0x387f7d(0x1ae)](_0x387f7d(0x18c)),'sortable':!0x0,'width':0x41,'record':{'align':_0x387f7d(0x193),'editable':!0x0}},{'type':_0x387f7d(0x19e),'name':_0x387f7d(0x18b),'header':TermsUtil['tLabel'](_0x387f7d(0x1b3)),'sortable':!0x1,'width':0x190,'record':{'align':_0x387f7d(0x1a0),'editable':!0x0,'mandatory':!0x0}}]};}};
@@ -1,69 +1,69 @@
1
- const a0_0x14eb26=a0_0x37e3;(function(_0x161cfe,_0x20137b){const _0x2bedaa=a0_0x37e3,_0x473970=_0x161cfe();while(!![]){try{const _0x52c39d=parseInt(_0x2bedaa(0x127))/0x1*(-parseInt(_0x2bedaa(0x140))/0x2)+parseInt(_0x2bedaa(0x145))/0x3+parseInt(_0x2bedaa(0x13c))/0x4*(-parseInt(_0x2bedaa(0x162))/0x5)+-parseInt(_0x2bedaa(0x123))/0x6*(parseInt(_0x2bedaa(0x15c))/0x7)+parseInt(_0x2bedaa(0x14f))/0x8*(-parseInt(_0x2bedaa(0x124))/0x9)+-parseInt(_0x2bedaa(0x156))/0xa+parseInt(_0x2bedaa(0x139))/0xb;if(_0x52c39d===_0x20137b)break;else _0x473970['push'](_0x473970['shift']());}catch(_0x1cd531){_0x473970['push'](_0x473970['shift']());}}}(a0_0x16c1,0x18f64));function a0_0x37e3(_0x3d2141,_0x1499d7){const _0x16c1fb=a0_0x16c1();return a0_0x37e3=function(_0x37e398,_0x5d0c3b){_0x37e398=_0x37e398-0x121;let _0xafaf74=_0x16c1fb[_0x37e398];return _0xafaf74;},a0_0x37e3(_0x3d2141,_0x1499d7);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GraphQlConfigTabMixin=_0x1c5a74=>class extends _0x1c5a74{[a0_0x14eb26(0x150)](_0x253579){const _0x50c595=a0_0x14eb26;if(_0x253579){var _0x4d4303={'query':_0x253579['query']||{},'multiple':_0x253579['mutation']?.[_0x50c595(0x161)]||{},'delete':_0x253579[_0x50c595(0x158)]?.[_0x50c595(0x15b)]||{}};this[_0x50c595(0x149)]={'query_list':_0x4d4303[_0x50c595(0x130)][_0x50c595(0x12d)]||'','query_find':_0x4d4303[_0x50c595(0x130)]['find_one_func']||'','query_parent_id':_0x4d4303['query'][_0x50c595(0x166)]||'','after_set_fields_data':_0x4d4303[_0x50c595(0x130)]['after_set_fields']||[],'mutation_multiple':_0x4d4303['multiple']['func']||'','mutation_multiple_type':_0x4d4303['multiple']['type']||'','mutation_multiple_parent_id':_0x4d4303['multiple']['parent_id']||'','skip_fields_data':_0x4d4303[_0x50c595(0x161)][_0x50c595(0x134)]||[],'mutation_delete':_0x4d4303[_0x50c595(0x15b)]['func']||''};let _0x18cdd9=0x1;this[_0x50c595(0x149)]['after_set_fields_data']=Object[_0x50c595(0x131)](this['viewGraphqlData'][_0x50c595(0x16a)])[_0x50c595(0x138)](_0x10fc6f=>({'id':_0x18cdd9++,'set_field':_0x10fc6f,'get_field':this['viewGraphqlData'][_0x50c595(0x16a)][_0x10fc6f]})),this['viewGraphqlData']['skip_fields_data']=this[_0x50c595(0x149)][_0x50c595(0x13a)][_0x50c595(0x138)](_0x133aac=>({'id':_0x18cdd9++,'except_field':_0x133aac})),this['graphqlTabAfterSetFieldGrist']?.['fetch'](),this[_0x50c595(0x13b)]?.[_0x50c595(0x15a)]();}else this[_0x50c595(0x159)]();}['getGraphqlConfigTabValues'](){const _0x6c4c2a=a0_0x14eb26;let _0x1311f0={},_0x15f777=this['getElementValueById'](_0x6c4c2a(0x164)),_0x4fb551=this['getElementValueById'](_0x6c4c2a(0x136)),_0x516fc7=this[_0x6c4c2a(0x12a)]('mutation_multiple'),_0x1a492c=this[_0x6c4c2a(0x12a)](_0x6c4c2a(0x132)),_0x148f72=this[_0x6c4c2a(0x12a)](_0x6c4c2a(0x137)),_0x60de5=this['getElementValueById'](_0x6c4c2a(0x14d)),_0x163596=this[_0x6c4c2a(0x12a)]('mutation_multiple_parent_id'),_0x4c74c8=this[_0x6c4c2a(0x12a)](_0x6c4c2a(0x135)),_0x16d7e1=this[_0x6c4c2a(0x12a)](_0x6c4c2a(0x16c));_0x15f777&&(_0x1311f0[_0x6c4c2a(0x164)]=_0x15f777),_0x4fb551&&(_0x1311f0[_0x6c4c2a(0x136)]=_0x4fb551),_0x60de5&&(_0x1311f0[_0x6c4c2a(0x14d)]=_0x60de5),_0x4c74c8&&(_0x1311f0[_0x6c4c2a(0x14e)]=_0x4c74c8),_0x516fc7&&(_0x1311f0[_0x6c4c2a(0x160)]=_0x516fc7),_0x1a492c&&(_0x1311f0[_0x6c4c2a(0x132)]=_0x1a492c),_0x163596&&(_0x1311f0[_0x6c4c2a(0x163)]=_0x163596),_0x16d7e1&&(_0x1311f0[_0x6c4c2a(0x169)]=_0x16d7e1),_0x148f72&&(_0x1311f0[_0x6c4c2a(0x137)]=_0x148f72);let _0x5e09d8={'gql':{}},_0xe72848=Object[_0x6c4c2a(0x131)](_0x1311f0);return _0xe72848[_0x6c4c2a(0x126)](_0x2ff96d=>_0x2ff96d[_0x6c4c2a(0x16b)]('query'))&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x130)]={},_0x1311f0[_0x6c4c2a(0x164)]&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x130)]['list_func']=_0x1311f0[_0x6c4c2a(0x164)]),_0x1311f0[_0x6c4c2a(0x136)]&&(_0x5e09d8['gql'][_0x6c4c2a(0x130)]['find_one_func']=_0x1311f0[_0x6c4c2a(0x136)]),_0x1311f0['query_parent_id']&&(_0x5e09d8['gql']['query'][_0x6c4c2a(0x166)]=_0x1311f0[_0x6c4c2a(0x14d)]),_0x1311f0[_0x6c4c2a(0x14e)]&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x130)][_0x6c4c2a(0x13f)]={},_0x1311f0[_0x6c4c2a(0x14e)][_0x6c4c2a(0x129)](_0x2dbbbb=>{const _0x5b1668=_0x6c4c2a;_0x5e09d8[_0x5b1668(0x142)][_0x5b1668(0x130)]['after_set_fields'][_0x2dbbbb[_0x5b1668(0x125)]]=_0x2dbbbb[_0x5b1668(0x152)];}))),_0xe72848[_0x6c4c2a(0x126)](_0x1d6990=>_0x1d6990[_0x6c4c2a(0x16b)](_0x6c4c2a(0x158)))&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x158)]={},_0xe72848['filter'](_0x249b54=>_0x249b54['startsWith'](_0x6c4c2a(0x160)))&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x158)][_0x6c4c2a(0x161)]={},_0x1311f0['mutation_multiple']&&(_0x5e09d8['gql'][_0x6c4c2a(0x158)][_0x6c4c2a(0x161)][_0x6c4c2a(0x153)]=_0x1311f0[_0x6c4c2a(0x160)]),_0x1311f0[_0x6c4c2a(0x132)]&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x158)][_0x6c4c2a(0x161)][_0x6c4c2a(0x12e)]=_0x1311f0[_0x6c4c2a(0x132)]),_0x1311f0['mutation_multiple_parent_id']&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x158)][_0x6c4c2a(0x161)]['parent_id']=_0x1311f0[_0x6c4c2a(0x163)]),_0x1311f0[_0x6c4c2a(0x169)]&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x158)]['multiple']['skip_fields']=_0x1311f0[_0x6c4c2a(0x169)]['map'](_0x50ca79=>_0x50ca79[_0x6c4c2a(0x121)]))),_0xe72848['filter'](_0x5c1e6a=>_0x5c1e6a[_0x6c4c2a(0x16b)](_0x6c4c2a(0x137)))&&(_0x5e09d8[_0x6c4c2a(0x142)][_0x6c4c2a(0x158)][_0x6c4c2a(0x15b)]={},_0x1311f0['mutation_delete']&&(_0x5e09d8['gql'][_0x6c4c2a(0x158)][_0x6c4c2a(0x15b)][_0x6c4c2a(0x153)]=_0x1311f0['mutation_delete']))),_0x5e09d8;}get['graphqlTabAfterSetFieldGrist'](){const _0x4886b8=a0_0x14eb26;return this[_0x4886b8(0x122)][_0x4886b8(0x14a)](_0x4886b8(0x15f));}get['graphqlTabSkipFieldGrist'](){const _0x16975b=a0_0x14eb26;return this['shadowRoot']['querySelector'](_0x16975b(0x15e));}[a0_0x14eb26(0x15d)](){const _0x37f9a6=a0_0x14eb26;this[_0x37f9a6(0x12f)]={'rows':MetaApi[_0x37f9a6(0x154)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x37f9a6(0x14b)](!0x1,!0x1),{'type':_0x37f9a6(0x151),'gutterName':_0x37f9a6(0x147),'icon':_0x37f9a6(0x15b),'handlers':{'click':(_0x3453c2,_0x10f165,_0x1153cc,_0x15e5ba,_0x34cc18)=>{const _0x166555=_0x37f9a6;_0x15e5ba['id']&&this[_0x166555(0x144)](this[_0x166555(0x13e)],_0x15e5ba);}}},{'type':_0x37f9a6(0x141),'name':'id','hidden':!0x0},{'type':_0x37f9a6(0x141),'name':'set_field','header':TermsUtil['tLabel'](_0x37f9a6(0x12b)),'record':{'align':_0x37f9a6(0x133),'editable':!0x0,'mandatory':!0x0},'width':0x96},{'type':_0x37f9a6(0x141),'name':_0x37f9a6(0x152),'header':TermsUtil['tLabel'](_0x37f9a6(0x146)),'record':{'align':_0x37f9a6(0x133),'editable':!0x0,'mandatory':!0x0},'width':0x96}]},this[_0x37f9a6(0x157)]={'rows':MetaApi[_0x37f9a6(0x154)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x37f9a6(0x14b)](!0x1,!0x1),{'type':'gutter','gutterName':'button','icon':'delete','handlers':{'click':(_0x3c874a,_0x2054e1,_0x2b42f3,_0x45e74b,_0x26dba4)=>{const _0x123504=_0x37f9a6;_0x45e74b['id']&&this[_0x123504(0x144)](this[_0x123504(0x13b)],_0x45e74b);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'string','name':_0x37f9a6(0x121),'header':TermsUtil['tLabel'](_0x37f9a6(0x14c)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0xfa}]};}[a0_0x14eb26(0x159)](){const _0x1e4218=a0_0x14eb26;this[_0x1e4218(0x149)]||(this[_0x1e4218(0x149)]={'query_list':'','query_find':'','mutation_multiple':'','mutation_multiple_type':'','mutation_delete':'','query_parent_id':'','mutation_multiple_parent_id':'','after_set_fields_data':[],'skip_fields_data':[]});}['renderGraphqlConfigTab'](){const _0x53b0a7=a0_0x14eb26;return this['setGraphqlConfigTabDefaultValues'](),html`
1
+ const a0_0x2856e0=a0_0x400e;(function(_0x2d62c2,_0x2a19ce){const _0x5da421=a0_0x400e,_0x553f4a=_0x2d62c2();while(!![]){try{const _0x5699c3=-parseInt(_0x5da421(0x11f))/0x1+parseInt(_0x5da421(0x127))/0x2*(parseInt(_0x5da421(0x128))/0x3)+-parseInt(_0x5da421(0x119))/0x4*(-parseInt(_0x5da421(0x110))/0x5)+-parseInt(_0x5da421(0x10f))/0x6*(-parseInt(_0x5da421(0x135))/0x7)+parseInt(_0x5da421(0x126))/0x8+parseInt(_0x5da421(0x11b))/0x9+parseInt(_0x5da421(0x101))/0xa*(-parseInt(_0x5da421(0x137))/0xb);if(_0x5699c3===_0x2a19ce)break;else _0x553f4a['push'](_0x553f4a['shift']());}catch(_0x2d4488){_0x553f4a['push'](_0x553f4a['shift']());}}}(a0_0x21ca,0x51cb4));function a0_0x21ca(){const _0x889ef3=['set_field_name','mutation_multiple','tLabel','40GUdMGz','skip_fields_data','3243177KcRLYK','field_name','skipFieldsConfig','fetch','91999GpiDMM','left','skip_fields','mutation_multiple_skip_fields_data','setGraphqlConfigTabDefaultValues','gql','set_field','1854704JuNyfX','4rEaasF','896379UTcvno','startsWith','query_parent_id','delete_function','after_set_fields_data','map','query','deleteRow','graphqlTabAfterSetFieldGrist','query_option','find_one_func','setGraphqlConfigTabConfig','fetchAfterSetFields','1085343iKhaKK','#skip-fields-grist','11wtvovU','after-set-fields-grist','list_func','func','filter','getGraphqlConfigTabValues','get_field_name','mutation_multiple_type','getGristGuttersConfig','mutation_delete','multiple','shadowRoot','skip-fields-grist','viewGraphqlData','type','forEach','bind','get_field','querySelector','keys','mutation','after_set_fields','14133890boIbal','string','#after-set-fields-grist','getGristSelectableConfig','parent_id','query_list','query_after_set_fields_data','getElementValueById','mutation_multiple_parent_id','button','setGraphqlConfigTabValues','graphqlTabSkipFieldGrist','except_field','afterSetFieldsConfig','6TiMmRQ','247795pahQFd','delete','query_find','gutter','fetchSkipFields','GRID'];a0_0x21ca=function(){return _0x889ef3;};return a0_0x21ca();}import{html}from'lit-element';function a0_0x400e(_0x443b2f,_0x1a2998){const _0x21caa7=a0_0x21ca();return a0_0x400e=function(_0x400e70,_0x19fb39){_0x400e70=_0x400e70-0xfd;let _0x1c9c99=_0x21caa7[_0x400e70];return _0x1c9c99;},a0_0x400e(_0x443b2f,_0x1a2998);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GraphQlConfigTabMixin=_0x4245a5=>class extends _0x4245a5{[a0_0x2856e0(0x10b)](_0x4f4c11){const _0xd67f67=a0_0x2856e0;if(_0x4f4c11){var _0x3175ee={'query':_0x4f4c11[_0xd67f67(0x12e)]||{},'multiple':_0x4f4c11[_0xd67f67(0xff)]?.['multiple']||{},'delete':_0x4f4c11[_0xd67f67(0xff)]?.[_0xd67f67(0x111)]||{}};this[_0xd67f67(0x144)]={'query_list':_0x3175ee['query'][_0xd67f67(0x139)]||'','query_find':_0x3175ee[_0xd67f67(0x12e)][_0xd67f67(0x132)]||'','query_parent_id':_0x3175ee[_0xd67f67(0x12e)][_0xd67f67(0x105)]||'','after_set_fields_data':_0x3175ee['query'][_0xd67f67(0x100)]||[],'mutation_multiple':_0x3175ee['multiple'][_0xd67f67(0x13a)]||'','mutation_multiple_type':_0x3175ee['multiple'][_0xd67f67(0x145)]||'','mutation_multiple_parent_id':_0x3175ee[_0xd67f67(0x141)][_0xd67f67(0x105)]||'','skip_fields_data':_0x3175ee[_0xd67f67(0x141)][_0xd67f67(0x121)]||[],'mutation_delete':_0x3175ee[_0xd67f67(0x111)][_0xd67f67(0x13a)]||''};let _0x1aa78d=0x1;this[_0xd67f67(0x144)][_0xd67f67(0x12c)]=Object[_0xd67f67(0xfe)](this[_0xd67f67(0x144)][_0xd67f67(0x12c)])['map'](_0x17c469=>({'id':_0x1aa78d++,'set_field':_0x17c469,'get_field':this['viewGraphqlData'][_0xd67f67(0x12c)][_0x17c469]})),this[_0xd67f67(0x144)]['skip_fields_data']=this[_0xd67f67(0x144)][_0xd67f67(0x11a)][_0xd67f67(0x12d)](_0x33373f=>({'id':_0x1aa78d++,'except_field':_0x33373f})),this[_0xd67f67(0x130)]?.[_0xd67f67(0x11e)](),this[_0xd67f67(0x10c)]?.['fetch']();}else this['setGraphqlConfigTabDefaultValues']();}[a0_0x2856e0(0x13c)](){const _0x4dfd54=a0_0x2856e0;let _0x342e1d={},_0x5d141b=this[_0x4dfd54(0x108)]('query_list'),_0x2a2c0f=this['getElementValueById']('query_find'),_0x2ca9a6=this['getElementValueById'](_0x4dfd54(0x117)),_0x45ca93=this[_0x4dfd54(0x108)](_0x4dfd54(0x13e)),_0x584d4e=this[_0x4dfd54(0x108)](_0x4dfd54(0x140)),_0x41e62b=this[_0x4dfd54(0x108)](_0x4dfd54(0x12a)),_0x21c39b=this['getElementValueById']('mutation_multiple_parent_id'),_0x3d3946=this[_0x4dfd54(0x108)](_0x4dfd54(0x138)),_0x280c75=this[_0x4dfd54(0x108)](_0x4dfd54(0x143));_0x5d141b&&(_0x342e1d['query_list']=_0x5d141b),_0x2a2c0f&&(_0x342e1d[_0x4dfd54(0x112)]=_0x2a2c0f),_0x41e62b&&(_0x342e1d[_0x4dfd54(0x12a)]=_0x41e62b),_0x3d3946&&(_0x342e1d[_0x4dfd54(0x107)]=_0x3d3946),_0x2ca9a6&&(_0x342e1d[_0x4dfd54(0x117)]=_0x2ca9a6),_0x45ca93&&(_0x342e1d[_0x4dfd54(0x13e)]=_0x45ca93),_0x21c39b&&(_0x342e1d['mutation_multiple_parent_id']=_0x21c39b),_0x280c75&&(_0x342e1d['mutation_multiple_skip_fields_data']=_0x280c75),_0x584d4e&&(_0x342e1d[_0x4dfd54(0x140)]=_0x584d4e);let _0x36f79a={'gql':{}},_0x38c686=Object['keys'](_0x342e1d);return _0x38c686['filter'](_0x32e58a=>_0x32e58a[_0x4dfd54(0x129)](_0x4dfd54(0x12e)))&&(_0x36f79a[_0x4dfd54(0x124)][_0x4dfd54(0x12e)]={},_0x342e1d[_0x4dfd54(0x106)]&&(_0x36f79a[_0x4dfd54(0x124)][_0x4dfd54(0x12e)][_0x4dfd54(0x139)]=_0x342e1d[_0x4dfd54(0x106)]),_0x342e1d['query_find']&&(_0x36f79a[_0x4dfd54(0x124)][_0x4dfd54(0x12e)][_0x4dfd54(0x132)]=_0x342e1d[_0x4dfd54(0x112)]),_0x342e1d['query_parent_id']&&(_0x36f79a['gql'][_0x4dfd54(0x12e)][_0x4dfd54(0x105)]=_0x342e1d['query_parent_id']),_0x342e1d[_0x4dfd54(0x107)]&&(_0x36f79a[_0x4dfd54(0x124)][_0x4dfd54(0x12e)]['after_set_fields']={},_0x342e1d[_0x4dfd54(0x107)][_0x4dfd54(0x146)](_0x4b7ebd=>{const _0x2f0b12=_0x4dfd54;_0x36f79a[_0x2f0b12(0x124)][_0x2f0b12(0x12e)]['after_set_fields'][_0x4b7ebd[_0x2f0b12(0x125)]]=_0x4b7ebd[_0x2f0b12(0x148)];}))),_0x38c686[_0x4dfd54(0x13b)](_0x512534=>_0x512534[_0x4dfd54(0x129)](_0x4dfd54(0xff)))&&(_0x36f79a[_0x4dfd54(0x124)]['mutation']={},_0x38c686[_0x4dfd54(0x13b)](_0x43e60b=>_0x43e60b[_0x4dfd54(0x129)](_0x4dfd54(0x117)))&&(_0x36f79a['gql'][_0x4dfd54(0xff)][_0x4dfd54(0x141)]={},_0x342e1d[_0x4dfd54(0x117)]&&(_0x36f79a['gql'][_0x4dfd54(0xff)]['multiple'][_0x4dfd54(0x13a)]=_0x342e1d[_0x4dfd54(0x117)]),_0x342e1d['mutation_multiple_type']&&(_0x36f79a['gql'][_0x4dfd54(0xff)][_0x4dfd54(0x141)][_0x4dfd54(0x145)]=_0x342e1d[_0x4dfd54(0x13e)]),_0x342e1d[_0x4dfd54(0x109)]&&(_0x36f79a[_0x4dfd54(0x124)]['mutation'][_0x4dfd54(0x141)][_0x4dfd54(0x105)]=_0x342e1d[_0x4dfd54(0x109)]),_0x342e1d[_0x4dfd54(0x122)]&&(_0x36f79a[_0x4dfd54(0x124)][_0x4dfd54(0xff)][_0x4dfd54(0x141)][_0x4dfd54(0x121)]=_0x342e1d[_0x4dfd54(0x122)][_0x4dfd54(0x12d)](_0xed05cd=>_0xed05cd[_0x4dfd54(0x10d)]))),_0x38c686[_0x4dfd54(0x13b)](_0x32f6c4=>_0x32f6c4[_0x4dfd54(0x129)](_0x4dfd54(0x140)))&&(_0x36f79a[_0x4dfd54(0x124)][_0x4dfd54(0xff)][_0x4dfd54(0x111)]={},_0x342e1d[_0x4dfd54(0x140)]&&(_0x36f79a[_0x4dfd54(0x124)][_0x4dfd54(0xff)][_0x4dfd54(0x111)]['func']=_0x342e1d[_0x4dfd54(0x140)]))),_0x36f79a;}get[a0_0x2856e0(0x130)](){const _0x3d54c6=a0_0x2856e0;return this[_0x3d54c6(0x142)][_0x3d54c6(0xfd)](_0x3d54c6(0x103));}get[a0_0x2856e0(0x10c)](){const _0x5e4152=a0_0x2856e0;return this['shadowRoot'][_0x5e4152(0xfd)](_0x5e4152(0x136));}[a0_0x2856e0(0x133)](){const _0x508da7=a0_0x2856e0;this['afterSetFieldsConfig']={'rows':MetaApi[_0x508da7(0x104)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x508da7(0x13f)](!0x1,!0x1),{'type':_0x508da7(0x113),'gutterName':_0x508da7(0x10a),'icon':_0x508da7(0x111),'handlers':{'click':(_0x585160,_0x350eea,_0x39bfd4,_0x1d2c0a,_0x17ea77)=>{const _0x546130=_0x508da7;_0x1d2c0a['id']&&this[_0x546130(0x12f)](this['graphqlTabAfterSetFieldGrist'],_0x1d2c0a);}}},{'type':_0x508da7(0x102),'name':'id','hidden':!0x0},{'type':_0x508da7(0x102),'name':_0x508da7(0x125),'header':TermsUtil[_0x508da7(0x118)](_0x508da7(0x116)),'record':{'align':_0x508da7(0x120),'editable':!0x0,'mandatory':!0x0},'width':0x96},{'type':'string','name':'get_field','header':TermsUtil[_0x508da7(0x118)](_0x508da7(0x13d)),'record':{'align':_0x508da7(0x120),'editable':!0x0,'mandatory':!0x0},'width':0x96}]},this[_0x508da7(0x11d)]={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x508da7(0x13f)](!0x1,!0x1),{'type':_0x508da7(0x113),'gutterName':'button','icon':_0x508da7(0x111),'handlers':{'click':(_0x346f5a,_0x28f4ea,_0x3f9729,_0x361f61,_0x2f5d7e)=>{_0x361f61['id']&&this['deleteRow'](this['graphqlTabSkipFieldGrist'],_0x361f61);}}},{'type':_0x508da7(0x102),'name':'id','hidden':!0x0},{'type':_0x508da7(0x102),'name':'except_field','header':TermsUtil['tLabel'](_0x508da7(0x11c)),'record':{'align':_0x508da7(0x120),'editable':!0x0,'mandatory':!0x0},'width':0xfa}]};}['setGraphqlConfigTabDefaultValues'](){const _0x1b1a76=a0_0x2856e0;this[_0x1b1a76(0x144)]||(this[_0x1b1a76(0x144)]={'query_list':'','query_find':'','mutation_multiple':'','mutation_multiple_type':'','mutation_delete':'','query_parent_id':'','mutation_multiple_parent_id':'','after_set_fields_data':[],'skip_fields_data':[]});}['renderGraphqlConfigTab'](){const _0x46c707=a0_0x2856e0;return this[_0x46c707(0x123)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil[_0x53b0a7(0x12c)](_0x53b0a7(0x167))}
5
- <input id="query_list" name="query_list" type="text" value=${this[_0x53b0a7(0x149)][_0x53b0a7(0x164)]} />
4
+ <label>${TermsUtil[_0x46c707(0x118)]('query_list_function')}
5
+ <input id="query_list" name="query_list" type="text" value=${this[_0x46c707(0x144)][_0x46c707(0x106)]} />
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil[_0x53b0a7(0x12c)](_0x53b0a7(0x16d))}
10
- <input id="query_find" name="query_find" type="text" value=${this[_0x53b0a7(0x149)][_0x53b0a7(0x136)]} />
9
+ <label>${TermsUtil[_0x46c707(0x118)]('query_find_function')}
10
+ <input id="query_find" name="query_find" type="text" value=${this[_0x46c707(0x144)]['query_find']} />
11
11
  </label>
12
12
  </div>
13
13
  <div field>
14
- <label>${TermsUtil[_0x53b0a7(0x12c)](_0x53b0a7(0x148))}
14
+ <label>${TermsUtil['tLabel']('multiple_update_function')}
15
15
  <input id="mutation_multiple" name="mutation_multiple" type="text"
16
- value=${this[_0x53b0a7(0x149)][_0x53b0a7(0x160)]} />
16
+ value=${this[_0x46c707(0x144)][_0x46c707(0x117)]} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil[_0x53b0a7(0x12c)]('multiple_update_type')}
20
+ <label>${TermsUtil[_0x46c707(0x118)]('multiple_update_type')}
21
21
  <input id="mutation_multiple_type" name="mutation_multiple_type" type="text"
22
- value=${this[_0x53b0a7(0x149)]['mutation_multiple_type']} />
22
+ value=${this[_0x46c707(0x144)][_0x46c707(0x13e)]} />
23
23
  </label>
24
24
  </div>
25
25
  <div field>
26
- <label>${TermsUtil['tLabel'](_0x53b0a7(0x143))}
27
- <input id="mutation_delete" name="mutation_delete" type="text" value=${this[_0x53b0a7(0x149)][_0x53b0a7(0x137)]} />
26
+ <label>${TermsUtil[_0x46c707(0x118)](_0x46c707(0x12b))}
27
+ <input id="mutation_delete" name="mutation_delete" type="text" value=${this['viewGraphqlData'][_0x46c707(0x140)]} />
28
28
  </label>
29
29
  </div>
30
30
  <div field>
31
31
  </div>
32
32
  <div field>
33
33
  <h2>
34
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x53b0a7(0x155))}
34
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x46c707(0x118)](_0x46c707(0x131))}
35
35
  </h2>
36
36
  <div subfield>
37
- <label>${TermsUtil[_0x53b0a7(0x12c)](_0x53b0a7(0x166))}
38
- <input id="query_parent_id" name="query_parent_id" type="text" value=${this[_0x53b0a7(0x149)][_0x53b0a7(0x14d)]} />
37
+ <label>${TermsUtil[_0x46c707(0x118)](_0x46c707(0x105))}
38
+ <input id="query_parent_id" name="query_parent_id" type="text" value=${this[_0x46c707(0x144)][_0x46c707(0x12a)]} />
39
39
  </label>
40
40
 
41
- <label>${TermsUtil[_0x53b0a7(0x12c)](_0x53b0a7(0x13f))}
41
+ <label>${TermsUtil[_0x46c707(0x118)](_0x46c707(0x100))}
42
42
  <div style="display:flex;height:200px">
43
- <ox-grist id="after-set-fields-grist" .config=${this[_0x53b0a7(0x12f)]} .mode=${'GRID'} auto-fetch
44
- .fetchHandler=${this['fetchAfterSetFields'][_0x53b0a7(0x128)](this)}></ox-grist>
43
+ <ox-grist id="after-set-fields-grist" .config=${this[_0x46c707(0x10e)]} .mode=${_0x46c707(0x115)} auto-fetch
44
+ .fetchHandler=${this['fetchAfterSetFields'][_0x46c707(0x147)](this)}></ox-grist>
45
45
  </div>
46
46
  </label>
47
47
  </div>
48
48
  </div>
49
49
  <div field>
50
50
  <h2>
51
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('multiple_update_option')}
51
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x46c707(0x118)]('multiple_update_option')}
52
52
  </h2>
53
53
  <div subfield>
54
- <label>${TermsUtil[_0x53b0a7(0x12c)]('parent_id')}
54
+ <label>${TermsUtil[_0x46c707(0x118)](_0x46c707(0x105))}
55
55
  <input id="mutation_multiple_parent_id" name="mutation_multiple_parent_id" type="text"
56
- value=${this[_0x53b0a7(0x149)]['mutation_multiple_parent_id']} />
56
+ value=${this[_0x46c707(0x144)][_0x46c707(0x109)]} />
57
57
  </label>
58
58
 
59
- <label>${TermsUtil[_0x53b0a7(0x12c)](_0x53b0a7(0x134))}
59
+ <label>${TermsUtil['tLabel'](_0x46c707(0x121))}
60
60
  <div style="display:flex;height:200px">
61
- <ox-grist id="skip-fields-grist" .config=${this[_0x53b0a7(0x157)]} .mode=${_0x53b0a7(0x165)} auto-fetch
62
- .fetchHandler=${this[_0x53b0a7(0x168)][_0x53b0a7(0x128)](this)}></ox-grist>
61
+ <ox-grist id="skip-fields-grist" .config=${this[_0x46c707(0x11d)]} .mode=${_0x46c707(0x115)} auto-fetch
62
+ .fetchHandler=${this[_0x46c707(0x114)][_0x46c707(0x147)](this)}></ox-grist>
63
63
  </div>
64
64
  </label>
65
65
  </div>
66
66
  </div>
67
67
  </div>
68
68
 
69
- `;}async[a0_0x14eb26(0x13d)](){const _0xec9f34=a0_0x14eb26;return{'records':this[_0xec9f34(0x149)]['after_set_fields_data'],'total':0x0};}async['fetchSkipFields'](){const _0x28657c=a0_0x14eb26;return{'records':this[_0x28657c(0x149)]['skip_fields_data'],'total':0x0};}};function a0_0x16c1(){const _0xb54d06=['set_field_name','tLabel','list_func','type','afterSetFieldsConfig','query','keys','mutation_multiple_type','left','skip_fields','after-set-fields-grist','query_find','mutation_delete','map','5630295MiBLSG','skip_fields_data','graphqlTabSkipFieldGrist','531844mGFxIT','fetchAfterSetFields','graphqlTabAfterSetFieldGrist','after_set_fields','16hvsxOM','string','gql','delete_function','deleteRow','310992jOGDZh','get_field_name','button','multiple_update_function','viewGraphqlData','querySelector','getGristGuttersConfig','field_name','query_parent_id','query_after_set_fields_data','8qLIOzZ','setGraphqlConfigTabValues','gutter','get_field','func','getGristSelectableConfig','query_option','1492900IIdBmT','skipFieldsConfig','mutation','setGraphqlConfigTabDefaultValues','fetch','delete','1120dEzgwh','setGraphqlConfigTabConfig','#skip-fields-grist','#after-set-fields-grist','mutation_multiple','multiple','5UYrcnE','mutation_multiple_parent_id','query_list','GRID','parent_id','query_list_function','fetchSkipFields','mutation_multiple_skip_fields_data','after_set_fields_data','startsWith','skip-fields-grist','query_find_function','except_field','shadowRoot','6588qxxNhA','496638biRXER','set_field','filter','19lSEtXF','bind','forEach','getElementValueById'];a0_0x16c1=function(){return _0xb54d06;};return a0_0x16c1();}
69
+ `;}async[a0_0x2856e0(0x134)](){const _0x2b8d52=a0_0x2856e0;return{'records':this['viewGraphqlData'][_0x2b8d52(0x12c)],'total':0x0};}async['fetchSkipFields'](){const _0x20871a=a0_0x2856e0;return{'records':this[_0x20871a(0x144)][_0x20871a(0x11a)],'total':0x0};}};