@things-factory/meta-ui 6.0.130 → 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/bootstrap.js +19 -0
- 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 +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +2 -2
- package/client/pages/activity/meta-activity-writer-element.js +2 -2
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +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 +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +11 -11
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_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}}))[_0x282397(0x2ab)])return;let _0x52ceb,_0x2ec59b=[{'name':_0x282397(0x1c8),'operator':'eq','value':_0x52c49e}],_0x33b3f9=await ServiceUtil[_0x282397(0x218)](_0x282397(0x2ad),_0x2ec59b,null,0x0,0x0,_0x282397(0x1e6));if(_0x33b3f9&&_0x33b3f9[_0x282397(0x1ef)]&&0x0!=_0x33b3f9[_0x282397(0x1ef)][_0x282397(0x1a6)]?(_0x52ceb=_0x33b3f9['records'][0x0],!_0x52ceb[_0x282397(0x252)]&&_0xf1d47c[_0x282397(0x279)]&&(_0x52ceb[_0x282397(0x252)]=_0xf1d47c[_0x282397(0x279)])):_0xf1d47c[_0x282397(0x279)]&&(_0x52ceb={'id':_0x52c49e,'template':_0xf1d47c[_0x282397(0x279)]}),!_0x52ceb)throw new Error(TermsUtil[_0x282397(0x262)](_0x282397(0x1e3),{'value':TermsUtil[_0x282397(0x26b)](_0x282397(0x1f9))+'\x20'+_0x52c49e}));if(!_0x52ceb[_0x282397(0x252)])throw new Error(TermsUtil[_0x282397(0x262)](_0x282397(0x1e3),{'value':TermsUtil['tMenu'](_0x282397(0x1f9))+'\x20'+TermsUtil[_0x282397(0x1a9)](_0x282397(0x1b6))}));return this['menuId']=_0x52ceb['id'],JSON['parse'](MetaCrypto[_0x282397(0x214)](_0x52ceb[_0x282397(0x252)]));}static['getBasicGristPageProperties'](){return{'menuInfo':Object,'gridConfig':Object,'gridColumnConfig':Array,'formColumnConfig':Array,'buttonConfig':Array,'searchConfig':Array,'gqlInfo':String,'gqlFetchField':String,'searchFormElement':String,'useFilterForm':Boolean,'gristConfigSet':Object,'formConfigSet':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':!0x0,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x41bf04=>Boolean(_0x41bf04)},'is_popup':{'type':Boolean,'converter':_0x398b3f=>Boolean(_0x398b3f)},'is_activity':{'type':Boolean,'converter':_0x10e1c4=>Boolean(_0x10e1c4)},'is_readonly':{'type':Boolean,'converter':_0x1ce858=>Boolean(_0x1ce858)}};}static async[a0_0x102ceb(0x226)](_0x368235){const _0x553939=a0_0x102ceb;if(0x0==store[_0x553939(0x2bd)]()[_0x553939(0x24f)][_0x553939(0x1ec)])return void document[_0x553939(0x287)](new CustomEvent(_0x553939(0x200),{'detail':{'level':_0x553939(0x213),'message':TermsUtil[_0x553939(0x1d9)](_0x553939(0x25e))}}));let _0x1ee46=_0x368235['isPage']?UiUtil[_0x553939(0x223)]():_0x368235[_0x553939(0x170)];_0x368235['currentRouting']=_0x1ee46;let _0x163bbb=await MetaUiUtil['findMenuMetaByRouting'](_0x368235,_0x1ee46);return!0x0===_0x368235['is_activity']&&(_0x163bbb[_0x553939(0x1d3)]['option'][_0x553939(0x22b)]=!0x1,_0x163bbb['grid'][_0x553939(0x23d)][_0x553939(0x173)]=_0x553939(0x1bc),_0x163bbb[_0x553939(0x1d3)][_0x553939(0x1a1)]=!0x1,_0x163bbb[_0x553939(0x1d3)][_0x553939(0x2a2)]=[],_0x163bbb['button']=_0x163bbb[_0x553939(0x2a2)]['filter'](_0x2e789d=>_0x553939(0x28a)==_0x2e789d[_0x553939(0x22d)])),!0x0===_0x368235['is_readonly']&&(_0x163bbb['grid_column']['forEach'](_0x107d76=>{const _0x2b13b5=_0x553939;_0x107d76[_0x2b13b5(0x1c9)]=!0x1;}),_0x163bbb[_0x553939(0x2a2)]=_0x163bbb[_0x553939(0x2a2)][_0x553939(0x28c)](_0x15f9e5=>_0x553939(0x28a)!=_0x15f9e5['name'])),!0x1===_0x368235[_0x553939(0x1a1)]&&(_0x163bbb[_0x553939(0x1d3)][_0x553939(0x1a1)]=!0x1),_0x163bbb;}static[a0_0x102ceb(0x2a6)](..._0x13915c){return{'pages':_0x13915c};}static[a0_0x102ceb(0x248)](_0x2c3cfa,_0x56f9c7){const _0x279649=a0_0x102ceb;let _0x13d7f8=[{'type':_0x279649(0x176),'gutterName':_0x279649(0x250)},{'type':'gutter','gutterName':_0x279649(0x18a)}];return _0x2c3cfa&&_0x13d7f8[_0x279649(0x199)]({'type':_0x279649(0x176),'gutterName':_0x279649(0x2b9),'multiple':_0x56f9c7}),_0x13d7f8;}static[a0_0x102ceb(0x296)](_0x485b44){return{'selectable':{'multiple':_0x485b44}};}static async[a0_0x102ceb(0x2a7)](_0x35d9df){const _0x367dd5=a0_0x102ceb;let _0x3848ea=MetaUiUtil[_0x367dd5(0x2ac)](_0x35d9df),_0x49645e=MetaUiUtil[_0x367dd5(0x253)](_0x35d9df),_0x40bc07=MetaUiUtil['getGridRowSet'](_0x35d9df),_0x4ff8d2=MetaUiUtil['getGridButtonSet'](_0x35d9df),_0x23f2b0=await MetaUiUtil[_0x367dd5(0x219)](_0x35d9df),_0x37f148=MetaUiUtil[_0x367dd5(0x248)](_0x3848ea['use_row_checker'],_0x40bc07[_0x367dd5(0x19a)][_0x367dd5(0x193)]);return 0x1==_0x35d9df[_0x367dd5(0x26e)]&&(_0x23f2b0=MetaUiUtil[_0x367dd5(0x220)](_0x35d9df,_0x23f2b0)),{'list':_0x49645e,'pagination':_0x3848ea[_0x367dd5(0x173)],'sorters':_0x3848ea[_0x367dd5(0x2af)],'rows':_0x40bc07,'columns':[..._0x37f148,..._0x4ff8d2,..._0x23f2b0]};}static async[a0_0x102ceb(0x1b8)](_0x4d50c0){const _0x522201=a0_0x102ceb;let _0x44a6f1=_0x4d50c0[_0x522201(0x228)],_0x3f2508=[];for(let _0x42475b=0x0;_0x42475b<_0x44a6f1[_0x522201(0x1a6)];_0x42475b++){let {type:_0x1b0c07=_0x522201(0x2c3),name:_0x13ce97,header:_0x175e8c,hidden:_0x47981a=!0x1,editable:_0x12b498=!0x0,mandatory:_0x234f55=!0x1,align:_0x4e94c5=_0x522201(0x24a),select_opt:_0x48a6d1,object_opt:_0x101bbc}=_0x44a6f1[_0x42475b],_0x2da276={'type':_0x1b0c07,'name':_0x13ce97,'header_txt':ValueUtil[_0x522201(0x24e)](_0x175e8c)?TermsUtil['tLabel'](_0x13ce97):TermsUtil[_0x522201(0x1a9)](_0x175e8c),'header':{'renderer':function(_0x4f7597){return _0x4f7597['header_txt'];}},'hidden':_0x47981a,'record':{'editable':_0x12b498,'mandatory':_0x234f55,'align':_0x4e94c5,'classifier':function(){},'renderer':getRenderer(_0x1b0c07)}};_0x12b498&&(_0x2da276[_0x522201(0x2bf)][_0x522201(0x1da)]=getEditor(_0x1b0c07)),_0x522201(0x1b1)===_0x1b0c07&&ValueUtil[_0x522201(0x1dc)](_0x48a6d1)?Array[_0x522201(0x22e)](_0x48a6d1)?_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=_0x48a6d1:'code'===_0x48a6d1[_0x522201(0x180)]?_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=await ServiceUtil['getCodeSelectorData'](_0x48a6d1[_0x522201(0x2bc)]?_0x48a6d1[_0x522201(0x2bc)]:_0x48a6d1[_0x522201(0x22d)]):_0x522201(0x21e)===_0x48a6d1['type']?_0x2da276[_0x522201(0x2bf)]['options']=await ServiceUtil[_0x522201(0x25d)](_0x48a6d1[_0x522201(0x22d)],_0x48a6d1['args']):_0x522201(0x188)===_0x48a6d1[_0x522201(0x180)]&&(_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=await ServiceUtil[_0x522201(0x227)](_0x48a6d1[_0x522201(0x243)])):_0x522201(0x1d2)!==_0x1b0c07&&_0x522201(0x186)!==_0x1b0c07||!ValueUtil[_0x522201(0x1dc)](_0x101bbc)?_0x522201(0x27b)===_0x1b0c07&&ValueUtil['isNotEmpty'](_0x101bbc)&&(_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=_0x101bbc,_0x101bbc['dispField']&&(_0x2da276['record']['options']['codes']=await ServiceUtil['getCodeByEntity'](_0x101bbc))):(_0x101bbc[_0x522201(0x1b1)]&&_0x101bbc['select'][_0x522201(0x184)](_0x426c40=>{const _0x5c9aa5=_0x522201;_0x426c40[_0x5c9aa5(0x20b)]||(_0x426c40['header']=_0x426c40[_0x5c9aa5(0x22d)]),_0x426c40['header']=TermsUtil[_0x5c9aa5(0x1a9)](_0x426c40[_0x5c9aa5(0x20b)]);}),_0x2da276[_0x522201(0x2bf)][_0x522201(0x257)]=_0x101bbc),_0x3f2508[_0x522201(0x199)](_0x2da276);}return _0x3f2508;}static[a0_0x102ceb(0x2ac)](_0xa22245){const _0x178f29=a0_0x102ceb;let _0x2c383b=_0xa22245['gridConfig'];_0xa22245['useFilterForm']=!_0x2c383b||null==_0x2c383b['use_filter_form']||_0x2c383b['use_filter_form'];let {mobile_mode:_0x51514d='LIST',desk_mode:_0x3f5c63=_0x178f29(0x207),view_mode:_0x230db2=[],use_row_checker:_0x5a4146=!0x0,sorters:_0x8165a2=[],pages:_0x4991d7=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x2c383b['option'])?{}:_0x2c383b[_0x178f29(0x23d)];return'unlimited'===_0x4991d7||'-1'===_0x4991d7?(_0xa22245[_0x178f29(0x18f)]=!0x0,_0x4991d7={'infinite':!0x0}):(_0xa22245[_0x178f29(0x18f)]=!0x1,_0x4991d7[_0x178f29(0x171)](function(_0x28e246,_0x53ecea){return _0x28e246-_0x53ecea;}),_0x4991d7={'pages':_0x4991d7}),ValueUtil[_0x178f29(0x1dc)](_0x230db2)&&(0x1==_0x230db2[_0x178f29(0x1a6)]?(_0x3f5c63=_0x230db2[0x0],_0x51514d=_0x230db2[0x0]):_0x230db2['length']>=0x2&&(_0x230db2['includes'](_0x51514d)||(_0x51514d=_0x230db2[0x1]),_0x230db2[_0x178f29(0x24c)](_0x3f5c63)||(_0x3f5c63=_0x230db2[0x0]))),_0xa22245[_0x178f29(0x295)]=_0x51514d,_0xa22245[_0x178f29(0x17d)]=_0x3f5c63,_0xa22245['gridViewOptions']=_0x230db2,_0xa22245[_0x178f29(0x17e)]=UiUtil[_0x178f29(0x189)]()?_0xa22245[_0x178f29(0x295)]:_0xa22245[_0x178f29(0x17d)],{'use_row_checker':_0x5a4146,'sorters':_0x8165a2,'pages':_0x4991d7};}static[a0_0x102ceb(0x253)](_0xde61c4){const _0x1e28e1=a0_0x102ceb;let _0x2194c7={'fields':[ValueUtil['getParams'](_0xde61c4[_0x1e28e1(0x2a9)],'name'),ValueUtil[_0x1e28e1(0x18e)](_0xde61c4[_0x1e28e1(0x2a9)],_0x1e28e1(0x21c))]};return _0xde61c4[_0x1e28e1(0x208)][_0x1e28e1(0x26d)]&&Object[_0x1e28e1(0x192)](_0x2194c7,_0xde61c4[_0x1e28e1(0x208)][_0x1e28e1(0x26d)]),_0x2194c7;}static[a0_0x102ceb(0x2a4)](_0x1f806f){const _0x2b1123=a0_0x102ceb;let {multiple_select:_0x48585d=!0x1,click:_0x2e0e5f}=ValueUtil[_0x2b1123(0x24e)](_0x1f806f['gridConfig'][_0x2b1123(0x202)])?{}:_0x1f806f[_0x2b1123(0x208)][_0x2b1123(0x202)],_0x208329={'selectable':{'multiple':_0x48585d},'appendable':_0x1f806f[_0x2b1123(0x29f)]};return ValueUtil[_0x2b1123(0x1dc)](_0x2e0e5f)&&(_0x208329[_0x2b1123(0x2ae)]={'click':_0x2e0e5f}),_0x208329;}static['getGridButtonSet'](_0x20a48c){const _0x226206=a0_0x102ceb;let _0x547382=_0x20a48c[_0x226206(0x208)][_0x226206(0x2a2)];return ValueUtil[_0x226206(0x24e)](_0x547382)?[]:_0x547382[_0x226206(0x1e0)](_0x18c6d8=>{const _0x5c6bfc=_0x226206;let _0x4ec039={'type':_0x5c6bfc(0x176),'gutterName':'button'};if(ValueUtil[_0x5c6bfc(0x1dc)](_0x18c6d8['icon'])&&(Array[_0x5c6bfc(0x22e)](_0x18c6d8[_0x5c6bfc(0x1ee)])?_0x4ec039[_0x5c6bfc(0x1ee)]=_0x4bf8e5=>{const _0x44423b=_0x5c6bfc;if(ValueUtil[_0x44423b(0x1dc)](_0x4bf8e5))for(let _0x2e5280=0x0;_0x2e5280<_0x18c6d8[_0x44423b(0x1ee)][_0x44423b(0x1a6)];_0x2e5280++){let _0xa9f44f=_0x18c6d8['icon'][_0x2e5280];if(!0x0===ValueUtil[_0x44423b(0x1d6)](_0xa9f44f,_0x4bf8e5,Object[_0x44423b(0x230)](_0xa9f44f)[_0x44423b(0x28c)](_0x26dffa=>'icon'!=_0x26dffa)))return _0xa9f44f[_0x44423b(0x1ee)];}}:_0x4ec039['icon']=_0x18c6d8[_0x5c6bfc(0x1ee)]),ValueUtil[_0x5c6bfc(0x1dc)](_0x18c6d8['name'])&&(_0x4ec039[_0x5c6bfc(0x22d)]=_0x18c6d8[_0x5c6bfc(0x22d)]),ValueUtil['isNotEmpty'](_0x18c6d8['label'])&&(_0x4ec039[_0x5c6bfc(0x259)]=TermsUtil[_0x5c6bfc(0x1af)](_0x18c6d8[_0x5c6bfc(0x25c)])),_0x5c6bfc(0x282)===_0x18c6d8[_0x5c6bfc(0x180)]){let _0x5317cd=ValueUtil[_0x5c6bfc(0x18e)](_0x18c6d8,_0x5c6bfc(0x1b2));[_0x5c6bfc(0x277),_0x5c6bfc(0x1e4)][_0x5c6bfc(0x24c)](_0x5317cd)?_0x4ec039['handlers']={'click':(_0x3fcd93,_0x56863e,_0x5d9e20,_0x355053,_0x45a68f)=>{const _0x1bd4db=_0x5c6bfc;if(_0x355053['id']){let _0x1deec6={'title':_0x1bd4db(0x2a3),'type':'popup','tagname':_0x1bd4db(0x277)==_0x5317cd?_0x1bd4db(0x1a5):_0x1bd4db(0x291),'location':_0x1bd4db(0x277)==_0x5317cd?_0x1bd4db(0x1cb):'pages/hgistory/history-json-list-popup.js','menu':_0x20a48c[_0x1bd4db(0x223)],'size':_0x1bd4db(0x20c),'popup_field':_0x1bd4db(0x258),'parent_field':'id'},_0x2f076c={..._0x355053,'gqlFunc':ValueUtil[_0x1bd4db(0x18e)](_0x20a48c[_0x1bd4db(0x1cc)],_0x1bd4db(0x209),'find_one_func'),'gristConfig':JSON[_0x1bd4db(0x187)](JSON[_0x1bd4db(0x221)](_0x20a48c[_0x1bd4db(0x1f6)][_0x1bd4db(0x1ca)]))};MetaUiUtil[_0x1bd4db(0x1f3)](_0x20a48c,{'logic':_0x1deec6},_0x2f076c);}}}:_0x4ec039[_0x5c6bfc(0x2ae)]={'click':_0x5317cd};}else _0x4ec039[_0x5c6bfc(0x2ae)]={'click':(_0x3f8935,_0xb428a8,_0x7a5af5,_0x26d2ea,_0x18153f)=>{const _0x16f9e9=_0x5c6bfc;_0x26d2ea['id']&&MetaUiUtil[_0x16f9e9(0x1f3)](_0x20a48c,_0x18c6d8,_0x26d2ea);}};return _0x4ec039;});}static async[a0_0x102ceb(0x219)](_0x3b5756){const _0x4c1c56=a0_0x102ceb;let _0x22cbc8=_0x3b5756[_0x4c1c56(0x191)];if(ValueUtil['isEmpty'](_0x22cbc8))return[];let _0xf96f35=[];for(let _0x522707=0x0;_0x522707<_0x22cbc8[_0x4c1c56(0x1a6)];_0x522707++){let {type:_0x40f65e=_0x4c1c56(0x2c3),name:_0x30ec59,header:_0x254c9a,hidden:_0x59bc65=!0x1,editable:_0x17abce=!0x0,mandatory:_0x5ba986=!0x1,sortable:_0x98877c=!0x1,align:_0x19b86b=_0x4c1c56(0x24a),width:_0x4f4b1b=0x0,exportable:_0x9c8ce5=!0x1,select_opt:_0xee3203,object_opt:_0x5ed289}=_0x22cbc8[_0x522707],_0x4d35d7={'type':_0x40f65e,'name':_0x30ec59,'header':ValueUtil[_0x4c1c56(0x24e)](_0x254c9a)?'':TermsUtil[_0x4c1c56(0x1a9)](_0x254c9a),'hidden':_0x59bc65,'sortable':_0x98877c,'width':_0x4f4b1b,'record':{'editable':_0x17abce,'mandatory':_0x5ba986,'align':_0x19b86b}};if(_0x4c1c56(0x1b1)===_0x40f65e&&ValueUtil[_0x4c1c56(0x1dc)](_0xee3203))Array[_0x4c1c56(0x22e)](_0xee3203)?_0x4d35d7[_0x4c1c56(0x2bf)][_0x4c1c56(0x257)]=_0xee3203:_0x4c1c56(0x27a)===_0xee3203[_0x4c1c56(0x180)]?_0x4d35d7['record']['options']=await ServiceUtil[_0x4c1c56(0x298)](_0xee3203[_0x4c1c56(0x2bc)]?_0xee3203[_0x4c1c56(0x2bc)]:_0xee3203[_0x4c1c56(0x22d)]):_0x4c1c56(0x21e)===_0xee3203[_0x4c1c56(0x180)]?_0x4d35d7[_0x4c1c56(0x2bf)]['options']=await ServiceUtil[_0x4c1c56(0x25d)](_0xee3203[_0x4c1c56(0x22d)],_0xee3203[_0x4c1c56(0x243)]):'entity'===_0xee3203['type']&&(_0x4d35d7['record']['options']=await ServiceUtil['getCodeByEntity'](_0xee3203[_0x4c1c56(0x243)]));else{if('object'!==_0x40f65e&&'resource-object'!==_0x40f65e||!ValueUtil[_0x4c1c56(0x1dc)](_0x5ed289))_0x4c1c56(0x27b)===_0x40f65e&&ValueUtil[_0x4c1c56(0x1dc)](_0x5ed289)&&(_0x4d35d7[_0x4c1c56(0x2bf)]['options']=_0x5ed289,_0x5ed289['dispField']&&(_0x4d35d7[_0x4c1c56(0x2bf)][_0x4c1c56(0x257)][_0x4c1c56(0x272)]=await ServiceUtil[_0x4c1c56(0x227)](_0x5ed289)));else{let _0x4e9f61;_0x5ed289[_0x4c1c56(0x1b1)]&&_0x5ed289[_0x4c1c56(0x1b1)][_0x4c1c56(0x184)](_0x5b1967=>{const _0xea468e=_0x4c1c56;_0x5b1967[_0xea468e(0x20b)]||(_0x5b1967['header']=_0x5b1967['name']),_0x5b1967[_0xea468e(0x20b)]=TermsUtil[_0xea468e(0x1a9)](_0x5b1967[_0xea468e(0x20b)]);}),_0x4d35d7[_0x4c1c56(0x2bf)][_0x4c1c56(0x257)]={..._0x5ed289},_0x5ed289[_0x4c1c56(0x274)]&&_0x5ed289[_0x4c1c56(0x274)][_0x4c1c56(0x18c)]&&(_0x4e9f61=[..._0x5ed289[_0x4c1c56(0x274)]['filters']]),_0x4e9f61&&JSON[_0x4c1c56(0x221)](_0x4e9f61)[_0x4c1c56(0x24c)]('::')&&(_0x4d35d7['handlers']={'dblclick':(_0x208117,_0x440289,_0x392d4e,_0x3eb8c9,_0x58f6ce)=>{const _0x438b57=_0x4c1c56;let _0x1caa64=[];_0x4e9f61[_0x438b57(0x184)](_0x16f7b7=>{const _0x3cc8c5=_0x438b57;var {name:_0x2a8ef0,value:_0xf00b6c,operator:_0x4ce059='eq'}=_0x16f7b7;_0xf00b6c[_0x3cc8c5(0x24c)]('::')&&(_0xf00b6c=ValueUtil[_0x3cc8c5(0x18e)](_0x3eb8c9,..._0xf00b6c[_0x3cc8c5(0x19e)]('::','')[_0x3cc8c5(0x1f8)]('.'))),_0xf00b6c||(_0xf00b6c=''),_0x1caa64[_0x3cc8c5(0x199)]({'name':_0x2a8ef0,'operator':_0x4ce059,'value':_0xf00b6c});}),_0x392d4e[_0x438b57(0x2bf)][_0x438b57(0x257)][_0x438b57(0x274)][_0x438b57(0x18c)]=_0x1caa64;}});}}!0x0===_0x3b5756[_0x4c1c56(0x1c7)]&&!0x0===_0x9c8ce5&&(_0x4d35d7[_0x4c1c56(0x1ff)]={'header':_0x4d35d7['header'],'key':_0x4d35d7[_0x4c1c56(0x22d)],'width':_0x4d35d7['width']/0x6,'type':_0x4d35d7[_0x4c1c56(0x180)]}),_0xf96f35[_0x4c1c56(0x199)](_0x4d35d7);}if(!0x0!==this[_0x4c1c56(0x281)])return _0xf96f35;let _0x131f73=await MetaApi[_0x4c1c56(0x1f5)](this['menuId']),{template:_0x307b3f={}}=_0x131f73;if(!_0x307b3f[_0x4c1c56(0x1e7)])return _0xf96f35;let _0x10b1e5=_0x307b3f[_0x4c1c56(0x1e7)];return _0xf96f35=_0xf96f35[_0x4c1c56(0x1e0)](_0x297016=>('id'==_0x297016['name']||(_0x297016[_0x4c1c56(0x2a5)]=!_0x10b1e5[_0x4c1c56(0x24c)](_0x297016[_0x4c1c56(0x22d)]),_0x297016['rank']=_0x10b1e5['indexOf'](_0x297016['name']),-0x1==_0x297016['rank']&&(_0x297016['rank']=0x1869f)),_0x297016)),_0xf96f35['sort']((_0x4c2fb6,_0x1d35f9)=>_0x4c2fb6[_0x4c1c56(0x210)]-_0x1d35f9[_0x4c1c56(0x210)]),_0xf96f35;}static['setGridColumnSearchOption'](_0x1d5ac4,_0x3e9963){const _0x9c65e8=a0_0x102ceb;let _0x2c67c4=_0x1d5ac4['searchConfig'];return _0x2c67c4&&_0x2c67c4[_0x9c65e8(0x184)](_0x2dd7f0=>{const _0x30b4c2=_0x9c65e8;_0x30b4c2(0x2c3)==typeof _0x2dd7f0?_0x3e9963[_0x30b4c2(0x28c)](_0x1c0678=>_0x1c0678[_0x30b4c2(0x22d)]==_0x2dd7f0)[_0x30b4c2(0x184)](_0x1d8433=>{const _0x415656=_0x30b4c2;_0x1d8433[_0x415656(0x28c)]=_0x415656(0x1fa);}):'object'==typeof _0x2dd7f0&&_0x3e9963[_0x30b4c2(0x28c)](_0x439f98=>_0x439f98[_0x30b4c2(0x22d)]==_0x2dd7f0[_0x30b4c2(0x22d)])['forEach'](_0x18eac4=>{const _0x1699cf=_0x30b4c2;_0x18eac4[_0x1699cf(0x28c)]=_0x2dd7f0,_0x18eac4[_0x1699cf(0x28c)][_0x1699cf(0x180)]=_0x1699cf(0x1d7)===_0x18eac4[_0x1699cf(0x180)]?'datetime-local':_0x18eac4[_0x1699cf(0x180)];let _0x515e54=_0x18eac4['filter'][_0x1699cf(0x19f)];if(_0x515e54&&_0x515e54['startsWith'](_0x1699cf(0x1ba))){let _0x43980e=_0x515e54[_0x1699cf(0x1f8)](','),_0x1f3977=[];_0x43980e['forEach'](_0x46ad6f=>{const _0x18e6e1=_0x1699cf,_0x2e3e60=a0_0x26253f();_0x18e6e1(0x1ba)==_0x46ad6f?_0x1f3977['push'](_0x2e3e60[_0x18e6e1(0x273)](_0x18e6e1(0x1e1))):_0x46ad6f['includes']('-')?_0x1f3977[_0x18e6e1(0x199)](_0x2e3e60['subtract'](_0x46ad6f[_0x18e6e1(0x1f8)]('-')[0x1],'day')[_0x18e6e1(0x273)](_0x18e6e1(0x1e1))):_0x46ad6f[_0x18e6e1(0x24c)]('+')&&_0x1f3977[_0x18e6e1(0x199)](_0x2e3e60[_0x18e6e1(0x28a)](_0x46ad6f[_0x18e6e1(0x1f8)]('+')[0x1],'day')['format']('YYYY-MM-DD'));}),_0x18eac4[_0x1699cf(0x28c)][_0x1699cf(0x19f)]=0x1==_0x1f3977[_0x1699cf(0x1a6)]?_0x1f3977[0x0]:_0x1f3977;}});}),_0x3e9963;}static[a0_0x102ceb(0x1f0)](_0x382e40){const _0x438243=a0_0x102ceb;let _0x508429={'title':TermsUtil[_0x438243(0x225)](_0x382e40[_0x438243(0x2a9)][_0x438243(0x259)]),'help':_0x382e40['menuInfo']['help']||'','actions':[...MetaUiUtil[_0x438243(0x2c4)](_0x382e40)]};return _0x382e40[_0x438243(0x1c7)]&&(_0x508429[_0x438243(0x280)]={'name':_0x508429[_0x438243(0x259)],'data':_0x382e40[_0x438243(0x244)][_0x438243(0x1b7)](_0x382e40)}),_0x382e40[_0x438243(0x197)]&&(_0x508429[_0x438243(0x27e)]={'handler':_0x382e40[_0x438243(0x1ce)][_0x438243(0x1b7)](_0x382e40)}),_0x508429;}static['getContextButtons'](_0x594d6a){const _0x1fc508=a0_0x102ceb;let _0x4fd5cc=_0x594d6a[_0x1fc508(0x1fd)];return ValueUtil['isEmpty'](_0x4fd5cc)?[]:_0x4fd5cc[_0x1fc508(0x28c)](_0x491629=>_0x1fc508(0x244)!=_0x491629[_0x1fc508(0x22d)]&&_0x1fc508(0x1ce)!=_0x491629['name']&&'add'!=_0x491629['name'])[_0x1fc508(0x1e0)](_0x5ed67e=>{const _0x433702=_0x1fc508;let {name:_0x4d2a5d,label:_0x1a37b5,style:_0x29c00e,type:_0x15af6c=_0x433702(0x282),action:_0x5439fd,logic:_0xc78648}=_0x5ed67e;if(ValueUtil[_0x433702(0x24e)](_0x4d2a5d))return{'title':'-1'};ValueUtil['isEmpty'](_0x1a37b5)&&(_0x1a37b5=_0x4d2a5d),ValueUtil[_0x433702(0x24e)](_0x29c00e)&&(_0x29c00e=_0x4d2a5d),ValueUtil[_0x433702(0x24e)](_0x5439fd)&&(_0x5439fd=_0x4d2a5d);let _0x50a245=ValueUtil[_0x433702(0x1dc)](_0x29c00e)?CommonButtonStyles[_0x29c00e]||{'icon':_0x29c00e,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x433702(0x1af)](_0x1a37b5),'action':MetaUiUtil[_0x433702(0x1ad)](_0x594d6a,_0x15af6c,_0x5439fd,_0xc78648),..._0x50a245};})[_0x1fc508(0x28c)](_0x3d8799=>'-1'!=_0x3d8799[_0x1fc508(0x259)]);}static['getContainerButtons'](_0x529594){const _0x9fbfc2=a0_0x102ceb;let _0x1dacd1=_0x529594&&_0x529594[_0x9fbfc2(0x1fd)]?_0x529594[_0x9fbfc2(0x1fd)]:null;return _0x1dacd1?_0x1dacd1['filter'](_0x50fcc3=>'add'!=_0x50fcc3[_0x9fbfc2(0x22d)])[_0x9fbfc2(0x1e0)](_0x8d0152=>{const _0x7b9114=_0x9fbfc2;let {name:_0x46815c,label:_0x3f187e,style:_0x4dc620,type:_0x167fc4=_0x7b9114(0x282),action:_0x2311cb,logic:_0x48cdca}=_0x8d0152;ValueUtil['isEmpty'](_0x3f187e)&&(_0x3f187e=_0x46815c),ValueUtil[_0x7b9114(0x24e)](_0x4dc620)&&(_0x4dc620=_0x46815c),ValueUtil['isEmpty'](_0x2311cb)&&(_0x2311cb=_0x46815c);let _0x1b90ab=MetaUiUtil[_0x7b9114(0x299)](TermsUtil[_0x7b9114(0x1af)](_0x3f187e),_0x4dc620);return _0x1b90ab[_0x7b9114(0x267)]=MetaUiUtil[_0x7b9114(0x1ad)](_0x529594,_0x167fc4,_0x2311cb,_0x48cdca),_0x1b90ab;}):[];}static[a0_0x102ceb(0x299)](_0x45398f,_0x90901b){const _0x40f23e=a0_0x102ceb;let _0x30af33=CommonButtonStyles[_0x90901b]||{'icon':_0x90901b,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x57b43f=_0x40f23e(0x1bd)+_0x45398f+_0x40f23e(0x24d)+(_0x30af33[_0x40f23e(0x1ee)]?_0x30af33['icon']:'')+_0x40f23e(0x181)+(_0x30af33[_0x40f23e(0x17a)]['raised']?_0x40f23e(0x179):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x30af33[_0x40f23e(0x17a)]['outlined']?_0x40f23e(0x2b1):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x30af33['emphasis'][_0x40f23e(0x292)]?_0x40f23e(0x292):'')+_0x40f23e(0x232)+(_0x30af33[_0x40f23e(0x17a)]['danger']?_0x40f23e(0x263):'')+_0x40f23e(0x2b0);return UiUtil[_0x40f23e(0x23c)](_0x57b43f);}static[a0_0x102ceb(0x1ad)](_0x13e8ed,_0x58e0f6,_0x168bfe,_0x1f369e){const _0x1a8c6c=a0_0x102ceb;if(_0x1a8c6c(0x282)==_0x58e0f6){if(_0x13e8ed[_0x168bfe])return _0x13e8ed[_0x168bfe]['bind'](_0x13e8ed);}else{if(_0x1a8c6c(0x18b)==_0x58e0f6)return()=>MetaUiUtil[_0x1a8c6c(0x178)](_0x13e8ed,_0x1f369e);}return()=>{const _0x4924ab=_0x1a8c6c;UiUtil[_0x4924ab(0x297)](_0x4924ab(0x1a2),_0x4924ab(0x20f),_0x4924ab(0x2c5),'confirm');};}static async[a0_0x102ceb(0x1f3)](_0x3776da,_0x4cc71d,_0x25756d){const _0x20d77b=a0_0x102ceb;let _0x1ec1a5=ValueUtil[_0x20d77b(0x18e)](_0x4cc71d,_0x20d77b(0x1b2)),_0x1c7061=ValueUtil[_0x20d77b(0x18e)](_0x1ec1a5,_0x20d77b(0x180));if('form'===_0x1c7061)_0x1ec1a5[_0x20d77b(0x1b9)]=_0x20d77b(0x26c),_0x1ec1a5['location']=_0x20d77b(0x261),_0x1ec1a5[_0x20d77b(0x1b4)]='id',await MetaUiUtil[_0x20d77b(0x278)](_0x3776da,_0x1ec1a5,_0x25756d);else{if('pass_param'===_0x1c7061)MetaUiUtil['gristButtonPassParam'](_0x3776da,_0x1ec1a5,_0x25756d);else{if('page'===_0x1c7061){let _0x38ee66;_0x1ec1a5[_0x20d77b(0x224)]?(_0x38ee66={},Object[_0x20d77b(0x230)](_0x25756d)[_0x20d77b(0x28c)](_0x59969b=>Object[_0x20d77b(0x230)](_0x1ec1a5['param_field'])[_0x20d77b(0x24c)](_0x59969b))[_0x20d77b(0x1e0)](_0x34461c=>{const _0x19b986=_0x20d77b;Object[_0x19b986(0x230)](_0x1ec1a5[_0x19b986(0x224)])[_0x19b986(0x24c)](_0x34461c)&&('string'==typeof _0x25756d[_0x34461c]?_0x38ee66[_0x1ec1a5[_0x19b986(0x224)][_0x34461c]]=_0x25756d[_0x34461c]:_0x38ee66[_0x1ec1a5[_0x19b986(0x224)][_0x34461c]]={'id':_0x25756d[_0x34461c]['id']});})):_0x38ee66=_0x25756d,UiUtil['pageNavigate'](_0x1ec1a5['url'],[_0x38ee66]);}else _0x20d77b(0x2be)===_0x1c7061?await MetaUiUtil[_0x20d77b(0x278)](_0x3776da,_0x1ec1a5,_0x25756d):_0x20d77b(0x21e)===_0x1c7061?await MetaUiUtil[_0x20d77b(0x1be)](_0x3776da,_0x1ec1a5,_0x25756d):_0x20d77b(0x215)===_0x1c7061&&await MetaUiUtil['gristButtonValueReference'](_0x3776da,_0x1ec1a5,_0x25756d);}}}static async[a0_0x102ceb(0x178)](_0x1561f9,_0x458b40){const _0x24ad75=a0_0x102ceb;if(ValueUtil[_0x24ad75(0x24e)](_0x458b40))return;let _0x130841=_0x1561f9[_0x24ad75(0x1f6)],_0x48a69c=_0x1561f9[_0x24ad75(0x28f)],_0x263f8f=ValueUtil[_0x24ad75(0x18e)](_0x458b40,_0x24ad75(0x180)),_0x2a3169=ValueUtil[_0x24ad75(0x18e)](_0x458b40,_0x24ad75(0x206)),_0xbe9d87=_0x2a3169[_0x24ad75(0x28c)](_0x2b4de0=>_0x2b4de0['startsWith'](_0x24ad75(0x1f6)));if(ValueUtil[_0x24ad75(0x1dc)](_0xbe9d87)){if(!_0x130841)return void UiUtil[_0x24ad75(0x297)](_0x24ad75(0x239),_0x24ad75(0x2b2),'info','confirm');if(0x0==(_0x130841[_0x24ad75(0x23f)]?_0x130841[_0x24ad75(0x23f)][_0x24ad75(0x1ef)]:[])[_0x24ad75(0x1a6)])return void UiUtil[_0x24ad75(0x297)]('title.info',_0x24ad75(0x190),'info','confirm');if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x27c))||_0x2a3169['includes']('grist_selected')){let _0x41a8ea=_0x130841['selected'];if(ValueUtil[_0x24ad75(0x24e)](_0x41a8ea))return void UiUtil['showAlertPopup'](_0x24ad75(0x17c),_0x24ad75(0x1b0),_0x24ad75(0x2c5),_0x24ad75(0x177));if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x27c))&&_0x41a8ea[_0x24ad75(0x1a6)]>0x1)return void UiUtil[_0x24ad75(0x297)](_0x24ad75(0x239),_0x24ad75(0x204),_0x24ad75(0x2c5),'confirm');}}let _0xa09f69={};if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x28c))){if(!_0x48a69c)return void UiUtil[_0x24ad75(0x297)](_0x24ad75(0x239),_0x24ad75(0x17f),_0x24ad75(0x2c5),_0x24ad75(0x177));let _0x3678d3=_0x48a69c?await _0x48a69c[_0x24ad75(0x265)]():[];_0xa09f69[_0x24ad75(0x28c)]=_0x3678d3;}if(_0x2a3169[_0x24ad75(0x24c)](_0x24ad75(0x22c)))_0xa09f69[_0x24ad75(0x1f6)]=_0x130841[_0x24ad75(0x23f)][_0x24ad75(0x1ef)];else{if(_0x2a3169[_0x24ad75(0x24c)]('grist_one'))_0xa09f69[_0x24ad75(0x1f6)]=_0x130841[_0x24ad75(0x2ba)][0x0];else{if(_0x2a3169['includes'](_0x24ad75(0x25a)))_0xa09f69[_0x24ad75(0x1f6)]=_0x130841[_0x24ad75(0x2ba)];else{if(_0x2a3169['includes'](_0x24ad75(0x264))&&(_0xa09f69[_0x24ad75(0x1f6)]=ServiceUtil[_0x24ad75(0x21b)](_0x130841),!_0xa09f69[_0x24ad75(0x1f6)]))return;}}}if(_0x24ad75(0x29c)===_0x263f8f){let _0x4a7147,_0x3033e8=Array['isArray'](_0xa09f69[_0x24ad75(0x1f6)])?_0xa09f69[_0x24ad75(0x1f6)]:[_0xa09f69['grist']];_0x4a7147=_0x458b40[_0x24ad75(0x224)]?_0x3033e8[_0x24ad75(0x1e0)](_0xd233e4=>{const _0x17eb97=_0x24ad75;let _0x2c7a78={};return Object[_0x17eb97(0x230)](_0xd233e4)['filter'](_0x2f9d16=>Object[_0x17eb97(0x230)](_0x458b40[_0x17eb97(0x224)])[_0x17eb97(0x24c)](_0x2f9d16))['map'](_0x4b8e45=>{const _0x13a0a2=_0x17eb97;Object[_0x13a0a2(0x230)](_0x458b40[_0x13a0a2(0x224)])[_0x13a0a2(0x24c)](_0x4b8e45)&&('string'==typeof _0xd233e4[_0x4b8e45]?_0x2c7a78[_0x458b40[_0x13a0a2(0x224)][_0x4b8e45]]=_0xd233e4[_0x4b8e45]:_0x2c7a78[_0x458b40[_0x13a0a2(0x224)][_0x4b8e45]]={'id':_0xd233e4[_0x4b8e45]['id']});}),_0x2c7a78;}):_0x3033e8,UiUtil[_0x24ad75(0x289)](_0x458b40[_0x24ad75(0x240)],_0x4a7147);}else{if(_0x24ad75(0x2be)===_0x263f8f){let _0x202bc5={..._0xa09f69[_0x24ad75(0x1f6)]?_0xa09f69[_0x24ad75(0x1f6)]:{},..._0xa09f69[_0x24ad75(0x28c)]?_0xa09f69[_0x24ad75(0x28c)]:{}};await MetaUiUtil[_0x24ad75(0x278)](_0x1561f9,_0x458b40,_0x202bc5);}else _0x24ad75(0x21e)===_0x263f8f&&await MetaUiUtil[_0x24ad75(0x1be)](_0x1561f9,_0x458b40,_0xa09f69);}}static[a0_0x102ceb(0x1aa)](_0x137db1,_0x21722b,_0x365db5){const _0x520f24=a0_0x102ceb;let _0x1b37d1=_0x21722b[_0x520f24(0x1a0)],_0x15b5d1={},_0x4be794=_0x137db1[_0x520f24(0x20a)][_0x520f24(0x290)](),_0x26de76=_0x137db1;_0x15b5d1=_0x4be794['startsWith'](_0x520f24(0x22a))?{'detail':{..._0x1b37d1}}:_0x4be794[_0x520f24(0x2c2)](_0x520f24(0x284))?_0x137db1['detailElement']['tagName'][_0x520f24(0x290)]()[_0x520f24(0x2c2)](_0x520f24(0x2aa))?{'detail':{..._0x1b37d1}}:{'self':{..._0x1b37d1}}:_0x1b37d1,Object[_0x520f24(0x230)](_0x15b5d1)['forEach'](_0x38c768=>{const _0x298bcd=_0x520f24;_0x298bcd(0x1e7)==_0x38c768?_0x26de76=_0x137db1[_0x298bcd(0x1ae)][_0x298bcd(0x1c3)]:_0x298bcd(0x1fb)==_0x38c768?_0x26de76=_0x137db1[_0x298bcd(0x1ae)]?_0x137db1[_0x298bcd(0x1ae)][_0x298bcd(0x203)]:_0x137db1[_0x298bcd(0x203)]:'self'==_0x38c768&&(_0x26de76=_0x137db1),Object['keys'](_0x15b5d1[_0x38c768])[_0x298bcd(0x184)](_0x5dbd13=>{const _0x52446d=_0x298bcd;let _0x450c5d=_0x26de76[_0x52446d(0x1e9)][_0x52446d(0x1ab)]('#'+_0x5dbd13);_0x365db5['id']&&_0x450c5d[_0x52446d(0x234)](_0x365db5['id']);let _0x2d0f7b=_0x15b5d1[_0x38c768][_0x5dbd13];Object['keys'](_0x2d0f7b)[_0x52446d(0x184)](_0x4c0fb0=>{let _0x1021a9=_0x2d0f7b[_0x4c0fb0],_0x57f214='*'===_0x1021a9?_0x365db5:_0x365db5[_0x1021a9];_0x450c5d[_0x4c0fb0]=_0x57f214;});});});}static async[a0_0x102ceb(0x278)](_0x39ed1a,_0x3b141f,_0x4c968a){const _0x4d0546=a0_0x102ceb;let _0x1680a4=TermsUtil[_0x4d0546(0x225)](_0x3b141f[_0x4d0546(0x259)]);ValueUtil[_0x4d0546(0x1dc)](_0x3b141f[_0x4d0546(0x1fe)])&&(_0x1680a4=_0x1680a4+'('+ValueUtil['getParams'](_0x4c968a,..._0x3b141f[_0x4d0546(0x1fe)]['split']('.'))+')');let _0x379152=_0x3b141f[_0x4d0546(0x249)]&&_0x4d0546(0x2c3)==typeof _0x3b141f['after']&&_0x4d0546(0x1d0)===_0x3b141f[_0x4d0546(0x249)]&&_0x39ed1a&&_0x39ed1a[_0x4d0546(0x1d0)]?_0x39ed1a[_0x4d0546(0x1d0)][_0x4d0546(0x1b7)](_0x39ed1a):void 0x0;UiUtil['openDynamicPopup'](_0x1680a4,_0x3b141f,_0x4c968a,_0x379152);}static async['commonButtonCallScenario'](_0x4ed299,_0x1e975a,_0x14ad29){const _0x494099=a0_0x102ceb;let _0x2caf2c=await ServiceUtil[_0x494099(0x24b)](_0x494099(0x2b5),_0x1e975a['name'],_0x14ad29);if(!_0x2caf2c[_0x494099(0x2ab)]&&!ValueUtil[_0x494099(0x24e)](_0x1e975a[_0x494099(0x249)])&&_0x1e975a[_0x494099(0x249)]){if('fetch'!==_0x1e975a[_0x494099(0x249)]){if(_0x494099(0x1d2)==typeof _0x1e975a[_0x494099(0x249)]){let _0x3a0422=_0x1e975a['after'],_0x5bfb59=ValueUtil[_0x494099(0x18e)](_0x2caf2c['data']['runScenario'][_0x494099(0x23f)],..._0x3a0422[_0x494099(0x1f1)][_0x494099(0x1f8)]('.'));if(0x0==Array['isArray'](_0x5bfb59)&&(_0x5bfb59=[_0x5bfb59]),_0x494099(0x2c1)===_0x3a0422[_0x494099(0x180)])_0x3a0422['tagname']=_0x494099(0x26c),_0x3a0422[_0x494099(0x276)]=_0x494099(0x261),_0x3a0422[_0x494099(0x1b4)]='id',_0x5bfb59=_0x5bfb59[0x0],await MetaUiUtil[_0x494099(0x278)](_0x4ed299,_0x3a0422,_0x5bfb59);else{if(_0x494099(0x29c)===_0x3a0422[_0x494099(0x180)]){let _0x913ab0,_0x42b264=_0x5bfb59;_0x913ab0=_0x3a0422['param_field']?_0x42b264[_0x494099(0x1e0)](_0x372c41=>{const _0x4738fa=_0x494099;let _0x51932a={};return Object[_0x4738fa(0x230)](_0x372c41)[_0x4738fa(0x28c)](_0x2f6288=>Object[_0x4738fa(0x230)](_0x3a0422[_0x4738fa(0x224)])[_0x4738fa(0x24c)](_0x2f6288))[_0x4738fa(0x1e0)](_0x3de9d2=>{const _0x1b7019=_0x4738fa;Object[_0x1b7019(0x230)](_0x3a0422[_0x1b7019(0x224)])[_0x1b7019(0x24c)](_0x3de9d2)&&('string'==typeof _0x372c41[_0x3de9d2]?_0x51932a[_0x3a0422['param_field'][_0x3de9d2]]=_0x372c41[_0x3de9d2]:_0x51932a[_0x3a0422['param_field'][_0x3de9d2]]={'id':_0x372c41[_0x3de9d2]['id']});}),_0x51932a;}):_0x42b264,UiUtil[_0x494099(0x289)](_0x3a0422[_0x494099(0x240)],_0x913ab0);}else _0x494099(0x1ac)===_0x3a0422[_0x494099(0x180)]?(_0x5bfb59=_0x5bfb59[0x0],MetaUiUtil['gristButtonPassParam'](_0x4ed299,_0x3a0422,_0x5bfb59)):_0x494099(0x2be)===_0x3a0422['type']?(_0x5bfb59=_0x5bfb59[0x0],await MetaUiUtil[_0x494099(0x278)](_0x4ed299,_0x3a0422,_0x5bfb59)):'value_reference'===_0x3a0422[_0x494099(0x180)]&&(_0x5bfb59=_0x5bfb59[0x0],await MetaUiUtil['gristButtonValueReference'](_0x4ed299,_0x3a0422,_0x5bfb59));}}}else _0x4ed299[_0x494099(0x1d0)]();}}static async[a0_0x102ceb(0x237)](_0x300059,_0x23744e,_0x2d7f57){const _0xff4266=a0_0x102ceb;for(let _0x264309=0x0;_0x264309<_0x23744e[_0xff4266(0x1f4)][_0xff4266(0x1a6)];_0x264309++){let _0x393f1f=_0x23744e[_0xff4266(0x1f4)][_0x264309];!0x0===ValueUtil[_0xff4266(0x1d6)](_0x393f1f,_0x2d7f57,Object[_0xff4266(0x230)](_0x393f1f)[_0xff4266(0x28c)](_0x7e0af1=>'logic'!=_0x7e0af1))&&await MetaUiUtil[_0xff4266(0x1f3)](_0x300059,_0x393f1f,_0x2d7f57);}}static[a0_0x102ceb(0x1eb)](_0x4230c6,_0x343959){return{'type':_0x4230c6,'name':_0x343959,'sortable':!0x1,'hidden':!0x0};}static[a0_0x102ceb(0x212)](_0x3438c5,_0x2b97d6,_0x559622,_0x2b41b8,_0x41abe5,_0xf8ee6c){let _0x4b36a0=TermsUtil['tLabel'](_0x2b97d6);return{'type':_0x3438c5,'name':_0x2b97d6,'header':_0x4b36a0,'record':{'align':_0x559622,'editable':_0x2b41b8},'sortable':_0x41abe5,'width':_0xf8ee6c,'imex':{'width':Math['floor'](_0xf8ee6c/0x6),'header':_0x4b36a0,'type':_0x3438c5,'key':_0x2b97d6}};}static[a0_0x102ceb(0x1c0)](_0x326c76,_0x2de1f8,_0x3050d8,_0x125691,_0x4a97aa,_0x395a89,_0x4b4146){const _0x356023=a0_0x102ceb;let _0x53dc13=TermsUtil['tLabel'](_0x3050d8);return{'type':_0x326c76,'name':_0x2de1f8,'header':_0x53dc13,'record':{'align':_0x125691,'editable':_0x4a97aa},'sortable':_0x395a89,'width':_0x4b4146,'imex':{'width':Math[_0x356023(0x1cd)](_0x4b4146/0x6),'header':_0x53dc13,'type':_0x326c76,'key':_0x2de1f8}};}static['getGristColumnConfig3'](_0x442ad3,_0x218f1e,_0x43ec76,_0x213653,_0x7bc14f,_0x23e3a1,_0x53182e,_0x1999d0){const _0x363e2c=a0_0x102ceb;let _0x18dc29=TermsUtil['tLabel'](_0x43ec76);return{'type':_0x442ad3,'name':_0x218f1e,'header':_0x18dc29,'record':{'align':_0x213653,'editable':_0x7bc14f,'mandatory':_0x53182e},'sortable':_0x23e3a1,'width':_0x1999d0,'imex':{'width':Math[_0x363e2c(0x1cd)](_0x1999d0/0x6),'header':_0x18dc29,'type':_0x442ad3,'key':_0x218f1e}};}static['getGristSelectorColumnConfig'](_0x272e1e,_0x85bbb0,_0x588472,_0x2ac696,_0x3e370b,_0x1034b3,_0x4d7c36){const _0x237442=a0_0x102ceb;let _0x59c129=TermsUtil[_0x237442(0x1a9)](_0x85bbb0);return{'type':_0x237442(0x1b1),'name':_0x272e1e,'header':_0x59c129,'record':{'align':_0x588472,'editable':!0x0,'mandatory':_0x1034b3,'options':_0x4d7c36},'sortable':_0x2ac696,'width':_0x3e370b,'imex':{'width':Math[_0x237442(0x1cd)](_0x3e370b/0x6),'header':_0x59c129,'type':'string','key':_0x272e1e}};}static async[a0_0x102ceb(0x1e2)](_0x3aa990,_0x5eff2a,_0x14fb88,_0x4a0b67,_0x3eedcb,_0x4f4ab2,_0x4659b3){const _0x249209=a0_0x102ceb;let _0x6911a4=await ServiceUtil[_0x249209(0x298)](_0x4659b3);return MetaUiUtil[_0x249209(0x174)](_0x3aa990,_0x5eff2a,_0x14fb88,_0x4a0b67,_0x3eedcb,_0x4f4ab2,_0x6911a4);}static['getGristSearchColumnConfig'](_0x4db899,_0x40ed31,_0x47fb6f,_0x1445ae,_0x23fe66){let _0x376996=TermsUtil['tLabel'](_0x47fb6f),_0x2cd2ad={'name':_0x4db899,'type':_0x40ed31,'label':_0x376996,'operator':_0x1445ae,'imex':{'width':0x10,'header':_0x376996,'type':_0x40ed31,'key':_0x4db899}};return _0x23fe66&&(_0x2cd2ad['options']=_0x23fe66),_0x2cd2ad;}static async[a0_0x102ceb(0x2b8)](_0x207ce3,_0xa241ef,_0x3b3714,_0x4295f4,_0x7d1574){const _0x287ca7=a0_0x102ceb;let _0x24a1d8=await ServiceUtil[_0x287ca7(0x298)](_0x7d1574);return MetaUiUtil[_0x287ca7(0x1a4)](_0x207ce3,_0xa241ef,_0x3b3714,_0x4295f4,_0x24a1d8);}static[a0_0x102ceb(0x1d1)](){return[css`
|
|
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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static[
|
|
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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=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_0x102ceb=a0_0x2594;(function(_0x490c35,_0x354677){const _0x122663=a0_0x
|
|
|
492
492
|
overflow-x: overlay;
|
|
493
493
|
background-color: var(--main-section-background-color);
|
|
494
494
|
}
|
|
495
|
-
`];}static['isButtonExist'](
|
|
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['getBasicFormHtml'](
|
|
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[
|
|
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['getButtonContainer'](
|
|
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>`;}}
|