@things-factory/meta-ui 6.0.129 → 6.0.130
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 +4 -21
- package/client/component/filter/filter-form-resource-code-select.js +9 -9
- package/client/component/filter/filter-grist-resource-code-select.js +9 -9
- 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 +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +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 +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +12 -12
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- 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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=a0_0x2594,_0x5c48c4=_0x490c35();while(!![]){try{const _0x15bf7f=parseInt(_0x122663(0x19c))/0x1*(-parseInt(_0x122663(0x1ea))/0x2)+parseInt(_0x122663(0x1de))/0x3+-parseInt(_0x122663(0x198))/0x4*(parseInt(_0x122663(0x256))/0x5)+parseInt(_0x122663(0x21f))/0x6+parseInt(_0x122663(0x1bf))/0x7*(parseInt(_0x122663(0x29a))/0x8)+-parseInt(_0x122663(0x27d))/0x9*(-parseInt(_0x122663(0x233))/0xa)+-parseInt(_0x122663(0x217))/0xb*(-parseInt(_0x122663(0x29e))/0xc);if(_0x15bf7f===_0x354677)break;else _0x5c48c4['push'](_0x5c48c4['shift']());}catch(_0x3fd4aa){_0x5c48c4['push'](_0x5c48c4['shift']());}}}(a0_0x2dca,0x4af45));import a0_0x3e1b47 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x26253f from'moment-timezone';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';function a0_0x2594(_0xa89b16,_0x3794b0){const _0x2dca48=a0_0x2dca();return a0_0x2594=function(_0x259400,_0x2d1d0e){_0x259400=_0x259400-0x170;let _0x3e5479=_0x2dca48[_0x259400];return _0x3e5479;},a0_0x2594(_0xa89b16,_0x3794b0);}import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';import'./../pages/history/history-json-list-popup';function a0_0x2dca(){const _0x4afa33=['text.there_is_no_selected_items','select','logic','mainFilterForm','parent_field','getBasicTabDetailStyles','model','bind','parseFormConfigSet','tagname','today','is_readonly=true','unlimited','<mwc-button\x20label=\x22','commonButtonCallScenario','51464PPsnQO','getGristColumnConfig2','personal-column-selector','nextElementSibling','masterElement','getGristTabHtml','\x0a{\x0aid\x0aname\x0athumbnail}','getGridColumnPersonalizeButton','useButtonExport','routing','editable','config','pages/hgistory/history-copy-list-popup.js','gqlInfo','floor','import','menuId','fetch','getCustomButtonContainerStyles','object','grid','main_filter_form','\x0aid\x0aname\x0adescription','compareObjectValues','datetime','gridViewOptions','tError','editor','find','isNotEmpty','open','919422RpgegW','LIST','map','YYYY-MM-DD','getGristCodeSelectorColumnConfig','value_is_not_exist','history_json','getMasterDetailLeftRightGristStyle','id,template','master','display:flex','shadowRoot','34576VXhymX','getGristHiddenColumnConfig','runnerPermission','fetchHandler','icon','records','getContextObject','result_name','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','gristButtonHandler','relation','findMenuGridPersnalTemplate','grist','offsetHeight','split','menu','search','detail','getBasicTabHtml','buttonConfig','title_detail','imex','notify','\x20is_detail=true></','row','detailElement','text.please_select_only_one','getGristPersonalizedStyles','param','GRID','gridConfig','query','tagName','header','large','50%\x2050%','\x22\x20name=\x22','text.button_bind_func_is_not_exist','rank','filter_from','getGristColumnConfig','error','dec','value_reference','\x20id=\x27','198vukQGz','searchByPagination','getGridColumnSet','parentElement','patchesForUpdateMultiple','desc','createDetailElement','scenario','2438316ZykDiF','setGridColumnSearchOption','stringify','getBasicGristStyles','currentRouting','param_field','tTitle','getMenuMeta','getCodeByEntity','formColumnConfig','formConfigSet','meta-grist-tab-','use_row_checker','grist_all','name','isArray','__dirtyfields__','keys','getObjctColumnSelectFields','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','23860iqSQrj','setParentId','is_readonly','tabElements','gristButtonValueReference','\x27\x20style=\x22flex:1;\x22\x20','title.info','midium','parent_id','htmlToElement','option','getBasicGristHtml','data','url','activityDataSet','createMasterElement','args','export','getBasicFormHtmlNoOption','getMasterDetailTopDownGristStyle','grid-template-columns:','getGristGuttersConfig','after','left','callScenario','includes','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','isEmpty','metaUI','dirty','isPage','template','getGridListSet','getSelectColumns','gristConfigSet','245thZGND','options','open_param','title','grist_selected','height:auto;grid-template-columns:','label','getCodeByScenario','invalid\x20license\x20key','etcConfig','formRenderConfig','pages/meta-form-element.js','tText','danger','grist_changed','getQueryFilters','meta-tab-element','onclick','useMasterFilterForm','master_detail_element','master_detail_type','tMenu','meta-form-element','list','useFilterForm','getBasicGristTabStyles','gristId','\x22\x20route_name=\x22','codes','format','basicArgs','top-down','location','history_copy','commonButtonOpenPopup','defaultPageConfig','code','resource-code-selector','grist_one','423sMRUjH','importable','CARD','exportable','is_activity','basic','createCustomElement','meta-master-detail-','getMasterDetailHtml','currentTarget','dispatchEvent','\x201fr\x202fr','pageNavigate','add','left_right','filter','getBasicFormStyles','default_form_column','filterForm','toLowerCase','history-json-list-popup','dense','getBasicTabContent','searchFields','gridMobileMode','getGristSelectableConfig','showAlertPopup','getCodeSelectorData','createButtonElement','128lZsmsP','display:none','page','offsetTop','4548DMOrGM','useButtonAdd','configGrist','getButtonContainer','button','data_history_list','getGridRowSet','hidden','getGristPaginationCustomConfig','parseGridConfigSet','header_txt','menuInfo','meta-tab-','errors','getGridOptionSet','menus','handlers','sorters','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','outlined','text.grid_is_not_exist','findOne','\x20\x0a\x20}','service','top_bottom','getBasicMasterDetailGristStyle','getGristSearchCodeColumnConfig','row-selector','selected','false','values','getState','popup','record','getGridDetailHtml','form','startsWith','string','getContextButtons','info','route_name','sort','is_activity=true','pages','getGristSelectorColumnConfig','isGridButtonExist','gutter','confirm','customButtonHandler','raised','emphasis','display','text.nothing_selected','gridDeskMode','gridMode','text.search_form_is_not_exist','type','\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','column','getGristEmphasizedStyles','forEach','column_list','resource-object','parse','entity','isMobileEnv','sequence','custom','filters','grid-template-rows:','getParams','infinityPage','text.grid_data_is_empty','gridColumnConfig','assign','multiple','tabRenderConfig','openPopupByElement','getBasicFormHtmlOnOption','useButtonImport','45388dITqMc','push','selectable','findMenuMetaByRouting','5FwhcsS','getBasicMasterDetailStyles','replace','value','pass_field','use_filter_form','title.warning','getContainerButtons','getGristSearchColumnConfig','history-copy-list-popup','length','currentTabKey','searchFieldValues','tLabel','gristButtonPassParam','querySelector','pass_param','getButtonActionHandler','rootElement','tButton'];a0_0x2dca=function(){return _0x4afa33;};return a0_0x2dca();}export class MetaUiUtil{static async['findMenuMeta'](_0x418827){const _0x22b19a=a0_0x2594;let _0x4cde06=await ServiceUtil[_0x22b19a(0x2b3)]('menu',_0x418827,_0x22b19a(0x252));if(!_0x4cde06)throw new Error(TermsUtil['tText']('value_is_not_exist',{'value':TermsUtil[_0x22b19a(0x26b)](_0x22b19a(0x1f9))+'\x20'+_0x418827}));if(!_0x4cde06[_0x22b19a(0x252)])throw new Error(TermsUtil['tText'](_0x22b19a(0x1e3),{'value':TermsUtil[_0x22b19a(0x26b)](_0x22b19a(0x1f9))+'\x20'+TermsUtil['tLabel'](_0x22b19a(0x1b6))}));return this[_0x22b19a(0x1cf)]=_0x418827,JSON['parse'](_0x4cde06[_0x22b19a(0x252)]);}static async[a0_0x102ceb(0x19b)](_0xf1d47c,_0x52c49e){const _0x282397=a0_0x102ceb;if((await client['query']({'query':a0_0x3e1b47`
|
|
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}}))[_0x282397(0x2ab)])return;let _0x52ceb,_0x2ec59b=[{'name':_0x282397(0x1c8),'operator':'eq','value':_0x52c49e}],_0x33b3f9=await ServiceUtil[_0x282397(0x218)](_0x282397(0x2ad),_0x2ec59b,null,0x0,0x0,_0x282397(0x1e6));if(_0x33b3f9&&_0x33b3f9[_0x282397(0x1ef)]&&0x0!=_0x33b3f9[_0x282397(0x1ef)][_0x282397(0x1a6)]?(_0x52ceb=_0x33b3f9['records'][0x0],!_0x52ceb[_0x282397(0x252)]&&_0xf1d47c[_0x282397(0x279)]&&(_0x52ceb[_0x282397(0x252)]=_0xf1d47c[_0x282397(0x279)])):_0xf1d47c[_0x282397(0x279)]&&(_0x52ceb={'id':_0x52c49e,'template':_0xf1d47c[_0x282397(0x279)]}),!_0x52ceb)throw new Error(TermsUtil[_0x282397(0x262)](_0x282397(0x1e3),{'value':TermsUtil[_0x282397(0x26b)](_0x282397(0x1f9))+'\x20'+_0x52c49e}));if(!_0x52ceb[_0x282397(0x252)])throw new Error(TermsUtil[_0x282397(0x262)](_0x282397(0x1e3),{'value':TermsUtil['tMenu'](_0x282397(0x1f9))+'\x20'+TermsUtil[_0x282397(0x1a9)](_0x282397(0x1b6))}));return this['menuId']=_0x52ceb['id'],JSON['parse'](MetaCrypto[_0x282397(0x214)](_0x52ceb[_0x282397(0x252)]));}static['getBasicGristPageProperties'](){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':_0x41bf04=>Boolean(_0x41bf04)},'is_popup':{'type':Boolean,'converter':_0x398b3f=>Boolean(_0x398b3f)},'is_activity':{'type':Boolean,'converter':_0x10e1c4=>Boolean(_0x10e1c4)},'is_readonly':{'type':Boolean,'converter':_0x1ce858=>Boolean(_0x1ce858)}};}static async[a0_0x102ceb(0x226)](_0x368235){const _0x553939=a0_0x102ceb;if(0x0==store[_0x553939(0x2bd)]()[_0x553939(0x24f)][_0x553939(0x1ec)])return void document[_0x553939(0x287)](new CustomEvent(_0x553939(0x200),{'detail':{'level':_0x553939(0x213),'message':TermsUtil[_0x553939(0x1d9)](_0x553939(0x25e))}}));let _0x1ee46=_0x368235['isPage']?UiUtil[_0x553939(0x223)]():_0x368235[_0x553939(0x170)];_0x368235['currentRouting']=_0x1ee46;let _0x163bbb=await MetaUiUtil['findMenuMetaByRouting'](_0x368235,_0x1ee46);return!0x0===_0x368235['is_activity']&&(_0x163bbb[_0x553939(0x1d3)]['option'][_0x553939(0x22b)]=!0x1,_0x163bbb['grid'][_0x553939(0x23d)][_0x553939(0x173)]=_0x553939(0x1bc),_0x163bbb[_0x553939(0x1d3)][_0x553939(0x1a1)]=!0x1,_0x163bbb[_0x553939(0x1d3)][_0x553939(0x2a2)]=[],_0x163bbb['button']=_0x163bbb[_0x553939(0x2a2)]['filter'](_0x2e789d=>_0x553939(0x28a)==_0x2e789d[_0x553939(0x22d)])),!0x0===_0x368235['is_readonly']&&(_0x163bbb['grid_column']['forEach'](_0x107d76=>{const _0x2b13b5=_0x553939;_0x107d76[_0x2b13b5(0x1c9)]=!0x1;}),_0x163bbb[_0x553939(0x2a2)]=_0x163bbb[_0x553939(0x2a2)][_0x553939(0x28c)](_0x15f9e5=>_0x553939(0x28a)!=_0x15f9e5['name'])),!0x1===_0x368235[_0x553939(0x1a1)]&&(_0x163bbb[_0x553939(0x1d3)][_0x553939(0x1a1)]=!0x1),_0x163bbb;}static[a0_0x102ceb(0x2a6)](..._0x13915c){return{'pages':_0x13915c};}static[a0_0x102ceb(0x248)](_0x2c3cfa,_0x56f9c7){const _0x279649=a0_0x102ceb;let _0x13d7f8=[{'type':_0x279649(0x176),'gutterName':_0x279649(0x250)},{'type':'gutter','gutterName':_0x279649(0x18a)}];return _0x2c3cfa&&_0x13d7f8[_0x279649(0x199)]({'type':_0x279649(0x176),'gutterName':_0x279649(0x2b9),'multiple':_0x56f9c7}),_0x13d7f8;}static[a0_0x102ceb(0x296)](_0x485b44){return{'selectable':{'multiple':_0x485b44}};}static async[a0_0x102ceb(0x2a7)](_0x35d9df){const _0x367dd5=a0_0x102ceb;let _0x3848ea=MetaUiUtil[_0x367dd5(0x2ac)](_0x35d9df),_0x49645e=MetaUiUtil[_0x367dd5(0x253)](_0x35d9df),_0x40bc07=MetaUiUtil['getGridRowSet'](_0x35d9df),_0x4ff8d2=MetaUiUtil['getGridButtonSet'](_0x35d9df),_0x23f2b0=await MetaUiUtil[_0x367dd5(0x219)](_0x35d9df),_0x37f148=MetaUiUtil[_0x367dd5(0x248)](_0x3848ea['use_row_checker'],_0x40bc07[_0x367dd5(0x19a)][_0x367dd5(0x193)]);return 0x1==_0x35d9df[_0x367dd5(0x26e)]&&(_0x23f2b0=MetaUiUtil[_0x367dd5(0x220)](_0x35d9df,_0x23f2b0)),{'list':_0x49645e,'pagination':_0x3848ea[_0x367dd5(0x173)],'sorters':_0x3848ea[_0x367dd5(0x2af)],'rows':_0x40bc07,'columns':[..._0x37f148,..._0x4ff8d2,..._0x23f2b0]};}static async[a0_0x102ceb(0x1b8)](_0x4d50c0){const _0x522201=a0_0x102ceb;let _0x44a6f1=_0x4d50c0[_0x522201(0x228)],_0x3f2508=[];for(let _0x42475b=0x0;_0x42475b<_0x44a6f1[_0x522201(0x1a6)];_0x42475b++){let {type:_0x1b0c07=_0x522201(0x2c3),name:_0x13ce97,header:_0x175e8c,hidden:_0x47981a=!0x1,editable:_0x12b498=!0x0,mandatory:_0x234f55=!0x1,align:_0x4e94c5=_0x522201(0x24a),select_opt:_0x48a6d1,object_opt:_0x101bbc}=_0x44a6f1[_0x42475b],_0x2da276={'type':_0x1b0c07,'name':_0x13ce97,'header_txt':ValueUtil[_0x522201(0x24e)](_0x175e8c)?TermsUtil['tLabel'](_0x13ce97):TermsUtil[_0x522201(0x1a9)](_0x175e8c),'header':{'renderer':function(_0x4f7597){return _0x4f7597['header_txt'];}},'hidden':_0x47981a,'record':{'editable':_0x12b498,'mandatory':_0x234f55,'align':_0x4e94c5,'classifier':function(){},'renderer':getRenderer(_0x1b0c07)}};_0x12b498&&(_0x2da276[_0x522201(0x2bf)][_0x522201(0x1da)]=getEditor(_0x1b0c07)),_0x522201(0x1b1)===_0x1b0c07&&ValueUtil[_0x522201(0x1dc)](_0x48a6d1)?Array[_0x522201(0x22e)](_0x48a6d1)?_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=_0x48a6d1:'code'===_0x48a6d1[_0x522201(0x180)]?_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=await ServiceUtil['getCodeSelectorData'](_0x48a6d1[_0x522201(0x2bc)]?_0x48a6d1[_0x522201(0x2bc)]:_0x48a6d1[_0x522201(0x22d)]):_0x522201(0x21e)===_0x48a6d1['type']?_0x2da276[_0x522201(0x2bf)]['options']=await ServiceUtil[_0x522201(0x25d)](_0x48a6d1[_0x522201(0x22d)],_0x48a6d1['args']):_0x522201(0x188)===_0x48a6d1[_0x522201(0x180)]&&(_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=await ServiceUtil[_0x522201(0x227)](_0x48a6d1[_0x522201(0x243)])):_0x522201(0x1d2)!==_0x1b0c07&&_0x522201(0x186)!==_0x1b0c07||!ValueUtil[_0x522201(0x1dc)](_0x101bbc)?_0x522201(0x27b)===_0x1b0c07&&ValueUtil['isNotEmpty'](_0x101bbc)&&(_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=_0x101bbc,_0x101bbc['dispField']&&(_0x2da276['record']['options']['codes']=await ServiceUtil['getCodeByEntity'](_0x101bbc))):(_0x101bbc[_0x522201(0x1b1)]&&_0x101bbc['select'][_0x522201(0x184)](_0x426c40=>{const _0x5c9aa5=_0x522201;_0x426c40[_0x5c9aa5(0x20b)]||(_0x426c40['header']=_0x426c40[_0x5c9aa5(0x22d)]),_0x426c40['header']=TermsUtil[_0x5c9aa5(0x1a9)](_0x426c40[_0x5c9aa5(0x20b)]);}),_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=_0x101bbc),_0x3f2508[_0x522201(0x199)](_0x2da276);}return _0x3f2508;}static[a0_0x102ceb(0x2ac)](_0xa22245){const _0x178f29=a0_0x102ceb;let _0x2c383b=_0xa22245['gridConfig'];_0xa22245['useFilterForm']=!_0x2c383b||null==_0x2c383b['use_filter_form']||_0x2c383b['use_filter_form'];let {mobile_mode:_0x51514d='LIST',desk_mode:_0x3f5c63=_0x178f29(0x207),view_mode:_0x230db2=[],use_row_checker:_0x5a4146=!0x0,sorters:_0x8165a2=[],pages:_0x4991d7=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x2c383b['option'])?{}:_0x2c383b[_0x178f29(0x23d)];return'unlimited'===_0x4991d7||'-1'===_0x4991d7?(_0xa22245[_0x178f29(0x18f)]=!0x0,_0x4991d7={'infinite':!0x0}):(_0xa22245[_0x178f29(0x18f)]=!0x1,_0x4991d7[_0x178f29(0x171)](function(_0x28e246,_0x53ecea){return _0x28e246-_0x53ecea;}),_0x4991d7={'pages':_0x4991d7}),ValueUtil[_0x178f29(0x1dc)](_0x230db2)&&(0x1==_0x230db2[_0x178f29(0x1a6)]?(_0x3f5c63=_0x230db2[0x0],_0x51514d=_0x230db2[0x0]):_0x230db2['length']>=0x2&&(_0x230db2['includes'](_0x51514d)||(_0x51514d=_0x230db2[0x1]),_0x230db2[_0x178f29(0x24c)](_0x3f5c63)||(_0x3f5c63=_0x230db2[0x0]))),_0xa22245[_0x178f29(0x295)]=_0x51514d,_0xa22245[_0x178f29(0x17d)]=_0x3f5c63,_0xa22245['gridViewOptions']=_0x230db2,_0xa22245[_0x178f29(0x17e)]=UiUtil[_0x178f29(0x189)]()?_0xa22245[_0x178f29(0x295)]:_0xa22245[_0x178f29(0x17d)],{'use_row_checker':_0x5a4146,'sorters':_0x8165a2,'pages':_0x4991d7};}static[a0_0x102ceb(0x253)](_0xde61c4){const _0x1e28e1=a0_0x102ceb;let _0x2194c7={'fields':[ValueUtil['getParams'](_0xde61c4[_0x1e28e1(0x2a9)],'name'),ValueUtil[_0x1e28e1(0x18e)](_0xde61c4[_0x1e28e1(0x2a9)],_0x1e28e1(0x21c))]};return _0xde61c4[_0x1e28e1(0x208)][_0x1e28e1(0x26d)]&&Object[_0x1e28e1(0x192)](_0x2194c7,_0xde61c4[_0x1e28e1(0x208)][_0x1e28e1(0x26d)]),_0x2194c7;}static[a0_0x102ceb(0x2a4)](_0x1f806f){const _0x2b1123=a0_0x102ceb;let {multiple_select:_0x48585d=!0x1,click:_0x2e0e5f}=ValueUtil[_0x2b1123(0x24e)](_0x1f806f['gridConfig'][_0x2b1123(0x202)])?{}:_0x1f806f[_0x2b1123(0x208)][_0x2b1123(0x202)],_0x208329={'selectable':{'multiple':_0x48585d},'appendable':_0x1f806f[_0x2b1123(0x29f)]};return ValueUtil[_0x2b1123(0x1dc)](_0x2e0e5f)&&(_0x208329[_0x2b1123(0x2ae)]={'click':_0x2e0e5f}),_0x208329;}static['getGridButtonSet'](_0x20a48c){const _0x226206=a0_0x102ceb;let _0x547382=_0x20a48c[_0x226206(0x208)][_0x226206(0x2a2)];return ValueUtil[_0x226206(0x24e)](_0x547382)?[]:_0x547382[_0x226206(0x1e0)](_0x18c6d8=>{const _0x5c6bfc=_0x226206;let _0x4ec039={'type':_0x5c6bfc(0x176),'gutterName':'button'};if(ValueUtil[_0x5c6bfc(0x1dc)](_0x18c6d8['icon'])&&(Array[_0x5c6bfc(0x22e)](_0x18c6d8[_0x5c6bfc(0x1ee)])?_0x4ec039[_0x5c6bfc(0x1ee)]=_0x4bf8e5=>{const _0x44423b=_0x5c6bfc;if(ValueUtil[_0x44423b(0x1dc)](_0x4bf8e5))for(let _0x2e5280=0x0;_0x2e5280<_0x18c6d8[_0x44423b(0x1ee)][_0x44423b(0x1a6)];_0x2e5280++){let _0xa9f44f=_0x18c6d8['icon'][_0x2e5280];if(!0x0===ValueUtil[_0x44423b(0x1d6)](_0xa9f44f,_0x4bf8e5,Object[_0x44423b(0x230)](_0xa9f44f)[_0x44423b(0x28c)](_0x26dffa=>'icon'!=_0x26dffa)))return _0xa9f44f[_0x44423b(0x1ee)];}}:_0x4ec039['icon']=_0x18c6d8[_0x5c6bfc(0x1ee)]),ValueUtil[_0x5c6bfc(0x1dc)](_0x18c6d8['name'])&&(_0x4ec039[_0x5c6bfc(0x22d)]=_0x18c6d8[_0x5c6bfc(0x22d)]),ValueUtil['isNotEmpty'](_0x18c6d8['label'])&&(_0x4ec039[_0x5c6bfc(0x259)]=TermsUtil[_0x5c6bfc(0x1af)](_0x18c6d8[_0x5c6bfc(0x25c)])),_0x5c6bfc(0x282)===_0x18c6d8[_0x5c6bfc(0x180)]){let _0x5317cd=ValueUtil[_0x5c6bfc(0x18e)](_0x18c6d8,_0x5c6bfc(0x1b2));[_0x5c6bfc(0x277),_0x5c6bfc(0x1e4)][_0x5c6bfc(0x24c)](_0x5317cd)?_0x4ec039['handlers']={'click':(_0x3fcd93,_0x56863e,_0x5d9e20,_0x355053,_0x45a68f)=>{const _0x1bd4db=_0x5c6bfc;if(_0x355053['id']){let _0x1deec6={'title':_0x1bd4db(0x2a3),'type':'popup','tagname':_0x1bd4db(0x277)==_0x5317cd?_0x1bd4db(0x1a5):_0x1bd4db(0x291),'location':_0x1bd4db(0x277)==_0x5317cd?_0x1bd4db(0x1cb):'pages/hgistory/history-json-list-popup.js','menu':_0x20a48c[_0x1bd4db(0x223)],'size':_0x1bd4db(0x20c),'popup_field':_0x1bd4db(0x258),'parent_field':'id'},_0x2f076c={..._0x355053,'gqlFunc':ValueUtil[_0x1bd4db(0x18e)](_0x20a48c[_0x1bd4db(0x1cc)],_0x1bd4db(0x209),'find_one_func'),'gristConfig':JSON[_0x1bd4db(0x187)](JSON[_0x1bd4db(0x221)](_0x20a48c[_0x1bd4db(0x1f6)][_0x1bd4db(0x1ca)]))};MetaUiUtil[_0x1bd4db(0x1f3)](_0x20a48c,{'logic':_0x1deec6},_0x2f076c);}}}:_0x4ec039[_0x5c6bfc(0x2ae)]={'click':_0x5317cd};}else _0x4ec039[_0x5c6bfc(0x2ae)]={'click':(_0x3f8935,_0xb428a8,_0x7a5af5,_0x26d2ea,_0x18153f)=>{const _0x16f9e9=_0x5c6bfc;_0x26d2ea['id']&&MetaUiUtil[_0x16f9e9(0x1f3)](_0x20a48c,_0x18c6d8,_0x26d2ea);}};return _0x4ec039;});}static async[a0_0x102ceb(0x219)](_0x3b5756){const _0x4c1c56=a0_0x102ceb;let _0x22cbc8=_0x3b5756[_0x4c1c56(0x191)];if(ValueUtil['isEmpty'](_0x22cbc8))return[];let _0xf96f35=[];for(let _0x522707=0x0;_0x522707<_0x22cbc8[_0x4c1c56(0x1a6)];_0x522707++){let {type:_0x40f65e=_0x4c1c56(0x2c3),name:_0x30ec59,header:_0x254c9a,hidden:_0x59bc65=!0x1,editable:_0x17abce=!0x0,mandatory:_0x5ba986=!0x1,sortable:_0x98877c=!0x1,align:_0x19b86b=_0x4c1c56(0x24a),width:_0x4f4b1b=0x0,exportable:_0x9c8ce5=!0x1,select_opt:_0xee3203,object_opt:_0x5ed289}=_0x22cbc8[_0x522707],_0x4d35d7={'type':_0x40f65e,'name':_0x30ec59,'header':ValueUtil[_0x4c1c56(0x24e)](_0x254c9a)?'':TermsUtil[_0x4c1c56(0x1a9)](_0x254c9a),'hidden':_0x59bc65,'sortable':_0x98877c,'width':_0x4f4b1b,'record':{'editable':_0x17abce,'mandatory':_0x5ba986,'align':_0x19b86b}};if(_0x4c1c56(0x1b1)===_0x40f65e&&ValueUtil[_0x4c1c56(0x1dc)](_0xee3203))Array[_0x4c1c56(0x22e)](_0xee3203)?_0x4d35d7[_0x4c1c56(0x2bf)][_0x4c1c56(0x257)]=_0xee3203:_0x4c1c56(0x27a)===_0xee3203[_0x4c1c56(0x180)]?_0x4d35d7['record']['options']=await ServiceUtil[_0x4c1c56(0x298)](_0xee3203[_0x4c1c56(0x2bc)]?_0xee3203[_0x4c1c56(0x2bc)]:_0xee3203[_0x4c1c56(0x22d)]):_0x4c1c56(0x21e)===_0xee3203[_0x4c1c56(0x180)]?_0x4d35d7[_0x4c1c56(0x2bf)]['options']=await ServiceUtil[_0x4c1c56(0x25d)](_0xee3203[_0x4c1c56(0x22d)],_0xee3203[_0x4c1c56(0x243)]):'entity'===_0xee3203['type']&&(_0x4d35d7['record']['options']=await ServiceUtil['getCodeByEntity'](_0xee3203[_0x4c1c56(0x243)]));else{if('object'!==_0x40f65e&&'resource-object'!==_0x40f65e||!ValueUtil[_0x4c1c56(0x1dc)](_0x5ed289))_0x4c1c56(0x27b)===_0x40f65e&&ValueUtil[_0x4c1c56(0x1dc)](_0x5ed289)&&(_0x4d35d7[_0x4c1c56(0x2bf)]['options']=_0x5ed289,_0x5ed289['dispField']&&(_0x4d35d7[_0x4c1c56(0x2bf)][_0x4c1c56(0x257)][_0x4c1c56(0x272)]=await ServiceUtil[_0x4c1c56(0x227)](_0x5ed289)));else{let _0x4e9f61;_0x5ed289[_0x4c1c56(0x1b1)]&&_0x5ed289[_0x4c1c56(0x1b1)][_0x4c1c56(0x184)](_0x5b1967=>{const _0xea468e=_0x4c1c56;_0x5b1967[_0xea468e(0x20b)]||(_0x5b1967['header']=_0x5b1967['name']),_0x5b1967[_0xea468e(0x20b)]=TermsUtil[_0xea468e(0x1a9)](_0x5b1967[_0xea468e(0x20b)]);}),_0x4d35d7[_0x4c1c56(0x2bf)][_0x4c1c56(0x257)]={..._0x5ed289},_0x5ed289[_0x4c1c56(0x274)]&&_0x5ed289[_0x4c1c56(0x274)][_0x4c1c56(0x18c)]&&(_0x4e9f61=[..._0x5ed289[_0x4c1c56(0x274)]['filters']]),_0x4e9f61&&JSON[_0x4c1c56(0x221)](_0x4e9f61)[_0x4c1c56(0x24c)]('::')&&(_0x4d35d7['handlers']={'dblclick':(_0x208117,_0x440289,_0x392d4e,_0x3eb8c9,_0x58f6ce)=>{const _0x438b57=_0x4c1c56;let _0x1caa64=[];_0x4e9f61[_0x438b57(0x184)](_0x16f7b7=>{const _0x3cc8c5=_0x438b57;var {name:_0x2a8ef0,value:_0xf00b6c,operator:_0x4ce059='eq'}=_0x16f7b7;_0xf00b6c[_0x3cc8c5(0x24c)]('::')&&(_0xf00b6c=ValueUtil[_0x3cc8c5(0x18e)](_0x3eb8c9,..._0xf00b6c[_0x3cc8c5(0x19e)]('::','')[_0x3cc8c5(0x1f8)]('.'))),_0xf00b6c||(_0xf00b6c=''),_0x1caa64[_0x3cc8c5(0x199)]({'name':_0x2a8ef0,'operator':_0x4ce059,'value':_0xf00b6c});}),_0x392d4e[_0x438b57(0x2bf)][_0x438b57(0x257)][_0x438b57(0x274)][_0x438b57(0x18c)]=_0x1caa64;}});}}!0x0===_0x3b5756[_0x4c1c56(0x1c7)]&&!0x0===_0x9c8ce5&&(_0x4d35d7[_0x4c1c56(0x1ff)]={'header':_0x4d35d7['header'],'key':_0x4d35d7[_0x4c1c56(0x22d)],'width':_0x4d35d7['width']/0x6,'type':_0x4d35d7[_0x4c1c56(0x180)]}),_0xf96f35[_0x4c1c56(0x199)](_0x4d35d7);}if(!0x0!==this[_0x4c1c56(0x281)])return _0xf96f35;let _0x131f73=await MetaApi[_0x4c1c56(0x1f5)](this['menuId']),{template:_0x307b3f={}}=_0x131f73;if(!_0x307b3f[_0x4c1c56(0x1e7)])return _0xf96f35;let _0x10b1e5=_0x307b3f[_0x4c1c56(0x1e7)];return _0xf96f35=_0xf96f35[_0x4c1c56(0x1e0)](_0x297016=>('id'==_0x297016['name']||(_0x297016[_0x4c1c56(0x2a5)]=!_0x10b1e5[_0x4c1c56(0x24c)](_0x297016[_0x4c1c56(0x22d)]),_0x297016['rank']=_0x10b1e5['indexOf'](_0x297016['name']),-0x1==_0x297016['rank']&&(_0x297016['rank']=0x1869f)),_0x297016)),_0xf96f35['sort']((_0x4c2fb6,_0x1d35f9)=>_0x4c2fb6[_0x4c1c56(0x210)]-_0x1d35f9[_0x4c1c56(0x210)]),_0xf96f35;}static['setGridColumnSearchOption'](_0x1d5ac4,_0x3e9963){const _0x9c65e8=a0_0x102ceb;let _0x2c67c4=_0x1d5ac4['searchConfig'];return _0x2c67c4&&_0x2c67c4[_0x9c65e8(0x184)](_0x2dd7f0=>{const _0x30b4c2=_0x9c65e8;_0x30b4c2(0x2c3)==typeof _0x2dd7f0?_0x3e9963[_0x30b4c2(0x28c)](_0x1c0678=>_0x1c0678[_0x30b4c2(0x22d)]==_0x2dd7f0)[_0x30b4c2(0x184)](_0x1d8433=>{const _0x415656=_0x30b4c2;_0x1d8433[_0x415656(0x28c)]=_0x415656(0x1fa);}):'object'==typeof _0x2dd7f0&&_0x3e9963[_0x30b4c2(0x28c)](_0x439f98=>_0x439f98[_0x30b4c2(0x22d)]==_0x2dd7f0[_0x30b4c2(0x22d)])['forEach'](_0x18eac4=>{const _0x1699cf=_0x30b4c2;_0x18eac4[_0x1699cf(0x28c)]=_0x2dd7f0,_0x18eac4[_0x1699cf(0x28c)][_0x1699cf(0x180)]=_0x1699cf(0x1d7)===_0x18eac4[_0x1699cf(0x180)]?'datetime-local':_0x18eac4[_0x1699cf(0x180)];let _0x515e54=_0x18eac4['filter'][_0x1699cf(0x19f)];if(_0x515e54&&_0x515e54['startsWith'](_0x1699cf(0x1ba))){let _0x43980e=_0x515e54[_0x1699cf(0x1f8)](','),_0x1f3977=[];_0x43980e['forEach'](_0x46ad6f=>{const _0x18e6e1=_0x1699cf,_0x2e3e60=a0_0x26253f();_0x18e6e1(0x1ba)==_0x46ad6f?_0x1f3977['push'](_0x2e3e60[_0x18e6e1(0x273)](_0x18e6e1(0x1e1))):_0x46ad6f['includes']('-')?_0x1f3977[_0x18e6e1(0x199)](_0x2e3e60['subtract'](_0x46ad6f[_0x18e6e1(0x1f8)]('-')[0x1],'day')[_0x18e6e1(0x273)](_0x18e6e1(0x1e1))):_0x46ad6f[_0x18e6e1(0x24c)]('+')&&_0x1f3977[_0x18e6e1(0x199)](_0x2e3e60[_0x18e6e1(0x28a)](_0x46ad6f[_0x18e6e1(0x1f8)]('+')[0x1],'day')['format']('YYYY-MM-DD'));}),_0x18eac4[_0x1699cf(0x28c)][_0x1699cf(0x19f)]=0x1==_0x1f3977[_0x1699cf(0x1a6)]?_0x1f3977[0x0]:_0x1f3977;}});}),_0x3e9963;}static[a0_0x102ceb(0x1f0)](_0x382e40){const _0x438243=a0_0x102ceb;let _0x508429={'title':TermsUtil[_0x438243(0x225)](_0x382e40[_0x438243(0x2a9)][_0x438243(0x259)]),'help':_0x382e40['menuInfo']['help']||'','actions':[...MetaUiUtil[_0x438243(0x2c4)](_0x382e40)]};return _0x382e40[_0x438243(0x1c7)]&&(_0x508429[_0x438243(0x280)]={'name':_0x508429[_0x438243(0x259)],'data':_0x382e40[_0x438243(0x244)][_0x438243(0x1b7)](_0x382e40)}),_0x382e40[_0x438243(0x197)]&&(_0x508429[_0x438243(0x27e)]={'handler':_0x382e40[_0x438243(0x1ce)][_0x438243(0x1b7)](_0x382e40)}),_0x508429;}static['getContextButtons'](_0x594d6a){const _0x1fc508=a0_0x102ceb;let _0x4fd5cc=_0x594d6a[_0x1fc508(0x1fd)];return ValueUtil['isEmpty'](_0x4fd5cc)?[]:_0x4fd5cc[_0x1fc508(0x28c)](_0x491629=>_0x1fc508(0x244)!=_0x491629[_0x1fc508(0x22d)]&&_0x1fc508(0x1ce)!=_0x491629['name']&&'add'!=_0x491629['name'])[_0x1fc508(0x1e0)](_0x5ed67e=>{const _0x433702=_0x1fc508;let {name:_0x4d2a5d,label:_0x1a37b5,style:_0x29c00e,type:_0x15af6c=_0x433702(0x282),action:_0x5439fd,logic:_0xc78648}=_0x5ed67e;if(ValueUtil[_0x433702(0x24e)](_0x4d2a5d))return{'title':'-1'};ValueUtil['isEmpty'](_0x1a37b5)&&(_0x1a37b5=_0x4d2a5d),ValueUtil[_0x433702(0x24e)](_0x29c00e)&&(_0x29c00e=_0x4d2a5d),ValueUtil[_0x433702(0x24e)](_0x5439fd)&&(_0x5439fd=_0x4d2a5d);let _0x50a245=ValueUtil[_0x433702(0x1dc)](_0x29c00e)?CommonButtonStyles[_0x29c00e]||{'icon':_0x29c00e,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x433702(0x1af)](_0x1a37b5),'action':MetaUiUtil[_0x433702(0x1ad)](_0x594d6a,_0x15af6c,_0x5439fd,_0xc78648),..._0x50a245};})[_0x1fc508(0x28c)](_0x3d8799=>'-1'!=_0x3d8799[_0x1fc508(0x259)]);}static['getContainerButtons'](_0x529594){const _0x9fbfc2=a0_0x102ceb;let _0x1dacd1=_0x529594&&_0x529594[_0x9fbfc2(0x1fd)]?_0x529594[_0x9fbfc2(0x1fd)]:null;return _0x1dacd1?_0x1dacd1['filter'](_0x50fcc3=>'add'!=_0x50fcc3[_0x9fbfc2(0x22d)])[_0x9fbfc2(0x1e0)](_0x8d0152=>{const _0x7b9114=_0x9fbfc2;let {name:_0x46815c,label:_0x3f187e,style:_0x4dc620,type:_0x167fc4=_0x7b9114(0x282),action:_0x2311cb,logic:_0x48cdca}=_0x8d0152;ValueUtil['isEmpty'](_0x3f187e)&&(_0x3f187e=_0x46815c),ValueUtil[_0x7b9114(0x24e)](_0x4dc620)&&(_0x4dc620=_0x46815c),ValueUtil['isEmpty'](_0x2311cb)&&(_0x2311cb=_0x46815c);let _0x1b90ab=MetaUiUtil[_0x7b9114(0x299)](TermsUtil[_0x7b9114(0x1af)](_0x3f187e),_0x4dc620);return _0x1b90ab[_0x7b9114(0x267)]=MetaUiUtil[_0x7b9114(0x1ad)](_0x529594,_0x167fc4,_0x2311cb,_0x48cdca),_0x1b90ab;}):[];}static[a0_0x102ceb(0x299)](_0x45398f,_0x90901b){const _0x40f23e=a0_0x102ceb;let _0x30af33=CommonButtonStyles[_0x90901b]||{'icon':_0x90901b,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x57b43f=_0x40f23e(0x1bd)+_0x45398f+_0x40f23e(0x24d)+(_0x30af33[_0x40f23e(0x1ee)]?_0x30af33['icon']:'')+_0x40f23e(0x181)+(_0x30af33[_0x40f23e(0x17a)]['raised']?_0x40f23e(0x179):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x30af33[_0x40f23e(0x17a)]['outlined']?_0x40f23e(0x2b1):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x30af33['emphasis'][_0x40f23e(0x292)]?_0x40f23e(0x292):'')+_0x40f23e(0x232)+(_0x30af33[_0x40f23e(0x17a)]['danger']?_0x40f23e(0x263):'')+_0x40f23e(0x2b0);return UiUtil[_0x40f23e(0x23c)](_0x57b43f);}static[a0_0x102ceb(0x1ad)](_0x13e8ed,_0x58e0f6,_0x168bfe,_0x1f369e){const _0x1a8c6c=a0_0x102ceb;if(_0x1a8c6c(0x282)==_0x58e0f6){if(_0x13e8ed[_0x168bfe])return _0x13e8ed[_0x168bfe]['bind'](_0x13e8ed);}else{if(_0x1a8c6c(0x18b)==_0x58e0f6)return()=>MetaUiUtil[_0x1a8c6c(0x178)](_0x13e8ed,_0x1f369e);}return()=>{const _0x4924ab=_0x1a8c6c;UiUtil[_0x4924ab(0x297)](_0x4924ab(0x1a2),_0x4924ab(0x20f),_0x4924ab(0x2c5),'confirm');};}static async[a0_0x102ceb(0x1f3)](_0x3776da,_0x4cc71d,_0x25756d){const _0x20d77b=a0_0x102ceb;let _0x1ec1a5=ValueUtil[_0x20d77b(0x18e)](_0x4cc71d,_0x20d77b(0x1b2)),_0x1c7061=ValueUtil[_0x20d77b(0x18e)](_0x1ec1a5,_0x20d77b(0x180));if('form'===_0x1c7061)_0x1ec1a5[_0x20d77b(0x1b9)]=_0x20d77b(0x26c),_0x1ec1a5['location']=_0x20d77b(0x261),_0x1ec1a5[_0x20d77b(0x1b4)]='id',await MetaUiUtil[_0x20d77b(0x278)](_0x3776da,_0x1ec1a5,_0x25756d);else{if('pass_param'===_0x1c7061)MetaUiUtil['gristButtonPassParam'](_0x3776da,_0x1ec1a5,_0x25756d);else{if('page'===_0x1c7061){let _0x38ee66;_0x1ec1a5[_0x20d77b(0x224)]?(_0x38ee66={},Object[_0x20d77b(0x230)](_0x25756d)[_0x20d77b(0x28c)](_0x59969b=>Object[_0x20d77b(0x230)](_0x1ec1a5['param_field'])[_0x20d77b(0x24c)](_0x59969b))[_0x20d77b(0x1e0)](_0x34461c=>{const _0x19b986=_0x20d77b;Object[_0x19b986(0x230)](_0x1ec1a5[_0x19b986(0x224)])[_0x19b986(0x24c)](_0x34461c)&&('string'==typeof _0x25756d[_0x34461c]?_0x38ee66[_0x1ec1a5[_0x19b986(0x224)][_0x34461c]]=_0x25756d[_0x34461c]:_0x38ee66[_0x1ec1a5[_0x19b986(0x224)][_0x34461c]]={'id':_0x25756d[_0x34461c]['id']});})):_0x38ee66=_0x25756d,UiUtil['pageNavigate'](_0x1ec1a5['url'],[_0x38ee66]);}else _0x20d77b(0x2be)===_0x1c7061?await MetaUiUtil[_0x20d77b(0x278)](_0x3776da,_0x1ec1a5,_0x25756d):_0x20d77b(0x21e)===_0x1c7061?await MetaUiUtil[_0x20d77b(0x1be)](_0x3776da,_0x1ec1a5,_0x25756d):_0x20d77b(0x215)===_0x1c7061&&await MetaUiUtil['gristButtonValueReference'](_0x3776da,_0x1ec1a5,_0x25756d);}}}static async[a0_0x102ceb(0x178)](_0x1561f9,_0x458b40){const _0x24ad75=a0_0x102ceb;if(ValueUtil[_0x24ad75(0x24e)](_0x458b40))return;let _0x130841=_0x1561f9[_0x24ad75(0x1f6)],_0x48a69c=_0x1561f9[_0x24ad75(0x28f)],_0x263f8f=ValueUtil[_0x24ad75(0x18e)](_0x458b40,_0x24ad75(0x180)),_0x2a3169=ValueUtil[_0x24ad75(0x18e)](_0x458b40,_0x24ad75(0x206)),_0xbe9d87=_0x2a3169[_0x24ad75(0x28c)](_0x2b4de0=>_0x2b4de0['startsWith'](_0x24ad75(0x1f6)));if(ValueUtil[_0x24ad75(0x1dc)](_0xbe9d87)){if(!_0x130841)return void UiUtil[_0x24ad75(0x297)](_0x24ad75(0x239),_0x24ad75(0x2b2),'info','confirm');if(0x0==(_0x130841[_0x24ad75(0x23f)]?_0x130841[_0x24ad75(0x23f)][_0x24ad75(0x1ef)]:[])[_0x24ad75(0x1a6)])return void UiUtil[_0x24ad75(0x297)]('title.info',_0x24ad75(0x190),'info','confirm');if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x27c))||_0x2a3169['includes']('grist_selected')){let _0x41a8ea=_0x130841['selected'];if(ValueUtil[_0x24ad75(0x24e)](_0x41a8ea))return void UiUtil['showAlertPopup'](_0x24ad75(0x17c),_0x24ad75(0x1b0),_0x24ad75(0x2c5),_0x24ad75(0x177));if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x27c))&&_0x41a8ea[_0x24ad75(0x1a6)]>0x1)return void UiUtil[_0x24ad75(0x297)](_0x24ad75(0x239),_0x24ad75(0x204),_0x24ad75(0x2c5),'confirm');}}let _0xa09f69={};if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x28c))){if(!_0x48a69c)return void UiUtil[_0x24ad75(0x297)](_0x24ad75(0x239),_0x24ad75(0x17f),_0x24ad75(0x2c5),_0x24ad75(0x177));let _0x3678d3=_0x48a69c?await _0x48a69c[_0x24ad75(0x265)]():[];_0xa09f69[_0x24ad75(0x28c)]=_0x3678d3;}if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x22c)))_0xa09f69[_0x24ad75(0x1f6)]=_0x130841[_0x24ad75(0x23f)][_0x24ad75(0x1ef)];else{if(_0x2a3169[_0x24ad75(0x24c)]('grist_one'))_0xa09f69[_0x24ad75(0x1f6)]=_0x130841[_0x24ad75(0x2ba)][0x0];else{if(_0x2a3169['includes'](_0x24ad75(0x25a)))_0xa09f69[_0x24ad75(0x1f6)]=_0x130841[_0x24ad75(0x2ba)];else{if(_0x2a3169['includes'](_0x24ad75(0x264))&&(_0xa09f69[_0x24ad75(0x1f6)]=ServiceUtil[_0x24ad75(0x21b)](_0x130841),!_0xa09f69[_0x24ad75(0x1f6)]))return;}}}if(_0x24ad75(0x29c)===_0x263f8f){let _0x4a7147,_0x3033e8=Array['isArray'](_0xa09f69[_0x24ad75(0x1f6)])?_0xa09f69[_0x24ad75(0x1f6)]:[_0xa09f69['grist']];_0x4a7147=_0x458b40[_0x24ad75(0x224)]?_0x3033e8[_0x24ad75(0x1e0)](_0xd233e4=>{const _0x17eb97=_0x24ad75;let _0x2c7a78={};return Object[_0x17eb97(0x230)](_0xd233e4)['filter'](_0x2f9d16=>Object[_0x17eb97(0x230)](_0x458b40[_0x17eb97(0x224)])[_0x17eb97(0x24c)](_0x2f9d16))['map'](_0x4b8e45=>{const _0x13a0a2=_0x17eb97;Object[_0x13a0a2(0x230)](_0x458b40[_0x13a0a2(0x224)])[_0x13a0a2(0x24c)](_0x4b8e45)&&('string'==typeof _0xd233e4[_0x4b8e45]?_0x2c7a78[_0x458b40[_0x13a0a2(0x224)][_0x4b8e45]]=_0xd233e4[_0x4b8e45]:_0x2c7a78[_0x458b40[_0x13a0a2(0x224)][_0x4b8e45]]={'id':_0xd233e4[_0x4b8e45]['id']});}),_0x2c7a78;}):_0x3033e8,UiUtil[_0x24ad75(0x289)](_0x458b40[_0x24ad75(0x240)],_0x4a7147);}else{if(_0x24ad75(0x2be)===_0x263f8f){let _0x202bc5={..._0xa09f69[_0x24ad75(0x1f6)]?_0xa09f69[_0x24ad75(0x1f6)]:{},..._0xa09f69[_0x24ad75(0x28c)]?_0xa09f69[_0x24ad75(0x28c)]:{}};await MetaUiUtil[_0x24ad75(0x278)](_0x1561f9,_0x458b40,_0x202bc5);}else _0x24ad75(0x21e)===_0x263f8f&&await MetaUiUtil[_0x24ad75(0x1be)](_0x1561f9,_0x458b40,_0xa09f69);}}static[a0_0x102ceb(0x1aa)](_0x137db1,_0x21722b,_0x365db5){const _0x520f24=a0_0x102ceb;let _0x1b37d1=_0x21722b[_0x520f24(0x1a0)],_0x15b5d1={},_0x4be794=_0x137db1[_0x520f24(0x20a)][_0x520f24(0x290)](),_0x26de76=_0x137db1;_0x15b5d1=_0x4be794['startsWith'](_0x520f24(0x22a))?{'detail':{..._0x1b37d1}}:_0x4be794[_0x520f24(0x2c2)](_0x520f24(0x284))?_0x137db1['detailElement']['tagName'][_0x520f24(0x290)]()[_0x520f24(0x2c2)](_0x520f24(0x2aa))?{'detail':{..._0x1b37d1}}:{'self':{..._0x1b37d1}}:_0x1b37d1,Object[_0x520f24(0x230)](_0x15b5d1)['forEach'](_0x38c768=>{const _0x298bcd=_0x520f24;_0x298bcd(0x1e7)==_0x38c768?_0x26de76=_0x137db1[_0x298bcd(0x1ae)][_0x298bcd(0x1c3)]:_0x298bcd(0x1fb)==_0x38c768?_0x26de76=_0x137db1[_0x298bcd(0x1ae)]?_0x137db1[_0x298bcd(0x1ae)][_0x298bcd(0x203)]:_0x137db1[_0x298bcd(0x203)]:'self'==_0x38c768&&(_0x26de76=_0x137db1),Object['keys'](_0x15b5d1[_0x38c768])[_0x298bcd(0x184)](_0x5dbd13=>{const _0x52446d=_0x298bcd;let _0x450c5d=_0x26de76[_0x52446d(0x1e9)][_0x52446d(0x1ab)]('#'+_0x5dbd13);_0x365db5['id']&&_0x450c5d[_0x52446d(0x234)](_0x365db5['id']);let _0x2d0f7b=_0x15b5d1[_0x38c768][_0x5dbd13];Object['keys'](_0x2d0f7b)[_0x52446d(0x184)](_0x4c0fb0=>{let _0x1021a9=_0x2d0f7b[_0x4c0fb0],_0x57f214='*'===_0x1021a9?_0x365db5:_0x365db5[_0x1021a9];_0x450c5d[_0x4c0fb0]=_0x57f214;});});});}static async[a0_0x102ceb(0x278)](_0x39ed1a,_0x3b141f,_0x4c968a){const _0x4d0546=a0_0x102ceb;let _0x1680a4=TermsUtil[_0x4d0546(0x225)](_0x3b141f[_0x4d0546(0x259)]);ValueUtil[_0x4d0546(0x1dc)](_0x3b141f[_0x4d0546(0x1fe)])&&(_0x1680a4=_0x1680a4+'('+ValueUtil['getParams'](_0x4c968a,..._0x3b141f[_0x4d0546(0x1fe)]['split']('.'))+')');let _0x379152=_0x3b141f[_0x4d0546(0x249)]&&_0x4d0546(0x2c3)==typeof _0x3b141f['after']&&_0x4d0546(0x1d0)===_0x3b141f[_0x4d0546(0x249)]&&_0x39ed1a&&_0x39ed1a[_0x4d0546(0x1d0)]?_0x39ed1a[_0x4d0546(0x1d0)][_0x4d0546(0x1b7)](_0x39ed1a):void 0x0;UiUtil['openDynamicPopup'](_0x1680a4,_0x3b141f,_0x4c968a,_0x379152);}static async['commonButtonCallScenario'](_0x4ed299,_0x1e975a,_0x14ad29){const _0x494099=a0_0x102ceb;let _0x2caf2c=await ServiceUtil[_0x494099(0x24b)](_0x494099(0x2b5),_0x1e975a['name'],_0x14ad29);if(!_0x2caf2c[_0x494099(0x2ab)]&&!ValueUtil[_0x494099(0x24e)](_0x1e975a[_0x494099(0x249)])&&_0x1e975a[_0x494099(0x249)]){if('fetch'!==_0x1e975a[_0x494099(0x249)]){if(_0x494099(0x1d2)==typeof _0x1e975a[_0x494099(0x249)]){let _0x3a0422=_0x1e975a['after'],_0x5bfb59=ValueUtil[_0x494099(0x18e)](_0x2caf2c['data']['runScenario'][_0x494099(0x23f)],..._0x3a0422[_0x494099(0x1f1)][_0x494099(0x1f8)]('.'));if(0x0==Array['isArray'](_0x5bfb59)&&(_0x5bfb59=[_0x5bfb59]),_0x494099(0x2c1)===_0x3a0422[_0x494099(0x180)])_0x3a0422['tagname']=_0x494099(0x26c),_0x3a0422[_0x494099(0x276)]=_0x494099(0x261),_0x3a0422[_0x494099(0x1b4)]='id',_0x5bfb59=_0x5bfb59[0x0],await MetaUiUtil[_0x494099(0x278)](_0x4ed299,_0x3a0422,_0x5bfb59);else{if(_0x494099(0x29c)===_0x3a0422[_0x494099(0x180)]){let _0x913ab0,_0x42b264=_0x5bfb59;_0x913ab0=_0x3a0422['param_field']?_0x42b264[_0x494099(0x1e0)](_0x372c41=>{const _0x4738fa=_0x494099;let _0x51932a={};return Object[_0x4738fa(0x230)](_0x372c41)[_0x4738fa(0x28c)](_0x2f6288=>Object[_0x4738fa(0x230)](_0x3a0422[_0x4738fa(0x224)])[_0x4738fa(0x24c)](_0x2f6288))[_0x4738fa(0x1e0)](_0x3de9d2=>{const _0x1b7019=_0x4738fa;Object[_0x1b7019(0x230)](_0x3a0422[_0x1b7019(0x224)])[_0x1b7019(0x24c)](_0x3de9d2)&&('string'==typeof _0x372c41[_0x3de9d2]?_0x51932a[_0x3a0422['param_field'][_0x3de9d2]]=_0x372c41[_0x3de9d2]:_0x51932a[_0x3a0422['param_field'][_0x3de9d2]]={'id':_0x372c41[_0x3de9d2]['id']});}),_0x51932a;}):_0x42b264,UiUtil[_0x494099(0x289)](_0x3a0422[_0x494099(0x240)],_0x913ab0);}else _0x494099(0x1ac)===_0x3a0422[_0x494099(0x180)]?(_0x5bfb59=_0x5bfb59[0x0],MetaUiUtil['gristButtonPassParam'](_0x4ed299,_0x3a0422,_0x5bfb59)):_0x494099(0x2be)===_0x3a0422['type']?(_0x5bfb59=_0x5bfb59[0x0],await MetaUiUtil[_0x494099(0x278)](_0x4ed299,_0x3a0422,_0x5bfb59)):'value_reference'===_0x3a0422[_0x494099(0x180)]&&(_0x5bfb59=_0x5bfb59[0x0],await MetaUiUtil['gristButtonValueReference'](_0x4ed299,_0x3a0422,_0x5bfb59));}}}else _0x4ed299[_0x494099(0x1d0)]();}}static async[a0_0x102ceb(0x237)](_0x300059,_0x23744e,_0x2d7f57){const _0xff4266=a0_0x102ceb;for(let _0x264309=0x0;_0x264309<_0x23744e[_0xff4266(0x1f4)][_0xff4266(0x1a6)];_0x264309++){let _0x393f1f=_0x23744e[_0xff4266(0x1f4)][_0x264309];!0x0===ValueUtil[_0xff4266(0x1d6)](_0x393f1f,_0x2d7f57,Object[_0xff4266(0x230)](_0x393f1f)[_0xff4266(0x28c)](_0x7e0af1=>'logic'!=_0x7e0af1))&&await MetaUiUtil[_0xff4266(0x1f3)](_0x300059,_0x393f1f,_0x2d7f57);}}static[a0_0x102ceb(0x1eb)](_0x4230c6,_0x343959){return{'type':_0x4230c6,'name':_0x343959,'sortable':!0x1,'hidden':!0x0};}static[a0_0x102ceb(0x212)](_0x3438c5,_0x2b97d6,_0x559622,_0x2b41b8,_0x41abe5,_0xf8ee6c){let _0x4b36a0=TermsUtil['tLabel'](_0x2b97d6);return{'type':_0x3438c5,'name':_0x2b97d6,'header':_0x4b36a0,'record':{'align':_0x559622,'editable':_0x2b41b8},'sortable':_0x41abe5,'width':_0xf8ee6c,'imex':{'width':Math['floor'](_0xf8ee6c/0x6),'header':_0x4b36a0,'type':_0x3438c5,'key':_0x2b97d6}};}static[a0_0x102ceb(0x1c0)](_0x326c76,_0x2de1f8,_0x3050d8,_0x125691,_0x4a97aa,_0x395a89,_0x4b4146){const _0x356023=a0_0x102ceb;let _0x53dc13=TermsUtil['tLabel'](_0x3050d8);return{'type':_0x326c76,'name':_0x2de1f8,'header':_0x53dc13,'record':{'align':_0x125691,'editable':_0x4a97aa},'sortable':_0x395a89,'width':_0x4b4146,'imex':{'width':Math[_0x356023(0x1cd)](_0x4b4146/0x6),'header':_0x53dc13,'type':_0x326c76,'key':_0x2de1f8}};}static['getGristColumnConfig3'](_0x442ad3,_0x218f1e,_0x43ec76,_0x213653,_0x7bc14f,_0x23e3a1,_0x53182e,_0x1999d0){const _0x363e2c=a0_0x102ceb;let _0x18dc29=TermsUtil['tLabel'](_0x43ec76);return{'type':_0x442ad3,'name':_0x218f1e,'header':_0x18dc29,'record':{'align':_0x213653,'editable':_0x7bc14f,'mandatory':_0x53182e},'sortable':_0x23e3a1,'width':_0x1999d0,'imex':{'width':Math[_0x363e2c(0x1cd)](_0x1999d0/0x6),'header':_0x18dc29,'type':_0x442ad3,'key':_0x218f1e}};}static['getGristSelectorColumnConfig'](_0x272e1e,_0x85bbb0,_0x588472,_0x2ac696,_0x3e370b,_0x1034b3,_0x4d7c36){const _0x237442=a0_0x102ceb;let _0x59c129=TermsUtil[_0x237442(0x1a9)](_0x85bbb0);return{'type':_0x237442(0x1b1),'name':_0x272e1e,'header':_0x59c129,'record':{'align':_0x588472,'editable':!0x0,'mandatory':_0x1034b3,'options':_0x4d7c36},'sortable':_0x2ac696,'width':_0x3e370b,'imex':{'width':Math[_0x237442(0x1cd)](_0x3e370b/0x6),'header':_0x59c129,'type':'string','key':_0x272e1e}};}static async[a0_0x102ceb(0x1e2)](_0x3aa990,_0x5eff2a,_0x14fb88,_0x4a0b67,_0x3eedcb,_0x4f4ab2,_0x4659b3){const _0x249209=a0_0x102ceb;let _0x6911a4=await ServiceUtil[_0x249209(0x298)](_0x4659b3);return MetaUiUtil[_0x249209(0x174)](_0x3aa990,_0x5eff2a,_0x14fb88,_0x4a0b67,_0x3eedcb,_0x4f4ab2,_0x6911a4);}static['getGristSearchColumnConfig'](_0x4db899,_0x40ed31,_0x47fb6f,_0x1445ae,_0x23fe66){let _0x376996=TermsUtil['tLabel'](_0x47fb6f),_0x2cd2ad={'name':_0x4db899,'type':_0x40ed31,'label':_0x376996,'operator':_0x1445ae,'imex':{'width':0x10,'header':_0x376996,'type':_0x40ed31,'key':_0x4db899}};return _0x23fe66&&(_0x2cd2ad['options']=_0x23fe66),_0x2cd2ad;}static async[a0_0x102ceb(0x2b8)](_0x207ce3,_0xa241ef,_0x3b3714,_0x4295f4,_0x7d1574){const _0x287ca7=a0_0x102ceb;let _0x24a1d8=await ServiceUtil[_0x287ca7(0x298)](_0x7d1574);return MetaUiUtil[_0x287ca7(0x1a4)](_0x207ce3,_0xa241ef,_0x3b3714,_0x4295f4,_0x24a1d8);}static[a0_0x102ceb(0x1d1)](){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_0x102ceb(0x183)](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static['getGristPersonalizedStyles'](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_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[a0_0x102ceb(0x222)](){const _0x32c2d3=a0_0x102ceb;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[_0x32c2d3(0x183)](),...MetaUiUtil[_0x32c2d3(0x1d1)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x102ceb(0x26f)](){const _0x5d0745=a0_0x102ceb;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[_0x5d0745(0x183)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x5d0745(0x205)]()];}static[a0_0x102ceb(0x19d)](){const _0x4f8a52=a0_0x102ceb;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['getGristEmphasizedStyles'](),...MetaUiUtil[_0x4f8a52(0x1d1)](),...MetaUiUtil[_0x4f8a52(0x205)]()];}static[a0_0x102ceb(0x1b5)](){const _0x26871c=a0_0x102ceb;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[_0x26871c(0x183)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil['getGristPersonalizedStyles']()];}static['getBasicMainTabStyles'](){const _0x1dff01=a0_0x102ceb;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[_0x1dff01(0x183)](),...MetaUiUtil[_0x1dff01(0x1d1)](),...MetaUiUtil[_0x1dff01(0x205)]()];}static[a0_0x102ceb(0x2b7)](_0x26ef1e){const _0x3bada1=a0_0x102ceb;return _0x3bada1(0x275)==_0x26ef1e?MetaUiUtil[_0x3bada1(0x246)]():MetaUiUtil[_0x3bada1(0x1e5)]();}static['getMasterDetailTopDownGristStyle'](){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_0x102ceb(0x28d)](){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['getCustomButtonContainerStyles']()];}static['getBasicTabStyles'](){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['isButtonExist'](_0x23859c,_0x55f1f4){const _0x5dcce6=a0_0x102ceb;return!!(_0x23859c?_0x23859c[_0x5dcce6(0x1db)](_0x2cbf48=>_0x2cbf48[_0x5dcce6(0x22d)]==_0x55f1f4):null);}static[a0_0x102ceb(0x175)](_0x2615c1,_0x5cfb8e){const _0x1beeda=a0_0x102ceb;return!!(_0x2615c1&&_0x2615c1['button']?_0x2615c1[_0x1beeda(0x2a2)]['find'](_0x10dfe8=>_0x10dfe8['name']==_0x5cfb8e):null);}static[a0_0x102ceb(0x254)](_0x163388){const _0x2ad6bb=a0_0x102ceb;let _0x596762='';return _0x163388[_0x2ad6bb(0x28c)](_0x34a453=>'gutter'!=_0x34a453[_0x2ad6bb(0x180)])['forEach'](_0x3f5b2a=>{const _0x347612=_0x2ad6bb;_0x596762+='\x0a',_0x596762+=_0x347612(0x1d2)==_0x3f5b2a[_0x347612(0x180)]||_0x347612(0x186)==_0x3f5b2a['type']?_0x3f5b2a[_0x347612(0x22d)]+'\x0a{'+MetaUiUtil[_0x347612(0x231)](_0x3f5b2a)+'}':'board'==_0x3f5b2a[_0x347612(0x180)]?_0x3f5b2a['name']+_0x347612(0x1c5):_0x3f5b2a[_0x347612(0x22d)];}),_0x596762;}static[a0_0x102ceb(0x231)](_0x2be0d8){const _0x22ff1c=a0_0x102ceb;let _0x22bec8='';return ValueUtil[_0x22ff1c(0x1dc)](_0x2be0d8[_0x22ff1c(0x2bf)][_0x22ff1c(0x257)])&&ValueUtil[_0x22ff1c(0x1dc)](_0x2be0d8['record'][_0x22ff1c(0x257)][_0x22ff1c(0x1b1)])&&_0x2be0d8[_0x22ff1c(0x2bf)][_0x22ff1c(0x257)][_0x22ff1c(0x1b1)][_0x22ff1c(0x184)](_0xceeb5e=>{const _0x38d26d=_0x22ff1c;_0xceeb5e[_0x38d26d(0x22d)]&&''!==_0xceeb5e['name']&&('object'===_0xceeb5e['type']||_0x38d26d(0x186)===_0xceeb5e[_0x38d26d(0x180)]?_0x22bec8+='\x0a'+_0xceeb5e['name']+'\x20{\x20'+MetaUiUtil[_0x38d26d(0x231)](_0xceeb5e)+_0x38d26d(0x2b4):_0x22bec8+='\x0a'+_0xceeb5e[_0x38d26d(0x22d)]);}),''==_0x22bec8&&(_0x22bec8+=_0x22ff1c(0x1d5)),_0x22bec8;}static['getBasicGristHtml'](_0xc688ca){const _0x139d91=a0_0x102ceb;let _0x347140=_0xc688ca[_0x139d91(0x255)];if(_0x347140){let _0x87795b=_0xc688ca[_0x139d91(0x270)]?_0xc688ca[_0x139d91(0x270)]:'ox-grist',_0x5680e0=_0xc688ca[_0x139d91(0x17e)];return html`
|
|
481
496
|
<ox-grist
|
|
482
|
-
id=${
|
|
483
|
-
.config=${
|
|
484
|
-
.mode=${
|
|
497
|
+
id=${_0x87795b}
|
|
498
|
+
.config=${_0x347140}
|
|
499
|
+
.mode=${_0x5680e0}
|
|
485
500
|
auto-fetch
|
|
486
|
-
.fetchHandler=${
|
|
487
|
-
${MetaUiUtil[
|
|
501
|
+
.fetchHandler=${_0xc688ca[_0x139d91(0x1ed)][_0x139d91(0x1b7)](_0xc688ca)}>
|
|
502
|
+
${MetaUiUtil[_0x139d91(0x2c0)](_0xc688ca)}
|
|
488
503
|
</ox-grist>
|
|
489
|
-
`;}return html``;}static['getBasicFormHtml'](
|
|
504
|
+
`;}return html``;}static['getBasicFormHtml'](_0x44b7ce){const _0x2a0fc5=a0_0x102ceb;if(!_0x44b7ce)return html``;if(!_0x44b7ce[_0x2a0fc5(0x229)])return html``;let _0x411b04=_0x44b7ce[_0x2a0fc5(0x229)],_0x51b58d=_0x44b7ce['record']||{},_0x25ab10=_0x411b04[_0x2a0fc5(0x28c)](_0x59f528=>0x0==_0x59f528['hidden']);return ValueUtil[_0x2a0fc5(0x24e)](_0x44b7ce[_0x2a0fc5(0x260)])?MetaUiUtil[_0x2a0fc5(0x245)](_0x44b7ce,_0x25ab10,_0x51b58d):MetaUiUtil[_0x2a0fc5(0x196)](_0x44b7ce,_0x25ab10,_0x51b58d);}static[a0_0x102ceb(0x196)](_0x2e953d,_0x19a378,_0x23dc7e){const _0x2ae7a5=a0_0x102ceb;let _0x47cf16=_0x2e953d['formRenderConfig'];return html`
|
|
490
505
|
<div class="root_container">
|
|
491
|
-
${
|
|
506
|
+
${_0x47cf16['map'](_0x5c29ce=>{const _0x3bdd1f=a0_0x2594;let _0x3ca732=_0x19a378[_0x3bdd1f(0x28c)](_0x4653e0=>_0x5c29ce[_0x3bdd1f(0x185)][_0x3bdd1f(0x24c)](_0x4653e0[_0x3bdd1f(0x22d)])),_0x3be493=_0x3bdd1f(0x25b);for(let _0x4b5422=0x0;_0x4b5422<_0x5c29ce['column'];_0x4b5422++)_0x3be493+=_0x3bdd1f(0x288);return _0x3be493+=';',html`
|
|
492
507
|
<h2>
|
|
493
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
508
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3bdd1f(0x225)](_0x5c29ce[_0x3bdd1f(0x17b)])}
|
|
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="${_0x3be493}">
|
|
511
|
+
${_0x3ca732[_0x3bdd1f(0x1e0)](_0x2b7435=>{const _0x1fd8c2=_0x3bdd1f;let {editable:_0x378d8a=!0x1,mandatory:_0x36c39b=!0x1}=_0x2b7435[_0x1fd8c2(0x2bf)],_0x3600d9=_0x23dc7e[_0x1fd8c2(0x22f)]||{};return html`
|
|
512
|
+
<label ?editable=${_0x378d8a}><span>${_0x36c39b?'*':''}${_0x2b7435[_0x1fd8c2(0x2a8)]}</span>
|
|
513
|
+
${_0x378d8a?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=${_0x2b7435}
|
|
518
|
+
.record=${_0x23dc7e}
|
|
519
|
+
.value=${_0x23dc7e[_0x2b7435[_0x1fd8c2(0x22d)]]}
|
|
520
|
+
?dirty=${!!_0x3600d9[_0x2b7435[_0x1fd8c2(0x22d)]]}
|
|
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
|
+
${_0x2e953d['isPage']?html``:MetaUiUtil[_0x2ae7a5(0x2a1)](_0x2e953d)}
|
|
527
|
+
`;}static[a0_0x102ceb(0x245)](_0x236ec3,_0x1d64ba,_0x16a526){const _0x4f0d96=a0_0x102ceb;let _0x238d27=_0x4f0d96(0x247);_0x236ec3[_0x4f0d96(0x182)]&&0x0!=_0x236ec3['column']||(_0x236ec3[_0x4f0d96(0x182)]=0x1),_0x236ec3[_0x4f0d96(0x182)]=parseInt((_0x236ec3[_0x4f0d96(0x25f)]||{})[_0x4f0d96(0x28e)]||_0x236ec3[_0x4f0d96(0x182)]);for(let _0x8f7e04=0x0;_0x8f7e04<_0x236ec3[_0x4f0d96(0x182)];_0x8f7e04++)_0x238d27+=_0x4f0d96(0x288);return _0x238d27+=';',html`
|
|
528
|
+
<div id="container" class="container" style="${_0x238d27}">
|
|
529
|
+
${_0x1d64ba[_0x4f0d96(0x1e0)](_0x93465b=>{const _0x32f0ef=_0x4f0d96;let {editable:_0x294865=!0x1,mandatory:_0x47fa00=!0x1}=_0x93465b[_0x32f0ef(0x2bf)],_0x307230=_0x16a526['__dirtyfields__']||{};return html`
|
|
530
|
+
<label ?editable=${_0x294865}><span>${_0x47fa00?'*':''}${_0x93465b[_0x32f0ef(0x2a8)]}</span>
|
|
531
|
+
${_0x294865?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=${_0x93465b}
|
|
536
|
+
.record=${_0x16a526}
|
|
537
|
+
.value=${_0x16a526[_0x93465b['name']]}
|
|
538
|
+
?dirty=${!!_0x307230[_0x93465b[_0x32f0ef(0x22d)]]}
|
|
524
539
|
></ox-grid-field>
|
|
525
540
|
`;})}
|
|
526
541
|
</div>
|
|
527
|
-
${
|
|
528
|
-
`;}static[
|
|
542
|
+
${_0x236ec3[_0x4f0d96(0x251)]?html``:MetaUiUtil[_0x4f0d96(0x2a1)](_0x236ec3)}
|
|
543
|
+
`;}static[a0_0x102ceb(0x1fc)](_0x1299fb){const _0x5c74cb=a0_0x102ceb;if(!_0x1299fb)return html``;if(!_0x1299fb[_0x5c74cb(0x194)])return html``;let _0x30ce87=_0x1299fb[_0x5c74cb(0x194)];return _0x1299fb['currentTabKey']||(_0x1299fb[_0x5c74cb(0x1a7)]=_0x30ce87[0x0]?.[_0x5c74cb(0x22d)]||void 0x0),html`
|
|
529
544
|
<div class="tabs">
|
|
530
|
-
${
|
|
531
|
-
<div class="tab" ?activate="${
|
|
532
|
-
${
|
|
533
|
-
<span>${
|
|
545
|
+
${_0x30ce87[_0x5c74cb(0x1e0)](_0x88ea63=>{const _0x16dfca=_0x5c74cb;let _0x138f06=TermsUtil[_0x16dfca(0x1a9)](_0x88ea63['display']),_0x1734e0=_0x88ea63[_0x16dfca(0x22d)];return html`
|
|
546
|
+
<div class="tab" ?activate="${_0x1734e0===_0x1299fb['currentTabKey']}" @click="${()=>_0x1299fb['currentTabKey']=_0x1734e0}">
|
|
547
|
+
${_0x88ea63[_0x16dfca(0x1ee)]?html`<mwc-icon>${_0x88ea63[_0x16dfca(0x1ee)]}</mwc-icon>`:html``}
|
|
548
|
+
<span>${_0x138f06}</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
|
+
${_0x30ce87['map'](_0x404630=>{const _0x31bf61=_0x5c74cb;let _0x69901b=_0x31bf61(0x29b);return _0x404630[_0x31bf61(0x22d)]==_0x1299fb[_0x31bf61(0x1a7)]&&(_0x69901b=_0x31bf61(0x1e8)),html`
|
|
554
|
+
<div class='tab-contents' style="${_0x69901b}">
|
|
555
|
+
${MetaUiUtil[_0x31bf61(0x293)](_0x1299fb,_0x404630)}
|
|
541
556
|
</div>
|
|
542
557
|
`;})}
|
|
543
558
|
</div>
|
|
544
|
-
`;}static[
|
|
545
|
-
${0x0==
|
|
559
|
+
`;}static[a0_0x102ceb(0x1c4)](_0x3be781){const _0x52af40=a0_0x102ceb;let _0x5e26f5=(_0x3be781[_0x52af40(0x25f)]||{})['master_detail_type']||_0x52af40(0x2b6),_0x235570=(_0x3be781[_0x52af40(0x25f)]||{})['master_detail_size']||'50%\x2050%',_0x4571cc='left_right'==_0x5e26f5?_0x52af40(0x247)+_0x235570+';':_0x52af40(0x18d)+_0x235570+';',_0x1e8620=_0x3be781[_0x52af40(0x251)]?UiUtil[_0x52af40(0x223)]():_0x3be781[_0x52af40(0x170)];return html`
|
|
560
|
+
${0x0==_0x3be781[_0x52af40(0x268)]?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=${_0x3be781['searchFields']||[]}
|
|
566
|
+
.value=${_0x3be781[_0x52af40(0x1a8)]||[]}
|
|
567
|
+
@filters-change=${_0x8de292=>{const _0x440eff=_0x52af40;_0x3be781[_0x440eff(0x1f6)]?.[_0x440eff(0x1d0)]();}}
|
|
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="${_0x4571cc}">
|
|
558
573
|
<div class="container_detail">
|
|
559
|
-
${MetaApi[
|
|
560
|
-
${MetaUiUtil[
|
|
574
|
+
${MetaApi[_0x52af40(0x23e)](_0x3be781)}
|
|
575
|
+
${MetaUiUtil['getButtonContainer'](_0x3be781)}
|
|
561
576
|
</div>
|
|
562
577
|
<div class="container_detail">
|
|
563
|
-
${!0x0===
|
|
578
|
+
${!0x0===_0x3be781[_0x52af40(0x281)]?html`${!0x0===_0x3be781[_0x52af40(0x235)]?html`<meta-tab-element
|
|
564
579
|
id="detail"
|
|
565
|
-
route_name="${
|
|
566
|
-
.activityDataSet=${(
|
|
580
|
+
route_name="${_0x1e8620}"
|
|
581
|
+
.activityDataSet=${(_0x3be781['activityDataSet']||{})['detail']}
|
|
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="${_0x1e8620}"
|
|
588
|
+
.activityDataSet=${(_0x3be781[_0x52af40(0x241)]||{})['detail']}
|
|
574
589
|
is_activity=true
|
|
575
590
|
is_detail=true>
|
|
576
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
591
|
+
</meta-tab-element>`}`:html`${!0x0===_0x3be781[_0x52af40(0x235)]?html`<meta-tab-element id="detail" route_name="${_0x1e8620}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x1e8620}" is_detail=true></meta-tab-element>`}`}
|
|
577
592
|
</div>
|
|
578
593
|
</div>
|
|
579
|
-
`;}static[
|
|
580
|
-
${0x0==
|
|
594
|
+
`;}static['getTabDetailHtml'](_0x3be671){const _0x2ab388=a0_0x102ceb;let _0x279bc7=_0x3be671['etcConfig'][_0x2ab388(0x26a)]||'top_bottom',_0x4dddba=_0x3be671[_0x2ab388(0x25f)]['master_detail_size']||'50%\x2050%',_0x24ac18=_0x3be671[_0x2ab388(0x25f)][_0x2ab388(0x269)],_0x29826b=JSON[_0x2ab388(0x187)](_0x24ac18||'{}'),_0x582d15=_0x2ab388(0x28b)==_0x279bc7?_0x2ab388(0x247)+_0x4dddba+';':_0x2ab388(0x18d)+_0x4dddba+';';return MetaUiUtil[_0x2ab388(0x242)](_0x3be671),MetaUiUtil[_0x2ab388(0x21d)](_0x3be671,_0x29826b),html`
|
|
595
|
+
${0x0==_0x3be671[_0x2ab388(0x268)]?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=${_0x3be671['searchFields']||[]}
|
|
601
|
+
.value=${_0x3be671['searchFieldValues']||[]}
|
|
602
|
+
@filters-change=${_0x3fa1ea=>{_0x3be671['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="${_0x582d15}">
|
|
593
608
|
<div class="container_detail">
|
|
594
|
-
${
|
|
609
|
+
${_0x3be671[_0x2ab388(0x1c3)]}
|
|
595
610
|
</div>
|
|
596
611
|
<div class="container_detail">
|
|
597
|
-
${''==
|
|
598
|
-
${
|
|
612
|
+
${''==_0x29826b['tagname']||_0x2ab388(0x266)==_0x29826b[_0x2ab388(0x1b9)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2ab388(0x225)](''+_0x29826b[_0x2ab388(0x17b)])}</h2>`}
|
|
613
|
+
${_0x3be671[_0x2ab388(0x203)]}
|
|
599
614
|
</div>
|
|
600
615
|
</div>
|
|
601
|
-
`;}static[
|
|
602
|
-
${0x0==
|
|
616
|
+
`;}static['getMainTabHtml'](_0x212e6e){const _0xc788ad=a0_0x102ceb;return MetaUiUtil[_0xc788ad(0x242)](_0x212e6e),html`
|
|
617
|
+
${0x0==_0x212e6e[_0xc788ad(0x268)]?html``:html`
|
|
618
|
+
<div slot="headroom">
|
|
619
|
+
<div id="filters">
|
|
620
|
+
<ox-filters-form-base
|
|
621
|
+
id='ox-filters-form'
|
|
622
|
+
.filters=${_0x212e6e['searchFields']||[]}
|
|
623
|
+
.value=${_0x212e6e[_0xc788ad(0x1a8)]||[]}
|
|
624
|
+
@filters-change=${_0x289c42=>{const _0x4ed54f=_0xc788ad;_0x212e6e[_0x4ed54f(0x1d0)]();}}
|
|
625
|
+
></ox-filters-form-base>
|
|
626
|
+
</div>
|
|
627
|
+
</div>
|
|
628
|
+
`}
|
|
629
|
+
<div id="container" class="container" >
|
|
630
|
+
${_0x212e6e[_0xc788ad(0x1c3)]}
|
|
631
|
+
</div>
|
|
632
|
+
`;}static[a0_0x102ceb(0x285)](_0x4109d1){const _0x35daa8=a0_0x102ceb;let _0x1a33b9=_0x4109d1['etcConfig']['master_detail_type']||_0x35daa8(0x2b6),_0x16d773=_0x4109d1[_0x35daa8(0x25f)]['master_detail_size']||_0x35daa8(0x20d),_0x143d59=_0x4109d1[_0x35daa8(0x25f)]['master_detail_element'],_0x17343d=JSON['parse'](_0x143d59||'{}'),_0x1a070e=_0x35daa8(0x28b)==_0x1a33b9?'grid-template-columns:'+_0x16d773+';':_0x35daa8(0x18d)+_0x16d773+';';return MetaUiUtil[_0x35daa8(0x21d)](_0x4109d1,_0x17343d),html`
|
|
633
|
+
${0x0==_0x4109d1[_0x35daa8(0x268)]?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=${_0x4109d1[_0x35daa8(0x294)]||[]}
|
|
639
|
+
.value=${_0x4109d1['searchFieldValues']||[]}
|
|
640
|
+
@filters-change=${_0xb06bc2=>{const _0x3d0055=_0x35daa8;_0x4109d1[_0x3d0055(0x1f6)]?.['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="${_0x1a070e}">
|
|
615
646
|
<div class="container_detail">
|
|
616
|
-
${MetaApi[
|
|
617
|
-
${MetaUiUtil[
|
|
647
|
+
${MetaApi[_0x35daa8(0x23e)](_0x4109d1)}
|
|
648
|
+
${MetaUiUtil[_0x35daa8(0x2a1)](_0x4109d1)}
|
|
618
649
|
</div>
|
|
619
650
|
<div class="container_detail">
|
|
620
|
-
${''==
|
|
621
|
-
${
|
|
651
|
+
${''==_0x17343d[_0x35daa8(0x1b9)]||_0x35daa8(0x266)==_0x17343d['tagname']?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x35daa8(0x225)](''+_0x17343d[_0x35daa8(0x17b)])}</h2>`}
|
|
652
|
+
${_0x4109d1[_0x35daa8(0x203)]}
|
|
622
653
|
</div>
|
|
623
654
|
</div>
|
|
624
|
-
`;}static[
|
|
655
|
+
`;}static[a0_0x102ceb(0x21d)](_0x6e6f9e,_0x52a360){const _0x429674=a0_0x102ceb;if(!_0x6e6f9e[_0x429674(0x203)]){let _0x57c7e2=_0x52a360[_0x429674(0x22d)]?_0x52a360[_0x429674(0x22d)]:_0x429674(0x1fb),_0x2addc2='<'+_0x52a360[_0x429674(0x1b9)]+'\x20id=\x22'+_0x57c7e2+_0x429674(0x20e)+_0x57c7e2+'\x22\x20route_name=\x22'+_0x52a360[_0x429674(0x1c8)]+'\x22\x20'+(!0x0===_0x6e6f9e[_0x429674(0x281)]?_0x429674(0x172):'')+'\x20'+(!0x0===_0x6e6f9e['is_readonly']?_0x429674(0x1bb):'')+'\x20is_detail=true\x20style=\x22flex:1;\x22></'+_0x52a360[_0x429674(0x1b9)]+'>';_0x6e6f9e['detailElement']=UiUtil[_0x429674(0x23c)](_0x2addc2),_0x6e6f9e[_0x429674(0x203)]['activityDataSet']=(_0x6e6f9e[_0x429674(0x241)]||{})[_0x429674(0x1fb)],_0x6e6f9e[_0x429674(0x20a)]['toLowerCase']()['startsWith']('meta-tab-detail-')&&(_0x6e6f9e[_0x429674(0x203)]['rootElement']=_0x6e6f9e);}}static[a0_0x102ceb(0x242)](_0x4a2a7e){const _0x38b4f4=a0_0x102ceb;if(!_0x4a2a7e[_0x38b4f4(0x1c3)]&&_0x4a2a7e[_0x38b4f4(0x28f)]){let _0x299904='master',_0xf41ba7='<meta-tab-element\x20id=\x22'+_0x299904+'\x22\x20name=\x22'+_0x299904+_0x38b4f4(0x271)+_0x4a2a7e[_0x38b4f4(0x223)]+'\x22\x20'+(!0x0===_0x4a2a7e['is_activity']?_0x38b4f4(0x172):'')+'\x20'+(!0x0===_0x4a2a7e[_0x38b4f4(0x235)]?'is_readonly=true':'')+_0x38b4f4(0x1f2);_0x4a2a7e['masterElement']=UiUtil[_0x38b4f4(0x23c)](_0xf41ba7),_0x4a2a7e['masterElement'][_0x38b4f4(0x241)]=(_0x4a2a7e[_0x38b4f4(0x241)]||{})[_0x38b4f4(0x1e7)],_0x4a2a7e[_0x38b4f4(0x1c3)]['includeMainList']=!0x0,_0x4a2a7e[_0x38b4f4(0x1c3)][_0x38b4f4(0x1b3)]=_0x4a2a7e[_0x38b4f4(0x28f)],_0x4a2a7e[_0x38b4f4(0x1c3)]['rootElement']=_0x4a2a7e;}}static[a0_0x102ceb(0x293)](_0x21a416,_0x11ef84){const _0x213790=a0_0x102ceb;if(_0x21a416[_0x213790(0x236)]||(_0x21a416[_0x213790(0x236)]={}),Object[_0x213790(0x230)](_0x21a416[_0x213790(0x236)])[_0x213790(0x28c)](_0x240019=>_0x240019==_0x11ef84[_0x213790(0x22d)])[_0x213790(0x1a6)]>0x0)return _0x21a416[_0x213790(0x236)][_0x11ef84[_0x213790(0x22d)]];let _0x1e64e4='<'+_0x11ef84[_0x213790(0x1b9)]+_0x213790(0x216)+_0x11ef84[_0x213790(0x22d)]+'\x27\x20route_name=\x27'+_0x11ef84['menu']+_0x213790(0x238)+(!0x0===_0x21a416[_0x213790(0x281)]?'is_activity=true':'')+'\x20'+(!0x0===_0x21a416['is_readonly']?_0x213790(0x1bb):'')+_0x213790(0x201)+_0x11ef84[_0x213790(0x1b9)]+'>',_0x4f274e=UiUtil[_0x213790(0x23c)](_0x1e64e4);return _0x4f274e['activityDataSet']=(_0x21a416['activityDataSet']||{})[_0x11ef84[_0x213790(0x22d)]],_0x21a416[_0x213790(0x23b)]&&(_0x4f274e[_0x213790(0x23b)]=_0x21a416[_0x213790(0x23b)]),_0x21a416['rootElement']?_0x4f274e['rootElement']=_0x21a416[_0x213790(0x1ae)]:_0x4f274e[_0x213790(0x203)]=_0x21a416,!0x1===_0x11ef84[_0x213790(0x211)]&&(_0x4f274e[_0x213790(0x1a1)]=!0x1),_0x11ef84['main_filter_form']&&(_0x4f274e[_0x213790(0x1b3)]=_0x11ef84[_0x213790(0x1d4)]),_0x21a416[_0x213790(0x236)][_0x11ef84[_0x213790(0x22d)]]=_0x4f274e,_0x4f274e;}static[a0_0x102ceb(0x2c0)](_0x216a88){const _0x1bf6c7=a0_0x102ceb;let _0x23f9f7=_0x216a88[_0x1bf6c7(0x29f)],_0x1522be=_0x216a88[_0x1bf6c7(0x26e)],_0x14650e=_0x216a88['recordCreationCallback'],_0x2c4659=JSON['parse']((_0x216a88[_0x1bf6c7(0x25f)]||{})['use_grid_sort_button']||_0x1bf6c7(0x2bb));return 0x0==_0x1522be?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[_0x1bf6c7(0x1c6)](_0x216a88)}
|
|
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
|
+
${_0x2c4659?html`
|
|
633
664
|
<div id="sorters">
|
|
634
|
-
<mwc-icon @click=${
|
|
665
|
+
<mwc-icon @click=${_0xba7f70=>{const _0x47adba=_0x1bf6c7,_0x5e340c=_0xba7f70[_0x47adba(0x286)];_0x5e340c[_0x47adba(0x1c2)][_0x47adba(0x1dd)]({'right':0x0,'top':_0x5e340c[_0x47adba(0x29d)]+_0x5e340c[_0x47adba(0x1f7)]});}}
|
|
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['getGridViewOption'](_0x216a88)}
|
|
642
673
|
<ox-record-creator
|
|
643
674
|
id="add"
|
|
644
|
-
?hidden="${!
|
|
645
|
-
.callback=${
|
|
675
|
+
?hidden="${!_0x23f9f7}"
|
|
676
|
+
.callback=${_0x14650e}>
|
|
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[_0x1bf6c7(0x1c6)](_0x216a88)}
|
|
652
683
|
</div>
|
|
653
|
-
`;}static[
|
|
684
|
+
`;}static[a0_0x102ceb(0x1c6)](_0x3b3257){const _0x202418=a0_0x102ceb;return _0x202418(0x207)!=_0x3b3257['gridMode']?html``:!0x0!==_0x3b3257[_0x202418(0x281)]?html`
|
|
654
685
|
<div id="grist-personal">
|
|
655
|
-
<mwc-icon @click=${
|
|
686
|
+
<mwc-icon @click=${_0xa885d9=>{const _0x1d2af0=_0x202418;let _0x319d32=MetaApi[_0x1d2af0(0x283)](_0x1d2af0(0x1c1),'personal-column-selector');_0x319d32[_0x1d2af0(0x2a0)]=_0xa885d9[_0x1d2af0(0x286)][_0x1d2af0(0x21a)]['parentElement']['parentElement'],_0x319d32[_0x1d2af0(0x1cf)]=_0x3b3257[_0x1d2af0(0x1cf)],MetaApi[_0x1d2af0(0x195)](TermsUtil[_0x1d2af0(0x225)]('grid-column-personalize'),_0x1d2af0(0x23a),_0x319d32,!0x1);}}
|
|
656
687
|
>tune</mwc-icon>
|
|
657
688
|
</div>
|
|
658
|
-
`:html``;}static['getGridViewOption'](
|
|
689
|
+
`:html``;}static['getGridViewOption'](_0x1adef7){const _0xb99fc1=a0_0x102ceb;return ValueUtil[_0xb99fc1(0x24e)](_0x1adef7[_0xb99fc1(0x1d8)])||0x1==_0x1adef7['gridViewOptions']['length']?html``:html`
|
|
659
690
|
<div id="modes">
|
|
660
|
-
${
|
|
661
|
-
${
|
|
662
|
-
${
|
|
691
|
+
${_0x1adef7[_0xb99fc1(0x1d8)][_0xb99fc1(0x24c)](_0xb99fc1(0x207))?html`<mwc-icon @click="${()=>_0x1adef7['gridMode']=_0xb99fc1(0x207)}" ?active="${_0xb99fc1(0x207)==_0x1adef7[_0xb99fc1(0x17e)]}">grid_on</mwc-icon>`:''}
|
|
692
|
+
${_0x1adef7[_0xb99fc1(0x1d8)][_0xb99fc1(0x24c)](_0xb99fc1(0x1df))?html`<mwc-icon @click="${()=>_0x1adef7['gridMode']=_0xb99fc1(0x1df)}" ?active="${_0xb99fc1(0x1df)==_0x1adef7[_0xb99fc1(0x17e)]}">format_list_bulleted</mwc-icon>`:''}
|
|
693
|
+
${_0x1adef7[_0xb99fc1(0x1d8)][_0xb99fc1(0x24c)]('CARD')?html`<mwc-icon @click="${()=>_0x1adef7[_0xb99fc1(0x17e)]=_0xb99fc1(0x27f)}" ?active="${_0xb99fc1(0x27f)==_0x1adef7[_0xb99fc1(0x17e)]}">apps</mwc-icon>`:''}
|
|
663
694
|
</div>
|
|
664
|
-
`;}static[
|
|
695
|
+
`;}static[a0_0x102ceb(0x2a1)](_0x240130){const _0x215a5a=a0_0x102ceb;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x215a5a(0x1a3)](_0x240130)}</div>`;}}
|