@things-factory/meta-ui 6.0.132 → 6.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/component/filter/filter-form-resource-code-select.js +9 -9
- package/client/component/filter/filter-grist-resource-code-select.js +10 -10
- package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
- package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
- package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +5 -5
- package/client/pages/activity/meta-activity-viewer-element.js +2 -2
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +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 +9 -9
- 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 +5 -5
- 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
- package/translations/ja.json +75 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x489668=a0_0x6f53;(function(_0xfe97cc,_0x1253d8){const _0x1e8389=a0_0x6f53,_0x3e868e=_0xfe97cc();while(!![]){try{const _0x4d2581=-parseInt(_0x1e8389(0x19d))/0x1*(-parseInt(_0x1e8389(0x141))/0x2)+-parseInt(_0x1e8389(0x1c5))/0x3*(parseInt(_0x1e8389(0x207))/0x4)+-parseInt(_0x1e8389(0x147))/0x5*(-parseInt(_0x1e8389(0x1aa))/0x6)+-parseInt(_0x1e8389(0x104))/0x7+-parseInt(_0x1e8389(0x227))/0x8+-parseInt(_0x1e8389(0x110))/0x9*(parseInt(_0x1e8389(0x152))/0xa)+parseInt(_0x1e8389(0x18e))/0xb*(parseInt(_0x1e8389(0x1f4))/0xc);if(_0x4d2581===_0x1253d8)break;else _0x3e868e['push'](_0x3e868e['shift']());}catch(_0x53eab1){_0x3e868e['push'](_0x3e868e['shift']());}}}(a0_0x1b28,0x733fa));import a0_0x5b9c31 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x2b4fef from'moment-timezone';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';function a0_0x1b28(){const _0x28bd2b=['pass_field','hidden','grid-template-columns:','getGristSearchColumnConfig','currentRouting','find','exportable','editor','after_set_fields','value_is_not_exist','getTabDetailHtml','filters','getButtonContainer','openDynamicPopup','useButtonImport','open','findMenuMeta','tText','useButtonAdd','is_activity','history_json','subtract','getCodeSelectorData','grist_one','formConfigSet','offsetHeight','buttonConfig','handlers','currentTabKey','master','isGridButtonExist','forEach','getBasicGristPageProperties','text.button_bind_func_is_not_exist','row','sorters','routing','62506rByTgD','text.grid_is_not_exist','datetime-local','isMobileEnv','desc','LIST','5AkkGOo','\x0aid\x0aname\x0adescription','length','GRID','multiple','confirm','currentTarget','form','setParentId','findIndex','createCustomElement','3670hqtOPW','parent_field','pass_param','rank','object','display:none','getCodeByEntity','gridMobileMode','main_filter_form','filterForm','top-down','useButtonExport','getMasterDetailLeftRightGristStyle','title.info','getGristColumnConfig2','self','YYYY-MM-DD','top_bottom','getGridDetailHtml','getGristColumnConfig','tagname','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','importable','data','popup','getContainerButtons','getGridOptionSet','meta-tab-element','getGristSearchCodeColumnConfig','code','default_form_column','getMasterDetailHtml','getMasterDetailTopDownGristStyle','pages/hgistory/history-copy-list-popup.js','gqlInfo','text.there_is_no_selected_items','param_field','left_right','template','text.please_select_only_one','list','toLowerCase','defaultPageConfig','basic','left','includeMainList','dense','records','getGristPaginationCustomConfig','masterElement','id,template','getBasicFormHtmlOnOption','\x22\x20name=\x22','use_filter_form','personal-column-selector','commonButtonOpenPopup','\x22\x20route_name=\x22','isArray','gutter','mainFilterForm','220dDBLoN','<meta-tab-element\x20id=\x22','getObjctColumnSelectFields','getGristSelectorColumnConfig','title_detail','pages','basicArgs','display','detailElement','searchFieldValues','location','master_detail_type','configGrist','getGridViewOption','name','15ZCKoQC','value_reference','getGridListSet','parseFormConfigSet','pages/hgistory/history-json-list-popup.js','getBasicMasterDetailGristStyle','includes','resource-object','dispatchEvent','selectable','gristButtonHandler','help','text.nothing_selected','2719068UmbojM','\x201fr\x202fr','isPage','getGristTabHtml','metaUI','select','text.grid_data_is_empty','getContextButtons','header','data_history_list','use_row_checker','add','value','stringify','args','getCodeByScenario','getBasicGristTabStyles','gridConfig','day','getBasicGristHtml','gristButtonValueReference','grid-template-rows:','shadowRoot','option','height:auto;grid-template-columns:','mutation','gridMode','60cStKbb','grist','getBasicTabHtml','meta-tab-detail-','menu','nextElementSibling','parent_id','format','\x20is_detail=true\x20style=\x22flex:1;\x22></','history_copy','getGristColumnConfig3','fetch','getButtonActionHandler','title.warning','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','runScenario','findOne','rootElement','getGristGuttersConfig','tabElements','editable','menuInfo','values','getCustomButtonContainerStyles','title','createMasterElement','getBasicFormHtmlNoOption','createDetailElement','gridColumnConfig','setGridColumnSearchOption','scenario','find_one_func','selected','useFilterForm','filter','getBasicTabStyles','outlined','tMenu','bind','icon','indexOf','export','keys','querySelector','getGridColumnPersonalizeButton','split','today','616332DwgihO','imex','getBasicFormHtml','width','relation','pageNavigate','button','\x20is_detail=true></','model','page','callScenario','etcConfig','getGristEmphasizedStyles','large','recordCreationCallback','param','query','compareObjectValues','ox-grist','49648SuXEQd','board','header_txt','runnerPermission','grid','fetchHandler','tagName','getGridColumnSet','false','searchFields','map','getGristCodeSelectorColumnConfig','gristConfigSet','push','info','getGristSelectableConfig','openPopupByElement','tTitle','getGristPersonalizedStyles','sequence','invalid\x20license\x20key','detail','activityDataSet','startsWith','is_readonly=true','useMasterFilterForm','isButtonExist','isNotEmpty','getBasicGristStyles','record','tError','url','1087952kDaNOQ','errors','label','string','grist_all','\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','parseGridConfigSet','menuId','50%\x2050%','emphasis','floor','showAlertPopup','gristButtonPassParam','meta-master-detail-','isEmpty','formRenderConfig','master_detail_size','infinityPage','tabRenderConfig','grist_selected','CARD','logic','tButton','replace','pages/meta-form-element.js','datetime','\x27\x20route_name=\x27','notify','parse','referenceField','resource-code-selector','tLabel','htmlToElement','gridViewOptions','column_list','options','getGridRowSet','getGridButtonSet','column','type','getBasicTabContent','parentElement','danger','getParams','__dirtyfields__','5584831luzRUY','searchConfig','skip_fields','customButtonHandler','getGristHiddenColumnConfig','route_name','unlimited','after','search','master_detail_element','text.search_form_is_not_exist','history-json-list-popup','7236pEmYIY','meta-grist-tab-','commonButtonCallScenario','config','is_activity=true','is_readonly','onclick','codes','\x27\x20style=\x22flex:1;\x22\x20','meta-form-element','dec','findMenuMetaByRouting'];a0_0x1b28=function(){return _0x28bd2b;};return a0_0x1b28();}import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';function a0_0x6f53(_0x46f953,_0x4b1425){const _0x1b287a=a0_0x1b28();return a0_0x6f53=function(_0x6f53de,_0x4a6333){_0x6f53de=_0x6f53de-0xe9;let _0x7d590=_0x1b287a[_0x6f53de];return _0x7d590;},a0_0x6f53(_0x46f953,_0x4b1425);}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_0x489668(0x12c)](_0x3ab2c5){const _0x19af91=a0_0x489668;let _0x269c02=await ServiceUtil[_0x19af91(0x1d5)](_0x19af91(0x1c9),_0x3ab2c5,_0x19af91(0x178));if(!_0x269c02)throw new Error(TermsUtil[_0x19af91(0x12d)](_0x19af91(0x125),{'value':TermsUtil['tMenu']('menu')+'\x20'+_0x3ab2c5}));if(!_0x269c02[_0x19af91(0x178)])throw new Error(TermsUtil[_0x19af91(0x12d)](_0x19af91(0x125),{'value':TermsUtil['tMenu'](_0x19af91(0x1c9))+'\x20'+TermsUtil['tLabel'](_0x19af91(0x1fc))}));return this[_0x19af91(0x22e)]=_0x3ab2c5,JSON[_0x19af91(0xf3)](_0x269c02[_0x19af91(0x178)]);}static async[a0_0x489668(0x11b)](_0x3d81e5,_0x4a0bc7){const _0x3d1c1f=a0_0x489668;if((await client[_0x3d1c1f(0x204)]({'query':a0_0x5b9c31`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
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`
|
|
5
|
+
`,'variables':{'id':null}}))['errors'])return;let _0x52b2f8,_0x4448e7=[{'name':'routing','operator':'eq','value':_0x4a0bc7}],_0x76c05b=await ServiceUtil['searchByPagination']('menus',_0x4448e7,null,0x0,0x0,_0x3d1c1f(0x184));if(_0x76c05b&&_0x76c05b['records']&&0x0!=_0x76c05b[_0x3d1c1f(0x181)][_0x3d1c1f(0x149)]?(_0x52b2f8=_0x76c05b['records'][0x0],!_0x52b2f8[_0x3d1c1f(0x178)]&&_0x3d81e5['defaultPageConfig']&&(_0x52b2f8['template']=_0x3d81e5[_0x3d1c1f(0x17c)])):_0x3d81e5[_0x3d1c1f(0x17c)]&&(_0x52b2f8={'id':_0x4a0bc7,'template':_0x3d81e5['defaultPageConfig']}),!_0x52b2f8)throw new Error(TermsUtil[_0x3d1c1f(0x12d)](_0x3d1c1f(0x125),{'value':TermsUtil[_0x3d1c1f(0x1ea)](_0x3d1c1f(0x1c9))+'\x20'+_0x4a0bc7}));if(!_0x52b2f8['template'])throw new Error(TermsUtil[_0x3d1c1f(0x12d)](_0x3d1c1f(0x125),{'value':TermsUtil[_0x3d1c1f(0x1ea)](_0x3d1c1f(0x1c9))+'\x20'+TermsUtil[_0x3d1c1f(0xf6)](_0x3d1c1f(0x1fc))}));return this[_0x3d1c1f(0x22e)]=_0x52b2f8['id'],JSON[_0x3d1c1f(0xf3)](MetaCrypto[_0x3d1c1f(0x11a)](_0x52b2f8[_0x3d1c1f(0x178)]));}static[a0_0x489668(0x13c)](){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':_0x24094a=>Boolean(_0x24094a)},'is_popup':{'type':Boolean,'converter':_0x48ddf7=>Boolean(_0x48ddf7)},'is_activity':{'type':Boolean,'converter':_0x28b86a=>Boolean(_0x28b86a)},'is_readonly':{'type':Boolean,'converter':_0x2c5cdb=>Boolean(_0x2c5cdb)}};}static async['getMenuMeta'](_0x4b2a58){const _0xa90a10=a0_0x489668;if(0x0==store['getState']()[_0xa90a10(0x1ae)][_0xa90a10(0x20a)])return void document[_0xa90a10(0x1a5)](new CustomEvent(_0xa90a10(0xf2),{'detail':{'level':'error','message':TermsUtil[_0xa90a10(0x225)](_0xa90a10(0x21b))}}));let _0x1333a3=_0x4b2a58[_0xa90a10(0x1ac)]?UiUtil[_0xa90a10(0x120)]():_0x4b2a58[_0xa90a10(0x109)];_0x4b2a58['currentRouting']=_0x1333a3;let _0x14f44d=await MetaUiUtil[_0xa90a10(0x11b)](_0x4b2a58,_0x1333a3);return!0x0===_0x4b2a58[_0xa90a10(0x12f)]&&(_0x14f44d['grid']['option'][_0xa90a10(0x1b4)]=!0x1,_0x14f44d[_0xa90a10(0x20b)][_0xa90a10(0x1c1)][_0xa90a10(0x193)]=_0xa90a10(0x10a),_0x14f44d[_0xa90a10(0x20b)][_0xa90a10(0x187)]=!0x1,_0x14f44d[_0xa90a10(0x20b)][_0xa90a10(0x1fa)]=[],_0x14f44d[_0xa90a10(0x1fa)]=_0x14f44d[_0xa90a10(0x1fa)]['filter'](_0x2feefe=>_0xa90a10(0x1b5)==_0x2feefe[_0xa90a10(0x19c)])),!0x0===_0x4b2a58[_0xa90a10(0x115)]&&(_0x14f44d['grid_column']['forEach'](_0x354ab5=>{const _0x548ed2=_0xa90a10;_0x354ab5[_0x548ed2(0x1d9)]=!0x1;}),_0x14f44d[_0xa90a10(0x1fa)]=_0x14f44d['button'][_0xa90a10(0x1e7)](_0x343c2f=>'add'!=_0x343c2f[_0xa90a10(0x19c)])),!0x1===_0x4b2a58['use_filter_form']&&(_0x14f44d[_0xa90a10(0x20b)][_0xa90a10(0x187)]=!0x1),_0x14f44d;}static[a0_0x489668(0x182)](..._0x27dc3c){return{'pages':_0x27dc3c};}static['getGristGuttersConfig'](_0x5c9e88,_0x3e0ea7){const _0x59b803=a0_0x489668;let _0x2a6dab=[{'type':_0x59b803(0x18c),'gutterName':'dirty'},{'type':_0x59b803(0x18c),'gutterName':_0x59b803(0x21a)}];return _0x5c9e88&&_0x2a6dab[_0x59b803(0x214)]({'type':_0x59b803(0x18c),'gutterName':'row-selector','multiple':_0x3e0ea7}),_0x2a6dab;}static[a0_0x489668(0x216)](_0x4be67c){return{'selectable':{'multiple':_0x4be67c}};}static async[a0_0x489668(0x22d)](_0x39e1d9){const _0x17c1ac=a0_0x489668;_0x39e1d9[_0x17c1ac(0x174)]||(_0x39e1d9['gqlInfo']={}),_0x39e1d9[_0x17c1ac(0x174)][_0x17c1ac(0x204)]||(_0x39e1d9[_0x17c1ac(0x174)][_0x17c1ac(0x204)]={}),_0x39e1d9[_0x17c1ac(0x174)]['query']['after_set_fields']||(_0x39e1d9[_0x17c1ac(0x174)][_0x17c1ac(0x204)][_0x17c1ac(0x124)]={}),_0x39e1d9[_0x17c1ac(0x174)][_0x17c1ac(0x1c3)]||(_0x39e1d9[_0x17c1ac(0x174)]['mutation']={}),_0x39e1d9['gqlInfo']['mutation']['multiple']||(_0x39e1d9['gqlInfo'][_0x17c1ac(0x1c3)][_0x17c1ac(0x14b)]={}),_0x39e1d9[_0x17c1ac(0x174)][_0x17c1ac(0x1c3)][_0x17c1ac(0x14b)][_0x17c1ac(0x106)]||(_0x39e1d9[_0x17c1ac(0x174)][_0x17c1ac(0x1c3)][_0x17c1ac(0x14b)][_0x17c1ac(0x106)]=[]);let _0x5ad02f=MetaUiUtil[_0x17c1ac(0x16c)](_0x39e1d9),_0x21b5e3=MetaUiUtil[_0x17c1ac(0x19f)](_0x39e1d9),_0x1bd87=MetaUiUtil[_0x17c1ac(0xfb)](_0x39e1d9),_0x10fbf7=MetaUiUtil[_0x17c1ac(0xfc)](_0x39e1d9),_0x41bba9=await MetaUiUtil[_0x17c1ac(0x20e)](_0x39e1d9);_0x41bba9[_0x17c1ac(0x1e7)](_0x1dfbd3=>[_0x17c1ac(0x1a4),_0x17c1ac(0x156)][_0x17c1ac(0x1a3)](_0x1dfbd3['type']))[_0x17c1ac(0x13b)](_0x188933=>{const _0x441c30=_0x17c1ac;_0x39e1d9[_0x441c30(0x105)][_0x441c30(0x1e7)](_0x40467e=>_0x40467e[_0x441c30(0x19c)]==_0x188933['name'])[_0x441c30(0x13b)](_0x41abf2=>{const _0x537c45=_0x441c30,_0x1294dc=_0x188933[_0x537c45(0x224)]['options'],_0x501885=_0x1294dc[_0x537c45(0xf4)]?_0x1294dc[_0x537c45(0xf4)]:_0x188933[_0x537c45(0x19c)]+'Id',_0xfb0b74=_0x39e1d9[_0x537c45(0x105)][_0x537c45(0x150)](_0x14a7e1=>_0x14a7e1[_0x537c45(0x19c)]==_0x188933[_0x537c45(0x19c)]);_0x41bba9[_0x537c45(0x214)]({'type':_0x537c45(0x1a4),'header':_0x188933[_0x537c45(0x1b2)],'name':_0x501885,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x1294dc}}),_0x39e1d9[_0x537c45(0x174)][_0x537c45(0x204)][_0x537c45(0x124)][_0x501885]='x',_0x39e1d9[_0x537c45(0x174)][_0x537c45(0x1c3)][_0x537c45(0x14b)][_0x537c45(0x106)][_0x537c45(0x214)](_0x501885),_0x39e1d9[_0x537c45(0x105)][_0xfb0b74][_0x537c45(0x19c)]=_0x501885,_0x39e1d9['searchConfig'][_0xfb0b74]['type']=_0x537c45(0x1a4);});});let _0x7d7e90=MetaUiUtil[_0x17c1ac(0x1d7)](_0x5ad02f[_0x17c1ac(0x1b4)],_0x1bd87[_0x17c1ac(0x1a6)][_0x17c1ac(0x14b)]);return 0x1==_0x39e1d9[_0x17c1ac(0x1e6)]&&(_0x41bba9=MetaUiUtil[_0x17c1ac(0x1e2)](_0x39e1d9,_0x41bba9)),{'list':_0x21b5e3,'pagination':_0x5ad02f[_0x17c1ac(0x193)],'sorters':_0x5ad02f[_0x17c1ac(0x13f)],'rows':_0x1bd87,'columns':[..._0x7d7e90,..._0x10fbf7,..._0x41bba9]};}static async[a0_0x489668(0x1a0)](_0xfb076d){const _0x124fb2=a0_0x489668;let _0x4694a8=_0xfb076d['formColumnConfig'],_0x1d923b=[];for(let _0x5127a3=0x0;_0x5127a3<_0x4694a8['length'];_0x5127a3++){let {type:_0x234068='string',name:_0x18a1bc,header:_0x1afb1b,hidden:_0x9ea472=!0x1,editable:_0xdd2298=!0x0,mandatory:_0x3fba71=!0x1,align:_0x11e942=_0x124fb2(0x17e),select_opt:_0x30ee88,object_opt:_0x1b6c2f}=_0x4694a8[_0x5127a3],_0x1742b7={'type':_0x234068,'name':_0x18a1bc,'header_txt':ValueUtil['isEmpty'](_0x1afb1b)?TermsUtil[_0x124fb2(0xf6)](_0x18a1bc):TermsUtil[_0x124fb2(0xf6)](_0x1afb1b),'header':{'renderer':function(_0x3ebf00){const _0x27787a=_0x124fb2;return _0x3ebf00[_0x27787a(0x209)];}},'hidden':_0x9ea472,'record':{'editable':_0xdd2298,'mandatory':_0x3fba71,'align':_0x11e942,'classifier':function(){},'renderer':getRenderer(_0x234068)}};_0xdd2298&&(_0x1742b7[_0x124fb2(0x224)][_0x124fb2(0x123)]=getEditor(_0x234068)),_0x124fb2(0x1af)===_0x234068&&ValueUtil['isNotEmpty'](_0x30ee88)?Array['isArray'](_0x30ee88)?_0x1742b7[_0x124fb2(0x224)][_0x124fb2(0xfa)]=_0x30ee88:_0x124fb2(0x16f)===_0x30ee88[_0x124fb2(0xfe)]?_0x1742b7['record'][_0x124fb2(0xfa)]=await ServiceUtil[_0x124fb2(0x132)](_0x30ee88[_0x124fb2(0x1db)]?_0x30ee88['values']:_0x30ee88[_0x124fb2(0x19c)]):'scenario'===_0x30ee88['type']?_0x1742b7[_0x124fb2(0x224)][_0x124fb2(0xfa)]=await ServiceUtil['getCodeByScenario'](_0x30ee88[_0x124fb2(0x19c)],_0x30ee88['args']):'entity'===_0x30ee88['type']&&(_0x1742b7[_0x124fb2(0x224)]['options']=await ServiceUtil[_0x124fb2(0x158)](_0x30ee88[_0x124fb2(0x1b8)])):_0x124fb2(0x156)!==_0x234068&&_0x124fb2(0x1a4)!==_0x234068||!ValueUtil[_0x124fb2(0x222)](_0x1b6c2f)?_0x124fb2(0xf5)===_0x234068&&ValueUtil[_0x124fb2(0x222)](_0x1b6c2f)&&(_0x1742b7[_0x124fb2(0x224)]['options']=_0x1b6c2f,_0x1b6c2f['dispField']&&(_0x1742b7[_0x124fb2(0x224)][_0x124fb2(0xfa)]['codes']=await ServiceUtil[_0x124fb2(0x158)](_0x1b6c2f))):(_0x1b6c2f['select']&&_0x1b6c2f[_0x124fb2(0x1af)]['forEach'](_0x535328=>{const _0x333bf5=_0x124fb2;_0x535328[_0x333bf5(0x1b2)]||(_0x535328[_0x333bf5(0x1b2)]=_0x535328[_0x333bf5(0x19c)]),_0x535328[_0x333bf5(0x1b2)]=TermsUtil[_0x333bf5(0xf6)](_0x535328[_0x333bf5(0x1b2)]);}),_0x1742b7['record'][_0x124fb2(0xfa)]=_0x1b6c2f),_0x1d923b[_0x124fb2(0x214)](_0x1742b7);}return _0x1d923b;}static[a0_0x489668(0x16c)](_0x2ac8d6){const _0xb2c1f6=a0_0x489668;let _0x5710ca=_0x2ac8d6['gridConfig'];_0x2ac8d6[_0xb2c1f6(0x1e6)]=!_0x5710ca||null==_0x5710ca[_0xb2c1f6(0x187)]||_0x5710ca[_0xb2c1f6(0x187)];let {mobile_mode:_0x2b9f8f=_0xb2c1f6(0x146),desk_mode:_0x45336a=_0xb2c1f6(0x14a),view_mode:_0x5c26af=[],use_row_checker:_0x4cb611=!0x0,sorters:_0x227e24=[],pages:_0x16361c=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0xb2c1f6(0x235)](_0x5710ca[_0xb2c1f6(0x1c1)])?{}:_0x5710ca[_0xb2c1f6(0x1c1)];return _0xb2c1f6(0x10a)===_0x16361c||'-1'===_0x16361c?(_0x2ac8d6['infinityPage']=!0x0,_0x16361c={'infinite':!0x0}):(_0x2ac8d6[_0xb2c1f6(0x238)]=!0x1,_0x16361c['sort'](function(_0x3259c3,_0x259d5b){return _0x3259c3-_0x259d5b;}),_0x16361c={'pages':_0x16361c}),ValueUtil['isNotEmpty'](_0x5c26af)&&(0x1==_0x5c26af[_0xb2c1f6(0x149)]?(_0x45336a=_0x5c26af[0x0],_0x2b9f8f=_0x5c26af[0x0]):_0x5c26af[_0xb2c1f6(0x149)]>=0x2&&(_0x5c26af[_0xb2c1f6(0x1a3)](_0x2b9f8f)||(_0x2b9f8f=_0x5c26af[0x1]),_0x5c26af['includes'](_0x45336a)||(_0x45336a=_0x5c26af[0x0]))),_0x2ac8d6[_0xb2c1f6(0x159)]=_0x2b9f8f,_0x2ac8d6['gridDeskMode']=_0x45336a,_0x2ac8d6[_0xb2c1f6(0xf8)]=_0x5c26af,_0x2ac8d6[_0xb2c1f6(0x1c4)]=UiUtil[_0xb2c1f6(0x144)]()?_0x2ac8d6[_0xb2c1f6(0x159)]:_0x2ac8d6['gridDeskMode'],{'use_row_checker':_0x4cb611,'sorters':_0x227e24,'pages':_0x16361c};}static[a0_0x489668(0x19f)](_0x48dd06){const _0x64da3d=a0_0x489668;let _0x14e684={'fields':[ValueUtil[_0x64da3d(0x102)](_0x48dd06[_0x64da3d(0x1da)],_0x64da3d(0x19c)),ValueUtil[_0x64da3d(0x102)](_0x48dd06[_0x64da3d(0x1da)],_0x64da3d(0x145))]};return _0x48dd06[_0x64da3d(0x1bb)][_0x64da3d(0x17a)]&&Object['assign'](_0x14e684,_0x48dd06[_0x64da3d(0x1bb)]['list']),_0x14e684;}static[a0_0x489668(0xfb)](_0x1f9d8a){const _0x52ab08=a0_0x489668;let {multiple_select:_0x5efad=!0x1,click:_0x48a97e}=ValueUtil['isEmpty'](_0x1f9d8a['gridConfig'][_0x52ab08(0x13e)])?{}:_0x1f9d8a[_0x52ab08(0x1bb)][_0x52ab08(0x13e)],_0x922eaa={'selectable':{'multiple':_0x5efad},'appendable':_0x1f9d8a[_0x52ab08(0x12e)]};return ValueUtil[_0x52ab08(0x222)](_0x48a97e)&&(_0x922eaa[_0x52ab08(0x137)]={'click':_0x48a97e}),_0x922eaa;}static[a0_0x489668(0xfc)](_0x39b6c4){const _0xe45c3e=a0_0x489668;let _0x4b49b1=_0x39b6c4['gridConfig'][_0xe45c3e(0x1fa)];return ValueUtil[_0xe45c3e(0x235)](_0x4b49b1)?[]:_0x4b49b1[_0xe45c3e(0x211)](_0x3b1768=>{const _0xc55025=_0xe45c3e;let _0x325223={'type':'gutter','gutterName':_0xc55025(0x1fa)};if(ValueUtil[_0xc55025(0x222)](_0x3b1768['icon'])&&(Array['isArray'](_0x3b1768['icon'])?_0x325223['icon']=_0x48aa12=>{const _0x5fb530=_0xc55025;if(ValueUtil[_0x5fb530(0x222)](_0x48aa12))for(let _0x1274fe=0x0;_0x1274fe<_0x3b1768[_0x5fb530(0x1ec)][_0x5fb530(0x149)];_0x1274fe++){let _0x1014c3=_0x3b1768[_0x5fb530(0x1ec)][_0x1274fe];if(!0x0===ValueUtil[_0x5fb530(0x205)](_0x1014c3,_0x48aa12,Object[_0x5fb530(0x1ef)](_0x1014c3)[_0x5fb530(0x1e7)](_0x379441=>_0x5fb530(0x1ec)!=_0x379441)))return _0x1014c3[_0x5fb530(0x1ec)];}}:_0x325223['icon']=_0x3b1768['icon']),ValueUtil[_0xc55025(0x222)](_0x3b1768['name'])&&(_0x325223['name']=_0x3b1768[_0xc55025(0x19c)]),ValueUtil[_0xc55025(0x222)](_0x3b1768['label'])&&(_0x325223['title']=TermsUtil[_0xc55025(0xed)](_0x3b1768[_0xc55025(0x229)])),_0xc55025(0x17d)===_0x3b1768[_0xc55025(0xfe)]){let _0x1a553c=ValueUtil['getParams'](_0x3b1768,'logic');[_0xc55025(0x1ce),_0xc55025(0x130)]['includes'](_0x1a553c)?_0x325223[_0xc55025(0x137)]={'click':(_0x1a5d8b,_0x56e49d,_0x260511,_0x332f83,_0x22d637)=>{const _0x283089=_0xc55025;if(_0x332f83['id']){let _0x425d1a={'title':_0x283089(0x1b3),'type':_0x283089(0x16a),'tagname':_0x283089(0x1ce)==_0x1a553c?'history-copy-list-popup':_0x283089(0x10f),'location':_0x283089(0x1ce)==_0x1a553c?_0x283089(0x173):_0x283089(0x1a1),'menu':_0x39b6c4[_0x283089(0x120)],'size':_0x283089(0x201),'popup_field':'open_param','parent_field':'id'},_0x56cea0={..._0x332f83,'gqlFunc':ValueUtil['getParams'](_0x39b6c4[_0x283089(0x174)],_0x283089(0x204),_0x283089(0x1e4)),'gristConfig':JSON[_0x283089(0xf3)](JSON[_0x283089(0x1b7)](_0x39b6c4[_0x283089(0x1c6)][_0x283089(0x113)]))};MetaUiUtil[_0x283089(0x1a7)](_0x39b6c4,{'logic':_0x425d1a},_0x56cea0);}}}:_0x325223[_0xc55025(0x137)]={'click':_0x1a553c};}else _0x325223[_0xc55025(0x137)]={'click':(_0xffd918,_0x3191dd,_0x570bbb,_0xbb4a38,_0x1c81bc)=>{_0xbb4a38['id']&&MetaUiUtil['gristButtonHandler'](_0x39b6c4,_0x3b1768,_0xbb4a38);}};return _0x325223;});}static async[a0_0x489668(0x20e)](_0x11fd62){const _0x2a2071=a0_0x489668;let _0x105cbc=_0x11fd62[_0x2a2071(0x1e1)];if(ValueUtil[_0x2a2071(0x235)](_0x105cbc))return[];let _0x403d1b=[];for(let _0x5dae7e=0x0;_0x5dae7e<_0x105cbc['length'];_0x5dae7e++){let {type:_0x305e61=_0x2a2071(0x22a),name:_0x37d1b9,header:_0x33bee5,hidden:_0x130b3d=!0x1,editable:_0x14840=!0x0,mandatory:_0x44c22d=!0x1,sortable:_0x20442c=!0x1,align:_0x27da07='left',width:_0x37d36f=0x0,exportable:_0x3a57c0=!0x1,select_opt:_0x25f33c,object_opt:_0x429845}=_0x105cbc[_0x5dae7e],_0x515662={'type':_0x305e61,'name':_0x37d1b9,'header':ValueUtil[_0x2a2071(0x235)](_0x33bee5)?'':TermsUtil['tLabel'](_0x33bee5),'hidden':_0x130b3d,'sortable':_0x20442c,'width':_0x37d36f,'record':{'editable':_0x14840,'mandatory':_0x44c22d,'align':_0x27da07}};if(_0x2a2071(0x1af)===_0x305e61&&ValueUtil[_0x2a2071(0x222)](_0x25f33c))Array['isArray'](_0x25f33c)?_0x515662[_0x2a2071(0x224)][_0x2a2071(0xfa)]=_0x25f33c:_0x2a2071(0x16f)===_0x25f33c['type']?_0x515662['record'][_0x2a2071(0xfa)]=await ServiceUtil[_0x2a2071(0x132)](_0x25f33c[_0x2a2071(0x1db)]?_0x25f33c[_0x2a2071(0x1db)]:_0x25f33c[_0x2a2071(0x19c)]):_0x2a2071(0x1e3)===_0x25f33c[_0x2a2071(0xfe)]?_0x515662[_0x2a2071(0x224)][_0x2a2071(0xfa)]=await ServiceUtil[_0x2a2071(0x1b9)](_0x25f33c[_0x2a2071(0x19c)],_0x25f33c[_0x2a2071(0x1b8)]):'entity'===_0x25f33c[_0x2a2071(0xfe)]&&(_0x515662[_0x2a2071(0x224)][_0x2a2071(0xfa)]=await ServiceUtil[_0x2a2071(0x158)](_0x25f33c[_0x2a2071(0x1b8)]));else{if(_0x2a2071(0x156)!==_0x305e61&&'resource-object'!==_0x305e61||!ValueUtil[_0x2a2071(0x222)](_0x429845))'resource-code-selector'===_0x305e61&&ValueUtil['isNotEmpty'](_0x429845)&&(_0x515662[_0x2a2071(0x224)][_0x2a2071(0xfa)]=_0x429845,_0x429845['dispField']&&(_0x515662['record'][_0x2a2071(0xfa)][_0x2a2071(0x117)]=await ServiceUtil['getCodeByEntity'](_0x429845)));else{let _0x5edfe0;_0x429845['select']&&_0x429845[_0x2a2071(0x1af)]['forEach'](_0x5b10bc=>{const _0x550209=_0x2a2071;_0x5b10bc['header']||(_0x5b10bc['header']=_0x5b10bc[_0x550209(0x19c)]),_0x5b10bc[_0x550209(0x1b2)]=TermsUtil[_0x550209(0xf6)](_0x5b10bc[_0x550209(0x1b2)]);}),_0x515662[_0x2a2071(0x224)][_0x2a2071(0xfa)]={..._0x429845},_0x429845['basicArgs']&&_0x429845[_0x2a2071(0x194)][_0x2a2071(0x127)]&&(_0x5edfe0=[..._0x429845[_0x2a2071(0x194)][_0x2a2071(0x127)]]),_0x5edfe0&&JSON[_0x2a2071(0x1b7)](_0x5edfe0)[_0x2a2071(0x1a3)]('::')&&(_0x515662[_0x2a2071(0x137)]={'dblclick':(_0x34c594,_0x1d5f34,_0x22fef2,_0x251530,_0x5accc9)=>{const _0x4017c2=_0x2a2071;let _0x1e6208=[];_0x5edfe0[_0x4017c2(0x13b)](_0x26662a=>{const _0x4a4bac=_0x4017c2;var {name:_0x5bd1f2,value:_0x6ef2fe,operator:_0x222634='eq'}=_0x26662a;_0x6ef2fe[_0x4a4bac(0x1a3)]('::')&&(_0x6ef2fe=ValueUtil[_0x4a4bac(0x102)](_0x251530,..._0x6ef2fe[_0x4a4bac(0xee)]('::','')['split']('.'))),_0x6ef2fe||(_0x6ef2fe=''),_0x1e6208[_0x4a4bac(0x214)]({'name':_0x5bd1f2,'operator':_0x222634,'value':_0x6ef2fe});}),_0x22fef2[_0x4017c2(0x224)][_0x4017c2(0xfa)][_0x4017c2(0x194)]['filters']=_0x1e6208;}});}}!0x0===_0x11fd62[_0x2a2071(0x15d)]&&!0x0===_0x3a57c0&&(_0x515662[_0x2a2071(0x1f5)]={'header':_0x515662['header'],'key':_0x515662[_0x2a2071(0x19c)],'width':_0x515662[_0x2a2071(0x1f7)]/0x6,'type':_0x515662[_0x2a2071(0xfe)]}),_0x403d1b[_0x2a2071(0x214)](_0x515662);}if(!0x0!==this['is_activity'])return _0x403d1b;let _0x405578=await MetaApi['findMenuGridPersnalTemplate'](this['menuId']),{template:_0x3bfc0b={}}=_0x405578;if(!_0x3bfc0b[_0x2a2071(0x139)])return _0x403d1b;let _0x209053=_0x3bfc0b[_0x2a2071(0x139)];return _0x403d1b=_0x403d1b[_0x2a2071(0x211)](_0x1422e2=>('id'==_0x1422e2['name']||(_0x1422e2[_0x2a2071(0x11d)]=!_0x209053[_0x2a2071(0x1a3)](_0x1422e2[_0x2a2071(0x19c)]),_0x1422e2['rank']=_0x209053[_0x2a2071(0x1ed)](_0x1422e2[_0x2a2071(0x19c)]),-0x1==_0x1422e2['rank']&&(_0x1422e2[_0x2a2071(0x155)]=0x1869f)),_0x1422e2)),_0x403d1b['sort']((_0x334388,_0x26e044)=>_0x334388['rank']-_0x26e044[_0x2a2071(0x155)]),_0x403d1b;}static['setGridColumnSearchOption'](_0x5ca323,_0x16e777){const _0x7b4838=a0_0x489668;let _0x1b7a39=_0x5ca323[_0x7b4838(0x105)];return _0x1b7a39&&_0x1b7a39[_0x7b4838(0x13b)](_0x1e90c8=>{const _0x3e21be=_0x7b4838;_0x3e21be(0x22a)==typeof _0x1e90c8?_0x16e777['filter'](_0x4fc341=>_0x4fc341[_0x3e21be(0x19c)]==_0x1e90c8)[_0x3e21be(0x13b)](_0x11fe3b=>{const _0x468bc8=_0x3e21be;_0x11fe3b['filter']=_0x468bc8(0x10c);}):'object'==typeof _0x1e90c8&&_0x16e777['filter'](_0x563af8=>_0x563af8[_0x3e21be(0x19c)]==_0x1e90c8['name'])[_0x3e21be(0x13b)](_0x53f570=>{const _0x1440b6=_0x3e21be;_0x53f570['filter']=_0x1e90c8,_0x53f570[_0x1440b6(0x1e7)][_0x1440b6(0xfe)]=_0x1440b6(0xf0)===_0x53f570[_0x1440b6(0xfe)]?_0x1440b6(0x143):_0x53f570[_0x1440b6(0xfe)];let _0x4c557e=_0x53f570[_0x1440b6(0x1e7)][_0x1440b6(0x1b6)];if(_0x4c557e&&_0x4c557e['startsWith'](_0x1440b6(0x1f3))){let _0x190663=_0x4c557e[_0x1440b6(0x1f2)](','),_0x324bab=[];_0x190663[_0x1440b6(0x13b)](_0x4dcfcf=>{const _0xbe891c=_0x1440b6,_0x50d4fa=a0_0x2b4fef();'today'==_0x4dcfcf?_0x324bab['push'](_0x50d4fa[_0xbe891c(0x1cc)]('YYYY-MM-DD')):_0x4dcfcf[_0xbe891c(0x1a3)]('-')?_0x324bab[_0xbe891c(0x214)](_0x50d4fa[_0xbe891c(0x131)](_0x4dcfcf[_0xbe891c(0x1f2)]('-')[0x1],_0xbe891c(0x1bc))[_0xbe891c(0x1cc)](_0xbe891c(0x162))):_0x4dcfcf['includes']('+')&&_0x324bab['push'](_0x50d4fa[_0xbe891c(0x1b5)](_0x4dcfcf[_0xbe891c(0x1f2)]('+')[0x1],_0xbe891c(0x1bc))['format'](_0xbe891c(0x162)));}),_0x53f570[_0x1440b6(0x1e7)]['value']=0x1==_0x324bab['length']?_0x324bab[0x0]:_0x324bab;}});}),_0x16e777;}static['getContextObject'](_0x4dee91){const _0x152331=a0_0x489668;let _0x13814b={'title':TermsUtil[_0x152331(0x218)](_0x4dee91[_0x152331(0x1da)]['title']),'help':_0x4dee91[_0x152331(0x1da)][_0x152331(0x1a8)]||'','actions':[...MetaUiUtil[_0x152331(0x1b1)](_0x4dee91)]};return _0x4dee91[_0x152331(0x15d)]&&(_0x13814b[_0x152331(0x122)]={'name':_0x13814b['title'],'data':_0x4dee91[_0x152331(0x1ee)][_0x152331(0x1eb)](_0x4dee91)}),_0x4dee91[_0x152331(0x12a)]&&(_0x13814b[_0x152331(0x168)]={'handler':_0x4dee91['import']['bind'](_0x4dee91)}),_0x13814b;}static[a0_0x489668(0x1b1)](_0x34f729){const _0x35ab38=a0_0x489668;let _0x55aa60=_0x34f729[_0x35ab38(0x136)];return ValueUtil['isEmpty'](_0x55aa60)?[]:_0x55aa60[_0x35ab38(0x1e7)](_0x1a43dc=>'export'!=_0x1a43dc['name']&&'import'!=_0x1a43dc[_0x35ab38(0x19c)]&&_0x35ab38(0x1b5)!=_0x1a43dc[_0x35ab38(0x19c)])[_0x35ab38(0x211)](_0x146d51=>{const _0x272a0a=_0x35ab38;let {name:_0x4eba03,label:_0x4482b5,style:_0x5b2260,type:_0x1d9314=_0x272a0a(0x17d),action:_0x1501e5,logic:_0xd0d685}=_0x146d51;if(ValueUtil[_0x272a0a(0x235)](_0x4eba03))return{'title':'-1'};ValueUtil[_0x272a0a(0x235)](_0x4482b5)&&(_0x4482b5=_0x4eba03),ValueUtil['isEmpty'](_0x5b2260)&&(_0x5b2260=_0x4eba03),ValueUtil[_0x272a0a(0x235)](_0x1501e5)&&(_0x1501e5=_0x4eba03);let _0x4173ac=ValueUtil[_0x272a0a(0x222)](_0x5b2260)?CommonButtonStyles[_0x5b2260]||{'icon':_0x5b2260,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x272a0a(0xed)](_0x4482b5),'action':MetaUiUtil[_0x272a0a(0x1d1)](_0x34f729,_0x1d9314,_0x1501e5,_0xd0d685),..._0x4173ac};})[_0x35ab38(0x1e7)](_0x23a847=>'-1'!=_0x23a847[_0x35ab38(0x1dd)]);}static['getContainerButtons'](_0x370d25){const _0x3d8592=a0_0x489668;let _0x2b8f61=_0x370d25&&_0x370d25[_0x3d8592(0x136)]?_0x370d25[_0x3d8592(0x136)]:null;return _0x2b8f61?_0x2b8f61[_0x3d8592(0x1e7)](_0x37c6d1=>_0x3d8592(0x1b5)!=_0x37c6d1['name'])['map'](_0x5e3989=>{const _0x140876=_0x3d8592;let {name:_0x3cc93c,label:_0x39d1f0,style:_0x3cd6f1,type:_0x211670='basic',action:_0x58ee78,logic:_0x175811}=_0x5e3989;ValueUtil['isEmpty'](_0x39d1f0)&&(_0x39d1f0=_0x3cc93c),ValueUtil['isEmpty'](_0x3cd6f1)&&(_0x3cd6f1=_0x3cc93c),ValueUtil['isEmpty'](_0x58ee78)&&(_0x58ee78=_0x3cc93c);let _0x3b9ec4=MetaUiUtil['createButtonElement'](TermsUtil[_0x140876(0xed)](_0x39d1f0),_0x3cd6f1);return _0x3b9ec4[_0x140876(0x116)]=MetaUiUtil[_0x140876(0x1d1)](_0x370d25,_0x211670,_0x58ee78,_0x175811),_0x3b9ec4;}):[];}static['createButtonElement'](_0x5c728c,_0xe94e73){const _0x31c70a=a0_0x489668;let _0x503fcc=CommonButtonStyles[_0xe94e73]||{'icon':_0xe94e73,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x4fdaa8='<mwc-button\x20label=\x22'+_0x5c728c+'\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+(_0x503fcc['icon']?_0x503fcc[_0x31c70a(0x1ec)]:'')+_0x31c70a(0x22c)+(_0x503fcc[_0x31c70a(0x230)]['raised']?'raised':'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x503fcc[_0x31c70a(0x230)][_0x31c70a(0x1e9)]?_0x31c70a(0x1e9):'')+_0x31c70a(0x167)+(_0x503fcc[_0x31c70a(0x230)]['dense']?_0x31c70a(0x180):'')+_0x31c70a(0x167)+(_0x503fcc[_0x31c70a(0x230)][_0x31c70a(0x101)]?_0x31c70a(0x101):'')+_0x31c70a(0x1d3);return UiUtil[_0x31c70a(0xf7)](_0x4fdaa8);}static[a0_0x489668(0x1d1)](_0x4a15c7,_0xc2adf9,_0x444f9d,_0x3c1520){const _0xabfa41=a0_0x489668;if('basic'==_0xc2adf9){if(_0x4a15c7[_0x444f9d])return _0x4a15c7[_0x444f9d]['bind'](_0x4a15c7);}else{if('custom'==_0xc2adf9)return()=>MetaUiUtil[_0xabfa41(0x107)](_0x4a15c7,_0x3c1520);}return()=>{const _0x506b75=_0xabfa41;UiUtil[_0x506b75(0x232)](_0x506b75(0x1d2),_0x506b75(0x13d),_0x506b75(0x215),'confirm');};}static async[a0_0x489668(0x1a7)](_0x36edaa,_0x5ead80,_0x32d22b){const _0x20da8f=a0_0x489668;let _0x5461a1=ValueUtil['getParams'](_0x5ead80,_0x20da8f(0xec)),_0x3c434c=ValueUtil['getParams'](_0x5461a1,_0x20da8f(0xfe));if(_0x20da8f(0x14e)===_0x3c434c)_0x5461a1[_0x20da8f(0x166)]=_0x20da8f(0x119),_0x5461a1['location']=_0x20da8f(0xef),_0x5461a1['parent_field']='id',await MetaUiUtil['commonButtonOpenPopup'](_0x36edaa,_0x5461a1,_0x32d22b);else{if(_0x20da8f(0x154)===_0x3c434c)MetaUiUtil[_0x20da8f(0x233)](_0x36edaa,_0x5461a1,_0x32d22b);else{if('page'===_0x3c434c){let _0x1a2438;_0x5461a1['param_field']?(_0x1a2438={},Object[_0x20da8f(0x1ef)](_0x32d22b)['filter'](_0x4e80da=>Object[_0x20da8f(0x1ef)](_0x5461a1[_0x20da8f(0x176)])['includes'](_0x4e80da))[_0x20da8f(0x211)](_0x312385=>{const _0x19660d=_0x20da8f;Object[_0x19660d(0x1ef)](_0x5461a1[_0x19660d(0x176)])['includes'](_0x312385)&&(_0x19660d(0x22a)==typeof _0x32d22b[_0x312385]?_0x1a2438[_0x5461a1[_0x19660d(0x176)][_0x312385]]=_0x32d22b[_0x312385]:_0x1a2438[_0x5461a1[_0x19660d(0x176)][_0x312385]]={'id':_0x32d22b[_0x312385]['id']});})):_0x1a2438=_0x32d22b,UiUtil[_0x20da8f(0x1f9)](_0x5461a1[_0x20da8f(0x226)],[_0x1a2438]);}else _0x20da8f(0x16a)===_0x3c434c?await MetaUiUtil['commonButtonOpenPopup'](_0x36edaa,_0x5461a1,_0x32d22b):_0x20da8f(0x1e3)===_0x3c434c?await MetaUiUtil[_0x20da8f(0x112)](_0x36edaa,_0x5461a1,_0x32d22b):_0x20da8f(0x19e)===_0x3c434c&&await MetaUiUtil[_0x20da8f(0x1be)](_0x36edaa,_0x5461a1,_0x32d22b);}}}static async[a0_0x489668(0x107)](_0x483848,_0xc6e2b6){const _0x15d45d=a0_0x489668;if(ValueUtil[_0x15d45d(0x235)](_0xc6e2b6))return;let _0x122ae1=_0x483848[_0x15d45d(0x1c6)],_0x402482=_0x483848[_0x15d45d(0x15b)],_0x3f2dab=ValueUtil[_0x15d45d(0x102)](_0xc6e2b6,_0x15d45d(0xfe)),_0x393e92=ValueUtil[_0x15d45d(0x102)](_0xc6e2b6,_0x15d45d(0x203)),_0x5dfcff=_0x393e92[_0x15d45d(0x1e7)](_0x1d005e=>_0x1d005e['startsWith']('grist'));if(ValueUtil[_0x15d45d(0x222)](_0x5dfcff)){if(!_0x122ae1)return void UiUtil[_0x15d45d(0x232)](_0x15d45d(0x15f),_0x15d45d(0x142),_0x15d45d(0x215),_0x15d45d(0x14c));if(0x0==(_0x122ae1[_0x15d45d(0x169)]?_0x122ae1[_0x15d45d(0x169)][_0x15d45d(0x181)]:[])[_0x15d45d(0x149)])return void UiUtil[_0x15d45d(0x232)](_0x15d45d(0x15f),_0x15d45d(0x1b0),'info',_0x15d45d(0x14c));if(_0x393e92[_0x15d45d(0x1a3)](_0x15d45d(0x133))||_0x393e92[_0x15d45d(0x1a3)](_0x15d45d(0xea))){let _0x4b4789=_0x122ae1[_0x15d45d(0x1e5)];if(ValueUtil[_0x15d45d(0x235)](_0x4b4789))return void UiUtil[_0x15d45d(0x232)](_0x15d45d(0x1a9),_0x15d45d(0x175),_0x15d45d(0x215),_0x15d45d(0x14c));if(_0x393e92[_0x15d45d(0x1a3)]('grist_one')&&_0x4b4789[_0x15d45d(0x149)]>0x1)return void UiUtil[_0x15d45d(0x232)](_0x15d45d(0x15f),_0x15d45d(0x179),_0x15d45d(0x215),_0x15d45d(0x14c));}}let _0x1961a3={};if(_0x393e92[_0x15d45d(0x1a3)]('filter')){if(!_0x402482)return void UiUtil[_0x15d45d(0x232)](_0x15d45d(0x15f),_0x15d45d(0x10e),'info',_0x15d45d(0x14c));let _0x3cd863=_0x402482?await _0x402482['getQueryFilters']():[];_0x1961a3[_0x15d45d(0x1e7)]=_0x3cd863;}if(_0x393e92[_0x15d45d(0x1a3)](_0x15d45d(0x22b)))_0x1961a3[_0x15d45d(0x1c6)]=_0x122ae1[_0x15d45d(0x169)][_0x15d45d(0x181)];else{if(_0x393e92[_0x15d45d(0x1a3)](_0x15d45d(0x133)))_0x1961a3[_0x15d45d(0x1c6)]=_0x122ae1[_0x15d45d(0x1e5)][0x0];else{if(_0x393e92[_0x15d45d(0x1a3)](_0x15d45d(0xea)))_0x1961a3[_0x15d45d(0x1c6)]=_0x122ae1['selected'];else{if(_0x393e92[_0x15d45d(0x1a3)]('grist_changed')&&(_0x1961a3[_0x15d45d(0x1c6)]=ServiceUtil['patchesForUpdateMultiple'](_0x122ae1),!_0x1961a3[_0x15d45d(0x1c6)]))return;}}}if('page'===_0x3f2dab){let _0x4dc9a5,_0x16709b=Array[_0x15d45d(0x18b)](_0x1961a3[_0x15d45d(0x1c6)])?_0x1961a3[_0x15d45d(0x1c6)]:[_0x1961a3[_0x15d45d(0x1c6)]];_0x4dc9a5=_0xc6e2b6[_0x15d45d(0x176)]?_0x16709b[_0x15d45d(0x211)](_0x13200a=>{const _0x353121=_0x15d45d;let _0x4b4ceb={};return Object[_0x353121(0x1ef)](_0x13200a)['filter'](_0x599c44=>Object[_0x353121(0x1ef)](_0xc6e2b6['param_field'])[_0x353121(0x1a3)](_0x599c44))[_0x353121(0x211)](_0x3e6913=>{const _0x3f22b3=_0x353121;Object[_0x3f22b3(0x1ef)](_0xc6e2b6['param_field'])[_0x3f22b3(0x1a3)](_0x3e6913)&&(_0x3f22b3(0x22a)==typeof _0x13200a[_0x3e6913]?_0x4b4ceb[_0xc6e2b6[_0x3f22b3(0x176)][_0x3e6913]]=_0x13200a[_0x3e6913]:_0x4b4ceb[_0xc6e2b6[_0x3f22b3(0x176)][_0x3e6913]]={'id':_0x13200a[_0x3e6913]['id']});}),_0x4b4ceb;}):_0x16709b,UiUtil[_0x15d45d(0x1f9)](_0xc6e2b6['url'],_0x4dc9a5);}else{if(_0x15d45d(0x16a)===_0x3f2dab){let _0x5da429={..._0x1961a3[_0x15d45d(0x1c6)]?_0x1961a3['grist']:{},..._0x1961a3[_0x15d45d(0x1e7)]?_0x1961a3[_0x15d45d(0x1e7)]:{}};await MetaUiUtil[_0x15d45d(0x189)](_0x483848,_0xc6e2b6,_0x5da429);}else _0x15d45d(0x1e3)===_0x3f2dab&&await MetaUiUtil['commonButtonCallScenario'](_0x483848,_0xc6e2b6,_0x1961a3);}}static[a0_0x489668(0x233)](_0x275be8,_0x32093d,_0x538aa5){const _0x36373d=a0_0x489668;let _0x506276=_0x32093d[_0x36373d(0x11c)],_0x44d997={},_0x3145c2=_0x275be8[_0x36373d(0x20d)]['toLowerCase'](),_0x593887=_0x275be8;_0x44d997=_0x3145c2['startsWith'](_0x36373d(0x111))?{'detail':{..._0x506276}}:_0x3145c2[_0x36373d(0x21e)](_0x36373d(0x234))?_0x275be8[_0x36373d(0x196)][_0x36373d(0x20d)][_0x36373d(0x17b)]()['startsWith']('meta-tab-')?{'detail':{..._0x506276}}:{'self':{..._0x506276}}:_0x506276,Object[_0x36373d(0x1ef)](_0x44d997)[_0x36373d(0x13b)](_0x42026e=>{const _0x192ffc=_0x36373d;_0x192ffc(0x139)==_0x42026e?_0x593887=_0x275be8[_0x192ffc(0x1d6)][_0x192ffc(0x183)]:_0x192ffc(0x21c)==_0x42026e?_0x593887=_0x275be8['rootElement']?_0x275be8['rootElement'][_0x192ffc(0x196)]:_0x275be8['detailElement']:_0x192ffc(0x161)==_0x42026e&&(_0x593887=_0x275be8),Object[_0x192ffc(0x1ef)](_0x44d997[_0x42026e])[_0x192ffc(0x13b)](_0x2b1816=>{const _0x57f11d=_0x192ffc;let _0x80feb4=_0x593887[_0x57f11d(0x1c0)][_0x57f11d(0x1f0)]('#'+_0x2b1816);_0x538aa5['id']&&_0x80feb4[_0x57f11d(0x14f)](_0x538aa5['id']);let _0x448b18=_0x44d997[_0x42026e][_0x2b1816];Object['keys'](_0x448b18)[_0x57f11d(0x13b)](_0x155128=>{let _0x9ceac5=_0x448b18[_0x155128],_0x5c3559='*'===_0x9ceac5?_0x538aa5:_0x538aa5[_0x9ceac5];_0x80feb4[_0x155128]=_0x5c3559;});});});}static async[a0_0x489668(0x189)](_0x5ad6b8,_0x3548c3,_0x5aabf4){const _0x3110cf=a0_0x489668;let _0x946956=TermsUtil[_0x3110cf(0x218)](_0x3548c3[_0x3110cf(0x1dd)]);ValueUtil[_0x3110cf(0x222)](_0x3548c3[_0x3110cf(0x192)])&&(_0x946956=_0x946956+'('+ValueUtil[_0x3110cf(0x102)](_0x5aabf4,..._0x3548c3['title_detail']['split']('.'))+')');let _0x4683cd=_0x3548c3[_0x3110cf(0x10b)]&&'string'==typeof _0x3548c3[_0x3110cf(0x10b)]&&'fetch'===_0x3548c3[_0x3110cf(0x10b)]&&_0x5ad6b8&&_0x5ad6b8[_0x3110cf(0x1d0)]?_0x5ad6b8[_0x3110cf(0x1d0)]['bind'](_0x5ad6b8):void 0x0;UiUtil[_0x3110cf(0x129)](_0x946956,_0x3548c3,_0x5aabf4,_0x4683cd);}static async[a0_0x489668(0x112)](_0x4c5337,_0x3b84bb,_0x494013){const _0x36b494=a0_0x489668;let _0x1801e9=await ServiceUtil[_0x36b494(0x1fe)]('service',_0x3b84bb[_0x36b494(0x19c)],_0x494013);if(!_0x1801e9[_0x36b494(0x228)]&&!ValueUtil[_0x36b494(0x235)](_0x3b84bb[_0x36b494(0x10b)])&&_0x3b84bb['after']){if(_0x36b494(0x1d0)!==_0x3b84bb['after']){if(_0x36b494(0x156)==typeof _0x3b84bb[_0x36b494(0x10b)]){let _0xc6473b=_0x3b84bb[_0x36b494(0x10b)],_0x364f86=ValueUtil[_0x36b494(0x102)](_0x1801e9['data'][_0x36b494(0x1d4)][_0x36b494(0x169)],..._0xc6473b['result_name'][_0x36b494(0x1f2)]('.'));if(0x0==Array[_0x36b494(0x18b)](_0x364f86)&&(_0x364f86=[_0x364f86]),_0x36b494(0x14e)===_0xc6473b[_0x36b494(0xfe)])_0xc6473b[_0x36b494(0x166)]=_0x36b494(0x119),_0xc6473b[_0x36b494(0x198)]='pages/meta-form-element.js',_0xc6473b[_0x36b494(0x153)]='id',_0x364f86=_0x364f86[0x0],await MetaUiUtil[_0x36b494(0x189)](_0x4c5337,_0xc6473b,_0x364f86);else{if(_0x36b494(0x1fd)===_0xc6473b[_0x36b494(0xfe)]){let _0x4dd1bd,_0x3e7a57=_0x364f86;_0x4dd1bd=_0xc6473b[_0x36b494(0x176)]?_0x3e7a57[_0x36b494(0x211)](_0x56a030=>{const _0x3809c3=_0x36b494;let _0x2fba35={};return Object['keys'](_0x56a030)[_0x3809c3(0x1e7)](_0x2f446a=>Object[_0x3809c3(0x1ef)](_0xc6473b[_0x3809c3(0x176)])['includes'](_0x2f446a))[_0x3809c3(0x211)](_0x544126=>{const _0x2a61d4=_0x3809c3;Object[_0x2a61d4(0x1ef)](_0xc6473b['param_field'])['includes'](_0x544126)&&(_0x2a61d4(0x22a)==typeof _0x56a030[_0x544126]?_0x2fba35[_0xc6473b[_0x2a61d4(0x176)][_0x544126]]=_0x56a030[_0x544126]:_0x2fba35[_0xc6473b[_0x2a61d4(0x176)][_0x544126]]={'id':_0x56a030[_0x544126]['id']});}),_0x2fba35;}):_0x3e7a57,UiUtil[_0x36b494(0x1f9)](_0xc6473b[_0x36b494(0x226)],_0x4dd1bd);}else _0x36b494(0x154)===_0xc6473b[_0x36b494(0xfe)]?(_0x364f86=_0x364f86[0x0],MetaUiUtil['gristButtonPassParam'](_0x4c5337,_0xc6473b,_0x364f86)):_0x36b494(0x16a)===_0xc6473b[_0x36b494(0xfe)]?(_0x364f86=_0x364f86[0x0],await MetaUiUtil[_0x36b494(0x189)](_0x4c5337,_0xc6473b,_0x364f86)):_0x36b494(0x19e)===_0xc6473b[_0x36b494(0xfe)]&&(_0x364f86=_0x364f86[0x0],await MetaUiUtil['gristButtonValueReference'](_0x4c5337,_0xc6473b,_0x364f86));}}}else _0x4c5337[_0x36b494(0x1d0)]();}}static async[a0_0x489668(0x1be)](_0x6f885f,_0x439142,_0x7d6d8f){const _0x508b6b=a0_0x489668;for(let _0x2c87a7=0x0;_0x2c87a7<_0x439142['relation'][_0x508b6b(0x149)];_0x2c87a7++){let _0x107fb7=_0x439142[_0x508b6b(0x1f8)][_0x2c87a7];!0x0===ValueUtil[_0x508b6b(0x205)](_0x107fb7,_0x7d6d8f,Object[_0x508b6b(0x1ef)](_0x107fb7)[_0x508b6b(0x1e7)](_0x2b5bbf=>_0x508b6b(0xec)!=_0x2b5bbf))&&await MetaUiUtil['gristButtonHandler'](_0x6f885f,_0x107fb7,_0x7d6d8f);}}static[a0_0x489668(0x108)](_0x103520,_0x35d5a2){return{'type':_0x103520,'name':_0x35d5a2,'sortable':!0x1,'hidden':!0x0};}static[a0_0x489668(0x165)](_0x4979ab,_0x509a28,_0x1e8592,_0x1a7a0d,_0x20d0c3,_0x4ab401){const _0x1ed9f3=a0_0x489668;let _0x4e7df6=TermsUtil[_0x1ed9f3(0xf6)](_0x509a28);return{'type':_0x4979ab,'name':_0x509a28,'header':_0x4e7df6,'record':{'align':_0x1e8592,'editable':_0x1a7a0d},'sortable':_0x20d0c3,'width':_0x4ab401,'imex':{'width':Math['floor'](_0x4ab401/0x6),'header':_0x4e7df6,'type':_0x4979ab,'key':_0x509a28}};}static[a0_0x489668(0x160)](_0x44068f,_0x30111f,_0x5cec03,_0x5bcdce,_0x260899,_0x13292e,_0x226268){const _0x9715c=a0_0x489668;let _0x1622bf=TermsUtil[_0x9715c(0xf6)](_0x5cec03);return{'type':_0x44068f,'name':_0x30111f,'header':_0x1622bf,'record':{'align':_0x5bcdce,'editable':_0x260899},'sortable':_0x13292e,'width':_0x226268,'imex':{'width':Math['floor'](_0x226268/0x6),'header':_0x1622bf,'type':_0x44068f,'key':_0x30111f}};}static[a0_0x489668(0x1cf)](_0xea58f7,_0x412864,_0x67292c,_0x4e906f,_0x35b8ee,_0xdab1bc,_0x81a52a,_0x52ea5e){const _0x522da7=a0_0x489668;let _0x4ee5b9=TermsUtil[_0x522da7(0xf6)](_0x67292c);return{'type':_0xea58f7,'name':_0x412864,'header':_0x4ee5b9,'record':{'align':_0x4e906f,'editable':_0x35b8ee,'mandatory':_0x81a52a},'sortable':_0xdab1bc,'width':_0x52ea5e,'imex':{'width':Math[_0x522da7(0x231)](_0x52ea5e/0x6),'header':_0x4ee5b9,'type':_0xea58f7,'key':_0x412864}};}static['getGristSelectorColumnConfig'](_0x362a18,_0x14cfc3,_0xa8fb84,_0x26b87a,_0x92da59,_0xc5be87,_0x2e17a0){let _0x52c93d=TermsUtil['tLabel'](_0x14cfc3);return{'type':'select','name':_0x362a18,'header':_0x52c93d,'record':{'align':_0xa8fb84,'editable':!0x0,'mandatory':_0xc5be87,'options':_0x2e17a0},'sortable':_0x26b87a,'width':_0x92da59,'imex':{'width':Math['floor'](_0x92da59/0x6),'header':_0x52c93d,'type':'string','key':_0x362a18}};}static async[a0_0x489668(0x212)](_0x21992d,_0x42e6dd,_0x215839,_0x53c421,_0x4fa849,_0x2fb22e,_0x1ee500){const _0x4c6e28=a0_0x489668;let _0x221fc6=await ServiceUtil[_0x4c6e28(0x132)](_0x1ee500);return MetaUiUtil[_0x4c6e28(0x191)](_0x21992d,_0x42e6dd,_0x215839,_0x53c421,_0x4fa849,_0x2fb22e,_0x221fc6);}static['getGristSearchColumnConfig'](_0x3c7308,_0x1acc6c,_0x5b6391,_0x4f9ad7,_0x3c51d6){const _0x137b3d=a0_0x489668;let _0x522999=TermsUtil[_0x137b3d(0xf6)](_0x5b6391),_0x4f94e1={'name':_0x3c7308,'type':_0x1acc6c,'label':_0x522999,'operator':_0x4f9ad7,'imex':{'width':0x10,'header':_0x522999,'type':_0x1acc6c,'key':_0x3c7308}};return _0x3c51d6&&(_0x4f94e1[_0x137b3d(0xfa)]=_0x3c51d6),_0x4f94e1;}static async[a0_0x489668(0x16e)](_0x4d7aab,_0x6058d,_0x5d1acb,_0x2e12b6,_0x2c8f8a){const _0x292406=a0_0x489668;let _0x59976e=await ServiceUtil['getCodeSelectorData'](_0x2c8f8a);return MetaUiUtil[_0x292406(0x11f)](_0x4d7aab,_0x6058d,_0x5d1acb,_0x2e12b6,_0x59976e);}static[a0_0x489668(0x1dc)](){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_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=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_0x489668(0x200)](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static['getGristPersonalizedStyles'](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static[
|
|
51
|
+
`];}static[a0_0x489668(0x223)](){const _0x527151=a0_0x489668;return[ScrollbarStyles,CommonGristStyles,css`
|
|
52
52
|
:host {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -58,7 +58,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
58
58
|
ox-grist {
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
flex: 1;
|
|
61
|
-
}`,...MetaUiUtil[
|
|
61
|
+
}`,...MetaUiUtil[_0x527151(0x200)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x527151(0x219)]()];}static[a0_0x489668(0x1ba)](){const _0x1f5088=a0_0x489668;return[ScrollbarStyles,CommonGristStyles,css`
|
|
62
62
|
:host {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -105,7 +105,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
105
105
|
ox-grist {
|
|
106
106
|
overflow-y: auto;
|
|
107
107
|
flex: 1;
|
|
108
|
-
}`,...MetaUiUtil[
|
|
108
|
+
}`,...MetaUiUtil[_0x1f5088(0x200)](),...MetaUiUtil[_0x1f5088(0x1dc)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static['getBasicMasterDetailStyles'](){const _0x21ce83=a0_0x489668;return[ScrollbarStyles,CommonGristStyles,css`
|
|
109
109
|
:host {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
@@ -152,7 +152,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
152
152
|
ox-grist {
|
|
153
153
|
overflow-y: auto;
|
|
154
154
|
flex: 1;
|
|
155
|
-
}`,...MetaUiUtil[
|
|
155
|
+
}`,...MetaUiUtil[_0x21ce83(0x200)](),...MetaUiUtil[_0x21ce83(0x1dc)](),...MetaUiUtil[_0x21ce83(0x219)]()];}static['getBasicTabDetailStyles'](){const _0x2d4dde=a0_0x489668;return[ScrollbarStyles,CommonGristStyles,css`
|
|
156
156
|
:host {
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
@@ -199,7 +199,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
199
199
|
ox-grist {
|
|
200
200
|
overflow-y: auto;
|
|
201
201
|
flex: 1;
|
|
202
|
-
}`,...MetaUiUtil[
|
|
202
|
+
}`,...MetaUiUtil[_0x2d4dde(0x200)](),...MetaUiUtil[_0x2d4dde(0x1dc)](),...MetaUiUtil[_0x2d4dde(0x219)]()];}static['getBasicMainTabStyles'](){const _0x14655a=a0_0x489668;return[ScrollbarStyles,CommonGristStyles,css`
|
|
203
203
|
:host {
|
|
204
204
|
display: flex;
|
|
205
205
|
flex-direction: column;
|
|
@@ -214,7 +214,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
214
214
|
ox-grist {
|
|
215
215
|
overflow-y: auto;
|
|
216
216
|
flex: 1;
|
|
217
|
-
}`,...MetaUiUtil[
|
|
217
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[_0x14655a(0x1dc)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x489668(0x1a2)](_0x5a403a){const _0x2da3aa=a0_0x489668;return _0x2da3aa(0x15c)==_0x5a403a?MetaUiUtil[_0x2da3aa(0x172)]():MetaUiUtil[_0x2da3aa(0x15e)]();}static[a0_0x489668(0x172)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
218
218
|
:host {
|
|
219
219
|
display: flex;
|
|
220
220
|
flex-direction: column;
|
|
@@ -281,7 +281,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
281
281
|
margin-left:7px;
|
|
282
282
|
margin-top:7px;
|
|
283
283
|
}
|
|
284
|
-
`];}static[
|
|
284
|
+
`];}static['getMasterDetailLeftRightGristStyle'](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
285
285
|
:host {
|
|
286
286
|
display: flex;
|
|
287
287
|
flex-direction: column;
|
|
@@ -348,7 +348,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
348
348
|
margin-left:7px;
|
|
349
349
|
margin-top:7px;
|
|
350
350
|
}
|
|
351
|
-
`];}static[
|
|
351
|
+
`];}static['getBasicFormStyles'](){const _0xbbd110=a0_0x489668;return[ScrollbarStyles,css`
|
|
352
352
|
:host {
|
|
353
353
|
display: flex;
|
|
354
354
|
flex: 1;
|
|
@@ -437,7 +437,7 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
437
437
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
`,...MetaUiUtil[
|
|
440
|
+
`,...MetaUiUtil[_0xbbd110(0x1dc)]()];}static[a0_0x489668(0x1e8)](){return[css`
|
|
441
441
|
:host {
|
|
442
442
|
display: flex;
|
|
443
443
|
flex: 1;
|
|
@@ -492,204 +492,204 @@ const a0_0x486ab5=a0_0x1712;(function(_0x28d273,_0x3b65f3){const _0x38f67d=a0_0x
|
|
|
492
492
|
overflow-x: overlay;
|
|
493
493
|
background-color: var(--main-section-background-color);
|
|
494
494
|
}
|
|
495
|
-
`];}static[
|
|
495
|
+
`];}static[a0_0x489668(0x221)](_0xfbd020,_0x4a5794){const _0x6227d4=a0_0x489668;return!!(_0xfbd020?_0xfbd020[_0x6227d4(0x121)](_0x7ff14=>_0x7ff14[_0x6227d4(0x19c)]==_0x4a5794):null);}static[a0_0x489668(0x13a)](_0x461ba3,_0x38f27e){const _0x2a53ff=a0_0x489668;return!!(_0x461ba3&&_0x461ba3[_0x2a53ff(0x1fa)]?_0x461ba3[_0x2a53ff(0x1fa)]['find'](_0xbdeaa8=>_0xbdeaa8[_0x2a53ff(0x19c)]==_0x38f27e):null);}static['getSelectColumns'](_0x2c42b7){const _0x29125d=a0_0x489668;let _0xf8af29='';return _0x2c42b7[_0x29125d(0x1e7)](_0x523a86=>_0x29125d(0x18c)!=_0x523a86[_0x29125d(0xfe)])[_0x29125d(0x13b)](_0x421d51=>{const _0x355d59=_0x29125d;_0xf8af29+='\x0a',_0xf8af29+=_0x355d59(0x156)==_0x421d51['type']||_0x355d59(0x1a4)==_0x421d51['type']?_0x421d51[_0x355d59(0x19c)]+'\x0a{'+MetaUiUtil[_0x355d59(0x190)](_0x421d51)+'}':_0x355d59(0x208)==_0x421d51[_0x355d59(0xfe)]?_0x421d51[_0x355d59(0x19c)]+'\x0a{\x0aid\x0aname\x0athumbnail}':_0x421d51[_0x355d59(0x19c)];}),_0xf8af29;}static[a0_0x489668(0x190)](_0x41af8f){const _0x252df3=a0_0x489668;let _0x4d4cf1='';return ValueUtil[_0x252df3(0x222)](_0x41af8f[_0x252df3(0x224)]['options'])&&ValueUtil[_0x252df3(0x222)](_0x41af8f[_0x252df3(0x224)][_0x252df3(0xfa)][_0x252df3(0x1af)])&&_0x41af8f['record'][_0x252df3(0xfa)][_0x252df3(0x1af)][_0x252df3(0x13b)](_0x3ce4cd=>{const _0x57c817=_0x252df3;_0x3ce4cd[_0x57c817(0x19c)]&&''!==_0x3ce4cd[_0x57c817(0x19c)]&&(_0x57c817(0x156)===_0x3ce4cd[_0x57c817(0xfe)]||_0x57c817(0x1a4)===_0x3ce4cd[_0x57c817(0xfe)]?_0x4d4cf1+='\x0a'+_0x3ce4cd[_0x57c817(0x19c)]+'\x20{\x20'+MetaUiUtil[_0x57c817(0x190)](_0x3ce4cd)+'\x20\x0a\x20}':_0x4d4cf1+='\x0a'+_0x3ce4cd[_0x57c817(0x19c)]);}),''==_0x4d4cf1&&(_0x4d4cf1+=_0x252df3(0x148)),_0x4d4cf1;}static[a0_0x489668(0x1bd)](_0x28a43d){const _0x4d38a3=a0_0x489668;let _0x3ee025=_0x28a43d[_0x4d38a3(0x213)];if(_0x3ee025){let _0x43acda=_0x28a43d['gristId']?_0x28a43d['gristId']:_0x4d38a3(0x206),_0x39a52a=_0x28a43d[_0x4d38a3(0x1c4)];return html`
|
|
496
496
|
<ox-grist
|
|
497
|
-
id=${
|
|
498
|
-
.config=${
|
|
499
|
-
.mode=${
|
|
497
|
+
id=${_0x43acda}
|
|
498
|
+
.config=${_0x3ee025}
|
|
499
|
+
.mode=${_0x39a52a}
|
|
500
500
|
auto-fetch
|
|
501
|
-
.fetchHandler=${
|
|
502
|
-
${MetaUiUtil[
|
|
501
|
+
.fetchHandler=${_0x28a43d[_0x4d38a3(0x20c)][_0x4d38a3(0x1eb)](_0x28a43d)}>
|
|
502
|
+
${MetaUiUtil[_0x4d38a3(0x164)](_0x28a43d)}
|
|
503
503
|
</ox-grist>
|
|
504
|
-
`;}return html``;}static[
|
|
504
|
+
`;}return html``;}static[a0_0x489668(0x1f6)](_0x5c304b){const _0x35c8a1=a0_0x489668;if(!_0x5c304b)return html``;if(!_0x5c304b[_0x35c8a1(0x134)])return html``;let _0x4ad397=_0x5c304b['formConfigSet'],_0x2d39ab=_0x5c304b[_0x35c8a1(0x224)]||{},_0x33e6b7=_0x4ad397[_0x35c8a1(0x1e7)](_0x4ce769=>0x0==_0x4ce769[_0x35c8a1(0x11d)]);return ValueUtil[_0x35c8a1(0x235)](_0x5c304b[_0x35c8a1(0x236)])?MetaUiUtil[_0x35c8a1(0x1df)](_0x5c304b,_0x33e6b7,_0x2d39ab):MetaUiUtil[_0x35c8a1(0x185)](_0x5c304b,_0x33e6b7,_0x2d39ab);}static[a0_0x489668(0x185)](_0x3d630f,_0x1377c3,_0x126d8a){const _0x798721=a0_0x489668;let _0x24e94e=_0x3d630f[_0x798721(0x236)];return html`
|
|
505
505
|
<div class="root_container">
|
|
506
|
-
${
|
|
506
|
+
${_0x24e94e[_0x798721(0x211)](_0x248793=>{const _0x387263=_0x798721;let _0x40ba6a=_0x1377c3[_0x387263(0x1e7)](_0x2dd98d=>_0x248793[_0x387263(0xf9)][_0x387263(0x1a3)](_0x2dd98d[_0x387263(0x19c)])),_0x8290ba=_0x387263(0x1c2);for(let _0x456e62=0x0;_0x456e62<_0x248793[_0x387263(0xfd)];_0x456e62++)_0x8290ba+=_0x387263(0x1ab);return _0x8290ba+=';',html`
|
|
507
507
|
<h2>
|
|
508
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
508
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x387263(0x218)](_0x248793['display'])}
|
|
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="${_0x8290ba}">
|
|
511
|
+
${_0x40ba6a[_0x387263(0x211)](_0x48533f=>{const _0x34feff=_0x387263;let {editable:_0x832325=!0x1,mandatory:_0x54e9bd=!0x1}=_0x48533f[_0x34feff(0x224)],_0x48fdec=_0x126d8a[_0x34feff(0x103)]||{};return html`
|
|
512
|
+
<label ?editable=${_0x832325}><span>${_0x54e9bd?'*':''}${_0x48533f[_0x34feff(0x209)]}</span>
|
|
513
|
+
${_0x832325?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=${_0x48533f}
|
|
518
|
+
.record=${_0x126d8a}
|
|
519
|
+
.value=${_0x126d8a[_0x48533f[_0x34feff(0x19c)]]}
|
|
520
|
+
?dirty=${!!_0x48fdec[_0x48533f['name']]}
|
|
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
|
+
${_0x3d630f[_0x798721(0x1ac)]?html``:MetaUiUtil[_0x798721(0x128)](_0x3d630f)}
|
|
527
|
+
`;}static[a0_0x489668(0x1df)](_0x452eae,_0x394caf,_0x27ebe9){const _0x1c0f26=a0_0x489668;let _0xef1d70=_0x1c0f26(0x11e);_0x452eae[_0x1c0f26(0xfd)]&&0x0!=_0x452eae['column']||(_0x452eae[_0x1c0f26(0xfd)]=0x1),_0x452eae[_0x1c0f26(0xfd)]=parseInt((_0x452eae[_0x1c0f26(0x1ff)]||{})[_0x1c0f26(0x170)]||_0x452eae[_0x1c0f26(0xfd)]);for(let _0xd33d56=0x0;_0xd33d56<_0x452eae[_0x1c0f26(0xfd)];_0xd33d56++)_0xef1d70+=_0x1c0f26(0x1ab);return _0xef1d70+=';',html`
|
|
528
|
+
<div id="container" class="container" style="${_0xef1d70}">
|
|
529
|
+
${_0x394caf[_0x1c0f26(0x211)](_0x57c683=>{const _0x23a07e=_0x1c0f26;let {editable:_0x37748a=!0x1,mandatory:_0x5be2b5=!0x1}=_0x57c683[_0x23a07e(0x224)],_0x30f0b5=_0x27ebe9[_0x23a07e(0x103)]||{};return html`
|
|
530
|
+
<label ?editable=${_0x37748a}><span>${_0x5be2b5?'*':''}${_0x57c683['header_txt']}</span>
|
|
531
|
+
${_0x37748a?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=${_0x57c683}
|
|
536
|
+
.record=${_0x27ebe9}
|
|
537
|
+
.value=${_0x27ebe9[_0x57c683['name']]}
|
|
538
|
+
?dirty=${!!_0x30f0b5[_0x57c683[_0x23a07e(0x19c)]]}
|
|
539
539
|
></ox-grid-field>
|
|
540
540
|
`;})}
|
|
541
541
|
</div>
|
|
542
|
-
${
|
|
543
|
-
`;}static[
|
|
542
|
+
${_0x452eae[_0x1c0f26(0x1ac)]?html``:MetaUiUtil['getButtonContainer'](_0x452eae)}
|
|
543
|
+
`;}static[a0_0x489668(0x1c7)](_0x222771){const _0x36edd4=a0_0x489668;if(!_0x222771)return html``;if(!_0x222771[_0x36edd4(0xe9)])return html``;let _0x38448a=_0x222771[_0x36edd4(0xe9)];return _0x222771[_0x36edd4(0x138)]||(_0x222771[_0x36edd4(0x138)]=_0x38448a[0x0]?.[_0x36edd4(0x19c)]||void 0x0),html`
|
|
544
544
|
<div class="tabs">
|
|
545
|
-
${
|
|
546
|
-
<div class="tab" ?activate="${
|
|
547
|
-
${
|
|
548
|
-
<span>${
|
|
545
|
+
${_0x38448a['map'](_0x583d15=>{const _0x122a73=_0x36edd4;let _0x29978d=TermsUtil['tLabel'](_0x583d15[_0x122a73(0x195)]),_0xc0f410=_0x583d15[_0x122a73(0x19c)];return html`
|
|
546
|
+
<div class="tab" ?activate="${_0xc0f410===_0x222771['currentTabKey']}" @click="${()=>_0x222771[_0x122a73(0x138)]=_0xc0f410}">
|
|
547
|
+
${_0x583d15[_0x122a73(0x1ec)]?html`<mwc-icon>${_0x583d15[_0x122a73(0x1ec)]}</mwc-icon>`:html``}
|
|
548
|
+
<span>${_0x29978d}</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
|
+
${_0x38448a['map'](_0x52da92=>{const _0xf551c7=_0x36edd4;let _0x35ee07=_0xf551c7(0x157);return _0x52da92['name']==_0x222771['currentTabKey']&&(_0x35ee07='display:flex'),html`
|
|
554
|
+
<div class='tab-contents' style="${_0x35ee07}">
|
|
555
|
+
${MetaUiUtil[_0xf551c7(0xff)](_0x222771,_0x52da92)}
|
|
556
556
|
</div>
|
|
557
557
|
`;})}
|
|
558
558
|
</div>
|
|
559
|
-
`;}static[
|
|
560
|
-
${0x0==
|
|
559
|
+
`;}static[a0_0x489668(0x1ad)](_0x299096){const _0x4fd5ce=a0_0x489668;let _0x10727f=(_0x299096['etcConfig']||{})[_0x4fd5ce(0x199)]||'top_bottom',_0x44c9b1=(_0x299096[_0x4fd5ce(0x1ff)]||{})[_0x4fd5ce(0x237)]||_0x4fd5ce(0x22f),_0x155188=_0x4fd5ce(0x177)==_0x10727f?_0x4fd5ce(0x11e)+_0x44c9b1+';':_0x4fd5ce(0x1bf)+_0x44c9b1+';',_0x2e27fb=_0x299096['isPage']?UiUtil[_0x4fd5ce(0x120)]():_0x299096['route_name'];return html`
|
|
560
|
+
${0x0==_0x299096[_0x4fd5ce(0x220)]?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=${_0x299096[_0x4fd5ce(0x210)]||[]}
|
|
566
|
+
.value=${_0x299096[_0x4fd5ce(0x197)]||[]}
|
|
567
|
+
@filters-change=${_0x6f9ba=>{const _0x475fbd=_0x4fd5ce;_0x299096[_0x475fbd(0x1c6)]?.['fetch']();}}
|
|
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="${_0x155188}">
|
|
573
573
|
<div class="container_detail">
|
|
574
|
-
${MetaApi[
|
|
575
|
-
${MetaUiUtil['getButtonContainer'](
|
|
574
|
+
${MetaApi['getBasicGristHtml'](_0x299096)}
|
|
575
|
+
${MetaUiUtil['getButtonContainer'](_0x299096)}
|
|
576
576
|
</div>
|
|
577
577
|
<div class="container_detail">
|
|
578
|
-
${!0x0===
|
|
578
|
+
${!0x0===_0x299096[_0x4fd5ce(0x12f)]?html`${!0x0===_0x299096[_0x4fd5ce(0x115)]?html`<meta-tab-element
|
|
579
579
|
id="detail"
|
|
580
|
-
route_name="${
|
|
581
|
-
.activityDataSet=${(
|
|
580
|
+
route_name="${_0x2e27fb}"
|
|
581
|
+
.activityDataSet=${(_0x299096[_0x4fd5ce(0x21d)]||{})[_0x4fd5ce(0x21c)]}
|
|
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="${_0x2e27fb}"
|
|
588
|
+
.activityDataSet=${(_0x299096[_0x4fd5ce(0x21d)]||{})[_0x4fd5ce(0x21c)]}
|
|
589
589
|
is_activity=true
|
|
590
590
|
is_detail=true>
|
|
591
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
591
|
+
</meta-tab-element>`}`:html`${!0x0===_0x299096[_0x4fd5ce(0x115)]?html`<meta-tab-element id="detail" route_name="${_0x2e27fb}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x2e27fb}" is_detail=true></meta-tab-element>`}`}
|
|
592
592
|
</div>
|
|
593
593
|
</div>
|
|
594
|
-
`;}static[
|
|
595
|
-
${0x0==
|
|
594
|
+
`;}static[a0_0x489668(0x126)](_0x3def7f){const _0x5c5916=a0_0x489668;let _0x59b317=_0x3def7f[_0x5c5916(0x1ff)]['master_detail_type']||_0x5c5916(0x163),_0x51bdf3=_0x3def7f[_0x5c5916(0x1ff)][_0x5c5916(0x237)]||'50%\x2050%',_0x16a9d4=_0x3def7f[_0x5c5916(0x1ff)][_0x5c5916(0x10d)],_0x3966ce=JSON['parse'](_0x16a9d4||'{}'),_0x26bab2=_0x5c5916(0x177)==_0x59b317?_0x5c5916(0x11e)+_0x51bdf3+';':'grid-template-rows:'+_0x51bdf3+';';return MetaUiUtil[_0x5c5916(0x1de)](_0x3def7f),MetaUiUtil['createDetailElement'](_0x3def7f,_0x3966ce),html`
|
|
595
|
+
${0x0==_0x3def7f[_0x5c5916(0x220)]?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=${_0x3def7f['searchFields']||[]}
|
|
601
|
+
.value=${_0x3def7f[_0x5c5916(0x197)]||[]}
|
|
602
|
+
@filters-change=${_0x2bfdd0=>{const _0x519d83=_0x5c5916;_0x3def7f[_0x519d83(0x1d0)]();}}
|
|
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="${_0x26bab2}">
|
|
608
608
|
<div class="container_detail">
|
|
609
|
-
${
|
|
609
|
+
${_0x3def7f[_0x5c5916(0x183)]}
|
|
610
610
|
</div>
|
|
611
611
|
<div class="container_detail">
|
|
612
|
-
${''==
|
|
613
|
-
${
|
|
612
|
+
${''==_0x3966ce[_0x5c5916(0x166)]||_0x5c5916(0x16d)==_0x3966ce[_0x5c5916(0x166)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x5c5916(0x218)](''+_0x3966ce[_0x5c5916(0x195)])}</h2>`}
|
|
613
|
+
${_0x3def7f[_0x5c5916(0x196)]}
|
|
614
614
|
</div>
|
|
615
615
|
</div>
|
|
616
|
-
`;}static[
|
|
617
|
-
${0x0==
|
|
616
|
+
`;}static['getMainTabHtml'](_0x300cfb){const _0x50a80b=a0_0x489668;return MetaUiUtil[_0x50a80b(0x1de)](_0x300cfb),html`
|
|
617
|
+
${0x0==_0x300cfb['useMasterFilterForm']?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=${_0x300cfb[_0x50a80b(0x210)]||[]}
|
|
623
|
+
.value=${_0x300cfb['searchFieldValues']||[]}
|
|
624
|
+
@filters-change=${_0x4a116a=>{const _0x363749=_0x50a80b;_0x300cfb[_0x363749(0x1d0)]();}}
|
|
625
625
|
></ox-filters-form-base>
|
|
626
626
|
</div>
|
|
627
627
|
</div>
|
|
628
628
|
`}
|
|
629
629
|
<div id="container" class="container" >
|
|
630
|
-
${
|
|
630
|
+
${_0x300cfb[_0x50a80b(0x183)]}
|
|
631
631
|
</div>
|
|
632
|
-
`;}static[
|
|
633
|
-
${0x0==
|
|
632
|
+
`;}static[a0_0x489668(0x171)](_0x581f23){const _0x11da2a=a0_0x489668;let _0x4b79f2=_0x581f23['etcConfig']['master_detail_type']||'top_bottom',_0x3b2f60=_0x581f23[_0x11da2a(0x1ff)]['master_detail_size']||_0x11da2a(0x22f),_0x5147d6=_0x581f23[_0x11da2a(0x1ff)][_0x11da2a(0x10d)],_0x46bc93=JSON['parse'](_0x5147d6||'{}'),_0x9c7802=_0x11da2a(0x177)==_0x4b79f2?_0x11da2a(0x11e)+_0x3b2f60+';':_0x11da2a(0x1bf)+_0x3b2f60+';';return MetaUiUtil[_0x11da2a(0x1e0)](_0x581f23,_0x46bc93),html`
|
|
633
|
+
${0x0==_0x581f23[_0x11da2a(0x220)]?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=${_0x581f23[_0x11da2a(0x210)]||[]}
|
|
639
|
+
.value=${_0x581f23[_0x11da2a(0x197)]||[]}
|
|
640
|
+
@filters-change=${_0x102d2a=>{const _0x1ee895=_0x11da2a;_0x581f23[_0x1ee895(0x1c6)]?.['fetch']();}}
|
|
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="${_0x9c7802}">
|
|
646
646
|
<div class="container_detail">
|
|
647
|
-
${MetaApi[
|
|
648
|
-
${MetaUiUtil[
|
|
647
|
+
${MetaApi[_0x11da2a(0x1bd)](_0x581f23)}
|
|
648
|
+
${MetaUiUtil['getButtonContainer'](_0x581f23)}
|
|
649
649
|
</div>
|
|
650
650
|
<div class="container_detail">
|
|
651
|
-
${''==
|
|
652
|
-
${
|
|
651
|
+
${''==_0x46bc93[_0x11da2a(0x166)]||'meta-tab-element'==_0x46bc93[_0x11da2a(0x166)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x11da2a(0x218)](''+_0x46bc93[_0x11da2a(0x195)])}</h2>`}
|
|
652
|
+
${_0x581f23[_0x11da2a(0x196)]}
|
|
653
653
|
</div>
|
|
654
654
|
</div>
|
|
655
|
-
`;}static[
|
|
655
|
+
`;}static[a0_0x489668(0x1e0)](_0x34d024,_0x2f3a2b){const _0x44c3a4=a0_0x489668;if(!_0x34d024['detailElement']){let _0x81a805=_0x2f3a2b['name']?_0x2f3a2b[_0x44c3a4(0x19c)]:_0x44c3a4(0x21c),_0x40bf17='<'+_0x2f3a2b[_0x44c3a4(0x166)]+'\x20id=\x22'+_0x81a805+_0x44c3a4(0x186)+_0x81a805+'\x22\x20route_name=\x22'+_0x2f3a2b[_0x44c3a4(0x140)]+'\x22\x20'+(!0x0===_0x34d024['is_activity']?_0x44c3a4(0x114):'')+'\x20'+(!0x0===_0x34d024[_0x44c3a4(0x115)]?_0x44c3a4(0x21f):'')+_0x44c3a4(0x1cd)+_0x2f3a2b[_0x44c3a4(0x166)]+'>';_0x34d024['detailElement']=UiUtil['htmlToElement'](_0x40bf17),_0x34d024[_0x44c3a4(0x196)][_0x44c3a4(0x21d)]=(_0x34d024[_0x44c3a4(0x21d)]||{})['detail'],_0x34d024['tagName'][_0x44c3a4(0x17b)]()['startsWith'](_0x44c3a4(0x1c8))&&(_0x34d024['detailElement']['rootElement']=_0x34d024);}}static['createMasterElement'](_0x5ee162){const _0x29dcba=a0_0x489668;if(!_0x5ee162['masterElement']&&_0x5ee162['filterForm']){let _0x5eaf79=_0x29dcba(0x139),_0x509f7d=_0x29dcba(0x18f)+_0x5eaf79+'\x22\x20name=\x22'+_0x5eaf79+_0x29dcba(0x18a)+_0x5ee162[_0x29dcba(0x120)]+'\x22\x20'+(!0x0===_0x5ee162[_0x29dcba(0x12f)]?_0x29dcba(0x114):'')+'\x20'+(!0x0===_0x5ee162[_0x29dcba(0x115)]?_0x29dcba(0x21f):'')+'\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>';_0x5ee162[_0x29dcba(0x183)]=UiUtil[_0x29dcba(0xf7)](_0x509f7d),_0x5ee162[_0x29dcba(0x183)][_0x29dcba(0x21d)]=(_0x5ee162[_0x29dcba(0x21d)]||{})[_0x29dcba(0x139)],_0x5ee162[_0x29dcba(0x183)][_0x29dcba(0x17f)]=!0x0,_0x5ee162[_0x29dcba(0x183)][_0x29dcba(0x18d)]=_0x5ee162['filterForm'],_0x5ee162[_0x29dcba(0x183)][_0x29dcba(0x1d6)]=_0x5ee162;}}static[a0_0x489668(0xff)](_0x4b0e15,_0x26bbc4){const _0x117802=a0_0x489668;if(_0x4b0e15[_0x117802(0x1d8)]||(_0x4b0e15[_0x117802(0x1d8)]={}),Object[_0x117802(0x1ef)](_0x4b0e15[_0x117802(0x1d8)])['filter'](_0x24fd71=>_0x24fd71==_0x26bbc4[_0x117802(0x19c)])['length']>0x0)return _0x4b0e15['tabElements'][_0x26bbc4[_0x117802(0x19c)]];let _0x5793af='<'+_0x26bbc4[_0x117802(0x166)]+'\x20id=\x27'+_0x26bbc4['name']+_0x117802(0xf1)+_0x26bbc4[_0x117802(0x1c9)]+_0x117802(0x118)+(!0x0===_0x4b0e15[_0x117802(0x12f)]?_0x117802(0x114):'')+'\x20'+(!0x0===_0x4b0e15[_0x117802(0x115)]?_0x117802(0x21f):'')+_0x117802(0x1fb)+_0x26bbc4['tagname']+'>',_0x2a3b95=UiUtil[_0x117802(0xf7)](_0x5793af);return _0x2a3b95[_0x117802(0x21d)]=(_0x4b0e15[_0x117802(0x21d)]||{})[_0x26bbc4[_0x117802(0x19c)]],_0x4b0e15[_0x117802(0x1cb)]&&(_0x2a3b95[_0x117802(0x1cb)]=_0x4b0e15[_0x117802(0x1cb)]),_0x4b0e15['rootElement']?_0x2a3b95[_0x117802(0x1d6)]=_0x4b0e15[_0x117802(0x1d6)]:_0x2a3b95[_0x117802(0x196)]=_0x4b0e15,!0x1===_0x26bbc4['filter_from']&&(_0x2a3b95[_0x117802(0x187)]=!0x1),_0x26bbc4[_0x117802(0x15a)]&&(_0x2a3b95['mainFilterForm']=_0x26bbc4[_0x117802(0x15a)]),_0x4b0e15[_0x117802(0x1d8)][_0x26bbc4[_0x117802(0x19c)]]=_0x2a3b95,_0x2a3b95;}static['getGridDetailHtml'](_0x3716d7){const _0x40e575=a0_0x489668;let _0x427171=_0x3716d7['useButtonAdd'],_0x1f947c=_0x3716d7['useFilterForm'],_0x3f3d98=_0x3716d7[_0x40e575(0x202)],_0x511c88=JSON[_0x40e575(0xf3)]((_0x3716d7[_0x40e575(0x1ff)]||{})['use_grid_sort_button']||_0x40e575(0x20f));return 0x0==_0x1f947c?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['getGridColumnPersonalizeButton'](_0x3716d7)}
|
|
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
|
+
${_0x511c88?html`
|
|
664
664
|
<div id="sorters">
|
|
665
|
-
<mwc-icon @click=${
|
|
665
|
+
<mwc-icon @click=${_0x135cac=>{const _0x3549df=_0x40e575,_0x669f94=_0x135cac[_0x3549df(0x14d)];_0x669f94[_0x3549df(0x1ca)][_0x3549df(0x12b)]({'right':0x0,'top':_0x669f94['offsetTop']+_0x669f94[_0x3549df(0x135)]});}}
|
|
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['getGridViewOption'](_0x3716d7)}
|
|
673
673
|
<ox-record-creator
|
|
674
674
|
id="add"
|
|
675
|
-
?hidden="${!
|
|
676
|
-
.callback=${
|
|
675
|
+
?hidden="${!_0x427171}"
|
|
676
|
+
.callback=${_0x3f3d98}>
|
|
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[_0x40e575(0x1f1)](_0x3716d7)}
|
|
683
683
|
</div>
|
|
684
|
-
`;}static['getGridColumnPersonalizeButton'](
|
|
684
|
+
`;}static['getGridColumnPersonalizeButton'](_0xd7325d){const _0x53f625=a0_0x489668;return _0x53f625(0x14a)!=_0xd7325d[_0x53f625(0x1c4)]?html``:!0x0!==_0xd7325d[_0x53f625(0x12f)]?html`
|
|
685
685
|
<div id="grist-personal">
|
|
686
|
-
<mwc-icon @click=${
|
|
686
|
+
<mwc-icon @click=${_0x4e5467=>{const _0x319952=_0x53f625;let _0x108e88=MetaApi[_0x319952(0x151)]('personal-column-selector',_0x319952(0x188));_0x108e88[_0x319952(0x19a)]=_0x4e5467['currentTarget'][_0x319952(0x100)][_0x319952(0x100)]['parentElement'],_0x108e88[_0x319952(0x22e)]=_0xd7325d[_0x319952(0x22e)],MetaApi[_0x319952(0x217)](TermsUtil[_0x319952(0x218)]('grid-column-personalize'),'midium',_0x108e88,!0x1);}}
|
|
687
687
|
>tune</mwc-icon>
|
|
688
688
|
</div>
|
|
689
|
-
`:html``;}static[
|
|
689
|
+
`:html``;}static[a0_0x489668(0x19b)](_0x167d59){const _0x4274ad=a0_0x489668;return ValueUtil[_0x4274ad(0x235)](_0x167d59[_0x4274ad(0xf8)])||0x1==_0x167d59[_0x4274ad(0xf8)]['length']?html``:html`
|
|
690
690
|
<div id="modes">
|
|
691
|
-
${
|
|
692
|
-
${
|
|
693
|
-
${
|
|
691
|
+
${_0x167d59[_0x4274ad(0xf8)][_0x4274ad(0x1a3)](_0x4274ad(0x14a))?html`<mwc-icon @click="${()=>_0x167d59[_0x4274ad(0x1c4)]=_0x4274ad(0x14a)}" ?active="${_0x4274ad(0x14a)==_0x167d59[_0x4274ad(0x1c4)]}">grid_on</mwc-icon>`:''}
|
|
692
|
+
${_0x167d59[_0x4274ad(0xf8)]['includes']('LIST')?html`<mwc-icon @click="${()=>_0x167d59[_0x4274ad(0x1c4)]='LIST'}" ?active="${_0x4274ad(0x146)==_0x167d59[_0x4274ad(0x1c4)]}">format_list_bulleted</mwc-icon>`:''}
|
|
693
|
+
${_0x167d59[_0x4274ad(0xf8)][_0x4274ad(0x1a3)](_0x4274ad(0xeb))?html`<mwc-icon @click="${()=>_0x167d59[_0x4274ad(0x1c4)]=_0x4274ad(0xeb)}" ?active="${'CARD'==_0x167d59[_0x4274ad(0x1c4)]}">apps</mwc-icon>`:''}
|
|
694
694
|
</div>
|
|
695
|
-
`;}static[
|
|
695
|
+
`;}static['getButtonContainer'](_0x30c27d){const _0x225e73=a0_0x489668;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x225e73(0x16b)](_0x30c27d)}</div>`;}}
|