@things-factory/meta-ui 6.0.129 → 6.0.131
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 +6 -4
- package/client/component/filter/filter-form-resource-code-select.js +9 -9
- package/client/component/filter/filter-grist-resource-code-select.js +10 -10
- package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
- package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
- package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
- package/client/index.js +4 -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-main-tab-mixin.js +1 -0
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +7 -7
- package/client/pages/history/history-copy-list-popup.js +5 -5
- 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 +7 -7
- 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-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -0
- package/client/pages/meta-main-tab-page.js +1 -0
- 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-detail-element.js +1 -1
- package/client/pages/meta-tab-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/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- 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 +127 -96
- package/client/utils/service-util.js +13 -13
- 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 +11 -11
- 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 +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- 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/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x4be9,_0x396df7=_0x227071();while(!![]){try{const _0x49c028=-parseInt(_0x23b281(0x20a))/0x1+parseInt(_0x23b281(0x20f))/0x2*(parseInt(_0x23b281(0x211))/0x3)+parseInt(_0x23b281(0x191))/0x4*(parseInt(_0x23b281(0x1e0))/0x5)+parseInt(_0x23b281(0x284))/0x6*(parseInt(_0x23b281(0x1fa))/0x7)+parseInt(_0x23b281(0x204))/0x8*(-parseInt(_0x23b281(0x159))/0x9)+-parseInt(_0x23b281(0x271))/0xa+parseInt(_0x23b281(0x1be))/0xb*(parseInt(_0x23b281(0x183))/0xc);if(_0x49c028===_0xde0552)break;else _0x396df7['push'](_0x396df7['shift']());}catch(_0x208bdd){_0x396df7['push'](_0x396df7['shift']());}}}(a0_0x2990,0xca2f9));import a0_0x3c7a27 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x20a3c0 from'moment-timezone';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';function a0_0x2990(){const _0x13fd5f=['gutter','url','getQueryFilters','label','push','use_row_checker','createDetailElement','detail','getMainTabHtml','pageNavigate','map','editable','activityDataSet','select','unlimited','isButtonExist','fetch','getGridOptionSet','\x20id=\x27','meta-tab-detail-','column_list','getGridColumnSet','etcConfig','786145xoLZgg','text.button_bind_func_is_not_exist','text.nothing_selected','master_detail_size','pages/hgistory/history-copy-list-popup.js','header_txt','text.please_select_only_one','useButtonImport','button','tError','<mwc-button\x20label=\x22','title.info','routing','searchFieldValues','display','popup','gristButtonPassParam','add','grid_column','pass_field','history-copy-list-popup','height:auto;grid-template-columns:','row','row-selector','getCodeSelectorData','model','4213013GOXHzD','is_activity','getGristSelectableConfig','find','toLowerCase','isGridButtonExist','route_name','meta-form-element','useButtonAdd','getButtonActionHandler','12230608xXeSpG','getBasicTabContent','getCodeByScenario','menu','createMasterElement','gridMobileMode','567258fSNdYQ','keys','header','useButtonExport','open_param','1891410gYuneh','tMenu','3EBooHX','htmlToElement','compareObjectValues','today','searchByPagination','createCustomElement','args','tText','getContextButtons','formRenderConfig','use_filter_form','getContainerButtons','sorters','hidden','sort','GRID','open','shadowRoot','\x0aid\x0aname\x0adescription','menus','master_detail_element','findMenuGridPersnalTemplate','buttonConfig','tabRenderConfig','getBasicTabHtml','searchFields','useMasterFilterForm','\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','master','page','confirm','gridConfig','subtract','getGridRowSet','options','ox-grist','getGridListSet','tTitle','multiple','logic','grist','openPopupByElement','getBasicTabStyles','info','replace','YYYY-MM-DD','is_activity=true','isPage','name','parent_field','text.grid_data_is_empty','getBasicMasterDetailStyles','assign','showAlertPopup','param_field','formConfigSet','grid-template-columns:','getBasicGristHtml','getButtonContainer','setGridColumnSearchOption','parseGridConfigSet','\x20is_detail=true></','entity','recordCreationCallback','handlers','\x20\x0a\x20}','configGrist','tagName','getGridColumnPersonalizeButton','left','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','invalid\x20license\x20key','grist_selected','error','default_form_column','width','rank','\x20{\x20','dec','metaUI','resource-object','getBasicFormStyles','isMobileEnv','list','pages/hgistory/history-json-list-popup.js','getBasicFormHtml','\x20id=\x22','length','onclick','getGristSearchCodeColumnConfig','left_right','filters','\x27\x20route_name=\x27','getGridButtonSet','midium','value_is_not_exist','10331910yjKltz','parseFormConfigSet','getGridViewOption','forEach','template','string','codes','getMasterDetailLeftRightGristStyle','detailElement','large','value','pages/meta-form-element.js','top-down','getGristColumnConfig2','gristId','menuInfo','getGristGuttersConfig','querySelector','\x22\x20route_name=\x22','12PYzTvx','indexOf','emphasis','startsWith','getState','basicArgs','display:flex','getParams','records','masterElement','includeMainList','use_grid_sort_button','createButtonElement','errors','basic','code','split','setParentId','CARD','commonButtonCallScenario','bind','day','column','filter','floor','tagname','gridMode','tButton','getCustomButtonContainerStyles','gristButtonHandler','data','defaultPageConfig','grist_all','findMenuMeta','menuId','\x27\x20style=\x22flex:1;\x22\x20','includes','getMasterDetailTopDownGristStyle','9lroOoK','type','getBasicMasterDetailGristStyle','getBasicGristPageProperties','getContextObject','help','callScenario','outlined','import','relation','infinityPage','parse','title','getGridDetailHtml','grid','getGristEmphasizedStyles','isEmpty','getSelectColumns','top_bottom','meta-grist-tab-','parent_id','dispField','isArray','currentTarget','is_readonly','self','gristButtonValueReference','is_readonly=true','config','rootElement','getGristSearchColumnConfig','tabElements','nextElementSibling','selected','__dirtyfields__','commonButtonOpenPopup','getGristColumnConfig3','getBasicFormHtmlNoOption','\x0a{\x0aid\x0aname\x0athumbnail}','getBasicGristTabStyles','formColumnConfig','format','16035816Wrehai','getMasterDetailHtml','main_filter_form','grist_one','title_detail','icon','getTabDetailHtml','meta-tab-','imex','raised','getCodeByEntity','currentRouting','<meta-tab-element\x20id=\x22','gridDeskMode','12Wlzkad','filter_from','\x20is_detail=true\x20style=\x22flex:1;\x22></','gridViewOptions','useFilterForm','findMenuMetaByRouting','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','title.warning','personal-column-selector','value_reference','object','data_history_list','dispatchEvent','resource-code-selector','history_json','filterForm','location','after','importable','getBasicFormHtmlOnOption','history_copy','isNotEmpty','getGristPersonalizedStyles','50%\x2050%','export','result_name','getObjctColumnSelectFields','record','master_detail_type','parentElement','selectable','option','text.search_form_is_not_exist','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','LIST','scenario','meta-tab-element','grid-template-rows:','danger','desc','\x201fr\x202fr','openDynamicPopup','gqlInfo','currentTabKey','gristConfigSet','11bGPIYJ','getGristPaginationCustomConfig','tLabel','service','\x22\x20name=\x22','customButtonHandler','id,template','mainFilterForm','values','pages','dense'];a0_0x2990=function(){return _0x13fd5f;};return a0_0x2990();}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';function a0_0x4be9(_0x46ed3f,_0x498821){const _0x299096=a0_0x2990();return a0_0x4be9=function(_0x4be92e,_0x2f7c91){_0x4be92e=_0x4be92e-0x148;let _0x543622=_0x299096[_0x4be92e];return _0x543622;},a0_0x4be9(_0x46ed3f,_0x498821);}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';export class MetaUiUtil{static async[a0_0x5393c2(0x154)](_0x4cb849){const _0xfc2785=a0_0x5393c2;let _0x44632c=await ServiceUtil['findOne'](_0xfc2785(0x207),_0x4cb849,_0xfc2785(0x275));if(!_0x44632c)throw new Error(TermsUtil['tText'](_0xfc2785(0x270),{'value':TermsUtil[_0xfc2785(0x210)](_0xfc2785(0x207))+'\x20'+_0x4cb849}));if(!_0x44632c[_0xfc2785(0x275)])throw new Error(TermsUtil['tText'](_0xfc2785(0x270),{'value':TermsUtil['tMenu']('menu')+'\x20'+TermsUtil[_0xfc2785(0x1c0)](_0xfc2785(0x1f9))}));return this['menuId']=_0x4cb849,JSON[_0xfc2785(0x164)](_0x44632c[_0xfc2785(0x275)]);}static async[a0_0x5393c2(0x196)](_0x468809,_0x23415a){const _0x1ada25=a0_0x5393c2;if((await client['query']({'query':a0_0x3c7a27`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))['errors'])return;let _0x155cbb,_0xde4d62=[{'name':'routing','operator':'eq','value':_0x470bdf}],_0x213b8c=await ServiceUtil[_0x58aff4(0x16c)](_0x58aff4(0x21c),_0xde4d62,null,0x0,0x0,_0x58aff4(0x101));if(_0x213b8c&&_0x213b8c[_0x58aff4(0xde)]&&0x0!=_0x213b8c[_0x58aff4(0xde)][_0x58aff4(0x188)]?(_0x155cbb=_0x213b8c[_0x58aff4(0xde)][0x0],!_0x155cbb[_0x58aff4(0x160)]&&_0x177071[_0x58aff4(0x123)]&&(_0x155cbb[_0x58aff4(0x160)]=_0x177071[_0x58aff4(0x123)])):_0x177071[_0x58aff4(0x123)]&&(_0x155cbb={'id':_0x470bdf,'template':_0x177071[_0x58aff4(0x123)]}),!_0x155cbb)throw new Error(TermsUtil['tText'](_0x58aff4(0x11b),{'value':TermsUtil['tMenu'](_0x58aff4(0x216))+'\x20'+_0x470bdf}));if(!_0x155cbb[_0x58aff4(0x160)])throw new Error(TermsUtil[_0x58aff4(0xf3)](_0x58aff4(0x11b),{'value':TermsUtil[_0x58aff4(0x118)](_0x58aff4(0x216))+'\x20'+TermsUtil['tLabel']('model')}));return this[_0x58aff4(0xd2)]=_0x155cbb['id'],JSON[_0x58aff4(0x1c5)](MetaCrypto[_0x58aff4(0x12e)](_0x155cbb[_0x58aff4(0x160)]));}static[a0_0x1941d6(0x169)](){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':_0x1d42cc=>Boolean(_0x1d42cc)},'is_popup':{'type':Boolean,'converter':_0x2d9bb0=>Boolean(_0x2d9bb0)},'is_activity':{'type':Boolean,'converter':_0x43e056=>Boolean(_0x43e056)},'is_readonly':{'type':Boolean,'converter':_0x5957b3=>Boolean(_0x5957b3)}};}static async['getMenuMeta'](_0x26e20c){const _0xc53a3c=a0_0x1941d6;if(0x0==store[_0xc53a3c(0x204)]()[_0xc53a3c(0x18c)][_0xc53a3c(0x1b3)])return void document[_0xc53a3c(0x158)](new CustomEvent(_0xc53a3c(0xfb),{'detail':{'level':'error','message':TermsUtil[_0xc53a3c(0x20c)](_0xc53a3c(0xeb))}}));let _0x3589b7=_0x26e20c[_0xc53a3c(0x14f)]?UiUtil[_0xc53a3c(0xe6)]():_0x26e20c[_0xc53a3c(0x14b)];_0x26e20c[_0xc53a3c(0xe6)]=_0x3589b7;let _0x801504=await MetaUiUtil['findMenuMetaByRouting'](_0x26e20c,_0x3589b7);return!0x0===_0x26e20c[_0xc53a3c(0x16e)]&&(_0x801504['grid'][_0xc53a3c(0x11d)][_0xc53a3c(0x1e2)]=!0x1,_0x801504[_0xc53a3c(0x1a4)]['option']['pages']=_0xc53a3c(0xee),_0x801504[_0xc53a3c(0x1a4)][_0xc53a3c(0x17f)]=!0x1,_0x801504['grid']['button']=[],_0x801504[_0xc53a3c(0x189)]=_0x801504['button'][_0xc53a3c(0x197)](_0x456d85=>'add'==_0x456d85['name'])),!0x0===_0x26e20c[_0xc53a3c(0x130)]&&(_0x801504[_0xc53a3c(0x20d)][_0xc53a3c(0x155)](_0x498ed6=>{const _0x340ee2=_0xc53a3c;_0x498ed6[_0x340ee2(0x1cc)]=!0x1;}),_0x801504['button']=_0x801504[_0xc53a3c(0x189)][_0xc53a3c(0x197)](_0x37920c=>_0xc53a3c(0x132)!=_0x37920c['name'])),!0x1===_0x26e20c[_0xc53a3c(0x17f)]&&(_0x801504['grid']['use_filter_form']=!0x1),_0x801504;}static[a0_0x1941d6(0x170)](..._0x36b79f){return{'pages':_0x36b79f};}static[a0_0x1941d6(0x131)](_0x5c0148,_0x43c913){const _0x5e2ad5=a0_0x1941d6;let _0x271580=[{'type':_0x5e2ad5(0x21b),'gutterName':'dirty'},{'type':_0x5e2ad5(0x21b),'gutterName':_0x5e2ad5(0x207)}];return _0x5c0148&&_0x271580['push']({'type':_0x5e2ad5(0x21b),'gutterName':'row-selector','multiple':_0x43c913}),_0x271580;}static[a0_0x1941d6(0x139)](_0x20051d){return{'selectable':{'multiple':_0x20051d}};}static async[a0_0x1941d6(0xd7)](_0x20e33d){const _0x2ca24b=a0_0x1941d6;let _0x534257=MetaUiUtil[_0x2ca24b(0xe8)](_0x20e33d),_0x5ecc6a=MetaUiUtil['getGridListSet'](_0x20e33d),_0x25ed68=MetaUiUtil[_0x2ca24b(0x1cf)](_0x20e33d),_0x3cfd6f=MetaUiUtil['getGridButtonSet'](_0x20e33d),_0xc9dbfb=await MetaUiUtil[_0x2ca24b(0x1f6)](_0x20e33d),_0x45cf9e=MetaUiUtil[_0x2ca24b(0x131)](_0x534257[_0x2ca24b(0x1e2)],_0x25ed68[_0x2ca24b(0x100)][_0x2ca24b(0x11f)]);return 0x1==_0x20e33d[_0x2ca24b(0x1eb)]&&(_0xc9dbfb=MetaUiUtil[_0x2ca24b(0x1ae)](_0x20e33d,_0xc9dbfb)),{'list':_0x5ecc6a,'pagination':_0x534257[_0x2ca24b(0xda)],'sorters':_0x534257[_0x2ca24b(0x107)],'rows':_0x25ed68,'columns':[..._0x45cf9e,..._0x3cfd6f,..._0xc9dbfb]};}static async['parseFormConfigSet'](_0x1d61e4){const _0x3a719f=a0_0x1941d6;let _0x25408c=_0x1d61e4[_0x3a719f(0x13e)],_0x4fa988=[];for(let _0x1dcc43=0x0;_0x1dcc43<_0x25408c[_0x3a719f(0x188)];_0x1dcc43++){let {type:_0x5a8f56='string',name:_0x58deff,header:_0x4fa16d,hidden:_0x5ece67=!0x1,editable:_0x4661d7=!0x0,mandatory:_0x1a8d30=!0x1,align:_0x4315cb='left',select_opt:_0x4a5bcf,object_opt:_0x31e5cc}=_0x25408c[_0x1dcc43],_0x4438bf={'type':_0x5a8f56,'name':_0x58deff,'header_txt':ValueUtil[_0x3a719f(0x1dc)](_0x4fa16d)?TermsUtil[_0x3a719f(0x1cd)](_0x58deff):TermsUtil[_0x3a719f(0x1cd)](_0x4fa16d),'header':{'renderer':function(_0x3a4f60){const _0x4c4772=_0x3a719f;return _0x3a4f60[_0x4c4772(0xf7)];}},'hidden':_0x5ece67,'record':{'editable':_0x4661d7,'mandatory':_0x1a8d30,'align':_0x4315cb,'classifier':function(){},'renderer':getRenderer(_0x5a8f56)}};_0x4661d7&&(_0x4438bf[_0x3a719f(0xd5)]['editor']=getEditor(_0x5a8f56)),_0x3a719f(0x105)===_0x5a8f56&&ValueUtil[_0x3a719f(0x12a)](_0x4a5bcf)?Array['isArray'](_0x4a5bcf)?_0x4438bf[_0x3a719f(0xd5)][_0x3a719f(0x12c)]=_0x4a5bcf:_0x3a719f(0x196)===_0x4a5bcf[_0x3a719f(0x10f)]?_0x4438bf[_0x3a719f(0xd5)][_0x3a719f(0x12c)]=await ServiceUtil[_0x3a719f(0x199)](_0x4a5bcf[_0x3a719f(0x1ba)]?_0x4a5bcf[_0x3a719f(0x1ba)]:_0x4a5bcf[_0x3a719f(0x1df)]):_0x3a719f(0x1a1)===_0x4a5bcf[_0x3a719f(0x10f)]?_0x4438bf[_0x3a719f(0xd5)][_0x3a719f(0x12c)]=await ServiceUtil['getCodeByScenario'](_0x4a5bcf['name'],_0x4a5bcf[_0x3a719f(0x108)]):_0x3a719f(0x14a)===_0x4a5bcf['type']&&(_0x4438bf['record']['options']=await ServiceUtil[_0x3a719f(0x208)](_0x4a5bcf['args'])):_0x3a719f(0x13a)!==_0x5a8f56&&'resource-object'!==_0x5a8f56||!ValueUtil[_0x3a719f(0x12a)](_0x31e5cc)?_0x3a719f(0x10e)===_0x5a8f56&&ValueUtil[_0x3a719f(0x12a)](_0x31e5cc)&&(_0x4438bf[_0x3a719f(0xd5)][_0x3a719f(0x12c)]=_0x31e5cc,_0x31e5cc[_0x3a719f(0x1bd)]&&(_0x4438bf['record']['options'][_0x3a719f(0x129)]=await ServiceUtil['getCodeByEntity'](_0x31e5cc))):(_0x31e5cc['select']&&_0x31e5cc[_0x3a719f(0x105)][_0x3a719f(0x155)](_0xfe4794=>{const _0x390a89=_0x3a719f;_0xfe4794['header']||(_0xfe4794[_0x390a89(0x1fe)]=_0xfe4794['name']),_0xfe4794[_0x390a89(0x1fe)]=TermsUtil[_0x390a89(0x1cd)](_0xfe4794[_0x390a89(0x1fe)]);}),_0x4438bf[_0x3a719f(0xd5)]['options']=_0x31e5cc),_0x4fa988[_0x3a719f(0x1c8)](_0x4438bf);}return _0x4fa988;}static[a0_0x1941d6(0xe8)](_0x2ca750){const _0x13cc89=a0_0x1941d6;let _0x3eba97=_0x2ca750['gridConfig'];_0x2ca750[_0x13cc89(0x1eb)]=!_0x3eba97||null==_0x3eba97[_0x13cc89(0x17f)]||_0x3eba97[_0x13cc89(0x17f)];let {mobile_mode:_0x2fe4cc='LIST',desk_mode:_0x49df76='GRID',view_mode:_0x2355a2=[],use_row_checker:_0x263952=!0x0,sorters:_0x3a94a9=[],pages:_0x111710=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x13cc89(0x1dc)](_0x3eba97[_0x13cc89(0x11d)])?{}:_0x3eba97[_0x13cc89(0x11d)];return _0x13cc89(0xee)===_0x111710||'-1'===_0x111710?(_0x2ca750['infinityPage']=!0x0,_0x111710={'infinite':!0x0}):(_0x2ca750[_0x13cc89(0x113)]=!0x1,_0x111710[_0x13cc89(0x128)](function(_0x5988d3,_0x17db89){return _0x5988d3-_0x17db89;}),_0x111710={'pages':_0x111710}),ValueUtil[_0x13cc89(0x12a)](_0x2355a2)&&(0x1==_0x2355a2[_0x13cc89(0x188)]?(_0x49df76=_0x2355a2[0x0],_0x2fe4cc=_0x2355a2[0x0]):_0x2355a2[_0x13cc89(0x188)]>=0x2&&(_0x2355a2[_0x13cc89(0x195)](_0x2fe4cc)||(_0x2fe4cc=_0x2355a2[0x1]),_0x2355a2[_0x13cc89(0x195)](_0x49df76)||(_0x49df76=_0x2355a2[0x0]))),_0x2ca750['gridMobileMode']=_0x2fe4cc,_0x2ca750['gridDeskMode']=_0x49df76,_0x2ca750['gridViewOptions']=_0x2355a2,_0x2ca750[_0x13cc89(0x1bf)]=UiUtil[_0x13cc89(0x138)]()?_0x2ca750[_0x13cc89(0x1f7)]:_0x2ca750[_0x13cc89(0x15b)],{'use_row_checker':_0x263952,'sorters':_0x3a94a9,'pages':_0x111710};}static[a0_0x1941d6(0xdc)](_0x39a8e8){const _0xf05a89=a0_0x1941d6;let _0x51b5dd={'fields':[ValueUtil[_0xf05a89(0x156)](_0x39a8e8[_0xf05a89(0x134)],_0xf05a89(0x1df)),ValueUtil['getParams'](_0x39a8e8[_0xf05a89(0x134)],_0xf05a89(0x206))]};return _0x39a8e8[_0xf05a89(0x150)]['list']&&Object[_0xf05a89(0x15c)](_0x51b5dd,_0x39a8e8[_0xf05a89(0x150)][_0xf05a89(0x16a)]),_0x51b5dd;}static[a0_0x1941d6(0x1cf)](_0x184222){const _0x27755c=a0_0x1941d6;let {multiple_select:_0x4a7335=!0x1,click:_0x50148e}=ValueUtil[_0x27755c(0x1dc)](_0x184222[_0x27755c(0x150)][_0x27755c(0x214)])?{}:_0x184222['gridConfig'][_0x27755c(0x214)],_0x49647b={'selectable':{'multiple':_0x4a7335},'appendable':_0x184222[_0x27755c(0x1a7)]};return ValueUtil[_0x27755c(0x12a)](_0x50148e)&&(_0x49647b['handlers']={'click':_0x50148e}),_0x49647b;}static['getGridButtonSet'](_0xcbda33){const _0x30c14a=a0_0x1941d6;let _0x521890=_0xcbda33[_0x30c14a(0x150)][_0x30c14a(0x189)];return ValueUtil['isEmpty'](_0x521890)?[]:_0x521890['map'](_0x47921d=>{const _0x1b07f2=_0x30c14a;let _0xeab738={'type':_0x1b07f2(0x21b),'gutterName':_0x1b07f2(0x189)};if(ValueUtil[_0x1b07f2(0x12a)](_0x47921d[_0x1b07f2(0x1a5)])&&(Array[_0x1b07f2(0x140)](_0x47921d[_0x1b07f2(0x1a5)])?_0xeab738[_0x1b07f2(0x1a5)]=_0x5455ba=>{const _0x416c0e=_0x1b07f2;if(ValueUtil[_0x416c0e(0x12a)](_0x5455ba))for(let _0x1a5d8b=0x0;_0x1a5d8b<_0x47921d['icon'][_0x416c0e(0x188)];_0x1a5d8b++){let _0x14df5c=_0x47921d[_0x416c0e(0x1a5)][_0x1a5d8b];if(!0x0===ValueUtil[_0x416c0e(0x1c9)](_0x14df5c,_0x5455ba,Object[_0x416c0e(0xdb)](_0x14df5c)[_0x416c0e(0x197)](_0x5a500a=>_0x416c0e(0x1a5)!=_0x5a500a)))return _0x14df5c['icon'];}}:_0xeab738[_0x1b07f2(0x1a5)]=_0x47921d[_0x1b07f2(0x1a5)]),ValueUtil[_0x1b07f2(0x12a)](_0x47921d[_0x1b07f2(0x1df)])&&(_0xeab738['name']=_0x47921d[_0x1b07f2(0x1df)]),ValueUtil[_0x1b07f2(0x12a)](_0x47921d[_0x1b07f2(0x19f)])&&(_0xeab738[_0x1b07f2(0x163)]=TermsUtil[_0x1b07f2(0xfd)](_0x47921d['label'])),_0x1b07f2(0x1ed)===_0x47921d[_0x1b07f2(0x10f)]){let _0x591b8e=ValueUtil[_0x1b07f2(0x156)](_0x47921d,_0x1b07f2(0xef));['history_copy',_0x1b07f2(0x1d4)][_0x1b07f2(0x195)](_0x591b8e)?_0xeab738[_0x1b07f2(0x1fd)]={'click':(_0x39631c,_0x2d1579,_0x446f2f,_0x1d7e47,_0x1f1637)=>{const _0x11fa54=_0x1b07f2;if(_0x1d7e47['id']){let _0xf297df={'title':_0x11fa54(0x1c2),'type':'popup','tagname':_0x11fa54(0x193)==_0x591b8e?_0x11fa54(0x1d5):_0x11fa54(0xdd),'location':'history_copy'==_0x591b8e?_0x11fa54(0x11e):_0x11fa54(0x1a6),'menu':_0xcbda33[_0x11fa54(0xe6)],'size':_0x11fa54(0x1e6),'popup_field':_0x11fa54(0x145),'parent_field':'id'},_0x10df88={..._0x1d7e47,'gqlFunc':ValueUtil[_0x11fa54(0x156)](_0xcbda33[_0x11fa54(0x11c)],_0x11fa54(0x1f8),_0x11fa54(0x1ab)),'gristConfig':JSON['parse'](JSON[_0x11fa54(0x178)](_0xcbda33[_0x11fa54(0x111)][_0x11fa54(0xf1)]))};MetaUiUtil[_0x11fa54(0x1d7)](_0xcbda33,{'logic':_0xf297df},_0x10df88);}}}:_0xeab738[_0x1b07f2(0x1fd)]={'click':_0x591b8e};}else _0xeab738['handlers']={'click':(_0x5036ae,_0x1856b0,_0x618a77,_0x4ee2d3,_0x4844a6)=>{const _0x1a8cf2=_0x1b07f2;_0x4ee2d3['id']&&MetaUiUtil[_0x1a8cf2(0x1d7)](_0xcbda33,_0x47921d,_0x4ee2d3);}};return _0xeab738;});}static async[a0_0x1941d6(0x1f6)](_0x3e175d){const _0x41ce87=a0_0x1941d6;let _0x546855=_0x3e175d['gridColumnConfig'];if(ValueUtil['isEmpty'](_0x546855))return[];let _0x2eef8d=[];for(let _0x1cb41e=0x0;_0x1cb41e<_0x546855[_0x41ce87(0x188)];_0x1cb41e++){let {type:_0x598a93=_0x41ce87(0x1c4),name:_0x439f4c,header:_0xc98dd5,hidden:_0x1e8daf=!0x1,editable:_0x4f90b8=!0x0,mandatory:_0x406051=!0x1,sortable:_0x39f883=!0x1,align:_0x50cc21=_0x41ce87(0xd8),width:_0x2cad8b=0x0,exportable:_0xe49ea6=!0x1,select_opt:_0x48478d,object_opt:_0x5ca182}=_0x546855[_0x1cb41e],_0x4fb42c={'type':_0x598a93,'name':_0x439f4c,'header':ValueUtil['isEmpty'](_0xc98dd5)?'':TermsUtil[_0x41ce87(0x1cd)](_0xc98dd5),'hidden':_0x1e8daf,'sortable':_0x39f883,'width':_0x2cad8b,'record':{'editable':_0x4f90b8,'mandatory':_0x406051,'align':_0x50cc21}};if(_0x41ce87(0x105)===_0x598a93&&ValueUtil[_0x41ce87(0x12a)](_0x48478d))Array[_0x41ce87(0x140)](_0x48478d)?_0x4fb42c['record'][_0x41ce87(0x12c)]=_0x48478d:_0x41ce87(0x196)===_0x48478d['type']?_0x4fb42c[_0x41ce87(0xd5)]['options']=await ServiceUtil[_0x41ce87(0x199)](_0x48478d[_0x41ce87(0x1ba)]?_0x48478d[_0x41ce87(0x1ba)]:_0x48478d[_0x41ce87(0x1df)]):_0x41ce87(0x1a1)===_0x48478d['type']?_0x4fb42c[_0x41ce87(0xd5)]['options']=await ServiceUtil['getCodeByScenario'](_0x48478d['name'],_0x48478d[_0x41ce87(0x108)]):_0x41ce87(0x14a)===_0x48478d[_0x41ce87(0x10f)]&&(_0x4fb42c[_0x41ce87(0xd5)][_0x41ce87(0x12c)]=await ServiceUtil['getCodeByEntity'](_0x48478d['args']));else{if(_0x41ce87(0x13a)!==_0x598a93&&_0x41ce87(0x20b)!==_0x598a93||!ValueUtil[_0x41ce87(0x12a)](_0x5ca182))_0x41ce87(0x10e)===_0x598a93&&ValueUtil[_0x41ce87(0x12a)](_0x5ca182)&&(_0x4fb42c[_0x41ce87(0xd5)]['options']=_0x5ca182,_0x5ca182[_0x41ce87(0x1bd)]&&(_0x4fb42c['record'][_0x41ce87(0x12c)]['codes']=await ServiceUtil[_0x41ce87(0x208)](_0x5ca182)));else{let _0x2d4ab8;_0x5ca182[_0x41ce87(0x105)]&&_0x5ca182['select'][_0x41ce87(0x155)](_0x50eb4c=>{const _0x260b8b=_0x41ce87;_0x50eb4c['header']||(_0x50eb4c[_0x260b8b(0x1fe)]=_0x50eb4c[_0x260b8b(0x1df)]),_0x50eb4c[_0x260b8b(0x1fe)]=TermsUtil['tLabel'](_0x50eb4c['header']);}),_0x4fb42c[_0x41ce87(0xd5)]['options']={..._0x5ca182},_0x5ca182['basicArgs']&&_0x5ca182[_0x41ce87(0x217)][_0x41ce87(0x181)]&&(_0x2d4ab8=[..._0x5ca182[_0x41ce87(0x217)][_0x41ce87(0x181)]]),_0x2d4ab8&&JSON[_0x41ce87(0x178)](_0x2d4ab8)[_0x41ce87(0x195)]('::')&&(_0x4fb42c[_0x41ce87(0x1fd)]={'dblclick':(_0x17708b,_0x441732,_0x2f5d17,_0x5a9951,_0x1bb714)=>{const _0x5c3c3c=_0x41ce87;let _0x289ddb=[];_0x2d4ab8[_0x5c3c3c(0x155)](_0x174ca3=>{const _0x196954=_0x5c3c3c;var {name:_0x5f3eb0,value:_0x2aec80,operator:_0x36abdb='eq'}=_0x174ca3;_0x2aec80[_0x196954(0x195)]('::')&&(_0x2aec80=ValueUtil[_0x196954(0x156)](_0x5a9951,..._0x2aec80['replace']('::','')['split']('.'))),_0x2aec80||(_0x2aec80=''),_0x289ddb[_0x196954(0x1c8)]({'name':_0x5f3eb0,'operator':_0x36abdb,'value':_0x2aec80});}),_0x2f5d17[_0x5c3c3c(0xd5)][_0x5c3c3c(0x12c)][_0x5c3c3c(0x217)][_0x5c3c3c(0x181)]=_0x289ddb;}});}}!0x0===_0x3e175d['useButtonExport']&&!0x0===_0xe49ea6&&(_0x4fb42c[_0x41ce87(0x19c)]={'header':_0x4fb42c[_0x41ce87(0x1fe)],'key':_0x4fb42c[_0x41ce87(0x1df)],'width':_0x4fb42c[_0x41ce87(0x1e0)]/0x6,'type':_0x4fb42c[_0x41ce87(0x10f)]}),_0x2eef8d[_0x41ce87(0x1c8)](_0x4fb42c);}if(!0x0!==this[_0x41ce87(0x16e)])return _0x2eef8d;let _0x335910=await MetaApi['findMenuGridPersnalTemplate'](this[_0x41ce87(0xd2)]),{template:_0x2a5f53={}}=_0x335910;if(!_0x2a5f53[_0x41ce87(0x1b7)])return _0x2eef8d;let _0x44ade2=_0x2a5f53[_0x41ce87(0x1b7)];return _0x2eef8d=_0x2eef8d[_0x41ce87(0x137)](_0x23d521=>('id'==_0x23d521[_0x41ce87(0x1df)]||(_0x23d521[_0x41ce87(0x1e7)]=!_0x44ade2['includes'](_0x23d521[_0x41ce87(0x1df)]),_0x23d521[_0x41ce87(0xfe)]=_0x44ade2[_0x41ce87(0xe9)](_0x23d521[_0x41ce87(0x1df)]),-0x1==_0x23d521[_0x41ce87(0xfe)]&&(_0x23d521['rank']=0x1869f)),_0x23d521)),_0x2eef8d[_0x41ce87(0x128)]((_0x203d6c,_0x3e7935)=>_0x203d6c['rank']-_0x3e7935[_0x41ce87(0xfe)]),_0x2eef8d;}static[a0_0x1941d6(0x1ae)](_0xd66df6,_0x2bb6cc){const _0x18f1b4=a0_0x1941d6;let _0x2ce201=_0xd66df6['searchConfig'];return _0x2ce201&&_0x2ce201[_0x18f1b4(0x155)](_0x557f26=>{const _0x105917=_0x18f1b4;_0x105917(0x1c4)==typeof _0x557f26?_0x2bb6cc[_0x105917(0x197)](_0xe29c05=>_0xe29c05[_0x105917(0x1df)]==_0x557f26)[_0x105917(0x155)](_0x5d29bd=>{const _0xa7a965=_0x105917;_0x5d29bd[_0xa7a965(0x197)]=_0xa7a965(0xf2);}):'object'==typeof _0x557f26&&_0x2bb6cc[_0x105917(0x197)](_0xedf023=>_0xedf023[_0x105917(0x1df)]==_0x557f26['name'])[_0x105917(0x155)](_0x29b20c=>{const _0x4ee3a2=_0x105917;_0x29b20c[_0x4ee3a2(0x197)]=_0x557f26,_0x29b20c[_0x4ee3a2(0x197)][_0x4ee3a2(0x10f)]=_0x4ee3a2(0x179)===_0x29b20c[_0x4ee3a2(0x10f)]?'datetime-local':_0x29b20c['type'];let _0x56cea2=_0x29b20c[_0x4ee3a2(0x197)]['value'];if(_0x56cea2&&_0x56cea2[_0x4ee3a2(0x212)](_0x4ee3a2(0x1f9))){let _0x2bce9f=_0x56cea2[_0x4ee3a2(0x1db)](','),_0xe3f67=[];_0x2bce9f['forEach'](_0x313426=>{const _0xbdccad=_0x4ee3a2,_0x12640c=a0_0x568b09();_0xbdccad(0x1f9)==_0x313426?_0xe3f67[_0xbdccad(0x1c8)](_0x12640c[_0xbdccad(0x1ce)](_0xbdccad(0x1a0))):_0x313426[_0xbdccad(0x195)]('-')?_0xe3f67[_0xbdccad(0x1c8)](_0x12640c[_0xbdccad(0x1f3)](_0x313426[_0xbdccad(0x1db)]('-')[0x1],'day')['format'](_0xbdccad(0x1a0))):_0x313426[_0xbdccad(0x195)]('+')&&_0xe3f67[_0xbdccad(0x1c8)](_0x12640c[_0xbdccad(0x132)](_0x313426[_0xbdccad(0x1db)]('+')[0x1],_0xbdccad(0x202))[_0xbdccad(0x1ce)](_0xbdccad(0x1a0)));}),_0x29b20c['filter']['value']=0x1==_0xe3f67[_0x4ee3a2(0x188)]?_0xe3f67[0x0]:_0xe3f67;}});}),_0x2bb6cc;}static[a0_0x1941d6(0x1af)](_0x3f5bd4){const _0x3861c4=a0_0x1941d6;let _0x46d89d={'title':TermsUtil[_0x3861c4(0x12b)](_0x3f5bd4[_0x3861c4(0x134)][_0x3861c4(0x163)]),'help':_0x3f5bd4['menuInfo']['help']||'','actions':[...MetaUiUtil[_0x3861c4(0x1e4)](_0x3f5bd4)]};return _0x3f5bd4[_0x3861c4(0x143)]&&(_0x46d89d[_0x3861c4(0x149)]={'name':_0x46d89d[_0x3861c4(0x163)],'data':_0x3f5bd4['export'][_0x3861c4(0xe1)](_0x3f5bd4)}),_0x3f5bd4[_0x3861c4(0x1f1)]&&(_0x46d89d['importable']={'handler':_0x3f5bd4[_0x3861c4(0xe0)][_0x3861c4(0xe1)](_0x3f5bd4)}),_0x46d89d;}static[a0_0x1941d6(0x1e4)](_0x3b0f37){const _0xc2fb93=a0_0x1941d6;let _0x152975=_0x3b0f37[_0xc2fb93(0x14c)];return ValueUtil[_0xc2fb93(0x1dc)](_0x152975)?[]:_0x152975[_0xc2fb93(0x197)](_0x1b1420=>_0xc2fb93(0x167)!=_0x1b1420[_0xc2fb93(0x1df)]&&'import'!=_0x1b1420[_0xc2fb93(0x1df)]&&_0xc2fb93(0x132)!=_0x1b1420[_0xc2fb93(0x1df)])[_0xc2fb93(0x137)](_0x431c75=>{const _0x2a4aae=_0xc2fb93;let {name:_0x1ee5ac,label:_0x3c0b36,style:_0xd2ac45,type:_0x49731d=_0x2a4aae(0x1ed),action:_0x17c079,logic:_0x84448a}=_0x431c75;if(ValueUtil['isEmpty'](_0x1ee5ac))return{'title':'-1'};ValueUtil['isEmpty'](_0x3c0b36)&&(_0x3c0b36=_0x1ee5ac),ValueUtil[_0x2a4aae(0x1dc)](_0xd2ac45)&&(_0xd2ac45=_0x1ee5ac),ValueUtil[_0x2a4aae(0x1dc)](_0x17c079)&&(_0x17c079=_0x1ee5ac);let _0x15c5d6=ValueUtil[_0x2a4aae(0x12a)](_0xd2ac45)?CommonButtonStyles[_0xd2ac45]||{'icon':_0xd2ac45,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil['tButton'](_0x3c0b36),'action':MetaUiUtil[_0x2a4aae(0x185)](_0x3b0f37,_0x49731d,_0x17c079,_0x84448a),..._0x15c5d6};})[_0xc2fb93(0x197)](_0x4d35fe=>'-1'!=_0x4d35fe['title']);}static[a0_0x1941d6(0x159)](_0xd9214){const _0x23147f=a0_0x1941d6;let _0x20f75c=_0xd9214&&_0xd9214[_0x23147f(0x14c)]?_0xd9214['buttonConfig']:null;return _0x20f75c?_0x20f75c[_0x23147f(0x197)](_0x5e4f5=>_0x23147f(0x132)!=_0x5e4f5[_0x23147f(0x1df)])[_0x23147f(0x137)](_0x2e194c=>{const _0x28694c=_0x23147f;let {name:_0x412320,label:_0x487ee7,style:_0x18c057,type:_0x52b7a2='basic',action:_0x88dcec,logic:_0x377de1}=_0x2e194c;ValueUtil[_0x28694c(0x1dc)](_0x487ee7)&&(_0x487ee7=_0x412320),ValueUtil[_0x28694c(0x1dc)](_0x18c057)&&(_0x18c057=_0x412320),ValueUtil[_0x28694c(0x1dc)](_0x88dcec)&&(_0x88dcec=_0x412320);let _0x3ceb53=MetaUiUtil[_0x28694c(0x1ef)](TermsUtil[_0x28694c(0xfd)](_0x487ee7),_0x18c057);return _0x3ceb53[_0x28694c(0x153)]=MetaUiUtil[_0x28694c(0x185)](_0xd9214,_0x52b7a2,_0x88dcec,_0x377de1),_0x3ceb53;}):[];}static[a0_0x1941d6(0x1ef)](_0x55c479,_0x4227a3){const _0x17ec01=a0_0x1941d6;let _0x3548de=CommonButtonStyles[_0x4227a3]||{'icon':_0x4227a3,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x405345=_0x17ec01(0x122)+_0x55c479+'\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+(_0x3548de[_0x17ec01(0x1a5)]?_0x3548de[_0x17ec01(0x1a5)]:'')+_0x17ec01(0x1da)+(_0x3548de[_0x17ec01(0x127)][_0x17ec01(0x152)]?_0x17ec01(0x152):'')+_0x17ec01(0x200)+(_0x3548de[_0x17ec01(0x127)][_0x17ec01(0x16f)]?_0x17ec01(0x16f):'')+_0x17ec01(0x200)+(_0x3548de[_0x17ec01(0x127)][_0x17ec01(0x1b6)]?_0x17ec01(0x1b6):'')+_0x17ec01(0x200)+(_0x3548de['emphasis'][_0x17ec01(0x1ad)]?'danger':'')+_0x17ec01(0xfc);return UiUtil[_0x17ec01(0x1d1)](_0x405345);}static['getButtonActionHandler'](_0x394011,_0x28a35a,_0x3c1bfb,_0x4344cf){const _0x391595=a0_0x1941d6;if(_0x391595(0x1ed)==_0x28a35a){if(_0x394011[_0x3c1bfb])return _0x394011[_0x3c1bfb][_0x391595(0xe1)](_0x394011);}else{if(_0x391595(0x15a)==_0x28a35a)return()=>MetaUiUtil[_0x391595(0x171)](_0x394011,_0x4344cf);}return()=>{const _0x2c30a8=_0x391595;UiUtil[_0x2c30a8(0x15f)](_0x2c30a8(0x104),_0x2c30a8(0x1b9),_0x2c30a8(0x1d8),_0x2c30a8(0x13d));};}static async['gristButtonHandler'](_0x59748a,_0x3ef3cd,_0x567852){const _0xf92853=a0_0x1941d6;let _0x1e25d2=ValueUtil[_0xf92853(0x156)](_0x3ef3cd,_0xf92853(0xef)),_0x3f22fc=ValueUtil[_0xf92853(0x156)](_0x1e25d2,'type');if(_0xf92853(0x1e3)===_0x3f22fc)_0x1e25d2[_0xf92853(0x1a9)]=_0xf92853(0x17d),_0x1e25d2[_0xf92853(0x119)]=_0xf92853(0x15d),_0x1e25d2[_0xf92853(0xe7)]='id',await MetaUiUtil[_0xf92853(0x1f2)](_0x59748a,_0x1e25d2,_0x567852);else{if(_0xf92853(0x1ea)===_0x3f22fc)MetaUiUtil[_0xf92853(0x17e)](_0x59748a,_0x1e25d2,_0x567852);else{if('page'===_0x3f22fc){let _0x180183;_0x1e25d2[_0xf92853(0x13b)]?(_0x180183={},Object[_0xf92853(0xdb)](_0x567852)['filter'](_0xffe34e=>Object[_0xf92853(0xdb)](_0x1e25d2[_0xf92853(0x13b)])[_0xf92853(0x195)](_0xffe34e))[_0xf92853(0x137)](_0x4bf1f0=>{const _0x154e8e=_0xf92853;Object[_0x154e8e(0xdb)](_0x1e25d2[_0x154e8e(0x13b)])['includes'](_0x4bf1f0)&&('string'==typeof _0x567852[_0x4bf1f0]?_0x180183[_0x1e25d2[_0x154e8e(0x13b)][_0x4bf1f0]]=_0x567852[_0x4bf1f0]:_0x180183[_0x1e25d2[_0x154e8e(0x13b)][_0x4bf1f0]]={'id':_0x567852[_0x4bf1f0]['id']});})):_0x180183=_0x567852,UiUtil[_0xf92853(0x20a)](_0x1e25d2[_0xf92853(0x14d)],[_0x180183]);}else'popup'===_0x3f22fc?await MetaUiUtil[_0xf92853(0x1f2)](_0x59748a,_0x1e25d2,_0x567852):_0xf92853(0x1a1)===_0x3f22fc?await MetaUiUtil[_0xf92853(0x18d)](_0x59748a,_0x1e25d2,_0x567852):_0xf92853(0x10d)===_0x3f22fc&&await MetaUiUtil[_0xf92853(0x1fc)](_0x59748a,_0x1e25d2,_0x567852);}}}static async[a0_0x1941d6(0x171)](_0x581d48,_0x5aa7d6){const _0x3851ab=a0_0x1941d6;if(ValueUtil[_0x3851ab(0x1dc)](_0x5aa7d6))return;let _0xfd583=_0x581d48[_0x3851ab(0x111)],_0xe1f2ba=_0x581d48[_0x3851ab(0x198)],_0x400f1a=ValueUtil[_0x3851ab(0x156)](_0x5aa7d6,_0x3851ab(0x10f)),_0x18a3f9=ValueUtil[_0x3851ab(0x156)](_0x5aa7d6,_0x3851ab(0x147)),_0x8aaae9=_0x18a3f9[_0x3851ab(0x197)](_0x2e57cf=>_0x2e57cf['startsWith'](_0x3851ab(0x111)));if(ValueUtil[_0x3851ab(0x12a)](_0x8aaae9)){if(!_0xfd583)return void UiUtil[_0x3851ab(0x15f)](_0x3851ab(0x1fb),_0x3851ab(0x144),'info',_0x3851ab(0x13d));if(0x0==(_0xfd583['data']?_0xfd583[_0x3851ab(0x177)][_0x3851ab(0xde)]:[])[_0x3851ab(0x188)])return void UiUtil['showAlertPopup']('title.info',_0x3851ab(0x209),_0x3851ab(0x1d8),'confirm');if(_0x18a3f9[_0x3851ab(0x195)](_0x3851ab(0x184))||_0x18a3f9['includes'](_0x3851ab(0x205))){let _0x223d87=_0xfd583[_0x3851ab(0x125)];if(ValueUtil[_0x3851ab(0x1dc)](_0x223d87))return void UiUtil[_0x3851ab(0x15f)](_0x3851ab(0x21d),_0x3851ab(0x1cb),_0x3851ab(0x1d8),'confirm');if(_0x18a3f9['includes'](_0x3851ab(0x184))&&_0x223d87['length']>0x1)return void UiUtil['showAlertPopup']('title.info',_0x3851ab(0x187),_0x3851ab(0x1d8),_0x3851ab(0x13d));}}let _0x250900={};if(_0x18a3f9[_0x3851ab(0x195)]('filter')){if(!_0xe1f2ba)return void UiUtil['showAlertPopup'](_0x3851ab(0x1fb),'text.search_form_is_not_exist','info',_0x3851ab(0x13d));let _0x58fb7e=_0xe1f2ba?await _0xe1f2ba[_0x3851ab(0x180)]():[];_0x250900[_0x3851ab(0x197)]=_0x58fb7e;}if(_0x18a3f9['includes'](_0x3851ab(0x218)))_0x250900[_0x3851ab(0x111)]=_0xfd583[_0x3851ab(0x177)][_0x3851ab(0xde)];else{if(_0x18a3f9[_0x3851ab(0x195)](_0x3851ab(0x184)))_0x250900[_0x3851ab(0x111)]=_0xfd583['selected'][0x0];else{if(_0x18a3f9['includes'](_0x3851ab(0x205)))_0x250900['grist']=_0xfd583[_0x3851ab(0x125)];else{if(_0x18a3f9[_0x3851ab(0x195)](_0x3851ab(0xed))&&(_0x250900[_0x3851ab(0x111)]=ServiceUtil[_0x3851ab(0x114)](_0xfd583),!_0x250900[_0x3851ab(0x111)]))return;}}}if('page'===_0x400f1a){let _0xd5cb6a,_0xb01854=Array[_0x3851ab(0x140)](_0x250900[_0x3851ab(0x111)])?_0x250900[_0x3851ab(0x111)]:[_0x250900['grist']];_0xd5cb6a=_0x5aa7d6[_0x3851ab(0x13b)]?_0xb01854[_0x3851ab(0x137)](_0x4a299b=>{const _0x3a3208=_0x3851ab;let _0x39e14c={};return Object['keys'](_0x4a299b)[_0x3a3208(0x197)](_0x28c176=>Object[_0x3a3208(0xdb)](_0x5aa7d6[_0x3a3208(0x13b)])['includes'](_0x28c176))[_0x3a3208(0x137)](_0x1e1177=>{const _0x5d2a6a=_0x3a3208;Object['keys'](_0x5aa7d6['param_field'])[_0x5d2a6a(0x195)](_0x1e1177)&&('string'==typeof _0x4a299b[_0x1e1177]?_0x39e14c[_0x5aa7d6[_0x5d2a6a(0x13b)][_0x1e1177]]=_0x4a299b[_0x1e1177]:_0x39e14c[_0x5aa7d6['param_field'][_0x1e1177]]={'id':_0x4a299b[_0x1e1177]['id']});}),_0x39e14c;}):_0xb01854,UiUtil[_0x3851ab(0x20a)](_0x5aa7d6[_0x3851ab(0x14d)],_0xd5cb6a);}else{if('popup'===_0x400f1a){let _0x119249={..._0x250900[_0x3851ab(0x111)]?_0x250900['grist']:{},..._0x250900['filter']?_0x250900[_0x3851ab(0x197)]:{}};await MetaUiUtil[_0x3851ab(0x1f2)](_0x581d48,_0x5aa7d6,_0x119249);}else _0x3851ab(0x1a1)===_0x400f1a&&await MetaUiUtil['commonButtonCallScenario'](_0x581d48,_0x5aa7d6,_0x250900);}}static[a0_0x1941d6(0x17e)](_0x323ac1,_0x2d185b,_0x19b230){const _0x561ede=a0_0x1941d6;let _0x30b2f1=_0x2d185b[_0x561ede(0x1d6)],_0x173508={},_0x2cba15=_0x323ac1[_0x561ede(0xf9)][_0x561ede(0x102)](),_0x4f001c=_0x323ac1;_0x173508=_0x2cba15[_0x561ede(0x212)](_0x561ede(0xea))?{'detail':{..._0x30b2f1}}:_0x2cba15['startsWith']('meta-master-detail-')?_0x323ac1[_0x561ede(0x1ec)][_0x561ede(0xf9)][_0x561ede(0x102)]()[_0x561ede(0x212)](_0x561ede(0x141))?{'detail':{..._0x30b2f1}}:{'self':{..._0x30b2f1}}:_0x30b2f1,Object[_0x561ede(0xdb)](_0x173508)[_0x561ede(0x155)](_0x30218a=>{const _0x51e605=_0x561ede;_0x51e605(0x1b7)==_0x30218a?_0x4f001c=_0x323ac1['rootElement'][_0x51e605(0x18f)]:_0x51e605(0x1c6)==_0x30218a?_0x4f001c=_0x323ac1[_0x51e605(0x12d)]?_0x323ac1[_0x51e605(0x12d)][_0x51e605(0x1ec)]:_0x323ac1['detailElement']:_0x51e605(0x1b0)==_0x30218a&&(_0x4f001c=_0x323ac1),Object['keys'](_0x173508[_0x30218a])['forEach'](_0x668184=>{const _0x267458=_0x51e605;let _0x416f0e=_0x4f001c[_0x267458(0x1e9)][_0x267458(0x1c0)]('#'+_0x668184);_0x19b230['id']&&_0x416f0e['setParentId'](_0x19b230['id']);let _0x527771=_0x173508[_0x30218a][_0x668184];Object[_0x267458(0xdb)](_0x527771)[_0x267458(0x155)](_0x8046cb=>{let _0x574e8c=_0x527771[_0x8046cb],_0x138c8a='*'===_0x574e8c?_0x19b230:_0x19b230[_0x574e8c];_0x416f0e[_0x8046cb]=_0x138c8a;});});});}static async['commonButtonOpenPopup'](_0x7389e,_0x3ee6e5,_0x329389){const _0x2a0c9b=a0_0x1941d6;let _0x43055b=TermsUtil['tTitle'](_0x3ee6e5[_0x2a0c9b(0x163)]);ValueUtil[_0x2a0c9b(0x12a)](_0x3ee6e5['title_detail'])&&(_0x43055b=_0x43055b+'('+ValueUtil[_0x2a0c9b(0x156)](_0x329389,..._0x3ee6e5[_0x2a0c9b(0x191)][_0x2a0c9b(0x1db)]('.'))+')');let _0x44c967=_0x3ee6e5[_0x2a0c9b(0x1bb)]&&_0x2a0c9b(0x1c4)==typeof _0x3ee6e5['after']&&_0x2a0c9b(0x161)===_0x3ee6e5[_0x2a0c9b(0x1bb)]&&_0x7389e&&_0x7389e[_0x2a0c9b(0x161)]?_0x7389e[_0x2a0c9b(0x161)][_0x2a0c9b(0xe1)](_0x7389e):void 0x0;UiUtil[_0x2a0c9b(0x117)](_0x43055b,_0x3ee6e5,_0x329389,_0x44c967);}static async['commonButtonCallScenario'](_0x47713c,_0x2c3777,_0x4c8069){const _0x3cb3fd=a0_0x1941d6;let _0x389987=await ServiceUtil[_0x3cb3fd(0x165)]('service',_0x2c3777['name'],_0x4c8069);if(!_0x389987[_0x3cb3fd(0x10b)]&&!ValueUtil['isEmpty'](_0x2c3777[_0x3cb3fd(0x1bb)])&&_0x2c3777[_0x3cb3fd(0x1bb)]){if(_0x3cb3fd(0x161)!==_0x2c3777[_0x3cb3fd(0x1bb)]){if(_0x3cb3fd(0x13a)==typeof _0x2c3777['after']){let _0x3c00c0=_0x2c3777[_0x3cb3fd(0x1bb)],_0x5475c0=ValueUtil['getParams'](_0x389987['data'][_0x3cb3fd(0xe4)]['data'],..._0x3c00c0[_0x3cb3fd(0x120)]['split']('.'));if(0x0==Array[_0x3cb3fd(0x140)](_0x5475c0)&&(_0x5475c0=[_0x5475c0]),_0x3cb3fd(0x1e3)===_0x3c00c0[_0x3cb3fd(0x10f)])_0x3c00c0['tagname']='meta-form-element',_0x3c00c0['location']=_0x3cb3fd(0x15d),_0x3c00c0['parent_field']='id',_0x5475c0=_0x5475c0[0x0],await MetaUiUtil[_0x3cb3fd(0x1f2)](_0x47713c,_0x3c00c0,_0x5475c0);else{if(_0x3cb3fd(0x1b1)===_0x3c00c0[_0x3cb3fd(0x10f)]){let _0x59a0f8,_0x2dedde=_0x5475c0;_0x59a0f8=_0x3c00c0[_0x3cb3fd(0x13b)]?_0x2dedde[_0x3cb3fd(0x137)](_0x5b8b04=>{const _0x43778e=_0x3cb3fd;let _0x47c9de={};return Object[_0x43778e(0xdb)](_0x5b8b04)['filter'](_0x54b5eb=>Object['keys'](_0x3c00c0['param_field'])[_0x43778e(0x195)](_0x54b5eb))[_0x43778e(0x137)](_0x2ae142=>{const _0x4a5271=_0x43778e;Object[_0x4a5271(0xdb)](_0x3c00c0[_0x4a5271(0x13b)])['includes'](_0x2ae142)&&(_0x4a5271(0x1c4)==typeof _0x5b8b04[_0x2ae142]?_0x47c9de[_0x3c00c0[_0x4a5271(0x13b)][_0x2ae142]]=_0x5b8b04[_0x2ae142]:_0x47c9de[_0x3c00c0[_0x4a5271(0x13b)][_0x2ae142]]={'id':_0x5b8b04[_0x2ae142]['id']});}),_0x47c9de;}):_0x2dedde,UiUtil[_0x3cb3fd(0x20a)](_0x3c00c0[_0x3cb3fd(0x14d)],_0x59a0f8);}else _0x3cb3fd(0x1ea)===_0x3c00c0['type']?(_0x5475c0=_0x5475c0[0x0],MetaUiUtil[_0x3cb3fd(0x17e)](_0x47713c,_0x3c00c0,_0x5475c0)):_0x3cb3fd(0x1ac)===_0x3c00c0[_0x3cb3fd(0x10f)]?(_0x5475c0=_0x5475c0[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x47713c,_0x3c00c0,_0x5475c0)):_0x3cb3fd(0x10d)===_0x3c00c0[_0x3cb3fd(0x10f)]&&(_0x5475c0=_0x5475c0[0x0],await MetaUiUtil[_0x3cb3fd(0x1fc)](_0x47713c,_0x3c00c0,_0x5475c0));}}}else _0x47713c[_0x3cb3fd(0x161)]();}}static async[a0_0x1941d6(0x1fc)](_0x54ed0e,_0x1651ea,_0x49b011){const _0x2241a1=a0_0x1941d6;for(let _0x25e273=0x0;_0x25e273<_0x1651ea[_0x2241a1(0x194)][_0x2241a1(0x188)];_0x25e273++){let _0x38b241=_0x1651ea[_0x2241a1(0x194)][_0x25e273];!0x0===ValueUtil[_0x2241a1(0x1c9)](_0x38b241,_0x49b011,Object['keys'](_0x38b241)[_0x2241a1(0x197)](_0x39e133=>_0x2241a1(0xef)!=_0x39e133))&&await MetaUiUtil[_0x2241a1(0x1d7)](_0x54ed0e,_0x38b241,_0x49b011);}}static[a0_0x1941d6(0xd4)](_0x12afb8,_0x1e23c1){return{'type':_0x12afb8,'name':_0x1e23c1,'sortable':!0x1,'hidden':!0x0};}static['getGristColumnConfig'](_0x27ff87,_0x3af13c,_0x38b8f1,_0x13dc7b,_0x5d93fa,_0x42d4b5){const _0xb3cadb=a0_0x1941d6;let _0x409851=TermsUtil[_0xb3cadb(0x1cd)](_0x3af13c);return{'type':_0x27ff87,'name':_0x3af13c,'header':_0x409851,'record':{'align':_0x38b8f1,'editable':_0x13dc7b},'sortable':_0x5d93fa,'width':_0x42d4b5,'imex':{'width':Math[_0xb3cadb(0x1a8)](_0x42d4b5/0x6),'header':_0x409851,'type':_0x27ff87,'key':_0x3af13c}};}static[a0_0x1941d6(0x20f)](_0x41f953,_0x4476c3,_0xb10dd0,_0x511bbf,_0x20b903,_0x593a58,_0x1a7a00){const _0xa47e79=a0_0x1941d6;let _0x35e084=TermsUtil[_0xa47e79(0x1cd)](_0xb10dd0);return{'type':_0x41f953,'name':_0x4476c3,'header':_0x35e084,'record':{'align':_0x511bbf,'editable':_0x20b903},'sortable':_0x593a58,'width':_0x1a7a00,'imex':{'width':Math['floor'](_0x1a7a00/0x6),'header':_0x35e084,'type':_0x41f953,'key':_0x4476c3}};}static['getGristColumnConfig3'](_0x43adb8,_0xc74d3b,_0x29dc3f,_0x330f6f,_0x58800e,_0x2a863c,_0x5b2f07,_0x4beb14){const _0x48df06=a0_0x1941d6;let _0x28172c=TermsUtil[_0x48df06(0x1cd)](_0x29dc3f);return{'type':_0x43adb8,'name':_0xc74d3b,'header':_0x28172c,'record':{'align':_0x330f6f,'editable':_0x58800e,'mandatory':_0x5b2f07},'sortable':_0x2a863c,'width':_0x4beb14,'imex':{'width':Math[_0x48df06(0x1a8)](_0x4beb14/0x6),'header':_0x28172c,'type':_0x43adb8,'key':_0xc74d3b}};}static[a0_0x1941d6(0x1a2)](_0x2f5952,_0x1b159a,_0x470a99,_0x2db6ec,_0xb6bfe0,_0x20380e,_0x3465cc){const _0x1e53f3=a0_0x1941d6;let _0xbe75d8=TermsUtil[_0x1e53f3(0x1cd)](_0x1b159a);return{'type':_0x1e53f3(0x105),'name':_0x2f5952,'header':_0xbe75d8,'record':{'align':_0x470a99,'editable':!0x0,'mandatory':_0x20380e,'options':_0x3465cc},'sortable':_0x2db6ec,'width':_0xb6bfe0,'imex':{'width':Math['floor'](_0xb6bfe0/0x6),'header':_0xbe75d8,'type':'string','key':_0x2f5952}};}static async[a0_0x1941d6(0xec)](_0x2c1fec,_0x519d68,_0x2a5d53,_0x1d5bf2,_0x5dbf56,_0x1110cf,_0x2abfaf){const _0x572b37=a0_0x1941d6;let _0x569729=await ServiceUtil[_0x572b37(0x199)](_0x2abfaf);return MetaUiUtil[_0x572b37(0x1a2)](_0x2c1fec,_0x519d68,_0x2a5d53,_0x1d5bf2,_0x5dbf56,_0x1110cf,_0x569729);}static[a0_0x1941d6(0x124)](_0x2ee3f4,_0x3cbad4,_0xa42842,_0x4bd224,_0x5976eb){const _0x55c531=a0_0x1941d6;let _0x56a340=TermsUtil['tLabel'](_0xa42842),_0x1f4db9={'name':_0x2ee3f4,'type':_0x3cbad4,'label':_0x56a340,'operator':_0x4bd224,'imex':{'width':0x10,'header':_0x56a340,'type':_0x3cbad4,'key':_0x2ee3f4}};return _0x5976eb&&(_0x1f4db9[_0x55c531(0x12c)]=_0x5976eb),_0x1f4db9;}static async[a0_0x1941d6(0xf5)](_0x34107a,_0x1e87a5,_0x51d00c,_0x41110b,_0x2abd69){const _0x4d8fbf=a0_0x1941d6;let _0x4e1af3=await ServiceUtil[_0x4d8fbf(0x199)](_0x2abd69);return MetaUiUtil[_0x4d8fbf(0x124)](_0x34107a,_0x1e87a5,_0x51d00c,_0x41110b,_0x4e1af3);}static[a0_0x1941d6(0x11a)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0x1ada25(0x291)])return;let _0x429618,_0x1254ff=[{'name':_0x1ada25(0x1ec),'operator':'eq','value':_0x23415a}],_0x49fd20=await ServiceUtil[_0x1ada25(0x215)](_0x1ada25(0x224),_0x1254ff,null,0x0,0x0,_0x1ada25(0x1c4));if(_0x49fd20&&_0x49fd20[_0x1ada25(0x28c)]&&0x0!=_0x49fd20[_0x1ada25(0x28c)][_0x1ada25(0x268)]?(_0x429618=_0x49fd20[_0x1ada25(0x28c)][0x0],!_0x429618[_0x1ada25(0x275)]&&_0x468809[_0x1ada25(0x152)]&&(_0x429618[_0x1ada25(0x275)]=_0x468809[_0x1ada25(0x152)])):_0x468809[_0x1ada25(0x152)]&&(_0x429618={'id':_0x23415a,'template':_0x468809[_0x1ada25(0x152)]}),!_0x429618)throw new Error(TermsUtil['tText'](_0x1ada25(0x270),{'value':TermsUtil[_0x1ada25(0x210)](_0x1ada25(0x207))+'\x20'+_0x23415a}));if(!_0x429618['template'])throw new Error(TermsUtil[_0x1ada25(0x218)](_0x1ada25(0x270),{'value':TermsUtil[_0x1ada25(0x210)](_0x1ada25(0x207))+'\x20'+TermsUtil[_0x1ada25(0x1c0)](_0x1ada25(0x1f9))}));return this[_0x1ada25(0x155)]=_0x429618['id'],JSON[_0x1ada25(0x164)](MetaCrypto[_0x1ada25(0x25f)](_0x429618['template']));}static[a0_0x5393c2(0x15c)](){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':_0x4d4e1c=>Boolean(_0x4d4e1c)},'is_popup':{'type':Boolean,'converter':_0x53a2c0=>Boolean(_0x53a2c0)},'is_activity':{'type':Boolean,'converter':_0x1e696d=>Boolean(_0x1e696d)},'is_readonly':{'type':Boolean,'converter':_0x4db922=>Boolean(_0x4db922)}};}static async['getMenuMeta'](_0x353069){const _0x505106=a0_0x5393c2;if(0x0==store[_0x505106(0x288)]()[_0x505106(0x260)]['runnerPermission'])return void document[_0x505106(0x19d)](new CustomEvent('notify',{'detail':{'level':_0x505106(0x25a),'message':TermsUtil[_0x505106(0x1e9)](_0x505106(0x258))}}));let _0x3652f0=_0x353069[_0x505106(0x240)]?UiUtil['currentRouting']():_0x353069[_0x505106(0x200)];_0x353069[_0x505106(0x18e)]=_0x3652f0;let _0xb1d0a0=await MetaUiUtil[_0x505106(0x196)](_0x353069,_0x3652f0);return!0x0===_0x353069[_0x505106(0x1fb)]&&(_0xb1d0a0[_0x505106(0x167)][_0x505106(0x1b0)][_0x505106(0x1ce)]=!0x1,_0xb1d0a0[_0x505106(0x167)][_0x505106(0x1b0)][_0x505106(0x1c7)]=_0x505106(0x1d7),_0xb1d0a0[_0x505106(0x167)][_0x505106(0x21b)]=!0x1,_0xb1d0a0[_0x505106(0x167)][_0x505106(0x1e8)]=[],_0xb1d0a0[_0x505106(0x1e8)]=_0xb1d0a0[_0x505106(0x1e8)][_0x505106(0x14a)](_0x1a7ef4=>'add'==_0x1a7ef4[_0x505106(0x241)])),!0x0===_0x353069['is_readonly']&&(_0xb1d0a0[_0x505106(0x1f2)][_0x505106(0x274)](_0x55dd00=>{const _0x253fb9=_0x505106;_0x55dd00[_0x253fb9(0x1d4)]=!0x1;}),_0xb1d0a0[_0x505106(0x1e8)]=_0xb1d0a0['button'][_0x505106(0x14a)](_0x19de74=>'add'!=_0x19de74[_0x505106(0x241)])),!0x1===_0x353069[_0x505106(0x21b)]&&(_0xb1d0a0['grid'][_0x505106(0x21b)]=!0x1),_0xb1d0a0;}static[a0_0x5393c2(0x1bf)](..._0x261ff8){return{'pages':_0x261ff8};}static[a0_0x5393c2(0x281)](_0x1837e0,_0x4a8d9b){const _0x7a7b53=a0_0x5393c2;let _0x149aa6=[{'type':_0x7a7b53(0x1c9),'gutterName':'dirty'},{'type':_0x7a7b53(0x1c9),'gutterName':'sequence'}];return _0x1837e0&&_0x149aa6['push']({'type':'gutter','gutterName':_0x7a7b53(0x1f7),'multiple':_0x4a8d9b}),_0x149aa6;}static[a0_0x5393c2(0x1fc)](_0xca898e){return{'selectable':{'multiple':_0xca898e}};}static async[a0_0x5393c2(0x24d)](_0x2436e3){const _0x5e55d8=a0_0x5393c2;let _0x1ba0eb=MetaUiUtil[_0x5e55d8(0x1da)](_0x2436e3),_0x376167=MetaUiUtil[_0x5e55d8(0x235)](_0x2436e3),_0x177544=MetaUiUtil[_0x5e55d8(0x232)](_0x2436e3),_0x1aaf95=MetaUiUtil[_0x5e55d8(0x26e)](_0x2436e3),_0x51b3bd=await MetaUiUtil[_0x5e55d8(0x1de)](_0x2436e3),_0xdddd2c=MetaUiUtil[_0x5e55d8(0x281)](_0x1ba0eb[_0x5e55d8(0x1ce)],_0x177544[_0x5e55d8(0x1af)][_0x5e55d8(0x237)]);return 0x1==_0x2436e3[_0x5e55d8(0x195)]&&(_0x51b3bd=MetaUiUtil[_0x5e55d8(0x24c)](_0x2436e3,_0x51b3bd)),{'list':_0x376167,'pagination':_0x1ba0eb[_0x5e55d8(0x1c7)],'sorters':_0x1ba0eb[_0x5e55d8(0x21d)],'rows':_0x177544,'columns':[..._0xdddd2c,..._0x1aaf95,..._0x51b3bd]};}static async[a0_0x5393c2(0x272)](_0x4355bf){const _0xf8c018=a0_0x5393c2;let _0x5722b0=_0x4355bf[_0xf8c018(0x181)],_0x299525=[];for(let _0x985636=0x0;_0x985636<_0x5722b0[_0xf8c018(0x268)];_0x985636++){let {type:_0x4d3c09=_0xf8c018(0x276),name:_0x1d9674,header:_0x278ee1,hidden:_0x582e48=!0x1,editable:_0x505129=!0x0,mandatory:_0x56c22b=!0x1,align:_0x4aa203='left',select_opt:_0xd05cda,object_opt:_0xc3190d}=_0x5722b0[_0x985636],_0x5cfc67={'type':_0x4d3c09,'name':_0x1d9674,'header_txt':ValueUtil['isEmpty'](_0x278ee1)?TermsUtil[_0xf8c018(0x1c0)](_0x1d9674):TermsUtil[_0xf8c018(0x1c0)](_0x278ee1),'header':{'renderer':function(_0x3182a2){return _0x3182a2['header_txt'];}},'hidden':_0x582e48,'record':{'editable':_0x505129,'mandatory':_0x56c22b,'align':_0x4aa203,'classifier':function(){},'renderer':getRenderer(_0x4d3c09)}};_0x505129&&(_0x5cfc67['record']['editor']=getEditor(_0x4d3c09)),_0xf8c018(0x1d6)===_0x4d3c09&&ValueUtil['isNotEmpty'](_0xd05cda)?Array['isArray'](_0xd05cda)?_0x5cfc67[_0xf8c018(0x1ac)]['options']=_0xd05cda:_0xf8c018(0x293)===_0xd05cda[_0xf8c018(0x15a)]?_0x5cfc67[_0xf8c018(0x1ac)]['options']=await ServiceUtil[_0xf8c018(0x1f8)](_0xd05cda[_0xf8c018(0x1c6)]?_0xd05cda['values']:_0xd05cda[_0xf8c018(0x241)]):'scenario'===_0xd05cda['type']?_0x5cfc67[_0xf8c018(0x1ac)]['options']=await ServiceUtil[_0xf8c018(0x206)](_0xd05cda[_0xf8c018(0x241)],_0xd05cda[_0xf8c018(0x217)]):_0xf8c018(0x24f)===_0xd05cda['type']&&(_0x5cfc67[_0xf8c018(0x1ac)]['options']=await ServiceUtil[_0xf8c018(0x18d)](_0xd05cda[_0xf8c018(0x217)])):_0xf8c018(0x19b)!==_0x4d3c09&&'resource-object'!==_0x4d3c09||!ValueUtil[_0xf8c018(0x1a6)](_0xc3190d)?_0xf8c018(0x19e)===_0x4d3c09&&ValueUtil[_0xf8c018(0x1a6)](_0xc3190d)&&(_0x5cfc67[_0xf8c018(0x1ac)]['options']=_0xc3190d,_0xc3190d['dispField']&&(_0x5cfc67[_0xf8c018(0x1ac)][_0xf8c018(0x233)]['codes']=await ServiceUtil[_0xf8c018(0x18d)](_0xc3190d))):(_0xc3190d[_0xf8c018(0x1d6)]&&_0xc3190d[_0xf8c018(0x1d6)][_0xf8c018(0x274)](_0x579d54=>{const _0xad3f00=_0xf8c018;_0x579d54['header']||(_0x579d54[_0xad3f00(0x20c)]=_0x579d54[_0xad3f00(0x241)]),_0x579d54['header']=TermsUtil[_0xad3f00(0x1c0)](_0x579d54[_0xad3f00(0x20c)]);}),_0x5cfc67[_0xf8c018(0x1ac)][_0xf8c018(0x233)]=_0xc3190d),_0x299525[_0xf8c018(0x1cd)](_0x5cfc67);}return _0x299525;}static['getGridOptionSet'](_0x1d8fc7){const _0x264a97=a0_0x5393c2;let _0x5c73a=_0x1d8fc7[_0x264a97(0x230)];_0x1d8fc7['useFilterForm']=!_0x5c73a||null==_0x5c73a[_0x264a97(0x21b)]||_0x5c73a['use_filter_form'];let {mobile_mode:_0x5c52af=_0x264a97(0x1b3),desk_mode:_0x5d3be5=_0x264a97(0x220),view_mode:_0x572df2=[],use_row_checker:_0x26e182=!0x0,sorters:_0xc38b1=[],pages:_0x33d812=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x5c73a[_0x264a97(0x1b0)])?{}:_0x5c73a[_0x264a97(0x1b0)];return _0x264a97(0x1d7)===_0x33d812||'-1'===_0x33d812?(_0x1d8fc7[_0x264a97(0x163)]=!0x0,_0x33d812={'infinite':!0x0}):(_0x1d8fc7[_0x264a97(0x163)]=!0x1,_0x33d812[_0x264a97(0x21f)](function(_0x1ccda4,_0x4992b8){return _0x1ccda4-_0x4992b8;}),_0x33d812={'pages':_0x33d812}),ValueUtil[_0x264a97(0x1a6)](_0x572df2)&&(0x1==_0x572df2['length']?(_0x5d3be5=_0x572df2[0x0],_0x5c52af=_0x572df2[0x0]):_0x572df2['length']>=0x2&&(_0x572df2[_0x264a97(0x157)](_0x5c52af)||(_0x5c52af=_0x572df2[0x1]),_0x572df2['includes'](_0x5d3be5)||(_0x5d3be5=_0x572df2[0x0]))),_0x1d8fc7[_0x264a97(0x209)]=_0x5c52af,_0x1d8fc7[_0x264a97(0x190)]=_0x5d3be5,_0x1d8fc7[_0x264a97(0x194)]=_0x572df2,_0x1d8fc7[_0x264a97(0x14d)]=UiUtil[_0x264a97(0x263)]()?_0x1d8fc7[_0x264a97(0x209)]:_0x1d8fc7[_0x264a97(0x190)],{'use_row_checker':_0x26e182,'sorters':_0xc38b1,'pages':_0x33d812};}static[a0_0x5393c2(0x235)](_0x123f0b){const _0x212fb0=a0_0x5393c2;let _0x13a930={'fields':[ValueUtil[_0x212fb0(0x28b)](_0x123f0b[_0x212fb0(0x280)],'name'),ValueUtil[_0x212fb0(0x28b)](_0x123f0b[_0x212fb0(0x280)],_0x212fb0(0x1b8))]};return _0x123f0b[_0x212fb0(0x230)][_0x212fb0(0x264)]&&Object[_0x212fb0(0x245)](_0x13a930,_0x123f0b[_0x212fb0(0x230)][_0x212fb0(0x264)]),_0x13a930;}static[a0_0x5393c2(0x232)](_0x3a89ac){const _0x482372=a0_0x5393c2;let {multiple_select:_0x1a3863=!0x1,click:_0x4b60c6}=ValueUtil['isEmpty'](_0x3a89ac[_0x482372(0x230)][_0x482372(0x1f6)])?{}:_0x3a89ac[_0x482372(0x230)][_0x482372(0x1f6)],_0x25c459={'selectable':{'multiple':_0x1a3863},'appendable':_0x3a89ac[_0x482372(0x202)]};return ValueUtil[_0x482372(0x1a6)](_0x4b60c6)&&(_0x25c459[_0x482372(0x251)]={'click':_0x4b60c6}),_0x25c459;}static[a0_0x5393c2(0x26e)](_0x39995c){const _0x5f1890=a0_0x5393c2;let _0x20aff3=_0x39995c[_0x5f1890(0x230)][_0x5f1890(0x1e8)];return ValueUtil['isEmpty'](_0x20aff3)?[]:_0x20aff3[_0x5f1890(0x1d3)](_0x4113c2=>{const _0x18c056=_0x5f1890;let _0x1744b6={'type':'gutter','gutterName':_0x18c056(0x1e8)};if(ValueUtil['isNotEmpty'](_0x4113c2['icon'])&&(Array[_0x18c056(0x16f)](_0x4113c2['icon'])?_0x1744b6[_0x18c056(0x188)]=_0x2b33f5=>{const _0xe26dbe=_0x18c056;if(ValueUtil['isNotEmpty'](_0x2b33f5))for(let _0x27a641=0x0;_0x27a641<_0x4113c2[_0xe26dbe(0x188)][_0xe26dbe(0x268)];_0x27a641++){let _0x125fba=_0x4113c2[_0xe26dbe(0x188)][_0x27a641];if(!0x0===ValueUtil['compareObjectValues'](_0x125fba,_0x2b33f5,Object[_0xe26dbe(0x20b)](_0x125fba)['filter'](_0x55c250=>_0xe26dbe(0x188)!=_0x55c250)))return _0x125fba['icon'];}}:_0x1744b6[_0x18c056(0x188)]=_0x4113c2[_0x18c056(0x188)]),ValueUtil['isNotEmpty'](_0x4113c2['name'])&&(_0x1744b6[_0x18c056(0x241)]=_0x4113c2[_0x18c056(0x241)]),ValueUtil['isNotEmpty'](_0x4113c2[_0x18c056(0x1cc)])&&(_0x1744b6[_0x18c056(0x165)]=TermsUtil[_0x18c056(0x14e)](_0x4113c2['label'])),_0x18c056(0x292)===_0x4113c2['type']){let _0x2b7538=ValueUtil[_0x18c056(0x28b)](_0x4113c2,'logic');['history_copy',_0x18c056(0x19f)][_0x18c056(0x157)](_0x2b7538)?_0x1744b6['handlers']={'click':(_0x57cf81,_0x1362a1,_0xb85fb1,_0x5cd59c,_0x4ee2c7)=>{const _0x181147=_0x18c056;if(_0x5cd59c['id']){let _0x1da997={'title':_0x181147(0x19c),'type':_0x181147(0x1ef),'tagname':'history_copy'==_0x2b7538?_0x181147(0x1f4):'history-json-list-popup','location':_0x181147(0x1a5)==_0x2b7538?_0x181147(0x1e4):_0x181147(0x265),'menu':_0x39995c['currentRouting'],'size':_0x181147(0x27a),'popup_field':_0x181147(0x20e),'parent_field':'id'},_0x5a9036={..._0x5cd59c,'gqlFunc':ValueUtil[_0x181147(0x28b)](_0x39995c[_0x181147(0x1bb)],'query','find_one_func'),'gristConfig':JSON[_0x181147(0x164)](JSON['stringify'](_0x39995c[_0x181147(0x239)][_0x181147(0x175)]))};MetaUiUtil[_0x181147(0x150)](_0x39995c,{'logic':_0x1da997},_0x5a9036);}}}:_0x1744b6[_0x18c056(0x251)]={'click':_0x2b7538};}else _0x1744b6[_0x18c056(0x251)]={'click':(_0x5aa2e7,_0x4b7984,_0x4a8fdf,_0x37d471,_0x191a4d)=>{_0x37d471['id']&&MetaUiUtil['gristButtonHandler'](_0x39995c,_0x4113c2,_0x37d471);}};return _0x1744b6;});}static async['getGridColumnSet'](_0x3f54ae){const _0x7ea574=a0_0x5393c2;let _0x33b0e2=_0x3f54ae['gridColumnConfig'];if(ValueUtil[_0x7ea574(0x169)](_0x33b0e2))return[];let _0x21d029=[];for(let _0x4df053=0x0;_0x4df053<_0x33b0e2[_0x7ea574(0x268)];_0x4df053++){let {type:_0x150575=_0x7ea574(0x276),name:_0x423aa1,header:_0x3b5883,hidden:_0xe6d516=!0x1,editable:_0xb58f73=!0x0,mandatory:_0x324d5b=!0x1,sortable:_0x3160c2=!0x1,align:_0x41df09=_0x7ea574(0x256),width:_0x3cfb3b=0x0,exportable:_0x3878ae=!0x1,select_opt:_0x25e36b,object_opt:_0x243629}=_0x33b0e2[_0x4df053],_0x221121={'type':_0x150575,'name':_0x423aa1,'header':ValueUtil['isEmpty'](_0x3b5883)?'':TermsUtil['tLabel'](_0x3b5883),'hidden':_0xe6d516,'sortable':_0x3160c2,'width':_0x3cfb3b,'record':{'editable':_0xb58f73,'mandatory':_0x324d5b,'align':_0x41df09}};if(_0x7ea574(0x1d6)===_0x150575&&ValueUtil['isNotEmpty'](_0x25e36b))Array['isArray'](_0x25e36b)?_0x221121[_0x7ea574(0x1ac)][_0x7ea574(0x233)]=_0x25e36b:_0x7ea574(0x293)===_0x25e36b[_0x7ea574(0x15a)]?_0x221121['record'][_0x7ea574(0x233)]=await ServiceUtil[_0x7ea574(0x1f8)](_0x25e36b[_0x7ea574(0x1c6)]?_0x25e36b[_0x7ea574(0x1c6)]:_0x25e36b[_0x7ea574(0x241)]):'scenario'===_0x25e36b[_0x7ea574(0x15a)]?_0x221121['record']['options']=await ServiceUtil[_0x7ea574(0x206)](_0x25e36b[_0x7ea574(0x241)],_0x25e36b[_0x7ea574(0x217)]):'entity'===_0x25e36b[_0x7ea574(0x15a)]&&(_0x221121['record']['options']=await ServiceUtil[_0x7ea574(0x18d)](_0x25e36b[_0x7ea574(0x217)]));else{if('object'!==_0x150575&&_0x7ea574(0x261)!==_0x150575||!ValueUtil['isNotEmpty'](_0x243629))_0x7ea574(0x19e)===_0x150575&&ValueUtil[_0x7ea574(0x1a6)](_0x243629)&&(_0x221121[_0x7ea574(0x1ac)][_0x7ea574(0x233)]=_0x243629,_0x243629[_0x7ea574(0x16e)]&&(_0x221121[_0x7ea574(0x1ac)][_0x7ea574(0x233)][_0x7ea574(0x277)]=await ServiceUtil[_0x7ea574(0x18d)](_0x243629)));else{let _0xdf9a4c;_0x243629[_0x7ea574(0x1d6)]&&_0x243629[_0x7ea574(0x1d6)][_0x7ea574(0x274)](_0x3feda4=>{const _0xb03083=_0x7ea574;_0x3feda4[_0xb03083(0x20c)]||(_0x3feda4['header']=_0x3feda4[_0xb03083(0x241)]),_0x3feda4['header']=TermsUtil['tLabel'](_0x3feda4[_0xb03083(0x20c)]);}),_0x221121['record'][_0x7ea574(0x233)]={..._0x243629},_0x243629[_0x7ea574(0x289)]&&_0x243629[_0x7ea574(0x289)][_0x7ea574(0x26c)]&&(_0xdf9a4c=[..._0x243629[_0x7ea574(0x289)][_0x7ea574(0x26c)]]),_0xdf9a4c&&JSON['stringify'](_0xdf9a4c)[_0x7ea574(0x157)]('::')&&(_0x221121['handlers']={'dblclick':(_0x3a8b36,_0xcfd709,_0xfb2246,_0xf2eb20,_0x13db26)=>{const _0x4e9617=_0x7ea574;let _0x3bc05c=[];_0xdf9a4c[_0x4e9617(0x274)](_0x497a95=>{const _0xe50112=_0x4e9617;var {name:_0x2f9548,value:_0x226524,operator:_0xd8d44d='eq'}=_0x497a95;_0x226524[_0xe50112(0x157)]('::')&&(_0x226524=ValueUtil['getParams'](_0xf2eb20,..._0x226524[_0xe50112(0x23d)]('::','')[_0xe50112(0x294)]('.'))),_0x226524||(_0x226524=''),_0x3bc05c[_0xe50112(0x1cd)]({'name':_0x2f9548,'operator':_0xd8d44d,'value':_0x226524});}),_0xfb2246[_0x4e9617(0x1ac)][_0x4e9617(0x233)][_0x4e9617(0x289)][_0x4e9617(0x26c)]=_0x3bc05c;}});}}!0x0===_0x3f54ae[_0x7ea574(0x20d)]&&!0x0===_0x3878ae&&(_0x221121[_0x7ea574(0x18b)]={'header':_0x221121[_0x7ea574(0x20c)],'key':_0x221121[_0x7ea574(0x241)],'width':_0x221121[_0x7ea574(0x25c)]/0x6,'type':_0x221121[_0x7ea574(0x15a)]}),_0x21d029['push'](_0x221121);}if(!0x0!==this[_0x7ea574(0x1fb)])return _0x21d029;let _0x3f8aba=await MetaApi[_0x7ea574(0x226)](this[_0x7ea574(0x155)]),{template:_0x2c6778={}}=_0x3f8aba;if(!_0x2c6778[_0x7ea574(0x22d)])return _0x21d029;let _0x1e5afc=_0x2c6778['master'];return _0x21d029=_0x21d029[_0x7ea574(0x1d3)](_0x5e7f3d=>('id'==_0x5e7f3d[_0x7ea574(0x241)]||(_0x5e7f3d[_0x7ea574(0x21e)]=!_0x1e5afc[_0x7ea574(0x157)](_0x5e7f3d[_0x7ea574(0x241)]),_0x5e7f3d['rank']=_0x1e5afc[_0x7ea574(0x285)](_0x5e7f3d[_0x7ea574(0x241)]),-0x1==_0x5e7f3d[_0x7ea574(0x25d)]&&(_0x5e7f3d[_0x7ea574(0x25d)]=0x1869f)),_0x5e7f3d)),_0x21d029[_0x7ea574(0x21f)]((_0x1dbd5d,_0x302a8e)=>_0x1dbd5d[_0x7ea574(0x25d)]-_0x302a8e['rank']),_0x21d029;}static[a0_0x5393c2(0x24c)](_0x574b4d,_0x25c995){const _0x5a3ef7=a0_0x5393c2;let _0x4ca956=_0x574b4d['searchConfig'];return _0x4ca956&&_0x4ca956[_0x5a3ef7(0x274)](_0x1a802b=>{const _0x2f4c51=_0x5a3ef7;'string'==typeof _0x1a802b?_0x25c995[_0x2f4c51(0x14a)](_0x1ab531=>_0x1ab531['name']==_0x1a802b)[_0x2f4c51(0x274)](_0x2fa73d=>{_0x2fa73d['filter']='search';}):_0x2f4c51(0x19b)==typeof _0x1a802b&&_0x25c995[_0x2f4c51(0x14a)](_0x193ded=>_0x193ded[_0x2f4c51(0x241)]==_0x1a802b['name'])[_0x2f4c51(0x274)](_0x213733=>{const _0x5e09d2=_0x2f4c51;_0x213733[_0x5e09d2(0x14a)]=_0x1a802b,_0x213733[_0x5e09d2(0x14a)][_0x5e09d2(0x15a)]='datetime'===_0x213733['type']?'datetime-local':_0x213733[_0x5e09d2(0x15a)],[_0x5e09d2(0x19b),'resource-object'][_0x5e09d2(0x157)](_0x213733[_0x5e09d2(0x15a)])&&(_0x213733['filter'][_0x5e09d2(0x241)]=_0x213733['filter']['searchField']?_0x213733[_0x5e09d2(0x14a)]['searchField']:_0x213733[_0x5e09d2(0x241)]+'Id');let _0xf0e70f=_0x213733['filter'][_0x5e09d2(0x27b)];if(_0xf0e70f&&_0xf0e70f[_0x5e09d2(0x287)](_0x5e09d2(0x214))){let _0x239dc8=_0xf0e70f[_0x5e09d2(0x294)](','),_0x108394=[];_0x239dc8['forEach'](_0x3a8f4f=>{const _0x2ebb90=_0x5e09d2,_0x5ac6bf=a0_0x20a3c0();_0x2ebb90(0x214)==_0x3a8f4f?_0x108394['push'](_0x5ac6bf['format']('YYYY-MM-DD')):_0x3a8f4f[_0x2ebb90(0x157)]('-')?_0x108394[_0x2ebb90(0x1cd)](_0x5ac6bf[_0x2ebb90(0x231)](_0x3a8f4f[_0x2ebb90(0x294)]('-')[0x1],_0x2ebb90(0x148))[_0x2ebb90(0x182)](_0x2ebb90(0x23e))):_0x3a8f4f[_0x2ebb90(0x157)]('+')&&_0x108394[_0x2ebb90(0x1cd)](_0x5ac6bf[_0x2ebb90(0x1f1)](_0x3a8f4f['split']('+')[0x1],'day')[_0x2ebb90(0x182)](_0x2ebb90(0x23e)));}),_0x213733[_0x5e09d2(0x14a)]['value']=0x1==_0x108394[_0x5e09d2(0x268)]?_0x108394[0x0]:_0x108394;}});}),_0x25c995;}static[a0_0x5393c2(0x15d)](_0x125881){const _0x53cc62=a0_0x5393c2;let _0xf25127={'title':TermsUtil[_0x53cc62(0x236)](_0x125881['menuInfo'][_0x53cc62(0x165)]),'help':_0x125881[_0x53cc62(0x280)][_0x53cc62(0x15e)]||'','actions':[...MetaUiUtil[_0x53cc62(0x219)](_0x125881)]};return _0x125881[_0x53cc62(0x20d)]&&(_0xf25127['exportable']={'name':_0xf25127[_0x53cc62(0x165)],'data':_0x125881[_0x53cc62(0x1a9)][_0x53cc62(0x298)](_0x125881)}),_0x125881[_0x53cc62(0x1e7)]&&(_0xf25127[_0x53cc62(0x1a3)]={'handler':_0x125881[_0x53cc62(0x161)]['bind'](_0x125881)}),_0xf25127;}static[a0_0x5393c2(0x219)](_0x55fa3b){const _0x213993=a0_0x5393c2;let _0x414fd7=_0x55fa3b[_0x213993(0x227)];return ValueUtil[_0x213993(0x169)](_0x414fd7)?[]:_0x414fd7[_0x213993(0x14a)](_0x14545a=>_0x213993(0x1a9)!=_0x14545a[_0x213993(0x241)]&&_0x213993(0x161)!=_0x14545a['name']&&_0x213993(0x1f1)!=_0x14545a[_0x213993(0x241)])['map'](_0x57aef9=>{const _0x57d308=_0x213993;let {name:_0x1afad6,label:_0x5406a3,style:_0x199f51,type:_0xd1df79=_0x57d308(0x292),action:_0x2f083f,logic:_0x14d9cd}=_0x57aef9;if(ValueUtil[_0x57d308(0x169)](_0x1afad6))return{'title':'-1'};ValueUtil[_0x57d308(0x169)](_0x5406a3)&&(_0x5406a3=_0x1afad6),ValueUtil[_0x57d308(0x169)](_0x199f51)&&(_0x199f51=_0x1afad6),ValueUtil['isEmpty'](_0x2f083f)&&(_0x2f083f=_0x1afad6);let _0x314a6c=ValueUtil['isNotEmpty'](_0x199f51)?CommonButtonStyles[_0x199f51]||{'icon':_0x199f51,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x57d308(0x14e)](_0x5406a3),'action':MetaUiUtil[_0x57d308(0x203)](_0x55fa3b,_0xd1df79,_0x2f083f,_0x14d9cd),..._0x314a6c};})[_0x213993(0x14a)](_0x33d7c2=>'-1'!=_0x33d7c2[_0x213993(0x165)]);}static[a0_0x5393c2(0x21c)](_0x317bfd){const _0x51efc8=a0_0x5393c2;let _0x574c95=_0x317bfd&&_0x317bfd['buttonConfig']?_0x317bfd[_0x51efc8(0x227)]:null;return _0x574c95?_0x574c95['filter'](_0x536c17=>_0x51efc8(0x1f1)!=_0x536c17[_0x51efc8(0x241)])[_0x51efc8(0x1d3)](_0x1b1288=>{const _0x52338d=_0x51efc8;let {name:_0x1cc06a,label:_0x531b2b,style:_0x47f3a0,type:_0x3856f0=_0x52338d(0x292),action:_0x455d2f,logic:_0x12a1c8}=_0x1b1288;ValueUtil[_0x52338d(0x169)](_0x531b2b)&&(_0x531b2b=_0x1cc06a),ValueUtil['isEmpty'](_0x47f3a0)&&(_0x47f3a0=_0x1cc06a),ValueUtil['isEmpty'](_0x455d2f)&&(_0x455d2f=_0x1cc06a);let _0x18476f=MetaUiUtil['createButtonElement'](TermsUtil['tButton'](_0x531b2b),_0x47f3a0);return _0x18476f[_0x52338d(0x269)]=MetaUiUtil[_0x52338d(0x203)](_0x317bfd,_0x3856f0,_0x455d2f,_0x12a1c8),_0x18476f;}):[];}static[a0_0x5393c2(0x290)](_0x191353,_0x1509e7){const _0x54d785=a0_0x5393c2;let _0x19607b=CommonButtonStyles[_0x1509e7]||{'icon':_0x1509e7,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x32f200=_0x54d785(0x1ea)+_0x191353+'\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+(_0x19607b[_0x54d785(0x188)]?_0x19607b['icon']:'')+_0x54d785(0x22c)+(_0x19607b['emphasis'][_0x54d785(0x18c)]?_0x54d785(0x18c):'')+_0x54d785(0x197)+(_0x19607b[_0x54d785(0x286)]['outlined']?_0x54d785(0x160):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x19607b[_0x54d785(0x286)][_0x54d785(0x1c8)]?_0x54d785(0x1c8):'')+_0x54d785(0x197)+(_0x19607b[_0x54d785(0x286)][_0x54d785(0x1b7)]?'danger':'')+_0x54d785(0x257);return UiUtil[_0x54d785(0x212)](_0x32f200);}static['getButtonActionHandler'](_0x3fef44,_0x4425cc,_0xc1773a,_0x1f9cff){const _0x367ea2=a0_0x5393c2;if('basic'==_0x4425cc){if(_0x3fef44[_0xc1773a])return _0x3fef44[_0xc1773a][_0x367ea2(0x298)](_0x3fef44);}else{if('custom'==_0x4425cc)return()=>MetaUiUtil[_0x367ea2(0x1c3)](_0x3fef44,_0x1f9cff);}return()=>{const _0x18b9a9=_0x367ea2;UiUtil['showAlertPopup'](_0x18b9a9(0x198),_0x18b9a9(0x1e1),_0x18b9a9(0x23c),_0x18b9a9(0x22f));};}static async[a0_0x5393c2(0x150)](_0x5e8320,_0x355969,_0x4db529){const _0x2b10ed=a0_0x5393c2;let _0x528895=ValueUtil[_0x2b10ed(0x28b)](_0x355969,_0x2b10ed(0x238)),_0x59ecdc=ValueUtil[_0x2b10ed(0x28b)](_0x528895,'type');if('form'===_0x59ecdc)_0x528895[_0x2b10ed(0x14c)]=_0x2b10ed(0x201),_0x528895[_0x2b10ed(0x1a1)]=_0x2b10ed(0x27c),_0x528895['parent_field']='id',await MetaUiUtil['commonButtonOpenPopup'](_0x5e8320,_0x528895,_0x4db529);else{if('pass_param'===_0x59ecdc)MetaUiUtil['gristButtonPassParam'](_0x5e8320,_0x528895,_0x4db529);else{if(_0x2b10ed(0x22e)===_0x59ecdc){let _0x429f38;_0x528895[_0x2b10ed(0x247)]?(_0x429f38={},Object[_0x2b10ed(0x20b)](_0x4db529)[_0x2b10ed(0x14a)](_0x27c1ee=>Object[_0x2b10ed(0x20b)](_0x528895[_0x2b10ed(0x247)])['includes'](_0x27c1ee))[_0x2b10ed(0x1d3)](_0x59bd8f=>{const _0x244930=_0x2b10ed;Object[_0x244930(0x20b)](_0x528895[_0x244930(0x247)])[_0x244930(0x157)](_0x59bd8f)&&(_0x244930(0x276)==typeof _0x4db529[_0x59bd8f]?_0x429f38[_0x528895[_0x244930(0x247)][_0x59bd8f]]=_0x4db529[_0x59bd8f]:_0x429f38[_0x528895[_0x244930(0x247)][_0x59bd8f]]={'id':_0x4db529[_0x59bd8f]['id']});})):_0x429f38=_0x4db529,UiUtil[_0x2b10ed(0x1d2)](_0x528895[_0x2b10ed(0x1ca)],[_0x429f38]);}else _0x2b10ed(0x1ef)===_0x59ecdc?await MetaUiUtil[_0x2b10ed(0x17c)](_0x5e8320,_0x528895,_0x4db529):_0x2b10ed(0x1b4)===_0x59ecdc?await MetaUiUtil[_0x2b10ed(0x297)](_0x5e8320,_0x528895,_0x4db529):_0x2b10ed(0x19a)===_0x59ecdc&&await MetaUiUtil['gristButtonValueReference'](_0x5e8320,_0x528895,_0x4db529);}}}static async[a0_0x5393c2(0x1c3)](_0x22c6af,_0x1b389d){const _0x7197a4=a0_0x5393c2;if(ValueUtil[_0x7197a4(0x169)](_0x1b389d))return;let _0x2921bc=_0x22c6af[_0x7197a4(0x239)],_0x7c810=_0x22c6af['filterForm'],_0x3234cf=ValueUtil[_0x7197a4(0x28b)](_0x1b389d,'type'),_0x30841d=ValueUtil[_0x7197a4(0x28b)](_0x1b389d,'param'),_0x450be8=_0x30841d[_0x7197a4(0x14a)](_0x3e1267=>_0x3e1267[_0x7197a4(0x287)](_0x7197a4(0x239)));if(ValueUtil[_0x7197a4(0x1a6)](_0x450be8)){if(!_0x2921bc)return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),'text.grid_is_not_exist',_0x7197a4(0x23c),_0x7197a4(0x22f));if(0x0==(_0x2921bc[_0x7197a4(0x151)]?_0x2921bc[_0x7197a4(0x151)][_0x7197a4(0x28c)]:[])[_0x7197a4(0x268)])return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),_0x7197a4(0x243),_0x7197a4(0x23c),_0x7197a4(0x22f));if(_0x30841d['includes'](_0x7197a4(0x186))||_0x30841d['includes'](_0x7197a4(0x259))){let _0x2fb218=_0x2921bc[_0x7197a4(0x17a)];if(ValueUtil[_0x7197a4(0x169)](_0x2fb218))return void UiUtil['showAlertPopup'](_0x7197a4(0x1e2),'text.there_is_no_selected_items','info',_0x7197a4(0x22f));if(_0x30841d[_0x7197a4(0x157)](_0x7197a4(0x186))&&_0x2fb218[_0x7197a4(0x268)]>0x1)return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),_0x7197a4(0x1e6),_0x7197a4(0x23c),_0x7197a4(0x22f));}}let _0x1143c7={};if(_0x30841d['includes'](_0x7197a4(0x14a))){if(!_0x7c810)return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),_0x7197a4(0x1b1),_0x7197a4(0x23c),_0x7197a4(0x22f));let _0x50013f=_0x7c810?await _0x7c810[_0x7197a4(0x1cb)]():[];_0x1143c7['filter']=_0x50013f;}if(_0x30841d['includes'](_0x7197a4(0x153)))_0x1143c7[_0x7197a4(0x239)]=_0x2921bc[_0x7197a4(0x151)]['records'];else{if(_0x30841d['includes'](_0x7197a4(0x186)))_0x1143c7[_0x7197a4(0x239)]=_0x2921bc[_0x7197a4(0x17a)][0x0];else{if(_0x30841d[_0x7197a4(0x157)](_0x7197a4(0x259)))_0x1143c7[_0x7197a4(0x239)]=_0x2921bc[_0x7197a4(0x17a)];else{if(_0x30841d[_0x7197a4(0x157)]('grist_changed')&&(_0x1143c7[_0x7197a4(0x239)]=ServiceUtil['patchesForUpdateMultiple'](_0x2921bc),!_0x1143c7[_0x7197a4(0x239)]))return;}}}if(_0x7197a4(0x22e)===_0x3234cf){let _0x4a71dc,_0xf0264e=Array['isArray'](_0x1143c7['grist'])?_0x1143c7[_0x7197a4(0x239)]:[_0x1143c7[_0x7197a4(0x239)]];_0x4a71dc=_0x1b389d[_0x7197a4(0x247)]?_0xf0264e[_0x7197a4(0x1d3)](_0x3dcbfa=>{const _0x380a70=_0x7197a4;let _0x51d517={};return Object[_0x380a70(0x20b)](_0x3dcbfa)[_0x380a70(0x14a)](_0x31672f=>Object[_0x380a70(0x20b)](_0x1b389d[_0x380a70(0x247)])[_0x380a70(0x157)](_0x31672f))[_0x380a70(0x1d3)](_0x3d4530=>{const _0x540b34=_0x380a70;Object[_0x540b34(0x20b)](_0x1b389d[_0x540b34(0x247)])[_0x540b34(0x157)](_0x3d4530)&&(_0x540b34(0x276)==typeof _0x3dcbfa[_0x3d4530]?_0x51d517[_0x1b389d['param_field'][_0x3d4530]]=_0x3dcbfa[_0x3d4530]:_0x51d517[_0x1b389d[_0x540b34(0x247)][_0x3d4530]]={'id':_0x3dcbfa[_0x3d4530]['id']});}),_0x51d517;}):_0xf0264e,UiUtil[_0x7197a4(0x1d2)](_0x1b389d[_0x7197a4(0x1ca)],_0x4a71dc);}else{if(_0x7197a4(0x1ef)===_0x3234cf){let _0x3f13ed={..._0x1143c7[_0x7197a4(0x239)]?_0x1143c7['grist']:{},..._0x1143c7[_0x7197a4(0x14a)]?_0x1143c7[_0x7197a4(0x14a)]:{}};await MetaUiUtil[_0x7197a4(0x17c)](_0x22c6af,_0x1b389d,_0x3f13ed);}else _0x7197a4(0x1b4)===_0x3234cf&&await MetaUiUtil[_0x7197a4(0x297)](_0x22c6af,_0x1b389d,_0x1143c7);}}static['gristButtonPassParam'](_0x3ea487,_0x6e8a23,_0x15bbf1){const _0x12f995=a0_0x5393c2;let _0x155d2d=_0x6e8a23[_0x12f995(0x1f3)],_0x235419={},_0xbfd041=_0x3ea487[_0x12f995(0x254)][_0x12f995(0x1fe)](),_0xc1b366=_0x3ea487;_0x235419=_0xbfd041['startsWith'](_0x12f995(0x16c))?{'detail':{..._0x155d2d}}:_0xbfd041[_0x12f995(0x287)]('meta-master-detail-')?_0x3ea487[_0x12f995(0x279)]['tagName'][_0x12f995(0x1fe)]()['startsWith'](_0x12f995(0x18a))?{'detail':{..._0x155d2d}}:{'self':{..._0x155d2d}}:_0x155d2d,Object['keys'](_0x235419)[_0x12f995(0x274)](_0x18103d=>{const _0x30809e=_0x12f995;_0x30809e(0x22d)==_0x18103d?_0xc1b366=_0x3ea487['rootElement']['masterElement']:_0x30809e(0x1d0)==_0x18103d?_0xc1b366=_0x3ea487[_0x30809e(0x176)]?_0x3ea487['rootElement'][_0x30809e(0x279)]:_0x3ea487['detailElement']:_0x30809e(0x172)==_0x18103d&&(_0xc1b366=_0x3ea487),Object[_0x30809e(0x20b)](_0x235419[_0x18103d])[_0x30809e(0x274)](_0x68dcf4=>{const _0x58b696=_0x30809e;let _0x56d85f=_0xc1b366[_0x58b696(0x222)][_0x58b696(0x282)]('#'+_0x68dcf4);_0x15bbf1['id']&&_0x56d85f[_0x58b696(0x295)](_0x15bbf1['id']);let _0x4a1e47=_0x235419[_0x18103d][_0x68dcf4];Object[_0x58b696(0x20b)](_0x4a1e47)['forEach'](_0x245ff8=>{let _0x47f9bd=_0x4a1e47[_0x245ff8],_0x24a9ed='*'===_0x47f9bd?_0x15bbf1:_0x15bbf1[_0x47f9bd];_0x56d85f[_0x245ff8]=_0x24a9ed;});});});}static async[a0_0x5393c2(0x17c)](_0x53b1d0,_0x634001,_0xa4dbcc){const _0x71498b=a0_0x5393c2;let _0x1dd008=TermsUtil[_0x71498b(0x236)](_0x634001[_0x71498b(0x165)]);ValueUtil[_0x71498b(0x1a6)](_0x634001['title_detail'])&&(_0x1dd008=_0x1dd008+'('+ValueUtil[_0x71498b(0x28b)](_0xa4dbcc,..._0x634001[_0x71498b(0x187)]['split']('.'))+')');let _0x4474da=_0x634001[_0x71498b(0x1a2)]&&_0x71498b(0x276)==typeof _0x634001['after']&&_0x71498b(0x1d9)===_0x634001['after']&&_0x53b1d0&&_0x53b1d0[_0x71498b(0x1d9)]?_0x53b1d0[_0x71498b(0x1d9)]['bind'](_0x53b1d0):void 0x0;UiUtil[_0x71498b(0x1ba)](_0x1dd008,_0x634001,_0xa4dbcc,_0x4474da);}static async[a0_0x5393c2(0x297)](_0x5639e5,_0x238ec1,_0x347d2e){const _0xb6d07b=a0_0x5393c2;let _0x173fea=await ServiceUtil[_0xb6d07b(0x15f)](_0xb6d07b(0x1c1),_0x238ec1[_0xb6d07b(0x241)],_0x347d2e);if(!_0x173fea[_0xb6d07b(0x291)]&&!ValueUtil[_0xb6d07b(0x169)](_0x238ec1[_0xb6d07b(0x1a2)])&&_0x238ec1['after']){if(_0xb6d07b(0x1d9)!==_0x238ec1[_0xb6d07b(0x1a2)]){if('object'==typeof _0x238ec1[_0xb6d07b(0x1a2)]){let _0x2afe00=_0x238ec1[_0xb6d07b(0x1a2)],_0x36d80d=ValueUtil[_0xb6d07b(0x28b)](_0x173fea[_0xb6d07b(0x151)]['runScenario'][_0xb6d07b(0x151)],..._0x2afe00[_0xb6d07b(0x1aa)]['split']('.'));if(0x0==Array[_0xb6d07b(0x16f)](_0x36d80d)&&(_0x36d80d=[_0x36d80d]),'form'===_0x2afe00['type'])_0x2afe00[_0xb6d07b(0x14c)]=_0xb6d07b(0x201),_0x2afe00[_0xb6d07b(0x1a1)]=_0xb6d07b(0x27c),_0x2afe00[_0xb6d07b(0x242)]='id',_0x36d80d=_0x36d80d[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x5639e5,_0x2afe00,_0x36d80d);else{if('page'===_0x2afe00['type']){let _0x109da3,_0x1c7b48=_0x36d80d;_0x109da3=_0x2afe00['param_field']?_0x1c7b48[_0xb6d07b(0x1d3)](_0x1a78fa=>{const _0x10c57d=_0xb6d07b;let _0x4a49ba={};return Object[_0x10c57d(0x20b)](_0x1a78fa)[_0x10c57d(0x14a)](_0x56756c=>Object[_0x10c57d(0x20b)](_0x2afe00[_0x10c57d(0x247)])[_0x10c57d(0x157)](_0x56756c))[_0x10c57d(0x1d3)](_0x2f2666=>{const _0x201cb0=_0x10c57d;Object[_0x201cb0(0x20b)](_0x2afe00[_0x201cb0(0x247)])[_0x201cb0(0x157)](_0x2f2666)&&(_0x201cb0(0x276)==typeof _0x1a78fa[_0x2f2666]?_0x4a49ba[_0x2afe00[_0x201cb0(0x247)][_0x2f2666]]=_0x1a78fa[_0x2f2666]:_0x4a49ba[_0x2afe00['param_field'][_0x2f2666]]={'id':_0x1a78fa[_0x2f2666]['id']});}),_0x4a49ba;}):_0x1c7b48,UiUtil[_0xb6d07b(0x1d2)](_0x2afe00['url'],_0x109da3);}else'pass_param'===_0x2afe00[_0xb6d07b(0x15a)]?(_0x36d80d=_0x36d80d[0x0],MetaUiUtil[_0xb6d07b(0x1f0)](_0x5639e5,_0x2afe00,_0x36d80d)):_0xb6d07b(0x1ef)===_0x2afe00[_0xb6d07b(0x15a)]?(_0x36d80d=_0x36d80d[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x5639e5,_0x2afe00,_0x36d80d)):_0xb6d07b(0x19a)===_0x2afe00[_0xb6d07b(0x15a)]&&(_0x36d80d=_0x36d80d[0x0],await MetaUiUtil[_0xb6d07b(0x173)](_0x5639e5,_0x2afe00,_0x36d80d));}}}else _0x5639e5[_0xb6d07b(0x1d9)]();}}static async['gristButtonValueReference'](_0x2959dd,_0x50c7a2,_0x752dbb){const _0x2b67b7=a0_0x5393c2;for(let _0x34aeb6=0x0;_0x34aeb6<_0x50c7a2[_0x2b67b7(0x162)]['length'];_0x34aeb6++){let _0x146cb2=_0x50c7a2[_0x2b67b7(0x162)][_0x34aeb6];!0x0===ValueUtil[_0x2b67b7(0x213)](_0x146cb2,_0x752dbb,Object[_0x2b67b7(0x20b)](_0x146cb2)[_0x2b67b7(0x14a)](_0xf2b856=>_0x2b67b7(0x238)!=_0xf2b856))&&await MetaUiUtil[_0x2b67b7(0x150)](_0x2959dd,_0x146cb2,_0x752dbb);}}static['getGristHiddenColumnConfig'](_0x4f0ffc,_0x4f60ee){return{'type':_0x4f0ffc,'name':_0x4f60ee,'sortable':!0x1,'hidden':!0x0};}static['getGristColumnConfig'](_0x278fd7,_0x156127,_0x5e54df,_0x39c114,_0x27f2a6,_0x13a04e){const _0x25b5a7=a0_0x5393c2;let _0xc2d91d=TermsUtil[_0x25b5a7(0x1c0)](_0x156127);return{'type':_0x278fd7,'name':_0x156127,'header':_0xc2d91d,'record':{'align':_0x5e54df,'editable':_0x39c114},'sortable':_0x27f2a6,'width':_0x13a04e,'imex':{'width':Math[_0x25b5a7(0x14b)](_0x13a04e/0x6),'header':_0xc2d91d,'type':_0x278fd7,'key':_0x156127}};}static[a0_0x5393c2(0x27e)](_0x340db3,_0xb14532,_0x3e549d,_0x52d55a,_0x3286ae,_0x155f76,_0xb0c1f6){const _0x5ab734=a0_0x5393c2;let _0x11adc1=TermsUtil[_0x5ab734(0x1c0)](_0x3e549d);return{'type':_0x340db3,'name':_0xb14532,'header':_0x11adc1,'record':{'align':_0x52d55a,'editable':_0x3286ae},'sortable':_0x155f76,'width':_0xb0c1f6,'imex':{'width':Math['floor'](_0xb0c1f6/0x6),'header':_0x11adc1,'type':_0x340db3,'key':_0xb14532}};}static[a0_0x5393c2(0x17d)](_0x2aee70,_0x4c6ed3,_0xded0de,_0x4830b,_0xe35ba5,_0x38f48e,_0x38474e,_0x365a84){const _0x42628a=a0_0x5393c2;let _0x449f89=TermsUtil[_0x42628a(0x1c0)](_0xded0de);return{'type':_0x2aee70,'name':_0x4c6ed3,'header':_0x449f89,'record':{'align':_0x4830b,'editable':_0xe35ba5,'mandatory':_0x38474e},'sortable':_0x38f48e,'width':_0x365a84,'imex':{'width':Math[_0x42628a(0x14b)](_0x365a84/0x6),'header':_0x449f89,'type':_0x2aee70,'key':_0x4c6ed3}};}static['getGristSelectorColumnConfig'](_0x58f42d,_0x23deed,_0x39c7d1,_0x151253,_0xddce03,_0xee5484,_0x4ad76e){const _0x4d20c7=a0_0x5393c2;let _0x39effe=TermsUtil[_0x4d20c7(0x1c0)](_0x23deed);return{'type':_0x4d20c7(0x1d6),'name':_0x58f42d,'header':_0x39effe,'record':{'align':_0x39c7d1,'editable':!0x0,'mandatory':_0xee5484,'options':_0x4ad76e},'sortable':_0x151253,'width':_0xddce03,'imex':{'width':Math[_0x4d20c7(0x14b)](_0xddce03/0x6),'header':_0x39effe,'type':_0x4d20c7(0x276),'key':_0x58f42d}};}static async['getGristCodeSelectorColumnConfig'](_0x40f69d,_0x3c4ed2,_0x4e0d29,_0xfd00a9,_0x5c293a,_0x456258,_0x503458){const _0x27832c=a0_0x5393c2;let _0x1cc6e7=await ServiceUtil[_0x27832c(0x1f8)](_0x503458);return MetaUiUtil['getGristSelectorColumnConfig'](_0x40f69d,_0x3c4ed2,_0x4e0d29,_0xfd00a9,_0x5c293a,_0x456258,_0x1cc6e7);}static[a0_0x5393c2(0x177)](_0x1bc22a,_0x436637,_0x41521f,_0x46790b,_0x51a2ea){const _0x9530=a0_0x5393c2;let _0x1dd812=TermsUtil[_0x9530(0x1c0)](_0x41521f),_0xedab8={'name':_0x1bc22a,'type':_0x436637,'label':_0x1dd812,'operator':_0x46790b,'imex':{'width':0x10,'header':_0x1dd812,'type':_0x436637,'key':_0x1bc22a}};return _0x51a2ea&&(_0xedab8[_0x9530(0x233)]=_0x51a2ea),_0xedab8;}static async[a0_0x5393c2(0x26a)](_0x2b6994,_0x4680f0,_0x2e910b,_0x130ac9,_0x549615){const _0xcb9ec9=a0_0x5393c2;let _0x4b4e86=await ServiceUtil[_0xcb9ec9(0x1f8)](_0x549615);return MetaUiUtil['getGristSearchColumnConfig'](_0x2b6994,_0x4680f0,_0x2e910b,_0x130ac9,_0x4b4e86);}static[a0_0x5393c2(0x14f)](){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_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=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_0x5393c2(0x168)](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static[a0_0x5393c2(0x1a7)](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static[
|
|
51
|
+
`];}static['getBasicGristStyles'](){const _0x557828=a0_0x5393c2;return[ScrollbarStyles,CommonGristStyles,css`
|
|
52
52
|
:host {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -58,7 +58,7 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
58
58
|
ox-grist {
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
flex: 1;
|
|
61
|
-
}`,...MetaUiUtil[
|
|
61
|
+
}`,...MetaUiUtil[_0x557828(0x168)](),...MetaUiUtil[_0x557828(0x14f)](),...MetaUiUtil[_0x557828(0x1a7)]()];}static[a0_0x5393c2(0x180)](){const _0x4044ca=a0_0x5393c2;return[ScrollbarStyles,CommonGristStyles,css`
|
|
62
62
|
:host {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -105,7 +105,7 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
105
105
|
ox-grist {
|
|
106
106
|
overflow-y: auto;
|
|
107
107
|
flex: 1;
|
|
108
|
-
}`,...MetaUiUtil[
|
|
108
|
+
}`,...MetaUiUtil[_0x4044ca(0x168)](),...MetaUiUtil[_0x4044ca(0x14f)](),...MetaUiUtil[_0x4044ca(0x1a7)]()];}static[a0_0x5393c2(0x244)](){const _0x42ad2b=a0_0x5393c2;return[ScrollbarStyles,CommonGristStyles,css`
|
|
109
109
|
:host {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
@@ -152,7 +152,7 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
152
152
|
ox-grist {
|
|
153
153
|
overflow-y: auto;
|
|
154
154
|
flex: 1;
|
|
155
|
-
}`,...MetaUiUtil[
|
|
155
|
+
}`,...MetaUiUtil[_0x42ad2b(0x168)](),...MetaUiUtil[_0x42ad2b(0x14f)](),...MetaUiUtil[_0x42ad2b(0x1a7)]()];}static['getBasicTabDetailStyles'](){const _0x3d7eb0=a0_0x5393c2;return[ScrollbarStyles,CommonGristStyles,css`
|
|
156
156
|
:host {
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
@@ -199,7 +199,22 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
199
199
|
ox-grist {
|
|
200
200
|
overflow-y: auto;
|
|
201
201
|
flex: 1;
|
|
202
|
-
}`,...MetaUiUtil[
|
|
202
|
+
}`,...MetaUiUtil[_0x3d7eb0(0x168)](),...MetaUiUtil[_0x3d7eb0(0x14f)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static['getBasicMainTabStyles'](){const _0x2370b9=a0_0x5393c2;return[ScrollbarStyles,CommonGristStyles,css`
|
|
203
|
+
:host {
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-direction: column;
|
|
206
|
+
overflow-x: overlay;
|
|
207
|
+
background-color: var(--main-section-background-color);
|
|
208
|
+
}
|
|
209
|
+
.container {
|
|
210
|
+
flex: 1;
|
|
211
|
+
display: grid;
|
|
212
|
+
overflow: hidden;
|
|
213
|
+
}
|
|
214
|
+
ox-grist {
|
|
215
|
+
overflow-y: auto;
|
|
216
|
+
flex: 1;
|
|
217
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[_0x2370b9(0x14f)](),...MetaUiUtil[_0x2370b9(0x1a7)]()];}static[a0_0x5393c2(0x15b)](_0x3c884a){const _0x5ebd91=a0_0x5393c2;return _0x5ebd91(0x27d)==_0x3c884a?MetaUiUtil[_0x5ebd91(0x158)]():MetaUiUtil[_0x5ebd91(0x278)]();}static[a0_0x5393c2(0x158)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
203
218
|
:host {
|
|
204
219
|
display: flex;
|
|
205
220
|
flex-direction: column;
|
|
@@ -266,7 +281,7 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
266
281
|
margin-left:7px;
|
|
267
282
|
margin-top:7px;
|
|
268
283
|
}
|
|
269
|
-
`];}static[
|
|
284
|
+
`];}static['getMasterDetailLeftRightGristStyle'](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
270
285
|
:host {
|
|
271
286
|
display: flex;
|
|
272
287
|
flex-direction: column;
|
|
@@ -333,7 +348,7 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
333
348
|
margin-left:7px;
|
|
334
349
|
margin-top:7px;
|
|
335
350
|
}
|
|
336
|
-
`];}static[
|
|
351
|
+
`];}static[a0_0x5393c2(0x262)](){const _0x36f414=a0_0x5393c2;return[ScrollbarStyles,css`
|
|
337
352
|
:host {
|
|
338
353
|
display: flex;
|
|
339
354
|
flex: 1;
|
|
@@ -422,7 +437,7 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
422
437
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
423
438
|
}
|
|
424
439
|
|
|
425
|
-
`,...MetaUiUtil[
|
|
440
|
+
`,...MetaUiUtil[_0x36f414(0x14f)]()];}static[a0_0x5393c2(0x23b)](){return[css`
|
|
426
441
|
:host {
|
|
427
442
|
display: flex;
|
|
428
443
|
flex: 1;
|
|
@@ -477,188 +492,204 @@ const a0_0x1941d6=a0_0x50ec;(function(_0x2b987a,_0x1bc64e){const _0x2ac0c6=a0_0x
|
|
|
477
492
|
overflow-x: overlay;
|
|
478
493
|
background-color: var(--main-section-background-color);
|
|
479
494
|
}
|
|
480
|
-
`];}static[
|
|
495
|
+
`];}static[a0_0x5393c2(0x1d8)](_0xefe6e5,_0x35687f){const _0x2c0ef2=a0_0x5393c2;return!!(_0xefe6e5?_0xefe6e5[_0x2c0ef2(0x1fd)](_0x4b6db9=>_0x4b6db9['name']==_0x35687f):null);}static[a0_0x5393c2(0x1ff)](_0x145b5d,_0x516a85){const _0x384dbf=a0_0x5393c2;return!!(_0x145b5d&&_0x145b5d['button']?_0x145b5d[_0x384dbf(0x1e8)][_0x384dbf(0x1fd)](_0x507f24=>_0x507f24[_0x384dbf(0x241)]==_0x516a85):null);}static[a0_0x5393c2(0x16a)](_0x1d3a26){const _0x5036bd=a0_0x5393c2;let _0x15de58='';return _0x1d3a26[_0x5036bd(0x14a)](_0x4ec5e4=>'gutter'!=_0x4ec5e4['type'])[_0x5036bd(0x274)](_0x27425b=>{const _0x48dbfd=_0x5036bd;_0x15de58+='\x0a',_0x15de58+=_0x48dbfd(0x19b)==_0x27425b[_0x48dbfd(0x15a)]||_0x48dbfd(0x261)==_0x27425b['type']?_0x27425b['name']+'\x0a{'+MetaUiUtil[_0x48dbfd(0x1ab)](_0x27425b)+'}':'board'==_0x27425b[_0x48dbfd(0x15a)]?_0x27425b[_0x48dbfd(0x241)]+_0x48dbfd(0x17f):_0x27425b['name'];}),_0x15de58;}static[a0_0x5393c2(0x1ab)](_0x407ec2){const _0x323452=a0_0x5393c2;let _0x3dc578='';return ValueUtil[_0x323452(0x1a6)](_0x407ec2[_0x323452(0x1ac)][_0x323452(0x233)])&&ValueUtil[_0x323452(0x1a6)](_0x407ec2[_0x323452(0x1ac)][_0x323452(0x233)][_0x323452(0x1d6)])&&_0x407ec2['record']['options'][_0x323452(0x1d6)][_0x323452(0x274)](_0x1bafa1=>{const _0x286cb0=_0x323452;_0x1bafa1[_0x286cb0(0x241)]&&''!==_0x1bafa1[_0x286cb0(0x241)]&&('object'===_0x1bafa1[_0x286cb0(0x15a)]||_0x286cb0(0x261)===_0x1bafa1[_0x286cb0(0x15a)]?_0x3dc578+='\x0a'+_0x1bafa1[_0x286cb0(0x241)]+_0x286cb0(0x25e)+MetaUiUtil[_0x286cb0(0x1ab)](_0x1bafa1)+_0x286cb0(0x252):_0x3dc578+='\x0a'+_0x1bafa1[_0x286cb0(0x241)]);}),''==_0x3dc578&&(_0x3dc578+=_0x323452(0x223)),_0x3dc578;}static['getBasicGristHtml'](_0x5c7204){const _0x312b9e=a0_0x5393c2;let _0x57931e=_0x5c7204[_0x312b9e(0x1bd)];if(_0x57931e){let _0xf2df79=_0x5c7204[_0x312b9e(0x27f)]?_0x5c7204[_0x312b9e(0x27f)]:_0x312b9e(0x234),_0x437481=_0x5c7204[_0x312b9e(0x14d)];return html`
|
|
481
496
|
<ox-grist
|
|
482
|
-
id=${
|
|
483
|
-
.config=${
|
|
484
|
-
.mode=${
|
|
497
|
+
id=${_0xf2df79}
|
|
498
|
+
.config=${_0x57931e}
|
|
499
|
+
.mode=${_0x437481}
|
|
485
500
|
auto-fetch
|
|
486
|
-
.fetchHandler=${
|
|
487
|
-
${MetaUiUtil[
|
|
501
|
+
.fetchHandler=${_0x5c7204['fetchHandler'][_0x312b9e(0x298)](_0x5c7204)}>
|
|
502
|
+
${MetaUiUtil[_0x312b9e(0x166)](_0x5c7204)}
|
|
488
503
|
</ox-grist>
|
|
489
|
-
`;}return html``;}static[
|
|
504
|
+
`;}return html``;}static[a0_0x5393c2(0x266)](_0x1cc4b0){const _0x3cba10=a0_0x5393c2;if(!_0x1cc4b0)return html``;if(!_0x1cc4b0[_0x3cba10(0x248)])return html``;let _0xe56934=_0x1cc4b0[_0x3cba10(0x248)],_0x234e3a=_0x1cc4b0[_0x3cba10(0x1ac)]||{},_0x30c987=_0xe56934[_0x3cba10(0x14a)](_0x5d9ca7=>0x0==_0x5d9ca7[_0x3cba10(0x21e)]);return ValueUtil[_0x3cba10(0x169)](_0x1cc4b0[_0x3cba10(0x21a)])?MetaUiUtil[_0x3cba10(0x17e)](_0x1cc4b0,_0x30c987,_0x234e3a):MetaUiUtil[_0x3cba10(0x1a4)](_0x1cc4b0,_0x30c987,_0x234e3a);}static[a0_0x5393c2(0x1a4)](_0xc24151,_0x3f84e1,_0x5a7173){const _0x427c3e=a0_0x5393c2;let _0x2af228=_0xc24151[_0x427c3e(0x21a)];return html`
|
|
490
505
|
<div class="root_container">
|
|
491
|
-
${
|
|
506
|
+
${_0x2af228['map'](_0x47b1f9=>{const _0x1ecb53=_0x427c3e;let _0x19b133=_0x3f84e1[_0x1ecb53(0x14a)](_0xc84be2=>_0x47b1f9[_0x1ecb53(0x1dd)]['includes'](_0xc84be2[_0x1ecb53(0x241)])),_0x20da10=_0x1ecb53(0x1f5);for(let _0x1272d2=0x0;_0x1272d2<_0x47b1f9['column'];_0x1272d2++)_0x20da10+='\x201fr\x202fr';return _0x20da10+=';',html`
|
|
492
507
|
<h2>
|
|
493
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
508
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1ecb53(0x236)](_0x47b1f9[_0x1ecb53(0x1ee)])}
|
|
494
509
|
</h2>
|
|
495
|
-
<div id="content_container" class="content_container" style="${
|
|
496
|
-
${
|
|
497
|
-
<label ?editable=${
|
|
498
|
-
${
|
|
510
|
+
<div id="content_container" class="content_container" style="${_0x20da10}">
|
|
511
|
+
${_0x19b133['map'](_0x31a73c=>{const _0x4b5abd=_0x1ecb53;let {editable:_0xe3b351=!0x1,mandatory:_0x237a51=!0x1}=_0x31a73c[_0x4b5abd(0x1ac)],_0x37d5a1=_0x5a7173[_0x4b5abd(0x17b)]||{};return html`
|
|
512
|
+
<label ?editable=${_0xe3b351}><span>${_0x237a51?'*':''}${_0x31a73c['header_txt']}</span>
|
|
513
|
+
${_0xe3b351?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
499
514
|
</label>
|
|
500
515
|
<ox-grid-field
|
|
501
516
|
.rowIndex=${0x0}
|
|
502
|
-
.column=${
|
|
503
|
-
.record=${
|
|
504
|
-
.value=${
|
|
505
|
-
?dirty=${!!
|
|
517
|
+
.column=${_0x31a73c}
|
|
518
|
+
.record=${_0x5a7173}
|
|
519
|
+
.value=${_0x5a7173[_0x31a73c[_0x4b5abd(0x241)]]}
|
|
520
|
+
?dirty=${!!_0x37d5a1[_0x31a73c[_0x4b5abd(0x241)]]}
|
|
506
521
|
></ox-grid-field>
|
|
507
522
|
`;})}
|
|
508
523
|
</div>
|
|
509
524
|
`;})}
|
|
510
525
|
</div>
|
|
511
|
-
${
|
|
512
|
-
`;}static[
|
|
513
|
-
<div id="container" class="container" style="${
|
|
514
|
-
${
|
|
515
|
-
<label ?editable=${
|
|
516
|
-
${
|
|
526
|
+
${_0xc24151[_0x427c3e(0x240)]?html``:MetaUiUtil[_0x427c3e(0x24b)](_0xc24151)}
|
|
527
|
+
`;}static['getBasicFormHtmlNoOption'](_0x2637fe,_0xc75591,_0x60badb){const _0x3c2ac1=a0_0x5393c2;let _0x291bad='grid-template-columns:';_0x2637fe[_0x3c2ac1(0x149)]&&0x0!=_0x2637fe[_0x3c2ac1(0x149)]||(_0x2637fe['column']=0x1),_0x2637fe['column']=parseInt((_0x2637fe[_0x3c2ac1(0x1df)]||{})[_0x3c2ac1(0x25b)]||_0x2637fe[_0x3c2ac1(0x149)]);for(let _0x27945b=0x0;_0x27945b<_0x2637fe[_0x3c2ac1(0x149)];_0x27945b++)_0x291bad+=_0x3c2ac1(0x1b9);return _0x291bad+=';',html`
|
|
528
|
+
<div id="container" class="container" style="${_0x291bad}">
|
|
529
|
+
${_0xc75591['map'](_0x44f7a3=>{const _0x2666f4=_0x3c2ac1;let {editable:_0x2fd128=!0x1,mandatory:_0x140f72=!0x1}=_0x44f7a3[_0x2666f4(0x1ac)],_0x353264=_0x60badb[_0x2666f4(0x17b)]||{};return html`
|
|
530
|
+
<label ?editable=${_0x2fd128}><span>${_0x140f72?'*':''}${_0x44f7a3[_0x2666f4(0x1e5)]}</span>
|
|
531
|
+
${_0x2fd128?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
517
532
|
</label>
|
|
518
533
|
<ox-grid-field
|
|
519
534
|
.rowIndex=${0x0}
|
|
520
|
-
.column=${
|
|
521
|
-
.record=${
|
|
522
|
-
.value=${
|
|
523
|
-
?dirty=${!!
|
|
535
|
+
.column=${_0x44f7a3}
|
|
536
|
+
.record=${_0x60badb}
|
|
537
|
+
.value=${_0x60badb[_0x44f7a3[_0x2666f4(0x241)]]}
|
|
538
|
+
?dirty=${!!_0x353264[_0x44f7a3[_0x2666f4(0x241)]]}
|
|
524
539
|
></ox-grid-field>
|
|
525
540
|
`;})}
|
|
526
541
|
</div>
|
|
527
|
-
${
|
|
528
|
-
`;}static[
|
|
542
|
+
${_0x2637fe['isPage']?html``:MetaUiUtil[_0x3c2ac1(0x24b)](_0x2637fe)}
|
|
543
|
+
`;}static[a0_0x5393c2(0x229)](_0x5b9b94){const _0xf9c913=a0_0x5393c2;if(!_0x5b9b94)return html``;if(!_0x5b9b94[_0xf9c913(0x228)])return html``;let _0x393718=_0x5b9b94[_0xf9c913(0x228)];return _0x5b9b94[_0xf9c913(0x1bc)]||(_0x5b9b94[_0xf9c913(0x1bc)]=_0x393718[0x0]?.['name']||void 0x0),html`
|
|
529
544
|
<div class="tabs">
|
|
530
|
-
${
|
|
531
|
-
<div class="tab" ?activate="${
|
|
532
|
-
${
|
|
533
|
-
<span>${
|
|
545
|
+
${_0x393718['map'](_0x524f10=>{const _0x12cbb2=_0xf9c913;let _0x3d3151=TermsUtil[_0x12cbb2(0x1c0)](_0x524f10[_0x12cbb2(0x1ee)]),_0x52cf93=_0x524f10[_0x12cbb2(0x241)];return html`
|
|
546
|
+
<div class="tab" ?activate="${_0x52cf93===_0x5b9b94['currentTabKey']}" @click="${()=>_0x5b9b94[_0x12cbb2(0x1bc)]=_0x52cf93}">
|
|
547
|
+
${_0x524f10[_0x12cbb2(0x188)]?html`<mwc-icon>${_0x524f10[_0x12cbb2(0x188)]}</mwc-icon>`:html``}
|
|
548
|
+
<span>${_0x3d3151}</span>
|
|
534
549
|
</div>
|
|
535
550
|
`;})}
|
|
536
551
|
</div>
|
|
537
552
|
<div class="content-container">
|
|
538
|
-
${
|
|
539
|
-
<div class='tab-contents' style="${
|
|
540
|
-
${MetaUiUtil[
|
|
553
|
+
${_0x393718[_0xf9c913(0x1d3)](_0x31b52f=>{const _0xfc3774=_0xf9c913;let _0x591b20='display:none';return _0x31b52f[_0xfc3774(0x241)]==_0x5b9b94['currentTabKey']&&(_0x591b20=_0xfc3774(0x28a)),html`
|
|
554
|
+
<div class='tab-contents' style="${_0x591b20}">
|
|
555
|
+
${MetaUiUtil[_0xfc3774(0x205)](_0x5b9b94,_0x31b52f)}
|
|
541
556
|
</div>
|
|
542
557
|
`;})}
|
|
543
558
|
</div>
|
|
544
|
-
`;}static[
|
|
545
|
-
${0x0==
|
|
559
|
+
`;}static['getGristTabHtml'](_0x77a654){const _0x283683=a0_0x5393c2;let _0x5bf9b5=(_0x77a654[_0x283683(0x1df)]||{})['master_detail_type']||'top_bottom',_0x4708ef=(_0x77a654[_0x283683(0x1df)]||{})['master_detail_size']||_0x283683(0x1a8),_0x495ec9=_0x283683(0x26b)==_0x5bf9b5?_0x283683(0x249)+_0x4708ef+';':_0x283683(0x1b6)+_0x4708ef+';',_0x3c31f2=_0x77a654[_0x283683(0x240)]?UiUtil[_0x283683(0x18e)]():_0x77a654[_0x283683(0x200)];return html`
|
|
560
|
+
${0x0==_0x77a654[_0x283683(0x22b)]?html``:html`
|
|
546
561
|
<div slot="headroom">
|
|
547
562
|
<div id="filters">
|
|
548
563
|
<ox-filters-form-base
|
|
549
564
|
id='ox-filters-form'
|
|
550
|
-
.filters=${
|
|
551
|
-
.value=${
|
|
552
|
-
@filters-change=${
|
|
565
|
+
.filters=${_0x77a654[_0x283683(0x22a)]||[]}
|
|
566
|
+
.value=${_0x77a654[_0x283683(0x1ed)]||[]}
|
|
567
|
+
@filters-change=${_0x13558d=>{const _0x49cfac=_0x283683;_0x77a654[_0x49cfac(0x239)]?.[_0x49cfac(0x1d9)]();}}
|
|
553
568
|
></ox-filters-form-base>
|
|
554
569
|
</div>
|
|
555
570
|
</div>
|
|
556
571
|
`}
|
|
557
|
-
<div id="container" class="container" style="${
|
|
572
|
+
<div id="container" class="container" style="${_0x495ec9}">
|
|
558
573
|
<div class="container_detail">
|
|
559
|
-
${MetaApi[
|
|
560
|
-
${MetaUiUtil[
|
|
574
|
+
${MetaApi[_0x283683(0x24a)](_0x77a654)}
|
|
575
|
+
${MetaUiUtil[_0x283683(0x24b)](_0x77a654)}
|
|
561
576
|
</div>
|
|
562
577
|
<div class="container_detail">
|
|
563
|
-
${!0x0===
|
|
578
|
+
${!0x0===_0x77a654['is_activity']?html`${!0x0===_0x77a654[_0x283683(0x171)]?html`<meta-tab-element
|
|
564
579
|
id="detail"
|
|
565
|
-
route_name="${
|
|
566
|
-
.activityDataSet=${(
|
|
580
|
+
route_name="${_0x3c31f2}"
|
|
581
|
+
.activityDataSet=${(_0x77a654['activityDataSet']||{})[_0x283683(0x1d0)]}
|
|
567
582
|
is_readonly=true
|
|
568
583
|
is_activity=true
|
|
569
584
|
is_detail=true>
|
|
570
585
|
</meta-tab-element>`:html`<meta-tab-element
|
|
571
586
|
id="detail"
|
|
572
|
-
route_name="${
|
|
573
|
-
.activityDataSet=${(
|
|
587
|
+
route_name="${_0x3c31f2}"
|
|
588
|
+
.activityDataSet=${(_0x77a654[_0x283683(0x1d5)]||{})[_0x283683(0x1d0)]}
|
|
574
589
|
is_activity=true
|
|
575
590
|
is_detail=true>
|
|
576
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
591
|
+
</meta-tab-element>`}`:html`${!0x0===_0x77a654[_0x283683(0x171)]?html`<meta-tab-element id="detail" route_name="${_0x3c31f2}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x3c31f2}" is_detail=true></meta-tab-element>`}`}
|
|
577
592
|
</div>
|
|
578
593
|
</div>
|
|
579
|
-
`;}static[
|
|
580
|
-
${0x0==
|
|
594
|
+
`;}static[a0_0x5393c2(0x189)](_0x26cba6){const _0x555ffe=a0_0x5393c2;let _0x444bf0=_0x26cba6['etcConfig']['master_detail_type']||_0x555ffe(0x16b),_0x1536e8=_0x26cba6[_0x555ffe(0x1df)]['master_detail_size']||'50%\x2050%',_0x12da3e=_0x26cba6[_0x555ffe(0x1df)][_0x555ffe(0x225)],_0x1a4690=JSON['parse'](_0x12da3e||'{}'),_0x4f99e2=_0x555ffe(0x26b)==_0x444bf0?_0x555ffe(0x249)+_0x1536e8+';':'grid-template-rows:'+_0x1536e8+';';return MetaUiUtil['createMasterElement'](_0x26cba6),MetaUiUtil['createDetailElement'](_0x26cba6,_0x1a4690),html`
|
|
595
|
+
${0x0==_0x26cba6[_0x555ffe(0x22b)]?html``:html`
|
|
581
596
|
<div slot="headroom">
|
|
582
597
|
<div id="filters">
|
|
583
598
|
<ox-filters-form-base
|
|
584
599
|
id='ox-filters-form'
|
|
585
|
-
.filters=${
|
|
586
|
-
.value=${
|
|
587
|
-
@filters-change=${
|
|
600
|
+
.filters=${_0x26cba6[_0x555ffe(0x22a)]||[]}
|
|
601
|
+
.value=${_0x26cba6[_0x555ffe(0x1ed)]||[]}
|
|
602
|
+
@filters-change=${_0x3205f8=>{_0x26cba6['fetch']();}}
|
|
588
603
|
></ox-filters-form-base>
|
|
589
604
|
</div>
|
|
590
605
|
</div>
|
|
591
606
|
`}
|
|
592
|
-
<div id="container" class="container" style="${
|
|
607
|
+
<div id="container" class="container" style="${_0x4f99e2}">
|
|
593
608
|
<div class="container_detail">
|
|
594
|
-
${
|
|
609
|
+
${_0x26cba6[_0x555ffe(0x28d)]}
|
|
595
610
|
</div>
|
|
596
611
|
<div class="container_detail">
|
|
597
|
-
${''==
|
|
598
|
-
${
|
|
612
|
+
${''==_0x1a4690[_0x555ffe(0x14c)]||_0x555ffe(0x1b5)==_0x1a4690[_0x555ffe(0x14c)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x555ffe(0x236)](''+_0x1a4690[_0x555ffe(0x1ee)])}</h2>`}
|
|
613
|
+
${_0x26cba6['detailElement']}
|
|
599
614
|
</div>
|
|
600
615
|
</div>
|
|
601
|
-
`;}static[
|
|
602
|
-
${0x0==
|
|
616
|
+
`;}static[a0_0x5393c2(0x1d1)](_0x1b521f){const _0x47dab5=a0_0x5393c2;return MetaUiUtil[_0x47dab5(0x208)](_0x1b521f),html`
|
|
617
|
+
${0x0==_0x1b521f[_0x47dab5(0x22b)]?html``:html`
|
|
618
|
+
<div slot="headroom">
|
|
619
|
+
<div id="filters">
|
|
620
|
+
<ox-filters-form-base
|
|
621
|
+
id='ox-filters-form'
|
|
622
|
+
.filters=${_0x1b521f[_0x47dab5(0x22a)]||[]}
|
|
623
|
+
.value=${_0x1b521f[_0x47dab5(0x1ed)]||[]}
|
|
624
|
+
@filters-change=${_0x33b261=>{const _0x56deec=_0x47dab5;_0x1b521f[_0x56deec(0x1d9)]();}}
|
|
625
|
+
></ox-filters-form-base>
|
|
626
|
+
</div>
|
|
627
|
+
</div>
|
|
628
|
+
`}
|
|
629
|
+
<div id="container" class="container" >
|
|
630
|
+
${_0x1b521f[_0x47dab5(0x28d)]}
|
|
631
|
+
</div>
|
|
632
|
+
`;}static[a0_0x5393c2(0x184)](_0x47e55e){const _0xe271a1=a0_0x5393c2;let _0x408a37=_0x47e55e[_0xe271a1(0x1df)][_0xe271a1(0x1ad)]||_0xe271a1(0x16b),_0x19efb8=_0x47e55e[_0xe271a1(0x1df)][_0xe271a1(0x1e3)]||'50%\x2050%',_0x44b9b5=_0x47e55e['etcConfig']['master_detail_element'],_0x2aae8e=JSON['parse'](_0x44b9b5||'{}'),_0x122954=_0xe271a1(0x26b)==_0x408a37?_0xe271a1(0x249)+_0x19efb8+';':_0xe271a1(0x1b6)+_0x19efb8+';';return MetaUiUtil[_0xe271a1(0x1cf)](_0x47e55e,_0x2aae8e),html`
|
|
633
|
+
${0x0==_0x47e55e[_0xe271a1(0x22b)]?html``:html`
|
|
603
634
|
<div slot="headroom">
|
|
604
635
|
<div id="filters">
|
|
605
636
|
<ox-filters-form-base
|
|
606
637
|
id='ox-filters-form'
|
|
607
|
-
.filters=${
|
|
608
|
-
.value=${
|
|
609
|
-
@filters-change=${
|
|
638
|
+
.filters=${_0x47e55e[_0xe271a1(0x22a)]||[]}
|
|
639
|
+
.value=${_0x47e55e[_0xe271a1(0x1ed)]||[]}
|
|
640
|
+
@filters-change=${_0x3c81cb=>{const _0x5b4cc3=_0xe271a1;_0x47e55e[_0x5b4cc3(0x239)]?.['fetch']();}}
|
|
610
641
|
></ox-filters-form-base>
|
|
611
642
|
</div>
|
|
612
643
|
</div>
|
|
613
644
|
`}
|
|
614
|
-
<div id="container" class="container" style="${
|
|
645
|
+
<div id="container" class="container" style="${_0x122954}">
|
|
615
646
|
<div class="container_detail">
|
|
616
|
-
${MetaApi[
|
|
617
|
-
${MetaUiUtil[
|
|
647
|
+
${MetaApi[_0xe271a1(0x24a)](_0x47e55e)}
|
|
648
|
+
${MetaUiUtil[_0xe271a1(0x24b)](_0x47e55e)}
|
|
618
649
|
</div>
|
|
619
650
|
<div class="container_detail">
|
|
620
|
-
${''==
|
|
621
|
-
${
|
|
651
|
+
${''==_0x2aae8e[_0xe271a1(0x14c)]||_0xe271a1(0x1b5)==_0x2aae8e['tagname']?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x2aae8e[_0xe271a1(0x1ee)])}</h2>`}
|
|
652
|
+
${_0x47e55e[_0xe271a1(0x279)]}
|
|
622
653
|
</div>
|
|
623
654
|
</div>
|
|
624
|
-
`;}static[
|
|
655
|
+
`;}static[a0_0x5393c2(0x1cf)](_0x41005d,_0x4c1f64){const _0x509bd3=a0_0x5393c2;if(!_0x41005d[_0x509bd3(0x279)]){let _0x550e87=_0x4c1f64[_0x509bd3(0x241)]?_0x4c1f64[_0x509bd3(0x241)]:_0x509bd3(0x1d0),_0x2a9310='<'+_0x4c1f64[_0x509bd3(0x14c)]+_0x509bd3(0x267)+_0x550e87+_0x509bd3(0x1c2)+_0x550e87+_0x509bd3(0x283)+_0x4c1f64[_0x509bd3(0x1ec)]+'\x22\x20'+(!0x0===_0x41005d[_0x509bd3(0x1fb)]?_0x509bd3(0x23f):'')+'\x20'+(!0x0===_0x41005d[_0x509bd3(0x171)]?_0x509bd3(0x174):'')+_0x509bd3(0x193)+_0x4c1f64[_0x509bd3(0x14c)]+'>';_0x41005d[_0x509bd3(0x279)]=UiUtil[_0x509bd3(0x212)](_0x2a9310),_0x41005d['detailElement']['activityDataSet']=(_0x41005d[_0x509bd3(0x1d5)]||{})[_0x509bd3(0x1d0)],_0x41005d[_0x509bd3(0x254)]['toLowerCase']()[_0x509bd3(0x287)](_0x509bd3(0x1dc))&&(_0x41005d[_0x509bd3(0x279)]['rootElement']=_0x41005d);}}static[a0_0x5393c2(0x208)](_0x357ff7){const _0x4b50fc=a0_0x5393c2;if(!_0x357ff7[_0x4b50fc(0x28d)]&&_0x357ff7['filterForm']){let _0x64873b=_0x4b50fc(0x22d),_0x241ff3=_0x4b50fc(0x18f)+_0x64873b+_0x4b50fc(0x1c2)+_0x64873b+_0x4b50fc(0x283)+_0x357ff7['currentRouting']+'\x22\x20'+(!0x0===_0x357ff7['is_activity']?'is_activity=true':'')+'\x20'+(!0x0===_0x357ff7['is_readonly']?'is_readonly=true':'')+_0x4b50fc(0x1b2);_0x357ff7['masterElement']=UiUtil[_0x4b50fc(0x212)](_0x241ff3),_0x357ff7[_0x4b50fc(0x28d)]['activityDataSet']=(_0x357ff7[_0x4b50fc(0x1d5)]||{})[_0x4b50fc(0x22d)],_0x357ff7[_0x4b50fc(0x28d)][_0x4b50fc(0x28e)]=!0x0,_0x357ff7[_0x4b50fc(0x28d)][_0x4b50fc(0x1c5)]=_0x357ff7[_0x4b50fc(0x1a0)],_0x357ff7[_0x4b50fc(0x28d)][_0x4b50fc(0x176)]=_0x357ff7;}}static[a0_0x5393c2(0x205)](_0x58d241,_0x513cb9){const _0x3e3714=a0_0x5393c2;if(_0x58d241[_0x3e3714(0x178)]||(_0x58d241[_0x3e3714(0x178)]={}),Object[_0x3e3714(0x20b)](_0x58d241['tabElements'])[_0x3e3714(0x14a)](_0x4778ae=>_0x4778ae==_0x513cb9[_0x3e3714(0x241)])[_0x3e3714(0x268)]>0x0)return _0x58d241[_0x3e3714(0x178)][_0x513cb9[_0x3e3714(0x241)]];let _0x220873='<'+_0x513cb9[_0x3e3714(0x14c)]+_0x3e3714(0x1db)+_0x513cb9[_0x3e3714(0x241)]+_0x3e3714(0x26d)+_0x513cb9[_0x3e3714(0x207)]+_0x3e3714(0x156)+(!0x0===_0x58d241[_0x3e3714(0x1fb)]?_0x3e3714(0x23f):'')+'\x20'+(!0x0===_0x58d241[_0x3e3714(0x171)]?_0x3e3714(0x174):'')+_0x3e3714(0x24e)+_0x513cb9[_0x3e3714(0x14c)]+'>',_0x5e8841=UiUtil['htmlToElement'](_0x220873);return _0x5e8841['activityDataSet']=(_0x58d241[_0x3e3714(0x1d5)]||{})[_0x513cb9[_0x3e3714(0x241)]],_0x58d241[_0x3e3714(0x16d)]&&(_0x5e8841['parent_id']=_0x58d241['parent_id']),_0x58d241[_0x3e3714(0x176)]?_0x5e8841[_0x3e3714(0x176)]=_0x58d241[_0x3e3714(0x176)]:_0x5e8841[_0x3e3714(0x279)]=_0x58d241,!0x1===_0x513cb9[_0x3e3714(0x192)]&&(_0x5e8841[_0x3e3714(0x21b)]=!0x1),_0x513cb9[_0x3e3714(0x185)]&&(_0x5e8841[_0x3e3714(0x1c5)]=_0x513cb9[_0x3e3714(0x185)]),_0x58d241[_0x3e3714(0x178)][_0x513cb9[_0x3e3714(0x241)]]=_0x5e8841,_0x5e8841;}static['getGridDetailHtml'](_0x4c2eb3){const _0x81b6f0=a0_0x5393c2;let _0x186fa4=_0x4c2eb3[_0x81b6f0(0x202)],_0x26fae9=_0x4c2eb3[_0x81b6f0(0x195)],_0x5a5dfa=_0x4c2eb3[_0x81b6f0(0x250)],_0x1ce81c=JSON[_0x81b6f0(0x164)]((_0x4c2eb3[_0x81b6f0(0x1df)]||{})[_0x81b6f0(0x28f)]||'false');return 0x0==_0x26fae9?html`
|
|
625
656
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
626
|
-
${this[
|
|
657
|
+
${this[_0x81b6f0(0x255)](_0x4c2eb3)}
|
|
627
658
|
</div>
|
|
628
659
|
`:html`
|
|
629
660
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
630
661
|
<div slot="headroom">
|
|
631
662
|
<div id="filters"><ox-filters-form></ox-filters-form></div>
|
|
632
|
-
${
|
|
663
|
+
${_0x1ce81c?html`
|
|
633
664
|
<div id="sorters">
|
|
634
|
-
<mwc-icon @click=${
|
|
665
|
+
<mwc-icon @click=${_0x2ae091=>{const _0x229631=_0x81b6f0,_0x20b517=_0x2ae091[_0x229631(0x170)];_0x20b517[_0x229631(0x179)][_0x229631(0x221)]({'right':0x0,'top':_0x20b517['offsetTop']+_0x20b517['offsetHeight']});}}
|
|
635
666
|
>sort</mwc-icon>
|
|
636
667
|
<ox-popup id="sorter-control">
|
|
637
668
|
<ox-sorters-control></ox-sorters-control>
|
|
638
669
|
</ox-popup>
|
|
639
670
|
</div>
|
|
640
671
|
`:html``}
|
|
641
|
-
${MetaUiUtil[
|
|
672
|
+
${MetaUiUtil[_0x81b6f0(0x273)](_0x4c2eb3)}
|
|
642
673
|
<ox-record-creator
|
|
643
674
|
id="add"
|
|
644
|
-
?hidden="${!
|
|
645
|
-
.callback=${
|
|
675
|
+
?hidden="${!_0x186fa4}"
|
|
676
|
+
.callback=${_0x5a5dfa}>
|
|
646
677
|
<button>
|
|
647
678
|
<mwc-icon>add</mwc-icon>
|
|
648
679
|
</button>
|
|
649
680
|
</ox-record-creator>
|
|
650
681
|
</div>
|
|
651
|
-
${this[
|
|
682
|
+
${this[_0x81b6f0(0x255)](_0x4c2eb3)}
|
|
652
683
|
</div>
|
|
653
|
-
`;}static[
|
|
684
|
+
`;}static[a0_0x5393c2(0x255)](_0x35fb77){const _0x3f865b=a0_0x5393c2;return'GRID'!=_0x35fb77['gridMode']?html``:!0x0!==_0x35fb77[_0x3f865b(0x1fb)]?html`
|
|
654
685
|
<div id="grist-personal">
|
|
655
|
-
<mwc-icon @click=${
|
|
686
|
+
<mwc-icon @click=${_0x236738=>{const _0x231d9c=_0x3f865b;let _0x193782=MetaApi[_0x231d9c(0x216)]('personal-column-selector',_0x231d9c(0x199));_0x193782[_0x231d9c(0x253)]=_0x236738[_0x231d9c(0x170)][_0x231d9c(0x1ae)][_0x231d9c(0x1ae)]['parentElement'],_0x193782[_0x231d9c(0x155)]=_0x35fb77[_0x231d9c(0x155)],MetaApi[_0x231d9c(0x23a)](TermsUtil[_0x231d9c(0x236)]('grid-column-personalize'),_0x231d9c(0x26f),_0x193782,!0x1);}}
|
|
656
687
|
>tune</mwc-icon>
|
|
657
688
|
</div>
|
|
658
|
-
`:html``;}static[
|
|
689
|
+
`:html``;}static[a0_0x5393c2(0x273)](_0x5c0839){const _0x325601=a0_0x5393c2;return ValueUtil[_0x325601(0x169)](_0x5c0839[_0x325601(0x194)])||0x1==_0x5c0839[_0x325601(0x194)][_0x325601(0x268)]?html``:html`
|
|
659
690
|
<div id="modes">
|
|
660
|
-
${
|
|
661
|
-
${
|
|
662
|
-
${
|
|
691
|
+
${_0x5c0839['gridViewOptions'][_0x325601(0x157)](_0x325601(0x220))?html`<mwc-icon @click="${()=>_0x5c0839[_0x325601(0x14d)]=_0x325601(0x220)}" ?active="${'GRID'==_0x5c0839[_0x325601(0x14d)]}">grid_on</mwc-icon>`:''}
|
|
692
|
+
${_0x5c0839[_0x325601(0x194)][_0x325601(0x157)]('LIST')?html`<mwc-icon @click="${()=>_0x5c0839[_0x325601(0x14d)]='LIST'}" ?active="${_0x325601(0x1b3)==_0x5c0839[_0x325601(0x14d)]}">format_list_bulleted</mwc-icon>`:''}
|
|
693
|
+
${_0x5c0839['gridViewOptions']['includes'](_0x325601(0x296))?html`<mwc-icon @click="${()=>_0x5c0839[_0x325601(0x14d)]=_0x325601(0x296)}" ?active="${_0x325601(0x296)==_0x5c0839[_0x325601(0x14d)]}">apps</mwc-icon>`:''}
|
|
663
694
|
</div>
|
|
664
|
-
`;}static[
|
|
695
|
+
`;}static['getButtonContainer'](_0x2a5639){return html`<div id="button-container" class="button-container">${MetaUiUtil['getContainerButtons'](_0x2a5639)}</div>`;}}
|