@things-factory/meta-ui 6.0.109 → 6.0.110
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/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +3 -3
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-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 +27 -27
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +5 -5
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-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/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 +96 -93
- package/client/utils/service-util.js +12 -12
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3b1615=a0_0x4394;(function(_0x54ce51,_0x5ab78f){const _0x1ef207=a0_0x4394,_0x2a49ce=_0x54ce51();while(!![]){try{const _0x1b5d53=-parseInt(_0x1ef207(0x195))/0x1+parseInt(_0x1ef207(0x179))/0x2*(-parseInt(_0x1ef207(0x1d7))/0x3)+parseInt(_0x1ef207(0x12b))/0x4+parseInt(_0x1ef207(0x182))/0x5+-parseInt(_0x1ef207(0xf0))/0x6+parseInt(_0x1ef207(0x1e8))/0x7*(-parseInt(_0x1ef207(0xf6))/0x8)+-parseInt(_0x1ef207(0x1b3))/0x9*(-parseInt(_0x1ef207(0x219))/0xa);if(_0x1b5d53===_0x5ab78f)break;else _0x2a49ce['push'](_0x2a49ce['shift']());}catch(_0xa9cbbb){_0x2a49ce['push'](_0x2a49ce['shift']());}}}(a0_0x31b9,0xbb787));import a0_0x5345d7 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x46ba08 from'moment-timezone';import{css,html}from'lit';function a0_0x4394(_0x10b752,_0x5ade79){const _0x31b959=a0_0x31b9();return a0_0x4394=function(_0x439469,_0x4d5af5){_0x439469=_0x439469-0xe0;let _0x322f1a=_0x31b959[_0x439469];return _0x322f1a;},a0_0x4394(_0x10b752,_0x5ade79);}import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';function a0_0x31b9(){const _0x55ba21=['add','getBasicMasterDetailStyles','getGristSearchCodeColumnConfig','sequence','board','exportable','findOne','findMenuGridPersnalTemplate','dispatchEvent','raised','detailElement','grist_all','compareObjectValues','row-selector','grist','list','getGristGuttersConfig','title_detail','getGristPaginationCustomConfig','findMenuMetaByRouting','getGristPersonalizedStyles','routing','createMasterElement','pages/meta-form-element.js','<mwc-button\x20label=\x22','createDetailElement','data','grist_changed','\x20id=\x27','tagname','getGristSelectorColumnConfig','display','personal-column-selector','menuId','dense','getParams','parent_id','gristButtonPassParam','currentTabKey','showAlertPopup','gridMode','mainFilterForm','meta-master-detail-','logic','left','after','value_is_not_exist','querySelector','import','keys','5014952zyytAU','gridMobileMode','includes','\x20{\x20','push','currentRouting','grist_selected','service','filters','errors','is_activity=true','find_one_func','config','setParentId','getBasicGristHtml','master_detail_size','resource-object','location','masterElement','etcConfig','column','htmlToElement','title.info','indexOf','top-down','floor','column_list','form','text.button_bind_func_is_not_exist','fetchHandler','tButton','label','grid-template-columns:','offsetHeight','\x22\x20name=\x22','confirm','tText','startsWith','<meta-tab-element\x20id=\x22','createCustomElement','subtract','openDynamicPopup','toLowerCase','height:auto;grid-template-columns:','param_field','getGridColumnSet','header_txt','use_filter_form','grist_one','display:none','name','CARD','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','getBasicTabStyles','entity','useFilterForm','history-copy-list-popup','width','param','getGristEmphasizedStyles','route_name','useButtonExport','dec','text.there_is_no_selected_items','top_bottom','meta-grist-tab-','args','useButtonAdd','isNotEmpty','history_json','format','commonButtonCallScenario','records','today','rootElement','replace','grid-template-rows:','self','12182GqpdxR','text.search_form_is_not_exist','findMenuMeta','basic','meta-form-element','grid_column','main_filter_form','getCustomButtonContainerStyles','\x27\x20style=\x22flex:1;\x22\x20','6389750Kaeqsx','importable','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','popup','export','url','nextElementSibling','getButtonActionHandler','getCodeSelectorData','getGridOptionSet','is_activity','pages/hgistory/history-copy-list-popup.js','imex','isEmpty','\x27\x20route_name=\x27','button','getMasterDetailTopDownGristStyle','getMasterDetailHtml','midium','421501LwjgFg','getObjctColumnSelectFields','activityDataSet','open_param','getBasicFormHtmlNoOption','data_history_list','YYYY-MM-DD','value','find','menu','LIST','getCodeByScenario','isGridButtonExist','onclick','getMasterDetailLeftRightGristStyle','GRID','getGridViewOption','editable','ox-grist','tabElements','\x20\x0a\x20}','isMobileEnv','getGridButtonSet','meta-tab-element','hidden','display:flex','use_grid_sort_button','is_readonly','searchFields','buttonConfig','45otfGgJ','parent_field','icon','patchesForUpdateMultiple','tagName','relation','desc','gristButtonValueReference','value_reference','grid-column-personalize','\x20is_detail=true\x20style=\x22flex:1;\x22></','\x22\x20route_name=\x22','row','filter_from','formRenderConfig','template','getGristColumnConfig2','searchConfig','tLabel','fetch','customButtonHandler','pages','grid','tTitle','getMenuMeta','handlers','runnerPermission','info','parentElement','getCodeByEntity','history-json-list-popup','pass_param','__dirtyfields__','gristConfigSet','createButtonElement','tMenu','696cxelHq','options','menus','getGristSearchColumnConfig','search','gridColumnConfig','filterForm','detail','result_name','gristId','title','sorters','gridDeskMode','useButtonImport','getContextObject','outlined','master_detail_element','39991afPeHL','getGridDetailHtml','meta-tab-','useMasterFilterForm','getGristCodeSelectorColumnConfig','length','emphasis','getBasicTabDetailStyles','map','stringify','error','isArray','getBasicTabHtml','getGristSelectableConfig','getContainerButtons','getContextButtons','rank','query','tabRenderConfig','selected','getSelectColumns','page','bind','option','left_right','gridConfig','assign','formColumnConfig','gridViewOptions','getState','string','split','getBasicFormHtmlOnOption','pageNavigate','gristButtonHandler','parse','object','\x201fr\x202fr','getBasicGristPageProperties','is_readonly=true','shadowRoot','getButtonContainer','getGridRowSet','multiple','type','notify','\x20is_detail=true></','forEach','menuInfo','4963390aIINcl','50%\x2050%','select','danger','getBasicTabContent','getGridListSet','getGristColumnConfig','dirty','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','gqlInfo','filter','isPage','master_detail_type','getGridColumnPersonalizeButton','basicArgs','searchFieldValues','currentTarget','pages/hgistory/history-json-list-popup.js','day','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','includeMainList','false','runScenario','commonButtonOpenPopup','title.warning','tError','header','infinityPage','gutter','history_copy','6615684wKimhu','model','pass_field','record','setGridColumnSearchOption','master','1832ysiYso','id,template','getBasicFormHtml'];a0_0x31b9=function(){return _0x55ba21;};return a0_0x31b9();}import{ServiceUtil}from'./service-util';import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';import'./../pages/history/history-json-list-popup';export class MetaUiUtil{static async[a0_0x3b1615(0x17b)](_0x40fad6){const _0x473a84=a0_0x3b1615;let _0x34c687=await ServiceUtil[_0x473a84(0xff)]('menu',_0x40fad6,_0x473a84(0x1c2));if(!_0x34c687)throw new Error(TermsUtil['tText'](_0x473a84(0x127),{'value':TermsUtil[_0x473a84(0x1d6)](_0x473a84(0x19e))+'\x20'+_0x40fad6}));if(!_0x34c687[_0x473a84(0x1c2)])throw new Error(TermsUtil[_0x473a84(0x14f)](_0x473a84(0x127),{'value':TermsUtil[_0x473a84(0x1d6)](_0x473a84(0x19e))+'\x20'+TermsUtil['tLabel'](_0x473a84(0xf1))}));return this['menuId']=_0x40fad6,JSON[_0x473a84(0x20b)](_0x34c687[_0x473a84(0x1c2)]);}static async['findMenuMetaByRouting'](_0x22c3dc){const _0x5b6eee=a0_0x3b1615;if((await client['query']({'query':a0_0x5345d7`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))[_0x457431(0x299)])return;let _0x4aa24d=[{'name':_0x457431(0x2c4),'operator':'eq','value':_0xafc2af}],_0x3de029=await ServiceUtil[_0x457431(0x203)](_0x457431(0x2c5),_0x4aa24d,null,0x0,0x0,_0x457431(0x1bd));if(_0x3de029||0x0!=_0x3de029[_0x457431(0x251)]){let _0x24fd20=_0x3de029[_0x457431(0x26d)][0x0];if(!_0x24fd20[_0x457431(0x274)])throw new Error(TermsUtil[_0x457431(0x282)](_0x457431(0x227),{'value':TermsUtil[_0x457431(0x2bb)](_0x457431(0x20f))+'\x20'+TermsUtil[_0x457431(0x26f)](_0x457431(0x2b0))}));return this[_0x457431(0x216)]=_0x24fd20['id'],JSON[_0x457431(0x2e2)](MetaCrypto[_0x457431(0x2b8)](_0x24fd20[_0x457431(0x274)]));}throw new Error(TermsUtil[_0x457431(0x282)]('value_is_not_exist',{'value':TermsUtil[_0x457431(0x2bb)](_0x457431(0x20f))+'\x20'+_0xafc2af}));}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':_0x2dbe6e=>Boolean(_0x2dbe6e)},'is_popup':{'type':Boolean,'converter':_0x40ef40=>Boolean(_0x40ef40)},'is_activity':{'type':Boolean,'converter':_0xadf485=>Boolean(_0xadf485)},'is_readonly':{'type':Boolean,'converter':_0x263a06=>Boolean(_0x263a06)}};}static async[a0_0xec59e1(0x1de)](_0x4155e6){const _0x4415e0=a0_0xec59e1;if(0x0==store[_0x4415e0(0x1f6)]()[_0x4415e0(0x1e8)][_0x4415e0(0x28a)])return void document[_0x4415e0(0x249)](new CustomEvent(_0x4415e0(0x242),{'detail':{'level':_0x4415e0(0x1f9),'message':TermsUtil['tError']('invalid\x20license\x20key')}}));let _0x411519=_0x4155e6['isPage']?UiUtil['currentRouting']():_0x4155e6['route_name'];_0x4155e6[_0x4415e0(0x1d9)]=_0x411519;let _0x5664cf=await MetaUiUtil[_0x4415e0(0x28e)](_0x411519);return!0x0===_0x4155e6[_0x4415e0(0x255)]&&(_0x5664cf[_0x4415e0(0x2ee)][_0x4415e0(0x25c)]['use_row_checker']=!0x1,_0x5664cf['grid'][_0x4415e0(0x25c)][_0x4415e0(0x1cc)]=_0x4415e0(0x28d),_0x5664cf[_0x4415e0(0x2ee)][_0x4415e0(0x234)]=!0x1,_0x5664cf[_0x4415e0(0x2ee)][_0x4415e0(0x214)]=[],_0x5664cf['button']=_0x5664cf[_0x4415e0(0x214)][_0x4415e0(0x2e0)](_0x236132=>_0x4415e0(0x1dd)==_0x236132[_0x4415e0(0x2e1)])),!0x0===_0x4155e6[_0x4415e0(0x1ec)]&&(_0x5664cf[_0x4415e0(0x1f7)]['forEach'](_0x27b279=>{const _0x5e5bc0=_0x4415e0;_0x27b279[_0x5e5bc0(0x248)]=!0x1;}),_0x5664cf[_0x4415e0(0x214)]=_0x5664cf['button'][_0x4415e0(0x2e0)](_0x57a2ee=>_0x4415e0(0x1dd)!=_0x57a2ee[_0x4415e0(0x2e1)])),!0x1===_0x4155e6[_0x4415e0(0x234)]&&(_0x5664cf[_0x4415e0(0x2ee)][_0x4415e0(0x234)]=!0x1),_0x5664cf;}static[a0_0xec59e1(0x22f)](..._0x3ca42c){return{'pages':_0x3ca42c};}static[a0_0xec59e1(0x262)](_0x442ce2,_0x4559a6){const _0x4e0aa7=a0_0xec59e1;let _0x52f4e6=[{'type':_0x4e0aa7(0x254),'gutterName':_0x4e0aa7(0x2a9)},{'type':_0x4e0aa7(0x254),'gutterName':_0x4e0aa7(0x211)}];return _0x442ce2&&_0x52f4e6[_0x4e0aa7(0x1ba)]({'type':_0x4e0aa7(0x254),'gutterName':'row-selector','multiple':_0x4559a6}),_0x52f4e6;}static[a0_0xec59e1(0x263)](_0x1ad834){return{'selectable':{'multiple':_0x1ad834}};}static async['parseGridConfigSet'](_0x5f51d6){const _0x58ec10=a0_0xec59e1;let _0x284366=MetaUiUtil[_0x58ec10(0x2b6)](_0x5f51d6),_0x1760e3=MetaUiUtil[_0x58ec10(0x24f)](_0x5f51d6),_0x85eeaf=MetaUiUtil[_0x58ec10(0x1c7)](_0x5f51d6),_0x513060=MetaUiUtil[_0x58ec10(0x241)](_0x5f51d6),_0x2de87a=await MetaUiUtil[_0x58ec10(0x1b5)](_0x5f51d6),_0x42cbbc=MetaUiUtil[_0x58ec10(0x262)](_0x284366[_0x58ec10(0x1d2)],_0x85eeaf[_0x58ec10(0x233)]['multiple']);return 0x1==_0x5f51d6['useFilterForm']&&(_0x2de87a=MetaUiUtil[_0x58ec10(0x1cb)](_0x5f51d6,_0x2de87a)),{'list':_0x1760e3,'pagination':_0x284366[_0x58ec10(0x1cc)],'sorters':_0x284366[_0x58ec10(0x2d8)],'rows':_0x85eeaf,'columns':[..._0x42cbbc,..._0x513060,..._0x2de87a]};}static async[a0_0xec59e1(0x1b7)](_0x3a059d){const _0x591628=a0_0xec59e1;let _0x14ab14=_0x3a059d[_0x591628(0x205)],_0x5cf7c8=[];for(let _0x29fcc4=0x0;_0x29fcc4<_0x14ab14[_0x591628(0x251)];_0x29fcc4++){let {type:_0x345c07=_0x591628(0x2ae),name:_0x479c24,header:_0x43f2ec,hidden:_0x3d47e0=!0x1,editable:_0x582ac3=!0x0,mandatory:_0x50bab8=!0x1,align:_0x58477b=_0x591628(0x273),select_opt:_0x44c6a2,object_opt:_0x365a22}=_0x14ab14[_0x29fcc4],_0xbc3650={'type':_0x345c07,'name':_0x479c24,'header_txt':ValueUtil[_0x591628(0x292)](_0x43f2ec)?TermsUtil[_0x591628(0x26f)](_0x479c24):TermsUtil[_0x591628(0x26f)](_0x43f2ec),'header':{'renderer':function(_0x90bbc1){const _0x2749cb=_0x591628;return _0x90bbc1[_0x2749cb(0x2c8)];}},'hidden':_0x3d47e0,'record':{'editable':_0x582ac3,'mandatory':_0x50bab8,'align':_0x58477b,'classifier':function(){},'renderer':getRenderer(_0x345c07)}};_0x582ac3&&(_0xbc3650[_0x591628(0x269)][_0x591628(0x239)]=getEditor(_0x345c07)),_0x591628(0x297)===_0x345c07&&ValueUtil[_0x591628(0x272)](_0x44c6a2)&&(Array[_0x591628(0x1bf)](_0x44c6a2)?_0xbc3650[_0x591628(0x269)][_0x591628(0x1e2)]=_0x44c6a2:'code'===_0x44c6a2[_0x591628(0x244)]?_0xbc3650['record'][_0x591628(0x1e2)]=await ServiceUtil[_0x591628(0x270)](_0x44c6a2[_0x591628(0x2e1)]):_0x591628(0x2ea)===_0x44c6a2[_0x591628(0x244)]?_0xbc3650[_0x591628(0x269)][_0x591628(0x1e2)]=await ServiceUtil[_0x591628(0x2a8)](_0x44c6a2[_0x591628(0x2e1)],_0x44c6a2[_0x591628(0x27e)]):_0x591628(0x2a4)===_0x44c6a2[_0x591628(0x244)]&&(_0xbc3650[_0x591628(0x269)]['options']=await ServiceUtil[_0x591628(0x260)](_0x44c6a2[_0x591628(0x27e)]))),_0x591628(0x24b)!==_0x345c07&&_0x591628(0x245)!==_0x345c07||!ValueUtil['isNotEmpty'](_0x365a22)||(_0xbc3650[_0x591628(0x269)][_0x591628(0x1e2)]=_0x365a22),_0x5cf7c8[_0x591628(0x1ba)](_0xbc3650);}return _0x5cf7c8;}static[a0_0xec59e1(0x2b6)](_0x189cd5){const _0x49a1f0=a0_0xec59e1;let _0x356607=_0x189cd5[_0x49a1f0(0x1e1)];_0x189cd5[_0x49a1f0(0x2ad)]=!_0x356607||null==_0x356607['use_filter_form']||_0x356607[_0x49a1f0(0x234)];let {mobile_mode:_0x4a55c0='LIST',desk_mode:_0x42de39=_0x49a1f0(0x279),view_mode:_0x5dd569=[],use_row_checker:_0x2b8b35=!0x0,sorters:_0x21732a=[],pages:_0x35a599=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x49a1f0(0x292)](_0x356607[_0x49a1f0(0x25c)])?{}:_0x356607[_0x49a1f0(0x25c)];return _0x49a1f0(0x28d)===_0x35a599||'-1'===_0x35a599?(_0x189cd5[_0x49a1f0(0x23d)]=!0x0,_0x35a599={'infinite':!0x0}):(_0x189cd5['infinityPage']=!0x1,_0x35a599[_0x49a1f0(0x1d1)](function(_0x176a13,_0x2d2444){return _0x176a13-_0x2d2444;}),_0x35a599={'pages':_0x35a599}),ValueUtil['isNotEmpty'](_0x5dd569)&&(0x1==_0x5dd569[_0x49a1f0(0x251)]?(_0x42de39=_0x5dd569[0x0],_0x4a55c0=_0x5dd569[0x0]):_0x5dd569['length']>=0x2&&(_0x5dd569[_0x49a1f0(0x286)](_0x4a55c0)||(_0x4a55c0=_0x5dd569[0x1]),_0x5dd569[_0x49a1f0(0x286)](_0x42de39)||(_0x42de39=_0x5dd569[0x0]))),_0x189cd5[_0x49a1f0(0x2af)]=_0x4a55c0,_0x189cd5[_0x49a1f0(0x278)]=_0x42de39,_0x189cd5[_0x49a1f0(0x2ec)]=_0x5dd569,_0x189cd5[_0x49a1f0(0x2c2)]=UiUtil[_0x49a1f0(0x246)]()?_0x189cd5[_0x49a1f0(0x2af)]:_0x189cd5[_0x49a1f0(0x278)],{'use_row_checker':_0x2b8b35,'sorters':_0x21732a,'pages':_0x35a599};}static[a0_0xec59e1(0x24f)](_0x6493ea){const _0x2b8707=a0_0xec59e1;let _0x2564c1={'fields':[ValueUtil[_0x2b8707(0x28c)](_0x6493ea['menuInfo'],_0x2b8707(0x2e1)),ValueUtil[_0x2b8707(0x28c)](_0x6493ea['menuInfo'],_0x2b8707(0x291))]};return _0x6493ea[_0x2b8707(0x1e1)][_0x2b8707(0x1cf)]&&Object[_0x2b8707(0x2bf)](_0x2564c1,_0x6493ea['gridConfig'][_0x2b8707(0x1cf)]),_0x2564c1;}static[a0_0xec59e1(0x1c7)](_0x4e9df2){const _0x1a173=a0_0xec59e1;let {multiple_select:_0x3428c6=!0x1,click:_0x5d2069}=ValueUtil[_0x1a173(0x292)](_0x4e9df2[_0x1a173(0x1e1)][_0x1a173(0x2a0)])?{}:_0x4e9df2[_0x1a173(0x1e1)][_0x1a173(0x2a0)],_0x562b55={'selectable':{'multiple':_0x3428c6},'appendable':_0x4e9df2[_0x1a173(0x237)]};return ValueUtil['isNotEmpty'](_0x5d2069)&&(_0x562b55[_0x1a173(0x1eb)]={'click':_0x5d2069}),_0x562b55;}static[a0_0xec59e1(0x241)](_0x34d75a){const _0x33e541=a0_0xec59e1;let _0x421804=_0x34d75a[_0x33e541(0x1e1)][_0x33e541(0x214)];return ValueUtil[_0x33e541(0x292)](_0x421804)?[]:_0x421804[_0x33e541(0x1ff)](_0x4bb58d=>{const _0x50b05c=_0x33e541;let _0x3c30c5={'type':_0x50b05c(0x254),'gutterName':'button'};if(ValueUtil[_0x50b05c(0x272)](_0x4bb58d[_0x50b05c(0x2a3)])&&(Array[_0x50b05c(0x1bf)](_0x4bb58d[_0x50b05c(0x2a3)])?_0x3c30c5[_0x50b05c(0x2a3)]=_0x5efa19=>{const _0x226c42=_0x50b05c;if(ValueUtil[_0x226c42(0x272)](_0x5efa19))for(let _0x32c480=0x0;_0x32c480<_0x4bb58d[_0x226c42(0x2a3)]['length'];_0x32c480++){let _0x583355=_0x4bb58d[_0x226c42(0x2a3)][_0x32c480];if(!0x0===ValueUtil[_0x226c42(0x202)](_0x583355,_0x5efa19,Object[_0x226c42(0x2b7)](_0x583355)[_0x226c42(0x2e0)](_0x4ba7b4=>'icon'!=_0x4ba7b4)))return _0x583355[_0x226c42(0x2a3)];}}:_0x3c30c5[_0x50b05c(0x2a3)]=_0x4bb58d[_0x50b05c(0x2a3)]),ValueUtil[_0x50b05c(0x272)](_0x4bb58d['name'])&&(_0x3c30c5[_0x50b05c(0x2e1)]=_0x4bb58d[_0x50b05c(0x2e1)]),ValueUtil['isNotEmpty'](_0x4bb58d['label'])&&(_0x3c30c5[_0x50b05c(0x259)]=TermsUtil[_0x50b05c(0x2b1)](_0x4bb58d[_0x50b05c(0x1f5)])),_0x50b05c(0x29b)===_0x4bb58d[_0x50b05c(0x244)]){let _0xb17eaa=ValueUtil[_0x50b05c(0x28c)](_0x4bb58d,'logic');[_0x50b05c(0x256),_0x50b05c(0x1bb)][_0x50b05c(0x286)](_0xb17eaa)?_0x3c30c5[_0x50b05c(0x1eb)]={'click':(_0x2ba50e,_0x4a5368,_0x6e01a8,_0x282648,_0x28bb1a)=>{const _0x32f072=_0x50b05c;if(_0x282648['id']){let _0x2e3568={'title':_0x32f072(0x20b),'type':_0x32f072(0x1b2),'tagname':_0x32f072(0x256)==_0xb17eaa?_0x32f072(0x1b3):_0x32f072(0x1be),'location':_0x32f072(0x256)==_0xb17eaa?'pages/hgistory/history-copy-list-popup.js':_0x32f072(0x1c6),'menu':_0x34d75a[_0x32f072(0x1d9)],'size':'large','popup_field':'open_param','parent_field':'id'},_0x2a172a={..._0x282648,'gqlFunc':ValueUtil['getParams'](_0x34d75a[_0x32f072(0x222)],'query',_0x32f072(0x25e)),'gristConfig':JSON['parse'](JSON[_0x32f072(0x1d6)](_0x34d75a[_0x32f072(0x2dd)][_0x32f072(0x277)]))};MetaUiUtil[_0x32f072(0x243)](_0x34d75a,{'logic':_0x2e3568},_0x2a172a);}}}:_0x3c30c5['handlers']={'click':_0xb17eaa};}else _0x3c30c5[_0x50b05c(0x1eb)]={'click':(_0x36eee0,_0x277103,_0x1be540,_0x17c7f7,_0x27a2f1)=>{_0x17c7f7['id']&&MetaUiUtil['gristButtonHandler'](_0x34d75a,_0x4bb58d,_0x17c7f7);}};return _0x3c30c5;});}static async[a0_0xec59e1(0x1b5)](_0x492ed2){const _0x328074=a0_0xec59e1;let _0x106590=_0x492ed2[_0x328074(0x201)];if(ValueUtil[_0x328074(0x292)](_0x106590))return[];let _0x1dde0d=[];for(let _0xc59e12=0x0;_0xc59e12<_0x106590[_0x328074(0x251)];_0xc59e12++){let {type:_0x3c97d8=_0x328074(0x2ae),name:_0x1c531e,header:_0x4d0335,hidden:_0x5e8821=!0x1,editable:_0x2ec3db=!0x0,mandatory:_0x577671=!0x1,sortable:_0xcc9ea8=!0x1,align:_0x42ebee='left',width:_0x4ab49e=0x0,exportable:_0x55e1b5=!0x1,select_opt:_0x2df45b,object_opt:_0x4d1865}=_0x106590[_0xc59e12],_0x5c073c={'type':_0x3c97d8,'name':_0x1c531e,'header':ValueUtil[_0x328074(0x292)](_0x4d0335)?'':TermsUtil[_0x328074(0x26f)](_0x4d0335),'hidden':_0x5e8821,'sortable':_0xcc9ea8,'width':_0x4ab49e,'record':{'editable':_0x2ec3db,'mandatory':_0x577671,'align':_0x42ebee}};if(_0x328074(0x297)===_0x3c97d8&&ValueUtil[_0x328074(0x272)](_0x2df45b))Array['isArray'](_0x2df45b)?_0x5c073c['record'][_0x328074(0x1e2)]=_0x2df45b:_0x328074(0x29d)===_0x2df45b['type']?_0x5c073c[_0x328074(0x269)][_0x328074(0x1e2)]=await ServiceUtil['getCodeSelectorData'](_0x2df45b['name']):'scenario'===_0x2df45b[_0x328074(0x244)]?_0x5c073c[_0x328074(0x269)][_0x328074(0x1e2)]=await ServiceUtil[_0x328074(0x2a8)](_0x2df45b[_0x328074(0x2e1)],_0x2df45b[_0x328074(0x27e)]):_0x328074(0x2a4)===_0x2df45b[_0x328074(0x244)]&&(_0x5c073c[_0x328074(0x269)]['options']=await ServiceUtil['getCodeByEntity'](_0x2df45b[_0x328074(0x27e)]));else{if((_0x328074(0x24b)===_0x3c97d8||_0x328074(0x245)===_0x3c97d8)&&ValueUtil[_0x328074(0x272)](_0x4d1865)){let _0x484e5b;_0x4d1865['select']&&_0x4d1865[_0x328074(0x297)]['forEach'](_0x174ebe=>{const _0xab7448=_0x328074;_0x174ebe[_0xab7448(0x2a2)]||(_0x174ebe['header']=_0x174ebe[_0xab7448(0x2e1)]),_0x174ebe[_0xab7448(0x2a2)]=TermsUtil[_0xab7448(0x26f)](_0x174ebe[_0xab7448(0x2a2)]);}),_0x5c073c[_0x328074(0x269)][_0x328074(0x1e2)]={..._0x4d1865},_0x4d1865[_0x328074(0x268)]&&_0x4d1865[_0x328074(0x268)][_0x328074(0x1d0)]&&(_0x484e5b=[..._0x4d1865['basicArgs']['filters']]),_0x484e5b&&JSON[_0x328074(0x1d6)](_0x484e5b)['includes']('::')&&(_0x5c073c[_0x328074(0x1eb)]={'dblclick':(_0x4300dd,_0x583ee6,_0x5a2b9a,_0x1fca13,_0x3f4b3d)=>{const _0x2c354e=_0x328074;let _0x1e150f=[];_0x484e5b[_0x2c354e(0x1b6)](_0x597ebc=>{const _0x120355=_0x2c354e;var {name:_0x4e213c,value:_0x32d7fc,operator:_0x223933='eq'}=_0x597ebc;_0x32d7fc[_0x120355(0x286)]('::')&&(_0x32d7fc=ValueUtil[_0x120355(0x28c)](_0x1fca13,..._0x32d7fc['replace']('::','')[_0x120355(0x1e5)]('.'))),_0x32d7fc||(_0x32d7fc=''),_0x1e150f['push']({'name':_0x4e213c,'operator':_0x223933,'value':_0x32d7fc});}),_0x5a2b9a[_0x2c354e(0x269)]['options'][_0x2c354e(0x268)][_0x2c354e(0x1d0)]=_0x1e150f;}});}}!0x0===_0x492ed2[_0x328074(0x2da)]&&!0x0===_0x55e1b5&&(_0x5c073c[_0x328074(0x2b4)]={'header':_0x5c073c[_0x328074(0x2a2)],'key':_0x5c073c[_0x328074(0x2e1)],'width':_0x5c073c[_0x328074(0x1b9)]/0x6,'type':_0x5c073c[_0x328074(0x244)]}),_0x1dde0d[_0x328074(0x1ba)](_0x5c073c);}if(!0x0!==this[_0x328074(0x255)])return _0x1dde0d;let _0x3ce3d6=await MetaApi[_0x328074(0x1fa)](this[_0x328074(0x216)]),{template:_0x50212f={}}=_0x3ce3d6;if(!_0x50212f[_0x328074(0x22d)])return _0x1dde0d;let _0x431e6b=_0x50212f[_0x328074(0x22d)];return _0x1dde0d=_0x1dde0d[_0x328074(0x1ff)](_0x18de11=>('id'==_0x18de11['name']||(_0x18de11[_0x328074(0x21b)]=!_0x431e6b[_0x328074(0x286)](_0x18de11[_0x328074(0x2e1)]),_0x18de11['rank']=_0x431e6b['indexOf'](_0x18de11[_0x328074(0x2e1)]),-0x1==_0x18de11[_0x328074(0x2b2)]&&(_0x18de11[_0x328074(0x2b2)]=0x1869f)),_0x18de11)),_0x1dde0d[_0x328074(0x1d1)]((_0x4dc12a,_0xb42eaf)=>_0x4dc12a[_0x328074(0x2b2)]-_0xb42eaf[_0x328074(0x2b2)]),_0x1dde0d;}static['setGridColumnSearchOption'](_0x2f9081,_0x4028fd){const _0x314de7=a0_0xec59e1;let _0x59c1e3=_0x2f9081[_0x314de7(0x1b1)];return _0x59c1e3&&_0x59c1e3[_0x314de7(0x1b6)](_0x2ff5e3=>{const _0x2ad812=_0x314de7;'string'==typeof _0x2ff5e3?_0x4028fd[_0x2ad812(0x2e0)](_0x128874=>_0x128874[_0x2ad812(0x2e1)]==_0x2ff5e3)[_0x2ad812(0x1b6)](_0x5a9d2a=>{const _0x3724fb=_0x2ad812;_0x5a9d2a['filter']=_0x3724fb(0x293);}):'object'==typeof _0x2ff5e3&&_0x4028fd['filter'](_0x10df03=>_0x10df03[_0x2ad812(0x2e1)]==_0x2ff5e3[_0x2ad812(0x2e1)])[_0x2ad812(0x1b6)](_0x1dad0f=>{const _0x20fecd=_0x2ad812;_0x1dad0f[_0x20fecd(0x2e0)]=_0x2ff5e3;let _0x21171c=_0x1dad0f['filter'][_0x20fecd(0x1ef)];if(_0x21171c&&_0x21171c[_0x20fecd(0x2be)](_0x20fecd(0x228))){const _0xf241fe=a0_0x59defa();let _0x1a2a93=_0x21171c['split'](','),_0x3f8974=[];_0x1a2a93[_0x20fecd(0x1b6)](_0x3d724e=>{const _0x39c9c0=_0x20fecd;_0x39c9c0(0x228)==_0x3d724e?_0x3f8974[_0x39c9c0(0x1ba)](_0xf241fe[_0x39c9c0(0x2b5)]('YYYY-MM-DD')):_0x3d724e['includes']('-')?_0x3f8974[_0x39c9c0(0x1ba)](_0xf241fe[_0x39c9c0(0x20e)](_0x3d724e[_0x39c9c0(0x1e5)]('-')[0x1],_0x39c9c0(0x281))[_0x39c9c0(0x2b5)]('YYYY-MM-DD')):_0x3d724e['includes']('+')&&_0x3f8974['push'](_0xf241fe[_0x39c9c0(0x1dd)](_0x3d724e[_0x39c9c0(0x1e5)]('+')[0x1],_0x39c9c0(0x281))[_0x39c9c0(0x2b5)]('YYYY-MM-DD'));}),_0x1dad0f[_0x20fecd(0x2e0)][_0x20fecd(0x1ef)]=0x1==_0x3f8974[_0x20fecd(0x251)]?_0x3f8974[0x0]:_0x3f8974;}});}),_0x4028fd;}static[a0_0xec59e1(0x2cc)](_0x39735e){const _0x4231c1=a0_0xec59e1;let _0x27ff47={'title':TermsUtil['tTitle'](_0x39735e['menuInfo'][_0x4231c1(0x259)]),'help':_0x39735e[_0x4231c1(0x2bd)]['help']||'','actions':[...MetaUiUtil['getContextButtons'](_0x39735e)]};return _0x39735e[_0x4231c1(0x2da)]&&(_0x27ff47['exportable']={'name':_0x27ff47[_0x4231c1(0x259)],'data':_0x39735e['export'][_0x4231c1(0x232)](_0x39735e)}),_0x39735e[_0x4231c1(0x27f)]&&(_0x27ff47[_0x4231c1(0x250)]={'handler':_0x39735e[_0x4231c1(0x1ae)][_0x4231c1(0x232)](_0x39735e)}),_0x27ff47;}static[a0_0xec59e1(0x1c3)](_0x3f7a33){const _0x5303e3=a0_0xec59e1;let _0x4a90c7=_0x3f7a33[_0x5303e3(0x1e6)];return ValueUtil[_0x5303e3(0x292)](_0x4a90c7)?[]:_0x4a90c7['filter'](_0x4159e6=>'export'!=_0x4159e6[_0x5303e3(0x2e1)]&&'import'!=_0x4159e6['name']&&_0x5303e3(0x1dd)!=_0x4159e6[_0x5303e3(0x2e1)])['map'](_0x123108=>{const _0x56a398=_0x5303e3;let {name:_0x13b35b,label:_0x1c0039,style:_0x42b155,type:_0x53b7ce=_0x56a398(0x29b),action:_0x96fafe,logic:_0x1cee20}=_0x123108;if(ValueUtil[_0x56a398(0x292)](_0x13b35b))return{'title':'-1'};ValueUtil['isEmpty'](_0x1c0039)&&(_0x1c0039=_0x13b35b),ValueUtil[_0x56a398(0x292)](_0x42b155)&&(_0x42b155=_0x13b35b),ValueUtil[_0x56a398(0x292)](_0x96fafe)&&(_0x96fafe=_0x13b35b);let _0x574824=ValueUtil[_0x56a398(0x272)](_0x42b155)?CommonButtonStyles[_0x42b155]||{'icon':_0x42b155,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x56a398(0x2b1)](_0x1c0039),'action':MetaUiUtil[_0x56a398(0x287)](_0x3f7a33,_0x53b7ce,_0x96fafe,_0x1cee20),..._0x574824};})[_0x5303e3(0x2e0)](_0x19f572=>'-1'!=_0x19f572[_0x5303e3(0x259)]);}static[a0_0xec59e1(0x1ca)](_0x2b17de){const _0x10f8cb=a0_0xec59e1;let _0x27a88e=_0x2b17de&&_0x2b17de['buttonConfig']?_0x2b17de[_0x10f8cb(0x1e6)]:null;return _0x27a88e?_0x27a88e['filter'](_0x58263a=>_0x10f8cb(0x1dd)!=_0x58263a[_0x10f8cb(0x2e1)])['map'](_0x2f7da6=>{const _0x36982e=_0x10f8cb;let {name:_0x1190a5,label:_0x34a0c5,style:_0x537167,type:_0x1828c9=_0x36982e(0x29b),action:_0x26a731,logic:_0x46e887}=_0x2f7da6;ValueUtil[_0x36982e(0x292)](_0x34a0c5)&&(_0x34a0c5=_0x1190a5),ValueUtil['isEmpty'](_0x537167)&&(_0x537167=_0x1190a5),ValueUtil[_0x36982e(0x292)](_0x26a731)&&(_0x26a731=_0x1190a5);let _0x18626f=MetaUiUtil[_0x36982e(0x231)](TermsUtil[_0x36982e(0x2b1)](_0x34a0c5),_0x537167);return _0x18626f['onclick']=MetaUiUtil[_0x36982e(0x287)](_0x2b17de,_0x1828c9,_0x26a731,_0x46e887),_0x18626f;}):[];}static['createButtonElement'](_0x49f7f2,_0xf60af7){const _0x49b832=a0_0xec59e1;let _0x26be7d=CommonButtonStyles[_0xf60af7]||{'icon':_0xf60af7,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x1f4fc1='<mwc-button\x20label=\x22'+_0x49f7f2+_0x49b832(0x225)+(_0x26be7d[_0x49b832(0x2a3)]?_0x26be7d[_0x49b832(0x2a3)]:'')+_0x49b832(0x22c)+(_0x26be7d[_0x49b832(0x21a)]['raised']?_0x49b832(0x200):'')+_0x49b832(0x2c1)+(_0x26be7d[_0x49b832(0x21a)][_0x49b832(0x20d)]?'outlined':'')+_0x49b832(0x2c1)+(_0x26be7d[_0x49b832(0x21a)]['dense']?'dense':'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x26be7d[_0x49b832(0x21a)][_0x49b832(0x23c)]?_0x49b832(0x23c):'')+_0x49b832(0x2d3);return UiUtil[_0x49b832(0x2d6)](_0x1f4fc1);}static['getButtonActionHandler'](_0x1f22a4,_0x4e93d8,_0x264cbc,_0x50d598){const _0x43f51f=a0_0xec59e1;if(_0x43f51f(0x29b)==_0x4e93d8){if(_0x1f22a4[_0x264cbc])return _0x1f22a4[_0x264cbc]['bind'](_0x1f22a4);}else{if(_0x43f51f(0x296)==_0x4e93d8)return()=>MetaUiUtil[_0x43f51f(0x2df)](_0x1f22a4,_0x50d598);}return()=>{const _0x2c7c0f=_0x43f51f;UiUtil[_0x2c7c0f(0x2c9)](_0x2c7c0f(0x240),'text.button_bind_func_is_not_exist',_0x2c7c0f(0x1dc),_0x2c7c0f(0x294));};}static async[a0_0xec59e1(0x243)](_0x263753,_0xb032a9,_0x1f7bc5){const _0x491ec4=a0_0xec59e1;let _0x58e9d5=ValueUtil[_0x491ec4(0x28c)](_0xb032a9,_0x491ec4(0x1d8)),_0x53cad7=ValueUtil[_0x491ec4(0x28c)](_0x58e9d5,'type');if('form'===_0x53cad7)_0x58e9d5[_0x491ec4(0x283)]=_0x491ec4(0x23b),_0x58e9d5[_0x491ec4(0x2c0)]=_0x491ec4(0x1e0),_0x58e9d5[_0x491ec4(0x21f)]='id',await MetaUiUtil[_0x491ec4(0x1ee)](_0x263753,_0x58e9d5,_0x1f7bc5);else{if(_0x491ec4(0x2d2)===_0x53cad7)MetaUiUtil[_0x491ec4(0x2a6)](_0x263753,_0x58e9d5,_0x1f7bc5);else{if(_0x491ec4(0x2ed)===_0x53cad7){let _0x426afd;_0x58e9d5['param_field']?(_0x426afd={},Object[_0x491ec4(0x2b7)](_0x1f7bc5)[_0x491ec4(0x2e0)](_0x5e14c0=>Object[_0x491ec4(0x2b7)](_0x58e9d5[_0x491ec4(0x252)])[_0x491ec4(0x286)](_0x5e14c0))[_0x491ec4(0x1ff)](_0x401ac8=>{const _0xc3a3a9=_0x491ec4;Object[_0xc3a3a9(0x2b7)](_0x58e9d5[_0xc3a3a9(0x252)])[_0xc3a3a9(0x286)](_0x401ac8)&&(_0xc3a3a9(0x2ae)==typeof _0x1f7bc5[_0x401ac8]?_0x426afd[_0x58e9d5['param_field'][_0x401ac8]]=_0x1f7bc5[_0x401ac8]:_0x426afd[_0x58e9d5['param_field'][_0x401ac8]]={'id':_0x1f7bc5[_0x401ac8]['id']});})):_0x426afd=_0x1f7bc5,UiUtil[_0x491ec4(0x1e9)](_0x58e9d5[_0x491ec4(0x2b3)],[_0x426afd]);}else'popup'===_0x53cad7?await MetaUiUtil[_0x491ec4(0x1ee)](_0x263753,_0x58e9d5,_0x1f7bc5):'scenario'===_0x53cad7?await MetaUiUtil[_0x491ec4(0x1f8)](_0x263753,_0x58e9d5,_0x1f7bc5):_0x491ec4(0x1cd)===_0x53cad7&&await MetaUiUtil[_0x491ec4(0x1e3)](_0x263753,_0x58e9d5,_0x1f7bc5);}}}static async['customButtonHandler'](_0x543a6d,_0x3e02e5){const _0x2fb820=a0_0xec59e1;if(ValueUtil[_0x2fb820(0x292)](_0x3e02e5))return;let _0x3c6945=_0x543a6d[_0x2fb820(0x2dd)],_0x43fe42=_0x543a6d[_0x2fb820(0x24a)],_0x46d9ae=ValueUtil[_0x2fb820(0x28c)](_0x3e02e5,_0x2fb820(0x244)),_0x44c3cc=ValueUtil[_0x2fb820(0x28c)](_0x3e02e5,'param'),_0x3911c9=_0x44c3cc[_0x2fb820(0x2e0)](_0x32f7fd=>_0x32f7fd[_0x2fb820(0x2be)](_0x2fb820(0x2dd)));if(ValueUtil[_0x2fb820(0x272)](_0x3911c9)){if(!_0x3c6945)return void UiUtil[_0x2fb820(0x2c9)](_0x2fb820(0x24c),_0x2fb820(0x226),_0x2fb820(0x1dc),_0x2fb820(0x294));if(0x0==(_0x3c6945['data']?_0x3c6945[_0x2fb820(0x27d)][_0x2fb820(0x26d)]:[])[_0x2fb820(0x251)])return void UiUtil[_0x2fb820(0x2c9)]('title.info',_0x2fb820(0x298),'info',_0x2fb820(0x294));if(_0x44c3cc[_0x2fb820(0x286)]('grist_one')||_0x44c3cc[_0x2fb820(0x286)](_0x2fb820(0x1da))){let _0x3c8638=_0x3c6945[_0x2fb820(0x27b)];if(ValueUtil[_0x2fb820(0x292)](_0x3c8638))return void UiUtil[_0x2fb820(0x2c9)](_0x2fb820(0x2d4),_0x2fb820(0x236),'info',_0x2fb820(0x294));if(_0x44c3cc[_0x2fb820(0x286)]('grist_one')&&_0x3c8638[_0x2fb820(0x251)]>0x1)return void UiUtil['showAlertPopup']('title.info',_0x2fb820(0x1b0),_0x2fb820(0x1dc),_0x2fb820(0x294));}}let _0x219e24={};if(_0x44c3cc[_0x2fb820(0x286)]('filter')){if(!_0x43fe42)return void UiUtil[_0x2fb820(0x2c9)](_0x2fb820(0x24c),_0x2fb820(0x26a),_0x2fb820(0x1dc),_0x2fb820(0x294));let _0x489152=_0x43fe42?await _0x43fe42[_0x2fb820(0x2de)]():[];_0x219e24[_0x2fb820(0x2e0)]=_0x489152;}if(_0x44c3cc[_0x2fb820(0x286)](_0x2fb820(0x288)))_0x219e24['grist']=_0x3c6945['data'][_0x2fb820(0x26d)];else{if(_0x44c3cc['includes'](_0x2fb820(0x20a)))_0x219e24['grist']=_0x3c6945[_0x2fb820(0x27b)][0x0];else{if(_0x44c3cc[_0x2fb820(0x286)](_0x2fb820(0x1da)))_0x219e24[_0x2fb820(0x2dd)]=_0x3c6945[_0x2fb820(0x27b)];else{if(_0x44c3cc[_0x2fb820(0x286)](_0x2fb820(0x208))&&(_0x219e24['grist']=ServiceUtil[_0x2fb820(0x210)](_0x3c6945),!_0x219e24['grist']))return;}}}if(_0x2fb820(0x2ed)===_0x46d9ae){let _0x4a8262,_0x2819f8=Array[_0x2fb820(0x1bf)](_0x219e24[_0x2fb820(0x2dd)])?_0x219e24[_0x2fb820(0x2dd)]:[_0x219e24[_0x2fb820(0x2dd)]];_0x4a8262=_0x3e02e5[_0x2fb820(0x252)]?_0x2819f8[_0x2fb820(0x1ff)](_0x408aca=>{const _0x43a85c=_0x2fb820;let _0x9481e2={};return Object['keys'](_0x408aca)[_0x43a85c(0x2e0)](_0x137a14=>Object['keys'](_0x3e02e5[_0x43a85c(0x252)])[_0x43a85c(0x286)](_0x137a14))[_0x43a85c(0x1ff)](_0x3c97bb=>{const _0x3582c7=_0x43a85c;Object[_0x3582c7(0x2b7)](_0x3e02e5[_0x3582c7(0x252)])[_0x3582c7(0x286)](_0x3c97bb)&&(_0x3582c7(0x2ae)==typeof _0x408aca[_0x3c97bb]?_0x9481e2[_0x3e02e5['param_field'][_0x3c97bb]]=_0x408aca[_0x3c97bb]:_0x9481e2[_0x3e02e5[_0x3582c7(0x252)][_0x3c97bb]]={'id':_0x408aca[_0x3c97bb]['id']});}),_0x9481e2;}):_0x2819f8,UiUtil['pageNavigate'](_0x3e02e5[_0x2fb820(0x2b3)],_0x4a8262);}else{if(_0x2fb820(0x1b2)===_0x46d9ae){let _0x20681b={..._0x219e24[_0x2fb820(0x2dd)]?_0x219e24['grist']:{},..._0x219e24[_0x2fb820(0x2e0)]?_0x219e24[_0x2fb820(0x2e0)]:{}};await MetaUiUtil[_0x2fb820(0x1ee)](_0x543a6d,_0x3e02e5,_0x20681b);}else'scenario'===_0x46d9ae&&await MetaUiUtil[_0x2fb820(0x1f8)](_0x543a6d,_0x3e02e5,_0x219e24);}}static[a0_0xec59e1(0x2a6)](_0x4359fb,_0x62d60e,_0x5218b5){const _0x152534=a0_0xec59e1;let _0x1a25d2=_0x62d60e[_0x152534(0x2e8)],_0x4b356c={},_0x51cc28=_0x4359fb[_0x152534(0x258)][_0x152534(0x1c0)](),_0x112754=_0x4359fb;_0x4b356c=_0x51cc28[_0x152534(0x2be)](_0x152534(0x2d7))?{'detail':{..._0x1a25d2}}:_0x51cc28[_0x152534(0x2be)](_0x152534(0x28f))?_0x4359fb[_0x152534(0x2ac)][_0x152534(0x258)]['toLowerCase']()[_0x152534(0x2be)]('meta-tab-')?{'detail':{..._0x1a25d2}}:{'self':{..._0x1a25d2}}:_0x1a25d2,Object[_0x152534(0x2b7)](_0x4b356c)[_0x152534(0x1b6)](_0x388ef2=>{const _0xb0bb50=_0x152534;_0xb0bb50(0x22d)==_0x388ef2?_0x112754=_0x4359fb[_0xb0bb50(0x261)][_0xb0bb50(0x266)]:_0xb0bb50(0x284)==_0x388ef2?_0x112754=_0x4359fb[_0xb0bb50(0x261)]?_0x4359fb[_0xb0bb50(0x261)][_0xb0bb50(0x2ac)]:_0x4359fb[_0xb0bb50(0x2ac)]:_0xb0bb50(0x24d)==_0x388ef2&&(_0x112754=_0x4359fb),Object[_0xb0bb50(0x2b7)](_0x4b356c[_0x388ef2])['forEach'](_0x48d4b0=>{const _0x2984f1=_0xb0bb50;let _0x4595f4=_0x112754[_0x2984f1(0x2a1)]['querySelector']('#'+_0x48d4b0);_0x5218b5['id']&&_0x4595f4[_0x2984f1(0x217)](_0x5218b5['id']);let _0x2c40ec=_0x4b356c[_0x388ef2][_0x48d4b0];Object[_0x2984f1(0x2b7)](_0x2c40ec)[_0x2984f1(0x1b6)](_0x131851=>{let _0x15d258=_0x2c40ec[_0x131851],_0x3462cf='*'===_0x15d258?_0x5218b5:_0x5218b5[_0x15d258];_0x4595f4[_0x131851]=_0x3462cf;});});});}static async['commonButtonOpenPopup'](_0x5825fb,_0x4791c3,_0x53a8e1){const _0x131160=a0_0xec59e1;let _0x3958f9=TermsUtil[_0x131160(0x2ca)](_0x4791c3[_0x131160(0x259)]);ValueUtil[_0x131160(0x272)](_0x4791c3[_0x131160(0x1d5)])&&(_0x3958f9=_0x3958f9+'('+ValueUtil[_0x131160(0x28c)](_0x53a8e1,..._0x4791c3[_0x131160(0x1d5)][_0x131160(0x1e5)]('.'))+')');let _0x5b4031=_0x4791c3[_0x131160(0x235)]&&_0x131160(0x2ae)==typeof _0x4791c3['after']&&_0x131160(0x1ce)===_0x4791c3[_0x131160(0x235)]&&_0x5825fb&&_0x5825fb[_0x131160(0x1ce)]?_0x5825fb['fetch']['bind'](_0x5825fb):void 0x0;UiUtil[_0x131160(0x1fb)](_0x3958f9,_0x4791c3,_0x53a8e1,_0x5b4031);}static async[a0_0xec59e1(0x1f8)](_0xe15da6,_0x3b0605,_0x35b805){const _0x37d028=a0_0xec59e1;let _0x18a04a=await ServiceUtil[_0x37d028(0x1af)](_0x37d028(0x1db),_0x3b0605['name'],_0x35b805);if(!_0x18a04a['errors']&&!ValueUtil[_0x37d028(0x292)](_0x3b0605[_0x37d028(0x235)])&&_0x3b0605[_0x37d028(0x235)]){if('fetch'!==_0x3b0605[_0x37d028(0x235)]){if(_0x37d028(0x24b)==typeof _0x3b0605[_0x37d028(0x235)]){let _0x28f32b=_0x3b0605[_0x37d028(0x235)],_0xdc1ae3=ValueUtil[_0x37d028(0x28c)](_0x18a04a['data']['runScenario']['data'],..._0x28f32b[_0x37d028(0x25a)][_0x37d028(0x1e5)]('.'));if(0x0==Array[_0x37d028(0x1bf)](_0xdc1ae3)&&(_0xdc1ae3=[_0xdc1ae3]),_0x37d028(0x21d)===_0x28f32b[_0x37d028(0x244)])_0x28f32b[_0x37d028(0x283)]='meta-form-element',_0x28f32b[_0x37d028(0x2c0)]='pages/meta-form-element.js',_0x28f32b['parent_field']='id',_0xdc1ae3=_0xdc1ae3[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0xe15da6,_0x28f32b,_0xdc1ae3);else{if(_0x37d028(0x2ed)===_0x28f32b[_0x37d028(0x244)]){let _0x5104b3,_0x14f0e9=_0xdc1ae3;_0x5104b3=_0x28f32b[_0x37d028(0x252)]?_0x14f0e9['map'](_0x2fab2b=>{const _0x3a4a46=_0x37d028;let _0x339220={};return Object['keys'](_0x2fab2b)[_0x3a4a46(0x2e0)](_0x4a22c8=>Object['keys'](_0x28f32b[_0x3a4a46(0x252)])[_0x3a4a46(0x286)](_0x4a22c8))[_0x3a4a46(0x1ff)](_0xd7a11f=>{const _0x5c1753=_0x3a4a46;Object[_0x5c1753(0x2b7)](_0x28f32b[_0x5c1753(0x252)])[_0x5c1753(0x286)](_0xd7a11f)&&('string'==typeof _0x2fab2b[_0xd7a11f]?_0x339220[_0x28f32b['param_field'][_0xd7a11f]]=_0x2fab2b[_0xd7a11f]:_0x339220[_0x28f32b[_0x5c1753(0x252)][_0xd7a11f]]={'id':_0x2fab2b[_0xd7a11f]['id']});}),_0x339220;}):_0x14f0e9,UiUtil[_0x37d028(0x1e9)](_0x28f32b[_0x37d028(0x2b3)],_0x5104b3);}else _0x37d028(0x2d2)===_0x28f32b['type']?(_0xdc1ae3=_0xdc1ae3[0x0],MetaUiUtil[_0x37d028(0x2a6)](_0xe15da6,_0x28f32b,_0xdc1ae3)):'popup'===_0x28f32b['type']?(_0xdc1ae3=_0xdc1ae3[0x0],await MetaUiUtil[_0x37d028(0x1ee)](_0xe15da6,_0x28f32b,_0xdc1ae3)):'value_reference'===_0x28f32b[_0x37d028(0x244)]&&(_0xdc1ae3=_0xdc1ae3[0x0],await MetaUiUtil[_0x37d028(0x1e3)](_0xe15da6,_0x28f32b,_0xdc1ae3));}}}else _0xe15da6[_0x37d028(0x1ce)]();}}static async[a0_0xec59e1(0x1e3)](_0x37f62a,_0x5cbcc1,_0xb6e6fb){const _0xc119cd=a0_0xec59e1;for(let _0x15da09=0x0;_0x15da09<_0x5cbcc1[_0xc119cd(0x215)][_0xc119cd(0x251)];_0x15da09++){let _0xfe625c=_0x5cbcc1[_0xc119cd(0x215)][_0x15da09];!0x0===ValueUtil[_0xc119cd(0x202)](_0xfe625c,_0xb6e6fb,Object[_0xc119cd(0x2b7)](_0xfe625c)[_0xc119cd(0x2e0)](_0x1eb087=>_0xc119cd(0x1d8)!=_0x1eb087))&&await MetaUiUtil['gristButtonHandler'](_0x37f62a,_0xfe625c,_0xb6e6fb);}}static[a0_0xec59e1(0x2c7)](_0x312ebc,_0x181689){return{'type':_0x312ebc,'name':_0x181689,'sortable':!0x1,'hidden':!0x0};}static['getGristColumnConfig'](_0x588a8d,_0x403642,_0x1418e0,_0x44a54d,_0x5a6e95,_0x30bc88){const _0x11da89=a0_0xec59e1;let _0x46f0e6=TermsUtil['tLabel'](_0x403642);return{'type':_0x588a8d,'name':_0x403642,'header':_0x46f0e6,'record':{'align':_0x1418e0,'editable':_0x44a54d},'sortable':_0x5a6e95,'width':_0x30bc88,'imex':{'width':Math[_0x11da89(0x26e)](_0x30bc88/0x6),'header':_0x46f0e6,'type':_0x588a8d,'key':_0x403642}};}static[a0_0xec59e1(0x1d7)](_0x39d293,_0x423aac,_0x253a03,_0x1c0068,_0x473fd6,_0x44b396,_0x1a1cb9){const _0x87603d=a0_0xec59e1;let _0x3c9c7e=TermsUtil[_0x87603d(0x26f)](_0x253a03);return{'type':_0x39d293,'name':_0x423aac,'header':_0x3c9c7e,'record':{'align':_0x1c0068,'editable':_0x473fd6},'sortable':_0x44b396,'width':_0x1a1cb9,'imex':{'width':Math[_0x87603d(0x26e)](_0x1a1cb9/0x6),'header':_0x3c9c7e,'type':_0x39d293,'key':_0x423aac}};}static[a0_0xec59e1(0x1ea)](_0x300646,_0x3ae5f0,_0x167d85,_0xfbfb1b,_0x17aa28,_0x35986b,_0x51f95a,_0x15bcfe){const _0x2fe8c9=a0_0xec59e1;let _0x4570bc=TermsUtil[_0x2fe8c9(0x26f)](_0x167d85);return{'type':_0x300646,'name':_0x3ae5f0,'header':_0x4570bc,'record':{'align':_0xfbfb1b,'editable':_0x17aa28,'mandatory':_0x51f95a},'sortable':_0x35986b,'width':_0x15bcfe,'imex':{'width':Math['floor'](_0x15bcfe/0x6),'header':_0x4570bc,'type':_0x300646,'key':_0x3ae5f0}};}static['getGristSelectorColumnConfig'](_0xd8abef,_0x16fecf,_0x32ab6c,_0x7d2d80,_0x39619d,_0x205ef5,_0x318199){const _0x4b5152=a0_0xec59e1;let _0x59a1db=TermsUtil[_0x4b5152(0x26f)](_0x16fecf);return{'type':_0x4b5152(0x297),'name':_0xd8abef,'header':_0x59a1db,'record':{'align':_0x32ab6c,'editable':!0x0,'mandatory':_0x205ef5,'options':_0x318199},'sortable':_0x7d2d80,'width':_0x39619d,'imex':{'width':Math[_0x4b5152(0x26e)](_0x39619d/0x6),'header':_0x59a1db,'type':_0x4b5152(0x2ae),'key':_0xd8abef}};}static async[a0_0xec59e1(0x23f)](_0x4f595f,_0xbb9cea,_0x4b2440,_0xda41a1,_0x33b173,_0x3e7e87,_0xc9a0c0){const _0x437b65=a0_0xec59e1;let _0x17281b=await ServiceUtil['getCodeSelectorData'](_0xc9a0c0);return MetaUiUtil[_0x437b65(0x253)](_0x4f595f,_0xbb9cea,_0x4b2440,_0xda41a1,_0x33b173,_0x3e7e87,_0x17281b);}static[a0_0xec59e1(0x213)](_0xcd69fe,_0x31e020,_0x3a1dd8,_0x599998,_0x55e91e){const _0x29de9b=a0_0xec59e1;let _0x546995=TermsUtil[_0x29de9b(0x26f)](_0x3a1dd8),_0x22813a={'name':_0xcd69fe,'type':_0x31e020,'label':_0x546995,'operator':_0x599998,'imex':{'width':0x10,'header':_0x546995,'type':_0x31e020,'key':_0xcd69fe}};return _0x55e91e&&(_0x22813a[_0x29de9b(0x1e2)]=_0x55e91e),_0x22813a;}static async[a0_0xec59e1(0x1c8)](_0x5b7b3b,_0x4591f7,_0x2981e4,_0x4e97bf,_0x259dcd){const _0x59c6ee=a0_0xec59e1;let _0x504671=await ServiceUtil['getCodeSelectorData'](_0x259dcd);return MetaUiUtil[_0x59c6ee(0x213)](_0x5b7b3b,_0x4591f7,_0x2981e4,_0x4e97bf,_0x504671);}static['getCustomButtonContainerStyles'](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0x5b6eee(0x134)])return;let _0x4134c6=[{'name':'routing','operator':'eq','value':_0x22c3dc}],_0x56c48c=await ServiceUtil['searchByPagination'](_0x5b6eee(0x1d9),_0x4134c6,null,0x0,0x0,_0x5b6eee(0xf7));if(_0x56c48c||0x0!=_0x56c48c[_0x5b6eee(0x1ed)]){let _0x201707=_0x56c48c[_0x5b6eee(0x173)][0x0];if(!_0x201707['template'])throw new Error(TermsUtil[_0x5b6eee(0x14f)]('value_is_not_exist',{'value':TermsUtil[_0x5b6eee(0x1d6)]('menu')+'\x20'+TermsUtil[_0x5b6eee(0x1c5)](_0x5b6eee(0xf1))}));return this[_0x5b6eee(0x11a)]=_0x201707['id'],JSON[_0x5b6eee(0x20b)](MetaCrypto[_0x5b6eee(0x169)](_0x201707[_0x5b6eee(0x1c2)]));}throw new Error(TermsUtil['tText'](_0x5b6eee(0x127),{'value':TermsUtil[_0x5b6eee(0x1d6)](_0x5b6eee(0x19e))+'\x20'+_0x22c3dc}));}static[a0_0x3b1615(0x20e)](){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':_0x3b707c=>Boolean(_0x3b707c)},'is_popup':{'type':Boolean,'converter':_0x2c1256=>Boolean(_0x2c1256)},'is_activity':{'type':Boolean,'converter':_0x23eebf=>Boolean(_0x23eebf)},'is_readonly':{'type':Boolean,'converter':_0x477f30=>Boolean(_0x477f30)}};}static async[a0_0x3b1615(0x1cb)](_0x2a6a87){const _0x3338aa=a0_0x3b1615;if(0x0==store[_0x3338aa(0x205)]()['metaUI'][_0x3338aa(0x1cd)])return void document[_0x3338aa(0x101)](new CustomEvent(_0x3338aa(0x215),{'detail':{'level':_0x3338aa(0x1f2),'message':TermsUtil[_0x3338aa(0xeb)]('invalid\x20license\x20key')}}));let _0x46887a=_0x2a6a87[_0x3338aa(0x224)]?UiUtil[_0x3338aa(0x130)]():_0x2a6a87[_0x3338aa(0x167)];_0x2a6a87[_0x3338aa(0x130)]=_0x46887a;let _0x53db59=await MetaUiUtil[_0x3338aa(0x10c)](_0x46887a);return!0x0===_0x2a6a87[_0x3338aa(0x18c)]&&(_0x53db59[_0x3338aa(0x1c9)][_0x3338aa(0x1ff)]['use_row_checker']=!0x1,_0x53db59[_0x3338aa(0x1c9)][_0x3338aa(0x1ff)][_0x3338aa(0x1c8)]='unlimited',_0x53db59[_0x3338aa(0x1c9)][_0x3338aa(0x15a)]=!0x1,_0x53db59[_0x3338aa(0x1c9)][_0x3338aa(0x191)]=[],_0x53db59[_0x3338aa(0x191)]=_0x53db59[_0x3338aa(0x191)]['filter'](_0xed1c65=>_0x3338aa(0xf9)==_0xed1c65[_0x3338aa(0x15d)])),!0x0===_0x2a6a87[_0x3338aa(0x1b0)]&&(_0x53db59[_0x3338aa(0x17e)][_0x3338aa(0x217)](_0x13141d=>{const _0x941a2c=_0x3338aa;_0x13141d[_0x941a2c(0x1a6)]=!0x1;}),_0x53db59[_0x3338aa(0x191)]=_0x53db59[_0x3338aa(0x191)][_0x3338aa(0x223)](_0x1c9f93=>_0x3338aa(0xf9)!=_0x1c9f93[_0x3338aa(0x15d)])),!0x1===_0x2a6a87[_0x3338aa(0x15a)]&&(_0x53db59[_0x3338aa(0x1c9)][_0x3338aa(0x15a)]=!0x1),_0x53db59;}static[a0_0x3b1615(0x10b)](..._0x654255){return{'pages':_0x654255};}static[a0_0x3b1615(0x109)](_0xe09640,_0x5612bb){const _0x4516d2=a0_0x3b1615;let _0x377b37=[{'type':_0x4516d2(0xee),'gutterName':_0x4516d2(0x220)},{'type':_0x4516d2(0xee),'gutterName':_0x4516d2(0xfc)}];return _0xe09640&&_0x377b37[_0x4516d2(0x12f)]({'type':_0x4516d2(0xee),'gutterName':_0x4516d2(0x106),'multiple':_0x5612bb}),_0x377b37;}static[a0_0x3b1615(0x1f5)](_0x2cd703){return{'selectable':{'multiple':_0x2cd703}};}static async['parseGridConfigSet'](_0x29d079){const _0x2b29c7=a0_0x3b1615;let _0x707ab5=MetaUiUtil['getGridOptionSet'](_0x29d079),_0x3dcd17=MetaUiUtil[_0x2b29c7(0x21e)](_0x29d079),_0x36e227=MetaUiUtil[_0x2b29c7(0x212)](_0x29d079),_0x169c5f=MetaUiUtil[_0x2b29c7(0x1ab)](_0x29d079),_0x56f303=await MetaUiUtil[_0x2b29c7(0x158)](_0x29d079),_0xd2aec6=MetaUiUtil['getGristGuttersConfig'](_0x707ab5['use_row_checker'],_0x36e227['selectable'][_0x2b29c7(0x213)]);return 0x1==_0x29d079['useFilterForm']&&(_0x56f303=MetaUiUtil[_0x2b29c7(0xf4)](_0x29d079,_0x56f303)),{'list':_0x3dcd17,'pagination':_0x707ab5[_0x2b29c7(0x1c8)],'sorters':_0x707ab5[_0x2b29c7(0x1e2)],'rows':_0x36e227,'columns':[..._0xd2aec6,..._0x169c5f,..._0x56f303]};}static async['parseFormConfigSet'](_0x1fded4){const _0x36d792=a0_0x3b1615;let _0x556a83=_0x1fded4[_0x36d792(0x203)],_0x36eb78=[];for(let _0x34d4b2=0x0;_0x34d4b2<_0x556a83[_0x36d792(0x1ed)];_0x34d4b2++){let {type:_0x4c632c='string',name:_0x3ce02e,header:_0x3352e3,hidden:_0x1f1194=!0x1,editable:_0x1aec9d=!0x0,mandatory:_0x4f159c=!0x1,align:_0x1b5650='left',select_opt:_0x2f6942,object_opt:_0x3833ba}=_0x556a83[_0x34d4b2],_0x131f66={'type':_0x4c632c,'name':_0x3ce02e,'header_txt':ValueUtil[_0x36d792(0x18f)](_0x3352e3)?TermsUtil[_0x36d792(0x1c5)](_0x3ce02e):TermsUtil[_0x36d792(0x1c5)](_0x3352e3),'header':{'renderer':function(_0xc0d1b8){const _0x461c58=_0x36d792;return _0xc0d1b8[_0x461c58(0x159)];}},'hidden':_0x1f1194,'record':{'editable':_0x1aec9d,'mandatory':_0x4f159c,'align':_0x1b5650,'classifier':function(){},'renderer':getRenderer(_0x4c632c)}};_0x1aec9d&&(_0x131f66['record']['editor']=getEditor(_0x4c632c)),_0x36d792(0x21b)===_0x4c632c&&ValueUtil['isNotEmpty'](_0x2f6942)&&(Array[_0x36d792(0x1f3)](_0x2f6942)?_0x131f66[_0x36d792(0xf3)][_0x36d792(0x1d8)]=_0x2f6942:'code'===_0x2f6942['type']?_0x131f66[_0x36d792(0xf3)][_0x36d792(0x1d8)]=await ServiceUtil[_0x36d792(0x18a)](_0x2f6942['name']):'scenario'===_0x2f6942[_0x36d792(0x214)]?_0x131f66['record'][_0x36d792(0x1d8)]=await ServiceUtil[_0x36d792(0x1a0)](_0x2f6942[_0x36d792(0x15d)],_0x2f6942[_0x36d792(0x16d)]):_0x36d792(0x161)===_0x2f6942[_0x36d792(0x214)]&&(_0x131f66[_0x36d792(0xf3)][_0x36d792(0x1d8)]=await ServiceUtil[_0x36d792(0x1d0)](_0x2f6942[_0x36d792(0x16d)]))),_0x36d792(0x20c)!==_0x4c632c&&_0x36d792(0x13b)!==_0x4c632c||!ValueUtil[_0x36d792(0x16f)](_0x3833ba)||(_0x131f66[_0x36d792(0xf3)][_0x36d792(0x1d8)]=_0x3833ba),_0x36eb78[_0x36d792(0x12f)](_0x131f66);}return _0x36eb78;}static[a0_0x3b1615(0x18b)](_0x2b2a45){const _0x56a145=a0_0x3b1615;let _0x1a66dd=_0x2b2a45['gridConfig'];_0x2b2a45['useFilterForm']=!_0x1a66dd||null==_0x1a66dd[_0x56a145(0x15a)]||_0x1a66dd['use_filter_form'];let {mobile_mode:_0x515e1b='LIST',desk_mode:_0x4c62d9=_0x56a145(0x1a4),view_mode:_0x27954a=[],use_row_checker:_0x4dedd8=!0x0,sorters:_0x46b5f2=[],pages:_0x4b9465=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x56a145(0x18f)](_0x1a66dd['option'])?{}:_0x1a66dd[_0x56a145(0x1ff)];return'unlimited'===_0x4b9465||'-1'===_0x4b9465?(_0x2b2a45[_0x56a145(0xed)]=!0x0,_0x4b9465={'infinite':!0x0}):(_0x2b2a45[_0x56a145(0xed)]=!0x1,_0x4b9465['sort'](function(_0x53019b,_0x120f9f){return _0x53019b-_0x120f9f;}),_0x4b9465={'pages':_0x4b9465}),ValueUtil[_0x56a145(0x16f)](_0x27954a)&&(0x1==_0x27954a[_0x56a145(0x1ed)]?(_0x4c62d9=_0x27954a[0x0],_0x515e1b=_0x27954a[0x0]):_0x27954a[_0x56a145(0x1ed)]>=0x2&&(_0x27954a['includes'](_0x515e1b)||(_0x515e1b=_0x27954a[0x1]),_0x27954a[_0x56a145(0x12d)](_0x4c62d9)||(_0x4c62d9=_0x27954a[0x0]))),_0x2b2a45[_0x56a145(0x12c)]=_0x515e1b,_0x2b2a45[_0x56a145(0x1e3)]=_0x4c62d9,_0x2b2a45[_0x56a145(0x204)]=_0x27954a,_0x2b2a45['gridMode']=UiUtil[_0x56a145(0x1aa)]()?_0x2b2a45[_0x56a145(0x12c)]:_0x2b2a45[_0x56a145(0x1e3)],{'use_row_checker':_0x4dedd8,'sorters':_0x46b5f2,'pages':_0x4b9465};}static[a0_0x3b1615(0x21e)](_0x163162){const _0x47d304=a0_0x3b1615;let _0x342080={'fields':[ValueUtil['getParams'](_0x163162[_0x47d304(0x218)],'name'),ValueUtil[_0x47d304(0x11c)](_0x163162[_0x47d304(0x218)],_0x47d304(0x1b9))]};return _0x163162[_0x47d304(0x201)][_0x47d304(0x108)]&&Object[_0x47d304(0x202)](_0x342080,_0x163162[_0x47d304(0x201)][_0x47d304(0x108)]),_0x342080;}static[a0_0x3b1615(0x212)](_0x80fea5){const _0x42c699=a0_0x3b1615;let {multiple_select:_0x1c1fbe=!0x1,click:_0x1f3198}=ValueUtil['isEmpty'](_0x80fea5[_0x42c699(0x201)][_0x42c699(0x1bf)])?{}:_0x80fea5[_0x42c699(0x201)][_0x42c699(0x1bf)],_0x354c4a={'selectable':{'multiple':_0x1c1fbe},'appendable':_0x80fea5[_0x42c699(0x16e)]};return ValueUtil[_0x42c699(0x16f)](_0x1f3198)&&(_0x354c4a[_0x42c699(0x1cc)]={'click':_0x1f3198}),_0x354c4a;}static[a0_0x3b1615(0x1ab)](_0x19a5a9){const _0x278695=a0_0x3b1615;let _0x10119f=_0x19a5a9[_0x278695(0x201)]['button'];return ValueUtil['isEmpty'](_0x10119f)?[]:_0x10119f[_0x278695(0x1f0)](_0x3e0760=>{const _0x1cfb51=_0x278695;let _0x5a32c3={'type':_0x1cfb51(0xee),'gutterName':'button'};if(ValueUtil[_0x1cfb51(0x16f)](_0x3e0760[_0x1cfb51(0x1b5)])&&(Array[_0x1cfb51(0x1f3)](_0x3e0760[_0x1cfb51(0x1b5)])?_0x5a32c3[_0x1cfb51(0x1b5)]=_0x26cac6=>{const _0x18188d=_0x1cfb51;if(ValueUtil[_0x18188d(0x16f)](_0x26cac6))for(let _0x197603=0x0;_0x197603<_0x3e0760[_0x18188d(0x1b5)][_0x18188d(0x1ed)];_0x197603++){let _0x4fa286=_0x3e0760[_0x18188d(0x1b5)][_0x197603];if(!0x0===ValueUtil[_0x18188d(0x105)](_0x4fa286,_0x26cac6,Object[_0x18188d(0x12a)](_0x4fa286)[_0x18188d(0x223)](_0x48bebc=>_0x18188d(0x1b5)!=_0x48bebc)))return _0x4fa286[_0x18188d(0x1b5)];}}:_0x5a32c3['icon']=_0x3e0760[_0x1cfb51(0x1b5)]),ValueUtil[_0x1cfb51(0x16f)](_0x3e0760[_0x1cfb51(0x15d)])&&(_0x5a32c3[_0x1cfb51(0x15d)]=_0x3e0760[_0x1cfb51(0x15d)]),ValueUtil[_0x1cfb51(0x16f)](_0x3e0760[_0x1cfb51(0x14a)])&&(_0x5a32c3['title']=TermsUtil[_0x1cfb51(0x149)](_0x3e0760['label'])),'basic'===_0x3e0760[_0x1cfb51(0x214)]){let _0x52760d=ValueUtil[_0x1cfb51(0x11c)](_0x3e0760,_0x1cfb51(0x124));[_0x1cfb51(0xef),_0x1cfb51(0x170)][_0x1cfb51(0x12d)](_0x52760d)?_0x5a32c3[_0x1cfb51(0x1cc)]={'click':(_0x123041,_0x8015ed,_0x2b1b7c,_0x2087e1,_0x57929d)=>{const _0x17d26a=_0x1cfb51;if(_0x2087e1['id']){let _0x5765e1={'title':_0x17d26a(0x19a),'type':_0x17d26a(0x185),'tagname':_0x17d26a(0xef)==_0x52760d?_0x17d26a(0x163):_0x17d26a(0x1d1),'location':_0x17d26a(0xef)==_0x52760d?_0x17d26a(0x18d):_0x17d26a(0xe3),'menu':_0x19a5a9[_0x17d26a(0x130)],'size':'large','popup_field':_0x17d26a(0x198),'parent_field':'id'},_0x4034d0={..._0x2087e1,'gqlFunc':ValueUtil['getParams'](_0x19a5a9[_0x17d26a(0x222)],_0x17d26a(0x1f9),_0x17d26a(0x136)),'gristConfig':JSON['parse'](JSON[_0x17d26a(0x1f1)](_0x19a5a9[_0x17d26a(0x107)][_0x17d26a(0x137)]))};MetaUiUtil['gristButtonHandler'](_0x19a5a9,{'logic':_0x5765e1},_0x4034d0);}}}:_0x5a32c3[_0x1cfb51(0x1cc)]={'click':_0x52760d};}else _0x5a32c3[_0x1cfb51(0x1cc)]={'click':(_0x2dfc6a,_0x280071,_0x5ddab5,_0x951b90,_0x569c37)=>{_0x951b90['id']&&MetaUiUtil['gristButtonHandler'](_0x19a5a9,_0x3e0760,_0x951b90);}};return _0x5a32c3;});}static async[a0_0x3b1615(0x158)](_0x56d9b4){const _0x1df9c7=a0_0x3b1615;let _0x424716=_0x56d9b4[_0x1df9c7(0x1dc)];if(ValueUtil[_0x1df9c7(0x18f)](_0x424716))return[];let _0x55a622=[];for(let _0x223f32=0x0;_0x223f32<_0x424716['length'];_0x223f32++){let {type:_0x31a728=_0x1df9c7(0x206),name:_0x3602e4,header:_0x545009,hidden:_0x568508=!0x1,editable:_0x410929=!0x0,mandatory:_0x29e355=!0x1,sortable:_0x2cd9ca=!0x1,align:_0x82ff1d=_0x1df9c7(0x125),width:_0x454eb6=0x0,exportable:_0xb901b7=!0x1,select_opt:_0x5e37b0,object_opt:_0x3b9eb9}=_0x424716[_0x223f32],_0xa69b26={'type':_0x31a728,'name':_0x3602e4,'header':ValueUtil['isEmpty'](_0x545009)?'':TermsUtil[_0x1df9c7(0x1c5)](_0x545009),'hidden':_0x568508,'sortable':_0x2cd9ca,'width':_0x454eb6,'record':{'editable':_0x410929,'mandatory':_0x29e355,'align':_0x82ff1d}};if(_0x1df9c7(0x21b)===_0x31a728&&ValueUtil[_0x1df9c7(0x16f)](_0x5e37b0))Array['isArray'](_0x5e37b0)?_0xa69b26[_0x1df9c7(0xf3)][_0x1df9c7(0x1d8)]=_0x5e37b0:'code'===_0x5e37b0['type']?_0xa69b26[_0x1df9c7(0xf3)][_0x1df9c7(0x1d8)]=await ServiceUtil[_0x1df9c7(0x18a)](_0x5e37b0[_0x1df9c7(0x15d)]):'scenario'===_0x5e37b0[_0x1df9c7(0x214)]?_0xa69b26[_0x1df9c7(0xf3)][_0x1df9c7(0x1d8)]=await ServiceUtil['getCodeByScenario'](_0x5e37b0['name'],_0x5e37b0[_0x1df9c7(0x16d)]):_0x1df9c7(0x161)===_0x5e37b0[_0x1df9c7(0x214)]&&(_0xa69b26['record'][_0x1df9c7(0x1d8)]=await ServiceUtil['getCodeByEntity'](_0x5e37b0[_0x1df9c7(0x16d)]));else{if((_0x1df9c7(0x20c)===_0x31a728||_0x1df9c7(0x13b)===_0x31a728)&&ValueUtil[_0x1df9c7(0x16f)](_0x3b9eb9)){let _0x30fe13;_0x3b9eb9['select']&&_0x3b9eb9[_0x1df9c7(0x21b)][_0x1df9c7(0x217)](_0x551a62=>{const _0x2446d1=_0x1df9c7;_0x551a62[_0x2446d1(0xec)]||(_0x551a62[_0x2446d1(0xec)]=_0x551a62['name']),_0x551a62[_0x2446d1(0xec)]=TermsUtil[_0x2446d1(0x1c5)](_0x551a62[_0x2446d1(0xec)]);}),_0xa69b26['record'][_0x1df9c7(0x1d8)]={..._0x3b9eb9},_0x3b9eb9[_0x1df9c7(0xe0)]&&_0x3b9eb9[_0x1df9c7(0xe0)][_0x1df9c7(0x133)]&&(_0x30fe13=[..._0x3b9eb9[_0x1df9c7(0xe0)][_0x1df9c7(0x133)]]),_0x30fe13&&JSON['stringify'](_0x30fe13)[_0x1df9c7(0x12d)]('::')&&(_0xa69b26[_0x1df9c7(0x1cc)]={'dblclick':(_0x9866fb,_0x171cfa,_0x2a4347,_0x23f70b,_0x44065a)=>{const _0x64b3e6=_0x1df9c7;let _0x177e4a=[];_0x30fe13[_0x64b3e6(0x217)](_0x10ada8=>{const _0x42685a=_0x64b3e6;var {name:_0x5b947b,value:_0x2efebd,operator:_0x362759='eq'}=_0x10ada8;_0x2efebd[_0x42685a(0x12d)]('::')&&(_0x2efebd=ValueUtil[_0x42685a(0x11c)](_0x23f70b,..._0x2efebd[_0x42685a(0x176)]('::','')[_0x42685a(0x207)]('.'))),_0x2efebd||(_0x2efebd=''),_0x177e4a[_0x42685a(0x12f)]({'name':_0x5b947b,'operator':_0x362759,'value':_0x2efebd});}),_0x2a4347[_0x64b3e6(0xf3)][_0x64b3e6(0x1d8)][_0x64b3e6(0xe0)][_0x64b3e6(0x133)]=_0x177e4a;}});}}!0x0===_0x56d9b4['useButtonExport']&&!0x0===_0xb901b7&&(_0xa69b26[_0x1df9c7(0x18e)]={'header':_0xa69b26[_0x1df9c7(0xec)],'key':_0xa69b26['name'],'width':_0xa69b26[_0x1df9c7(0x164)]/0x6,'type':_0xa69b26['type']}),_0x55a622[_0x1df9c7(0x12f)](_0xa69b26);}if(!0x0!==this[_0x1df9c7(0x18c)])return _0x55a622;let _0x38b565=await MetaApi[_0x1df9c7(0x100)](this['menuId']),{template:_0x32407a={}}=_0x38b565;if(!_0x32407a[_0x1df9c7(0xf5)])return _0x55a622;let _0x2cb968=_0x32407a[_0x1df9c7(0xf5)];return _0x55a622=_0x55a622[_0x1df9c7(0x1f0)](_0x3dec36=>('id'==_0x3dec36['name']||(_0x3dec36[_0x1df9c7(0x1ad)]=!_0x2cb968[_0x1df9c7(0x12d)](_0x3dec36['name']),_0x3dec36['rank']=_0x2cb968[_0x1df9c7(0x142)](_0x3dec36[_0x1df9c7(0x15d)]),-0x1==_0x3dec36[_0x1df9c7(0x1f8)]&&(_0x3dec36['rank']=0x1869f)),_0x3dec36)),_0x55a622['sort']((_0x309f13,_0x11f9c3)=>_0x309f13[_0x1df9c7(0x1f8)]-_0x11f9c3['rank']),_0x55a622;}static[a0_0x3b1615(0xf4)](_0x44cc53,_0x43b1bb){const _0x321efc=a0_0x3b1615;let _0x33e8a0=_0x44cc53[_0x321efc(0x1c4)];return _0x33e8a0&&_0x33e8a0[_0x321efc(0x217)](_0x277e31=>{const _0x1b2f5e=_0x321efc;_0x1b2f5e(0x206)==typeof _0x277e31?_0x43b1bb[_0x1b2f5e(0x223)](_0x43bbb2=>_0x43bbb2['name']==_0x277e31)[_0x1b2f5e(0x217)](_0x813691=>{const _0x5baa65=_0x1b2f5e;_0x813691[_0x5baa65(0x223)]=_0x5baa65(0x1db);}):_0x1b2f5e(0x20c)==typeof _0x277e31&&_0x43b1bb['filter'](_0x5e21f8=>_0x5e21f8['name']==_0x277e31[_0x1b2f5e(0x15d)])[_0x1b2f5e(0x217)](_0x1bad28=>{const _0x343813=_0x1b2f5e;_0x1bad28[_0x343813(0x223)]=_0x277e31;let _0x5d0c50=_0x1bad28[_0x343813(0x223)][_0x343813(0x19c)];if(_0x5d0c50&&_0x5d0c50[_0x343813(0x150)](_0x343813(0x174))){const _0x4d0b76=a0_0x46ba08();let _0xe193c8=_0x5d0c50['split'](','),_0xf3811f=[];_0xe193c8[_0x343813(0x217)](_0x59d597=>{const _0xe7eb34=_0x343813;_0xe7eb34(0x174)==_0x59d597?_0xf3811f[_0xe7eb34(0x12f)](_0x4d0b76[_0xe7eb34(0x171)](_0xe7eb34(0x19b))):_0x59d597['includes']('-')?_0xf3811f[_0xe7eb34(0x12f)](_0x4d0b76[_0xe7eb34(0x153)](_0x59d597[_0xe7eb34(0x207)]('-')[0x1],'day')[_0xe7eb34(0x171)]('YYYY-MM-DD')):_0x59d597['includes']('+')&&_0xf3811f[_0xe7eb34(0x12f)](_0x4d0b76[_0xe7eb34(0xf9)](_0x59d597[_0xe7eb34(0x207)]('+')[0x1],_0xe7eb34(0xe4))[_0xe7eb34(0x171)](_0xe7eb34(0x19b)));}),_0x1bad28[_0x343813(0x223)][_0x343813(0x19c)]=0x1==_0xf3811f['length']?_0xf3811f[0x0]:_0xf3811f;}});}),_0x43b1bb;}static[a0_0x3b1615(0x1e5)](_0x45a076){const _0x1416c3=a0_0x3b1615;let _0x3a2810={'title':TermsUtil[_0x1416c3(0x1ca)](_0x45a076['menuInfo'][_0x1416c3(0x1e1)]),'help':_0x45a076[_0x1416c3(0x218)]['help']||'','actions':[...MetaUiUtil[_0x1416c3(0x1f7)](_0x45a076)]};return _0x45a076[_0x1416c3(0x168)]&&(_0x3a2810[_0x1416c3(0xfe)]={'name':_0x3a2810[_0x1416c3(0x1e1)],'data':_0x45a076[_0x1416c3(0x186)][_0x1416c3(0x1fe)](_0x45a076)}),_0x45a076[_0x1416c3(0x1e4)]&&(_0x3a2810[_0x1416c3(0x183)]={'handler':_0x45a076[_0x1416c3(0x129)]['bind'](_0x45a076)}),_0x3a2810;}static[a0_0x3b1615(0x1f7)](_0x514524){const _0x214cae=a0_0x3b1615;let _0x241fb1=_0x514524[_0x214cae(0x1b2)];return ValueUtil[_0x214cae(0x18f)](_0x241fb1)?[]:_0x241fb1[_0x214cae(0x223)](_0x2005e1=>_0x214cae(0x186)!=_0x2005e1['name']&&_0x214cae(0x129)!=_0x2005e1[_0x214cae(0x15d)]&&_0x214cae(0xf9)!=_0x2005e1[_0x214cae(0x15d)])[_0x214cae(0x1f0)](_0x116c70=>{const _0x328dea=_0x214cae;let {name:_0x3b326c,label:_0x2f8ac7,style:_0x5ddfd4,type:_0x21fd67=_0x328dea(0x17c),action:_0xa340cc,logic:_0x2d765a}=_0x116c70;if(ValueUtil[_0x328dea(0x18f)](_0x3b326c))return{'title':'-1'};ValueUtil[_0x328dea(0x18f)](_0x2f8ac7)&&(_0x2f8ac7=_0x3b326c),ValueUtil[_0x328dea(0x18f)](_0x5ddfd4)&&(_0x5ddfd4=_0x3b326c),ValueUtil[_0x328dea(0x18f)](_0xa340cc)&&(_0xa340cc=_0x3b326c);let _0x3b0cc9=ValueUtil[_0x328dea(0x16f)](_0x5ddfd4)?CommonButtonStyles[_0x5ddfd4]||{'icon':_0x5ddfd4,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x328dea(0x149)](_0x2f8ac7),'action':MetaUiUtil[_0x328dea(0x189)](_0x514524,_0x21fd67,_0xa340cc,_0x2d765a),..._0x3b0cc9};})[_0x214cae(0x223)](_0x30718f=>'-1'!=_0x30718f[_0x214cae(0x1e1)]);}static[a0_0x3b1615(0x1f6)](_0x1ec200){const _0x39a89b=a0_0x3b1615;let _0x582c85=_0x1ec200&&_0x1ec200[_0x39a89b(0x1b2)]?_0x1ec200[_0x39a89b(0x1b2)]:null;return _0x582c85?_0x582c85[_0x39a89b(0x223)](_0x54553e=>_0x39a89b(0xf9)!=_0x54553e[_0x39a89b(0x15d)])[_0x39a89b(0x1f0)](_0x42aa9d=>{const _0x5e1f3c=_0x39a89b;let {name:_0x900148,label:_0x3c54b1,style:_0xc51643,type:_0x26aa8a='basic',action:_0x57547b,logic:_0x2f7345}=_0x42aa9d;ValueUtil['isEmpty'](_0x3c54b1)&&(_0x3c54b1=_0x900148),ValueUtil['isEmpty'](_0xc51643)&&(_0xc51643=_0x900148),ValueUtil[_0x5e1f3c(0x18f)](_0x57547b)&&(_0x57547b=_0x900148);let _0x1d86e6=MetaUiUtil[_0x5e1f3c(0x1d5)](TermsUtil['tButton'](_0x3c54b1),_0xc51643);return _0x1d86e6[_0x5e1f3c(0x1a2)]=MetaUiUtil['getButtonActionHandler'](_0x1ec200,_0x26aa8a,_0x57547b,_0x2f7345),_0x1d86e6;}):[];}static['createButtonElement'](_0x355c22,_0x4e9091){const _0x763e2=a0_0x3b1615;let _0x395966=CommonButtonStyles[_0x4e9091]||{'icon':_0x4e9091,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x231eb2=_0x763e2(0x111)+_0x355c22+_0x763e2(0xe5)+(_0x395966['icon']?_0x395966[_0x763e2(0x1b5)]:'')+'\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x395966[_0x763e2(0x1ee)][_0x763e2(0x102)]?_0x763e2(0x102):'')+_0x763e2(0x184)+(_0x395966[_0x763e2(0x1ee)][_0x763e2(0x1e6)]?_0x763e2(0x1e6):'')+_0x763e2(0x184)+(_0x395966[_0x763e2(0x1ee)][_0x763e2(0x11b)]?'dense':'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x395966['emphasis'][_0x763e2(0x21c)]?_0x763e2(0x21c):'')+_0x763e2(0x221);return UiUtil[_0x763e2(0x140)](_0x231eb2);}static[a0_0x3b1615(0x189)](_0x3f88a1,_0x36787f,_0x1cd30d,_0x576875){const _0x3aa687=a0_0x3b1615;if(_0x3aa687(0x17c)==_0x36787f){if(_0x3f88a1[_0x1cd30d])return _0x3f88a1[_0x1cd30d][_0x3aa687(0x1fe)](_0x3f88a1);}else{if('custom'==_0x36787f)return()=>MetaUiUtil[_0x3aa687(0x1c7)](_0x3f88a1,_0x576875);}return()=>{const _0x363562=_0x3aa687;UiUtil[_0x363562(0x120)](_0x363562(0xea),_0x363562(0x147),_0x363562(0x1ce),_0x363562(0x14e));};}static async[a0_0x3b1615(0x20a)](_0x13d965,_0x327620,_0x10ef04){const _0x368dee=a0_0x3b1615;let _0x4ff203=ValueUtil[_0x368dee(0x11c)](_0x327620,_0x368dee(0x124)),_0x408f44=ValueUtil[_0x368dee(0x11c)](_0x4ff203,_0x368dee(0x214));if(_0x368dee(0x146)===_0x408f44)_0x4ff203[_0x368dee(0x116)]=_0x368dee(0x17d),_0x4ff203[_0x368dee(0x13c)]=_0x368dee(0x110),_0x4ff203[_0x368dee(0x1b4)]='id',await MetaUiUtil[_0x368dee(0xe9)](_0x13d965,_0x4ff203,_0x10ef04);else{if('pass_param'===_0x408f44)MetaUiUtil[_0x368dee(0x11e)](_0x13d965,_0x4ff203,_0x10ef04);else{if(_0x368dee(0x1fd)===_0x408f44){let _0x1e6c60;_0x4ff203['param_field']?(_0x1e6c60={},Object[_0x368dee(0x12a)](_0x10ef04)[_0x368dee(0x223)](_0x4a13f0=>Object[_0x368dee(0x12a)](_0x4ff203[_0x368dee(0x157)])[_0x368dee(0x12d)](_0x4a13f0))[_0x368dee(0x1f0)](_0x2f5ec5=>{const _0x3aa5c6=_0x368dee;Object['keys'](_0x4ff203['param_field'])[_0x3aa5c6(0x12d)](_0x2f5ec5)&&(_0x3aa5c6(0x206)==typeof _0x10ef04[_0x2f5ec5]?_0x1e6c60[_0x4ff203[_0x3aa5c6(0x157)][_0x2f5ec5]]=_0x10ef04[_0x2f5ec5]:_0x1e6c60[_0x4ff203[_0x3aa5c6(0x157)][_0x2f5ec5]]={'id':_0x10ef04[_0x2f5ec5]['id']});})):_0x1e6c60=_0x10ef04,UiUtil[_0x368dee(0x209)](_0x4ff203[_0x368dee(0x187)],[_0x1e6c60]);}else'popup'===_0x408f44?await MetaUiUtil['commonButtonOpenPopup'](_0x13d965,_0x4ff203,_0x10ef04):'scenario'===_0x408f44?await MetaUiUtil[_0x368dee(0x172)](_0x13d965,_0x4ff203,_0x10ef04):_0x368dee(0x1bb)===_0x408f44&&await MetaUiUtil[_0x368dee(0x1ba)](_0x13d965,_0x4ff203,_0x10ef04);}}}static async[a0_0x3b1615(0x1c7)](_0x35ae01,_0x2fa87a){const _0x5d44e6=a0_0x3b1615;if(ValueUtil['isEmpty'](_0x2fa87a))return;let _0x3469e8=_0x35ae01[_0x5d44e6(0x107)],_0x1a8d5b=_0x35ae01['filterForm'],_0x24d667=ValueUtil['getParams'](_0x2fa87a,_0x5d44e6(0x214)),_0x2eadcd=ValueUtil[_0x5d44e6(0x11c)](_0x2fa87a,_0x5d44e6(0x165)),_0x3d88f2=_0x2eadcd[_0x5d44e6(0x223)](_0x9f0b3a=>_0x9f0b3a[_0x5d44e6(0x150)](_0x5d44e6(0x107)));if(ValueUtil[_0x5d44e6(0x16f)](_0x3d88f2)){if(!_0x3469e8)return void UiUtil[_0x5d44e6(0x120)]('title.info','text.grid_is_not_exist',_0x5d44e6(0x1ce),_0x5d44e6(0x14e));if(0x0==(_0x3469e8[_0x5d44e6(0x113)]?_0x3469e8[_0x5d44e6(0x113)][_0x5d44e6(0x173)]:[])['length'])return void UiUtil[_0x5d44e6(0x120)](_0x5d44e6(0x141),'text.grid_data_is_empty','info',_0x5d44e6(0x14e));if(_0x2eadcd[_0x5d44e6(0x12d)](_0x5d44e6(0x15b))||_0x2eadcd[_0x5d44e6(0x12d)]('grist_selected')){let _0x1b4984=_0x3469e8[_0x5d44e6(0x1fb)];if(ValueUtil[_0x5d44e6(0x18f)](_0x1b4984))return void UiUtil[_0x5d44e6(0x120)]('text.nothing_selected',_0x5d44e6(0x16a),_0x5d44e6(0x1ce),_0x5d44e6(0x14e));if(_0x2eadcd[_0x5d44e6(0x12d)](_0x5d44e6(0x15b))&&_0x1b4984[_0x5d44e6(0x1ed)]>0x1)return void UiUtil['showAlertPopup'](_0x5d44e6(0x141),'text.please_select_only_one','info','confirm');}}let _0x32cd5d={};if(_0x2eadcd[_0x5d44e6(0x12d)](_0x5d44e6(0x223))){if(!_0x1a8d5b)return void UiUtil['showAlertPopup'](_0x5d44e6(0x141),_0x5d44e6(0x17a),_0x5d44e6(0x1ce),_0x5d44e6(0x14e));let _0x563f36=_0x1a8d5b?await _0x1a8d5b['getQueryFilters']():[];_0x32cd5d[_0x5d44e6(0x223)]=_0x563f36;}if(_0x2eadcd['includes'](_0x5d44e6(0x104)))_0x32cd5d[_0x5d44e6(0x107)]=_0x3469e8[_0x5d44e6(0x113)][_0x5d44e6(0x173)];else{if(_0x2eadcd[_0x5d44e6(0x12d)](_0x5d44e6(0x15b)))_0x32cd5d[_0x5d44e6(0x107)]=_0x3469e8[_0x5d44e6(0x1fb)][0x0];else{if(_0x2eadcd[_0x5d44e6(0x12d)](_0x5d44e6(0x131)))_0x32cd5d[_0x5d44e6(0x107)]=_0x3469e8[_0x5d44e6(0x1fb)];else{if(_0x2eadcd['includes'](_0x5d44e6(0x114))&&(_0x32cd5d[_0x5d44e6(0x107)]=ServiceUtil[_0x5d44e6(0x1b6)](_0x3469e8),!_0x32cd5d['grist']))return;}}}if(_0x5d44e6(0x1fd)===_0x24d667){let _0x303e78,_0x537e4d=Array[_0x5d44e6(0x1f3)](_0x32cd5d['grist'])?_0x32cd5d[_0x5d44e6(0x107)]:[_0x32cd5d[_0x5d44e6(0x107)]];_0x303e78=_0x2fa87a[_0x5d44e6(0x157)]?_0x537e4d['map'](_0x27b810=>{const _0x53ab1a=_0x5d44e6;let _0x1a84d1={};return Object[_0x53ab1a(0x12a)](_0x27b810)[_0x53ab1a(0x223)](_0x420c25=>Object[_0x53ab1a(0x12a)](_0x2fa87a[_0x53ab1a(0x157)])[_0x53ab1a(0x12d)](_0x420c25))[_0x53ab1a(0x1f0)](_0x1bbf5b=>{const _0x81bbbe=_0x53ab1a;Object[_0x81bbbe(0x12a)](_0x2fa87a[_0x81bbbe(0x157)])[_0x81bbbe(0x12d)](_0x1bbf5b)&&(_0x81bbbe(0x206)==typeof _0x27b810[_0x1bbf5b]?_0x1a84d1[_0x2fa87a[_0x81bbbe(0x157)][_0x1bbf5b]]=_0x27b810[_0x1bbf5b]:_0x1a84d1[_0x2fa87a['param_field'][_0x1bbf5b]]={'id':_0x27b810[_0x1bbf5b]['id']});}),_0x1a84d1;}):_0x537e4d,UiUtil['pageNavigate'](_0x2fa87a[_0x5d44e6(0x187)],_0x303e78);}else{if(_0x5d44e6(0x185)===_0x24d667){let _0x55638b={..._0x32cd5d[_0x5d44e6(0x107)]?_0x32cd5d['grist']:{},..._0x32cd5d[_0x5d44e6(0x223)]?_0x32cd5d['filter']:{}};await MetaUiUtil[_0x5d44e6(0xe9)](_0x35ae01,_0x2fa87a,_0x55638b);}else'scenario'===_0x24d667&&await MetaUiUtil[_0x5d44e6(0x172)](_0x35ae01,_0x2fa87a,_0x32cd5d);}}static[a0_0x3b1615(0x11e)](_0x3a4c63,_0x5d1087,_0x6e7b4e){const _0x232fd9=a0_0x3b1615;let _0x3ed69b=_0x5d1087[_0x232fd9(0xf2)],_0x1f748e={},_0x519528=_0x3a4c63[_0x232fd9(0x1b7)][_0x232fd9(0x155)](),_0xdefefb=_0x3a4c63;_0x1f748e=_0x519528[_0x232fd9(0x150)](_0x232fd9(0x16c))?{'detail':{..._0x3ed69b}}:_0x519528[_0x232fd9(0x150)](_0x232fd9(0x123))?_0x3a4c63[_0x232fd9(0x103)]['tagName']['toLowerCase']()[_0x232fd9(0x150)](_0x232fd9(0x1ea))?{'detail':{..._0x3ed69b}}:{'self':{..._0x3ed69b}}:_0x3ed69b,Object[_0x232fd9(0x12a)](_0x1f748e)[_0x232fd9(0x217)](_0x113cf7=>{const _0x42111d=_0x232fd9;_0x42111d(0xf5)==_0x113cf7?_0xdefefb=_0x3a4c63[_0x42111d(0x175)][_0x42111d(0x13d)]:_0x42111d(0x1de)==_0x113cf7?_0xdefefb=_0x3a4c63[_0x42111d(0x175)]?_0x3a4c63[_0x42111d(0x175)][_0x42111d(0x103)]:_0x3a4c63[_0x42111d(0x103)]:_0x42111d(0x178)==_0x113cf7&&(_0xdefefb=_0x3a4c63),Object[_0x42111d(0x12a)](_0x1f748e[_0x113cf7])[_0x42111d(0x217)](_0x532bfc=>{const _0x785eaf=_0x42111d;let _0x25818f=_0xdefefb[_0x785eaf(0x210)][_0x785eaf(0x128)]('#'+_0x532bfc);_0x6e7b4e['id']&&_0x25818f[_0x785eaf(0x138)](_0x6e7b4e['id']);let _0x181173=_0x1f748e[_0x113cf7][_0x532bfc];Object[_0x785eaf(0x12a)](_0x181173)['forEach'](_0x264193=>{let _0x101281=_0x181173[_0x264193],_0x11a094='*'===_0x101281?_0x6e7b4e:_0x6e7b4e[_0x101281];_0x25818f[_0x264193]=_0x11a094;});});});}static async[a0_0x3b1615(0xe9)](_0x2cd29a,_0x522cf9,_0x3f8fcd){const _0x567967=a0_0x3b1615;let _0x4bd48e=TermsUtil[_0x567967(0x1ca)](_0x522cf9[_0x567967(0x1e1)]);ValueUtil[_0x567967(0x16f)](_0x522cf9['title_detail'])&&(_0x4bd48e=_0x4bd48e+'('+ValueUtil['getParams'](_0x3f8fcd,..._0x522cf9[_0x567967(0x10a)][_0x567967(0x207)]('.'))+')');let _0x57671a=_0x522cf9[_0x567967(0x126)]&&'string'==typeof _0x522cf9[_0x567967(0x126)]&&'fetch'===_0x522cf9['after']&&_0x2cd29a&&_0x2cd29a[_0x567967(0x1c6)]?_0x2cd29a[_0x567967(0x1c6)]['bind'](_0x2cd29a):void 0x0;UiUtil[_0x567967(0x154)](_0x4bd48e,_0x522cf9,_0x3f8fcd,_0x57671a);}static async[a0_0x3b1615(0x172)](_0x555f93,_0x4d1d22,_0x2c8ac0){const _0x404771=a0_0x3b1615;let _0x9a5b32=await ServiceUtil['callScenario'](_0x404771(0x132),_0x4d1d22['name'],_0x2c8ac0);if(!_0x9a5b32[_0x404771(0x134)]&&!ValueUtil[_0x404771(0x18f)](_0x4d1d22[_0x404771(0x126)])&&_0x4d1d22[_0x404771(0x126)]){if(_0x404771(0x1c6)!==_0x4d1d22[_0x404771(0x126)]){if(_0x404771(0x20c)==typeof _0x4d1d22[_0x404771(0x126)]){let _0x55481e=_0x4d1d22[_0x404771(0x126)],_0x45156b=ValueUtil[_0x404771(0x11c)](_0x9a5b32[_0x404771(0x113)][_0x404771(0xe8)][_0x404771(0x113)],..._0x55481e[_0x404771(0x1df)][_0x404771(0x207)]('.'));if(0x0==Array[_0x404771(0x1f3)](_0x45156b)&&(_0x45156b=[_0x45156b]),_0x404771(0x146)===_0x55481e[_0x404771(0x214)])_0x55481e['tagname']=_0x404771(0x17d),_0x55481e[_0x404771(0x13c)]=_0x404771(0x110),_0x55481e[_0x404771(0x1b4)]='id',_0x45156b=_0x45156b[0x0],await MetaUiUtil[_0x404771(0xe9)](_0x555f93,_0x55481e,_0x45156b);else{if(_0x404771(0x1fd)===_0x55481e[_0x404771(0x214)]){let _0x4b88a0,_0x377d72=_0x45156b;_0x4b88a0=_0x55481e[_0x404771(0x157)]?_0x377d72[_0x404771(0x1f0)](_0x5b1c46=>{const _0x327683=_0x404771;let _0x109c47={};return Object[_0x327683(0x12a)](_0x5b1c46)['filter'](_0x2fc0e3=>Object[_0x327683(0x12a)](_0x55481e[_0x327683(0x157)])['includes'](_0x2fc0e3))[_0x327683(0x1f0)](_0x1d8f09=>{const _0x559d3e=_0x327683;Object[_0x559d3e(0x12a)](_0x55481e['param_field'])[_0x559d3e(0x12d)](_0x1d8f09)&&(_0x559d3e(0x206)==typeof _0x5b1c46[_0x1d8f09]?_0x109c47[_0x55481e[_0x559d3e(0x157)][_0x1d8f09]]=_0x5b1c46[_0x1d8f09]:_0x109c47[_0x55481e[_0x559d3e(0x157)][_0x1d8f09]]={'id':_0x5b1c46[_0x1d8f09]['id']});}),_0x109c47;}):_0x377d72,UiUtil[_0x404771(0x209)](_0x55481e[_0x404771(0x187)],_0x4b88a0);}else _0x404771(0x1d2)===_0x55481e[_0x404771(0x214)]?(_0x45156b=_0x45156b[0x0],MetaUiUtil[_0x404771(0x11e)](_0x555f93,_0x55481e,_0x45156b)):'popup'===_0x55481e['type']?(_0x45156b=_0x45156b[0x0],await MetaUiUtil[_0x404771(0xe9)](_0x555f93,_0x55481e,_0x45156b)):_0x404771(0x1bb)===_0x55481e[_0x404771(0x214)]&&(_0x45156b=_0x45156b[0x0],await MetaUiUtil[_0x404771(0x1ba)](_0x555f93,_0x55481e,_0x45156b));}}}else _0x555f93[_0x404771(0x1c6)]();}}static async[a0_0x3b1615(0x1ba)](_0x1fdb27,_0x14643f,_0x369e52){const _0x40edba=a0_0x3b1615;for(let _0x3fe9ab=0x0;_0x3fe9ab<_0x14643f[_0x40edba(0x1b8)][_0x40edba(0x1ed)];_0x3fe9ab++){let _0x4af465=_0x14643f[_0x40edba(0x1b8)][_0x3fe9ab];!0x0===ValueUtil['compareObjectValues'](_0x4af465,_0x369e52,Object['keys'](_0x4af465)[_0x40edba(0x223)](_0x3926c4=>_0x40edba(0x124)!=_0x3926c4))&&await MetaUiUtil[_0x40edba(0x20a)](_0x1fdb27,_0x4af465,_0x369e52);}}static['getGristHiddenColumnConfig'](_0x5afcdb,_0x191241){return{'type':_0x5afcdb,'name':_0x191241,'sortable':!0x1,'hidden':!0x0};}static[a0_0x3b1615(0x21f)](_0x235044,_0x35cd43,_0x4f1032,_0x4c4a72,_0x2153b4,_0x3b9c03){const _0x3590af=a0_0x3b1615;let _0x5ac7a8=TermsUtil[_0x3590af(0x1c5)](_0x35cd43);return{'type':_0x235044,'name':_0x35cd43,'header':_0x5ac7a8,'record':{'align':_0x4f1032,'editable':_0x4c4a72},'sortable':_0x2153b4,'width':_0x3b9c03,'imex':{'width':Math[_0x3590af(0x144)](_0x3b9c03/0x6),'header':_0x5ac7a8,'type':_0x235044,'key':_0x35cd43}};}static[a0_0x3b1615(0x1c3)](_0x26134f,_0xe534ef,_0x3f8c6a,_0x17c82c,_0x419bd5,_0x184086,_0x20e537){const _0x17dba8=a0_0x3b1615;let _0x441bfb=TermsUtil['tLabel'](_0x3f8c6a);return{'type':_0x26134f,'name':_0xe534ef,'header':_0x441bfb,'record':{'align':_0x17c82c,'editable':_0x419bd5},'sortable':_0x184086,'width':_0x20e537,'imex':{'width':Math[_0x17dba8(0x144)](_0x20e537/0x6),'header':_0x441bfb,'type':_0x26134f,'key':_0xe534ef}};}static['getGristColumnConfig3'](_0x139caa,_0x2b8ee4,_0x1d39d2,_0x5e2f22,_0x52c67e,_0x346e36,_0x295f05,_0x14015b){const _0x4c400d=a0_0x3b1615;let _0x16ad75=TermsUtil[_0x4c400d(0x1c5)](_0x1d39d2);return{'type':_0x139caa,'name':_0x2b8ee4,'header':_0x16ad75,'record':{'align':_0x5e2f22,'editable':_0x52c67e,'mandatory':_0x295f05},'sortable':_0x346e36,'width':_0x14015b,'imex':{'width':Math[_0x4c400d(0x144)](_0x14015b/0x6),'header':_0x16ad75,'type':_0x139caa,'key':_0x2b8ee4}};}static[a0_0x3b1615(0x117)](_0x266b56,_0x3e10ea,_0xeb07b4,_0x486d8f,_0x5633dd,_0x2db290,_0x1df573){const _0x14151f=a0_0x3b1615;let _0x1eed5d=TermsUtil[_0x14151f(0x1c5)](_0x3e10ea);return{'type':_0x14151f(0x21b),'name':_0x266b56,'header':_0x1eed5d,'record':{'align':_0xeb07b4,'editable':!0x0,'mandatory':_0x2db290,'options':_0x1df573},'sortable':_0x486d8f,'width':_0x5633dd,'imex':{'width':Math[_0x14151f(0x144)](_0x5633dd/0x6),'header':_0x1eed5d,'type':_0x14151f(0x206),'key':_0x266b56}};}static async[a0_0x3b1615(0x1ec)](_0x26151e,_0x566f34,_0x11ad1d,_0x3d1ab8,_0x998d74,_0x3c857f,_0x4ff30e){const _0x5e1fce=a0_0x3b1615;let _0x202488=await ServiceUtil[_0x5e1fce(0x18a)](_0x4ff30e);return MetaUiUtil[_0x5e1fce(0x117)](_0x26151e,_0x566f34,_0x11ad1d,_0x3d1ab8,_0x998d74,_0x3c857f,_0x202488);}static[a0_0x3b1615(0x1da)](_0x187030,_0x222681,_0x55e280,_0x3d6e2b,_0x575de2){const _0x5cdb7b=a0_0x3b1615;let _0x19322e=TermsUtil[_0x5cdb7b(0x1c5)](_0x55e280),_0x174b2e={'name':_0x187030,'type':_0x222681,'label':_0x19322e,'operator':_0x3d6e2b,'imex':{'width':0x10,'header':_0x19322e,'type':_0x222681,'key':_0x187030}};return _0x575de2&&(_0x174b2e[_0x5cdb7b(0x1d8)]=_0x575de2),_0x174b2e;}static async[a0_0x3b1615(0xfb)](_0x4b8ada,_0x48d474,_0x226ad8,_0x5c5ef9,_0x4f446d){let _0x4b31a1=await ServiceUtil['getCodeSelectorData'](_0x4f446d);return MetaUiUtil['getGristSearchColumnConfig'](_0x4b8ada,_0x48d474,_0x226ad8,_0x5c5ef9,_0x4b31a1);}static[a0_0x3b1615(0x180)](){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_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=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_0x3b1615(0x166)](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static[a0_0x3b1615(0x10d)](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static[
|
|
51
|
+
`];}static['getBasicGristStyles'](){const _0x363497=a0_0x3b1615;return[ScrollbarStyles,CommonGristStyles,css`
|
|
52
52
|
:host {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -58,7 +58,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
58
58
|
ox-grist {
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
flex: 1;
|
|
61
|
-
}`,...MetaUiUtil[
|
|
61
|
+
}`,...MetaUiUtil[_0x363497(0x166)](),...MetaUiUtil[_0x363497(0x180)](),...MetaUiUtil[_0x363497(0x10d)]()];}static['getBasicGristTabStyles'](){const _0x4c2cd4=a0_0x3b1615;return[ScrollbarStyles,CommonGristStyles,css`
|
|
62
62
|
:host {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -105,7 +105,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
105
105
|
ox-grist {
|
|
106
106
|
overflow-y: auto;
|
|
107
107
|
flex: 1;
|
|
108
|
-
}`,...MetaUiUtil[
|
|
108
|
+
}`,...MetaUiUtil[_0x4c2cd4(0x166)](),...MetaUiUtil[_0x4c2cd4(0x180)](),...MetaUiUtil[_0x4c2cd4(0x10d)]()];}static[a0_0x3b1615(0xfa)](){const _0x40c951=a0_0x3b1615;return[ScrollbarStyles,CommonGristStyles,css`
|
|
109
109
|
:host {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
@@ -152,7 +152,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
152
152
|
ox-grist {
|
|
153
153
|
overflow-y: auto;
|
|
154
154
|
flex: 1;
|
|
155
|
-
}`,...MetaUiUtil[
|
|
155
|
+
}`,...MetaUiUtil[_0x40c951(0x166)](),...MetaUiUtil[_0x40c951(0x180)](),...MetaUiUtil[_0x40c951(0x10d)]()];}static[a0_0x3b1615(0x1ef)](){const _0x142184=a0_0x3b1615;return[ScrollbarStyles,CommonGristStyles,css`
|
|
156
156
|
:host {
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
@@ -199,7 +199,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
199
199
|
ox-grist {
|
|
200
200
|
overflow-y: auto;
|
|
201
201
|
flex: 1;
|
|
202
|
-
}`,...MetaUiUtil[
|
|
202
|
+
}`,...MetaUiUtil[_0x142184(0x166)](),...MetaUiUtil[_0x142184(0x180)](),...MetaUiUtil[_0x142184(0x10d)]()];}static['getBasicMasterDetailGristStyle'](_0x4f8ecc){const _0x245fb3=a0_0x3b1615;return _0x245fb3(0x143)==_0x4f8ecc?MetaUiUtil[_0x245fb3(0x192)]():MetaUiUtil[_0x245fb3(0x1a3)]();}static[a0_0x3b1615(0x192)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
203
203
|
:host {
|
|
204
204
|
display: flex;
|
|
205
205
|
flex-direction: column;
|
|
@@ -266,7 +266,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
266
266
|
margin-left:7px;
|
|
267
267
|
margin-top:7px;
|
|
268
268
|
}
|
|
269
|
-
`];}static[
|
|
269
|
+
`];}static[a0_0x3b1615(0x1a3)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
270
270
|
:host {
|
|
271
271
|
display: flex;
|
|
272
272
|
flex-direction: column;
|
|
@@ -333,7 +333,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
333
333
|
margin-left:7px;
|
|
334
334
|
margin-top:7px;
|
|
335
335
|
}
|
|
336
|
-
`];}static[
|
|
336
|
+
`];}static['getBasicFormStyles'](){const _0x11cdbc=a0_0x3b1615;return[ScrollbarStyles,css`
|
|
337
337
|
:host {
|
|
338
338
|
display: flex;
|
|
339
339
|
flex: 1;
|
|
@@ -422,7 +422,7 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
422
422
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
`,...MetaUiUtil[
|
|
425
|
+
`,...MetaUiUtil[_0x11cdbc(0x180)]()];}static[a0_0x3b1615(0x160)](){return[css`
|
|
426
426
|
:host {
|
|
427
427
|
display: flex;
|
|
428
428
|
flex: 1;
|
|
@@ -477,185 +477,188 @@ const a0_0xec59e1=a0_0x28ba;(function(_0x59c973,_0x54e7ef){const _0x3b0db5=a0_0x
|
|
|
477
477
|
overflow-x: overlay;
|
|
478
478
|
background-color: var(--main-section-background-color);
|
|
479
479
|
}
|
|
480
|
-
`];}static['isButtonExist'](
|
|
480
|
+
`];}static['isButtonExist'](_0x1025c1,_0x36b5ca){const _0x2baa2f=a0_0x3b1615;return!!(_0x1025c1?_0x1025c1[_0x2baa2f(0x19d)](_0x3d461a=>_0x3d461a[_0x2baa2f(0x15d)]==_0x36b5ca):null);}static[a0_0x3b1615(0x1a1)](_0x5b956c,_0x4c0e0a){const _0xa6d6c=a0_0x3b1615;return!!(_0x5b956c&&_0x5b956c['button']?_0x5b956c[_0xa6d6c(0x191)]['find'](_0x5ba003=>_0x5ba003[_0xa6d6c(0x15d)]==_0x4c0e0a):null);}static[a0_0x3b1615(0x1fc)](_0x191009){const _0x5276f9=a0_0x3b1615;let _0x5a0a08='';return _0x191009[_0x5276f9(0x223)](_0x244a85=>_0x5276f9(0xee)!=_0x244a85[_0x5276f9(0x214)])[_0x5276f9(0x217)](_0x7c97d4=>{const _0x3346eb=_0x5276f9;_0x5a0a08+='\x0a',_0x5a0a08+=_0x3346eb(0x20c)==_0x7c97d4['type']||_0x3346eb(0x13b)==_0x7c97d4[_0x3346eb(0x214)]?_0x7c97d4[_0x3346eb(0x15d)]+'\x0a{'+MetaUiUtil[_0x3346eb(0x196)](_0x7c97d4)+'}':_0x3346eb(0xfd)==_0x7c97d4['type']?_0x7c97d4[_0x3346eb(0x15d)]+'\x0a{\x0aid\x0aname\x0athumbnail}':_0x7c97d4[_0x3346eb(0x15d)];}),_0x5a0a08;}static[a0_0x3b1615(0x196)](_0x5b533d){const _0x19a463=a0_0x3b1615;let _0x4c429b='';return ValueUtil[_0x19a463(0x16f)](_0x5b533d[_0x19a463(0xf3)][_0x19a463(0x1d8)])&&ValueUtil[_0x19a463(0x16f)](_0x5b533d[_0x19a463(0xf3)][_0x19a463(0x1d8)][_0x19a463(0x21b)])&&_0x5b533d[_0x19a463(0xf3)][_0x19a463(0x1d8)][_0x19a463(0x21b)]['forEach'](_0x3a1cee=>{const _0xc87d69=_0x19a463;_0x3a1cee['name']&&''!==_0x3a1cee[_0xc87d69(0x15d)]&&(_0xc87d69(0x20c)===_0x3a1cee[_0xc87d69(0x214)]||_0xc87d69(0x13b)===_0x3a1cee[_0xc87d69(0x214)]?_0x4c429b+='\x0a'+_0x3a1cee['name']+_0xc87d69(0x12e)+MetaUiUtil['getObjctColumnSelectFields'](_0x3a1cee)+_0xc87d69(0x1a9):_0x4c429b+='\x0a'+_0x3a1cee[_0xc87d69(0x15d)]);}),''==_0x4c429b&&(_0x4c429b+='\x0aid\x0aname\x0adescription'),_0x4c429b;}static[a0_0x3b1615(0x139)](_0x324570){const _0x11872e=a0_0x3b1615;let _0x130926=_0x324570[_0x11872e(0x1d4)];if(_0x130926){let _0x12dbfe=_0x324570[_0x11872e(0x1e0)]?_0x324570[_0x11872e(0x1e0)]:_0x11872e(0x1a7),_0x2d59bc=_0x324570[_0x11872e(0x121)];return html`
|
|
481
481
|
<ox-grist
|
|
482
|
-
id=${
|
|
483
|
-
.config=${
|
|
484
|
-
.mode=${
|
|
482
|
+
id=${_0x12dbfe}
|
|
483
|
+
.config=${_0x130926}
|
|
484
|
+
.mode=${_0x2d59bc}
|
|
485
485
|
auto-fetch
|
|
486
|
-
.fetchHandler=${
|
|
487
|
-
${MetaUiUtil[
|
|
486
|
+
.fetchHandler=${_0x324570[_0x11872e(0x148)][_0x11872e(0x1fe)](_0x324570)}>
|
|
487
|
+
${MetaUiUtil['getGridDetailHtml'](_0x324570)}
|
|
488
488
|
</ox-grist>
|
|
489
|
-
`;}return html``;}static[
|
|
489
|
+
`;}return html``;}static[a0_0x3b1615(0xf8)](_0x45d52f){const _0xf5ba73=a0_0x3b1615;if(!_0x45d52f)return html``;if(!_0x45d52f['formConfigSet'])return html``;let _0x9d6df4=_0x45d52f['formConfigSet'],_0x247ab4=_0x45d52f[_0xf5ba73(0xf3)]||{},_0x511eb9=_0x9d6df4[_0xf5ba73(0x223)](_0x4dfb5b=>0x0==_0x4dfb5b['hidden']);return ValueUtil[_0xf5ba73(0x18f)](_0x45d52f[_0xf5ba73(0x1c1)])?MetaUiUtil[_0xf5ba73(0x199)](_0x45d52f,_0x511eb9,_0x247ab4):MetaUiUtil[_0xf5ba73(0x208)](_0x45d52f,_0x511eb9,_0x247ab4);}static[a0_0x3b1615(0x208)](_0x259a9f,_0x26aae6,_0x5311a){const _0x8c1684=a0_0x3b1615;let _0x3d1f7a=_0x259a9f['formRenderConfig'];return html`
|
|
490
490
|
<div class="root_container">
|
|
491
|
-
${
|
|
491
|
+
${_0x3d1f7a['map'](_0x5c854a=>{const _0x56117a=a0_0x4394;let _0x237a78=_0x26aae6['filter'](_0x4d752d=>_0x5c854a[_0x56117a(0x145)][_0x56117a(0x12d)](_0x4d752d[_0x56117a(0x15d)])),_0x14cd5f=_0x56117a(0x156);for(let _0x5dc679=0x0;_0x5dc679<_0x5c854a[_0x56117a(0x13f)];_0x5dc679++)_0x14cd5f+=_0x56117a(0x20d);return _0x14cd5f+=';',html`
|
|
492
492
|
<h2>
|
|
493
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
493
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x56117a(0x1ca)](_0x5c854a['display'])}
|
|
494
494
|
</h2>
|
|
495
|
-
<div id="content_container" class="content_container" style="${
|
|
496
|
-
${
|
|
497
|
-
<label ?editable=${
|
|
498
|
-
${
|
|
495
|
+
<div id="content_container" class="content_container" style="${_0x14cd5f}">
|
|
496
|
+
${_0x237a78['map'](_0x267568=>{const _0x1ced37=_0x56117a;let {editable:_0x3648ae=!0x1,mandatory:_0x1ffbc2=!0x1}=_0x267568[_0x1ced37(0xf3)],_0x7299f0=_0x5311a[_0x1ced37(0x1d3)]||{};return html`
|
|
497
|
+
<label ?editable=${_0x3648ae}><span>${_0x1ffbc2?'*':''}${_0x267568[_0x1ced37(0x159)]}</span>
|
|
498
|
+
${_0x3648ae?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
499
499
|
</label>
|
|
500
500
|
<ox-grid-field
|
|
501
501
|
.rowIndex=${0x0}
|
|
502
|
-
.column=${
|
|
503
|
-
.record=${
|
|
504
|
-
.value=${
|
|
505
|
-
?dirty=${!!
|
|
502
|
+
.column=${_0x267568}
|
|
503
|
+
.record=${_0x5311a}
|
|
504
|
+
.value=${_0x5311a[_0x267568[_0x1ced37(0x15d)]]}
|
|
505
|
+
?dirty=${!!_0x7299f0[_0x267568[_0x1ced37(0x15d)]]}
|
|
506
506
|
></ox-grid-field>
|
|
507
507
|
`;})}
|
|
508
508
|
</div>
|
|
509
509
|
`;})}
|
|
510
510
|
</div>
|
|
511
|
-
${
|
|
512
|
-
`;}static[
|
|
513
|
-
<div id="container" class="container" style="${
|
|
514
|
-
${
|
|
515
|
-
<label ?editable=${
|
|
516
|
-
${
|
|
511
|
+
${_0x259a9f[_0x8c1684(0x224)]?html``:MetaUiUtil[_0x8c1684(0x211)](_0x259a9f)}
|
|
512
|
+
`;}static[a0_0x3b1615(0x199)](_0x712a22,_0x1b247f,_0x1ea1e0){const _0x572b2c=a0_0x3b1615;let _0x216a0b=_0x572b2c(0x14b);_0x712a22[_0x572b2c(0x13f)]&&0x0!=_0x712a22[_0x572b2c(0x13f)]||(_0x712a22['column']=0x1);for(let _0x5823ce=0x0;_0x5823ce<_0x712a22[_0x572b2c(0x13f)];_0x5823ce++)_0x216a0b+=_0x572b2c(0x20d);return _0x216a0b+=';',html`
|
|
513
|
+
<div id="container" class="container" style="${_0x216a0b}">
|
|
514
|
+
${_0x1b247f[_0x572b2c(0x1f0)](_0x4f1d9d=>{const _0x1e7208=_0x572b2c;let {editable:_0x27f408=!0x1,mandatory:_0x3bb2d6=!0x1}=_0x4f1d9d['record'],_0x4e8234=_0x1ea1e0[_0x1e7208(0x1d3)]||{};return html`
|
|
515
|
+
<label ?editable=${_0x27f408}><span>${_0x3bb2d6?'*':''}${_0x4f1d9d['header_txt']}</span>
|
|
516
|
+
${_0x27f408?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
517
517
|
</label>
|
|
518
518
|
<ox-grid-field
|
|
519
519
|
.rowIndex=${0x0}
|
|
520
|
-
.column=${
|
|
521
|
-
.record=${
|
|
522
|
-
.value=${
|
|
523
|
-
?dirty=${!!
|
|
520
|
+
.column=${_0x4f1d9d}
|
|
521
|
+
.record=${_0x1ea1e0}
|
|
522
|
+
.value=${_0x1ea1e0[_0x4f1d9d[_0x1e7208(0x15d)]]}
|
|
523
|
+
?dirty=${!!_0x4e8234[_0x4f1d9d[_0x1e7208(0x15d)]]}
|
|
524
524
|
></ox-grid-field>
|
|
525
525
|
`;})}
|
|
526
526
|
</div>
|
|
527
|
-
${
|
|
528
|
-
`;}static[
|
|
527
|
+
${_0x712a22[_0x572b2c(0x224)]?html``:MetaUiUtil['getButtonContainer'](_0x712a22)}
|
|
528
|
+
`;}static[a0_0x3b1615(0x1f4)](_0x326494){const _0x4a6c03=a0_0x3b1615;if(!_0x326494)return html``;if(!_0x326494[_0x4a6c03(0x1fa)])return html``;let _0x56be18=_0x326494[_0x4a6c03(0x1fa)];return _0x326494[_0x4a6c03(0x11f)]||(_0x326494['currentTabKey']=_0x56be18[0x0]?.[_0x4a6c03(0x15d)]||void 0x0),html`
|
|
529
529
|
<div class="tabs">
|
|
530
|
-
${
|
|
531
|
-
<div class="tab" ?activate="${
|
|
532
|
-
${
|
|
533
|
-
<span>${
|
|
530
|
+
${_0x56be18['map'](_0x414d51=>{const _0xf125d3=_0x4a6c03;let _0x1ac6c3=TermsUtil['tLabel'](_0x414d51[_0xf125d3(0x118)]),_0x55367d=_0x414d51[_0xf125d3(0x15d)];return html`
|
|
531
|
+
<div class="tab" ?activate="${_0x55367d===_0x326494['currentTabKey']}" @click="${()=>_0x326494['currentTabKey']=_0x55367d}">
|
|
532
|
+
${_0x414d51[_0xf125d3(0x1b5)]?html`<mwc-icon>${_0x414d51[_0xf125d3(0x1b5)]}</mwc-icon>`:html``}
|
|
533
|
+
<span>${_0x1ac6c3}</span>
|
|
534
534
|
</div>
|
|
535
535
|
`;})}
|
|
536
536
|
</div>
|
|
537
537
|
<div class="content-container">
|
|
538
|
-
${
|
|
539
|
-
<div class='tab-contents' style="${
|
|
540
|
-
${MetaUiUtil[
|
|
538
|
+
${_0x56be18['map'](_0x2c9a4a=>{const _0x2c43d0=_0x4a6c03;let _0x30c18a=_0x2c43d0(0x15c);return _0x2c9a4a['name']==_0x326494[_0x2c43d0(0x11f)]&&(_0x30c18a=_0x2c43d0(0x1ae)),html`
|
|
539
|
+
<div class='tab-contents' style="${_0x30c18a}">
|
|
540
|
+
${MetaUiUtil[_0x2c43d0(0x21d)](_0x326494,_0x2c9a4a)}
|
|
541
541
|
</div>
|
|
542
542
|
`;})}
|
|
543
543
|
</div>
|
|
544
|
-
`;}static[
|
|
545
|
-
${0x0==
|
|
544
|
+
`;}static['getGristTabHtml'](_0x2c80c6){const _0x38921b=a0_0x3b1615;let _0x586dee=(_0x2c80c6[_0x38921b(0x13e)]||{})[_0x38921b(0x225)]||_0x38921b(0x16b),_0x2cb260=(_0x2c80c6[_0x38921b(0x13e)]||{})[_0x38921b(0x13a)]||_0x38921b(0x21a),_0x43a686='left_right'==_0x586dee?_0x38921b(0x14b)+_0x2cb260+';':_0x38921b(0x177)+_0x2cb260+';',_0x468a11=_0x2c80c6[_0x38921b(0x224)]?UiUtil[_0x38921b(0x130)]():_0x2c80c6[_0x38921b(0x167)];return html`
|
|
545
|
+
${0x0==_0x2c80c6[_0x38921b(0x1eb)]?html``:html`
|
|
546
546
|
<div slot="headroom">
|
|
547
547
|
<div id="filters">
|
|
548
548
|
<ox-filters-form-base
|
|
549
549
|
id='ox-filters-form'
|
|
550
|
-
.filters=${
|
|
551
|
-
|
|
550
|
+
.filters=${_0x2c80c6[_0x38921b(0x1b1)]||[]}
|
|
551
|
+
.value=${_0x2c80c6[_0x38921b(0xe1)]||[]}
|
|
552
|
+
@filters-change=${_0x13c1fa=>{const _0x58c6fb=_0x38921b;_0x2c80c6[_0x58c6fb(0x107)]?.['fetch']();}}
|
|
552
553
|
></ox-filters-form-base>
|
|
553
554
|
</div>
|
|
554
555
|
</div>
|
|
555
556
|
`}
|
|
556
|
-
<div id="container" class="container" style="${
|
|
557
|
+
<div id="container" class="container" style="${_0x43a686}">
|
|
557
558
|
<div class="container_detail">
|
|
558
|
-
${MetaApi[
|
|
559
|
-
${MetaUiUtil[
|
|
559
|
+
${MetaApi[_0x38921b(0x139)](_0x2c80c6)}
|
|
560
|
+
${MetaUiUtil['getButtonContainer'](_0x2c80c6)}
|
|
560
561
|
</div>
|
|
561
562
|
<div class="container_detail">
|
|
562
|
-
${!0x0===
|
|
563
|
+
${!0x0===_0x2c80c6[_0x38921b(0x18c)]?html`${!0x0===_0x2c80c6[_0x38921b(0x1b0)]?html`<meta-tab-element
|
|
563
564
|
id="detail"
|
|
564
|
-
route_name="${
|
|
565
|
-
.activityDataSet=${(
|
|
565
|
+
route_name="${_0x468a11}"
|
|
566
|
+
.activityDataSet=${(_0x2c80c6[_0x38921b(0x197)]||{})[_0x38921b(0x1de)]}
|
|
566
567
|
is_readonly=true
|
|
567
568
|
is_activity=true
|
|
568
569
|
is_detail=true>
|
|
569
570
|
</meta-tab-element>`:html`<meta-tab-element
|
|
570
571
|
id="detail"
|
|
571
|
-
route_name="${
|
|
572
|
-
.activityDataSet=${(
|
|
572
|
+
route_name="${_0x468a11}"
|
|
573
|
+
.activityDataSet=${(_0x2c80c6[_0x38921b(0x197)]||{})[_0x38921b(0x1de)]}
|
|
573
574
|
is_activity=true
|
|
574
575
|
is_detail=true>
|
|
575
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
576
|
+
</meta-tab-element>`}`:html`${!0x0===_0x2c80c6[_0x38921b(0x1b0)]?html`<meta-tab-element id="detail" route_name="${_0x468a11}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x468a11}" is_detail=true></meta-tab-element>`}`}
|
|
576
577
|
</div>
|
|
577
578
|
</div>
|
|
578
|
-
`;}static['getTabDetailHtml'](
|
|
579
|
-
${0x0==
|
|
579
|
+
`;}static['getTabDetailHtml'](_0x46bf4a){const _0x3c2673=a0_0x3b1615;let _0x380699=_0x46bf4a['etcConfig'][_0x3c2673(0x225)]||'top_bottom',_0x163b22=_0x46bf4a[_0x3c2673(0x13e)][_0x3c2673(0x13a)]||_0x3c2673(0x21a),_0x1b7413=_0x46bf4a['etcConfig'][_0x3c2673(0x1e7)],_0x225499=JSON[_0x3c2673(0x20b)](_0x1b7413||'{}'),_0x412baf=_0x3c2673(0x200)==_0x380699?_0x3c2673(0x14b)+_0x163b22+';':_0x3c2673(0x177)+_0x163b22+';';return MetaUiUtil['createMasterElement'](_0x46bf4a),MetaUiUtil[_0x3c2673(0x112)](_0x46bf4a,_0x225499),html`
|
|
580
|
+
${0x0==_0x46bf4a[_0x3c2673(0x1eb)]?html``:html`
|
|
580
581
|
<div slot="headroom">
|
|
581
582
|
<div id="filters">
|
|
582
583
|
<ox-filters-form-base
|
|
583
584
|
id='ox-filters-form'
|
|
584
|
-
.filters=${
|
|
585
|
-
|
|
585
|
+
.filters=${_0x46bf4a[_0x3c2673(0x1b1)]||[]}
|
|
586
|
+
.value=${_0x46bf4a[_0x3c2673(0xe1)]||[]}
|
|
587
|
+
@filters-change=${_0x558e95=>{const _0x34160a=_0x3c2673;_0x46bf4a[_0x34160a(0x1c6)]();}}
|
|
586
588
|
></ox-filters-form-base>
|
|
587
589
|
</div>
|
|
588
590
|
</div>
|
|
589
591
|
`}
|
|
590
|
-
<div id="container" class="container" style="${
|
|
592
|
+
<div id="container" class="container" style="${_0x412baf}">
|
|
591
593
|
<div class="container_detail">
|
|
592
|
-
${
|
|
594
|
+
${_0x46bf4a[_0x3c2673(0x13d)]}
|
|
593
595
|
</div>
|
|
594
596
|
<div class="container_detail">
|
|
595
|
-
${''==
|
|
596
|
-
${
|
|
597
|
+
${''==_0x225499[_0x3c2673(0x116)]||_0x3c2673(0x1ac)==_0x225499['tagname']?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x225499['display'])}</h2>`}
|
|
598
|
+
${_0x46bf4a['detailElement']}
|
|
597
599
|
</div>
|
|
598
600
|
</div>
|
|
599
|
-
`;}static[
|
|
600
|
-
${0x0==
|
|
601
|
+
`;}static[a0_0x3b1615(0x193)](_0x47bd11){const _0x21e87e=a0_0x3b1615;let _0x41eedb=_0x47bd11[_0x21e87e(0x13e)]['master_detail_type']||_0x21e87e(0x16b),_0x16c016=_0x47bd11[_0x21e87e(0x13e)][_0x21e87e(0x13a)]||_0x21e87e(0x21a),_0x46a718=_0x47bd11['etcConfig']['master_detail_element'],_0x177056=JSON[_0x21e87e(0x20b)](_0x46a718||'{}'),_0xfbc93d='left_right'==_0x41eedb?_0x21e87e(0x14b)+_0x16c016+';':_0x21e87e(0x177)+_0x16c016+';';return MetaUiUtil['createDetailElement'](_0x47bd11,_0x177056),html`
|
|
602
|
+
${0x0==_0x47bd11[_0x21e87e(0x1eb)]?html``:html`
|
|
601
603
|
<div slot="headroom">
|
|
602
604
|
<div id="filters">
|
|
603
605
|
<ox-filters-form-base
|
|
604
606
|
id='ox-filters-form'
|
|
605
|
-
.filters=${
|
|
606
|
-
|
|
607
|
+
.filters=${_0x47bd11[_0x21e87e(0x1b1)]||[]}
|
|
608
|
+
.value=${_0x47bd11[_0x21e87e(0xe1)]||[]}
|
|
609
|
+
@filters-change=${_0x258738=>{const _0x22ebee=_0x21e87e;_0x47bd11[_0x22ebee(0x107)]?.[_0x22ebee(0x1c6)]();}}
|
|
607
610
|
></ox-filters-form-base>
|
|
608
611
|
</div>
|
|
609
612
|
</div>
|
|
610
613
|
`}
|
|
611
|
-
<div id="container" class="container" style="${
|
|
614
|
+
<div id="container" class="container" style="${_0xfbc93d}">
|
|
612
615
|
<div class="container_detail">
|
|
613
|
-
${MetaApi[
|
|
614
|
-
${MetaUiUtil[
|
|
616
|
+
${MetaApi[_0x21e87e(0x139)](_0x47bd11)}
|
|
617
|
+
${MetaUiUtil['getButtonContainer'](_0x47bd11)}
|
|
615
618
|
</div>
|
|
616
619
|
<div class="container_detail">
|
|
617
|
-
${''==
|
|
618
|
-
${
|
|
620
|
+
${''==_0x177056[_0x21e87e(0x116)]||'meta-tab-element'==_0x177056[_0x21e87e(0x116)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x21e87e(0x1ca)](''+_0x177056['display'])}</h2>`}
|
|
621
|
+
${_0x47bd11[_0x21e87e(0x103)]}
|
|
619
622
|
</div>
|
|
620
623
|
</div>
|
|
621
|
-
`;}static[
|
|
624
|
+
`;}static[a0_0x3b1615(0x112)](_0x3275f6,_0x4eaa57){const _0x4bbf00=a0_0x3b1615;if(!_0x3275f6[_0x4bbf00(0x103)]){let _0x2e0495=_0x4eaa57['name']?_0x4eaa57[_0x4bbf00(0x15d)]:_0x4bbf00(0x1de),_0x6ab5af='<'+_0x4eaa57['tagname']+'\x20id=\x22'+_0x2e0495+'\x22\x20name=\x22'+_0x2e0495+_0x4bbf00(0x1be)+_0x4eaa57[_0x4bbf00(0x10e)]+'\x22\x20'+(!0x0===_0x3275f6[_0x4bbf00(0x18c)]?_0x4bbf00(0x135):'')+'\x20'+(!0x0===_0x3275f6[_0x4bbf00(0x1b0)]?'is_readonly=true':'')+_0x4bbf00(0x1bd)+_0x4eaa57[_0x4bbf00(0x116)]+'>';_0x3275f6[_0x4bbf00(0x103)]=UiUtil['htmlToElement'](_0x6ab5af),_0x3275f6[_0x4bbf00(0x103)][_0x4bbf00(0x197)]=(_0x3275f6['activityDataSet']||{})[_0x4bbf00(0x1de)],_0x3275f6[_0x4bbf00(0x1b7)][_0x4bbf00(0x155)]()[_0x4bbf00(0x150)]('meta-tab-detail-')&&(_0x3275f6[_0x4bbf00(0x103)][_0x4bbf00(0x175)]=_0x3275f6);}}static[a0_0x3b1615(0x10f)](_0x3278f2){const _0x100aa5=a0_0x3b1615;if(!_0x3278f2['masterElement']&&_0x3278f2[_0x100aa5(0x1dd)]){let _0x16c555=_0x100aa5(0xf5),_0x22d63a=_0x100aa5(0x151)+_0x16c555+_0x100aa5(0x14d)+_0x16c555+'\x22\x20route_name=\x22'+_0x3278f2[_0x100aa5(0x130)]+'\x22\x20'+(!0x0===_0x3278f2[_0x100aa5(0x18c)]?'is_activity=true':'')+'\x20'+(!0x0===_0x3278f2[_0x100aa5(0x1b0)]?'is_readonly=true':'')+_0x100aa5(0x15f);_0x3278f2[_0x100aa5(0x13d)]=UiUtil[_0x100aa5(0x140)](_0x22d63a),_0x3278f2['masterElement'][_0x100aa5(0x197)]=(_0x3278f2[_0x100aa5(0x197)]||{})[_0x100aa5(0xf5)],_0x3278f2[_0x100aa5(0x13d)][_0x100aa5(0xe6)]=!0x0,_0x3278f2[_0x100aa5(0x13d)][_0x100aa5(0x122)]=_0x3278f2[_0x100aa5(0x1dd)],_0x3278f2[_0x100aa5(0x13d)][_0x100aa5(0x175)]=_0x3278f2;}}static[a0_0x3b1615(0x21d)](_0x387803,_0x6762e6){const _0x1e131e=a0_0x3b1615;if(_0x387803[_0x1e131e(0x1a8)]||(_0x387803['tabElements']={}),Object['keys'](_0x387803[_0x1e131e(0x1a8)])[_0x1e131e(0x223)](_0x4ddaf3=>_0x4ddaf3==_0x6762e6[_0x1e131e(0x15d)])[_0x1e131e(0x1ed)]>0x0)return _0x387803['tabElements'][_0x6762e6[_0x1e131e(0x15d)]];let _0x2782f3='<'+_0x6762e6[_0x1e131e(0x116)]+_0x1e131e(0x115)+_0x6762e6[_0x1e131e(0x15d)]+_0x1e131e(0x190)+_0x6762e6['menu']+_0x1e131e(0x181)+(!0x0===_0x387803[_0x1e131e(0x18c)]?_0x1e131e(0x135):'')+'\x20'+(!0x0===_0x387803[_0x1e131e(0x1b0)]?_0x1e131e(0x20f):'')+_0x1e131e(0x216)+_0x6762e6[_0x1e131e(0x116)]+'>',_0x49aafa=UiUtil[_0x1e131e(0x140)](_0x2782f3);return _0x49aafa[_0x1e131e(0x197)]=(_0x387803[_0x1e131e(0x197)]||{})[_0x6762e6[_0x1e131e(0x15d)]],_0x387803[_0x1e131e(0x11d)]&&(_0x49aafa[_0x1e131e(0x11d)]=_0x387803[_0x1e131e(0x11d)]),_0x387803[_0x1e131e(0x175)]?_0x49aafa[_0x1e131e(0x175)]=_0x387803[_0x1e131e(0x175)]:_0x49aafa[_0x1e131e(0x103)]=_0x387803,!0x1===_0x6762e6[_0x1e131e(0x1c0)]&&(_0x49aafa[_0x1e131e(0x15a)]=!0x1),_0x6762e6[_0x1e131e(0x17f)]&&(_0x49aafa[_0x1e131e(0x122)]=_0x6762e6[_0x1e131e(0x17f)]),_0x387803[_0x1e131e(0x1a8)][_0x6762e6[_0x1e131e(0x15d)]]=_0x49aafa,_0x49aafa;}static[a0_0x3b1615(0x1e9)](_0x5bf375){const _0x30c07d=a0_0x3b1615;let _0x291bfc=_0x5bf375[_0x30c07d(0x16e)],_0x115de7=_0x5bf375[_0x30c07d(0x162)],_0x5030c2=_0x5bf375['recordCreationCallback'],_0xd0e0b8=JSON[_0x30c07d(0x20b)]((_0x5bf375[_0x30c07d(0x13e)]||{})[_0x30c07d(0x1af)]||_0x30c07d(0xe7));return 0x0==_0x115de7?html`
|
|
622
625
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
623
|
-
${this[
|
|
626
|
+
${this[_0x30c07d(0x226)](_0x5bf375)}
|
|
624
627
|
</div>
|
|
625
628
|
`:html`
|
|
626
629
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
627
630
|
<div slot="headroom">
|
|
628
631
|
<div id="filters"><ox-filters-form></ox-filters-form></div>
|
|
629
|
-
${
|
|
632
|
+
${_0xd0e0b8?html`
|
|
630
633
|
<div id="sorters">
|
|
631
|
-
<mwc-icon @click=${
|
|
634
|
+
<mwc-icon @click=${_0x2089f1=>{const _0x32b401=_0x30c07d,_0x56c4d7=_0x2089f1['currentTarget'];_0x56c4d7[_0x32b401(0x188)]['open']({'right':0x0,'top':_0x56c4d7['offsetTop']+_0x56c4d7[_0x32b401(0x14c)]});}}
|
|
632
635
|
>sort</mwc-icon>
|
|
633
636
|
<ox-popup id="sorter-control">
|
|
634
637
|
<ox-sorters-control></ox-sorters-control>
|
|
635
638
|
</ox-popup>
|
|
636
639
|
</div>
|
|
637
640
|
`:html``}
|
|
638
|
-
${MetaUiUtil['getGridViewOption'](
|
|
641
|
+
${MetaUiUtil['getGridViewOption'](_0x5bf375)}
|
|
639
642
|
<ox-record-creator
|
|
640
643
|
id="add"
|
|
641
|
-
?hidden="${!
|
|
642
|
-
.callback=${
|
|
644
|
+
?hidden="${!_0x291bfc}"
|
|
645
|
+
.callback=${_0x5030c2}>
|
|
643
646
|
<button>
|
|
644
647
|
<mwc-icon>add</mwc-icon>
|
|
645
648
|
</button>
|
|
646
649
|
</ox-record-creator>
|
|
647
650
|
</div>
|
|
648
|
-
${this[
|
|
651
|
+
${this[_0x30c07d(0x226)](_0x5bf375)}
|
|
649
652
|
</div>
|
|
650
|
-
`;}static[
|
|
653
|
+
`;}static[a0_0x3b1615(0x226)](_0x38f79a){const _0x5ce0c0=a0_0x3b1615;return _0x5ce0c0(0x1a4)!=_0x38f79a[_0x5ce0c0(0x121)]?html``:!0x0!==_0x38f79a['is_activity']?html`
|
|
651
654
|
<div id="grist-personal">
|
|
652
|
-
<mwc-icon @click=${
|
|
655
|
+
<mwc-icon @click=${_0x31733d=>{const _0x271a43=_0x5ce0c0;let _0x47821f=MetaApi[_0x271a43(0x152)](_0x271a43(0x119),_0x271a43(0x119));_0x47821f['configGrist']=_0x31733d[_0x271a43(0xe2)][_0x271a43(0x1cf)]['parentElement'][_0x271a43(0x1cf)],_0x47821f[_0x271a43(0x11a)]=_0x38f79a[_0x271a43(0x11a)],MetaApi['openPopupByElement'](TermsUtil[_0x271a43(0x1ca)](_0x271a43(0x1bc)),_0x271a43(0x194),_0x47821f,!0x1);}}
|
|
653
656
|
>tune</mwc-icon>
|
|
654
657
|
</div>
|
|
655
|
-
`:html``;}static[
|
|
658
|
+
`:html``;}static[a0_0x3b1615(0x1a5)](_0x6225d7){const _0x58dafa=a0_0x3b1615;return ValueUtil[_0x58dafa(0x18f)](_0x6225d7['gridViewOptions'])||0x1==_0x6225d7[_0x58dafa(0x204)][_0x58dafa(0x1ed)]?html``:html`
|
|
656
659
|
<div id="modes">
|
|
657
|
-
${
|
|
658
|
-
${
|
|
659
|
-
${
|
|
660
|
+
${_0x6225d7[_0x58dafa(0x204)][_0x58dafa(0x12d)](_0x58dafa(0x1a4))?html`<mwc-icon @click="${()=>_0x6225d7[_0x58dafa(0x121)]=_0x58dafa(0x1a4)}" ?active="${_0x58dafa(0x1a4)==_0x6225d7['gridMode']}">grid_on</mwc-icon>`:''}
|
|
661
|
+
${_0x6225d7[_0x58dafa(0x204)]['includes'](_0x58dafa(0x19f))?html`<mwc-icon @click="${()=>_0x6225d7['gridMode']=_0x58dafa(0x19f)}" ?active="${_0x58dafa(0x19f)==_0x6225d7[_0x58dafa(0x121)]}">format_list_bulleted</mwc-icon>`:''}
|
|
662
|
+
${_0x6225d7[_0x58dafa(0x204)][_0x58dafa(0x12d)](_0x58dafa(0x15e))?html`<mwc-icon @click="${()=>_0x6225d7['gridMode']=_0x58dafa(0x15e)}" ?active="${'CARD'==_0x6225d7['gridMode']}">apps</mwc-icon>`:''}
|
|
660
663
|
</div>
|
|
661
|
-
`;}static[
|
|
664
|
+
`;}static[a0_0x3b1615(0x211)](_0x1393fe){const _0x589c86=a0_0x3b1615;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x589c86(0x1f6)](_0x1393fe)}</div>`;}}
|