@things-factory/meta-ui 6.0.69 → 6.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/bootstrap.js +13 -0
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +17 -50
- package/client/pages/activity/meta-activity-viewer-element.js +1 -1
- package/client/pages/activity/meta-activity-writer-element.js +2 -2
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +6 -6
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +79 -79
- package/client/utils/service-util.js +12 -12
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +12 -12
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +5 -5
- package/server/activity/CommonActivity.js +1 -1
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/middlewares/index.js +0 -2
- package/server/routes.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/index.js +3 -1
- package/server/service/meta-activity/index.js +7 -0
- package/server/service/meta-activity/meta-activity-mutation.js +1 -0
- package/server/service/meta-activity/meta-activity-query.js +1 -0
- package/server/service/meta-activity/meta-activity-type.js +1 -0
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/things-factory.config.js +4 -0
- package/translations/en.json +2 -0
- package/translations/ko.json +2 -0
- package/translations/ms.json +2 -0
- package/translations/zh.json +2 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3c005f=a0_0x2deb;(function(_0x14fc36,_0xdd934a){const _0x13219e=a0_0x2deb,_0x2d2537=_0x14fc36();while(!![]){try{const _0x28ebd4=parseInt(_0x13219e(0x196))/0x1+parseInt(_0x13219e(0x24e))/0x2*(parseInt(_0x13219e(0x19e))/0x3)+parseInt(_0x13219e(0x285))/0x4+-parseInt(_0x13219e(0x20a))/0x5*(parseInt(_0x13219e(0x22e))/0x6)+-parseInt(_0x13219e(0x180))/0x7+parseInt(_0x13219e(0x249))/0x8*(-parseInt(_0x13219e(0x24d))/0x9)+parseInt(_0x13219e(0x230))/0xa;if(_0x28ebd4===_0xdd934a)break;else _0x2d2537['push'](_0x2d2537['shift']());}catch(_0x9ca85e){_0x2d2537['push'](_0x2d2537['shift']());}}}(a0_0x22b9,0xd043d));import a0_0xb8c581 from'graphql-tag';function a0_0x22b9(){const _0x4fd6d2=['tabRenderConfig','4115012tNufbm','grist_selected','getCodeByScenario','getGristSearchColumnConfig','createButtonElement','height:auto;grid-template-columns:','text.search_form_is_not_exist','searchByPagination','handlers','display:none','editor','metaUI','infinityPage','nextElementSibling','menu','getGristColumnConfig','shadowRoot','getCustomButtonContainerStyles','resource-object','sort','selected','url','use_filter_form','getObjctColumnSelectFields','setParentId','id,template','form','result_name','getBasicGristPageProperties','getBasicMasterDetailGristStyle','dispatchEvent','length','tMenu','GRID','10717287DdDGmS','currentRouting','getGristSelectableConfig','find','add','isGridButtonExist','parentElement','stringify','service','history_json','gristConfigSet','callScenario','left','pages/meta-form-element.js','getGristSearchCodeColumnConfig','data','false','getGristEmphasizedStyles','master_detail_type','patchesForUpdateMultiple','tText','history_copy','692800Grlnat','getGristColumnConfig3','etcConfig','page','location','getGristColumnConfig2','includes','getGristHiddenColumnConfig','207dipYDd','\x20{\x20','dec','parse','map','basic','rank','getBasicGristStyles','gristId','getBasicFormStyles','getBasicGristTabStyles','use_grid_sort_button','grist','menuId','fetch','confirm','gridColumnConfig','open','emphasis','meta-form-element','title.warning','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','isPage','icon','buttonConfig','left_right','pass_field','getMasterDetailLeftRightGristStyle','\x27\x20route_name=\x27','filterForm','currentTarget','dirty','custom','forEach','config','getMasterDetailHtml','findOne','-TAB-','bind','grid-column-personalize','getQueryFilters','gridDeskMode','getGristPersonalizedStyles','getContextButtons','<mwc-button\x20label=\x22','indexOf','htmlToElement','getBasicFormHtml','\x20id=\x27','master_detail_element','desc','column','fetchHandler','grid-template-rows:','\x20\x0a\x20}','searchConfig','object','formRenderConfig','findMenuMetaByRouting','getSelectColumns','ox-grist','errors','top_bottom','model','\x0a{\x0aid\x0aname\x0athumbnail}','select','data_history_list','getBasicFormHtmlNoOption','pageNavigate','gutter','gristButtonValueReference','openDynamicPopup','getCodeSelectorData','getGristTabHtml','popup','querySelector','formColumnConfig','getGristGuttersConfig','getGristCodeSelectorColumnConfig','importable','exportable','display:flex','onclick','getGridColumnSet','recordCreationCallback','50%\x2050%','parseGridConfigSet','split','list','assign','tagname','runnerPermission','logic','sequence','getCodeByEntity','CARD','row','customButtonHandler','text.nothing_selected','top-down','raised','getGridButtonSet','relation','useButtonExport','gristButtonPassParam','record','master_detail_size','getButtonActionHandler','2928440oDdAot','#detail','text.please_select_only_one','tagName','danger','getGridViewOption','outlined','large','useMasterFilterForm','grist_all','button','options','compareObjectValues','searchFields','title','option','tTitle','getBasicTabHtml','tabElements','isArray','getState','selectable','open_param','useFilterForm','records','info','text.button_bind_func_is_not_exist','parent_id','pages','getGridRowSet','commonButtonOpenPopup','tLabel','openPopupByElement','grid-template-columns:','code','args','12herCNM','grist_changed','23613770BCqOAp','text.grid_data_is_empty','unlimited','getBasicMasterDetailStyles','value_is_not_exist','replace','getGridListSet','route_name','label','isButtonExist','push','filters','getBasicTabStyles','title.info','gridMode','getGridColumnPersonalizeButton','menus','gridConfig','value_reference','showAlertPopup','export','getButtonContainer','commonButtonCallScenario','import','\x0aid\x0aname\x0adescription','8OxWoKV','filter','useButtonAdd','display','12794679Yxuwrn','25918pvLbyv','getContainerButtons','pass_param','getBasicFormHtmlOnOption','basicArgs','param_field','gridViewOptions','setGridColumnSearchOption','sorters','configGrist','getParams','master','\x27\x20style=\x22flex:1;\x22\x20is_detail=true></','createDetailElement','isNotEmpty','gridMobileMode','LIST','header_txt','\x201fr\x202fr','history-json-list-popup','floor','tButton','error','useButtonImport','string','formConfigSet','getGridDetailHtml','name','__dirtyfields__','menuInfo','help','getContextObject','getMasterDetailTopDownGristStyle','board','keys','offsetHeight','offsetTop','width','after','pages/hgistory/history-copy-list-popup.js','getGristSelectorColumnConfig','currentTabKey','multiple','parseFormConfigSet','query','template','gristButtonHandler','isEmpty','notify','type','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','getBasicGristHtml','header','scenario'];a0_0x22b9=function(){return _0x4fd6d2;};return a0_0x22b9();}import{client}from'@operato/graphql';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';import'./../pages/history/history-json-list-popup';function a0_0x2deb(_0x38022e,_0x1d07bd){const _0x22b93c=a0_0x22b9();return a0_0x2deb=function(_0x2debef,_0x1c935a){_0x2debef=_0x2debef-0x160;let _0x57f047=_0x22b93c[_0x2debef];return _0x57f047;},a0_0x2deb(_0x38022e,_0x1d07bd);}export class MetaUiUtil{static async['findMenuMeta'](_0x20e8aa){const _0x56600e=a0_0x2deb;let _0x4bc919=await ServiceUtil[_0x56600e(0x1c2)](_0x56600e(0x16c),_0x20e8aa,'template');if(!_0x4bc919)throw new Error(TermsUtil[_0x56600e(0x194)](_0x56600e(0x234),{'value':TermsUtil[_0x56600e(0x17e)]('menu')+'\x20'+_0x20e8aa}));if(!_0x4bc919[_0x56600e(0x27b)])throw new Error(TermsUtil[_0x56600e(0x194)](_0x56600e(0x234),{'value':TermsUtil[_0x56600e(0x17e)]('menu')+'\x20'+TermsUtil[_0x56600e(0x229)](_0x56600e(0x1dd))}));return this[_0x56600e(0x1ab)]=_0x20e8aa,JSON[_0x56600e(0x1a1)](_0x4bc919[_0x56600e(0x27b)]);}static async[a0_0x3c005f(0x1d8)](_0x181fe0){const _0x19b6e6=a0_0x3c005f;if((await client[_0x19b6e6(0x27a)]({'query':a0_0xb8c581`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))['errors'])return;let _0xa64f38=[{'name':_0x2bb0c9(0x1cd),'operator':'eq','value':_0x3c9aaa}],_0x2b95bf=await ServiceUtil[_0x2bb0c9(0x282)](_0x2bb0c9(0x1ee),_0xa64f38,null,0x0,0x0,'id,template');if(_0x2b95bf||0x0!=_0x2b95bf[_0x2bb0c9(0x269)]){let _0x1ad26c=_0x2b95bf[_0x2bb0c9(0x1a9)][0x0];if(!_0x1ad26c['template'])throw new Error(TermsUtil['tText'](_0x2bb0c9(0x1d9),{'value':TermsUtil['tMenu']('menu')+'\x20'+TermsUtil[_0x2bb0c9(0x24a)](_0x2bb0c9(0x1a4))}));return this[_0x2bb0c9(0x272)]=_0x1ad26c['id'],JSON[_0x2bb0c9(0x1f3)](MetaCrypto[_0x2bb0c9(0x216)](_0x1ad26c['template']));}throw new Error(TermsUtil['tText'](_0x2bb0c9(0x1d9),{'value':TermsUtil['tMenu']('menu')+'\x20'+_0x3c9aaa}));}static[a0_0x1ba7e4(0x283)](){return{'menuInfo':Object,'gridConfig':Object,'gridColumnConfig':Array,'formColumnConfig':Array,'buttonConfig':Array,'searchConfig':Array,'gqlInfo':String,'gqlFetchField':String,'searchFormElement':String,'useFilterForm':Boolean,'gristConfigSet':Object,'formConfigSet':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':!0x0,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0xa86004=>Boolean(_0xa86004)},'is_popup':{'type':Boolean,'converter':_0x312fd8=>Boolean(_0x312fd8)}};}static async[a0_0x1ba7e4(0x253)](_0x259420){const _0x465405=a0_0x1ba7e4;if(0x0==store[_0x465405(0x1b1)]()[_0x465405(0x191)][_0x465405(0x19a)])return void document[_0x465405(0x21d)](new CustomEvent(_0x465405(0x1c9),{'detail':{'level':_0x465405(0x22b),'message':TermsUtil[_0x465405(0x172)](_0x465405(0x25f))}}));let _0x1dcb88=_0x259420['isPage']?UiUtil[_0x465405(0x1fc)]():_0x259420[_0x465405(0x21b)];return _0x259420[_0x465405(0x1fc)]=_0x1dcb88,await MetaUiUtil['findMenuMetaByRouting'](_0x1dcb88);}static['getGristPaginationCustomConfig'](..._0x1ebc23){return{'pages':_0x1ebc23};}static['getGristGuttersConfig'](_0x3fdf87,_0x48c591){const _0x3971c4=a0_0x1ba7e4;let _0x7c021=[{'type':_0x3971c4(0x270),'gutterName':'dirty'},{'type':_0x3971c4(0x270),'gutterName':'sequence'}];return _0x3fdf87&&_0x7c021[_0x3971c4(0x1e4)]({'type':_0x3971c4(0x270),'gutterName':'row-selector','multiple':_0x48c591}),_0x7c021;}static[a0_0x1ba7e4(0x189)](_0x17c6d3){return{'selectable':{'multiple':_0x17c6d3}};}static async['parseGridConfigSet'](_0x5576c7){const _0x466bb5=a0_0x1ba7e4;let _0x12ae47=MetaUiUtil[_0x466bb5(0x204)](_0x5576c7),_0x2f6441=MetaUiUtil[_0x466bb5(0x1b3)](_0x5576c7),_0x231c2c=MetaUiUtil['getGridRowSet'](_0x5576c7),_0x394acd=MetaUiUtil[_0x466bb5(0x212)](_0x5576c7),_0x28af7e=await MetaUiUtil[_0x466bb5(0x1d4)](_0x5576c7),_0x4a0f04=MetaUiUtil[_0x466bb5(0x21c)](_0x12ae47[_0x466bb5(0x251)],_0x231c2c[_0x466bb5(0x177)][_0x466bb5(0x1a0)]);return 0x1==_0x5576c7[_0x466bb5(0x25b)]&&(_0x28af7e=MetaUiUtil['setGridColumnSearchOption'](_0x5576c7,_0x28af7e)),{'list':_0x2f6441,'pagination':_0x12ae47[_0x466bb5(0x231)],'sorters':_0x12ae47[_0x466bb5(0x24d)],'rows':_0x231c2c,'columns':[..._0x4a0f04,..._0x394acd,..._0x28af7e]};}static async[a0_0x1ba7e4(0x16f)](_0x52a828){const _0x51c7bc=a0_0x1ba7e4;let _0xcd4924=_0x52a828[_0x51c7bc(0x190)],_0x21afc3=[];for(let _0x387b2a=0x0;_0x387b2a<_0xcd4924['length'];_0x387b2a++){let {type:_0x1f523c=_0x51c7bc(0x20b),name:_0x232e7a,header:_0x236bfa,hidden:_0xd205ba=!0x1,editable:_0x154b60=!0x0,mandatory:_0x4094c3=!0x1,align:_0xa195c=_0x51c7bc(0x256),select_opt:_0x44076c,object_opt:_0x58a7a6}=_0xcd4924[_0x387b2a],_0x402422={'type':_0x1f523c,'name':_0x232e7a,'header_txt':ValueUtil['isEmpty'](_0x236bfa)?TermsUtil[_0x51c7bc(0x24a)](_0x232e7a):TermsUtil[_0x51c7bc(0x24a)](_0x236bfa),'header':{'renderer':function(_0x5e86ba){return _0x5e86ba['header_txt'];}},'hidden':_0xd205ba,'record':{'editable':_0x154b60,'mandatory':_0x4094c3,'align':_0xa195c,'classifier':function(){},'renderer':getRenderer(_0x1f523c)}};_0x154b60&&(_0x402422['record'][_0x51c7bc(0x183)]=getEditor(_0x1f523c)),_0x51c7bc(0x20e)===_0x1f523c&&ValueUtil['isNotEmpty'](_0x44076c)&&(Array[_0x51c7bc(0x19f)](_0x44076c)?_0x402422['record'][_0x51c7bc(0x24b)]=_0x44076c:_0x51c7bc(0x1a6)===_0x44076c[_0x51c7bc(0x284)]?_0x402422[_0x51c7bc(0x1f1)]['options']=await ServiceUtil[_0x51c7bc(0x207)](_0x44076c[_0x51c7bc(0x266)]):_0x51c7bc(0x170)===_0x44076c[_0x51c7bc(0x284)]?_0x402422[_0x51c7bc(0x1f1)][_0x51c7bc(0x24b)]=await ServiceUtil[_0x51c7bc(0x17c)](_0x44076c[_0x51c7bc(0x266)],_0x44076c[_0x51c7bc(0x197)]):_0x51c7bc(0x19e)===_0x44076c['type']&&(_0x402422['record'][_0x51c7bc(0x24b)]=await ServiceUtil[_0x51c7bc(0x16a)](_0x44076c[_0x51c7bc(0x197)]))),_0x51c7bc(0x255)!==_0x1f523c&&_0x51c7bc(0x278)!==_0x1f523c||!ValueUtil[_0x51c7bc(0x185)](_0x58a7a6)||(_0x402422['record'][_0x51c7bc(0x24b)]=_0x58a7a6),_0x21afc3[_0x51c7bc(0x1e4)](_0x402422);}return _0x21afc3;}static['getGridOptionSet'](_0x1c95ca){const _0x4bcc26=a0_0x1ba7e4;let _0x14a463=_0x1c95ca[_0x4bcc26(0x244)];_0x1c95ca['useFilterForm']=!_0x14a463||null==_0x14a463[_0x4bcc26(0x175)]||_0x14a463[_0x4bcc26(0x175)];let {mobile_mode:_0x1a70de=_0x4bcc26(0x1c8),desk_mode:_0x15f759='GRID',view_mode:_0x19423b=[],use_row_checker:_0xa03241=!0x0,sorters:_0x314c1f=[],pages:_0x6cf98b=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x4bcc26(0x241)](_0x14a463[_0x4bcc26(0x22f)])?{}:_0x14a463[_0x4bcc26(0x22f)];return _0x4bcc26(0x222)===_0x6cf98b||'-1'===_0x6cf98b?(_0x1c95ca[_0x4bcc26(0x260)]=!0x0,_0x6cf98b={'infinite':!0x0}):(_0x1c95ca[_0x4bcc26(0x260)]=!0x1,_0x6cf98b['sort'](function(_0x2cd4b6,_0x35f678){return _0x2cd4b6-_0x35f678;}),_0x6cf98b={'pages':_0x6cf98b}),ValueUtil[_0x4bcc26(0x185)](_0x19423b)&&(0x1==_0x19423b[_0x4bcc26(0x269)]?(_0x15f759=_0x19423b[0x0],_0x1a70de=_0x19423b[0x0]):_0x19423b[_0x4bcc26(0x269)]>=0x2&&(_0x19423b[_0x4bcc26(0x22a)](_0x1a70de)||(_0x1a70de=_0x19423b[0x1]),_0x19423b[_0x4bcc26(0x22a)](_0x15f759)||(_0x15f759=_0x19423b[0x0]))),_0x1c95ca[_0x4bcc26(0x1c4)]=_0x1a70de,_0x1c95ca[_0x4bcc26(0x1e7)]=_0x15f759,_0x1c95ca['gridViewOptions']=_0x19423b,_0x1c95ca[_0x4bcc26(0x203)]=UiUtil[_0x4bcc26(0x199)]()?_0x1c95ca[_0x4bcc26(0x1c4)]:_0x1c95ca[_0x4bcc26(0x1e7)],{'use_row_checker':_0xa03241,'sorters':_0x314c1f,'pages':_0x6cf98b};}static['getGridListSet'](_0xb189dc){const _0x138ffd=a0_0x1ba7e4;let _0x5a7a5d={'fields':[ValueUtil['getParams'](_0xb189dc[_0x138ffd(0x209)],_0x138ffd(0x266)),ValueUtil[_0x138ffd(0x286)](_0xb189dc[_0x138ffd(0x209)],_0x138ffd(0x230))]};return _0xb189dc[_0x138ffd(0x244)]['list']&&Object[_0x138ffd(0x26e)](_0x5a7a5d,_0xb189dc[_0x138ffd(0x244)][_0x138ffd(0x262)]),_0x5a7a5d;}static[a0_0x1ba7e4(0x1f7)](_0x20633a){const _0x1fe18f=a0_0x1ba7e4;let {multiple_select:_0x30c31d=!0x1,click:_0x31194f}=ValueUtil[_0x1fe18f(0x241)](_0x20633a['gridConfig'][_0x1fe18f(0x1e0)])?{}:_0x20633a['gridConfig'][_0x1fe18f(0x1e0)],_0x17acdd={'selectable':{'multiple':_0x30c31d},'appendable':_0x20633a[_0x1fe18f(0x18d)]};return ValueUtil[_0x1fe18f(0x185)](_0x31194f)&&(_0x17acdd[_0x1fe18f(0x257)]={'click':_0x31194f}),_0x17acdd;}static[a0_0x1ba7e4(0x212)](_0x55173b){const _0x2d60e0=a0_0x1ba7e4;let _0x2f0800=_0x55173b['gridConfig'][_0x2d60e0(0x25a)];return ValueUtil[_0x2d60e0(0x241)](_0x2f0800)?[]:_0x2f0800[_0x2d60e0(0x24c)](_0x49ddc6=>{const _0x317829=_0x2d60e0;let _0x1d06aa={'type':_0x317829(0x270),'gutterName':'button'};if(ValueUtil[_0x317829(0x185)](_0x49ddc6[_0x317829(0x219)])&&(Array[_0x317829(0x19f)](_0x49ddc6['icon'])?_0x1d06aa['icon']=_0xc7d12=>{const _0x490ac0=_0x317829;if(ValueUtil[_0x490ac0(0x185)](_0xc7d12))for(let _0x141ddf=0x0;_0x141ddf<_0x49ddc6[_0x490ac0(0x219)][_0x490ac0(0x269)];_0x141ddf++){let _0x38944f=_0x49ddc6['icon'][_0x141ddf];if(!0x0===ValueUtil[_0x490ac0(0x192)](_0x38944f,_0xc7d12,Object['keys'](_0x38944f)[_0x490ac0(0x179)](_0x6c250e=>_0x490ac0(0x219)!=_0x6c250e)))return _0x38944f['icon'];}}:_0x1d06aa[_0x317829(0x219)]=_0x49ddc6['icon']),ValueUtil[_0x317829(0x185)](_0x49ddc6[_0x317829(0x266)])&&(_0x1d06aa=ValueUtil['setParams'](_0x1d06aa,_0x49ddc6,_0x317829(0x266),!0x0)),_0x317829(0x173)===_0x49ddc6[_0x317829(0x284)]){let _0x2b0107=ValueUtil[_0x317829(0x286)](_0x49ddc6,_0x317829(0x238));[_0x317829(0x245),'history_json'][_0x317829(0x22a)](_0x2b0107)?_0x1d06aa['handlers']={'click':(_0x345790,_0x1d83ae,_0x544664,_0x4a25cc,_0x7a4a1b)=>{const _0x5ed7b2=_0x317829;if(_0x4a25cc['id']){let _0xe06913={'title':_0x5ed7b2(0x202),'type':'popup','tagname':_0x5ed7b2(0x245)==_0x2b0107?_0x5ed7b2(0x17f):_0x5ed7b2(0x1e8),'location':_0x5ed7b2(0x245)==_0x2b0107?_0x5ed7b2(0x1ff):'pages/hgistory/history-json-list-popup.js','menu':_0x55173b[_0x5ed7b2(0x1fc)],'size':_0x5ed7b2(0x268),'popup_field':_0x5ed7b2(0x277),'parent_field':'id'},_0x20ed85={..._0x4a25cc,'gqlFunc':ValueUtil[_0x5ed7b2(0x286)](_0x55173b['gqlInfo'],_0x5ed7b2(0x1ed),_0x5ed7b2(0x27c)),'gristConfig':JSON[_0x5ed7b2(0x1f3)](JSON[_0x5ed7b2(0x1ce)](_0x55173b[_0x5ed7b2(0x18f)]['config']))};MetaUiUtil['gristButtonHandler'](_0x55173b,{'logic':_0xe06913},_0x20ed85);}}}:_0x1d06aa[_0x317829(0x257)]={'click':_0x2b0107};}else _0x1d06aa['handlers']={'click':(_0x4d3095,_0x45a03f,_0x4fc3a7,_0x2a9304,_0x12fb60)=>{const _0x114e69=_0x317829;_0x2a9304['id']&&MetaUiUtil[_0x114e69(0x182)](_0x55173b,_0x49ddc6,_0x2a9304);}};return _0x1d06aa;});}static async[a0_0x1ba7e4(0x1d4)](_0x3d3cfd){const _0x38d53c=a0_0x1ba7e4;let _0x7980b7=_0x3d3cfd['gridColumnConfig'];if(ValueUtil['isEmpty'](_0x7980b7))return[];let _0x5aa90d=[];for(let _0x5424bd=0x0;_0x5424bd<_0x7980b7['length'];_0x5424bd++){let {type:_0x14429d='string',name:_0x3d9a74,header:_0xdcfe91,hidden:_0xa7d728=!0x1,editable:_0x39b9d1=!0x0,mandatory:_0x321c97=!0x1,sortable:_0x54ee4e=!0x1,align:_0x21ff02=_0x38d53c(0x256),width:_0x51b2fb=0x0,exportable:_0x335d44=!0x1,select_opt:_0x2f5e54,object_opt:_0x492ac2}=_0x7980b7[_0x5424bd],_0x4cd9d9={'type':_0x14429d,'name':_0x3d9a74,'header':ValueUtil[_0x38d53c(0x241)](_0xdcfe91)?'':TermsUtil[_0x38d53c(0x24a)](_0xdcfe91),'hidden':_0xa7d728,'sortable':_0x54ee4e,'width':_0x51b2fb,'record':{'editable':_0x39b9d1,'mandatory':_0x321c97,'align':_0x21ff02}};if(_0x38d53c(0x20e)===_0x14429d&&ValueUtil[_0x38d53c(0x185)](_0x2f5e54))Array['isArray'](_0x2f5e54)?_0x4cd9d9[_0x38d53c(0x1f1)][_0x38d53c(0x24b)]=_0x2f5e54:_0x38d53c(0x1a6)===_0x2f5e54[_0x38d53c(0x284)]?_0x4cd9d9[_0x38d53c(0x1f1)][_0x38d53c(0x24b)]=await ServiceUtil[_0x38d53c(0x207)](_0x2f5e54[_0x38d53c(0x266)]):_0x38d53c(0x170)===_0x2f5e54['type']?_0x4cd9d9['record']['options']=await ServiceUtil[_0x38d53c(0x17c)](_0x2f5e54['name'],_0x2f5e54[_0x38d53c(0x197)]):_0x38d53c(0x19e)===_0x2f5e54[_0x38d53c(0x284)]&&(_0x4cd9d9[_0x38d53c(0x1f1)][_0x38d53c(0x24b)]=await ServiceUtil[_0x38d53c(0x16a)](_0x2f5e54[_0x38d53c(0x197)]));else{if((_0x38d53c(0x255)===_0x14429d||_0x38d53c(0x278)===_0x14429d)&&ValueUtil[_0x38d53c(0x185)](_0x492ac2)){let _0x3277e3;_0x4cd9d9[_0x38d53c(0x1f1)][_0x38d53c(0x24b)]={..._0x492ac2},_0x492ac2['basicArgs']&&_0x492ac2[_0x38d53c(0x258)][_0x38d53c(0x1e2)]&&(_0x3277e3=[..._0x492ac2[_0x38d53c(0x258)][_0x38d53c(0x1e2)]]),_0x3277e3&&JSON[_0x38d53c(0x1ce)](_0x3277e3)[_0x38d53c(0x22a)]('::')&&(_0x4cd9d9[_0x38d53c(0x257)]={'dblclick':(_0x3945b8,_0x2dfeab,_0x5ca795,_0x2a198f,_0x6e0331)=>{const _0x5488e0=_0x38d53c;let _0x38d566=[];_0x3277e3['forEach'](_0x5375f9=>{const _0x2ffab4=a0_0x2f00;var {name:_0x30e379,value:_0x16e403,operator:_0x188f5b='eq'}=_0x5375f9;_0x16e403[_0x2ffab4(0x22a)]('::')&&(_0x16e403=ValueUtil[_0x2ffab4(0x286)](_0x2a198f,..._0x16e403['replace']('::','')[_0x2ffab4(0x17e)]('.'))),_0x16e403||(_0x16e403=''),_0x38d566[_0x2ffab4(0x1e4)]({'name':_0x30e379,'operator':_0x188f5b,'value':_0x16e403});}),_0x5ca795[_0x5488e0(0x1f1)]['options']['basicArgs']['filters']=_0x38d566;}});}}!0x0===_0x3d3cfd[_0x38d53c(0x254)]&&!0x0===_0x335d44&&(_0x4cd9d9['imex']={'header':_0x4cd9d9[_0x38d53c(0x267)],'key':_0x4cd9d9[_0x38d53c(0x266)],'width':_0x4cd9d9[_0x38d53c(0x17a)]/0x6,'type':_0x4cd9d9[_0x38d53c(0x284)]}),_0x5aa90d['push'](_0x4cd9d9);}let _0x101b86=await MetaApi[_0x38d53c(0x1c0)](this[_0x38d53c(0x272)]),{template:_0x5edae8={}}=_0x101b86;if(!_0x5edae8['master'])return _0x5aa90d;let _0x391bc9=_0x5edae8[_0x38d53c(0x1f8)];return _0x5aa90d=_0x5aa90d[_0x38d53c(0x24c)](_0x424850=>('id'==_0x424850[_0x38d53c(0x266)]||(_0x424850[_0x38d53c(0x19b)]=!_0x391bc9[_0x38d53c(0x22a)](_0x424850[_0x38d53c(0x266)]),_0x424850[_0x38d53c(0x1d3)]=_0x391bc9[_0x38d53c(0x26a)](_0x424850['name']),-0x1==_0x424850[_0x38d53c(0x1d3)]&&(_0x424850[_0x38d53c(0x1d3)]=0x1869f)),_0x424850)),_0x5aa90d[_0x38d53c(0x1fe)]((_0x34a9ff,_0x3ab65a)=>_0x34a9ff['rank']-_0x3ab65a[_0x38d53c(0x1d3)]),_0x5aa90d;}static['setGridColumnSearchOption'](_0x2c5afd,_0x5b6b4c){const _0x1b74be=a0_0x1ba7e4;let _0x397b28=_0x2c5afd[_0x1b74be(0x1aa)];return _0x397b28&&_0x397b28[_0x1b74be(0x1a5)](_0x1d36f8=>{const _0x2676fa=_0x1b74be;_0x2676fa(0x20b)==typeof _0x1d36f8?_0x5b6b4c[_0x2676fa(0x179)](_0xd24975=>_0xd24975['name']==_0x1d36f8)[_0x2676fa(0x1a5)](_0x1d1768=>{const _0x21c612=_0x2676fa;_0x1d1768[_0x21c612(0x179)]=_0x21c612(0x1ac);}):_0x2676fa(0x255)==typeof _0x1d36f8&&_0x5b6b4c[_0x2676fa(0x179)](_0x183427=>_0x183427[_0x2676fa(0x266)]==_0x1d36f8[_0x2676fa(0x266)])[_0x2676fa(0x1a5)](_0x31544c=>{const _0x40637c=_0x2676fa;_0x31544c[_0x40637c(0x179)]=_0x1d36f8;});}),_0x5b6b4c;}static[a0_0x1ba7e4(0x229)](_0x5516a5){const _0x4076c4=a0_0x1ba7e4;let _0x1d6c44={'title':TermsUtil[_0x4076c4(0x1c5)](_0x5516a5[_0x4076c4(0x209)][_0x4076c4(0x243)]),'help':_0x5516a5['menuInfo'][_0x4076c4(0x26c)]||'','actions':[...MetaUiUtil[_0x4076c4(0x1d8)](_0x5516a5)]};return _0x5516a5[_0x4076c4(0x254)]&&(_0x1d6c44[_0x4076c4(0x249)]={'name':_0x1d6c44[_0x4076c4(0x243)],'data':_0x5516a5[_0x4076c4(0x261)]['bind'](_0x5516a5)}),_0x5516a5[_0x4076c4(0x211)]&&(_0x1d6c44[_0x4076c4(0x1c7)]={'handler':_0x5516a5[_0x4076c4(0x1da)][_0x4076c4(0x227)](_0x5516a5)}),_0x1d6c44;}static[a0_0x1ba7e4(0x1d8)](_0x556f56){const _0x4e1f33=a0_0x1ba7e4;let _0x4174a7=_0x556f56[_0x4e1f33(0x276)];return ValueUtil[_0x4e1f33(0x241)](_0x4174a7)?[]:_0x4174a7['filter'](_0x2028a5=>_0x4e1f33(0x261)!=_0x2028a5[_0x4e1f33(0x266)]&&_0x4e1f33(0x1da)!=_0x2028a5[_0x4e1f33(0x266)]&&_0x4e1f33(0x1db)!=_0x2028a5[_0x4e1f33(0x266)])[_0x4e1f33(0x24c)](_0x384b27=>{const _0x377c57=_0x4e1f33;let {name:_0x22af33,label:_0x5a4c51,style:_0x5cfe66,type:_0x5dbd93=_0x377c57(0x173),action:_0x5cd5e6,logic:_0x8c2519}=_0x384b27;if(ValueUtil[_0x377c57(0x241)](_0x22af33))return{'title':'-1'};ValueUtil[_0x377c57(0x241)](_0x5a4c51)&&(_0x5a4c51=_0x22af33),ValueUtil['isEmpty'](_0x5cfe66)&&(_0x5cfe66=_0x22af33),ValueUtil[_0x377c57(0x241)](_0x5cd5e6)&&(_0x5cd5e6=_0x22af33);let _0x354bec=ValueUtil[_0x377c57(0x185)](_0x5cfe66)?CommonButtonStyles[_0x5cfe66]||{'icon':_0x5cfe66,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x377c57(0x271)](_0x5a4c51),'action':MetaUiUtil['getButtonActionHandler'](_0x556f56,_0x5dbd93,_0x5cd5e6,_0x8c2519),..._0x354bec};})[_0x4e1f33(0x179)](_0x58a5ba=>'-1'!=_0x58a5ba[_0x4e1f33(0x243)]);}static['getContainerButtons'](_0x4364be){const _0x11b77e=a0_0x1ba7e4;let _0x2ec79e=_0x4364be&&_0x4364be[_0x11b77e(0x276)]?_0x4364be[_0x11b77e(0x276)]:null;return _0x2ec79e?_0x2ec79e['filter'](_0x31ebfe=>_0x11b77e(0x1db)!=_0x31ebfe[_0x11b77e(0x266)])[_0x11b77e(0x24c)](_0x505a38=>{const _0x5eb79d=_0x11b77e;let {name:_0x2fc09d,label:_0xcb0ef6,style:_0x4c8794,type:_0x46a085=_0x5eb79d(0x173),action:_0x439683,logic:_0x48ab04}=_0x505a38;ValueUtil[_0x5eb79d(0x241)](_0xcb0ef6)&&(_0xcb0ef6=_0x2fc09d),ValueUtil[_0x5eb79d(0x241)](_0x4c8794)&&(_0x4c8794=_0x2fc09d),ValueUtil['isEmpty'](_0x439683)&&(_0x439683=_0x2fc09d);let _0x293719=MetaUiUtil[_0x5eb79d(0x250)](TermsUtil[_0x5eb79d(0x271)](_0xcb0ef6),_0x4c8794);return _0x293719[_0x5eb79d(0x242)]=MetaUiUtil[_0x5eb79d(0x236)](_0x4364be,_0x46a085,_0x439683,_0x48ab04),_0x293719;}):[];}static['createButtonElement'](_0x3c77e4,_0x1a0b89){const _0x3cecff=a0_0x1ba7e4;let _0x25f684=CommonButtonStyles[_0x1a0b89]||{'icon':_0x1a0b89,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x361eaf=_0x3cecff(0x27b)+_0x3c77e4+_0x3cecff(0x1fb)+(_0x25f684[_0x3cecff(0x219)]?_0x25f684[_0x3cecff(0x219)]:'')+_0x3cecff(0x193)+(_0x25f684[_0x3cecff(0x200)]['raised']?_0x3cecff(0x285):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x25f684[_0x3cecff(0x200)][_0x3cecff(0x1bc)]?_0x3cecff(0x1bc):'')+_0x3cecff(0x18a)+(_0x25f684[_0x3cecff(0x200)][_0x3cecff(0x178)]?'dense':'')+_0x3cecff(0x18a)+(_0x25f684[_0x3cecff(0x200)][_0x3cecff(0x201)]?_0x3cecff(0x201):'')+_0x3cecff(0x1a3);return UiUtil[_0x3cecff(0x1af)](_0x361eaf);}static['getButtonActionHandler'](_0x32596c,_0x2c38dd,_0x5b9a55,_0x181747){const _0x5b3c93=a0_0x1ba7e4;if(_0x5b3c93(0x173)==_0x2c38dd){if(_0x32596c[_0x5b9a55])return _0x32596c[_0x5b9a55][_0x5b3c93(0x227)](_0x32596c);}else{if(_0x5b3c93(0x248)==_0x2c38dd)return()=>MetaUiUtil['customButtonHandler'](_0x32596c,_0x181747);}return()=>{const _0x5c310f=_0x5b3c93;UiUtil[_0x5c310f(0x280)]('title.warning',_0x5c310f(0x23a),_0x5c310f(0x259),'confirm');};}static async[a0_0x1ba7e4(0x182)](_0x27f4ec,_0x2a85dc,_0x44430b){const _0x978eb0=a0_0x1ba7e4;let _0x15158e=ValueUtil[_0x978eb0(0x286)](_0x2a85dc,_0x978eb0(0x238)),_0x57a215=ValueUtil['getParams'](_0x15158e,_0x978eb0(0x284));if(_0x978eb0(0x1f2)===_0x57a215)_0x15158e[_0x978eb0(0x27a)]=_0x978eb0(0x233),_0x15158e[_0x978eb0(0x225)]='pages/meta-form-element.js',_0x15158e[_0x978eb0(0x1ca)]='id',await MetaUiUtil[_0x978eb0(0x1f0)](_0x27f4ec,_0x15158e,_0x44430b);else{if(_0x978eb0(0x1b0)===_0x57a215)MetaUiUtil[_0x978eb0(0x1e9)](_0x27f4ec,_0x15158e,_0x44430b);else{if(_0x978eb0(0x23f)===_0x57a215){let _0x22d407;_0x15158e[_0x978eb0(0x210)]?(_0x22d407={},Object[_0x978eb0(0x218)](_0x44430b)[_0x978eb0(0x179)](_0x499019=>Object[_0x978eb0(0x218)](_0x15158e[_0x978eb0(0x210)])['includes'](_0x499019))[_0x978eb0(0x24c)](_0x7110e7=>{const _0x481fc1=_0x978eb0;Object[_0x481fc1(0x218)](_0x15158e[_0x481fc1(0x210)])[_0x481fc1(0x22a)](_0x7110e7)&&(_0x481fc1(0x20b)==typeof _0x44430b[_0x7110e7]?_0x22d407[_0x15158e[_0x481fc1(0x210)][_0x7110e7]]=_0x44430b[_0x7110e7]:_0x22d407[_0x15158e[_0x481fc1(0x210)][_0x7110e7]]={'id':_0x44430b[_0x7110e7]['id']});})):_0x22d407=_0x44430b,UiUtil[_0x978eb0(0x180)](_0x15158e[_0x978eb0(0x23e)],[_0x22d407]);}else _0x978eb0(0x214)===_0x57a215?await MetaUiUtil[_0x978eb0(0x1f0)](_0x27f4ec,_0x15158e,_0x44430b):_0x978eb0(0x170)===_0x57a215?await MetaUiUtil['commonButtonCallScenario'](_0x27f4ec,_0x15158e,_0x44430b):_0x978eb0(0x1a2)===_0x57a215&&await MetaUiUtil[_0x978eb0(0x206)](_0x27f4ec,_0x15158e,_0x44430b);}}}static async[a0_0x1ba7e4(0x1cf)](_0x56f298,_0x593853){const _0x2dd741=a0_0x1ba7e4;if(ValueUtil[_0x2dd741(0x241)](_0x593853))return;let _0x584ab6=_0x56f298[_0x2dd741(0x18f)],_0x53aa6d=_0x56f298[_0x2dd741(0x1d1)],_0x735c18=ValueUtil[_0x2dd741(0x286)](_0x593853,'type'),_0x1836e3=ValueUtil[_0x2dd741(0x286)](_0x593853,_0x2dd741(0x1ae)),_0x1bc9cd=_0x1836e3[_0x2dd741(0x179)](_0x1856b1=>_0x1856b1[_0x2dd741(0x1cb)](_0x2dd741(0x18f)));if(ValueUtil[_0x2dd741(0x185)](_0x1bc9cd)){if(!_0x584ab6)return void UiUtil[_0x2dd741(0x280)](_0x2dd741(0x195),'text.grid_is_not_exist','info',_0x2dd741(0x281));if(0x0==(_0x584ab6[_0x2dd741(0x187)]?_0x584ab6[_0x2dd741(0x187)]['records']:[])[_0x2dd741(0x269)])return void UiUtil[_0x2dd741(0x280)](_0x2dd741(0x195),_0x2dd741(0x23d),'info',_0x2dd741(0x281));if(_0x1836e3['includes'](_0x2dd741(0x1a8))||_0x1836e3[_0x2dd741(0x22a)](_0x2dd741(0x16e))){let _0x5b3b8f=_0x584ab6[_0x2dd741(0x1b9)];if(ValueUtil['isEmpty'](_0x5b3b8f))return void UiUtil[_0x2dd741(0x280)](_0x2dd741(0x26d),_0x2dd741(0x208),_0x2dd741(0x259),'confirm');if(_0x1836e3[_0x2dd741(0x22a)](_0x2dd741(0x1a8))&&_0x5b3b8f[_0x2dd741(0x269)]>0x1)return void UiUtil['showAlertPopup'](_0x2dd741(0x195),_0x2dd741(0x16d),_0x2dd741(0x259),_0x2dd741(0x281));}}let _0x591627={};if(_0x1836e3['includes'](_0x2dd741(0x179))){if(!_0x53aa6d)return void UiUtil['showAlertPopup'](_0x2dd741(0x195),'text.search_form_is_not_exist',_0x2dd741(0x259),_0x2dd741(0x281));let _0x8bc3da=_0x53aa6d?await _0x53aa6d['getQueryFilters']():[];_0x591627[_0x2dd741(0x179)]=_0x8bc3da;}if(_0x1836e3[_0x2dd741(0x22a)]('grist_all'))_0x591627['grist']=_0x584ab6[_0x2dd741(0x187)][_0x2dd741(0x1a9)];else{if(_0x1836e3[_0x2dd741(0x22a)]('grist_one'))_0x591627[_0x2dd741(0x18f)]=_0x584ab6[_0x2dd741(0x1b9)][0x0];else{if(_0x1836e3[_0x2dd741(0x22a)]('grist_selected'))_0x591627['grist']=_0x584ab6['selected'];else{if(_0x1836e3[_0x2dd741(0x22a)]('grist_changed')&&(_0x591627[_0x2dd741(0x18f)]=ServiceUtil[_0x2dd741(0x186)](_0x584ab6),!_0x591627[_0x2dd741(0x18f)]))return;}}}if(_0x2dd741(0x23f)===_0x735c18){let _0x39a6e6,_0x7a12e4=Array[_0x2dd741(0x19f)](_0x591627[_0x2dd741(0x18f)])?_0x591627[_0x2dd741(0x18f)]:[_0x591627[_0x2dd741(0x18f)]];_0x39a6e6=_0x593853[_0x2dd741(0x210)]?_0x7a12e4['map'](_0x374a91=>{const _0x3b76b1=_0x2dd741;let _0x38140c={};return Object[_0x3b76b1(0x218)](_0x374a91)[_0x3b76b1(0x179)](_0x1d5dfe=>Object['keys'](_0x593853['param_field'])[_0x3b76b1(0x22a)](_0x1d5dfe))[_0x3b76b1(0x24c)](_0x214dfe=>{const _0x5f0af4=_0x3b76b1;Object[_0x5f0af4(0x218)](_0x593853[_0x5f0af4(0x210)])[_0x5f0af4(0x22a)](_0x214dfe)&&('string'==typeof _0x374a91[_0x214dfe]?_0x38140c[_0x593853[_0x5f0af4(0x210)][_0x214dfe]]=_0x374a91[_0x214dfe]:_0x38140c[_0x593853[_0x5f0af4(0x210)][_0x214dfe]]={'id':_0x374a91[_0x214dfe]['id']});}),_0x38140c;}):_0x7a12e4,UiUtil['pageNavigate'](_0x593853[_0x2dd741(0x23e)],_0x39a6e6);}else{if(_0x2dd741(0x214)===_0x735c18){let _0x4052e0={..._0x591627['grist']?_0x591627[_0x2dd741(0x18f)]:{},..._0x591627[_0x2dd741(0x179)]?_0x591627[_0x2dd741(0x179)]:{}};await MetaUiUtil[_0x2dd741(0x1f0)](_0x56f298,_0x593853,_0x4052e0);}else'scenario'===_0x735c18&&await MetaUiUtil[_0x2dd741(0x263)](_0x56f298,_0x593853,_0x591627);}}static['gristButtonPassParam'](_0x48c40b,_0x36d498,_0x4119de){const _0x475180=a0_0x1ba7e4;let _0x502452=_0x36d498[_0x475180(0x18e)],_0x54da2c=_0x48c40b['tagName'][_0x475180(0x26a)]('-TAB-')>0x0?_0x48c40b[_0x475180(0x20f)][_0x475180(0x1b7)](_0x475180(0x1ef)):_0x48c40b;Object['keys'](_0x502452)[_0x475180(0x1a5)](_0x2c8982=>{const _0x29dd7c=_0x475180;let _0x3be176=_0x54da2c[_0x29dd7c(0x20f)]['querySelector']('#'+_0x2c8982);_0x4119de['id']&&_0x3be176[_0x29dd7c(0x1bf)](_0x4119de['id']);let _0x2221e7=_0x502452[_0x2c8982];Object[_0x29dd7c(0x218)](_0x2221e7)[_0x29dd7c(0x1a5)](_0x10734e=>{let _0x33bd54=_0x2221e7[_0x10734e],_0x528d6e='*'===_0x33bd54?_0x4119de:_0x4119de[_0x33bd54];_0x3be176[_0x10734e]=_0x528d6e;});});}static async['commonButtonOpenPopup'](_0x3c87ba,_0xcdbd45,_0x5b19d6){const _0x544ba6=a0_0x1ba7e4;let _0x284d36=TermsUtil[_0x544ba6(0x1c5)](_0xcdbd45[_0x544ba6(0x243)]);ValueUtil[_0x544ba6(0x185)](_0xcdbd45[_0x544ba6(0x1a1)])&&(_0x284d36=_0x284d36+'-'+ValueUtil['getParams'](_0x5b19d6,..._0xcdbd45['title_detail'][_0x544ba6(0x17e)]('.')));let _0x2be441=_0xcdbd45[_0x544ba6(0x1de)]&&_0x544ba6(0x20b)==typeof _0xcdbd45[_0x544ba6(0x1de)]&&'fetch'===_0xcdbd45[_0x544ba6(0x1de)]&&_0x3c87ba&&_0x3c87ba[_0x544ba6(0x22e)]?_0x3c87ba[_0x544ba6(0x22e)]['bind'](_0x3c87ba):void 0x0;UiUtil['openDynamicPopup'](_0x284d36,_0xcdbd45,_0x5b19d6,_0x2be441);}static async['commonButtonCallScenario'](_0x1a4448,_0x3a5764,_0x12ab1b){const _0x4ea046=a0_0x1ba7e4;let _0x414b77=await ServiceUtil[_0x4ea046(0x264)]('service',_0x3a5764['name'],_0x12ab1b);if(!_0x414b77[_0x4ea046(0x252)]&&!ValueUtil['isEmpty'](_0x3a5764[_0x4ea046(0x1de)])&&_0x3a5764[_0x4ea046(0x1de)]){if(_0x4ea046(0x22e)!==_0x3a5764[_0x4ea046(0x1de)]){if('object'==typeof _0x3a5764[_0x4ea046(0x1de)]){let _0x3eadc5=_0x3a5764[_0x4ea046(0x1de)],_0x4b19d5=ValueUtil[_0x4ea046(0x286)](_0x414b77[_0x4ea046(0x187)]['runScenario'][_0x4ea046(0x187)],..._0x3eadc5[_0x4ea046(0x235)][_0x4ea046(0x17e)]('.'));if(0x0==Array[_0x4ea046(0x19f)](_0x4b19d5)&&(_0x4b19d5=[_0x4b19d5]),_0x4ea046(0x1f2)===_0x3eadc5[_0x4ea046(0x284)])_0x3eadc5[_0x4ea046(0x27a)]=_0x4ea046(0x233),_0x3eadc5['location']=_0x4ea046(0x1f6),_0x3eadc5[_0x4ea046(0x1ca)]='id',_0x4b19d5=_0x4b19d5[0x0],await MetaUiUtil[_0x4ea046(0x1f0)](_0x1a4448,_0x3eadc5,_0x4b19d5);else{if(_0x4ea046(0x23f)===_0x3eadc5[_0x4ea046(0x284)]){let _0x62382e,_0x46234e=_0x4b19d5;_0x62382e=_0x3eadc5['param_field']?_0x46234e[_0x4ea046(0x24c)](_0x58104c=>{const _0x3aecb9=_0x4ea046;let _0x394325={};return Object[_0x3aecb9(0x218)](_0x58104c)[_0x3aecb9(0x179)](_0x1c354a=>Object['keys'](_0x3eadc5[_0x3aecb9(0x210)])[_0x3aecb9(0x22a)](_0x1c354a))[_0x3aecb9(0x24c)](_0x4d9d11=>{const _0x149c7a=_0x3aecb9;Object[_0x149c7a(0x218)](_0x3eadc5[_0x149c7a(0x210)])[_0x149c7a(0x22a)](_0x4d9d11)&&(_0x149c7a(0x20b)==typeof _0x58104c[_0x4d9d11]?_0x394325[_0x3eadc5[_0x149c7a(0x210)][_0x4d9d11]]=_0x58104c[_0x4d9d11]:_0x394325[_0x3eadc5['param_field'][_0x4d9d11]]={'id':_0x58104c[_0x4d9d11]['id']});}),_0x394325;}):_0x46234e,UiUtil[_0x4ea046(0x180)](_0x3eadc5[_0x4ea046(0x23e)],_0x62382e);}else _0x4ea046(0x1b0)===_0x3eadc5[_0x4ea046(0x284)]?(_0x4b19d5=_0x4b19d5[0x0],MetaUiUtil[_0x4ea046(0x1e9)](_0x1a4448,_0x3eadc5,_0x4b19d5)):_0x4ea046(0x214)===_0x3eadc5[_0x4ea046(0x284)]?(_0x4b19d5=_0x4b19d5[0x0],await MetaUiUtil[_0x4ea046(0x1f0)](_0x1a4448,_0x3eadc5,_0x4b19d5)):_0x4ea046(0x1a2)===_0x3eadc5[_0x4ea046(0x284)]&&(_0x4b19d5=_0x4b19d5[0x0],await MetaUiUtil['gristButtonValueReference'](_0x1a4448,_0x3eadc5,_0x4b19d5));}}}else _0x1a4448[_0x4ea046(0x22e)]();}}static async[a0_0x1ba7e4(0x206)](_0x40efd4,_0x3e3f21,_0x480c1d){const _0xc05255=a0_0x1ba7e4;for(let _0x2277f1=0x0;_0x2277f1<_0x3e3f21[_0xc05255(0x1b6)][_0xc05255(0x269)];_0x2277f1++){let _0x5dfcea=_0x3e3f21[_0xc05255(0x1b6)][_0x2277f1];!0x0===ValueUtil[_0xc05255(0x192)](_0x5dfcea,_0x480c1d,Object[_0xc05255(0x218)](_0x5dfcea)[_0xc05255(0x179)](_0x428982=>_0xc05255(0x238)!=_0x428982))&&await MetaUiUtil[_0xc05255(0x182)](_0x40efd4,_0x5dfcea,_0x480c1d);}}static['getGristHiddenColumnConfig'](_0x38a3c8,_0x5c00b7){return{'type':_0x38a3c8,'name':_0x5c00b7,'sortable':!0x1,'hidden':!0x0};}static[a0_0x1ba7e4(0x237)](_0x53b360,_0x1303fe,_0x59ea72,_0x3ab6a8,_0x596124,_0x540f97){const _0x1618d9=a0_0x1ba7e4;let _0x5492d6=TermsUtil[_0x1618d9(0x24a)](_0x1303fe);return{'type':_0x53b360,'name':_0x1303fe,'header':_0x5492d6,'record':{'align':_0x59ea72,'editable':_0x3ab6a8},'sortable':_0x596124,'width':_0x540f97,'imex':{'width':Math['floor'](_0x540f97/0x6),'header':_0x5492d6,'type':_0x53b360,'key':_0x1303fe}};}static[a0_0x1ba7e4(0x217)](_0x4f23a9,_0x4a8d04,_0x3cc42f,_0x279031,_0x25ba2b,_0x291292,_0x3ae37b){const _0x1d6e3a=a0_0x1ba7e4;let _0xe93db1=TermsUtil['tLabel'](_0x3cc42f);return{'type':_0x4f23a9,'name':_0x4a8d04,'header':_0xe93db1,'record':{'align':_0x279031,'editable':_0x25ba2b},'sortable':_0x291292,'width':_0x3ae37b,'imex':{'width':Math[_0x1d6e3a(0x1d6)](_0x3ae37b/0x6),'header':_0xe93db1,'type':_0x4f23a9,'key':_0x4a8d04}};}static[a0_0x1ba7e4(0x174)](_0x2ecaa8,_0x594644,_0x32894e,_0x4f88fd,_0x366eb2,_0xcdc928,_0x2baa56,_0x5515ee){const _0x4409b0=a0_0x1ba7e4;let _0xdb10c=TermsUtil[_0x4409b0(0x24a)](_0x32894e);return{'type':_0x2ecaa8,'name':_0x594644,'header':_0xdb10c,'record':{'align':_0x4f88fd,'editable':_0x366eb2,'mandatory':_0x2baa56},'sortable':_0xcdc928,'width':_0x5515ee,'imex':{'width':Math['floor'](_0x5515ee/0x6),'header':_0xdb10c,'type':_0x2ecaa8,'key':_0x594644}};}static[a0_0x1ba7e4(0x20c)](_0x109e48,_0x37a58f,_0x2f27fd,_0x166b61,_0x33cd39,_0x370074,_0x458d30){const _0x20db25=a0_0x1ba7e4;let _0x2b7775=TermsUtil[_0x20db25(0x24a)](_0x37a58f);return{'type':_0x20db25(0x20e),'name':_0x109e48,'header':_0x2b7775,'record':{'align':_0x2f27fd,'editable':!0x0,'mandatory':_0x370074,'options':_0x458d30},'sortable':_0x166b61,'width':_0x33cd39,'imex':{'width':Math[_0x20db25(0x1d6)](_0x33cd39/0x6),'header':_0x2b7775,'type':_0x20db25(0x20b),'key':_0x109e48}};}static async[a0_0x1ba7e4(0x1bd)](_0x5aac00,_0x1237de,_0x4f1fe5,_0x3fcfb9,_0x1e1edd,_0x1324ba,_0x37573c){const _0x5888d2=a0_0x1ba7e4;let _0x19e247=await ServiceUtil[_0x5888d2(0x207)](_0x37573c);return MetaUiUtil[_0x5888d2(0x20c)](_0x5aac00,_0x1237de,_0x4f1fe5,_0x3fcfb9,_0x1e1edd,_0x1324ba,_0x19e247);}static[a0_0x1ba7e4(0x1ec)](_0x35178d,_0x44eed2,_0xcf2de3,_0x4b01bf,_0x3b6b9f){const _0x59a5a7=a0_0x1ba7e4;let _0x582de8=TermsUtil[_0x59a5a7(0x24a)](_0xcf2de3),_0x1c2f2c={'name':_0x35178d,'type':_0x44eed2,'label':_0x582de8,'operator':_0x4b01bf,'imex':{'width':0x10,'header':_0x582de8,'type':_0x44eed2,'key':_0x35178d}};return _0x3b6b9f&&(_0x1c2f2c['options']=_0x3b6b9f),_0x1c2f2c;}static async['getGristSearchCodeColumnConfig'](_0x784ea3,_0x359188,_0x3b0c80,_0x35c15f,_0x42e464){let _0x2cae23=await ServiceUtil['getCodeSelectorData'](_0x42e464);return MetaUiUtil['getGristSearchColumnConfig'](_0x784ea3,_0x359188,_0x3b0c80,_0x35c15f,_0x2cae23);}static[a0_0x1ba7e4(0x181)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0x19b6e6(0x1db)])return;let _0x1c7fe5=[{'name':'routing','operator':'eq','value':_0x181fe0}],_0x4b5a04=await ServiceUtil[_0x19b6e6(0x165)](_0x19b6e6(0x240),_0x1c7fe5,null,0x0,0x0,_0x19b6e6(0x177));if(_0x4b5a04||0x0!=_0x4b5a04[_0x19b6e6(0x17d)]){let _0x110875=_0x4b5a04[_0x19b6e6(0x222)][0x0];if(!_0x110875[_0x19b6e6(0x27b)])throw new Error(TermsUtil[_0x19b6e6(0x194)]('value_is_not_exist',{'value':TermsUtil[_0x19b6e6(0x17e)](_0x19b6e6(0x16c))+'\x20'+TermsUtil[_0x19b6e6(0x229)]('model')}));return this[_0x19b6e6(0x1ab)]=_0x110875['id'],JSON[_0x19b6e6(0x1a1)](MetaCrypto[_0x19b6e6(0x1a0)](_0x110875[_0x19b6e6(0x27b)]));}throw new Error(TermsUtil[_0x19b6e6(0x194)](_0x19b6e6(0x234),{'value':TermsUtil[_0x19b6e6(0x17e)]('menu')+'\x20'+_0x181fe0}));}static[a0_0x3c005f(0x17a)](){return{'menuInfo':Object,'gridConfig':Object,'gridColumnConfig':Array,'formColumnConfig':Array,'buttonConfig':Array,'searchConfig':Array,'gqlInfo':String,'gqlFetchField':String,'searchFormElement':String,'useFilterForm':Boolean,'gristConfigSet':Object,'formConfigSet':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':!0x0,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x429275=>Boolean(_0x429275)},'is_popup':{'type':Boolean,'converter':_0x35957f=>Boolean(_0x35957f)}};}static async['getMenuMeta'](_0x3ac76b){const _0xdda24d=a0_0x3c005f;if(0x0==store[_0xdda24d(0x21e)]()[_0xdda24d(0x169)][_0xdda24d(0x1f9)])return void document[_0xdda24d(0x17c)](new CustomEvent(_0xdda24d(0x27e),{'detail':{'level':_0xdda24d(0x264),'message':TermsUtil['tError']('invalid\x20license\x20key')}}));let _0x45d78e=_0x3ac76b[_0xdda24d(0x1b4)]?UiUtil[_0xdda24d(0x181)]():_0x3ac76b[_0xdda24d(0x237)];return _0x3ac76b[_0xdda24d(0x181)]=_0x45d78e,await MetaUiUtil[_0xdda24d(0x1d8)](_0x45d78e);}static['getGristPaginationCustomConfig'](..._0x272d2f){return{'pages':_0x272d2f};}static[a0_0x3c005f(0x1eb)](_0x162410,_0x2719b8){const _0x684bfd=a0_0x3c005f;let _0x38a669=[{'type':_0x684bfd(0x1e3),'gutterName':_0x684bfd(0x1bd)},{'type':_0x684bfd(0x1e3),'gutterName':_0x684bfd(0x1fb)}];return _0x162410&&_0x38a669[_0x684bfd(0x23a)]({'type':_0x684bfd(0x1e3),'gutterName':'row-selector','multiple':_0x2719b8}),_0x38a669;}static[a0_0x3c005f(0x182)](_0x2940fd){return{'selectable':{'multiple':_0x2940fd}};}static async[a0_0x3c005f(0x1f4)](_0x441d6a){const _0xb02dc7=a0_0x3c005f;let _0xbea7cb=MetaUiUtil['getGridOptionSet'](_0x441d6a),_0x16512b=MetaUiUtil[_0xb02dc7(0x236)](_0x441d6a),_0x580e7a=MetaUiUtil[_0xb02dc7(0x227)](_0x441d6a),_0x901ca=MetaUiUtil['getGridButtonSet'](_0x441d6a),_0x1367e2=await MetaUiUtil[_0xb02dc7(0x1f1)](_0x441d6a),_0x58c9aa=MetaUiUtil['getGristGuttersConfig'](_0xbea7cb['use_row_checker'],_0x580e7a[_0xb02dc7(0x21f)][_0xb02dc7(0x278)]);return 0x1==_0x441d6a[_0xb02dc7(0x221)]&&(_0x1367e2=MetaUiUtil[_0xb02dc7(0x255)](_0x441d6a,_0x1367e2)),{'list':_0x16512b,'pagination':_0xbea7cb[_0xb02dc7(0x226)],'sorters':_0xbea7cb[_0xb02dc7(0x256)],'rows':_0x580e7a,'columns':[..._0x58c9aa,..._0x901ca,..._0x1367e2]};}static async[a0_0x3c005f(0x279)](_0x16ea14){const _0x57a047=a0_0x3c005f;let _0x9c1e89=_0x16ea14[_0x57a047(0x1ea)],_0x5175f8=[];for(let _0x48fb79=0x0;_0x48fb79<_0x9c1e89[_0x57a047(0x17d)];_0x48fb79++){let {type:_0x8f361=_0x57a047(0x266),name:_0x17e4ef,header:_0x121022,hidden:_0x15cb33=!0x1,editable:_0x5b8cde=!0x0,mandatory:_0x442315=!0x1,align:_0x256379=_0x57a047(0x18c),select_opt:_0x5a05d0,object_opt:_0x419ea1}=_0x9c1e89[_0x48fb79],_0x4cfa3f={'type':_0x8f361,'name':_0x17e4ef,'header_txt':ValueUtil[_0x57a047(0x27d)](_0x121022)?TermsUtil[_0x57a047(0x229)](_0x17e4ef):TermsUtil[_0x57a047(0x229)](_0x121022),'header':{'renderer':function(_0x5b1cb7){const _0x1e18af=_0x57a047;return _0x5b1cb7[_0x1e18af(0x25f)];}},'hidden':_0x15cb33,'record':{'editable':_0x5b8cde,'mandatory':_0x442315,'align':_0x256379,'classifier':function(){},'renderer':getRenderer(_0x8f361)}};_0x5b8cde&&(_0x4cfa3f['record'][_0x57a047(0x168)]=getEditor(_0x8f361)),'select'===_0x8f361&&ValueUtil[_0x57a047(0x25c)](_0x5a05d0)&&(Array['isArray'](_0x5a05d0)?_0x4cfa3f[_0x57a047(0x207)][_0x57a047(0x215)]=_0x5a05d0:'code'===_0x5a05d0[_0x57a047(0x27f)]?_0x4cfa3f[_0x57a047(0x207)]['options']=await ServiceUtil['getCodeSelectorData'](_0x5a05d0['name']):_0x57a047(0x283)===_0x5a05d0[_0x57a047(0x27f)]?_0x4cfa3f[_0x57a047(0x207)][_0x57a047(0x215)]=await ServiceUtil[_0x57a047(0x160)](_0x5a05d0[_0x57a047(0x269)],_0x5a05d0[_0x57a047(0x22d)]):'entity'===_0x5a05d0['type']&&(_0x4cfa3f[_0x57a047(0x207)]['options']=await ServiceUtil[_0x57a047(0x1fc)](_0x5a05d0[_0x57a047(0x22d)]))),_0x57a047(0x1d6)!==_0x8f361&&_0x57a047(0x170)!==_0x8f361||!ValueUtil['isNotEmpty'](_0x419ea1)||(_0x4cfa3f[_0x57a047(0x207)][_0x57a047(0x215)]=_0x419ea1),_0x5175f8['push'](_0x4cfa3f);}return _0x5175f8;}static['getGridOptionSet'](_0x49c162){const _0x4f00d5=a0_0x3c005f;let _0x4ea68b=_0x49c162[_0x4f00d5(0x241)];_0x49c162[_0x4f00d5(0x221)]=!_0x4ea68b||null==_0x4ea68b[_0x4f00d5(0x174)]||_0x4ea68b[_0x4f00d5(0x174)];let {mobile_mode:_0x17ef4d=_0x4f00d5(0x25e),desk_mode:_0x56dce5='GRID',view_mode:_0x2c81cb=[],use_row_checker:_0x571b6c=!0x0,sorters:_0x3609cb=[],pages:_0x59071b=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x4f00d5(0x27d)](_0x4ea68b[_0x4f00d5(0x219)])?{}:_0x4ea68b[_0x4f00d5(0x219)];return _0x4f00d5(0x232)===_0x59071b||'-1'===_0x59071b?(_0x49c162[_0x4f00d5(0x16a)]=!0x0,_0x59071b={'infinite':!0x0}):(_0x49c162[_0x4f00d5(0x16a)]=!0x1,_0x59071b['sort'](function(_0x110d90,_0x40fb4d){return _0x110d90-_0x40fb4d;}),_0x59071b={'pages':_0x59071b}),ValueUtil[_0x4f00d5(0x25c)](_0x2c81cb)&&(0x1==_0x2c81cb[_0x4f00d5(0x17d)]?(_0x56dce5=_0x2c81cb[0x0],_0x17ef4d=_0x2c81cb[0x0]):_0x2c81cb[_0x4f00d5(0x17d)]>=0x2&&(_0x2c81cb[_0x4f00d5(0x19c)](_0x17ef4d)||(_0x17ef4d=_0x2c81cb[0x1]),_0x2c81cb['includes'](_0x56dce5)||(_0x56dce5=_0x2c81cb[0x0]))),_0x49c162[_0x4f00d5(0x25d)]=_0x17ef4d,_0x49c162[_0x4f00d5(0x1c7)]=_0x56dce5,_0x49c162[_0x4f00d5(0x254)]=_0x2c81cb,_0x49c162['gridMode']=UiUtil['isMobileEnv']()?_0x49c162[_0x4f00d5(0x25d)]:_0x49c162['gridDeskMode'],{'use_row_checker':_0x571b6c,'sorters':_0x3609cb,'pages':_0x59071b};}static[a0_0x3c005f(0x236)](_0x3fbd90){const _0x596b17=a0_0x3c005f;let _0x353d17={'fields':[ValueUtil[_0x596b17(0x258)](_0x3fbd90[_0x596b17(0x26b)],_0x596b17(0x269)),ValueUtil[_0x596b17(0x258)](_0x3fbd90['menuInfo'],_0x596b17(0x1d0))]};return _0x3fbd90[_0x596b17(0x241)]['list']&&Object[_0x596b17(0x1f7)](_0x353d17,_0x3fbd90[_0x596b17(0x241)][_0x596b17(0x1f6)]),_0x353d17;}static['getGridRowSet'](_0x4d63bb){const _0x60ce9c=a0_0x3c005f;let {multiple_select:_0x305b8a=!0x1,click:_0x337459}=ValueUtil['isEmpty'](_0x4d63bb['gridConfig'][_0x60ce9c(0x1fe)])?{}:_0x4d63bb[_0x60ce9c(0x241)][_0x60ce9c(0x1fe)],_0x5eb672={'selectable':{'multiple':_0x305b8a},'appendable':_0x4d63bb[_0x60ce9c(0x24b)]};return ValueUtil['isNotEmpty'](_0x337459)&&(_0x5eb672[_0x60ce9c(0x166)]={'click':_0x337459}),_0x5eb672;}static[a0_0x3c005f(0x203)](_0x25f0eb){const _0x3d5a56=a0_0x3c005f;let _0x5099bd=_0x25f0eb['gridConfig'][_0x3d5a56(0x214)];return ValueUtil[_0x3d5a56(0x27d)](_0x5099bd)?[]:_0x5099bd[_0x3d5a56(0x1a2)](_0x2eb1f3=>{const _0xa699a0=_0x3d5a56;let _0xe6ed75={'type':_0xa699a0(0x1e3),'gutterName':'button'};if(ValueUtil[_0xa699a0(0x25c)](_0x2eb1f3['icon'])&&(Array[_0xa699a0(0x21d)](_0x2eb1f3['icon'])?_0xe6ed75[_0xa699a0(0x1b5)]=_0xc7cd9a=>{const _0x108f29=_0xa699a0;if(ValueUtil[_0x108f29(0x25c)](_0xc7cd9a))for(let _0x327b67=0x0;_0x327b67<_0x2eb1f3[_0x108f29(0x1b5)][_0x108f29(0x17d)];_0x327b67++){let _0x161709=_0x2eb1f3[_0x108f29(0x1b5)][_0x327b67];if(!0x0===ValueUtil[_0x108f29(0x216)](_0x161709,_0xc7cd9a,Object[_0x108f29(0x270)](_0x161709)['filter'](_0x573d8d=>_0x108f29(0x1b5)!=_0x573d8d)))return _0x161709[_0x108f29(0x1b5)];}}:_0xe6ed75['icon']=_0x2eb1f3['icon']),ValueUtil[_0xa699a0(0x25c)](_0x2eb1f3[_0xa699a0(0x269)])&&(_0xe6ed75[_0xa699a0(0x269)]=_0x2eb1f3['name']),ValueUtil[_0xa699a0(0x25c)](_0x2eb1f3[_0xa699a0(0x238)])&&(_0xe6ed75[_0xa699a0(0x218)]=TermsUtil[_0xa699a0(0x263)](_0x2eb1f3[_0xa699a0(0x238)])),_0xa699a0(0x1a3)===_0x2eb1f3[_0xa699a0(0x27f)]){let _0x3ae4f2=ValueUtil[_0xa699a0(0x258)](_0x2eb1f3,_0xa699a0(0x1fa));['history_copy',_0xa699a0(0x189)]['includes'](_0x3ae4f2)?_0xe6ed75[_0xa699a0(0x166)]={'click':(_0x480bff,_0x32b080,_0x472572,_0x119975,_0x245b09)=>{const _0x327abe=_0xa699a0;if(_0x119975['id']){let _0x448aa5={'title':_0x327abe(0x1e0),'type':_0x327abe(0x1e8),'tagname':_0x327abe(0x195)==_0x3ae4f2?'history-copy-list-popup':_0x327abe(0x261),'location':'history_copy'==_0x3ae4f2?_0x327abe(0x275):'pages/hgistory/history-json-list-popup.js','menu':_0x25f0eb[_0x327abe(0x181)],'size':_0x327abe(0x211),'popup_field':_0x327abe(0x220),'parent_field':'id'},_0x6bf0a6={..._0x119975,'gqlFunc':ValueUtil['getParams'](_0x25f0eb['gqlInfo'],_0x327abe(0x27a),'find_one_func'),'gristConfig':JSON[_0x327abe(0x1a1)](JSON[_0x327abe(0x187)](_0x25f0eb[_0x327abe(0x1aa)][_0x327abe(0x1c0)]))};MetaUiUtil[_0x327abe(0x27c)](_0x25f0eb,{'logic':_0x448aa5},_0x6bf0a6);}}}:_0xe6ed75[_0xa699a0(0x166)]={'click':_0x3ae4f2};}else _0xe6ed75[_0xa699a0(0x166)]={'click':(_0x376c5c,_0x5501a1,_0x3cdcd4,_0x5981a6,_0x3c0e55)=>{const _0x371ef4=_0xa699a0;_0x5981a6['id']&&MetaUiUtil[_0x371ef4(0x27c)](_0x25f0eb,_0x2eb1f3,_0x5981a6);}};return _0xe6ed75;});}static async[a0_0x3c005f(0x1f1)](_0x3c7638){const _0x2f4f0d=a0_0x3c005f;let _0x579cdf=_0x3c7638[_0x2f4f0d(0x1ae)];if(ValueUtil[_0x2f4f0d(0x27d)](_0x579cdf))return[];let _0x2cb6f3=[];for(let _0x25612a=0x0;_0x25612a<_0x579cdf[_0x2f4f0d(0x17d)];_0x25612a++){let {type:_0x3e4061=_0x2f4f0d(0x266),name:_0x9310e0,header:_0x32d5e5,hidden:_0x43f8cf=!0x1,editable:_0x570730=!0x0,mandatory:_0x5bb463=!0x1,sortable:_0x539198=!0x1,align:_0x37ba92='left',width:_0x21d3e8=0x0,exportable:_0x5b30ef=!0x1,select_opt:_0x2d3c2c,object_opt:_0x40c7e9}=_0x579cdf[_0x25612a],_0x3c99e8={'type':_0x3e4061,'name':_0x9310e0,'header':ValueUtil[_0x2f4f0d(0x27d)](_0x32d5e5)?'':TermsUtil['tLabel'](_0x32d5e5),'hidden':_0x43f8cf,'sortable':_0x539198,'width':_0x21d3e8,'record':{'editable':_0x570730,'mandatory':_0x5bb463,'align':_0x37ba92}};if(_0x2f4f0d(0x1df)===_0x3e4061&&ValueUtil[_0x2f4f0d(0x25c)](_0x2d3c2c))Array[_0x2f4f0d(0x21d)](_0x2d3c2c)?_0x3c99e8['record']['options']=_0x2d3c2c:_0x2f4f0d(0x22c)===_0x2d3c2c[_0x2f4f0d(0x27f)]?_0x3c99e8[_0x2f4f0d(0x207)][_0x2f4f0d(0x215)]=await ServiceUtil[_0x2f4f0d(0x1e6)](_0x2d3c2c[_0x2f4f0d(0x269)]):_0x2f4f0d(0x283)===_0x2d3c2c['type']?_0x3c99e8[_0x2f4f0d(0x207)][_0x2f4f0d(0x215)]=await ServiceUtil[_0x2f4f0d(0x160)](_0x2d3c2c[_0x2f4f0d(0x269)],_0x2d3c2c['args']):'entity'===_0x2d3c2c[_0x2f4f0d(0x27f)]&&(_0x3c99e8[_0x2f4f0d(0x207)][_0x2f4f0d(0x215)]=await ServiceUtil[_0x2f4f0d(0x1fc)](_0x2d3c2c[_0x2f4f0d(0x22d)]));else{if(('object'===_0x3e4061||_0x2f4f0d(0x170)===_0x3e4061)&&ValueUtil[_0x2f4f0d(0x25c)](_0x40c7e9)){let _0x2096a4;_0x3c99e8[_0x2f4f0d(0x207)][_0x2f4f0d(0x215)]={..._0x40c7e9},_0x40c7e9[_0x2f4f0d(0x252)]&&_0x40c7e9[_0x2f4f0d(0x252)][_0x2f4f0d(0x23b)]&&(_0x2096a4=[..._0x40c7e9[_0x2f4f0d(0x252)][_0x2f4f0d(0x23b)]]),_0x2096a4&&JSON[_0x2f4f0d(0x187)](_0x2096a4)[_0x2f4f0d(0x19c)]('::')&&(_0x3c99e8[_0x2f4f0d(0x166)]={'dblclick':(_0x4adc09,_0x1fafe2,_0x951a67,_0x360442,_0x13868d)=>{const _0x245adc=_0x2f4f0d;let _0x288a9f=[];_0x2096a4['forEach'](_0x5ee37b=>{const _0x510725=a0_0x2deb;var {name:_0xf8246f,value:_0x5ac035,operator:_0x2ebd1c='eq'}=_0x5ee37b;_0x5ac035['includes']('::')&&(_0x5ac035=ValueUtil['getParams'](_0x360442,..._0x5ac035[_0x510725(0x235)]('::','')['split']('.'))),_0x5ac035||(_0x5ac035=''),_0x288a9f[_0x510725(0x23a)]({'name':_0xf8246f,'operator':_0x2ebd1c,'value':_0x5ac035});}),_0x951a67[_0x245adc(0x207)][_0x245adc(0x215)]['basicArgs']['filters']=_0x288a9f;}});}}!0x0===_0x3c7638[_0x2f4f0d(0x205)]&&!0x0===_0x5b30ef&&(_0x3c99e8['imex']={'header':_0x3c99e8[_0x2f4f0d(0x282)],'key':_0x3c99e8['name'],'width':_0x3c99e8[_0x2f4f0d(0x273)]/0x6,'type':_0x3c99e8[_0x2f4f0d(0x27f)]}),_0x2cb6f3[_0x2f4f0d(0x23a)](_0x3c99e8);}let _0x5c88dc=await MetaApi['findMenuGridPersnalTemplate'](this['menuId']),{template:_0x30a23c={}}=_0x5c88dc;if(!_0x30a23c[_0x2f4f0d(0x259)])return _0x2cb6f3;let _0x40e668=_0x30a23c[_0x2f4f0d(0x259)];return _0x2cb6f3=_0x2cb6f3[_0x2f4f0d(0x1a2)](_0x592f4b=>('id'==_0x592f4b['name']||(_0x592f4b['hidden']=!_0x40e668['includes'](_0x592f4b[_0x2f4f0d(0x269)]),_0x592f4b[_0x2f4f0d(0x1a4)]=_0x40e668[_0x2f4f0d(0x1cb)](_0x592f4b[_0x2f4f0d(0x269)]),-0x1==_0x592f4b[_0x2f4f0d(0x1a4)]&&(_0x592f4b[_0x2f4f0d(0x1a4)]=0x1869f)),_0x592f4b)),_0x2cb6f3[_0x2f4f0d(0x171)]((_0x39ab3e,_0x493ac2)=>_0x39ab3e[_0x2f4f0d(0x1a4)]-_0x493ac2['rank']),_0x2cb6f3;}static[a0_0x3c005f(0x255)](_0x2e6f0c,_0x8225a1){const _0xd362b3=a0_0x3c005f;let _0x3d2264=_0x2e6f0c[_0xd362b3(0x1d5)];return _0x3d2264&&_0x3d2264[_0xd362b3(0x1bf)](_0x3a4972=>{const _0x4fd15b=_0xd362b3;_0x4fd15b(0x266)==typeof _0x3a4972?_0x8225a1['filter'](_0x2450e3=>_0x2450e3[_0x4fd15b(0x269)]==_0x3a4972)[_0x4fd15b(0x1bf)](_0x1f1da0=>{const _0x2722a8=_0x4fd15b;_0x1f1da0[_0x2722a8(0x24a)]='search';}):'object'==typeof _0x3a4972&&_0x8225a1[_0x4fd15b(0x24a)](_0x234b15=>_0x234b15['name']==_0x3a4972[_0x4fd15b(0x269)])[_0x4fd15b(0x1bf)](_0x2e83ce=>{const _0x4a7b3f=_0x4fd15b;_0x2e83ce[_0x4a7b3f(0x24a)]=_0x3a4972;});}),_0x8225a1;}static[a0_0x3c005f(0x26d)](_0x3e74fe){const _0x459b03=a0_0x3c005f;let _0x1403dc={'title':TermsUtil[_0x459b03(0x21a)](_0x3e74fe[_0x459b03(0x26b)][_0x459b03(0x218)]),'help':_0x3e74fe[_0x459b03(0x26b)][_0x459b03(0x26c)]||'','actions':[...MetaUiUtil[_0x459b03(0x1c9)](_0x3e74fe)]};return _0x3e74fe[_0x459b03(0x205)]&&(_0x1403dc[_0x459b03(0x1ee)]={'name':_0x1403dc['title'],'data':_0x3e74fe['export'][_0x459b03(0x1c4)](_0x3e74fe)}),_0x3e74fe[_0x459b03(0x265)]&&(_0x1403dc[_0x459b03(0x1ed)]={'handler':_0x3e74fe['import']['bind'](_0x3e74fe)}),_0x1403dc;}static[a0_0x3c005f(0x1c9)](_0x3348aa){const _0x459e0c=a0_0x3c005f;let _0x4c3cd7=_0x3348aa[_0x459e0c(0x1b6)];return ValueUtil['isEmpty'](_0x4c3cd7)?[]:_0x4c3cd7[_0x459e0c(0x24a)](_0x1b66fd=>_0x459e0c(0x244)!=_0x1b66fd[_0x459e0c(0x269)]&&_0x459e0c(0x247)!=_0x1b66fd[_0x459e0c(0x269)]&&_0x459e0c(0x184)!=_0x1b66fd['name'])[_0x459e0c(0x1a2)](_0x573291=>{const _0x4894d9=_0x459e0c;let {name:_0x79ae44,label:_0x5de275,style:_0x2507e8,type:_0x161fdc=_0x4894d9(0x1a3),action:_0x2b2419,logic:_0x3a4a23}=_0x573291;if(ValueUtil[_0x4894d9(0x27d)](_0x79ae44))return{'title':'-1'};ValueUtil[_0x4894d9(0x27d)](_0x5de275)&&(_0x5de275=_0x79ae44),ValueUtil[_0x4894d9(0x27d)](_0x2507e8)&&(_0x2507e8=_0x79ae44),ValueUtil[_0x4894d9(0x27d)](_0x2b2419)&&(_0x2b2419=_0x79ae44);let _0x5ac90e=ValueUtil[_0x4894d9(0x25c)](_0x2507e8)?CommonButtonStyles[_0x2507e8]||{'icon':_0x2507e8,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x4894d9(0x263)](_0x5de275),'action':MetaUiUtil['getButtonActionHandler'](_0x3348aa,_0x161fdc,_0x2b2419,_0x3a4a23),..._0x5ac90e};})[_0x459e0c(0x24a)](_0x4acb49=>'-1'!=_0x4acb49['title']);}static[a0_0x3c005f(0x24f)](_0x35b609){const _0x31fac1=a0_0x3c005f;let _0x48f00a=_0x35b609&&_0x35b609[_0x31fac1(0x1b6)]?_0x35b609[_0x31fac1(0x1b6)]:null;return _0x48f00a?_0x48f00a['filter'](_0x1d062a=>_0x31fac1(0x184)!=_0x1d062a[_0x31fac1(0x269)])[_0x31fac1(0x1a2)](_0x425c70=>{const _0x4f0ac3=_0x31fac1;let {name:_0x4bd71a,label:_0x152719,style:_0xcd3c2f,type:_0x155477=_0x4f0ac3(0x1a3),action:_0x1d1164,logic:_0x1c7aaf}=_0x425c70;ValueUtil[_0x4f0ac3(0x27d)](_0x152719)&&(_0x152719=_0x4bd71a),ValueUtil[_0x4f0ac3(0x27d)](_0xcd3c2f)&&(_0xcd3c2f=_0x4bd71a),ValueUtil[_0x4f0ac3(0x27d)](_0x1d1164)&&(_0x1d1164=_0x4bd71a);let _0x17af97=MetaUiUtil['createButtonElement'](TermsUtil[_0x4f0ac3(0x263)](_0x152719),_0xcd3c2f);return _0x17af97[_0x4f0ac3(0x1f0)]=MetaUiUtil['getButtonActionHandler'](_0x35b609,_0x155477,_0x1d1164,_0x1c7aaf),_0x17af97;}):[];}static[a0_0x3c005f(0x162)](_0xfc708a,_0x4edc32){const _0x2d7993=a0_0x3c005f;let _0x2b051e=CommonButtonStyles[_0x4edc32]||{'icon':_0x4edc32,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x29d6d3=_0x2d7993(0x1ca)+_0xfc708a+_0x2d7993(0x280)+(_0x2b051e['icon']?_0x2b051e[_0x2d7993(0x1b5)]:'')+'\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2b051e['emphasis'][_0x2d7993(0x202)]?_0x2d7993(0x202):'')+_0x2d7993(0x1b3)+(_0x2b051e[_0x2d7993(0x1b0)][_0x2d7993(0x210)]?_0x2d7993(0x210):'')+_0x2d7993(0x1b3)+(_0x2b051e[_0x2d7993(0x1b0)]['dense']?'dense':'')+_0x2d7993(0x1b3)+(_0x2b051e[_0x2d7993(0x1b0)][_0x2d7993(0x20e)]?'danger':'')+'\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20';return UiUtil[_0x2d7993(0x1cc)](_0x29d6d3);}static[a0_0x3c005f(0x209)](_0x1ea97c,_0x380e8f,_0x3fafc8,_0x59742a){const _0x34eefd=a0_0x3c005f;if(_0x34eefd(0x1a3)==_0x380e8f){if(_0x1ea97c[_0x3fafc8])return _0x1ea97c[_0x3fafc8][_0x34eefd(0x1c4)](_0x1ea97c);}else{if(_0x34eefd(0x1be)==_0x380e8f)return()=>MetaUiUtil[_0x34eefd(0x1ff)](_0x1ea97c,_0x59742a);}return()=>{const _0x369bb0=_0x34eefd;UiUtil[_0x369bb0(0x243)](_0x369bb0(0x1b2),_0x369bb0(0x224),_0x369bb0(0x223),_0x369bb0(0x1ad));};}static async['gristButtonHandler'](_0x3b53a7,_0x1ffa50,_0xee04d){const _0x4c4e07=a0_0x3c005f;let _0x3d72cb=ValueUtil['getParams'](_0x1ffa50,_0x4c4e07(0x1fa)),_0x306db6=ValueUtil[_0x4c4e07(0x258)](_0x3d72cb,'type');if(_0x4c4e07(0x178)===_0x306db6)_0x3d72cb[_0x4c4e07(0x1f8)]='meta-form-element',_0x3d72cb[_0x4c4e07(0x19a)]=_0x4c4e07(0x18d),_0x3d72cb['parent_field']='id',await MetaUiUtil['commonButtonOpenPopup'](_0x3b53a7,_0x3d72cb,_0xee04d);else{if(_0x4c4e07(0x250)===_0x306db6)MetaUiUtil['gristButtonPassParam'](_0x3b53a7,_0x3d72cb,_0xee04d);else{if(_0x4c4e07(0x199)===_0x306db6){let _0x56379f;_0x3d72cb['param_field']?(_0x56379f={},Object[_0x4c4e07(0x270)](_0xee04d)[_0x4c4e07(0x24a)](_0xd32b0f=>Object[_0x4c4e07(0x270)](_0x3d72cb[_0x4c4e07(0x253)])[_0x4c4e07(0x19c)](_0xd32b0f))['map'](_0x180e0c=>{const _0x5e4673=_0x4c4e07;Object['keys'](_0x3d72cb['param_field'])[_0x5e4673(0x19c)](_0x180e0c)&&(_0x5e4673(0x266)==typeof _0xee04d[_0x180e0c]?_0x56379f[_0x3d72cb[_0x5e4673(0x253)][_0x180e0c]]=_0xee04d[_0x180e0c]:_0x56379f[_0x3d72cb[_0x5e4673(0x253)][_0x180e0c]]={'id':_0xee04d[_0x180e0c]['id']});})):_0x56379f=_0xee04d,UiUtil['pageNavigate'](_0x3d72cb['url'],[_0x56379f]);}else _0x4c4e07(0x1e8)===_0x306db6?await MetaUiUtil['commonButtonOpenPopup'](_0x3b53a7,_0x3d72cb,_0xee04d):_0x4c4e07(0x283)===_0x306db6?await MetaUiUtil[_0x4c4e07(0x246)](_0x3b53a7,_0x3d72cb,_0xee04d):_0x4c4e07(0x242)===_0x306db6&&await MetaUiUtil[_0x4c4e07(0x1e4)](_0x3b53a7,_0x3d72cb,_0xee04d);}}}static async[a0_0x3c005f(0x1ff)](_0x4e9f70,_0xe0862a){const _0x33a48c=a0_0x3c005f;if(ValueUtil[_0x33a48c(0x27d)](_0xe0862a))return;let _0x45ed68=_0x4e9f70[_0x33a48c(0x1aa)],_0x3e31c3=_0x4e9f70[_0x33a48c(0x1bb)],_0x5f36c4=ValueUtil[_0x33a48c(0x258)](_0xe0862a,'type'),_0xc88c56=ValueUtil['getParams'](_0xe0862a,'param'),_0x264a59=_0xc88c56[_0x33a48c(0x24a)](_0x40b4ce=>_0x40b4ce['startsWith']('grist'));if(ValueUtil[_0x33a48c(0x25c)](_0x264a59)){if(!_0x45ed68)return void UiUtil['showAlertPopup']('title.info','text.grid_is_not_exist',_0x33a48c(0x223),'confirm');if(0x0==(_0x45ed68['data']?_0x45ed68[_0x33a48c(0x18f)]['records']:[])[_0x33a48c(0x17d)])return void UiUtil[_0x33a48c(0x243)](_0x33a48c(0x23d),_0x33a48c(0x231),_0x33a48c(0x223),_0x33a48c(0x1ad));if(_0xc88c56[_0x33a48c(0x19c)]('grist_one')||_0xc88c56['includes'](_0x33a48c(0x286))){let _0xfee727=_0x45ed68[_0x33a48c(0x172)];if(ValueUtil[_0x33a48c(0x27d)](_0xfee727))return void UiUtil[_0x33a48c(0x243)](_0x33a48c(0x200),'text.there_is_no_selected_items',_0x33a48c(0x223),'confirm');if(_0xc88c56['includes']('grist_one')&&_0xfee727['length']>0x1)return void UiUtil[_0x33a48c(0x243)](_0x33a48c(0x23d),_0x33a48c(0x20c),_0x33a48c(0x223),_0x33a48c(0x1ad));}}let _0x15bf57={};if(_0xc88c56['includes']('filter')){if(!_0x3e31c3)return void UiUtil[_0x33a48c(0x243)](_0x33a48c(0x23d),_0x33a48c(0x164),_0x33a48c(0x223),_0x33a48c(0x1ad));let _0xa05e23=_0x3e31c3?await _0x3e31c3[_0x33a48c(0x1c6)]():[];_0x15bf57[_0x33a48c(0x24a)]=_0xa05e23;}if(_0xc88c56[_0x33a48c(0x19c)](_0x33a48c(0x213)))_0x15bf57[_0x33a48c(0x1aa)]=_0x45ed68[_0x33a48c(0x18f)][_0x33a48c(0x222)];else{if(_0xc88c56['includes']('grist_one'))_0x15bf57['grist']=_0x45ed68[_0x33a48c(0x172)][0x0];else{if(_0xc88c56[_0x33a48c(0x19c)]('grist_selected'))_0x15bf57[_0x33a48c(0x1aa)]=_0x45ed68['selected'];else{if(_0xc88c56[_0x33a48c(0x19c)](_0x33a48c(0x22f))&&(_0x15bf57[_0x33a48c(0x1aa)]=ServiceUtil[_0x33a48c(0x193)](_0x45ed68),!_0x15bf57[_0x33a48c(0x1aa)]))return;}}}if(_0x33a48c(0x199)===_0x5f36c4){let _0x5106bc,_0x37af0b=Array[_0x33a48c(0x21d)](_0x15bf57[_0x33a48c(0x1aa)])?_0x15bf57[_0x33a48c(0x1aa)]:[_0x15bf57[_0x33a48c(0x1aa)]];_0x5106bc=_0xe0862a[_0x33a48c(0x253)]?_0x37af0b[_0x33a48c(0x1a2)](_0x3f38ba=>{const _0x1a214e=_0x33a48c;let _0x51f2c8={};return Object[_0x1a214e(0x270)](_0x3f38ba)[_0x1a214e(0x24a)](_0x24c2c3=>Object[_0x1a214e(0x270)](_0xe0862a[_0x1a214e(0x253)])[_0x1a214e(0x19c)](_0x24c2c3))[_0x1a214e(0x1a2)](_0x3e7173=>{const _0x521255=_0x1a214e;Object[_0x521255(0x270)](_0xe0862a[_0x521255(0x253)])[_0x521255(0x19c)](_0x3e7173)&&('string'==typeof _0x3f38ba[_0x3e7173]?_0x51f2c8[_0xe0862a[_0x521255(0x253)][_0x3e7173]]=_0x3f38ba[_0x3e7173]:_0x51f2c8[_0xe0862a[_0x521255(0x253)][_0x3e7173]]={'id':_0x3f38ba[_0x3e7173]['id']});}),_0x51f2c8;}):_0x37af0b,UiUtil[_0x33a48c(0x1e2)](_0xe0862a[_0x33a48c(0x173)],_0x5106bc);}else{if(_0x33a48c(0x1e8)===_0x5f36c4){let _0x3d697c={..._0x15bf57[_0x33a48c(0x1aa)]?_0x15bf57[_0x33a48c(0x1aa)]:{},..._0x15bf57[_0x33a48c(0x24a)]?_0x15bf57[_0x33a48c(0x24a)]:{}};await MetaUiUtil[_0x33a48c(0x228)](_0x4e9f70,_0xe0862a,_0x3d697c);}else _0x33a48c(0x283)===_0x5f36c4&&await MetaUiUtil[_0x33a48c(0x246)](_0x4e9f70,_0xe0862a,_0x15bf57);}}static[a0_0x3c005f(0x206)](_0x701b11,_0x585475,_0x5219b6){const _0x4a01e6=a0_0x3c005f;let _0x40fc04=_0x585475[_0x4a01e6(0x1b8)],_0x1d6ba3=_0x701b11[_0x4a01e6(0x20d)][_0x4a01e6(0x1cb)](_0x4a01e6(0x1c3))>0x0?_0x701b11[_0x4a01e6(0x16e)][_0x4a01e6(0x1e9)](_0x4a01e6(0x20b)):_0x701b11;Object[_0x4a01e6(0x270)](_0x40fc04)['forEach'](_0x323b55=>{const _0x5767f6=_0x4a01e6;let _0x391a19=_0x1d6ba3[_0x5767f6(0x16e)][_0x5767f6(0x1e9)]('#'+_0x323b55);_0x5219b6['id']&&_0x391a19[_0x5767f6(0x176)](_0x5219b6['id']);let _0x60d6cf=_0x40fc04[_0x323b55];Object[_0x5767f6(0x270)](_0x60d6cf)[_0x5767f6(0x1bf)](_0x35d991=>{let _0x4d78f7=_0x60d6cf[_0x35d991],_0xa6c8be='*'===_0x4d78f7?_0x5219b6:_0x5219b6[_0x4d78f7];_0x391a19[_0x35d991]=_0xa6c8be;});});}static async['commonButtonOpenPopup'](_0x107ab7,_0x33e75d,_0x5b0d15){const _0x3bdb19=a0_0x3c005f;let _0x4e9c49=TermsUtil[_0x3bdb19(0x21a)](_0x33e75d[_0x3bdb19(0x218)]);ValueUtil[_0x3bdb19(0x25c)](_0x33e75d['title_detail'])&&(_0x4e9c49=_0x4e9c49+'-'+ValueUtil[_0x3bdb19(0x258)](_0x5b0d15,..._0x33e75d['title_detail']['split']('.')));let _0x394394=_0x33e75d[_0x3bdb19(0x274)]&&_0x3bdb19(0x266)==typeof _0x33e75d['after']&&_0x3bdb19(0x1ac)===_0x33e75d[_0x3bdb19(0x274)]&&_0x107ab7&&_0x107ab7[_0x3bdb19(0x1ac)]?_0x107ab7[_0x3bdb19(0x1ac)]['bind'](_0x107ab7):void 0x0;UiUtil[_0x3bdb19(0x1e5)](_0x4e9c49,_0x33e75d,_0x5b0d15,_0x394394);}static async[a0_0x3c005f(0x246)](_0x4ddc92,_0x577aab,_0x3ffde4){const _0x1c625d=a0_0x3c005f;let _0x4c69b2=await ServiceUtil[_0x1c625d(0x18b)](_0x1c625d(0x188),_0x577aab['name'],_0x3ffde4);if(!_0x4c69b2[_0x1c625d(0x1db)]&&!ValueUtil[_0x1c625d(0x27d)](_0x577aab['after'])&&_0x577aab['after']){if('fetch'!==_0x577aab[_0x1c625d(0x274)]){if(_0x1c625d(0x1d6)==typeof _0x577aab[_0x1c625d(0x274)]){let _0x1550b6=_0x577aab['after'],_0x3951bd=ValueUtil[_0x1c625d(0x258)](_0x4c69b2['data']['runScenario']['data'],..._0x1550b6[_0x1c625d(0x179)][_0x1c625d(0x1f5)]('.'));if(0x0==Array[_0x1c625d(0x21d)](_0x3951bd)&&(_0x3951bd=[_0x3951bd]),'form'===_0x1550b6[_0x1c625d(0x27f)])_0x1550b6[_0x1c625d(0x1f8)]=_0x1c625d(0x1b1),_0x1550b6[_0x1c625d(0x19a)]='pages/meta-form-element.js',_0x1550b6['parent_field']='id',_0x3951bd=_0x3951bd[0x0],await MetaUiUtil[_0x1c625d(0x228)](_0x4ddc92,_0x1550b6,_0x3951bd);else{if(_0x1c625d(0x199)===_0x1550b6['type']){let _0x3b5819,_0x51144b=_0x3951bd;_0x3b5819=_0x1550b6[_0x1c625d(0x253)]?_0x51144b[_0x1c625d(0x1a2)](_0x57d62b=>{const _0x17a753=_0x1c625d;let _0x298c55={};return Object[_0x17a753(0x270)](_0x57d62b)[_0x17a753(0x24a)](_0x53159a=>Object[_0x17a753(0x270)](_0x1550b6[_0x17a753(0x253)])[_0x17a753(0x19c)](_0x53159a))[_0x17a753(0x1a2)](_0x5511f1=>{const _0x143974=_0x17a753;Object[_0x143974(0x270)](_0x1550b6[_0x143974(0x253)])[_0x143974(0x19c)](_0x5511f1)&&(_0x143974(0x266)==typeof _0x57d62b[_0x5511f1]?_0x298c55[_0x1550b6[_0x143974(0x253)][_0x5511f1]]=_0x57d62b[_0x5511f1]:_0x298c55[_0x1550b6[_0x143974(0x253)][_0x5511f1]]={'id':_0x57d62b[_0x5511f1]['id']});}),_0x298c55;}):_0x51144b,UiUtil[_0x1c625d(0x1e2)](_0x1550b6[_0x1c625d(0x173)],_0x3b5819);}else _0x1c625d(0x250)===_0x1550b6['type']?(_0x3951bd=_0x3951bd[0x0],MetaUiUtil[_0x1c625d(0x206)](_0x4ddc92,_0x1550b6,_0x3951bd)):_0x1c625d(0x1e8)===_0x1550b6['type']?(_0x3951bd=_0x3951bd[0x0],await MetaUiUtil[_0x1c625d(0x228)](_0x4ddc92,_0x1550b6,_0x3951bd)):_0x1c625d(0x242)===_0x1550b6[_0x1c625d(0x27f)]&&(_0x3951bd=_0x3951bd[0x0],await MetaUiUtil[_0x1c625d(0x1e4)](_0x4ddc92,_0x1550b6,_0x3951bd));}}}else _0x4ddc92[_0x1c625d(0x1ac)]();}}static async['gristButtonValueReference'](_0x5002f1,_0x4b30ac,_0x47f3ab){const _0x53ae44=a0_0x3c005f;for(let _0x1cc6ab=0x0;_0x1cc6ab<_0x4b30ac[_0x53ae44(0x204)][_0x53ae44(0x17d)];_0x1cc6ab++){let _0x14be1d=_0x4b30ac[_0x53ae44(0x204)][_0x1cc6ab];!0x0===ValueUtil[_0x53ae44(0x216)](_0x14be1d,_0x47f3ab,Object['keys'](_0x14be1d)[_0x53ae44(0x24a)](_0x3c0070=>_0x53ae44(0x1fa)!=_0x3c0070))&&await MetaUiUtil['gristButtonHandler'](_0x5002f1,_0x14be1d,_0x47f3ab);}}static[a0_0x3c005f(0x19d)](_0x22be72,_0x14b4af){return{'type':_0x22be72,'name':_0x14b4af,'sortable':!0x1,'hidden':!0x0};}static[a0_0x3c005f(0x16d)](_0x185524,_0x416f94,_0x2f37e9,_0xadd8b9,_0x156136,_0x447575){const _0x53a385=a0_0x3c005f;let _0x23a619=TermsUtil[_0x53a385(0x229)](_0x416f94);return{'type':_0x185524,'name':_0x416f94,'header':_0x23a619,'record':{'align':_0x2f37e9,'editable':_0xadd8b9},'sortable':_0x156136,'width':_0x447575,'imex':{'width':Math[_0x53a385(0x262)](_0x447575/0x6),'header':_0x23a619,'type':_0x185524,'key':_0x416f94}};}static[a0_0x3c005f(0x19b)](_0xff2d86,_0x199d5e,_0x1c04e,_0x28483a,_0x3829eb,_0x5115e5,_0x52f909){const _0x2e0cf3=a0_0x3c005f;let _0x2780e5=TermsUtil[_0x2e0cf3(0x229)](_0x1c04e);return{'type':_0xff2d86,'name':_0x199d5e,'header':_0x2780e5,'record':{'align':_0x28483a,'editable':_0x3829eb},'sortable':_0x5115e5,'width':_0x52f909,'imex':{'width':Math['floor'](_0x52f909/0x6),'header':_0x2780e5,'type':_0xff2d86,'key':_0x199d5e}};}static[a0_0x3c005f(0x197)](_0x258e4b,_0xe5eb6d,_0x58da90,_0x122a96,_0x3c92b2,_0x32fa24,_0xe25552,_0x1c4d03){const _0x37e40f=a0_0x3c005f;let _0x579a69=TermsUtil[_0x37e40f(0x229)](_0x58da90);return{'type':_0x258e4b,'name':_0xe5eb6d,'header':_0x579a69,'record':{'align':_0x122a96,'editable':_0x3c92b2,'mandatory':_0xe25552},'sortable':_0x32fa24,'width':_0x1c4d03,'imex':{'width':Math['floor'](_0x1c4d03/0x6),'header':_0x579a69,'type':_0x258e4b,'key':_0xe5eb6d}};}static['getGristSelectorColumnConfig'](_0xa04314,_0x46a742,_0x2dd7cf,_0x381081,_0x227da8,_0x44422b,_0x679246){const _0x5b5129=a0_0x3c005f;let _0x4ec2c9=TermsUtil['tLabel'](_0x46a742);return{'type':_0x5b5129(0x1df),'name':_0xa04314,'header':_0x4ec2c9,'record':{'align':_0x2dd7cf,'editable':!0x0,'mandatory':_0x44422b,'options':_0x679246},'sortable':_0x381081,'width':_0x227da8,'imex':{'width':Math['floor'](_0x227da8/0x6),'header':_0x4ec2c9,'type':'string','key':_0xa04314}};}static async[a0_0x3c005f(0x1ec)](_0x4c1703,_0x36a960,_0xd40f83,_0x4e8338,_0x5d49b3,_0x21e18b,_0x358bc2){const _0x21cb60=a0_0x3c005f;let _0x4bae95=await ServiceUtil[_0x21cb60(0x1e6)](_0x358bc2);return MetaUiUtil[_0x21cb60(0x276)](_0x4c1703,_0x36a960,_0xd40f83,_0x4e8338,_0x5d49b3,_0x21e18b,_0x4bae95);}static[a0_0x3c005f(0x161)](_0x199356,_0x1e2d94,_0x1aa43d,_0x5847f7,_0x44990a){let _0x1392ed=TermsUtil['tLabel'](_0x1aa43d),_0x5831e3={'name':_0x199356,'type':_0x1e2d94,'label':_0x1392ed,'operator':_0x5847f7,'imex':{'width':0x10,'header':_0x1392ed,'type':_0x1e2d94,'key':_0x199356}};return _0x44990a&&(_0x5831e3['options']=_0x44990a),_0x5831e3;}static async[a0_0x3c005f(0x18e)](_0x52d423,_0x399bfb,_0x22fe6d,_0x3cf2ed,_0x5c0972){const _0x3f2060=a0_0x3c005f;let _0x240c8b=await ServiceUtil[_0x3f2060(0x1e6)](_0x5c0972);return MetaUiUtil[_0x3f2060(0x161)](_0x52d423,_0x399bfb,_0x22fe6d,_0x3cf2ed,_0x240c8b);}static['getCustomButtonContainerStyles'](){return[css`
|
|
6
6
|
.button-container {
|
|
7
7
|
padding: var(--button-container-padding);
|
|
8
8
|
margin: var(--button-container-margin);
|
|
@@ -21,11 +21,11 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
21
21
|
// margin: var(--context-action-bar-button-margin);
|
|
22
22
|
border-radius: var(--context-action-bar-more-button-border-radius);
|
|
23
23
|
}
|
|
24
|
-
`];}static[
|
|
24
|
+
`];}static[a0_0x3c005f(0x191)](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static['getGristPersonalizedStyles'](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static[
|
|
51
|
+
`];}static[a0_0x3c005f(0x1a5)](){const _0x557e33=a0_0x3c005f;return[ScrollbarStyles,CommonGristStyles,css`
|
|
52
52
|
:host {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -58,7 +58,7 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
58
58
|
ox-grist {
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
flex: 1;
|
|
61
|
-
}`,...MetaUiUtil[
|
|
61
|
+
}`,...MetaUiUtil[_0x557e33(0x191)](),...MetaUiUtil[_0x557e33(0x16f)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x3c005f(0x1a8)](){const _0x5366ec=a0_0x3c005f;return[ScrollbarStyles,CommonGristStyles,css`
|
|
62
62
|
:host {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -105,7 +105,7 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
105
105
|
ox-grist {
|
|
106
106
|
overflow-y: auto;
|
|
107
107
|
flex: 1;
|
|
108
|
-
}`,...MetaUiUtil[
|
|
108
|
+
}`,...MetaUiUtil[_0x5366ec(0x191)](),...MetaUiUtil[_0x5366ec(0x16f)](),...MetaUiUtil[_0x5366ec(0x1c8)]()];}static[a0_0x3c005f(0x233)](){const _0xe2fdb0=a0_0x3c005f;return[ScrollbarStyles,CommonGristStyles,css`
|
|
109
109
|
:host {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
@@ -152,7 +152,7 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
152
152
|
ox-grist {
|
|
153
153
|
overflow-y: auto;
|
|
154
154
|
flex: 1;
|
|
155
|
-
}`,...MetaUiUtil[
|
|
155
|
+
}`,...MetaUiUtil[_0xe2fdb0(0x191)](),...MetaUiUtil[_0xe2fdb0(0x16f)](),...MetaUiUtil[_0xe2fdb0(0x1c8)]()];}static[a0_0x3c005f(0x17b)](_0x25df3e){const _0x3bd26f=a0_0x3c005f;return _0x3bd26f(0x201)==_0x25df3e?MetaUiUtil[_0x3bd26f(0x26e)]():MetaUiUtil[_0x3bd26f(0x1b9)]();}static[a0_0x3c005f(0x26e)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
156
156
|
:host {
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
@@ -219,7 +219,7 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
219
219
|
margin-left:7px;
|
|
220
220
|
margin-top:7px;
|
|
221
221
|
}
|
|
222
|
-
`];}static[
|
|
222
|
+
`];}static[a0_0x3c005f(0x1b9)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
223
223
|
:host {
|
|
224
224
|
display: flex;
|
|
225
225
|
flex-direction: column;
|
|
@@ -286,7 +286,7 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
286
286
|
margin-left:7px;
|
|
287
287
|
margin-top:7px;
|
|
288
288
|
}
|
|
289
|
-
`];}static[
|
|
289
|
+
`];}static[a0_0x3c005f(0x1a7)](){const _0x14895a=a0_0x3c005f;return[ScrollbarStyles,css`
|
|
290
290
|
:host {
|
|
291
291
|
display: flex;
|
|
292
292
|
flex: 1;
|
|
@@ -375,7 +375,7 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
375
375
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
`,...MetaUiUtil[
|
|
378
|
+
`,...MetaUiUtil[_0x14895a(0x16f)]()];}static[a0_0x3c005f(0x23c)](){return[css`
|
|
379
379
|
:host {
|
|
380
380
|
display: flex;
|
|
381
381
|
flex: 1;
|
|
@@ -430,151 +430,151 @@ const a0_0x1ba7e4=a0_0x2f00;(function(_0x137d12,_0x2d7fb1){const _0x359abb=a0_0x
|
|
|
430
430
|
overflow-x: overlay;
|
|
431
431
|
background-color: var(--main-section-background-color);
|
|
432
432
|
}
|
|
433
|
-
`];}static[
|
|
433
|
+
`];}static[a0_0x3c005f(0x239)](_0x2ffebe,_0x4b14e6){const _0x51e7e8=a0_0x3c005f;return!!(_0x2ffebe?_0x2ffebe[_0x51e7e8(0x183)](_0x3aeef9=>_0x3aeef9['name']==_0x4b14e6):null);}static[a0_0x3c005f(0x185)](_0x17145d,_0x4d2fc2){const _0x2eb725=a0_0x3c005f;return!!(_0x17145d&&_0x17145d['button']?_0x17145d[_0x2eb725(0x214)]['find'](_0x14e927=>_0x14e927[_0x2eb725(0x269)]==_0x4d2fc2):null);}static[a0_0x3c005f(0x1d9)](_0x54d482){const _0x1dbcbd=a0_0x3c005f;let _0x4da211='';return _0x54d482[_0x1dbcbd(0x24a)](_0x59abab=>_0x1dbcbd(0x1e3)!=_0x59abab[_0x1dbcbd(0x27f)])['forEach'](_0x3c9627=>{const _0x4fb5f0=_0x1dbcbd;_0x4da211+='\x0a',_0x4da211+='object'==_0x3c9627[_0x4fb5f0(0x27f)]||_0x4fb5f0(0x170)==_0x3c9627['type']?_0x3c9627['name']+'\x0a{'+MetaUiUtil[_0x4fb5f0(0x175)](_0x3c9627)+'}':_0x4fb5f0(0x26f)==_0x3c9627[_0x4fb5f0(0x27f)]?_0x3c9627[_0x4fb5f0(0x269)]+_0x4fb5f0(0x1de):_0x3c9627[_0x4fb5f0(0x269)];}),_0x4da211;}static['getObjctColumnSelectFields'](_0x35555b){const _0x296a6b=a0_0x3c005f;let _0x3ac6f2='';return ValueUtil[_0x296a6b(0x25c)](_0x35555b['record'][_0x296a6b(0x215)])&&ValueUtil[_0x296a6b(0x25c)](_0x35555b[_0x296a6b(0x207)][_0x296a6b(0x215)]['select'])&&_0x35555b['record'][_0x296a6b(0x215)]['select'][_0x296a6b(0x1bf)](_0x126ab9=>{const _0x3d786e=_0x296a6b;_0x126ab9['name']&&''!==_0x126ab9[_0x3d786e(0x269)]&&(_0x3d786e(0x1d6)===_0x126ab9['type']||'resource-object'===_0x126ab9[_0x3d786e(0x27f)]?_0x3ac6f2+='\x0a'+_0x126ab9[_0x3d786e(0x269)]+_0x3d786e(0x19f)+MetaUiUtil[_0x3d786e(0x175)](_0x126ab9)+_0x3d786e(0x1d4):_0x3ac6f2+='\x0a'+_0x126ab9[_0x3d786e(0x269)]);}),''==_0x3ac6f2&&(_0x3ac6f2+=_0x296a6b(0x248)),_0x3ac6f2;}static[a0_0x3c005f(0x281)](_0x7b3e7e){const _0x41d842=a0_0x3c005f;let _0x8f6926=_0x7b3e7e[_0x41d842(0x18a)];if(_0x8f6926){let _0x4130db=_0x7b3e7e['gristId']?_0x7b3e7e[_0x41d842(0x1a6)]:_0x41d842(0x1da),_0xea4381=_0x7b3e7e[_0x41d842(0x23e)];return html`
|
|
434
434
|
<ox-grist
|
|
435
|
-
id=${
|
|
436
|
-
.config=${
|
|
437
|
-
.mode=${
|
|
435
|
+
id=${_0x4130db}
|
|
436
|
+
.config=${_0x8f6926}
|
|
437
|
+
.mode=${_0xea4381}
|
|
438
438
|
auto-fetch
|
|
439
|
-
.fetchHandler=${
|
|
440
|
-
${MetaUiUtil[
|
|
439
|
+
.fetchHandler=${_0x7b3e7e[_0x41d842(0x1d2)][_0x41d842(0x1c4)](_0x7b3e7e)}>
|
|
440
|
+
${MetaUiUtil[_0x41d842(0x268)](_0x7b3e7e)}
|
|
441
441
|
</ox-grist>
|
|
442
|
-
`;}return html``;}static[
|
|
442
|
+
`;}return html``;}static[a0_0x3c005f(0x1cd)](_0x24e5d4){const _0x593d30=a0_0x3c005f;if(!_0x24e5d4)return html``;if(!_0x24e5d4[_0x593d30(0x267)])return html``;let _0x180419=_0x24e5d4['formConfigSet'],_0x46540d=_0x24e5d4[_0x593d30(0x207)]||{},_0x25c397=_0x180419['filter'](_0x4e8af3=>0x0==_0x4e8af3['hidden']);return ValueUtil[_0x593d30(0x27d)](_0x24e5d4[_0x593d30(0x1d7)])?MetaUiUtil[_0x593d30(0x1e1)](_0x24e5d4,_0x25c397,_0x46540d):MetaUiUtil[_0x593d30(0x251)](_0x24e5d4,_0x25c397,_0x46540d);}static['getBasicFormHtmlOnOption'](_0x515edf,_0x59d5d3,_0x318867){const _0x4fbc03=a0_0x3c005f;let _0x235703=_0x515edf['formRenderConfig'];return html`
|
|
443
443
|
<div class="root_container">
|
|
444
|
-
${
|
|
444
|
+
${_0x235703[_0x4fbc03(0x1a2)](_0x4e6888=>{const _0x3ff514=_0x4fbc03;let _0x30a2cb=_0x59d5d3['filter'](_0x1bf8e6=>_0x4e6888['column_list'][_0x3ff514(0x19c)](_0x1bf8e6[_0x3ff514(0x269)])),_0x4ed180=_0x3ff514(0x163);for(let _0x577307=0x0;_0x577307<_0x4e6888[_0x3ff514(0x1d1)];_0x577307++)_0x4ed180+=_0x3ff514(0x260);return _0x4ed180+=';',html`
|
|
445
445
|
<h2>
|
|
446
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
446
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](_0x4e6888[_0x3ff514(0x24c)])}
|
|
447
447
|
</h2>
|
|
448
|
-
<div id="content_container" class="content_container" style="${
|
|
449
|
-
${
|
|
450
|
-
<label ?editable=${
|
|
451
|
-
${
|
|
448
|
+
<div id="content_container" class="content_container" style="${_0x4ed180}">
|
|
449
|
+
${_0x30a2cb[_0x3ff514(0x1a2)](_0x2499bb=>{const _0x12edf0=_0x3ff514;let {editable:_0x4c8b96=!0x1,mandatory:_0x283c23=!0x1}=_0x2499bb['record'],_0x9d3527=_0x318867[_0x12edf0(0x26a)]||{};return html`
|
|
450
|
+
<label ?editable=${_0x4c8b96}><span>${_0x283c23?'*':''}${_0x2499bb[_0x12edf0(0x25f)]}</span>
|
|
451
|
+
${_0x4c8b96?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
452
452
|
</label>
|
|
453
453
|
<ox-grid-field
|
|
454
454
|
.rowIndex=${0x0}
|
|
455
|
-
.column=${
|
|
456
|
-
.record=${
|
|
457
|
-
.value=${
|
|
458
|
-
?dirty=${!!
|
|
455
|
+
.column=${_0x2499bb}
|
|
456
|
+
.record=${_0x318867}
|
|
457
|
+
.value=${_0x318867[_0x2499bb[_0x12edf0(0x269)]]}
|
|
458
|
+
?dirty=${!!_0x9d3527[_0x2499bb[_0x12edf0(0x269)]]}
|
|
459
459
|
></ox-grid-field>
|
|
460
460
|
`;})}
|
|
461
461
|
</div>
|
|
462
462
|
`;})}
|
|
463
463
|
</div>
|
|
464
|
-
${
|
|
465
|
-
`;}static[
|
|
466
|
-
<div id="container" class="container" style="${
|
|
467
|
-
${
|
|
468
|
-
<label ?editable=${
|
|
469
|
-
${
|
|
464
|
+
${_0x515edf['isPage']?html``:MetaUiUtil[_0x4fbc03(0x245)](_0x515edf)}
|
|
465
|
+
`;}static[a0_0x3c005f(0x1e1)](_0x3ce5b1,_0x520686,_0x4be01e){const _0x282f56=a0_0x3c005f;let _0x1097ef=_0x282f56(0x22b);_0x3ce5b1[_0x282f56(0x1d1)]&&0x0!=_0x3ce5b1[_0x282f56(0x1d1)]||(_0x3ce5b1[_0x282f56(0x1d1)]=0x1);for(let _0x1e3ef6=0x0;_0x1e3ef6<_0x3ce5b1[_0x282f56(0x1d1)];_0x1e3ef6++)_0x1097ef+=_0x282f56(0x260);return _0x1097ef+=';',html`
|
|
466
|
+
<div id="container" class="container" style="${_0x1097ef}">
|
|
467
|
+
${_0x520686[_0x282f56(0x1a2)](_0x646b3c=>{const _0x342337=_0x282f56;let {editable:_0x288cfc=!0x1,mandatory:_0x440fdc=!0x1}=_0x646b3c['record'],_0x11c04c=_0x4be01e[_0x342337(0x26a)]||{};return html`
|
|
468
|
+
<label ?editable=${_0x288cfc}><span>${_0x440fdc?'*':''}${_0x646b3c[_0x342337(0x25f)]}</span>
|
|
469
|
+
${_0x288cfc?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
470
470
|
</label>
|
|
471
471
|
<ox-grid-field
|
|
472
472
|
.rowIndex=${0x0}
|
|
473
|
-
.column=${
|
|
474
|
-
.record=${
|
|
475
|
-
.value=${
|
|
476
|
-
?dirty=${!!
|
|
473
|
+
.column=${_0x646b3c}
|
|
474
|
+
.record=${_0x4be01e}
|
|
475
|
+
.value=${_0x4be01e[_0x646b3c[_0x342337(0x269)]]}
|
|
476
|
+
?dirty=${!!_0x11c04c[_0x646b3c['name']]}
|
|
477
477
|
></ox-grid-field>
|
|
478
478
|
`;})}
|
|
479
479
|
</div>
|
|
480
|
-
${
|
|
481
|
-
`;}static[
|
|
480
|
+
${_0x3ce5b1[_0x282f56(0x1b4)]?html``:MetaUiUtil[_0x282f56(0x245)](_0x3ce5b1)}
|
|
481
|
+
`;}static[a0_0x3c005f(0x21b)](_0x2fd676){const _0x39cb74=a0_0x3c005f;if(!_0x2fd676)return html``;if(!_0x2fd676[_0x39cb74(0x284)])return html``;let _0x66c7a8=_0x2fd676[_0x39cb74(0x284)];return _0x2fd676[_0x39cb74(0x277)]||(_0x2fd676[_0x39cb74(0x277)]=_0x66c7a8[0x0]?.['name']||void 0x0),html`
|
|
482
482
|
<div class="tabs">
|
|
483
|
-
${
|
|
484
|
-
<div class="tab" ?activate="${
|
|
485
|
-
${
|
|
486
|
-
<span>${
|
|
483
|
+
${_0x66c7a8[_0x39cb74(0x1a2)](_0x10c4d7=>{const _0x3d8297=_0x39cb74;let _0x2160f0=TermsUtil['tLabel'](_0x10c4d7[_0x3d8297(0x24c)]),_0x5f357a=_0x10c4d7[_0x3d8297(0x269)];return html`
|
|
484
|
+
<div class="tab" ?activate="${_0x5f357a===_0x2fd676[_0x3d8297(0x277)]}" @click="${()=>_0x2fd676[_0x3d8297(0x277)]=_0x5f357a}">
|
|
485
|
+
${_0x10c4d7[_0x3d8297(0x1b5)]?html`<mwc-icon>${_0x10c4d7['icon']}</mwc-icon>`:html``}
|
|
486
|
+
<span>${_0x2160f0}</span>
|
|
487
487
|
</div>
|
|
488
488
|
`;})}
|
|
489
489
|
</div>
|
|
490
490
|
<div class="content-container">
|
|
491
|
-
${
|
|
492
|
-
<div class='tab-contents' style="${
|
|
493
|
-
${MetaUiUtil[
|
|
491
|
+
${_0x66c7a8[_0x39cb74(0x1a2)](_0x5a51df=>{const _0xa9423e=_0x39cb74;let _0x5b8768=_0xa9423e(0x167);return _0x5a51df[_0xa9423e(0x269)]==_0x2fd676[_0xa9423e(0x277)]&&(_0x5b8768=_0xa9423e(0x1ef)),html`
|
|
492
|
+
<div class='tab-contents' style="${_0x5b8768}">
|
|
493
|
+
${MetaUiUtil['getBasicTabContent'](_0x2fd676,_0x5a51df)}
|
|
494
494
|
</div>
|
|
495
495
|
`;})}
|
|
496
496
|
</div>
|
|
497
|
-
`;}static[
|
|
498
|
-
${0x0==
|
|
497
|
+
`;}static[a0_0x3c005f(0x1e7)](_0x36dce0){const _0x5d12e8=a0_0x3c005f;let _0x314878=_0x36dce0[_0x5d12e8(0x198)][_0x5d12e8(0x192)]||_0x5d12e8(0x1dc),_0x14c1ed=_0x36dce0[_0x5d12e8(0x198)][_0x5d12e8(0x208)]||'50%\x2050%',_0x215bf2='left_right'==_0x314878?_0x5d12e8(0x22b)+_0x14c1ed+';':'grid-template-rows:'+_0x14c1ed+';',_0x3b0aa6=_0x36dce0[_0x5d12e8(0x1b4)]?UiUtil['currentRouting']():_0x36dce0[_0x5d12e8(0x237)];return html`
|
|
498
|
+
${0x0==_0x36dce0['useMasterFilterForm']?html``:html`
|
|
499
499
|
<div slot="headroom">
|
|
500
500
|
<div id="filters">
|
|
501
501
|
<ox-filters-form-base
|
|
502
502
|
id='ox-filters-form'
|
|
503
|
-
.filters=${
|
|
504
|
-
@filters-change=${
|
|
503
|
+
.filters=${_0x36dce0['searchFields']||[]}
|
|
504
|
+
@filters-change=${_0x2f10d4=>{const _0x379699=_0x5d12e8;_0x36dce0[_0x379699(0x1aa)]?.[_0x379699(0x1ac)]();}}
|
|
505
505
|
></ox-filters-form-base>
|
|
506
506
|
</div>
|
|
507
507
|
</div>
|
|
508
508
|
`}
|
|
509
|
-
<div id="container" class="container" style="${
|
|
509
|
+
<div id="container" class="container" style="${_0x215bf2}">
|
|
510
510
|
<div class="container_detail">
|
|
511
|
-
${MetaApi[
|
|
512
|
-
${MetaUiUtil[
|
|
511
|
+
${MetaApi[_0x5d12e8(0x281)](_0x36dce0)}
|
|
512
|
+
${MetaUiUtil[_0x5d12e8(0x245)](_0x36dce0)}
|
|
513
513
|
</div>
|
|
514
514
|
<div class="container_detail">
|
|
515
|
-
<meta-tab-element id="detail" route_name="${
|
|
515
|
+
<meta-tab-element id="detail" route_name="${_0x3b0aa6}" is_detail=true></meta-tab-element>
|
|
516
516
|
</div>
|
|
517
517
|
</div>
|
|
518
|
-
`;}static[
|
|
519
|
-
${0x0==
|
|
518
|
+
`;}static[a0_0x3c005f(0x1c1)](_0xc5d1a9){const _0x30f578=a0_0x3c005f;let _0x2c50a3=_0xc5d1a9['etcConfig'][_0x30f578(0x192)]||_0x30f578(0x1dc),_0x57fda9=_0xc5d1a9[_0x30f578(0x198)]['master_detail_size']||_0x30f578(0x1f3),_0x35dd22=_0xc5d1a9['etcConfig'][_0x30f578(0x1cf)],_0x484f61=JSON[_0x30f578(0x1a1)](_0x35dd22||'{}'),_0x4e7355=_0x30f578(0x1b7)==_0x2c50a3?_0x30f578(0x22b)+_0x57fda9+';':_0x30f578(0x1d3)+_0x57fda9+';';return _0xc5d1a9[_0x30f578(0x25b)](_0x484f61),html`
|
|
519
|
+
${0x0==_0xc5d1a9[_0x30f578(0x212)]?html``:html`
|
|
520
520
|
<div slot="headroom">
|
|
521
521
|
<div id="filters">
|
|
522
522
|
<ox-filters-form-base
|
|
523
523
|
id='ox-filters-form'
|
|
524
|
-
.filters=${
|
|
525
|
-
@filters-change=${
|
|
524
|
+
.filters=${_0xc5d1a9[_0x30f578(0x217)]||[]}
|
|
525
|
+
@filters-change=${_0x19bcaa=>{const _0x428cc4=_0x30f578;_0xc5d1a9[_0x428cc4(0x1aa)]?.['fetch']();}}
|
|
526
526
|
></ox-filters-form-base>
|
|
527
527
|
</div>
|
|
528
528
|
</div>
|
|
529
529
|
`}
|
|
530
|
-
<div id="container" class="container" style="${
|
|
530
|
+
<div id="container" class="container" style="${_0x4e7355}">
|
|
531
531
|
<div class="container_detail">
|
|
532
|
-
${MetaApi[
|
|
533
|
-
${MetaUiUtil[
|
|
532
|
+
${MetaApi[_0x30f578(0x281)](_0xc5d1a9)}
|
|
533
|
+
${MetaUiUtil['getButtonContainer'](_0xc5d1a9)}
|
|
534
534
|
</div>
|
|
535
535
|
<div class="container_detail">
|
|
536
|
-
${''==
|
|
537
|
-
${
|
|
536
|
+
${''==_0x484f61[_0x30f578(0x1f8)]||''==_0x484f61[_0x30f578(0x1f8)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x484f61[_0x30f578(0x24c)])}</h2>`}
|
|
537
|
+
${_0xc5d1a9['detailElement']}
|
|
538
538
|
</div>
|
|
539
539
|
</div>
|
|
540
|
-
`;}static['getBasicTabContent'](
|
|
540
|
+
`;}static['getBasicTabContent'](_0xcc3497,_0xb63f7a){const _0x33820e=a0_0x3c005f;if(_0xcc3497[_0x33820e(0x21c)]||(_0xcc3497[_0x33820e(0x21c)]={}),Object[_0x33820e(0x270)](_0xcc3497[_0x33820e(0x21c)])['filter'](_0x55af9c=>_0x55af9c==_0xb63f7a[_0x33820e(0x269)])[_0x33820e(0x17d)]>0x0)return _0xcc3497['tabElements'][_0xb63f7a[_0x33820e(0x269)]];let _0x5538c3='<'+_0xb63f7a[_0x33820e(0x1f8)]+_0x33820e(0x1ce)+_0xb63f7a['name']+_0x33820e(0x1ba)+_0xb63f7a['menu']+_0x33820e(0x25a)+_0xb63f7a[_0x33820e(0x1f8)]+'>',_0x5bebdb=UiUtil[_0x33820e(0x1cc)](_0x5538c3);return _0xcc3497[_0x33820e(0x225)]&&(_0x5bebdb[_0x33820e(0x225)]=_0xcc3497[_0x33820e(0x225)]),_0xcc3497[_0x33820e(0x21c)][_0xb63f7a[_0x33820e(0x269)]]=_0x5bebdb,_0x5bebdb;}static[a0_0x3c005f(0x268)](_0x4f4669){const _0x475f5f=a0_0x3c005f;let _0x167f82=_0x4f4669[_0x475f5f(0x24b)],_0x2c8c06=_0x4f4669[_0x475f5f(0x221)],_0x3708fb=_0x4f4669[_0x475f5f(0x1f2)],_0x101cef=JSON['parse']((_0x4f4669['etcConfig']||{})[_0x475f5f(0x1a9)]||_0x475f5f(0x190));return 0x0==_0x2c8c06?html`
|
|
541
541
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
542
|
-
${this['getGridColumnPersonalizeButton'](
|
|
542
|
+
${this['getGridColumnPersonalizeButton'](_0x4f4669)}
|
|
543
543
|
</div>
|
|
544
544
|
`:html`
|
|
545
545
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
546
546
|
<div slot="headroom">
|
|
547
547
|
<div id="filters"><ox-filters-form></ox-filters-form></div>
|
|
548
|
-
${
|
|
548
|
+
${_0x101cef?html`
|
|
549
549
|
<div id="sorters">
|
|
550
|
-
<mwc-icon @click=${
|
|
550
|
+
<mwc-icon @click=${_0x3d601e=>{const _0x1e4327=_0x475f5f,_0x17246e=_0x3d601e['currentTarget'];_0x17246e[_0x1e4327(0x16b)][_0x1e4327(0x1af)]({'right':0x0,'top':_0x17246e[_0x1e4327(0x272)]+_0x17246e[_0x1e4327(0x271)]});}}
|
|
551
551
|
>sort</mwc-icon>
|
|
552
552
|
<ox-popup id="sorter-control">
|
|
553
553
|
<ox-sorters-control></ox-sorters-control>
|
|
554
554
|
</ox-popup>
|
|
555
555
|
</div>
|
|
556
556
|
`:html``}
|
|
557
|
-
${MetaUiUtil[
|
|
557
|
+
${MetaUiUtil[_0x475f5f(0x20f)](_0x4f4669)}
|
|
558
558
|
<ox-record-creator
|
|
559
559
|
id="add"
|
|
560
|
-
?hidden="${!
|
|
561
|
-
.callback=${
|
|
560
|
+
?hidden="${!_0x167f82}"
|
|
561
|
+
.callback=${_0x3708fb}>
|
|
562
562
|
<button>
|
|
563
563
|
<mwc-icon>add</mwc-icon>
|
|
564
564
|
</button>
|
|
565
565
|
</ox-record-creator>
|
|
566
566
|
</div>
|
|
567
|
-
${this[
|
|
567
|
+
${this[_0x475f5f(0x23f)](_0x4f4669)}
|
|
568
568
|
</div>
|
|
569
|
-
`;}static[
|
|
569
|
+
`;}static[a0_0x3c005f(0x23f)](_0x1764d1){const _0x14bb7d=a0_0x3c005f;return'GRID'!=_0x1764d1[_0x14bb7d(0x23e)]?html``:html`
|
|
570
570
|
<div id="grist-personal">
|
|
571
|
-
<mwc-icon @click=${
|
|
571
|
+
<mwc-icon @click=${_0x1694c1=>{const _0x4b70e2=_0x14bb7d;let _0x4a2bfe=MetaApi['createCustomElement']('personal-column-selector','personal-column-selector');_0x4a2bfe[_0x4b70e2(0x257)]=_0x1694c1[_0x4b70e2(0x1bc)][_0x4b70e2(0x186)][_0x4b70e2(0x186)][_0x4b70e2(0x186)],_0x4a2bfe['menuId']=_0x1764d1['menuId'],MetaApi[_0x4b70e2(0x22a)](TermsUtil['tTitle'](_0x4b70e2(0x1c5)),'midium',_0x4a2bfe,!0x1);}}
|
|
572
572
|
>tune</mwc-icon>
|
|
573
573
|
</div>
|
|
574
|
-
`;}static[
|
|
574
|
+
`;}static[a0_0x3c005f(0x20f)](_0x3fbdeb){const _0x2ae161=a0_0x3c005f;return ValueUtil[_0x2ae161(0x27d)](_0x3fbdeb[_0x2ae161(0x254)])||0x1==_0x3fbdeb[_0x2ae161(0x254)][_0x2ae161(0x17d)]?html``:html`
|
|
575
575
|
<div id="modes">
|
|
576
|
-
${
|
|
577
|
-
${
|
|
578
|
-
${
|
|
576
|
+
${_0x3fbdeb[_0x2ae161(0x254)][_0x2ae161(0x19c)]('GRID')?html`<mwc-icon @click="${()=>_0x3fbdeb[_0x2ae161(0x23e)]=_0x2ae161(0x17f)}" ?active="${'GRID'==_0x3fbdeb[_0x2ae161(0x23e)]}">grid_on</mwc-icon>`:''}
|
|
577
|
+
${_0x3fbdeb[_0x2ae161(0x254)][_0x2ae161(0x19c)]('LIST')?html`<mwc-icon @click="${()=>_0x3fbdeb[_0x2ae161(0x23e)]=_0x2ae161(0x25e)}" ?active="${_0x2ae161(0x25e)==_0x3fbdeb[_0x2ae161(0x23e)]}">format_list_bulleted</mwc-icon>`:''}
|
|
578
|
+
${_0x3fbdeb[_0x2ae161(0x254)][_0x2ae161(0x19c)](_0x2ae161(0x1fd))?html`<mwc-icon @click="${()=>_0x3fbdeb[_0x2ae161(0x23e)]=_0x2ae161(0x1fd)}" ?active="${'CARD'==_0x3fbdeb[_0x2ae161(0x23e)]}">apps</mwc-icon>`:''}
|
|
579
579
|
</div>
|
|
580
|
-
`;}static[
|
|
580
|
+
`;}static[a0_0x3c005f(0x245)](_0x2ce677){return html`<div id="button-container" class="button-container">${MetaUiUtil['getContainerButtons'](_0x2ce677)}</div>`;}}
|