@things-factory/meta-ui 6.0.131 → 6.0.132
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/component/filter/filter-form-resource-code-select.js +9 -9
- package/client/component/filter/filter-grist-resource-code-select.js +10 -10
- package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
- package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
- package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -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 +5 -5
- 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 +28 -28
- 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-main-tab-element.js +1 -1
- package/client/pages/meta-main-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/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +103 -103
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +10 -10
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x1712,_0x227395=_0x28d273();while(!![]){try{const _0x32fc6b=-parseInt(_0x38f67d(0x131))/0x1*(-parseInt(_0x38f67d(0x190))/0x2)+-parseInt(_0x38f67d(0x27b))/0x3+parseInt(_0x38f67d(0x26a))/0x4*(parseInt(_0x38f67d(0x185))/0x5)+parseInt(_0x38f67d(0x25f))/0x6*(parseInt(_0x38f67d(0x23a))/0x7)+-parseInt(_0x38f67d(0x193))/0x8+-parseInt(_0x38f67d(0x21f))/0x9+-parseInt(_0x38f67d(0x156))/0xa*(-parseInt(_0x38f67d(0x1b9))/0xb);if(_0x32fc6b===_0x3b65f3)break;else _0x227395['push'](_0x227395['shift']());}catch(_0x379d31){_0x227395['push'](_0x227395['shift']());}}}(a0_0x37a5,0xbb397));function a0_0x1712(_0x332016,_0x1be424){const _0x37a5be=a0_0x37a5();return a0_0x1712=function(_0x17121d,_0x5132c7){_0x17121d=_0x17121d-0x130;let _0x5e1483=_0x37a5be[_0x17121d];return _0x5e1483;},a0_0x1712(_0x332016,_0x1be424);}import a0_0x428c77 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x501199 from'moment-timezone';import{css,html}from'lit';function a0_0x37a5(){const _0xe301a=['entity','2488788PboYxS','confirm','gristButtonValueReference','getGristPaginationCustomConfig','left_right','infinityPage','title.info','grid','582707fkKrEN','options','outlined','toLowerCase','forEach','location','button','is_readonly','gridViewOptions','getMasterDetailLeftRightGristStyle','is_activity','searchFields','subtract','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','main_filter_form','history_copy','meta-master-detail-','referenceField','left','scenario','isNotEmpty','imex','is_activity=true','getGristColumnConfig3','after','runScenario','grid-template-rows:','filters','getGridButtonSet','createButtonElement','menuInfo','form','parent_id','tagName','gridConfig','display','basicArgs','10SFdAZc','hidden','getContextButtons','codes','url','getBasicMasterDetailStyles','offsetTop','commonButtonOpenPopup','querySelector','getContextObject','value','handlers','select','values','currentTarget','dispatchEvent','grist_all','getCustomButtonContainerStyles','name','setGridColumnSearchOption','getGridViewOption','searchByPagination','filterForm','is_readonly=true','findMenuMeta','query','getCodeByScenario','resource-code-selector','self','text.button_bind_func_is_not_exist','row','icon','tButton','label','getGristSearchCodeColumnConfig','meta-tab-detail-','getButtonActionHandler','getBasicTabStyles','getBasicGristHtml','history-copy-list-popup','offsetHeight','grist','getContainerButtons','param','type','gristId','page','445UhSVcp','formRenderConfig','length','\x27\x20route_name=\x27','isArray','getBasicTabHtml','getCodeByEntity','use_row_checker','getMasterDetailTopDownGristStyle','grid_column','getTabDetailHtml','2NRNcrb','datetime','custom','11981928PCdJKl','runnerPermission','getGristSearchColumnConfig','getBasicGristPageProperties','getButtonContainer','useMasterFilterForm','startsWith','column','id,template','invalid\x20license\x20key','getBasicMasterDetailGristStyle','find','getGristPersonalizedStyles','fetchHandler','data_history_list','text.there_is_no_selected_items','isMobileEnv','import','data','use_grid_sort_button','master_detail_size','raised','\x0aid\x0aname\x0adescription','getBasicFormHtmlOnOption','selected','day','push','model','stringify','option','getBasicFormStyles','etcConfig','midium','shadowRoot','useButtonImport','useFilterForm','createDetailElement','getGridListSet','25886443rakPQF','\x20\x0a\x20}','getBasicFormHtmlNoOption','tError','getGridOptionSet','includes','getObjctColumnSelectFields','top_bottom','formConfigSet','unlimited','createMasterElement','gridColumnConfig','today','includeMainList','masterElement','getGridColumnPersonalizeButton','currentRouting','CARD','compareObjectValues','master','nextElementSibling','menus','getGridColumnSet','grist_selected','meta-tab-element','title_detail','getBasicMainTabStyles','title','personal-column-selector','meta-form-element','getGristHiddenColumnConfig','text.nothing_selected','desc','height:auto;grid-template-columns:','column_list','top-down','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','parse','split','currentTabKey','getQueryFilters','routing','gristConfigSet','value_is_not_exist','dense','pages','search','grid-template-columns:','rank','gridMobileMode','menu','service','getGristEmphasizedStyles','\x20{\x20','formColumnConfig','template','htmlToElement','detailElement','param_field','pages/hgistory/history-json-list-popup.js','tMenu','tText','master_detail_type','value_reference','gridMode','editor','exportable','keys','rootElement','getGristGuttersConfig','getParams','header_txt','text.grid_data_is_empty','dirty','menuId','multiple','<meta-tab-element\x20id=\x22','showAlertPopup','setParentId','filter','patchesForUpdateMultiple','ox-grist','tagname','createCustomElement','string','list','customButtonHandler','master_detail_element','add','export','\x20is_detail=true></','searchFieldValues','openPopupByElement','relation','findMenuGridPersnalTemplate','tabElements','text.grid_is_not_exist','gristButtonPassParam','getGristColumnConfig','\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','isPage','tabRenderConfig','13028922SrIDis','sequence','resource-object','args','getGristTabHtml','open_param','grist_one','logic','pageNavigate','getGristColumnConfig2','grid-column-personalize','openDynamicPopup','info','help','default_form_column','\x22\x20name=\x22','records','code','getGristCodeSelectorColumnConfig','detail','dispField','history_json','display:flex','50%\x2050%','\x27\x20style=\x22flex:1;\x22\x20','getCodeSelectorData','meta-grist-tab-','133HzJBqT','datetime-local','searchConfig','sort','isGridButtonExist','bind','useButtonExport','buttonConfig','result_name','route_name','parent_field','grist_changed','YYYY-MM-DD','errors','mainFilterForm','recordCreationCallback','\x20id=\x22','LIST','text.please_select_only_one','header','GRID','basic','defaultPageConfig','tTitle','use_filter_form','getGristSelectorColumnConfig','emphasis','record','display:none','getSelectColumns','tLabel','isEmpty','popup','config','getGristSelectableConfig','getState','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','273414VdtMcv','commonButtonCallScenario','width','object','activityDataSet','\x22\x20route_name=\x22','\x20id=\x27','gutter','history-json-list-popup','gristButtonHandler','floor','33260EVAaAh','configGrist','notify','indexOf','row-selector','open','format','map','getMainTabHtml','fetch','board','parentElement','\x201fr\x202fr','gqlInfo','pass_param','getBasicTabContent'];a0_0x37a5=function(){return _0xe301a;};return a0_0x37a5();}import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';import'./../pages/history/history-json-list-popup';export class MetaUiUtil{static async[a0_0x486ab5(0x16e)](_0x4dd755){const _0x178f06=a0_0x486ab5;let _0x4faf7=await ServiceUtil['findOne'](_0x178f06(0x1eb),_0x4dd755,'template');if(!_0x4faf7)throw new Error(TermsUtil['tText']('value_is_not_exist',{'value':TermsUtil[_0x178f06(0x1f5)]('menu')+'\x20'+_0x4dd755}));if(!_0x4faf7[_0x178f06(0x1f0)])throw new Error(TermsUtil[_0x178f06(0x1f6)](_0x178f06(0x1e4),{'value':TermsUtil[_0x178f06(0x1f5)](_0x178f06(0x1eb))+'\x20'+TermsUtil[_0x178f06(0x258)]('model')}));return this['menuId']=_0x4dd755,JSON[_0x178f06(0x1de)](_0x4faf7['template']);}static async['findMenuMetaByRouting'](_0x243988,_0x2a65f2){const _0x20d6c1=a0_0x486ab5;if((await client[_0x20d6c1(0x16f)]({'query':a0_0x428c77`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))[_0x1ada25(0x291)])return;let _0x429618,_0x1254ff=[{'name':_0x1ada25(0x1ec),'operator':'eq','value':_0x23415a}],_0x49fd20=await ServiceUtil[_0x1ada25(0x215)](_0x1ada25(0x224),_0x1254ff,null,0x0,0x0,_0x1ada25(0x1c4));if(_0x49fd20&&_0x49fd20[_0x1ada25(0x28c)]&&0x0!=_0x49fd20[_0x1ada25(0x28c)][_0x1ada25(0x268)]?(_0x429618=_0x49fd20[_0x1ada25(0x28c)][0x0],!_0x429618[_0x1ada25(0x275)]&&_0x468809[_0x1ada25(0x152)]&&(_0x429618[_0x1ada25(0x275)]=_0x468809[_0x1ada25(0x152)])):_0x468809[_0x1ada25(0x152)]&&(_0x429618={'id':_0x23415a,'template':_0x468809[_0x1ada25(0x152)]}),!_0x429618)throw new Error(TermsUtil['tText'](_0x1ada25(0x270),{'value':TermsUtil[_0x1ada25(0x210)](_0x1ada25(0x207))+'\x20'+_0x23415a}));if(!_0x429618['template'])throw new Error(TermsUtil[_0x1ada25(0x218)](_0x1ada25(0x270),{'value':TermsUtil[_0x1ada25(0x210)](_0x1ada25(0x207))+'\x20'+TermsUtil[_0x1ada25(0x1c0)](_0x1ada25(0x1f9))}));return this[_0x1ada25(0x155)]=_0x429618['id'],JSON[_0x1ada25(0x164)](MetaCrypto[_0x1ada25(0x25f)](_0x429618['template']));}static[a0_0x5393c2(0x15c)](){return{'menuInfo':Object,'gridConfig':Object,'gridColumnConfig':Array,'formColumnConfig':Array,'buttonConfig':Array,'searchConfig':Array,'gqlInfo':String,'gqlFetchField':String,'searchFormElement':String,'useFilterForm':Boolean,'gristConfigSet':Object,'formConfigSet':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':!0x0,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x4d4e1c=>Boolean(_0x4d4e1c)},'is_popup':{'type':Boolean,'converter':_0x53a2c0=>Boolean(_0x53a2c0)},'is_activity':{'type':Boolean,'converter':_0x1e696d=>Boolean(_0x1e696d)},'is_readonly':{'type':Boolean,'converter':_0x4db922=>Boolean(_0x4db922)}};}static async['getMenuMeta'](_0x353069){const _0x505106=a0_0x5393c2;if(0x0==store[_0x505106(0x288)]()[_0x505106(0x260)]['runnerPermission'])return void document[_0x505106(0x19d)](new CustomEvent('notify',{'detail':{'level':_0x505106(0x25a),'message':TermsUtil[_0x505106(0x1e9)](_0x505106(0x258))}}));let _0x3652f0=_0x353069[_0x505106(0x240)]?UiUtil['currentRouting']():_0x353069[_0x505106(0x200)];_0x353069[_0x505106(0x18e)]=_0x3652f0;let _0xb1d0a0=await MetaUiUtil[_0x505106(0x196)](_0x353069,_0x3652f0);return!0x0===_0x353069[_0x505106(0x1fb)]&&(_0xb1d0a0[_0x505106(0x167)][_0x505106(0x1b0)][_0x505106(0x1ce)]=!0x1,_0xb1d0a0[_0x505106(0x167)][_0x505106(0x1b0)][_0x505106(0x1c7)]=_0x505106(0x1d7),_0xb1d0a0[_0x505106(0x167)][_0x505106(0x21b)]=!0x1,_0xb1d0a0[_0x505106(0x167)][_0x505106(0x1e8)]=[],_0xb1d0a0[_0x505106(0x1e8)]=_0xb1d0a0[_0x505106(0x1e8)][_0x505106(0x14a)](_0x1a7ef4=>'add'==_0x1a7ef4[_0x505106(0x241)])),!0x0===_0x353069['is_readonly']&&(_0xb1d0a0[_0x505106(0x1f2)][_0x505106(0x274)](_0x55dd00=>{const _0x253fb9=_0x505106;_0x55dd00[_0x253fb9(0x1d4)]=!0x1;}),_0xb1d0a0[_0x505106(0x1e8)]=_0xb1d0a0['button'][_0x505106(0x14a)](_0x19de74=>'add'!=_0x19de74[_0x505106(0x241)])),!0x1===_0x353069[_0x505106(0x21b)]&&(_0xb1d0a0['grid'][_0x505106(0x21b)]=!0x1),_0xb1d0a0;}static[a0_0x5393c2(0x1bf)](..._0x261ff8){return{'pages':_0x261ff8};}static[a0_0x5393c2(0x281)](_0x1837e0,_0x4a8d9b){const _0x7a7b53=a0_0x5393c2;let _0x149aa6=[{'type':_0x7a7b53(0x1c9),'gutterName':'dirty'},{'type':_0x7a7b53(0x1c9),'gutterName':'sequence'}];return _0x1837e0&&_0x149aa6['push']({'type':'gutter','gutterName':_0x7a7b53(0x1f7),'multiple':_0x4a8d9b}),_0x149aa6;}static[a0_0x5393c2(0x1fc)](_0xca898e){return{'selectable':{'multiple':_0xca898e}};}static async[a0_0x5393c2(0x24d)](_0x2436e3){const _0x5e55d8=a0_0x5393c2;let _0x1ba0eb=MetaUiUtil[_0x5e55d8(0x1da)](_0x2436e3),_0x376167=MetaUiUtil[_0x5e55d8(0x235)](_0x2436e3),_0x177544=MetaUiUtil[_0x5e55d8(0x232)](_0x2436e3),_0x1aaf95=MetaUiUtil[_0x5e55d8(0x26e)](_0x2436e3),_0x51b3bd=await MetaUiUtil[_0x5e55d8(0x1de)](_0x2436e3),_0xdddd2c=MetaUiUtil[_0x5e55d8(0x281)](_0x1ba0eb[_0x5e55d8(0x1ce)],_0x177544[_0x5e55d8(0x1af)][_0x5e55d8(0x237)]);return 0x1==_0x2436e3[_0x5e55d8(0x195)]&&(_0x51b3bd=MetaUiUtil[_0x5e55d8(0x24c)](_0x2436e3,_0x51b3bd)),{'list':_0x376167,'pagination':_0x1ba0eb[_0x5e55d8(0x1c7)],'sorters':_0x1ba0eb[_0x5e55d8(0x21d)],'rows':_0x177544,'columns':[..._0xdddd2c,..._0x1aaf95,..._0x51b3bd]};}static async[a0_0x5393c2(0x272)](_0x4355bf){const _0xf8c018=a0_0x5393c2;let _0x5722b0=_0x4355bf[_0xf8c018(0x181)],_0x299525=[];for(let _0x985636=0x0;_0x985636<_0x5722b0[_0xf8c018(0x268)];_0x985636++){let {type:_0x4d3c09=_0xf8c018(0x276),name:_0x1d9674,header:_0x278ee1,hidden:_0x582e48=!0x1,editable:_0x505129=!0x0,mandatory:_0x56c22b=!0x1,align:_0x4aa203='left',select_opt:_0xd05cda,object_opt:_0xc3190d}=_0x5722b0[_0x985636],_0x5cfc67={'type':_0x4d3c09,'name':_0x1d9674,'header_txt':ValueUtil['isEmpty'](_0x278ee1)?TermsUtil[_0xf8c018(0x1c0)](_0x1d9674):TermsUtil[_0xf8c018(0x1c0)](_0x278ee1),'header':{'renderer':function(_0x3182a2){return _0x3182a2['header_txt'];}},'hidden':_0x582e48,'record':{'editable':_0x505129,'mandatory':_0x56c22b,'align':_0x4aa203,'classifier':function(){},'renderer':getRenderer(_0x4d3c09)}};_0x505129&&(_0x5cfc67['record']['editor']=getEditor(_0x4d3c09)),_0xf8c018(0x1d6)===_0x4d3c09&&ValueUtil['isNotEmpty'](_0xd05cda)?Array['isArray'](_0xd05cda)?_0x5cfc67[_0xf8c018(0x1ac)]['options']=_0xd05cda:_0xf8c018(0x293)===_0xd05cda[_0xf8c018(0x15a)]?_0x5cfc67[_0xf8c018(0x1ac)]['options']=await ServiceUtil[_0xf8c018(0x1f8)](_0xd05cda[_0xf8c018(0x1c6)]?_0xd05cda['values']:_0xd05cda[_0xf8c018(0x241)]):'scenario'===_0xd05cda['type']?_0x5cfc67[_0xf8c018(0x1ac)]['options']=await ServiceUtil[_0xf8c018(0x206)](_0xd05cda[_0xf8c018(0x241)],_0xd05cda[_0xf8c018(0x217)]):_0xf8c018(0x24f)===_0xd05cda['type']&&(_0x5cfc67[_0xf8c018(0x1ac)]['options']=await ServiceUtil[_0xf8c018(0x18d)](_0xd05cda[_0xf8c018(0x217)])):_0xf8c018(0x19b)!==_0x4d3c09&&'resource-object'!==_0x4d3c09||!ValueUtil[_0xf8c018(0x1a6)](_0xc3190d)?_0xf8c018(0x19e)===_0x4d3c09&&ValueUtil[_0xf8c018(0x1a6)](_0xc3190d)&&(_0x5cfc67[_0xf8c018(0x1ac)]['options']=_0xc3190d,_0xc3190d['dispField']&&(_0x5cfc67[_0xf8c018(0x1ac)][_0xf8c018(0x233)]['codes']=await ServiceUtil[_0xf8c018(0x18d)](_0xc3190d))):(_0xc3190d[_0xf8c018(0x1d6)]&&_0xc3190d[_0xf8c018(0x1d6)][_0xf8c018(0x274)](_0x579d54=>{const _0xad3f00=_0xf8c018;_0x579d54['header']||(_0x579d54[_0xad3f00(0x20c)]=_0x579d54[_0xad3f00(0x241)]),_0x579d54['header']=TermsUtil[_0xad3f00(0x1c0)](_0x579d54[_0xad3f00(0x20c)]);}),_0x5cfc67[_0xf8c018(0x1ac)][_0xf8c018(0x233)]=_0xc3190d),_0x299525[_0xf8c018(0x1cd)](_0x5cfc67);}return _0x299525;}static['getGridOptionSet'](_0x1d8fc7){const _0x264a97=a0_0x5393c2;let _0x5c73a=_0x1d8fc7[_0x264a97(0x230)];_0x1d8fc7['useFilterForm']=!_0x5c73a||null==_0x5c73a[_0x264a97(0x21b)]||_0x5c73a['use_filter_form'];let {mobile_mode:_0x5c52af=_0x264a97(0x1b3),desk_mode:_0x5d3be5=_0x264a97(0x220),view_mode:_0x572df2=[],use_row_checker:_0x26e182=!0x0,sorters:_0xc38b1=[],pages:_0x33d812=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x5c73a[_0x264a97(0x1b0)])?{}:_0x5c73a[_0x264a97(0x1b0)];return _0x264a97(0x1d7)===_0x33d812||'-1'===_0x33d812?(_0x1d8fc7[_0x264a97(0x163)]=!0x0,_0x33d812={'infinite':!0x0}):(_0x1d8fc7[_0x264a97(0x163)]=!0x1,_0x33d812[_0x264a97(0x21f)](function(_0x1ccda4,_0x4992b8){return _0x1ccda4-_0x4992b8;}),_0x33d812={'pages':_0x33d812}),ValueUtil[_0x264a97(0x1a6)](_0x572df2)&&(0x1==_0x572df2['length']?(_0x5d3be5=_0x572df2[0x0],_0x5c52af=_0x572df2[0x0]):_0x572df2['length']>=0x2&&(_0x572df2[_0x264a97(0x157)](_0x5c52af)||(_0x5c52af=_0x572df2[0x1]),_0x572df2['includes'](_0x5d3be5)||(_0x5d3be5=_0x572df2[0x0]))),_0x1d8fc7[_0x264a97(0x209)]=_0x5c52af,_0x1d8fc7[_0x264a97(0x190)]=_0x5d3be5,_0x1d8fc7[_0x264a97(0x194)]=_0x572df2,_0x1d8fc7[_0x264a97(0x14d)]=UiUtil[_0x264a97(0x263)]()?_0x1d8fc7[_0x264a97(0x209)]:_0x1d8fc7[_0x264a97(0x190)],{'use_row_checker':_0x26e182,'sorters':_0xc38b1,'pages':_0x33d812};}static[a0_0x5393c2(0x235)](_0x123f0b){const _0x212fb0=a0_0x5393c2;let _0x13a930={'fields':[ValueUtil[_0x212fb0(0x28b)](_0x123f0b[_0x212fb0(0x280)],'name'),ValueUtil[_0x212fb0(0x28b)](_0x123f0b[_0x212fb0(0x280)],_0x212fb0(0x1b8))]};return _0x123f0b[_0x212fb0(0x230)][_0x212fb0(0x264)]&&Object[_0x212fb0(0x245)](_0x13a930,_0x123f0b[_0x212fb0(0x230)][_0x212fb0(0x264)]),_0x13a930;}static[a0_0x5393c2(0x232)](_0x3a89ac){const _0x482372=a0_0x5393c2;let {multiple_select:_0x1a3863=!0x1,click:_0x4b60c6}=ValueUtil['isEmpty'](_0x3a89ac[_0x482372(0x230)][_0x482372(0x1f6)])?{}:_0x3a89ac[_0x482372(0x230)][_0x482372(0x1f6)],_0x25c459={'selectable':{'multiple':_0x1a3863},'appendable':_0x3a89ac[_0x482372(0x202)]};return ValueUtil[_0x482372(0x1a6)](_0x4b60c6)&&(_0x25c459[_0x482372(0x251)]={'click':_0x4b60c6}),_0x25c459;}static[a0_0x5393c2(0x26e)](_0x39995c){const _0x5f1890=a0_0x5393c2;let _0x20aff3=_0x39995c[_0x5f1890(0x230)][_0x5f1890(0x1e8)];return ValueUtil['isEmpty'](_0x20aff3)?[]:_0x20aff3[_0x5f1890(0x1d3)](_0x4113c2=>{const _0x18c056=_0x5f1890;let _0x1744b6={'type':'gutter','gutterName':_0x18c056(0x1e8)};if(ValueUtil['isNotEmpty'](_0x4113c2['icon'])&&(Array[_0x18c056(0x16f)](_0x4113c2['icon'])?_0x1744b6[_0x18c056(0x188)]=_0x2b33f5=>{const _0xe26dbe=_0x18c056;if(ValueUtil['isNotEmpty'](_0x2b33f5))for(let _0x27a641=0x0;_0x27a641<_0x4113c2[_0xe26dbe(0x188)][_0xe26dbe(0x268)];_0x27a641++){let _0x125fba=_0x4113c2[_0xe26dbe(0x188)][_0x27a641];if(!0x0===ValueUtil['compareObjectValues'](_0x125fba,_0x2b33f5,Object[_0xe26dbe(0x20b)](_0x125fba)['filter'](_0x55c250=>_0xe26dbe(0x188)!=_0x55c250)))return _0x125fba['icon'];}}:_0x1744b6[_0x18c056(0x188)]=_0x4113c2[_0x18c056(0x188)]),ValueUtil['isNotEmpty'](_0x4113c2['name'])&&(_0x1744b6[_0x18c056(0x241)]=_0x4113c2[_0x18c056(0x241)]),ValueUtil['isNotEmpty'](_0x4113c2[_0x18c056(0x1cc)])&&(_0x1744b6[_0x18c056(0x165)]=TermsUtil[_0x18c056(0x14e)](_0x4113c2['label'])),_0x18c056(0x292)===_0x4113c2['type']){let _0x2b7538=ValueUtil[_0x18c056(0x28b)](_0x4113c2,'logic');['history_copy',_0x18c056(0x19f)][_0x18c056(0x157)](_0x2b7538)?_0x1744b6['handlers']={'click':(_0x57cf81,_0x1362a1,_0xb85fb1,_0x5cd59c,_0x4ee2c7)=>{const _0x181147=_0x18c056;if(_0x5cd59c['id']){let _0x1da997={'title':_0x181147(0x19c),'type':_0x181147(0x1ef),'tagname':'history_copy'==_0x2b7538?_0x181147(0x1f4):'history-json-list-popup','location':_0x181147(0x1a5)==_0x2b7538?_0x181147(0x1e4):_0x181147(0x265),'menu':_0x39995c['currentRouting'],'size':_0x181147(0x27a),'popup_field':_0x181147(0x20e),'parent_field':'id'},_0x5a9036={..._0x5cd59c,'gqlFunc':ValueUtil[_0x181147(0x28b)](_0x39995c[_0x181147(0x1bb)],'query','find_one_func'),'gristConfig':JSON[_0x181147(0x164)](JSON['stringify'](_0x39995c[_0x181147(0x239)][_0x181147(0x175)]))};MetaUiUtil[_0x181147(0x150)](_0x39995c,{'logic':_0x1da997},_0x5a9036);}}}:_0x1744b6[_0x18c056(0x251)]={'click':_0x2b7538};}else _0x1744b6[_0x18c056(0x251)]={'click':(_0x5aa2e7,_0x4b7984,_0x4a8fdf,_0x37d471,_0x191a4d)=>{_0x37d471['id']&&MetaUiUtil['gristButtonHandler'](_0x39995c,_0x4113c2,_0x37d471);}};return _0x1744b6;});}static async['getGridColumnSet'](_0x3f54ae){const _0x7ea574=a0_0x5393c2;let _0x33b0e2=_0x3f54ae['gridColumnConfig'];if(ValueUtil[_0x7ea574(0x169)](_0x33b0e2))return[];let _0x21d029=[];for(let _0x4df053=0x0;_0x4df053<_0x33b0e2[_0x7ea574(0x268)];_0x4df053++){let {type:_0x150575=_0x7ea574(0x276),name:_0x423aa1,header:_0x3b5883,hidden:_0xe6d516=!0x1,editable:_0xb58f73=!0x0,mandatory:_0x324d5b=!0x1,sortable:_0x3160c2=!0x1,align:_0x41df09=_0x7ea574(0x256),width:_0x3cfb3b=0x0,exportable:_0x3878ae=!0x1,select_opt:_0x25e36b,object_opt:_0x243629}=_0x33b0e2[_0x4df053],_0x221121={'type':_0x150575,'name':_0x423aa1,'header':ValueUtil['isEmpty'](_0x3b5883)?'':TermsUtil['tLabel'](_0x3b5883),'hidden':_0xe6d516,'sortable':_0x3160c2,'width':_0x3cfb3b,'record':{'editable':_0xb58f73,'mandatory':_0x324d5b,'align':_0x41df09}};if(_0x7ea574(0x1d6)===_0x150575&&ValueUtil['isNotEmpty'](_0x25e36b))Array['isArray'](_0x25e36b)?_0x221121[_0x7ea574(0x1ac)][_0x7ea574(0x233)]=_0x25e36b:_0x7ea574(0x293)===_0x25e36b[_0x7ea574(0x15a)]?_0x221121['record'][_0x7ea574(0x233)]=await ServiceUtil[_0x7ea574(0x1f8)](_0x25e36b[_0x7ea574(0x1c6)]?_0x25e36b[_0x7ea574(0x1c6)]:_0x25e36b[_0x7ea574(0x241)]):'scenario'===_0x25e36b[_0x7ea574(0x15a)]?_0x221121['record']['options']=await ServiceUtil[_0x7ea574(0x206)](_0x25e36b[_0x7ea574(0x241)],_0x25e36b[_0x7ea574(0x217)]):'entity'===_0x25e36b[_0x7ea574(0x15a)]&&(_0x221121['record']['options']=await ServiceUtil[_0x7ea574(0x18d)](_0x25e36b[_0x7ea574(0x217)]));else{if('object'!==_0x150575&&_0x7ea574(0x261)!==_0x150575||!ValueUtil['isNotEmpty'](_0x243629))_0x7ea574(0x19e)===_0x150575&&ValueUtil[_0x7ea574(0x1a6)](_0x243629)&&(_0x221121[_0x7ea574(0x1ac)][_0x7ea574(0x233)]=_0x243629,_0x243629[_0x7ea574(0x16e)]&&(_0x221121[_0x7ea574(0x1ac)][_0x7ea574(0x233)][_0x7ea574(0x277)]=await ServiceUtil[_0x7ea574(0x18d)](_0x243629)));else{let _0xdf9a4c;_0x243629[_0x7ea574(0x1d6)]&&_0x243629[_0x7ea574(0x1d6)][_0x7ea574(0x274)](_0x3feda4=>{const _0xb03083=_0x7ea574;_0x3feda4[_0xb03083(0x20c)]||(_0x3feda4['header']=_0x3feda4[_0xb03083(0x241)]),_0x3feda4['header']=TermsUtil['tLabel'](_0x3feda4[_0xb03083(0x20c)]);}),_0x221121['record'][_0x7ea574(0x233)]={..._0x243629},_0x243629[_0x7ea574(0x289)]&&_0x243629[_0x7ea574(0x289)][_0x7ea574(0x26c)]&&(_0xdf9a4c=[..._0x243629[_0x7ea574(0x289)][_0x7ea574(0x26c)]]),_0xdf9a4c&&JSON['stringify'](_0xdf9a4c)[_0x7ea574(0x157)]('::')&&(_0x221121['handlers']={'dblclick':(_0x3a8b36,_0xcfd709,_0xfb2246,_0xf2eb20,_0x13db26)=>{const _0x4e9617=_0x7ea574;let _0x3bc05c=[];_0xdf9a4c[_0x4e9617(0x274)](_0x497a95=>{const _0xe50112=_0x4e9617;var {name:_0x2f9548,value:_0x226524,operator:_0xd8d44d='eq'}=_0x497a95;_0x226524[_0xe50112(0x157)]('::')&&(_0x226524=ValueUtil['getParams'](_0xf2eb20,..._0x226524[_0xe50112(0x23d)]('::','')[_0xe50112(0x294)]('.'))),_0x226524||(_0x226524=''),_0x3bc05c[_0xe50112(0x1cd)]({'name':_0x2f9548,'operator':_0xd8d44d,'value':_0x226524});}),_0xfb2246[_0x4e9617(0x1ac)][_0x4e9617(0x233)][_0x4e9617(0x289)][_0x4e9617(0x26c)]=_0x3bc05c;}});}}!0x0===_0x3f54ae[_0x7ea574(0x20d)]&&!0x0===_0x3878ae&&(_0x221121[_0x7ea574(0x18b)]={'header':_0x221121[_0x7ea574(0x20c)],'key':_0x221121[_0x7ea574(0x241)],'width':_0x221121[_0x7ea574(0x25c)]/0x6,'type':_0x221121[_0x7ea574(0x15a)]}),_0x21d029['push'](_0x221121);}if(!0x0!==this[_0x7ea574(0x1fb)])return _0x21d029;let _0x3f8aba=await MetaApi[_0x7ea574(0x226)](this[_0x7ea574(0x155)]),{template:_0x2c6778={}}=_0x3f8aba;if(!_0x2c6778[_0x7ea574(0x22d)])return _0x21d029;let _0x1e5afc=_0x2c6778['master'];return _0x21d029=_0x21d029[_0x7ea574(0x1d3)](_0x5e7f3d=>('id'==_0x5e7f3d[_0x7ea574(0x241)]||(_0x5e7f3d[_0x7ea574(0x21e)]=!_0x1e5afc[_0x7ea574(0x157)](_0x5e7f3d[_0x7ea574(0x241)]),_0x5e7f3d['rank']=_0x1e5afc[_0x7ea574(0x285)](_0x5e7f3d[_0x7ea574(0x241)]),-0x1==_0x5e7f3d[_0x7ea574(0x25d)]&&(_0x5e7f3d[_0x7ea574(0x25d)]=0x1869f)),_0x5e7f3d)),_0x21d029[_0x7ea574(0x21f)]((_0x1dbd5d,_0x302a8e)=>_0x1dbd5d[_0x7ea574(0x25d)]-_0x302a8e['rank']),_0x21d029;}static[a0_0x5393c2(0x24c)](_0x574b4d,_0x25c995){const _0x5a3ef7=a0_0x5393c2;let _0x4ca956=_0x574b4d['searchConfig'];return _0x4ca956&&_0x4ca956[_0x5a3ef7(0x274)](_0x1a802b=>{const _0x2f4c51=_0x5a3ef7;'string'==typeof _0x1a802b?_0x25c995[_0x2f4c51(0x14a)](_0x1ab531=>_0x1ab531['name']==_0x1a802b)[_0x2f4c51(0x274)](_0x2fa73d=>{_0x2fa73d['filter']='search';}):_0x2f4c51(0x19b)==typeof _0x1a802b&&_0x25c995[_0x2f4c51(0x14a)](_0x193ded=>_0x193ded[_0x2f4c51(0x241)]==_0x1a802b['name'])[_0x2f4c51(0x274)](_0x213733=>{const _0x5e09d2=_0x2f4c51;_0x213733[_0x5e09d2(0x14a)]=_0x1a802b,_0x213733[_0x5e09d2(0x14a)][_0x5e09d2(0x15a)]='datetime'===_0x213733['type']?'datetime-local':_0x213733[_0x5e09d2(0x15a)],[_0x5e09d2(0x19b),'resource-object'][_0x5e09d2(0x157)](_0x213733[_0x5e09d2(0x15a)])&&(_0x213733['filter'][_0x5e09d2(0x241)]=_0x213733['filter']['searchField']?_0x213733[_0x5e09d2(0x14a)]['searchField']:_0x213733[_0x5e09d2(0x241)]+'Id');let _0xf0e70f=_0x213733['filter'][_0x5e09d2(0x27b)];if(_0xf0e70f&&_0xf0e70f[_0x5e09d2(0x287)](_0x5e09d2(0x214))){let _0x239dc8=_0xf0e70f[_0x5e09d2(0x294)](','),_0x108394=[];_0x239dc8['forEach'](_0x3a8f4f=>{const _0x2ebb90=_0x5e09d2,_0x5ac6bf=a0_0x20a3c0();_0x2ebb90(0x214)==_0x3a8f4f?_0x108394['push'](_0x5ac6bf['format']('YYYY-MM-DD')):_0x3a8f4f[_0x2ebb90(0x157)]('-')?_0x108394[_0x2ebb90(0x1cd)](_0x5ac6bf[_0x2ebb90(0x231)](_0x3a8f4f[_0x2ebb90(0x294)]('-')[0x1],_0x2ebb90(0x148))[_0x2ebb90(0x182)](_0x2ebb90(0x23e))):_0x3a8f4f[_0x2ebb90(0x157)]('+')&&_0x108394[_0x2ebb90(0x1cd)](_0x5ac6bf[_0x2ebb90(0x1f1)](_0x3a8f4f['split']('+')[0x1],'day')[_0x2ebb90(0x182)](_0x2ebb90(0x23e)));}),_0x213733[_0x5e09d2(0x14a)]['value']=0x1==_0x108394[_0x5e09d2(0x268)]?_0x108394[0x0]:_0x108394;}});}),_0x25c995;}static[a0_0x5393c2(0x15d)](_0x125881){const _0x53cc62=a0_0x5393c2;let _0xf25127={'title':TermsUtil[_0x53cc62(0x236)](_0x125881['menuInfo'][_0x53cc62(0x165)]),'help':_0x125881[_0x53cc62(0x280)][_0x53cc62(0x15e)]||'','actions':[...MetaUiUtil[_0x53cc62(0x219)](_0x125881)]};return _0x125881[_0x53cc62(0x20d)]&&(_0xf25127['exportable']={'name':_0xf25127[_0x53cc62(0x165)],'data':_0x125881[_0x53cc62(0x1a9)][_0x53cc62(0x298)](_0x125881)}),_0x125881[_0x53cc62(0x1e7)]&&(_0xf25127[_0x53cc62(0x1a3)]={'handler':_0x125881[_0x53cc62(0x161)]['bind'](_0x125881)}),_0xf25127;}static[a0_0x5393c2(0x219)](_0x55fa3b){const _0x213993=a0_0x5393c2;let _0x414fd7=_0x55fa3b[_0x213993(0x227)];return ValueUtil[_0x213993(0x169)](_0x414fd7)?[]:_0x414fd7[_0x213993(0x14a)](_0x14545a=>_0x213993(0x1a9)!=_0x14545a[_0x213993(0x241)]&&_0x213993(0x161)!=_0x14545a['name']&&_0x213993(0x1f1)!=_0x14545a[_0x213993(0x241)])['map'](_0x57aef9=>{const _0x57d308=_0x213993;let {name:_0x1afad6,label:_0x5406a3,style:_0x199f51,type:_0xd1df79=_0x57d308(0x292),action:_0x2f083f,logic:_0x14d9cd}=_0x57aef9;if(ValueUtil[_0x57d308(0x169)](_0x1afad6))return{'title':'-1'};ValueUtil[_0x57d308(0x169)](_0x5406a3)&&(_0x5406a3=_0x1afad6),ValueUtil[_0x57d308(0x169)](_0x199f51)&&(_0x199f51=_0x1afad6),ValueUtil['isEmpty'](_0x2f083f)&&(_0x2f083f=_0x1afad6);let _0x314a6c=ValueUtil['isNotEmpty'](_0x199f51)?CommonButtonStyles[_0x199f51]||{'icon':_0x199f51,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x57d308(0x14e)](_0x5406a3),'action':MetaUiUtil[_0x57d308(0x203)](_0x55fa3b,_0xd1df79,_0x2f083f,_0x14d9cd),..._0x314a6c};})[_0x213993(0x14a)](_0x33d7c2=>'-1'!=_0x33d7c2[_0x213993(0x165)]);}static[a0_0x5393c2(0x21c)](_0x317bfd){const _0x51efc8=a0_0x5393c2;let _0x574c95=_0x317bfd&&_0x317bfd['buttonConfig']?_0x317bfd[_0x51efc8(0x227)]:null;return _0x574c95?_0x574c95['filter'](_0x536c17=>_0x51efc8(0x1f1)!=_0x536c17[_0x51efc8(0x241)])[_0x51efc8(0x1d3)](_0x1b1288=>{const _0x52338d=_0x51efc8;let {name:_0x1cc06a,label:_0x531b2b,style:_0x47f3a0,type:_0x3856f0=_0x52338d(0x292),action:_0x455d2f,logic:_0x12a1c8}=_0x1b1288;ValueUtil[_0x52338d(0x169)](_0x531b2b)&&(_0x531b2b=_0x1cc06a),ValueUtil['isEmpty'](_0x47f3a0)&&(_0x47f3a0=_0x1cc06a),ValueUtil['isEmpty'](_0x455d2f)&&(_0x455d2f=_0x1cc06a);let _0x18476f=MetaUiUtil['createButtonElement'](TermsUtil['tButton'](_0x531b2b),_0x47f3a0);return _0x18476f[_0x52338d(0x269)]=MetaUiUtil[_0x52338d(0x203)](_0x317bfd,_0x3856f0,_0x455d2f,_0x12a1c8),_0x18476f;}):[];}static[a0_0x5393c2(0x290)](_0x191353,_0x1509e7){const _0x54d785=a0_0x5393c2;let _0x19607b=CommonButtonStyles[_0x1509e7]||{'icon':_0x1509e7,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x32f200=_0x54d785(0x1ea)+_0x191353+'\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+(_0x19607b[_0x54d785(0x188)]?_0x19607b['icon']:'')+_0x54d785(0x22c)+(_0x19607b['emphasis'][_0x54d785(0x18c)]?_0x54d785(0x18c):'')+_0x54d785(0x197)+(_0x19607b[_0x54d785(0x286)]['outlined']?_0x54d785(0x160):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x19607b[_0x54d785(0x286)][_0x54d785(0x1c8)]?_0x54d785(0x1c8):'')+_0x54d785(0x197)+(_0x19607b[_0x54d785(0x286)][_0x54d785(0x1b7)]?'danger':'')+_0x54d785(0x257);return UiUtil[_0x54d785(0x212)](_0x32f200);}static['getButtonActionHandler'](_0x3fef44,_0x4425cc,_0xc1773a,_0x1f9cff){const _0x367ea2=a0_0x5393c2;if('basic'==_0x4425cc){if(_0x3fef44[_0xc1773a])return _0x3fef44[_0xc1773a][_0x367ea2(0x298)](_0x3fef44);}else{if('custom'==_0x4425cc)return()=>MetaUiUtil[_0x367ea2(0x1c3)](_0x3fef44,_0x1f9cff);}return()=>{const _0x18b9a9=_0x367ea2;UiUtil['showAlertPopup'](_0x18b9a9(0x198),_0x18b9a9(0x1e1),_0x18b9a9(0x23c),_0x18b9a9(0x22f));};}static async[a0_0x5393c2(0x150)](_0x5e8320,_0x355969,_0x4db529){const _0x2b10ed=a0_0x5393c2;let _0x528895=ValueUtil[_0x2b10ed(0x28b)](_0x355969,_0x2b10ed(0x238)),_0x59ecdc=ValueUtil[_0x2b10ed(0x28b)](_0x528895,'type');if('form'===_0x59ecdc)_0x528895[_0x2b10ed(0x14c)]=_0x2b10ed(0x201),_0x528895[_0x2b10ed(0x1a1)]=_0x2b10ed(0x27c),_0x528895['parent_field']='id',await MetaUiUtil['commonButtonOpenPopup'](_0x5e8320,_0x528895,_0x4db529);else{if('pass_param'===_0x59ecdc)MetaUiUtil['gristButtonPassParam'](_0x5e8320,_0x528895,_0x4db529);else{if(_0x2b10ed(0x22e)===_0x59ecdc){let _0x429f38;_0x528895[_0x2b10ed(0x247)]?(_0x429f38={},Object[_0x2b10ed(0x20b)](_0x4db529)[_0x2b10ed(0x14a)](_0x27c1ee=>Object[_0x2b10ed(0x20b)](_0x528895[_0x2b10ed(0x247)])['includes'](_0x27c1ee))[_0x2b10ed(0x1d3)](_0x59bd8f=>{const _0x244930=_0x2b10ed;Object[_0x244930(0x20b)](_0x528895[_0x244930(0x247)])[_0x244930(0x157)](_0x59bd8f)&&(_0x244930(0x276)==typeof _0x4db529[_0x59bd8f]?_0x429f38[_0x528895[_0x244930(0x247)][_0x59bd8f]]=_0x4db529[_0x59bd8f]:_0x429f38[_0x528895[_0x244930(0x247)][_0x59bd8f]]={'id':_0x4db529[_0x59bd8f]['id']});})):_0x429f38=_0x4db529,UiUtil[_0x2b10ed(0x1d2)](_0x528895[_0x2b10ed(0x1ca)],[_0x429f38]);}else _0x2b10ed(0x1ef)===_0x59ecdc?await MetaUiUtil[_0x2b10ed(0x17c)](_0x5e8320,_0x528895,_0x4db529):_0x2b10ed(0x1b4)===_0x59ecdc?await MetaUiUtil[_0x2b10ed(0x297)](_0x5e8320,_0x528895,_0x4db529):_0x2b10ed(0x19a)===_0x59ecdc&&await MetaUiUtil['gristButtonValueReference'](_0x5e8320,_0x528895,_0x4db529);}}}static async[a0_0x5393c2(0x1c3)](_0x22c6af,_0x1b389d){const _0x7197a4=a0_0x5393c2;if(ValueUtil[_0x7197a4(0x169)](_0x1b389d))return;let _0x2921bc=_0x22c6af[_0x7197a4(0x239)],_0x7c810=_0x22c6af['filterForm'],_0x3234cf=ValueUtil[_0x7197a4(0x28b)](_0x1b389d,'type'),_0x30841d=ValueUtil[_0x7197a4(0x28b)](_0x1b389d,'param'),_0x450be8=_0x30841d[_0x7197a4(0x14a)](_0x3e1267=>_0x3e1267[_0x7197a4(0x287)](_0x7197a4(0x239)));if(ValueUtil[_0x7197a4(0x1a6)](_0x450be8)){if(!_0x2921bc)return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),'text.grid_is_not_exist',_0x7197a4(0x23c),_0x7197a4(0x22f));if(0x0==(_0x2921bc[_0x7197a4(0x151)]?_0x2921bc[_0x7197a4(0x151)][_0x7197a4(0x28c)]:[])[_0x7197a4(0x268)])return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),_0x7197a4(0x243),_0x7197a4(0x23c),_0x7197a4(0x22f));if(_0x30841d['includes'](_0x7197a4(0x186))||_0x30841d['includes'](_0x7197a4(0x259))){let _0x2fb218=_0x2921bc[_0x7197a4(0x17a)];if(ValueUtil[_0x7197a4(0x169)](_0x2fb218))return void UiUtil['showAlertPopup'](_0x7197a4(0x1e2),'text.there_is_no_selected_items','info',_0x7197a4(0x22f));if(_0x30841d[_0x7197a4(0x157)](_0x7197a4(0x186))&&_0x2fb218[_0x7197a4(0x268)]>0x1)return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),_0x7197a4(0x1e6),_0x7197a4(0x23c),_0x7197a4(0x22f));}}let _0x1143c7={};if(_0x30841d['includes'](_0x7197a4(0x14a))){if(!_0x7c810)return void UiUtil[_0x7197a4(0x246)](_0x7197a4(0x1eb),_0x7197a4(0x1b1),_0x7197a4(0x23c),_0x7197a4(0x22f));let _0x50013f=_0x7c810?await _0x7c810[_0x7197a4(0x1cb)]():[];_0x1143c7['filter']=_0x50013f;}if(_0x30841d['includes'](_0x7197a4(0x153)))_0x1143c7[_0x7197a4(0x239)]=_0x2921bc[_0x7197a4(0x151)]['records'];else{if(_0x30841d['includes'](_0x7197a4(0x186)))_0x1143c7[_0x7197a4(0x239)]=_0x2921bc[_0x7197a4(0x17a)][0x0];else{if(_0x30841d[_0x7197a4(0x157)](_0x7197a4(0x259)))_0x1143c7[_0x7197a4(0x239)]=_0x2921bc[_0x7197a4(0x17a)];else{if(_0x30841d[_0x7197a4(0x157)]('grist_changed')&&(_0x1143c7[_0x7197a4(0x239)]=ServiceUtil['patchesForUpdateMultiple'](_0x2921bc),!_0x1143c7[_0x7197a4(0x239)]))return;}}}if(_0x7197a4(0x22e)===_0x3234cf){let _0x4a71dc,_0xf0264e=Array['isArray'](_0x1143c7['grist'])?_0x1143c7[_0x7197a4(0x239)]:[_0x1143c7[_0x7197a4(0x239)]];_0x4a71dc=_0x1b389d[_0x7197a4(0x247)]?_0xf0264e[_0x7197a4(0x1d3)](_0x3dcbfa=>{const _0x380a70=_0x7197a4;let _0x51d517={};return Object[_0x380a70(0x20b)](_0x3dcbfa)[_0x380a70(0x14a)](_0x31672f=>Object[_0x380a70(0x20b)](_0x1b389d[_0x380a70(0x247)])[_0x380a70(0x157)](_0x31672f))[_0x380a70(0x1d3)](_0x3d4530=>{const _0x540b34=_0x380a70;Object[_0x540b34(0x20b)](_0x1b389d[_0x540b34(0x247)])[_0x540b34(0x157)](_0x3d4530)&&(_0x540b34(0x276)==typeof _0x3dcbfa[_0x3d4530]?_0x51d517[_0x1b389d['param_field'][_0x3d4530]]=_0x3dcbfa[_0x3d4530]:_0x51d517[_0x1b389d[_0x540b34(0x247)][_0x3d4530]]={'id':_0x3dcbfa[_0x3d4530]['id']});}),_0x51d517;}):_0xf0264e,UiUtil[_0x7197a4(0x1d2)](_0x1b389d[_0x7197a4(0x1ca)],_0x4a71dc);}else{if(_0x7197a4(0x1ef)===_0x3234cf){let _0x3f13ed={..._0x1143c7[_0x7197a4(0x239)]?_0x1143c7['grist']:{},..._0x1143c7[_0x7197a4(0x14a)]?_0x1143c7[_0x7197a4(0x14a)]:{}};await MetaUiUtil[_0x7197a4(0x17c)](_0x22c6af,_0x1b389d,_0x3f13ed);}else _0x7197a4(0x1b4)===_0x3234cf&&await MetaUiUtil[_0x7197a4(0x297)](_0x22c6af,_0x1b389d,_0x1143c7);}}static['gristButtonPassParam'](_0x3ea487,_0x6e8a23,_0x15bbf1){const _0x12f995=a0_0x5393c2;let _0x155d2d=_0x6e8a23[_0x12f995(0x1f3)],_0x235419={},_0xbfd041=_0x3ea487[_0x12f995(0x254)][_0x12f995(0x1fe)](),_0xc1b366=_0x3ea487;_0x235419=_0xbfd041['startsWith'](_0x12f995(0x16c))?{'detail':{..._0x155d2d}}:_0xbfd041[_0x12f995(0x287)]('meta-master-detail-')?_0x3ea487[_0x12f995(0x279)]['tagName'][_0x12f995(0x1fe)]()['startsWith'](_0x12f995(0x18a))?{'detail':{..._0x155d2d}}:{'self':{..._0x155d2d}}:_0x155d2d,Object['keys'](_0x235419)[_0x12f995(0x274)](_0x18103d=>{const _0x30809e=_0x12f995;_0x30809e(0x22d)==_0x18103d?_0xc1b366=_0x3ea487['rootElement']['masterElement']:_0x30809e(0x1d0)==_0x18103d?_0xc1b366=_0x3ea487[_0x30809e(0x176)]?_0x3ea487['rootElement'][_0x30809e(0x279)]:_0x3ea487['detailElement']:_0x30809e(0x172)==_0x18103d&&(_0xc1b366=_0x3ea487),Object[_0x30809e(0x20b)](_0x235419[_0x18103d])[_0x30809e(0x274)](_0x68dcf4=>{const _0x58b696=_0x30809e;let _0x56d85f=_0xc1b366[_0x58b696(0x222)][_0x58b696(0x282)]('#'+_0x68dcf4);_0x15bbf1['id']&&_0x56d85f[_0x58b696(0x295)](_0x15bbf1['id']);let _0x4a1e47=_0x235419[_0x18103d][_0x68dcf4];Object[_0x58b696(0x20b)](_0x4a1e47)['forEach'](_0x245ff8=>{let _0x47f9bd=_0x4a1e47[_0x245ff8],_0x24a9ed='*'===_0x47f9bd?_0x15bbf1:_0x15bbf1[_0x47f9bd];_0x56d85f[_0x245ff8]=_0x24a9ed;});});});}static async[a0_0x5393c2(0x17c)](_0x53b1d0,_0x634001,_0xa4dbcc){const _0x71498b=a0_0x5393c2;let _0x1dd008=TermsUtil[_0x71498b(0x236)](_0x634001[_0x71498b(0x165)]);ValueUtil[_0x71498b(0x1a6)](_0x634001['title_detail'])&&(_0x1dd008=_0x1dd008+'('+ValueUtil[_0x71498b(0x28b)](_0xa4dbcc,..._0x634001[_0x71498b(0x187)]['split']('.'))+')');let _0x4474da=_0x634001[_0x71498b(0x1a2)]&&_0x71498b(0x276)==typeof _0x634001['after']&&_0x71498b(0x1d9)===_0x634001['after']&&_0x53b1d0&&_0x53b1d0[_0x71498b(0x1d9)]?_0x53b1d0[_0x71498b(0x1d9)]['bind'](_0x53b1d0):void 0x0;UiUtil[_0x71498b(0x1ba)](_0x1dd008,_0x634001,_0xa4dbcc,_0x4474da);}static async[a0_0x5393c2(0x297)](_0x5639e5,_0x238ec1,_0x347d2e){const _0xb6d07b=a0_0x5393c2;let _0x173fea=await ServiceUtil[_0xb6d07b(0x15f)](_0xb6d07b(0x1c1),_0x238ec1[_0xb6d07b(0x241)],_0x347d2e);if(!_0x173fea[_0xb6d07b(0x291)]&&!ValueUtil[_0xb6d07b(0x169)](_0x238ec1[_0xb6d07b(0x1a2)])&&_0x238ec1['after']){if(_0xb6d07b(0x1d9)!==_0x238ec1[_0xb6d07b(0x1a2)]){if('object'==typeof _0x238ec1[_0xb6d07b(0x1a2)]){let _0x2afe00=_0x238ec1[_0xb6d07b(0x1a2)],_0x36d80d=ValueUtil[_0xb6d07b(0x28b)](_0x173fea[_0xb6d07b(0x151)]['runScenario'][_0xb6d07b(0x151)],..._0x2afe00[_0xb6d07b(0x1aa)]['split']('.'));if(0x0==Array[_0xb6d07b(0x16f)](_0x36d80d)&&(_0x36d80d=[_0x36d80d]),'form'===_0x2afe00['type'])_0x2afe00[_0xb6d07b(0x14c)]=_0xb6d07b(0x201),_0x2afe00[_0xb6d07b(0x1a1)]=_0xb6d07b(0x27c),_0x2afe00[_0xb6d07b(0x242)]='id',_0x36d80d=_0x36d80d[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x5639e5,_0x2afe00,_0x36d80d);else{if('page'===_0x2afe00['type']){let _0x109da3,_0x1c7b48=_0x36d80d;_0x109da3=_0x2afe00['param_field']?_0x1c7b48[_0xb6d07b(0x1d3)](_0x1a78fa=>{const _0x10c57d=_0xb6d07b;let _0x4a49ba={};return Object[_0x10c57d(0x20b)](_0x1a78fa)[_0x10c57d(0x14a)](_0x56756c=>Object[_0x10c57d(0x20b)](_0x2afe00[_0x10c57d(0x247)])[_0x10c57d(0x157)](_0x56756c))[_0x10c57d(0x1d3)](_0x2f2666=>{const _0x201cb0=_0x10c57d;Object[_0x201cb0(0x20b)](_0x2afe00[_0x201cb0(0x247)])[_0x201cb0(0x157)](_0x2f2666)&&(_0x201cb0(0x276)==typeof _0x1a78fa[_0x2f2666]?_0x4a49ba[_0x2afe00[_0x201cb0(0x247)][_0x2f2666]]=_0x1a78fa[_0x2f2666]:_0x4a49ba[_0x2afe00['param_field'][_0x2f2666]]={'id':_0x1a78fa[_0x2f2666]['id']});}),_0x4a49ba;}):_0x1c7b48,UiUtil[_0xb6d07b(0x1d2)](_0x2afe00['url'],_0x109da3);}else'pass_param'===_0x2afe00[_0xb6d07b(0x15a)]?(_0x36d80d=_0x36d80d[0x0],MetaUiUtil[_0xb6d07b(0x1f0)](_0x5639e5,_0x2afe00,_0x36d80d)):_0xb6d07b(0x1ef)===_0x2afe00[_0xb6d07b(0x15a)]?(_0x36d80d=_0x36d80d[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x5639e5,_0x2afe00,_0x36d80d)):_0xb6d07b(0x19a)===_0x2afe00[_0xb6d07b(0x15a)]&&(_0x36d80d=_0x36d80d[0x0],await MetaUiUtil[_0xb6d07b(0x173)](_0x5639e5,_0x2afe00,_0x36d80d));}}}else _0x5639e5[_0xb6d07b(0x1d9)]();}}static async['gristButtonValueReference'](_0x2959dd,_0x50c7a2,_0x752dbb){const _0x2b67b7=a0_0x5393c2;for(let _0x34aeb6=0x0;_0x34aeb6<_0x50c7a2[_0x2b67b7(0x162)]['length'];_0x34aeb6++){let _0x146cb2=_0x50c7a2[_0x2b67b7(0x162)][_0x34aeb6];!0x0===ValueUtil[_0x2b67b7(0x213)](_0x146cb2,_0x752dbb,Object[_0x2b67b7(0x20b)](_0x146cb2)[_0x2b67b7(0x14a)](_0xf2b856=>_0x2b67b7(0x238)!=_0xf2b856))&&await MetaUiUtil[_0x2b67b7(0x150)](_0x2959dd,_0x146cb2,_0x752dbb);}}static['getGristHiddenColumnConfig'](_0x4f0ffc,_0x4f60ee){return{'type':_0x4f0ffc,'name':_0x4f60ee,'sortable':!0x1,'hidden':!0x0};}static['getGristColumnConfig'](_0x278fd7,_0x156127,_0x5e54df,_0x39c114,_0x27f2a6,_0x13a04e){const _0x25b5a7=a0_0x5393c2;let _0xc2d91d=TermsUtil[_0x25b5a7(0x1c0)](_0x156127);return{'type':_0x278fd7,'name':_0x156127,'header':_0xc2d91d,'record':{'align':_0x5e54df,'editable':_0x39c114},'sortable':_0x27f2a6,'width':_0x13a04e,'imex':{'width':Math[_0x25b5a7(0x14b)](_0x13a04e/0x6),'header':_0xc2d91d,'type':_0x278fd7,'key':_0x156127}};}static[a0_0x5393c2(0x27e)](_0x340db3,_0xb14532,_0x3e549d,_0x52d55a,_0x3286ae,_0x155f76,_0xb0c1f6){const _0x5ab734=a0_0x5393c2;let _0x11adc1=TermsUtil[_0x5ab734(0x1c0)](_0x3e549d);return{'type':_0x340db3,'name':_0xb14532,'header':_0x11adc1,'record':{'align':_0x52d55a,'editable':_0x3286ae},'sortable':_0x155f76,'width':_0xb0c1f6,'imex':{'width':Math['floor'](_0xb0c1f6/0x6),'header':_0x11adc1,'type':_0x340db3,'key':_0xb14532}};}static[a0_0x5393c2(0x17d)](_0x2aee70,_0x4c6ed3,_0xded0de,_0x4830b,_0xe35ba5,_0x38f48e,_0x38474e,_0x365a84){const _0x42628a=a0_0x5393c2;let _0x449f89=TermsUtil[_0x42628a(0x1c0)](_0xded0de);return{'type':_0x2aee70,'name':_0x4c6ed3,'header':_0x449f89,'record':{'align':_0x4830b,'editable':_0xe35ba5,'mandatory':_0x38474e},'sortable':_0x38f48e,'width':_0x365a84,'imex':{'width':Math[_0x42628a(0x14b)](_0x365a84/0x6),'header':_0x449f89,'type':_0x2aee70,'key':_0x4c6ed3}};}static['getGristSelectorColumnConfig'](_0x58f42d,_0x23deed,_0x39c7d1,_0x151253,_0xddce03,_0xee5484,_0x4ad76e){const _0x4d20c7=a0_0x5393c2;let _0x39effe=TermsUtil[_0x4d20c7(0x1c0)](_0x23deed);return{'type':_0x4d20c7(0x1d6),'name':_0x58f42d,'header':_0x39effe,'record':{'align':_0x39c7d1,'editable':!0x0,'mandatory':_0xee5484,'options':_0x4ad76e},'sortable':_0x151253,'width':_0xddce03,'imex':{'width':Math[_0x4d20c7(0x14b)](_0xddce03/0x6),'header':_0x39effe,'type':_0x4d20c7(0x276),'key':_0x58f42d}};}static async['getGristCodeSelectorColumnConfig'](_0x40f69d,_0x3c4ed2,_0x4e0d29,_0xfd00a9,_0x5c293a,_0x456258,_0x503458){const _0x27832c=a0_0x5393c2;let _0x1cc6e7=await ServiceUtil[_0x27832c(0x1f8)](_0x503458);return MetaUiUtil['getGristSelectorColumnConfig'](_0x40f69d,_0x3c4ed2,_0x4e0d29,_0xfd00a9,_0x5c293a,_0x456258,_0x1cc6e7);}static[a0_0x5393c2(0x177)](_0x1bc22a,_0x436637,_0x41521f,_0x46790b,_0x51a2ea){const _0x9530=a0_0x5393c2;let _0x1dd812=TermsUtil[_0x9530(0x1c0)](_0x41521f),_0xedab8={'name':_0x1bc22a,'type':_0x436637,'label':_0x1dd812,'operator':_0x46790b,'imex':{'width':0x10,'header':_0x1dd812,'type':_0x436637,'key':_0x1bc22a}};return _0x51a2ea&&(_0xedab8[_0x9530(0x233)]=_0x51a2ea),_0xedab8;}static async[a0_0x5393c2(0x26a)](_0x2b6994,_0x4680f0,_0x2e910b,_0x130ac9,_0x549615){const _0xcb9ec9=a0_0x5393c2;let _0x4b4e86=await ServiceUtil[_0xcb9ec9(0x1f8)](_0x549615);return MetaUiUtil['getGristSearchColumnConfig'](_0x2b6994,_0x4680f0,_0x2e910b,_0x130ac9,_0x4b4e86);}static[a0_0x5393c2(0x14f)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))['errors'])return;let _0x461b54,_0xf89453=[{'name':_0x20d6c1(0x1e2),'operator':'eq','value':_0x2a65f2}],_0x4eba0f=await ServiceUtil[_0x20d6c1(0x16b)](_0x20d6c1(0x1ce),_0xf89453,null,0x0,0x0,_0x20d6c1(0x19b));if(_0x4eba0f&&_0x4eba0f[_0x20d6c1(0x22f)]&&0x0!=_0x4eba0f['records'][_0x20d6c1(0x187)]?(_0x461b54=_0x4eba0f['records'][0x0],!_0x461b54[_0x20d6c1(0x1f0)]&&_0x243988[_0x20d6c1(0x250)]&&(_0x461b54['template']=_0x243988[_0x20d6c1(0x250)])):_0x243988[_0x20d6c1(0x250)]&&(_0x461b54={'id':_0x2a65f2,'template':_0x243988[_0x20d6c1(0x250)]}),!_0x461b54)throw new Error(TermsUtil[_0x20d6c1(0x1f6)](_0x20d6c1(0x1e4),{'value':TermsUtil['tMenu'](_0x20d6c1(0x1eb))+'\x20'+_0x2a65f2}));if(!_0x461b54[_0x20d6c1(0x1f0)])throw new Error(TermsUtil[_0x20d6c1(0x1f6)](_0x20d6c1(0x1e4),{'value':TermsUtil['tMenu']('menu')+'\x20'+TermsUtil['tLabel'](_0x20d6c1(0x1ae))}));return this[_0x20d6c1(0x203)]=_0x461b54['id'],JSON[_0x20d6c1(0x1de)](MetaCrypto['dec'](_0x461b54['template']));}static[a0_0x486ab5(0x196)](){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':_0x2ff04d=>Boolean(_0x2ff04d)},'is_popup':{'type':Boolean,'converter':_0x58d2e0=>Boolean(_0x58d2e0)},'is_activity':{'type':Boolean,'converter':_0x5e9374=>Boolean(_0x5e9374)},'is_readonly':{'type':Boolean,'converter':_0x61e6d=>Boolean(_0x61e6d)}};}static async['getMenuMeta'](_0x38282f){const _0x29796b=a0_0x486ab5;if(0x0==store[_0x29796b(0x25d)]()['metaUI'][_0x29796b(0x194)])return void document[_0x29796b(0x165)](new CustomEvent(_0x29796b(0x26c),{'detail':{'level':'error','message':TermsUtil[_0x29796b(0x1bc)](_0x29796b(0x19c))}}));let _0x23531a=_0x38282f[_0x29796b(0x21d)]?UiUtil['currentRouting']():_0x38282f[_0x29796b(0x243)];_0x38282f[_0x29796b(0x1c9)]=_0x23531a;let _0x76fc65=await MetaUiUtil['findMenuMetaByRouting'](_0x38282f,_0x23531a);return!0x0===_0x38282f[_0x29796b(0x13b)]&&(_0x76fc65[_0x29796b(0x130)][_0x29796b(0x1b0)][_0x29796b(0x18c)]=!0x1,_0x76fc65[_0x29796b(0x130)][_0x29796b(0x1b0)][_0x29796b(0x1e6)]=_0x29796b(0x1c2),_0x76fc65[_0x29796b(0x130)][_0x29796b(0x252)]=!0x1,_0x76fc65['grid']['button']=[],_0x76fc65['button']=_0x76fc65[_0x29796b(0x137)][_0x29796b(0x208)](_0x4d9be0=>'add'==_0x4d9be0[_0x29796b(0x168)])),!0x0===_0x38282f[_0x29796b(0x138)]&&(_0x76fc65[_0x29796b(0x18e)]['forEach'](_0x537734=>{_0x537734['editable']=!0x1;}),_0x76fc65[_0x29796b(0x137)]=_0x76fc65[_0x29796b(0x137)]['filter'](_0xf9ef18=>_0x29796b(0x211)!=_0xf9ef18[_0x29796b(0x168)])),!0x1===_0x38282f[_0x29796b(0x252)]&&(_0x76fc65[_0x29796b(0x130)]['use_filter_form']=!0x1),_0x76fc65;}static[a0_0x486ab5(0x27e)](..._0xa8670){return{'pages':_0xa8670};}static[a0_0x486ab5(0x1fe)](_0xdd69d1,_0x301fd0){const _0x4de001=a0_0x486ab5;let _0x9d35e1=[{'type':'gutter','gutterName':_0x4de001(0x202)},{'type':'gutter','gutterName':_0x4de001(0x220)}];return _0xdd69d1&&_0x9d35e1[_0x4de001(0x1ad)]({'type':_0x4de001(0x266),'gutterName':_0x4de001(0x26e),'multiple':_0x301fd0}),_0x9d35e1;}static[a0_0x486ab5(0x25c)](_0x23632d){return{'selectable':{'multiple':_0x23632d}};}static async['parseGridConfigSet'](_0x4f3536){const _0x49ff60=a0_0x486ab5;let _0x90670b=MetaUiUtil[_0x49ff60(0x1bd)](_0x4f3536),_0x586adc=MetaUiUtil[_0x49ff60(0x1b8)](_0x4f3536),_0xe0cb7c=MetaUiUtil['getGridRowSet'](_0x4f3536),_0x16716e=MetaUiUtil[_0x49ff60(0x14d)](_0x4f3536),_0x2cad50=await MetaUiUtil[_0x49ff60(0x1cf)](_0x4f3536),_0x1d111f=MetaUiUtil[_0x49ff60(0x1fe)](_0x90670b[_0x49ff60(0x18c)],_0xe0cb7c['selectable'][_0x49ff60(0x204)]);return 0x1==_0x4f3536[_0x49ff60(0x1b6)]&&(_0x2cad50=MetaUiUtil[_0x49ff60(0x169)](_0x4f3536,_0x2cad50)),{'list':_0x586adc,'pagination':_0x90670b['pages'],'sorters':_0x90670b['sorters'],'rows':_0xe0cb7c,'columns':[..._0x1d111f,..._0x16716e,..._0x2cad50]};}static async['parseFormConfigSet'](_0x4d9cf4){const _0x49020b=a0_0x486ab5;let _0x3a8a29=_0x4d9cf4[_0x49020b(0x1ef)],_0x1046ce=[];for(let _0x3fa4a0=0x0;_0x3fa4a0<_0x3a8a29[_0x49020b(0x187)];_0x3fa4a0++){let {type:_0x1cdb12='string',name:_0x153637,header:_0x791226,hidden:_0x33afc6=!0x1,editable:_0x46fee8=!0x0,mandatory:_0x139a5a=!0x1,align:_0x14d3f2=_0x49020b(0x143),select_opt:_0x2167c1,object_opt:_0x5eb13d}=_0x3a8a29[_0x3fa4a0],_0x583184={'type':_0x1cdb12,'name':_0x153637,'header_txt':ValueUtil['isEmpty'](_0x791226)?TermsUtil[_0x49020b(0x258)](_0x153637):TermsUtil['tLabel'](_0x791226),'header':{'renderer':function(_0x1731c4){const _0x2a86e4=_0x49020b;return _0x1731c4[_0x2a86e4(0x200)];}},'hidden':_0x33afc6,'record':{'editable':_0x46fee8,'mandatory':_0x139a5a,'align':_0x14d3f2,'classifier':function(){},'renderer':getRenderer(_0x1cdb12)}};_0x46fee8&&(_0x583184[_0x49020b(0x255)][_0x49020b(0x1fa)]=getEditor(_0x1cdb12)),_0x49020b(0x162)===_0x1cdb12&&ValueUtil[_0x49020b(0x145)](_0x2167c1)?Array['isArray'](_0x2167c1)?_0x583184['record'][_0x49020b(0x132)]=_0x2167c1:_0x49020b(0x230)===_0x2167c1[_0x49020b(0x182)]?_0x583184['record'][_0x49020b(0x132)]=await ServiceUtil[_0x49020b(0x238)](_0x2167c1['values']?_0x2167c1[_0x49020b(0x163)]:_0x2167c1[_0x49020b(0x168)]):_0x49020b(0x144)===_0x2167c1['type']?_0x583184[_0x49020b(0x255)][_0x49020b(0x132)]=await ServiceUtil[_0x49020b(0x170)](_0x2167c1[_0x49020b(0x168)],_0x2167c1[_0x49020b(0x222)]):'entity'===_0x2167c1[_0x49020b(0x182)]&&(_0x583184['record'][_0x49020b(0x132)]=await ServiceUtil['getCodeByEntity'](_0x2167c1[_0x49020b(0x222)])):'object'!==_0x1cdb12&&_0x49020b(0x221)!==_0x1cdb12||!ValueUtil[_0x49020b(0x145)](_0x5eb13d)?'resource-code-selector'===_0x1cdb12&&ValueUtil['isNotEmpty'](_0x5eb13d)&&(_0x583184[_0x49020b(0x255)]['options']=_0x5eb13d,_0x5eb13d[_0x49020b(0x233)]&&(_0x583184[_0x49020b(0x255)][_0x49020b(0x132)][_0x49020b(0x159)]=await ServiceUtil[_0x49020b(0x18b)](_0x5eb13d))):(_0x5eb13d[_0x49020b(0x162)]&&_0x5eb13d[_0x49020b(0x162)][_0x49020b(0x135)](_0x2c9826=>{const _0x2bcfac=_0x49020b;_0x2c9826[_0x2bcfac(0x24d)]||(_0x2c9826[_0x2bcfac(0x24d)]=_0x2c9826[_0x2bcfac(0x168)]),_0x2c9826[_0x2bcfac(0x24d)]=TermsUtil[_0x2bcfac(0x258)](_0x2c9826['header']);}),_0x583184[_0x49020b(0x255)][_0x49020b(0x132)]=_0x5eb13d),_0x1046ce[_0x49020b(0x1ad)](_0x583184);}return _0x1046ce;}static[a0_0x486ab5(0x1bd)](_0x2f1ebd){const _0x5c5945=a0_0x486ab5;let _0x5472c7=_0x2f1ebd['gridConfig'];_0x2f1ebd[_0x5c5945(0x1b6)]=!_0x5472c7||null==_0x5472c7[_0x5c5945(0x252)]||_0x5472c7['use_filter_form'];let {mobile_mode:_0x138fb7=_0x5c5945(0x24b),desk_mode:_0x4861ba=_0x5c5945(0x24e),view_mode:_0x45b720=[],use_row_checker:_0x385a53=!0x0,sorters:_0x3a5c92=[],pages:_0x5859e2=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x5c5945(0x259)](_0x5472c7['option'])?{}:_0x5472c7[_0x5c5945(0x1b0)];return'unlimited'===_0x5859e2||'-1'===_0x5859e2?(_0x2f1ebd[_0x5c5945(0x280)]=!0x0,_0x5859e2={'infinite':!0x0}):(_0x2f1ebd[_0x5c5945(0x280)]=!0x1,_0x5859e2[_0x5c5945(0x23d)](function(_0x2d4fc6,_0x15ee3e){return _0x2d4fc6-_0x15ee3e;}),_0x5859e2={'pages':_0x5859e2}),ValueUtil[_0x5c5945(0x145)](_0x45b720)&&(0x1==_0x45b720['length']?(_0x4861ba=_0x45b720[0x0],_0x138fb7=_0x45b720[0x0]):_0x45b720['length']>=0x2&&(_0x45b720[_0x5c5945(0x1be)](_0x138fb7)||(_0x138fb7=_0x45b720[0x1]),_0x45b720[_0x5c5945(0x1be)](_0x4861ba)||(_0x4861ba=_0x45b720[0x0]))),_0x2f1ebd[_0x5c5945(0x1ea)]=_0x138fb7,_0x2f1ebd['gridDeskMode']=_0x4861ba,_0x2f1ebd[_0x5c5945(0x139)]=_0x45b720,_0x2f1ebd[_0x5c5945(0x1f9)]=UiUtil[_0x5c5945(0x1a3)]()?_0x2f1ebd[_0x5c5945(0x1ea)]:_0x2f1ebd['gridDeskMode'],{'use_row_checker':_0x385a53,'sorters':_0x3a5c92,'pages':_0x5859e2};}static[a0_0x486ab5(0x1b8)](_0x314bb0){const _0x331207=a0_0x486ab5;let _0x4576da={'fields':[ValueUtil[_0x331207(0x1ff)](_0x314bb0['menuInfo'],_0x331207(0x168)),ValueUtil[_0x331207(0x1ff)](_0x314bb0[_0x331207(0x14f)],_0x331207(0x1d9))]};return _0x314bb0['gridConfig'][_0x331207(0x20e)]&&Object['assign'](_0x4576da,_0x314bb0[_0x331207(0x153)]['list']),_0x4576da;}static['getGridRowSet'](_0x579431){const _0x1f9a1c=a0_0x486ab5;let {multiple_select:_0x5d7ead=!0x1,click:_0x56ada3}=ValueUtil['isEmpty'](_0x579431[_0x1f9a1c(0x153)]['row'])?{}:_0x579431['gridConfig'][_0x1f9a1c(0x174)],_0x325391={'selectable':{'multiple':_0x5d7ead},'appendable':_0x579431['useButtonAdd']};return ValueUtil[_0x1f9a1c(0x145)](_0x56ada3)&&(_0x325391[_0x1f9a1c(0x161)]={'click':_0x56ada3}),_0x325391;}static[a0_0x486ab5(0x14d)](_0x412a3e){const _0x51d7e7=a0_0x486ab5;let _0x57e722=_0x412a3e[_0x51d7e7(0x153)][_0x51d7e7(0x137)];return ValueUtil[_0x51d7e7(0x259)](_0x57e722)?[]:_0x57e722[_0x51d7e7(0x271)](_0x1659e6=>{const _0x360293=_0x51d7e7;let _0x5d8c51={'type':'gutter','gutterName':_0x360293(0x137)};if(ValueUtil[_0x360293(0x145)](_0x1659e6[_0x360293(0x175)])&&(Array[_0x360293(0x189)](_0x1659e6['icon'])?_0x5d8c51['icon']=_0x431d31=>{const _0x47ee81=_0x360293;if(ValueUtil['isNotEmpty'](_0x431d31))for(let _0x5c8939=0x0;_0x5c8939<_0x1659e6[_0x47ee81(0x175)][_0x47ee81(0x187)];_0x5c8939++){let _0x5512a2=_0x1659e6[_0x47ee81(0x175)][_0x5c8939];if(!0x0===ValueUtil[_0x47ee81(0x1cb)](_0x5512a2,_0x431d31,Object['keys'](_0x5512a2)[_0x47ee81(0x208)](_0x332a0c=>_0x47ee81(0x175)!=_0x332a0c)))return _0x5512a2[_0x47ee81(0x175)];}}:_0x5d8c51[_0x360293(0x175)]=_0x1659e6[_0x360293(0x175)]),ValueUtil[_0x360293(0x145)](_0x1659e6[_0x360293(0x168)])&&(_0x5d8c51[_0x360293(0x168)]=_0x1659e6[_0x360293(0x168)]),ValueUtil[_0x360293(0x145)](_0x1659e6['label'])&&(_0x5d8c51['title']=TermsUtil[_0x360293(0x176)](_0x1659e6[_0x360293(0x177)])),_0x360293(0x24f)===_0x1659e6['type']){let _0x2432aa=ValueUtil['getParams'](_0x1659e6,_0x360293(0x226));['history_copy',_0x360293(0x234)][_0x360293(0x1be)](_0x2432aa)?_0x5d8c51[_0x360293(0x161)]={'click':(_0x3abaae,_0x13c4a5,_0x20ed05,_0x13dbd7,_0x34f727)=>{const _0xf4d03f=_0x360293;if(_0x13dbd7['id']){let _0x2ab849={'title':_0xf4d03f(0x1a1),'type':_0xf4d03f(0x25a),'tagname':'history_copy'==_0x2432aa?_0xf4d03f(0x17d):_0xf4d03f(0x267),'location':_0xf4d03f(0x140)==_0x2432aa?'pages/hgistory/history-copy-list-popup.js':_0xf4d03f(0x1f4),'menu':_0x412a3e['currentRouting'],'size':'large','popup_field':_0xf4d03f(0x224),'parent_field':'id'},_0x2d4b67={..._0x13dbd7,'gqlFunc':ValueUtil['getParams'](_0x412a3e[_0xf4d03f(0x277)],_0xf4d03f(0x16f),'find_one_func'),'gristConfig':JSON['parse'](JSON[_0xf4d03f(0x1af)](_0x412a3e[_0xf4d03f(0x17f)][_0xf4d03f(0x25b)]))};MetaUiUtil[_0xf4d03f(0x268)](_0x412a3e,{'logic':_0x2ab849},_0x2d4b67);}}}:_0x5d8c51[_0x360293(0x161)]={'click':_0x2432aa};}else _0x5d8c51[_0x360293(0x161)]={'click':(_0x8c12ce,_0x5dcebc,_0x364aff,_0x269f5b,_0x89b69d)=>{const _0x7c39e7=_0x360293;_0x269f5b['id']&&MetaUiUtil[_0x7c39e7(0x268)](_0x412a3e,_0x1659e6,_0x269f5b);}};return _0x5d8c51;});}static async['getGridColumnSet'](_0x274a7c){const _0x41c797=a0_0x486ab5;let _0x4eebdd=_0x274a7c[_0x41c797(0x1c4)];if(ValueUtil['isEmpty'](_0x4eebdd))return[];let _0x2b9502=[];for(let _0x393899=0x0;_0x393899<_0x4eebdd[_0x41c797(0x187)];_0x393899++){let {type:_0x58e00d=_0x41c797(0x20d),name:_0x16bf94,header:_0x435c04,hidden:_0xf519ca=!0x1,editable:_0x5b3c55=!0x0,mandatory:_0x1f2d3b=!0x1,sortable:_0x37fb7f=!0x1,align:_0x343e8c=_0x41c797(0x143),width:_0x333572=0x0,exportable:_0x2749c4=!0x1,select_opt:_0x2d162a,object_opt:_0x5afac5}=_0x4eebdd[_0x393899],_0x1416b1={'type':_0x58e00d,'name':_0x16bf94,'header':ValueUtil[_0x41c797(0x259)](_0x435c04)?'':TermsUtil[_0x41c797(0x258)](_0x435c04),'hidden':_0xf519ca,'sortable':_0x37fb7f,'width':_0x333572,'record':{'editable':_0x5b3c55,'mandatory':_0x1f2d3b,'align':_0x343e8c}};if(_0x41c797(0x162)===_0x58e00d&&ValueUtil[_0x41c797(0x145)](_0x2d162a))Array['isArray'](_0x2d162a)?_0x1416b1['record'][_0x41c797(0x132)]=_0x2d162a:_0x41c797(0x230)===_0x2d162a[_0x41c797(0x182)]?_0x1416b1[_0x41c797(0x255)][_0x41c797(0x132)]=await ServiceUtil[_0x41c797(0x238)](_0x2d162a['values']?_0x2d162a['values']:_0x2d162a['name']):'scenario'===_0x2d162a['type']?_0x1416b1[_0x41c797(0x255)][_0x41c797(0x132)]=await ServiceUtil[_0x41c797(0x170)](_0x2d162a[_0x41c797(0x168)],_0x2d162a[_0x41c797(0x222)]):_0x41c797(0x27a)===_0x2d162a[_0x41c797(0x182)]&&(_0x1416b1[_0x41c797(0x255)][_0x41c797(0x132)]=await ServiceUtil[_0x41c797(0x18b)](_0x2d162a['args']));else{if(_0x41c797(0x262)!==_0x58e00d&&_0x41c797(0x221)!==_0x58e00d||!ValueUtil[_0x41c797(0x145)](_0x5afac5))_0x41c797(0x171)===_0x58e00d&&ValueUtil[_0x41c797(0x145)](_0x5afac5)&&(_0x1416b1[_0x41c797(0x255)]['options']=_0x5afac5,_0x5afac5[_0x41c797(0x233)]&&(_0x1416b1[_0x41c797(0x255)][_0x41c797(0x132)][_0x41c797(0x159)]=await ServiceUtil[_0x41c797(0x18b)](_0x5afac5)));else{let _0x3a8059;_0x5afac5[_0x41c797(0x162)]&&_0x5afac5['select'][_0x41c797(0x135)](_0x5d101f=>{const _0x4cce68=_0x41c797;_0x5d101f[_0x4cce68(0x24d)]||(_0x5d101f[_0x4cce68(0x24d)]=_0x5d101f[_0x4cce68(0x168)]),_0x5d101f[_0x4cce68(0x24d)]=TermsUtil[_0x4cce68(0x258)](_0x5d101f[_0x4cce68(0x24d)]);}),_0x1416b1[_0x41c797(0x255)][_0x41c797(0x132)]={..._0x5afac5},_0x5afac5[_0x41c797(0x155)]&&_0x5afac5[_0x41c797(0x155)][_0x41c797(0x14c)]&&(_0x3a8059=[..._0x5afac5[_0x41c797(0x155)][_0x41c797(0x14c)]]),_0x3a8059&&JSON['stringify'](_0x3a8059)['includes']('::')&&(_0x1416b1[_0x41c797(0x161)]={'dblclick':(_0xa86236,_0x4bfe15,_0x122313,_0x592849,_0x175fef)=>{const _0x17793b=_0x41c797;let _0xc505fa=[];_0x3a8059[_0x17793b(0x135)](_0x328150=>{const _0x386960=_0x17793b;var {name:_0xe83322,value:_0x37d9dc,operator:_0x4409de='eq'}=_0x328150;_0x37d9dc[_0x386960(0x1be)]('::')&&(_0x37d9dc=ValueUtil[_0x386960(0x1ff)](_0x592849,..._0x37d9dc['replace']('::','')[_0x386960(0x1df)]('.'))),_0x37d9dc||(_0x37d9dc=''),_0xc505fa[_0x386960(0x1ad)]({'name':_0xe83322,'operator':_0x4409de,'value':_0x37d9dc});}),_0x122313[_0x17793b(0x255)]['options'][_0x17793b(0x155)]['filters']=_0xc505fa;}});}}!0x0===_0x274a7c[_0x41c797(0x240)]&&!0x0===_0x2749c4&&(_0x1416b1[_0x41c797(0x146)]={'header':_0x1416b1[_0x41c797(0x24d)],'key':_0x1416b1[_0x41c797(0x168)],'width':_0x1416b1[_0x41c797(0x261)]/0x6,'type':_0x1416b1[_0x41c797(0x182)]}),_0x2b9502['push'](_0x1416b1);}if(!0x0!==this[_0x41c797(0x13b)])return _0x2b9502;let _0xd83413=await MetaApi[_0x41c797(0x217)](this[_0x41c797(0x203)]),{template:_0x403cb2={}}=_0xd83413;if(!_0x403cb2[_0x41c797(0x1cc)])return _0x2b9502;let _0x4b89ac=_0x403cb2['master'];return _0x2b9502=_0x2b9502[_0x41c797(0x271)](_0x4aa67e=>('id'==_0x4aa67e['name']||(_0x4aa67e[_0x41c797(0x157)]=!_0x4b89ac[_0x41c797(0x1be)](_0x4aa67e['name']),_0x4aa67e[_0x41c797(0x1e9)]=_0x4b89ac[_0x41c797(0x26d)](_0x4aa67e[_0x41c797(0x168)]),-0x1==_0x4aa67e[_0x41c797(0x1e9)]&&(_0x4aa67e[_0x41c797(0x1e9)]=0x1869f)),_0x4aa67e)),_0x2b9502[_0x41c797(0x23d)]((_0x54ac9f,_0x3a415c)=>_0x54ac9f[_0x41c797(0x1e9)]-_0x3a415c[_0x41c797(0x1e9)]),_0x2b9502;}static[a0_0x486ab5(0x169)](_0x4609ef,_0x567583){const _0x51b7e5=a0_0x486ab5;let _0x3999a7=_0x4609ef[_0x51b7e5(0x23c)];return _0x3999a7&&_0x3999a7[_0x51b7e5(0x135)](_0x1ff626=>{const _0x14c459=_0x51b7e5;'string'==typeof _0x1ff626?_0x567583[_0x14c459(0x208)](_0x456cfa=>_0x456cfa[_0x14c459(0x168)]==_0x1ff626)['forEach'](_0x1a4d3d=>{const _0x490983=_0x14c459;_0x1a4d3d[_0x490983(0x208)]=_0x490983(0x1e7);}):'object'==typeof _0x1ff626&&_0x567583[_0x14c459(0x208)](_0x413cb6=>_0x413cb6[_0x14c459(0x168)]==_0x1ff626[_0x14c459(0x168)])['forEach'](_0x5753f8=>{const _0x3f156c=_0x14c459;_0x5753f8[_0x3f156c(0x208)]=_0x1ff626,_0x5753f8[_0x3f156c(0x208)][_0x3f156c(0x182)]=_0x3f156c(0x191)===_0x5753f8['type']?_0x3f156c(0x23b):_0x5753f8[_0x3f156c(0x182)],[_0x3f156c(0x262),_0x3f156c(0x221)][_0x3f156c(0x1be)](_0x5753f8[_0x3f156c(0x182)])&&(_0x5753f8['filter'][_0x3f156c(0x168)]=_0x5753f8[_0x3f156c(0x208)][_0x3f156c(0x142)]?_0x5753f8[_0x3f156c(0x208)][_0x3f156c(0x142)]:_0x5753f8['name']+'Id');let _0x3d3a0e=_0x5753f8['filter'][_0x3f156c(0x160)];if(_0x3d3a0e&&_0x3d3a0e[_0x3f156c(0x199)](_0x3f156c(0x1c5))){let _0x8194e6=_0x3d3a0e[_0x3f156c(0x1df)](','),_0x45a798=[];_0x8194e6[_0x3f156c(0x135)](_0xbdc2e9=>{const _0x4c7001=_0x3f156c,_0x633c32=a0_0x501199();_0x4c7001(0x1c5)==_0xbdc2e9?_0x45a798[_0x4c7001(0x1ad)](_0x633c32['format'](_0x4c7001(0x246))):_0xbdc2e9[_0x4c7001(0x1be)]('-')?_0x45a798['push'](_0x633c32[_0x4c7001(0x13d)](_0xbdc2e9[_0x4c7001(0x1df)]('-')[0x1],_0x4c7001(0x1ac))[_0x4c7001(0x270)](_0x4c7001(0x246))):_0xbdc2e9[_0x4c7001(0x1be)]('+')&&_0x45a798['push'](_0x633c32[_0x4c7001(0x211)](_0xbdc2e9[_0x4c7001(0x1df)]('+')[0x1],'day')[_0x4c7001(0x270)](_0x4c7001(0x246)));}),_0x5753f8['filter'][_0x3f156c(0x160)]=0x1==_0x45a798['length']?_0x45a798[0x0]:_0x45a798;}});}),_0x567583;}static[a0_0x486ab5(0x15f)](_0xcea180){const _0x2206c8=a0_0x486ab5;let _0x10e585={'title':TermsUtil[_0x2206c8(0x251)](_0xcea180[_0x2206c8(0x14f)][_0x2206c8(0x1d4)]),'help':_0xcea180['menuInfo'][_0x2206c8(0x22c)]||'','actions':[...MetaUiUtil[_0x2206c8(0x158)](_0xcea180)]};return _0xcea180[_0x2206c8(0x240)]&&(_0x10e585[_0x2206c8(0x1fb)]={'name':_0x10e585[_0x2206c8(0x1d4)],'data':_0xcea180[_0x2206c8(0x212)][_0x2206c8(0x23f)](_0xcea180)}),_0xcea180[_0x2206c8(0x1b5)]&&(_0x10e585['importable']={'handler':_0xcea180[_0x2206c8(0x1a4)]['bind'](_0xcea180)}),_0x10e585;}static[a0_0x486ab5(0x158)](_0x236e60){const _0x1ada2=a0_0x486ab5;let _0x2e73a3=_0x236e60[_0x1ada2(0x241)];return ValueUtil['isEmpty'](_0x2e73a3)?[]:_0x2e73a3[_0x1ada2(0x208)](_0x8e8efa=>_0x1ada2(0x212)!=_0x8e8efa[_0x1ada2(0x168)]&&_0x1ada2(0x1a4)!=_0x8e8efa['name']&&_0x1ada2(0x211)!=_0x8e8efa['name'])['map'](_0x1e76d5=>{const _0x43b631=_0x1ada2;let {name:_0x239bf2,label:_0x5f3b6c,style:_0x1b0f7d,type:_0x5aa39e='basic',action:_0x57c3c0,logic:_0xbdf6cc}=_0x1e76d5;if(ValueUtil[_0x43b631(0x259)](_0x239bf2))return{'title':'-1'};ValueUtil[_0x43b631(0x259)](_0x5f3b6c)&&(_0x5f3b6c=_0x239bf2),ValueUtil['isEmpty'](_0x1b0f7d)&&(_0x1b0f7d=_0x239bf2),ValueUtil['isEmpty'](_0x57c3c0)&&(_0x57c3c0=_0x239bf2);let _0x43baed=ValueUtil[_0x43b631(0x145)](_0x1b0f7d)?CommonButtonStyles[_0x1b0f7d]||{'icon':_0x1b0f7d,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil['tButton'](_0x5f3b6c),'action':MetaUiUtil[_0x43b631(0x17a)](_0x236e60,_0x5aa39e,_0x57c3c0,_0xbdf6cc),..._0x43baed};})['filter'](_0x28a49f=>'-1'!=_0x28a49f['title']);}static['getContainerButtons'](_0x32ac16){const _0x261cdf=a0_0x486ab5;let _0x265f77=_0x32ac16&&_0x32ac16[_0x261cdf(0x241)]?_0x32ac16['buttonConfig']:null;return _0x265f77?_0x265f77[_0x261cdf(0x208)](_0xd2ae8f=>_0x261cdf(0x211)!=_0xd2ae8f[_0x261cdf(0x168)])[_0x261cdf(0x271)](_0x6ea0e1=>{const _0x32d3d3=_0x261cdf;let {name:_0x1bb2df,label:_0x60dc93,style:_0x2f2b45,type:_0x3c0d6a=_0x32d3d3(0x24f),action:_0x126fb8,logic:_0x222b9f}=_0x6ea0e1;ValueUtil[_0x32d3d3(0x259)](_0x60dc93)&&(_0x60dc93=_0x1bb2df),ValueUtil[_0x32d3d3(0x259)](_0x2f2b45)&&(_0x2f2b45=_0x1bb2df),ValueUtil[_0x32d3d3(0x259)](_0x126fb8)&&(_0x126fb8=_0x1bb2df);let _0x454e36=MetaUiUtil[_0x32d3d3(0x14e)](TermsUtil['tButton'](_0x60dc93),_0x2f2b45);return _0x454e36['onclick']=MetaUiUtil[_0x32d3d3(0x17a)](_0x32ac16,_0x3c0d6a,_0x126fb8,_0x222b9f),_0x454e36;}):[];}static[a0_0x486ab5(0x14e)](_0x12fa99,_0x398cf7){const _0x3ad25e=a0_0x486ab5;let _0x111c50=CommonButtonStyles[_0x398cf7]||{'icon':_0x398cf7,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x7b2bf7='<mwc-button\x20label=\x22'+_0x12fa99+_0x3ad25e(0x1dd)+(_0x111c50[_0x3ad25e(0x175)]?_0x111c50['icon']:'')+_0x3ad25e(0x21c)+(_0x111c50[_0x3ad25e(0x254)][_0x3ad25e(0x1a8)]?_0x3ad25e(0x1a8):'')+_0x3ad25e(0x25e)+(_0x111c50['emphasis'][_0x3ad25e(0x133)]?_0x3ad25e(0x133):'')+_0x3ad25e(0x25e)+(_0x111c50['emphasis'][_0x3ad25e(0x1e5)]?'dense':'')+_0x3ad25e(0x25e)+(_0x111c50[_0x3ad25e(0x254)]['danger']?'danger':'')+'\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20';return UiUtil[_0x3ad25e(0x1f1)](_0x7b2bf7);}static[a0_0x486ab5(0x17a)](_0xbc7f77,_0x1f9022,_0x5c9330,_0x20719a){const _0x2e3189=a0_0x486ab5;if('basic'==_0x1f9022){if(_0xbc7f77[_0x5c9330])return _0xbc7f77[_0x5c9330][_0x2e3189(0x23f)](_0xbc7f77);}else{if(_0x2e3189(0x192)==_0x1f9022)return()=>MetaUiUtil[_0x2e3189(0x20f)](_0xbc7f77,_0x20719a);}return()=>{const _0x1023cb=_0x2e3189;UiUtil[_0x1023cb(0x206)]('title.warning',_0x1023cb(0x173),_0x1023cb(0x22b),'confirm');};}static async[a0_0x486ab5(0x268)](_0xc2ae3,_0x8dc12d,_0x9eb9ea){const _0x4196dc=a0_0x486ab5;let _0x4a0bce=ValueUtil[_0x4196dc(0x1ff)](_0x8dc12d,_0x4196dc(0x226)),_0x925857=ValueUtil[_0x4196dc(0x1ff)](_0x4a0bce,_0x4196dc(0x182));if(_0x4196dc(0x150)===_0x925857)_0x4a0bce['tagname']='meta-form-element',_0x4a0bce[_0x4196dc(0x136)]='pages/meta-form-element.js',_0x4a0bce['parent_field']='id',await MetaUiUtil[_0x4196dc(0x15d)](_0xc2ae3,_0x4a0bce,_0x9eb9ea);else{if(_0x4196dc(0x278)===_0x925857)MetaUiUtil[_0x4196dc(0x21a)](_0xc2ae3,_0x4a0bce,_0x9eb9ea);else{if(_0x4196dc(0x184)===_0x925857){let _0x437f46;_0x4a0bce[_0x4196dc(0x1f3)]?(_0x437f46={},Object[_0x4196dc(0x1fc)](_0x9eb9ea)[_0x4196dc(0x208)](_0x280993=>Object[_0x4196dc(0x1fc)](_0x4a0bce['param_field'])[_0x4196dc(0x1be)](_0x280993))[_0x4196dc(0x271)](_0x459487=>{const _0x4c8160=_0x4196dc;Object[_0x4c8160(0x1fc)](_0x4a0bce[_0x4c8160(0x1f3)])[_0x4c8160(0x1be)](_0x459487)&&(_0x4c8160(0x20d)==typeof _0x9eb9ea[_0x459487]?_0x437f46[_0x4a0bce[_0x4c8160(0x1f3)][_0x459487]]=_0x9eb9ea[_0x459487]:_0x437f46[_0x4a0bce['param_field'][_0x459487]]={'id':_0x9eb9ea[_0x459487]['id']});})):_0x437f46=_0x9eb9ea,UiUtil[_0x4196dc(0x227)](_0x4a0bce[_0x4196dc(0x15a)],[_0x437f46]);}else _0x4196dc(0x25a)===_0x925857?await MetaUiUtil[_0x4196dc(0x15d)](_0xc2ae3,_0x4a0bce,_0x9eb9ea):_0x4196dc(0x144)===_0x925857?await MetaUiUtil[_0x4196dc(0x260)](_0xc2ae3,_0x4a0bce,_0x9eb9ea):_0x4196dc(0x1f8)===_0x925857&&await MetaUiUtil[_0x4196dc(0x27d)](_0xc2ae3,_0x4a0bce,_0x9eb9ea);}}}static async[a0_0x486ab5(0x20f)](_0x2d4941,_0x3cf9cb){const _0x488be3=a0_0x486ab5;if(ValueUtil[_0x488be3(0x259)](_0x3cf9cb))return;let _0x90c4f9=_0x2d4941[_0x488be3(0x17f)],_0x1f85f7=_0x2d4941[_0x488be3(0x16c)],_0x11d3e5=ValueUtil['getParams'](_0x3cf9cb,_0x488be3(0x182)),_0x472066=ValueUtil[_0x488be3(0x1ff)](_0x3cf9cb,_0x488be3(0x181)),_0x42863d=_0x472066[_0x488be3(0x208)](_0x1d6603=>_0x1d6603[_0x488be3(0x199)](_0x488be3(0x17f)));if(ValueUtil[_0x488be3(0x145)](_0x42863d)){if(!_0x90c4f9)return void UiUtil[_0x488be3(0x206)](_0x488be3(0x281),_0x488be3(0x219),_0x488be3(0x22b),_0x488be3(0x27c));if(0x0==(_0x90c4f9[_0x488be3(0x1a5)]?_0x90c4f9[_0x488be3(0x1a5)][_0x488be3(0x22f)]:[])[_0x488be3(0x187)])return void UiUtil['showAlertPopup'](_0x488be3(0x281),_0x488be3(0x201),'info',_0x488be3(0x27c));if(_0x472066[_0x488be3(0x1be)]('grist_one')||_0x472066[_0x488be3(0x1be)]('grist_selected')){let _0x1c8724=_0x90c4f9[_0x488be3(0x1ab)];if(ValueUtil[_0x488be3(0x259)](_0x1c8724))return void UiUtil[_0x488be3(0x206)](_0x488be3(0x1d8),_0x488be3(0x1a2),_0x488be3(0x22b),_0x488be3(0x27c));if(_0x472066[_0x488be3(0x1be)](_0x488be3(0x225))&&_0x1c8724[_0x488be3(0x187)]>0x1)return void UiUtil[_0x488be3(0x206)](_0x488be3(0x281),_0x488be3(0x24c),_0x488be3(0x22b),_0x488be3(0x27c));}}let _0x24297d={};if(_0x472066[_0x488be3(0x1be)](_0x488be3(0x208))){if(!_0x1f85f7)return void UiUtil[_0x488be3(0x206)](_0x488be3(0x281),'text.search_form_is_not_exist',_0x488be3(0x22b),_0x488be3(0x27c));let _0x477052=_0x1f85f7?await _0x1f85f7[_0x488be3(0x1e1)]():[];_0x24297d[_0x488be3(0x208)]=_0x477052;}if(_0x472066[_0x488be3(0x1be)](_0x488be3(0x166)))_0x24297d['grist']=_0x90c4f9[_0x488be3(0x1a5)][_0x488be3(0x22f)];else{if(_0x472066[_0x488be3(0x1be)]('grist_one'))_0x24297d[_0x488be3(0x17f)]=_0x90c4f9['selected'][0x0];else{if(_0x472066[_0x488be3(0x1be)](_0x488be3(0x1d0)))_0x24297d[_0x488be3(0x17f)]=_0x90c4f9[_0x488be3(0x1ab)];else{if(_0x472066[_0x488be3(0x1be)](_0x488be3(0x245))&&(_0x24297d[_0x488be3(0x17f)]=ServiceUtil[_0x488be3(0x209)](_0x90c4f9),!_0x24297d[_0x488be3(0x17f)]))return;}}}if('page'===_0x11d3e5){let _0x5b573d,_0xdab6ff=Array[_0x488be3(0x189)](_0x24297d[_0x488be3(0x17f)])?_0x24297d[_0x488be3(0x17f)]:[_0x24297d[_0x488be3(0x17f)]];_0x5b573d=_0x3cf9cb['param_field']?_0xdab6ff[_0x488be3(0x271)](_0x3e63c5=>{const _0xc4a896=_0x488be3;let _0x2c0a7b={};return Object[_0xc4a896(0x1fc)](_0x3e63c5)[_0xc4a896(0x208)](_0x2ccce3=>Object[_0xc4a896(0x1fc)](_0x3cf9cb['param_field'])['includes'](_0x2ccce3))[_0xc4a896(0x271)](_0xf69f87=>{const _0x3d30e9=_0xc4a896;Object[_0x3d30e9(0x1fc)](_0x3cf9cb[_0x3d30e9(0x1f3)])[_0x3d30e9(0x1be)](_0xf69f87)&&(_0x3d30e9(0x20d)==typeof _0x3e63c5[_0xf69f87]?_0x2c0a7b[_0x3cf9cb[_0x3d30e9(0x1f3)][_0xf69f87]]=_0x3e63c5[_0xf69f87]:_0x2c0a7b[_0x3cf9cb['param_field'][_0xf69f87]]={'id':_0x3e63c5[_0xf69f87]['id']});}),_0x2c0a7b;}):_0xdab6ff,UiUtil[_0x488be3(0x227)](_0x3cf9cb[_0x488be3(0x15a)],_0x5b573d);}else{if('popup'===_0x11d3e5){let _0x3ed770={..._0x24297d[_0x488be3(0x17f)]?_0x24297d[_0x488be3(0x17f)]:{},..._0x24297d[_0x488be3(0x208)]?_0x24297d[_0x488be3(0x208)]:{}};await MetaUiUtil[_0x488be3(0x15d)](_0x2d4941,_0x3cf9cb,_0x3ed770);}else _0x488be3(0x144)===_0x11d3e5&&await MetaUiUtil[_0x488be3(0x260)](_0x2d4941,_0x3cf9cb,_0x24297d);}}static[a0_0x486ab5(0x21a)](_0x1150dd,_0x19bb4c,_0x2c084e){const _0x41d29d=a0_0x486ab5;let _0x57371b=_0x19bb4c['pass_field'],_0x26f321={},_0x45552c=_0x1150dd[_0x41d29d(0x152)]['toLowerCase'](),_0x745aab=_0x1150dd;_0x26f321=_0x45552c[_0x41d29d(0x199)](_0x41d29d(0x239))?{'detail':{..._0x57371b}}:_0x45552c['startsWith'](_0x41d29d(0x141))?_0x1150dd[_0x41d29d(0x1f2)][_0x41d29d(0x152)]['toLowerCase']()[_0x41d29d(0x199)]('meta-tab-')?{'detail':{..._0x57371b}}:{'self':{..._0x57371b}}:_0x57371b,Object[_0x41d29d(0x1fc)](_0x26f321)['forEach'](_0x263f42=>{const _0x55a988=_0x41d29d;'master'==_0x263f42?_0x745aab=_0x1150dd[_0x55a988(0x1fd)][_0x55a988(0x1c7)]:_0x55a988(0x232)==_0x263f42?_0x745aab=_0x1150dd[_0x55a988(0x1fd)]?_0x1150dd[_0x55a988(0x1fd)][_0x55a988(0x1f2)]:_0x1150dd[_0x55a988(0x1f2)]:_0x55a988(0x172)==_0x263f42&&(_0x745aab=_0x1150dd),Object[_0x55a988(0x1fc)](_0x26f321[_0x263f42])[_0x55a988(0x135)](_0x2bf6b9=>{const _0x5bdbe2=_0x55a988;let _0x108ea8=_0x745aab[_0x5bdbe2(0x1b4)][_0x5bdbe2(0x15e)]('#'+_0x2bf6b9);_0x2c084e['id']&&_0x108ea8[_0x5bdbe2(0x207)](_0x2c084e['id']);let _0x5eb1fd=_0x26f321[_0x263f42][_0x2bf6b9];Object[_0x5bdbe2(0x1fc)](_0x5eb1fd)['forEach'](_0x49b555=>{let _0x3f458a=_0x5eb1fd[_0x49b555],_0x2424ed='*'===_0x3f458a?_0x2c084e:_0x2c084e[_0x3f458a];_0x108ea8[_0x49b555]=_0x2424ed;});});});}static async[a0_0x486ab5(0x15d)](_0x44066b,_0x4baddb,_0x3aeb26){const _0x3247a9=a0_0x486ab5;let _0x36da42=TermsUtil['tTitle'](_0x4baddb['title']);ValueUtil[_0x3247a9(0x145)](_0x4baddb[_0x3247a9(0x1d2)])&&(_0x36da42=_0x36da42+'('+ValueUtil[_0x3247a9(0x1ff)](_0x3aeb26,..._0x4baddb['title_detail']['split']('.'))+')');let _0x4c098b=_0x4baddb[_0x3247a9(0x149)]&&_0x3247a9(0x20d)==typeof _0x4baddb[_0x3247a9(0x149)]&&_0x3247a9(0x273)===_0x4baddb[_0x3247a9(0x149)]&&_0x44066b&&_0x44066b[_0x3247a9(0x273)]?_0x44066b[_0x3247a9(0x273)]['bind'](_0x44066b):void 0x0;UiUtil[_0x3247a9(0x22a)](_0x36da42,_0x4baddb,_0x3aeb26,_0x4c098b);}static async[a0_0x486ab5(0x260)](_0x290c05,_0x572588,_0x5f065e){const _0x2e9789=a0_0x486ab5;let _0x4d2755=await ServiceUtil['callScenario'](_0x2e9789(0x1ec),_0x572588[_0x2e9789(0x168)],_0x5f065e);if(!_0x4d2755[_0x2e9789(0x247)]&&!ValueUtil[_0x2e9789(0x259)](_0x572588['after'])&&_0x572588[_0x2e9789(0x149)]){if(_0x2e9789(0x273)!==_0x572588[_0x2e9789(0x149)]){if(_0x2e9789(0x262)==typeof _0x572588[_0x2e9789(0x149)]){let _0x390aab=_0x572588[_0x2e9789(0x149)],_0x2b54f3=ValueUtil['getParams'](_0x4d2755['data'][_0x2e9789(0x14a)][_0x2e9789(0x1a5)],..._0x390aab[_0x2e9789(0x242)]['split']('.'));if(0x0==Array[_0x2e9789(0x189)](_0x2b54f3)&&(_0x2b54f3=[_0x2b54f3]),_0x2e9789(0x150)===_0x390aab['type'])_0x390aab[_0x2e9789(0x20b)]=_0x2e9789(0x1d6),_0x390aab[_0x2e9789(0x136)]='pages/meta-form-element.js',_0x390aab[_0x2e9789(0x244)]='id',_0x2b54f3=_0x2b54f3[0x0],await MetaUiUtil[_0x2e9789(0x15d)](_0x290c05,_0x390aab,_0x2b54f3);else{if(_0x2e9789(0x184)===_0x390aab[_0x2e9789(0x182)]){let _0xae3e44,_0x10239f=_0x2b54f3;_0xae3e44=_0x390aab[_0x2e9789(0x1f3)]?_0x10239f[_0x2e9789(0x271)](_0x34fc03=>{const _0x3548ae=_0x2e9789;let _0x53b78c={};return Object[_0x3548ae(0x1fc)](_0x34fc03)[_0x3548ae(0x208)](_0xb5aa47=>Object[_0x3548ae(0x1fc)](_0x390aab['param_field'])[_0x3548ae(0x1be)](_0xb5aa47))[_0x3548ae(0x271)](_0x3861be=>{const _0xe5f8f3=_0x3548ae;Object[_0xe5f8f3(0x1fc)](_0x390aab[_0xe5f8f3(0x1f3)])[_0xe5f8f3(0x1be)](_0x3861be)&&(_0xe5f8f3(0x20d)==typeof _0x34fc03[_0x3861be]?_0x53b78c[_0x390aab[_0xe5f8f3(0x1f3)][_0x3861be]]=_0x34fc03[_0x3861be]:_0x53b78c[_0x390aab['param_field'][_0x3861be]]={'id':_0x34fc03[_0x3861be]['id']});}),_0x53b78c;}):_0x10239f,UiUtil[_0x2e9789(0x227)](_0x390aab['url'],_0xae3e44);}else _0x2e9789(0x278)===_0x390aab['type']?(_0x2b54f3=_0x2b54f3[0x0],MetaUiUtil[_0x2e9789(0x21a)](_0x290c05,_0x390aab,_0x2b54f3)):_0x2e9789(0x25a)===_0x390aab[_0x2e9789(0x182)]?(_0x2b54f3=_0x2b54f3[0x0],await MetaUiUtil[_0x2e9789(0x15d)](_0x290c05,_0x390aab,_0x2b54f3)):_0x2e9789(0x1f8)===_0x390aab[_0x2e9789(0x182)]&&(_0x2b54f3=_0x2b54f3[0x0],await MetaUiUtil['gristButtonValueReference'](_0x290c05,_0x390aab,_0x2b54f3));}}}else _0x290c05[_0x2e9789(0x273)]();}}static async[a0_0x486ab5(0x27d)](_0x3e00ad,_0x37b35d,_0x400ead){const _0x31344b=a0_0x486ab5;for(let _0x447789=0x0;_0x447789<_0x37b35d['relation'][_0x31344b(0x187)];_0x447789++){let _0x2e7240=_0x37b35d[_0x31344b(0x216)][_0x447789];!0x0===ValueUtil[_0x31344b(0x1cb)](_0x2e7240,_0x400ead,Object['keys'](_0x2e7240)['filter'](_0xcf8ec2=>_0x31344b(0x226)!=_0xcf8ec2))&&await MetaUiUtil[_0x31344b(0x268)](_0x3e00ad,_0x2e7240,_0x400ead);}}static[a0_0x486ab5(0x1d7)](_0x60ceaf,_0x439e5f){return{'type':_0x60ceaf,'name':_0x439e5f,'sortable':!0x1,'hidden':!0x0};}static[a0_0x486ab5(0x21b)](_0x3797d9,_0x2451f4,_0x2ef881,_0x514419,_0x139969,_0x389c31){const _0xbeac56=a0_0x486ab5;let _0x508ff7=TermsUtil[_0xbeac56(0x258)](_0x2451f4);return{'type':_0x3797d9,'name':_0x2451f4,'header':_0x508ff7,'record':{'align':_0x2ef881,'editable':_0x514419},'sortable':_0x139969,'width':_0x389c31,'imex':{'width':Math['floor'](_0x389c31/0x6),'header':_0x508ff7,'type':_0x3797d9,'key':_0x2451f4}};}static[a0_0x486ab5(0x228)](_0x47008b,_0x4e495a,_0x52a701,_0x37fc9d,_0x536d99,_0xe9c571,_0x4d5d20){const _0x3ccfbf=a0_0x486ab5;let _0xf14f6d=TermsUtil[_0x3ccfbf(0x258)](_0x52a701);return{'type':_0x47008b,'name':_0x4e495a,'header':_0xf14f6d,'record':{'align':_0x37fc9d,'editable':_0x536d99},'sortable':_0xe9c571,'width':_0x4d5d20,'imex':{'width':Math[_0x3ccfbf(0x269)](_0x4d5d20/0x6),'header':_0xf14f6d,'type':_0x47008b,'key':_0x4e495a}};}static[a0_0x486ab5(0x148)](_0x4c72f8,_0x511bcd,_0x2a2249,_0x45e498,_0x3094e9,_0x5e6453,_0xc8851,_0x58bd6d){const _0x521b8b=a0_0x486ab5;let _0x51432f=TermsUtil['tLabel'](_0x2a2249);return{'type':_0x4c72f8,'name':_0x511bcd,'header':_0x51432f,'record':{'align':_0x45e498,'editable':_0x3094e9,'mandatory':_0xc8851},'sortable':_0x5e6453,'width':_0x58bd6d,'imex':{'width':Math[_0x521b8b(0x269)](_0x58bd6d/0x6),'header':_0x51432f,'type':_0x4c72f8,'key':_0x511bcd}};}static[a0_0x486ab5(0x253)](_0x176b0a,_0x5049d1,_0x7d76c,_0x6c4d46,_0x4e4fec,_0x37a29d,_0x4cf405){const _0x18146e=a0_0x486ab5;let _0x1eacfd=TermsUtil['tLabel'](_0x5049d1);return{'type':'select','name':_0x176b0a,'header':_0x1eacfd,'record':{'align':_0x7d76c,'editable':!0x0,'mandatory':_0x37a29d,'options':_0x4cf405},'sortable':_0x6c4d46,'width':_0x4e4fec,'imex':{'width':Math[_0x18146e(0x269)](_0x4e4fec/0x6),'header':_0x1eacfd,'type':'string','key':_0x176b0a}};}static async[a0_0x486ab5(0x231)](_0x47ead3,_0x821000,_0x49ad8d,_0x3d9f5b,_0x4decf5,_0x2e6b2e,_0x3a0d35){const _0x2ab3ae=a0_0x486ab5;let _0xc2ac36=await ServiceUtil[_0x2ab3ae(0x238)](_0x3a0d35);return MetaUiUtil['getGristSelectorColumnConfig'](_0x47ead3,_0x821000,_0x49ad8d,_0x3d9f5b,_0x4decf5,_0x2e6b2e,_0xc2ac36);}static[a0_0x486ab5(0x195)](_0x492ff9,_0x4ec6e1,_0x32c1f7,_0x18f798,_0x1c4f3d){const _0x4eb96=a0_0x486ab5;let _0x140821=TermsUtil[_0x4eb96(0x258)](_0x32c1f7),_0x5ce77e={'name':_0x492ff9,'type':_0x4ec6e1,'label':_0x140821,'operator':_0x18f798,'imex':{'width':0x10,'header':_0x140821,'type':_0x4ec6e1,'key':_0x492ff9}};return _0x1c4f3d&&(_0x5ce77e[_0x4eb96(0x132)]=_0x1c4f3d),_0x5ce77e;}static async[a0_0x486ab5(0x178)](_0x50b7b2,_0x385d6b,_0x254f7c,_0xf905cc,_0xb4fc10){const _0x34b1f5=a0_0x486ab5;let _0x4e9877=await ServiceUtil[_0x34b1f5(0x238)](_0xb4fc10);return MetaUiUtil[_0x34b1f5(0x195)](_0x50b7b2,_0x385d6b,_0x254f7c,_0xf905cc,_0x4e9877);}static[a0_0x486ab5(0x167)](){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_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=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_0x486ab5(0x1ed)](){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_0x486ab5(0x19f)](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static['getBasicGristStyles'](){const
|
|
51
|
+
`];}static['getBasicGristStyles'](){const _0x1e28ed=a0_0x486ab5;return[ScrollbarStyles,CommonGristStyles,css`
|
|
52
52
|
:host {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -58,7 +58,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
58
58
|
ox-grist {
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
flex: 1;
|
|
61
|
-
}`,...MetaUiUtil[
|
|
61
|
+
}`,...MetaUiUtil[_0x1e28ed(0x1ed)](),...MetaUiUtil[_0x1e28ed(0x167)](),...MetaUiUtil[_0x1e28ed(0x19f)]()];}static['getBasicGristTabStyles'](){const _0x28e101=a0_0x486ab5;return[ScrollbarStyles,CommonGristStyles,css`
|
|
62
62
|
:host {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -105,7 +105,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
105
105
|
ox-grist {
|
|
106
106
|
overflow-y: auto;
|
|
107
107
|
flex: 1;
|
|
108
|
-
}`,...MetaUiUtil[
|
|
108
|
+
}`,...MetaUiUtil[_0x28e101(0x1ed)](),...MetaUiUtil[_0x28e101(0x167)](),...MetaUiUtil[_0x28e101(0x19f)]()];}static[a0_0x486ab5(0x15b)](){const _0x32eb09=a0_0x486ab5;return[ScrollbarStyles,CommonGristStyles,css`
|
|
109
109
|
:host {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
@@ -152,7 +152,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
152
152
|
ox-grist {
|
|
153
153
|
overflow-y: auto;
|
|
154
154
|
flex: 1;
|
|
155
|
-
}`,...MetaUiUtil[
|
|
155
|
+
}`,...MetaUiUtil[_0x32eb09(0x1ed)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x32eb09(0x19f)]()];}static['getBasicTabDetailStyles'](){const _0x4dca6e=a0_0x486ab5;return[ScrollbarStyles,CommonGristStyles,css`
|
|
156
156
|
:host {
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
@@ -199,7 +199,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
199
199
|
ox-grist {
|
|
200
200
|
overflow-y: auto;
|
|
201
201
|
flex: 1;
|
|
202
|
-
}`,...MetaUiUtil[
|
|
202
|
+
}`,...MetaUiUtil[_0x4dca6e(0x1ed)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x4dca6e(0x19f)]()];}static[a0_0x486ab5(0x1d3)](){const _0x93da92=a0_0x486ab5;return[ScrollbarStyles,CommonGristStyles,css`
|
|
203
203
|
:host {
|
|
204
204
|
display: flex;
|
|
205
205
|
flex-direction: column;
|
|
@@ -214,7 +214,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
214
214
|
ox-grist {
|
|
215
215
|
overflow-y: auto;
|
|
216
216
|
flex: 1;
|
|
217
|
-
}`,...MetaUiUtil[
|
|
217
|
+
}`,...MetaUiUtil[_0x93da92(0x1ed)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x93da92(0x19f)]()];}static[a0_0x486ab5(0x19d)](_0x5a87a9){const _0x986813=a0_0x486ab5;return _0x986813(0x1dc)==_0x5a87a9?MetaUiUtil[_0x986813(0x18d)]():MetaUiUtil[_0x986813(0x13a)]();}static[a0_0x486ab5(0x18d)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
218
218
|
:host {
|
|
219
219
|
display: flex;
|
|
220
220
|
flex-direction: column;
|
|
@@ -281,7 +281,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
281
281
|
margin-left:7px;
|
|
282
282
|
margin-top:7px;
|
|
283
283
|
}
|
|
284
|
-
`];}static[
|
|
284
|
+
`];}static[a0_0x486ab5(0x13a)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
285
285
|
:host {
|
|
286
286
|
display: flex;
|
|
287
287
|
flex-direction: column;
|
|
@@ -348,7 +348,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
348
348
|
margin-left:7px;
|
|
349
349
|
margin-top:7px;
|
|
350
350
|
}
|
|
351
|
-
`];}static[
|
|
351
|
+
`];}static[a0_0x486ab5(0x1b1)](){const _0x8e31cc=a0_0x486ab5;return[ScrollbarStyles,css`
|
|
352
352
|
:host {
|
|
353
353
|
display: flex;
|
|
354
354
|
flex: 1;
|
|
@@ -437,7 +437,7 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
437
437
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
`,...MetaUiUtil[
|
|
440
|
+
`,...MetaUiUtil[_0x8e31cc(0x167)]()];}static[a0_0x486ab5(0x17b)](){return[css`
|
|
441
441
|
:host {
|
|
442
442
|
display: flex;
|
|
443
443
|
flex: 1;
|
|
@@ -492,204 +492,204 @@ const a0_0x5393c2=a0_0x4be9;(function(_0x227071,_0xde0552){const _0x23b281=a0_0x
|
|
|
492
492
|
overflow-x: overlay;
|
|
493
493
|
background-color: var(--main-section-background-color);
|
|
494
494
|
}
|
|
495
|
-
`];}static[
|
|
495
|
+
`];}static['isButtonExist'](_0x59e5c4,_0xa30438){const _0x8fb902=a0_0x486ab5;return!!(_0x59e5c4?_0x59e5c4[_0x8fb902(0x19e)](_0x3e8284=>_0x3e8284[_0x8fb902(0x168)]==_0xa30438):null);}static[a0_0x486ab5(0x23e)](_0x14143a,_0x2e162a){const _0x2190db=a0_0x486ab5;return!!(_0x14143a&&_0x14143a[_0x2190db(0x137)]?_0x14143a[_0x2190db(0x137)][_0x2190db(0x19e)](_0xafd366=>_0xafd366[_0x2190db(0x168)]==_0x2e162a):null);}static[a0_0x486ab5(0x257)](_0x3afaa8){const _0x2c3935=a0_0x486ab5;let _0x34a09f='';return _0x3afaa8[_0x2c3935(0x208)](_0x56875e=>_0x2c3935(0x266)!=_0x56875e[_0x2c3935(0x182)])[_0x2c3935(0x135)](_0x33dd73=>{const _0x22ec45=_0x2c3935;_0x34a09f+='\x0a',_0x34a09f+=_0x22ec45(0x262)==_0x33dd73[_0x22ec45(0x182)]||_0x22ec45(0x221)==_0x33dd73[_0x22ec45(0x182)]?_0x33dd73['name']+'\x0a{'+MetaUiUtil[_0x22ec45(0x1bf)](_0x33dd73)+'}':_0x22ec45(0x274)==_0x33dd73[_0x22ec45(0x182)]?_0x33dd73[_0x22ec45(0x168)]+'\x0a{\x0aid\x0aname\x0athumbnail}':_0x33dd73[_0x22ec45(0x168)];}),_0x34a09f;}static[a0_0x486ab5(0x1bf)](_0x19b4a5){const _0xa200b2=a0_0x486ab5;let _0x474492='';return ValueUtil[_0xa200b2(0x145)](_0x19b4a5['record'][_0xa200b2(0x132)])&&ValueUtil[_0xa200b2(0x145)](_0x19b4a5[_0xa200b2(0x255)][_0xa200b2(0x132)][_0xa200b2(0x162)])&&_0x19b4a5[_0xa200b2(0x255)][_0xa200b2(0x132)][_0xa200b2(0x162)][_0xa200b2(0x135)](_0x9e2d0c=>{const _0xe1b9dd=_0xa200b2;_0x9e2d0c['name']&&''!==_0x9e2d0c[_0xe1b9dd(0x168)]&&(_0xe1b9dd(0x262)===_0x9e2d0c['type']||_0xe1b9dd(0x221)===_0x9e2d0c[_0xe1b9dd(0x182)]?_0x474492+='\x0a'+_0x9e2d0c[_0xe1b9dd(0x168)]+_0xe1b9dd(0x1ee)+MetaUiUtil['getObjctColumnSelectFields'](_0x9e2d0c)+_0xe1b9dd(0x1ba):_0x474492+='\x0a'+_0x9e2d0c[_0xe1b9dd(0x168)]);}),''==_0x474492&&(_0x474492+=_0xa200b2(0x1a9)),_0x474492;}static['getBasicGristHtml'](_0x45cf32){const _0x30c53c=a0_0x486ab5;let _0x23f893=_0x45cf32[_0x30c53c(0x1e3)];if(_0x23f893){let _0x3d0cbe=_0x45cf32['gristId']?_0x45cf32[_0x30c53c(0x183)]:_0x30c53c(0x20a),_0x24eb17=_0x45cf32[_0x30c53c(0x1f9)];return html`
|
|
496
496
|
<ox-grist
|
|
497
|
-
id=${
|
|
498
|
-
.config=${
|
|
499
|
-
.mode=${
|
|
497
|
+
id=${_0x3d0cbe}
|
|
498
|
+
.config=${_0x23f893}
|
|
499
|
+
.mode=${_0x24eb17}
|
|
500
500
|
auto-fetch
|
|
501
|
-
.fetchHandler=${
|
|
502
|
-
${MetaUiUtil[
|
|
501
|
+
.fetchHandler=${_0x45cf32[_0x30c53c(0x1a0)][_0x30c53c(0x23f)](_0x45cf32)}>
|
|
502
|
+
${MetaUiUtil['getGridDetailHtml'](_0x45cf32)}
|
|
503
503
|
</ox-grist>
|
|
504
|
-
`;}return html``;}static[
|
|
504
|
+
`;}return html``;}static['getBasicFormHtml'](_0x72700d){const _0x37d8e2=a0_0x486ab5;if(!_0x72700d)return html``;if(!_0x72700d['formConfigSet'])return html``;let _0x5d2477=_0x72700d[_0x37d8e2(0x1c1)],_0x8ffe7c=_0x72700d['record']||{},_0xde70b5=_0x5d2477[_0x37d8e2(0x208)](_0xf86d4=>0x0==_0xf86d4['hidden']);return ValueUtil[_0x37d8e2(0x259)](_0x72700d[_0x37d8e2(0x186)])?MetaUiUtil[_0x37d8e2(0x1bb)](_0x72700d,_0xde70b5,_0x8ffe7c):MetaUiUtil['getBasicFormHtmlOnOption'](_0x72700d,_0xde70b5,_0x8ffe7c);}static[a0_0x486ab5(0x1aa)](_0x55b06a,_0x3ee869,_0x586133){const _0x5ba1cb=a0_0x486ab5;let _0x2086b1=_0x55b06a[_0x5ba1cb(0x186)];return html`
|
|
505
505
|
<div class="root_container">
|
|
506
|
-
${
|
|
506
|
+
${_0x2086b1[_0x5ba1cb(0x271)](_0x4e172f=>{const _0x797e2e=_0x5ba1cb;let _0x4f57e3=_0x3ee869['filter'](_0x526a28=>_0x4e172f[_0x797e2e(0x1db)][_0x797e2e(0x1be)](_0x526a28['name'])),_0x3d302a=_0x797e2e(0x1da);for(let _0x16a95b=0x0;_0x16a95b<_0x4e172f[_0x797e2e(0x19a)];_0x16a95b++)_0x3d302a+=_0x797e2e(0x276);return _0x3d302a+=';',html`
|
|
507
507
|
<h2>
|
|
508
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
508
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x797e2e(0x251)](_0x4e172f[_0x797e2e(0x154)])}
|
|
509
509
|
</h2>
|
|
510
|
-
<div id="content_container" class="content_container" style="${
|
|
511
|
-
${
|
|
512
|
-
<label ?editable=${
|
|
513
|
-
${
|
|
510
|
+
<div id="content_container" class="content_container" style="${_0x3d302a}">
|
|
511
|
+
${_0x4f57e3['map'](_0x50158d=>{const _0x331f1a=_0x797e2e;let {editable:_0x750c62=!0x1,mandatory:_0x24b449=!0x1}=_0x50158d[_0x331f1a(0x255)],_0x279b7a=_0x586133['__dirtyfields__']||{};return html`
|
|
512
|
+
<label ?editable=${_0x750c62}><span>${_0x24b449?'*':''}${_0x50158d['header_txt']}</span>
|
|
513
|
+
${_0x750c62?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
514
514
|
</label>
|
|
515
515
|
<ox-grid-field
|
|
516
516
|
.rowIndex=${0x0}
|
|
517
|
-
.column=${
|
|
518
|
-
.record=${
|
|
519
|
-
.value=${
|
|
520
|
-
?dirty=${!!
|
|
517
|
+
.column=${_0x50158d}
|
|
518
|
+
.record=${_0x586133}
|
|
519
|
+
.value=${_0x586133[_0x50158d[_0x331f1a(0x168)]]}
|
|
520
|
+
?dirty=${!!_0x279b7a[_0x50158d[_0x331f1a(0x168)]]}
|
|
521
521
|
></ox-grid-field>
|
|
522
522
|
`;})}
|
|
523
523
|
</div>
|
|
524
524
|
`;})}
|
|
525
525
|
</div>
|
|
526
|
-
${
|
|
527
|
-
`;}static['getBasicFormHtmlNoOption'](
|
|
528
|
-
<div id="container" class="container" style="${
|
|
529
|
-
${
|
|
530
|
-
<label ?editable=${
|
|
531
|
-
${
|
|
526
|
+
${_0x55b06a[_0x5ba1cb(0x21d)]?html``:MetaUiUtil[_0x5ba1cb(0x197)](_0x55b06a)}
|
|
527
|
+
`;}static['getBasicFormHtmlNoOption'](_0x342d5b,_0x4bc76d,_0x1053e6){const _0x642727=a0_0x486ab5;let _0x3a1232=_0x642727(0x1e8);_0x342d5b[_0x642727(0x19a)]&&0x0!=_0x342d5b[_0x642727(0x19a)]||(_0x342d5b[_0x642727(0x19a)]=0x1),_0x342d5b[_0x642727(0x19a)]=parseInt((_0x342d5b[_0x642727(0x1b2)]||{})[_0x642727(0x22d)]||_0x342d5b['column']);for(let _0x134388=0x0;_0x134388<_0x342d5b[_0x642727(0x19a)];_0x134388++)_0x3a1232+='\x201fr\x202fr';return _0x3a1232+=';',html`
|
|
528
|
+
<div id="container" class="container" style="${_0x3a1232}">
|
|
529
|
+
${_0x4bc76d[_0x642727(0x271)](_0x1941ea=>{const _0x10e0dc=_0x642727;let {editable:_0x5ae093=!0x1,mandatory:_0x469f64=!0x1}=_0x1941ea['record'],_0x26866b=_0x1053e6['__dirtyfields__']||{};return html`
|
|
530
|
+
<label ?editable=${_0x5ae093}><span>${_0x469f64?'*':''}${_0x1941ea['header_txt']}</span>
|
|
531
|
+
${_0x5ae093?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
532
532
|
</label>
|
|
533
533
|
<ox-grid-field
|
|
534
534
|
.rowIndex=${0x0}
|
|
535
|
-
.column=${
|
|
536
|
-
.record=${
|
|
537
|
-
.value=${
|
|
538
|
-
?dirty=${!!
|
|
535
|
+
.column=${_0x1941ea}
|
|
536
|
+
.record=${_0x1053e6}
|
|
537
|
+
.value=${_0x1053e6[_0x1941ea[_0x10e0dc(0x168)]]}
|
|
538
|
+
?dirty=${!!_0x26866b[_0x1941ea[_0x10e0dc(0x168)]]}
|
|
539
539
|
></ox-grid-field>
|
|
540
540
|
`;})}
|
|
541
541
|
</div>
|
|
542
|
-
${
|
|
543
|
-
`;}static[
|
|
542
|
+
${_0x342d5b['isPage']?html``:MetaUiUtil[_0x642727(0x197)](_0x342d5b)}
|
|
543
|
+
`;}static[a0_0x486ab5(0x18a)](_0x1480d3){const _0x2b8a17=a0_0x486ab5;if(!_0x1480d3)return html``;if(!_0x1480d3[_0x2b8a17(0x21e)])return html``;let _0x404a09=_0x1480d3['tabRenderConfig'];return _0x1480d3[_0x2b8a17(0x1e0)]||(_0x1480d3[_0x2b8a17(0x1e0)]=_0x404a09[0x0]?.[_0x2b8a17(0x168)]||void 0x0),html`
|
|
544
544
|
<div class="tabs">
|
|
545
|
-
${
|
|
546
|
-
<div class="tab" ?activate="${
|
|
547
|
-
${
|
|
548
|
-
<span>${
|
|
545
|
+
${_0x404a09['map'](_0x51550b=>{const _0x3da505=_0x2b8a17;let _0x1823fa=TermsUtil[_0x3da505(0x258)](_0x51550b[_0x3da505(0x154)]),_0x48414b=_0x51550b[_0x3da505(0x168)];return html`
|
|
546
|
+
<div class="tab" ?activate="${_0x48414b===_0x1480d3['currentTabKey']}" @click="${()=>_0x1480d3['currentTabKey']=_0x48414b}">
|
|
547
|
+
${_0x51550b[_0x3da505(0x175)]?html`<mwc-icon>${_0x51550b[_0x3da505(0x175)]}</mwc-icon>`:html``}
|
|
548
|
+
<span>${_0x1823fa}</span>
|
|
549
549
|
</div>
|
|
550
550
|
`;})}
|
|
551
551
|
</div>
|
|
552
552
|
<div class="content-container">
|
|
553
|
-
${
|
|
554
|
-
<div class='tab-contents' style="${
|
|
555
|
-
${MetaUiUtil[
|
|
553
|
+
${_0x404a09['map'](_0x2ab620=>{const _0x18e5ee=_0x2b8a17;let _0x22a934=_0x18e5ee(0x256);return _0x2ab620['name']==_0x1480d3['currentTabKey']&&(_0x22a934=_0x18e5ee(0x235)),html`
|
|
554
|
+
<div class='tab-contents' style="${_0x22a934}">
|
|
555
|
+
${MetaUiUtil[_0x18e5ee(0x279)](_0x1480d3,_0x2ab620)}
|
|
556
556
|
</div>
|
|
557
557
|
`;})}
|
|
558
558
|
</div>
|
|
559
|
-
`;}static[
|
|
560
|
-
${0x0==
|
|
559
|
+
`;}static[a0_0x486ab5(0x223)](_0x390442){const _0x12aa1e=a0_0x486ab5;let _0x2ffc07=(_0x390442[_0x12aa1e(0x1b2)]||{})[_0x12aa1e(0x1f7)]||_0x12aa1e(0x1c0),_0x1262d6=(_0x390442[_0x12aa1e(0x1b2)]||{})[_0x12aa1e(0x1a7)]||_0x12aa1e(0x236),_0x158438=_0x12aa1e(0x27f)==_0x2ffc07?_0x12aa1e(0x1e8)+_0x1262d6+';':_0x12aa1e(0x14b)+_0x1262d6+';',_0x2447ac=_0x390442[_0x12aa1e(0x21d)]?UiUtil['currentRouting']():_0x390442[_0x12aa1e(0x243)];return html`
|
|
560
|
+
${0x0==_0x390442[_0x12aa1e(0x198)]?html``:html`
|
|
561
561
|
<div slot="headroom">
|
|
562
562
|
<div id="filters">
|
|
563
563
|
<ox-filters-form-base
|
|
564
564
|
id='ox-filters-form'
|
|
565
|
-
.filters=${
|
|
566
|
-
.value=${
|
|
567
|
-
@filters-change=${
|
|
565
|
+
.filters=${_0x390442[_0x12aa1e(0x13c)]||[]}
|
|
566
|
+
.value=${_0x390442[_0x12aa1e(0x214)]||[]}
|
|
567
|
+
@filters-change=${_0x428394=>{const _0x389a8d=_0x12aa1e;_0x390442[_0x389a8d(0x17f)]?.[_0x389a8d(0x273)]();}}
|
|
568
568
|
></ox-filters-form-base>
|
|
569
569
|
</div>
|
|
570
570
|
</div>
|
|
571
571
|
`}
|
|
572
|
-
<div id="container" class="container" style="${
|
|
572
|
+
<div id="container" class="container" style="${_0x158438}">
|
|
573
573
|
<div class="container_detail">
|
|
574
|
-
${MetaApi[
|
|
575
|
-
${MetaUiUtil[
|
|
574
|
+
${MetaApi[_0x12aa1e(0x17c)](_0x390442)}
|
|
575
|
+
${MetaUiUtil['getButtonContainer'](_0x390442)}
|
|
576
576
|
</div>
|
|
577
577
|
<div class="container_detail">
|
|
578
|
-
${!0x0===
|
|
578
|
+
${!0x0===_0x390442[_0x12aa1e(0x13b)]?html`${!0x0===_0x390442[_0x12aa1e(0x138)]?html`<meta-tab-element
|
|
579
579
|
id="detail"
|
|
580
|
-
route_name="${
|
|
581
|
-
.activityDataSet=${(
|
|
580
|
+
route_name="${_0x2447ac}"
|
|
581
|
+
.activityDataSet=${(_0x390442[_0x12aa1e(0x263)]||{})[_0x12aa1e(0x232)]}
|
|
582
582
|
is_readonly=true
|
|
583
583
|
is_activity=true
|
|
584
584
|
is_detail=true>
|
|
585
585
|
</meta-tab-element>`:html`<meta-tab-element
|
|
586
586
|
id="detail"
|
|
587
|
-
route_name="${
|
|
588
|
-
.activityDataSet=${(
|
|
587
|
+
route_name="${_0x2447ac}"
|
|
588
|
+
.activityDataSet=${(_0x390442[_0x12aa1e(0x263)]||{})[_0x12aa1e(0x232)]}
|
|
589
589
|
is_activity=true
|
|
590
590
|
is_detail=true>
|
|
591
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
591
|
+
</meta-tab-element>`}`:html`${!0x0===_0x390442['is_readonly']?html`<meta-tab-element id="detail" route_name="${_0x2447ac}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x2447ac}" is_detail=true></meta-tab-element>`}`}
|
|
592
592
|
</div>
|
|
593
593
|
</div>
|
|
594
|
-
`;}static[
|
|
595
|
-
${0x0==
|
|
594
|
+
`;}static[a0_0x486ab5(0x18f)](_0xcbf8d4){const _0x2a2eda=a0_0x486ab5;let _0x33ecf5=_0xcbf8d4[_0x2a2eda(0x1b2)][_0x2a2eda(0x1f7)]||_0x2a2eda(0x1c0),_0x21e4f6=_0xcbf8d4[_0x2a2eda(0x1b2)][_0x2a2eda(0x1a7)]||_0x2a2eda(0x236),_0x96066c=_0xcbf8d4['etcConfig'][_0x2a2eda(0x210)],_0xee3a0b=JSON[_0x2a2eda(0x1de)](_0x96066c||'{}'),_0x792706=_0x2a2eda(0x27f)==_0x33ecf5?_0x2a2eda(0x1e8)+_0x21e4f6+';':_0x2a2eda(0x14b)+_0x21e4f6+';';return MetaUiUtil[_0x2a2eda(0x1c3)](_0xcbf8d4),MetaUiUtil[_0x2a2eda(0x1b7)](_0xcbf8d4,_0xee3a0b),html`
|
|
595
|
+
${0x0==_0xcbf8d4['useMasterFilterForm']?html``:html`
|
|
596
596
|
<div slot="headroom">
|
|
597
597
|
<div id="filters">
|
|
598
598
|
<ox-filters-form-base
|
|
599
599
|
id='ox-filters-form'
|
|
600
|
-
.filters=${
|
|
601
|
-
.value=${
|
|
602
|
-
@filters-change=${
|
|
600
|
+
.filters=${_0xcbf8d4[_0x2a2eda(0x13c)]||[]}
|
|
601
|
+
.value=${_0xcbf8d4[_0x2a2eda(0x214)]||[]}
|
|
602
|
+
@filters-change=${_0x3ac8dc=>{const _0x53b4d8=_0x2a2eda;_0xcbf8d4[_0x53b4d8(0x273)]();}}
|
|
603
603
|
></ox-filters-form-base>
|
|
604
604
|
</div>
|
|
605
605
|
</div>
|
|
606
606
|
`}
|
|
607
|
-
<div id="container" class="container" style="${
|
|
607
|
+
<div id="container" class="container" style="${_0x792706}">
|
|
608
608
|
<div class="container_detail">
|
|
609
|
-
${
|
|
609
|
+
${_0xcbf8d4[_0x2a2eda(0x1c7)]}
|
|
610
610
|
</div>
|
|
611
611
|
<div class="container_detail">
|
|
612
|
-
${''==
|
|
613
|
-
${
|
|
612
|
+
${''==_0xee3a0b['tagname']||_0x2a2eda(0x1d1)==_0xee3a0b[_0x2a2eda(0x20b)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0xee3a0b['display'])}</h2>`}
|
|
613
|
+
${_0xcbf8d4[_0x2a2eda(0x1f2)]}
|
|
614
614
|
</div>
|
|
615
615
|
</div>
|
|
616
|
-
`;}static[
|
|
617
|
-
${0x0==
|
|
616
|
+
`;}static[a0_0x486ab5(0x272)](_0x30918c){const _0x43df49=a0_0x486ab5;return MetaUiUtil[_0x43df49(0x1c3)](_0x30918c),html`
|
|
617
|
+
${0x0==_0x30918c[_0x43df49(0x198)]?html``:html`
|
|
618
618
|
<div slot="headroom">
|
|
619
619
|
<div id="filters">
|
|
620
620
|
<ox-filters-form-base
|
|
621
621
|
id='ox-filters-form'
|
|
622
|
-
.filters=${
|
|
623
|
-
.value=${
|
|
624
|
-
@filters-change=${
|
|
622
|
+
.filters=${_0x30918c[_0x43df49(0x13c)]||[]}
|
|
623
|
+
.value=${_0x30918c['searchFieldValues']||[]}
|
|
624
|
+
@filters-change=${_0x31775d=>{const _0x4931b3=_0x43df49;_0x30918c[_0x4931b3(0x273)]();}}
|
|
625
625
|
></ox-filters-form-base>
|
|
626
626
|
</div>
|
|
627
627
|
</div>
|
|
628
628
|
`}
|
|
629
629
|
<div id="container" class="container" >
|
|
630
|
-
${
|
|
630
|
+
${_0x30918c['masterElement']}
|
|
631
631
|
</div>
|
|
632
|
-
`;}static[
|
|
633
|
-
${0x0==
|
|
632
|
+
`;}static['getMasterDetailHtml'](_0x5778b8){const _0x58596e=a0_0x486ab5;let _0x313b3c=_0x5778b8[_0x58596e(0x1b2)][_0x58596e(0x1f7)]||_0x58596e(0x1c0),_0x449567=_0x5778b8[_0x58596e(0x1b2)][_0x58596e(0x1a7)]||_0x58596e(0x236),_0xeca1f6=_0x5778b8[_0x58596e(0x1b2)][_0x58596e(0x210)],_0x1344ce=JSON[_0x58596e(0x1de)](_0xeca1f6||'{}'),_0x335813=_0x58596e(0x27f)==_0x313b3c?_0x58596e(0x1e8)+_0x449567+';':_0x58596e(0x14b)+_0x449567+';';return MetaUiUtil[_0x58596e(0x1b7)](_0x5778b8,_0x1344ce),html`
|
|
633
|
+
${0x0==_0x5778b8[_0x58596e(0x198)]?html``:html`
|
|
634
634
|
<div slot="headroom">
|
|
635
635
|
<div id="filters">
|
|
636
636
|
<ox-filters-form-base
|
|
637
637
|
id='ox-filters-form'
|
|
638
|
-
.filters=${
|
|
639
|
-
.value=${
|
|
640
|
-
@filters-change=${
|
|
638
|
+
.filters=${_0x5778b8[_0x58596e(0x13c)]||[]}
|
|
639
|
+
.value=${_0x5778b8[_0x58596e(0x214)]||[]}
|
|
640
|
+
@filters-change=${_0xc1f5b2=>{const _0x33f9ce=_0x58596e;_0x5778b8[_0x33f9ce(0x17f)]?.[_0x33f9ce(0x273)]();}}
|
|
641
641
|
></ox-filters-form-base>
|
|
642
642
|
</div>
|
|
643
643
|
</div>
|
|
644
644
|
`}
|
|
645
|
-
<div id="container" class="container" style="${
|
|
645
|
+
<div id="container" class="container" style="${_0x335813}">
|
|
646
646
|
<div class="container_detail">
|
|
647
|
-
${MetaApi[
|
|
648
|
-
${MetaUiUtil[
|
|
647
|
+
${MetaApi[_0x58596e(0x17c)](_0x5778b8)}
|
|
648
|
+
${MetaUiUtil[_0x58596e(0x197)](_0x5778b8)}
|
|
649
649
|
</div>
|
|
650
650
|
<div class="container_detail">
|
|
651
|
-
${''==
|
|
652
|
-
${
|
|
651
|
+
${''==_0x1344ce[_0x58596e(0x20b)]||'meta-tab-element'==_0x1344ce[_0x58596e(0x20b)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x1344ce[_0x58596e(0x154)])}</h2>`}
|
|
652
|
+
${_0x5778b8[_0x58596e(0x1f2)]}
|
|
653
653
|
</div>
|
|
654
654
|
</div>
|
|
655
|
-
`;}static[
|
|
655
|
+
`;}static[a0_0x486ab5(0x1b7)](_0x32897c,_0x2e7062){const _0x4f1a1b=a0_0x486ab5;if(!_0x32897c[_0x4f1a1b(0x1f2)]){let _0x1410ba=_0x2e7062[_0x4f1a1b(0x168)]?_0x2e7062['name']:_0x4f1a1b(0x232),_0x5b8978='<'+_0x2e7062[_0x4f1a1b(0x20b)]+_0x4f1a1b(0x24a)+_0x1410ba+_0x4f1a1b(0x22e)+_0x1410ba+'\x22\x20route_name=\x22'+_0x2e7062[_0x4f1a1b(0x1e2)]+'\x22\x20'+(!0x0===_0x32897c[_0x4f1a1b(0x13b)]?_0x4f1a1b(0x147):'')+'\x20'+(!0x0===_0x32897c[_0x4f1a1b(0x138)]?_0x4f1a1b(0x16d):'')+'\x20is_detail=true\x20style=\x22flex:1;\x22></'+_0x2e7062[_0x4f1a1b(0x20b)]+'>';_0x32897c['detailElement']=UiUtil['htmlToElement'](_0x5b8978),_0x32897c[_0x4f1a1b(0x1f2)][_0x4f1a1b(0x263)]=(_0x32897c[_0x4f1a1b(0x263)]||{})[_0x4f1a1b(0x232)],_0x32897c[_0x4f1a1b(0x152)][_0x4f1a1b(0x134)]()[_0x4f1a1b(0x199)](_0x4f1a1b(0x179))&&(_0x32897c['detailElement'][_0x4f1a1b(0x1fd)]=_0x32897c);}}static[a0_0x486ab5(0x1c3)](_0x3ef1c6){const _0x14c419=a0_0x486ab5;if(!_0x3ef1c6[_0x14c419(0x1c7)]&&_0x3ef1c6['filterForm']){let _0x35e205='master',_0xca0023=_0x14c419(0x205)+_0x35e205+_0x14c419(0x22e)+_0x35e205+_0x14c419(0x264)+_0x3ef1c6[_0x14c419(0x1c9)]+'\x22\x20'+(!0x0===_0x3ef1c6[_0x14c419(0x13b)]?_0x14c419(0x147):'')+'\x20'+(!0x0===_0x3ef1c6[_0x14c419(0x138)]?_0x14c419(0x16d):'')+_0x14c419(0x13e);_0x3ef1c6[_0x14c419(0x1c7)]=UiUtil[_0x14c419(0x1f1)](_0xca0023),_0x3ef1c6['masterElement'][_0x14c419(0x263)]=(_0x3ef1c6[_0x14c419(0x263)]||{})[_0x14c419(0x1cc)],_0x3ef1c6[_0x14c419(0x1c7)][_0x14c419(0x1c6)]=!0x0,_0x3ef1c6[_0x14c419(0x1c7)][_0x14c419(0x248)]=_0x3ef1c6['filterForm'],_0x3ef1c6[_0x14c419(0x1c7)][_0x14c419(0x1fd)]=_0x3ef1c6;}}static['getBasicTabContent'](_0x270cfc,_0xfcaa1e){const _0x1884fd=a0_0x486ab5;if(_0x270cfc[_0x1884fd(0x218)]||(_0x270cfc[_0x1884fd(0x218)]={}),Object['keys'](_0x270cfc[_0x1884fd(0x218)])[_0x1884fd(0x208)](_0x1fc38f=>_0x1fc38f==_0xfcaa1e[_0x1884fd(0x168)])[_0x1884fd(0x187)]>0x0)return _0x270cfc[_0x1884fd(0x218)][_0xfcaa1e['name']];let _0x242d16='<'+_0xfcaa1e[_0x1884fd(0x20b)]+_0x1884fd(0x265)+_0xfcaa1e['name']+_0x1884fd(0x188)+_0xfcaa1e[_0x1884fd(0x1eb)]+_0x1884fd(0x237)+(!0x0===_0x270cfc[_0x1884fd(0x13b)]?_0x1884fd(0x147):'')+'\x20'+(!0x0===_0x270cfc[_0x1884fd(0x138)]?'is_readonly=true':'')+_0x1884fd(0x213)+_0xfcaa1e[_0x1884fd(0x20b)]+'>',_0xe27487=UiUtil[_0x1884fd(0x1f1)](_0x242d16);return _0xe27487['activityDataSet']=(_0x270cfc[_0x1884fd(0x263)]||{})[_0xfcaa1e[_0x1884fd(0x168)]],_0x270cfc['parent_id']&&(_0xe27487[_0x1884fd(0x151)]=_0x270cfc['parent_id']),_0x270cfc[_0x1884fd(0x1fd)]?_0xe27487[_0x1884fd(0x1fd)]=_0x270cfc[_0x1884fd(0x1fd)]:_0xe27487[_0x1884fd(0x1f2)]=_0x270cfc,!0x1===_0xfcaa1e['filter_from']&&(_0xe27487['use_filter_form']=!0x1),_0xfcaa1e['main_filter_form']&&(_0xe27487['mainFilterForm']=_0xfcaa1e[_0x1884fd(0x13f)]),_0x270cfc[_0x1884fd(0x218)][_0xfcaa1e[_0x1884fd(0x168)]]=_0xe27487,_0xe27487;}static['getGridDetailHtml'](_0x6b8666){const _0xcceeb2=a0_0x486ab5;let _0x13cbfc=_0x6b8666['useButtonAdd'],_0x3648ce=_0x6b8666['useFilterForm'],_0x8bb284=_0x6b8666[_0xcceeb2(0x249)],_0x3b5b66=JSON['parse']((_0x6b8666[_0xcceeb2(0x1b2)]||{})[_0xcceeb2(0x1a6)]||'false');return 0x0==_0x3648ce?html`
|
|
656
656
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
657
|
-
${this[
|
|
657
|
+
${this[_0xcceeb2(0x1c8)](_0x6b8666)}
|
|
658
658
|
</div>
|
|
659
659
|
`:html`
|
|
660
660
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
661
661
|
<div slot="headroom">
|
|
662
662
|
<div id="filters"><ox-filters-form></ox-filters-form></div>
|
|
663
|
-
${
|
|
663
|
+
${_0x3b5b66?html`
|
|
664
664
|
<div id="sorters">
|
|
665
|
-
<mwc-icon @click=${
|
|
665
|
+
<mwc-icon @click=${_0x4bcf66=>{const _0x259d2a=_0xcceeb2,_0x35f764=_0x4bcf66[_0x259d2a(0x164)];_0x35f764[_0x259d2a(0x1cd)][_0x259d2a(0x26f)]({'right':0x0,'top':_0x35f764[_0x259d2a(0x15c)]+_0x35f764[_0x259d2a(0x17e)]});}}
|
|
666
666
|
>sort</mwc-icon>
|
|
667
667
|
<ox-popup id="sorter-control">
|
|
668
668
|
<ox-sorters-control></ox-sorters-control>
|
|
669
669
|
</ox-popup>
|
|
670
670
|
</div>
|
|
671
671
|
`:html``}
|
|
672
|
-
${MetaUiUtil[
|
|
672
|
+
${MetaUiUtil[_0xcceeb2(0x16a)](_0x6b8666)}
|
|
673
673
|
<ox-record-creator
|
|
674
674
|
id="add"
|
|
675
|
-
?hidden="${!
|
|
676
|
-
.callback=${
|
|
675
|
+
?hidden="${!_0x13cbfc}"
|
|
676
|
+
.callback=${_0x8bb284}>
|
|
677
677
|
<button>
|
|
678
678
|
<mwc-icon>add</mwc-icon>
|
|
679
679
|
</button>
|
|
680
680
|
</ox-record-creator>
|
|
681
681
|
</div>
|
|
682
|
-
${this[
|
|
682
|
+
${this['getGridColumnPersonalizeButton'](_0x6b8666)}
|
|
683
683
|
</div>
|
|
684
|
-
`;}static[
|
|
684
|
+
`;}static['getGridColumnPersonalizeButton'](_0x3625d7){const _0x33d0e6=a0_0x486ab5;return _0x33d0e6(0x24e)!=_0x3625d7[_0x33d0e6(0x1f9)]?html``:!0x0!==_0x3625d7[_0x33d0e6(0x13b)]?html`
|
|
685
685
|
<div id="grist-personal">
|
|
686
|
-
<mwc-icon @click=${
|
|
686
|
+
<mwc-icon @click=${_0x4305a8=>{const _0x29f630=_0x33d0e6;let _0x1073e5=MetaApi[_0x29f630(0x20c)](_0x29f630(0x1d5),_0x29f630(0x1d5));_0x1073e5[_0x29f630(0x26b)]=_0x4305a8['currentTarget'][_0x29f630(0x275)][_0x29f630(0x275)]['parentElement'],_0x1073e5[_0x29f630(0x203)]=_0x3625d7[_0x29f630(0x203)],MetaApi[_0x29f630(0x215)](TermsUtil[_0x29f630(0x251)](_0x29f630(0x229)),_0x29f630(0x1b3),_0x1073e5,!0x1);}}
|
|
687
687
|
>tune</mwc-icon>
|
|
688
688
|
</div>
|
|
689
|
-
`:html``;}static[
|
|
689
|
+
`:html``;}static[a0_0x486ab5(0x16a)](_0x5e9925){const _0xf487f7=a0_0x486ab5;return ValueUtil[_0xf487f7(0x259)](_0x5e9925[_0xf487f7(0x139)])||0x1==_0x5e9925[_0xf487f7(0x139)][_0xf487f7(0x187)]?html``:html`
|
|
690
690
|
<div id="modes">
|
|
691
|
-
${
|
|
692
|
-
${
|
|
693
|
-
${
|
|
691
|
+
${_0x5e9925[_0xf487f7(0x139)][_0xf487f7(0x1be)]('GRID')?html`<mwc-icon @click="${()=>_0x5e9925['gridMode']='GRID'}" ?active="${'GRID'==_0x5e9925[_0xf487f7(0x1f9)]}">grid_on</mwc-icon>`:''}
|
|
692
|
+
${_0x5e9925['gridViewOptions'][_0xf487f7(0x1be)]('LIST')?html`<mwc-icon @click="${()=>_0x5e9925[_0xf487f7(0x1f9)]='LIST'}" ?active="${'LIST'==_0x5e9925[_0xf487f7(0x1f9)]}">format_list_bulleted</mwc-icon>`:''}
|
|
693
|
+
${_0x5e9925[_0xf487f7(0x139)]['includes']('CARD')?html`<mwc-icon @click="${()=>_0x5e9925[_0xf487f7(0x1f9)]=_0xf487f7(0x1ca)}" ?active="${'CARD'==_0x5e9925[_0xf487f7(0x1f9)]}">apps</mwc-icon>`:''}
|
|
694
694
|
</div>
|
|
695
|
-
`;}static[
|
|
695
|
+
`;}static[a0_0x486ab5(0x197)](_0x54c650){const _0x3bc7c9=a0_0x486ab5;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x3bc7c9(0x180)](_0x54c650)}</div>`;}}
|