@things-factory/meta-ui 6.1.28 → 6.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/bootstrap.js +1 -3
- package/client/component/filter/filter-form-meta-code-select.js +10 -10
- package/client/component/filter/filter-form-meta-object-select.js +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +6 -6
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
- package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
- package/client/component/popup/code-input-editor-popup.js +10 -10
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +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 +16 -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 +102 -102
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +10 -10
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x438792=a0_0x415f;(function(_0x7aca73,_0x40821e){const _0x4c5f9a=a0_0x415f,_0x472884=_0x7aca73();while(!![]){try{const _0x95996=-parseInt(_0x4c5f9a(0x1db))/0x1*(-parseInt(_0x4c5f9a(0x1c2))/0x2)+parseInt(_0x4c5f9a(0x1b1))/0x3*(-parseInt(_0x4c5f9a(0x112))/0x4)+-parseInt(_0x4c5f9a(0x22c))/0x5*(-parseInt(_0x4c5f9a(0x144))/0x6)+-parseInt(_0x4c5f9a(0x142))/0x7*(-parseInt(_0x4c5f9a(0xdc))/0x8)+parseInt(_0x4c5f9a(0x121))/0x9+parseInt(_0x4c5f9a(0x186))/0xa+-parseInt(_0x4c5f9a(0x223))/0xb;if(_0x95996===_0x40821e)break;else _0x472884['push'](_0x472884['shift']());}catch(_0x10c85f){_0x472884['push'](_0x472884['shift']());}}}(a0_0x355c,0x4967a));import a0_0x1daf01 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x3d632c from'moment-timezone';function a0_0x355c(){const _0x178f4a=['getParams','gridColumnConfig','meta-tab-detail-','text.button_bind_func_is_not_exist','left','getBasicMainTabStyles','datetime','basicArgs','startsWith','gristButtonValueReference','gridMode','getObjctColumnSelectFields','isNotEmpty','dec','gridMobileMode','notify','top-down','customButtonHandler','menu','after_set_fields','setGridColumnSearchOption','main_filter_form','111727TqXGXE','masterElement','48MmievO','master_detail_type','metaUI','pages','getBasicFormHtmlOnOption','meta-master-detail-','pass_field','dirty','findOne','-object-','getGridColumnPersonalizeButton','record','getBasicTabDetailStyles','commonButtonOpenPopup','title_detail','subtract','getBasicGristTabStyles','getGristSearchCodeColumnConfig','column','useButtonAdd','activityDataSet','formRenderConfig','defaultPageConfig','getMenuMeta','getGristTabHtml','tError','\x20is_detail=true\x20style=\x22flex:1;\x22></','createDetailElement','getGristHiddenColumnConfig','gql','midium','getSelectColumns','option','\x0a{\x0aid\x0aname\x0athumbnail}','menuInfo','mutation','selected','getGristSearchColumnConfig','param_field','currentRouting','includes','meta-form-element','confirm','board','selectorName','dense','detail','gridViewOptions','options','isMobileEnv','searchConfig','text.grid_is_not_exist','title','<meta-tab-element\x20id=\x22','referenceField','replace','value_is_not_exist','GRID','is_activity=true','tTitle','50%\x2050%','arguments[0].','getButtonContainer','gridDeskMode','min','YYYY-MM-DD','305960tcDdLr','split','formColumnConfig','history_json','height:auto;grid-template-columns:','args','backgroundColor','scenario','getBasicGristHtml','getGristGuttersConfig','code','detailElement','sec','operator','filters','value_reference','open','filterForm','mainFilterForm','bind','list_func','getMenuMetaData','url','fieldChangeHandlers','records','master_detail_size','editable','\x201fr\x202fr','gqlInfo','nextElementSibling','currentTarget','\x20id=\x27','type','name','__dirtyfields__','multiple','pages/hgistory/history-copy-list-popup.js','menuId','values','handlers','pass_param','getMasterDetailTopDownGristStyle','grid-column-personalize','9RdxYIX','isPage','second','tabElements','getMainTabHtml','gridEmphasized','getGristSelectorColumnConfig','openDynamicPopup','getGristColumnConfig3','is_readonly','false','resource-object','getGridRowSet','classifier','callScenario','getBasicGristPageProperties','currentTabKey','10WCutWW','object','searchByPagination','history_copy','ox-grist','gridConfig','filterFields','master','dispField','grid','createMasterElement','getGristMetaObjectOptions','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','getCodeSelectorData','getCodeByScenario','use_filter_form','gutter','select','unlimited','year','getGridOptionSet','danger','basic','grist_selected','data','118117tiIdht','getGristColumnConfig2','searchFields','outlined','getGridButtonSet','template','getGridDetailHtml','master_detail_element','getState','date','queryName','useButtonExport','runnerPermission','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','value','getGristCodeSelectorColumnConfig','title.info','find_one_func','getBasicMasterDetailGristStyle','getGridViewOption','skip_fields','query','parent_field','CARD','arguments[1]','display:none','is_readonly=true','defaultValue','text.there_is_no_selected_items','rootElement','isArray','stringify','meta-code-selector','isGridButtonExist','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','fontColor','display:flex','length','\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getGristPersonalizedStyles','meta-grist-tab-','text.nothing_selected','getGristPaginationCustomConfig','imex','getBasicFormHtml','pages/meta-form-element.js','parse','pageNavigate','getGridColumnSet','getBasicTabContent','title.warning','left_right','open_param','formConfigSet','editor','<mwc-button\x20label=\x22','compareObjectValues','getGridListSet','meta-tab-element','\x0aid\x0aname\x0adescription','fetch','\x22\x20name=\x22','useMasterFilterForm','codes','push','today','grist','parent_id','buttonConfig','getGristSelectableConfig','location','parentElement','11293634msDxpY','top_bottom','default_form_column','offsetTop','createCustomElement','datetime-local','after','nameField','tagName','192895TpiXhj','setParentId','tButton','relation','querySelector','info','button','getButtonActionHandler','display','getGristColumnConfig','self','row','is_activity','\x22\x20route_name=\x22','string','showAlertPopup','importable','recordCreationCallback','dispatchEvent','gristButtonPassParam','parseFormConfigSet','large','hour','entity','codeField','desc','use_grid_sort_button','findIndex','minute','getContextButtons','logic','icon','getCodeByEntity','map','136TgIsML','tText','YYYY-MM-DD\x20HH:mm:ss','findMenuMetaByRouting','getBasicTabHtml','tagname','model','startOf','searchFieldValues','personal-column-selector','tabRenderConfig','use_row_checker','data_history_list','filter','hidden','import','page','grist_changed','gristId','onclick','assign','route_name','getBasicTabStyles','find','tMenu','keys','form','getBasicFormHtmlNoOption','rank','meta-object-selector','forEach','grist_one','getGristEmphasizedStyles','findMenuMeta','getQueryFilters','grid_column','sort','row-selector','meta-','service','format','floor','grid-template-columns:','header_txt','getCustomButtonContainerStyles','getBasicGristStyles','month','getContainerButtons','search','htmlToElement','runScenario','tLabel','toLowerCase','getTabDetailHtml','99608nXWHVa','openPopupByElement','getMasterDetailLeftRightGristStyle','add','LIST','invalid\x20license\x20key','grid-template-rows:','emphasis','etcConfig','useFilterForm','column_list','infinityPage','grist_all','label','popup','1808244rAxxCc','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','errors','getContextObject','createButtonElement','\x27\x20route_name=\x27','configGrist','gristButtonHandler','isEmpty','raised','commonButtonCallScenario'];a0_0x355c=function(){return _0x178f4a;};return a0_0x355c();}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_0x415f(_0x2292a6,_0x57055d){const _0x355cc9=a0_0x355c();return a0_0x415f=function(_0x415f54,_0x459a71){_0x415f54=_0x415f54-0xbc;let _0x147962=_0x355cc9[_0x415f54];return _0x147962;},a0_0x415f(_0x2292a6,_0x57055d);}import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';import'./../pages/history/history-json-list-popup';import{getValueGenerators,getValueGenerator}from'@operato/data-grist';export class MetaUiUtil{static async[a0_0x438792(0xfd)](_0x21c503){const _0x33784a=a0_0x438792;let _0x437a00=await ServiceUtil[_0x33784a(0x14c)](_0x33784a(0x13e),_0x21c503,'template');if(!_0x437a00)throw new Error(TermsUtil[_0x33784a(0xdd)](_0x33784a(0x17c),{'value':TermsUtil[_0x33784a(0xf4)](_0x33784a(0x13e))+'\x20'+_0x21c503}));if(!_0x437a00[_0x33784a(0x1e0)])throw new Error(TermsUtil['tText']('value_is_not_exist',{'value':TermsUtil[_0x33784a(0xf4)]('menu')+'\x20'+TermsUtil[_0x33784a(0x10f)](_0x33784a(0xe2))}));return this['menuId']=_0x21c503,JSON[_0x33784a(0x209)](_0x437a00[_0x33784a(0x1e0)]);}static async[a0_0x438792(0x19b)](_0x1656de){const _0x24cf20=a0_0x438792;if((await client['query']({'query':a0_0x1daf01`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))[_0x27ba33(0x2bc)])return;let _0x3526dd=[{'name':_0x27ba33(0x1dd),'operator':'eq','value':_0x5d5988}];return await ServiceUtil[_0x27ba33(0x1ee)]('menus',_0x3526dd,null,0x0,0x0,_0x27ba33(0x1d0));}static async[a0_0x471413(0x237)](_0x15d86c,_0x58c33d){const _0x6de7b1=a0_0x471413;let _0x4282cf,_0x49d6bd=await MetaUiUtil[_0x6de7b1(0x1d4)](_0x58c33d);if(_0x49d6bd&&_0x49d6bd[_0x6de7b1(0x20e)]&&0x0!=_0x49d6bd[_0x6de7b1(0x20e)][_0x6de7b1(0x27d)]?(_0x4282cf=_0x49d6bd[_0x6de7b1(0x20e)][0x0],!_0x4282cf[_0x6de7b1(0x228)]&&_0x15d86c[_0x6de7b1(0x2a2)]&&(_0x4282cf['template']=_0x15d86c[_0x6de7b1(0x2a2)])):_0x15d86c[_0x6de7b1(0x2a2)]&&(_0x4282cf={'id':_0x58c33d,'template':_0x15d86c[_0x6de7b1(0x2a2)]}),!_0x4282cf)throw new Error(TermsUtil[_0x6de7b1(0x19c)]('value_is_not_exist',{'value':TermsUtil[_0x6de7b1(0x245)](_0x6de7b1(0x17a))+'\x20'+_0x58c33d}));if(!_0x4282cf['template'])throw new Error(TermsUtil['tText'](_0x6de7b1(0x2b6),{'value':TermsUtil['tMenu'](_0x6de7b1(0x17a))+'\x20'+TermsUtil['tLabel']('model')}));return this[_0x6de7b1(0x227)]=_0x4282cf['id'],JSON[_0x6de7b1(0x1f5)](MetaCrypto[_0x6de7b1(0x1f3)](_0x4282cf[_0x6de7b1(0x228)]));}static[a0_0x471413(0x197)](){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':_0xcd33d5=>Boolean(_0xcd33d5)},'is_popup':{'type':Boolean,'converter':_0x37d27d=>Boolean(_0x37d27d)},'is_activity':{'type':Boolean,'converter':_0x2d96e8=>Boolean(_0x2d96e8)},'is_readonly':{'type':Boolean,'converter':_0x5421e9=>Boolean(_0x5421e9)}};}static async[a0_0x471413(0x1f8)](_0x5de8e4){const _0x12adac=a0_0x471413;if(0x0==store[_0x12adac(0x2ba)]()['metaUI']['runnerPermission'])return void document[_0x12adac(0x295)](new CustomEvent(_0x12adac(0x16d),{'detail':{'level':_0x12adac(0x220),'message':TermsUtil[_0x12adac(0x2b4)](_0x12adac(0x251))}}));let _0x52e491=_0x5de8e4[_0x12adac(0x26f)]?UiUtil['currentRouting']():_0x5de8e4['route_name'];_0x5de8e4['currentRouting']=_0x52e491;let _0x17f671=await MetaUiUtil[_0x12adac(0x237)](_0x5de8e4,_0x52e491);return!0x0===_0x5de8e4[_0x12adac(0x1e4)]&&(_0x17f671[_0x12adac(0x1cf)][_0x12adac(0x1a9)][_0x12adac(0x2d1)]=!0x1,_0x17f671[_0x12adac(0x1cf)][_0x12adac(0x1a9)][_0x12adac(0x22d)]='unlimited',_0x17f671['grid'][_0x12adac(0x1f4)]=!0x1,_0x17f671['grid'][_0x12adac(0x18b)]=[],_0x17f671['button']=_0x17f671['button']['filter'](_0xe02282=>_0x12adac(0x2c2)==_0xe02282[_0x12adac(0x1b1)])),!0x0===_0x5de8e4['is_readonly']&&(_0x17f671[_0x12adac(0x183)][_0x12adac(0x2cd)](_0x390c2b=>{const _0x106456=_0x12adac;_0x390c2b[_0x106456(0x23e)]=!0x1;}),_0x17f671[_0x12adac(0x18b)]=_0x17f671[_0x12adac(0x18b)][_0x12adac(0x1ec)](_0x5711c0=>_0x12adac(0x2c2)!=_0x5711c0['name'])),!0x1===_0x5de8e4[_0x12adac(0x1f4)]&&(_0x17f671[_0x12adac(0x1cf)][_0x12adac(0x1f4)]=!0x1),_0x17f671[_0x12adac(0x183)][_0x12adac(0x1ec)](_0x10c0ad=>_0x10c0ad['change_event_handler'])[_0x12adac(0x2cd)](_0xafdc44=>{const _0x475bc6=_0x12adac;_0x5de8e4['fieldChangeHandlers']||(_0x5de8e4['fieldChangeHandlers']={}),_0x5de8e4[_0x475bc6(0x214)][_0xafdc44[_0x475bc6(0x1b1)]]=_0xafdc44[_0x475bc6(0x1e9)];}),_0x17f671['grid_column']['forEach'](_0x4f88d3=>{const _0x467cce=_0x12adac;[_0x467cce(0x213),'object'][_0x467cce(0x289)](_0x4f88d3[_0x467cce(0x2d6)])?_0x4f88d3[_0x467cce(0x2d6)]=_0x467cce(0x26e):['resource-code-selector'][_0x467cce(0x289)](_0x4f88d3[_0x467cce(0x2d6)])&&(_0x4f88d3[_0x467cce(0x2d6)]='meta-code-selector');}),_0x17f671;}static[a0_0x471413(0x233)](..._0x5391ff){return{'pages':_0x5391ff};}static[a0_0x471413(0x1ad)](_0x31db82,_0xbe7741){const _0x1f2649=a0_0x471413;let _0x34ce09=[{'type':_0x1f2649(0x25c),'gutterName':'dirty'},{'type':_0x1f2649(0x25c),'gutterName':_0x1f2649(0x278)}];return _0x31db82&&_0x34ce09[_0x1f2649(0x23c)]({'type':'gutter','gutterName':_0x1f2649(0x2c6),'multiple':_0xbe7741}),_0x34ce09;}static[a0_0x471413(0x2ca)](_0x37d78a){return{'selectable':{'multiple':_0x37d78a}};}static async[a0_0x471413(0x2af)](_0x23a878){const _0x36a988=a0_0x471413;_0x23a878[_0x36a988(0x27e)]||(_0x23a878['gqlInfo']={}),_0x23a878['gqlInfo']['query']||(_0x23a878[_0x36a988(0x27e)][_0x36a988(0x1db)]={}),_0x23a878['gqlInfo'][_0x36a988(0x1db)]['after_set_fields']||(_0x23a878[_0x36a988(0x27e)][_0x36a988(0x1db)][_0x36a988(0x1d8)]={}),_0x23a878[_0x36a988(0x27e)][_0x36a988(0x28e)]||(_0x23a878['gqlInfo'][_0x36a988(0x28e)]={}),_0x23a878[_0x36a988(0x27e)][_0x36a988(0x28e)][_0x36a988(0x257)]||(_0x23a878[_0x36a988(0x27e)][_0x36a988(0x28e)][_0x36a988(0x257)]={}),_0x23a878[_0x36a988(0x27e)][_0x36a988(0x28e)]['multiple'][_0x36a988(0x23d)]||(_0x23a878[_0x36a988(0x27e)][_0x36a988(0x28e)][_0x36a988(0x257)][_0x36a988(0x23d)]=[]);let _0x570cac=MetaUiUtil[_0x36a988(0x216)](_0x23a878),_0xb2f00c=MetaUiUtil['getGridListSet'](_0x23a878),_0x42d644=MetaUiUtil[_0x36a988(0x259)](_0x23a878),_0x88b0f4=MetaUiUtil[_0x36a988(0x252)](_0x23a878),_0x297c19=await MetaUiUtil[_0x36a988(0x2a8)](_0x23a878);_0x297c19[_0x36a988(0x1ec)](_0x21d38f=>[_0x36a988(0x26e)]['includes'](_0x21d38f[_0x36a988(0x2d6)]))[_0x36a988(0x2cd)](_0x585333=>{const _0x2b0d07=_0x36a988;_0x23a878[_0x2b0d07(0x290)][_0x2b0d07(0x1ec)](_0x54d578=>_0x54d578['name']==_0x585333[_0x2b0d07(0x1b1)])[_0x2b0d07(0x2cd)](_0x1a41ed=>{const _0x3c3924=_0x2b0d07,_0x583e99=_0x585333[_0x3c3924(0x189)][_0x3c3924(0x1de)],_0x2ae013=_0x583e99['referenceField']?_0x583e99['referenceField']:_0x585333[_0x3c3924(0x1b1)]+'Id',_0x2372cd=_0x23a878[_0x3c3924(0x290)][_0x3c3924(0x273)](_0x1c82a9=>_0x1c82a9['name']==_0x585333[_0x3c3924(0x1b1)]);_0x297c19[_0x3c3924(0x23c)]({'type':'meta-object-selector','header':_0x585333['header'],'name':_0x2ae013,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x583e99}}),_0x23a878['gqlInfo']['query']['after_set_fields'][_0x2ae013]='x',_0x23a878[_0x3c3924(0x27e)][_0x3c3924(0x28e)][_0x3c3924(0x257)][_0x3c3924(0x23d)]['push'](_0x2ae013),_0x23a878[_0x3c3924(0x290)][_0x2372cd][_0x3c3924(0x1b1)]=_0x2ae013,_0x23a878[_0x3c3924(0x290)][_0x2372cd]['type']=_0x3c3924(0x26e);});});let _0x130e67=MetaUiUtil['getGristGuttersConfig'](_0x570cac[_0x36a988(0x2d1)],_0x42d644['selectable']['multiple']);if(0x1==_0x23a878[_0x36a988(0x274)]&&(_0x297c19=MetaUiUtil[_0x36a988(0x236)](_0x23a878,_0x297c19)),_0x23a878[_0x36a988(0x2c1)]&&(_0x23a878[_0x36a988(0x2c1)]&&_0x23a878[_0x36a988(0x2c1)]['row']&&_0x23a878[_0x36a988(0x2c1)][_0x36a988(0x298)]['length']>0x0&&(_0x42d644[_0x36a988(0x185)]=function(_0x382fbc,_0x5a5635){const _0xf1c200=_0x36a988;let _0xf9158c=_0x23a878['gridEmphasized'][_0xf1c200(0x298)];for(let _0x55f15f=0x0;_0x55f15f<_0xf9158c[_0xf1c200(0x27d)];_0x55f15f++){let _0x9f81f0=_0xf9158c[_0x55f15f][_0xf1c200(0x212)][_0xf1c200(0x271)](/record./g,_0xf1c200(0x234))['replace'](/rowIndex/g,_0xf1c200(0x20d));if(eval(''+_0x9f81f0))return{'emphasized':[_0xf9158c[_0x55f15f][_0xf1c200(0x2ab)],_0xf9158c[_0x55f15f][_0xf1c200(0x256)]]};}}),_0x23a878['gridEmphasized']&&_0x23a878[_0x36a988(0x2c1)][_0x36a988(0x219)])){let _0x218a16=_0x23a878['gridEmphasized'][_0x36a988(0x219)];Object[_0x36a988(0x224)](_0x218a16)[_0x36a988(0x2cd)](_0x331204=>{const _0x54cf9d=_0x36a988;let _0x3f1341=_0x218a16[_0x331204],_0x161f7f=_0x297c19[_0x54cf9d(0x273)](_0x5c3f60=>_0x5c3f60[_0x54cf9d(0x1b1)]==_0x331204);_0x297c19[_0x161f7f][_0x54cf9d(0x189)]||(_0x297c19[_0x161f7f][_0x54cf9d(0x189)]={}),_0x297c19[_0x161f7f][_0x54cf9d(0x189)]['classifier']=function(_0x25ef09,_0x4065f7){const _0x572abf=_0x54cf9d;for(let _0x48b03e=0x0;_0x48b03e<_0x3f1341[_0x572abf(0x27d)];_0x48b03e++){let _0x487f12=_0x3f1341[_0x48b03e][_0x572abf(0x212)][_0x572abf(0x271)](/record./g,_0x572abf(0x234))[_0x572abf(0x271)](/rowIndex/g,_0x572abf(0x20d));if(eval(''+_0x487f12))return{'emphasized':[_0x3f1341[_0x48b03e][_0x572abf(0x2ab)],_0x3f1341[_0x48b03e]['fontColor']]};}};});}return{'list':_0xb2f00c,'pagination':_0x570cac[_0x36a988(0x22d)],'sorters':_0x570cac[_0x36a988(0x24a)],'rows':_0x42d644,'columns':[..._0x130e67,..._0x88b0f4,..._0x297c19]};}static async['parseFormConfigSet'](_0x1e4457){const _0x1fc89a=a0_0x471413;let _0x5b5f13=_0x1e4457[_0x1fc89a(0x2d5)],_0x29b922=[],_0x516100=Object[_0x1fc89a(0x224)](getValueGenerators());for(let _0x15d627=0x0;_0x15d627<_0x5b5f13['length'];_0x15d627++){let {type:_0x460345='string',name:_0x8796ba,header:_0x5802e2,hidden:_0x3e5aa4=!0x1,editable:_0x49ea53=!0x0,mandatory:_0x26f128=!0x1,align:_0x580f2b='left',select_opt:_0x95e377,object_opt:_0x435f40,default_value:_0x33f332}=_0x5b5f13[_0x15d627],_0x1e11fa={'type':_0x460345,'name':_0x8796ba,'header_txt':ValueUtil[_0x1fc89a(0x284)](_0x5802e2)?TermsUtil['tLabel'](_0x8796ba):TermsUtil[_0x1fc89a(0x276)](_0x5802e2),'header':{'renderer':function(_0x3ecf84){const _0x2af2e9=_0x1fc89a;return _0x3ecf84[_0x2af2e9(0x270)];}},'hidden':_0x3e5aa4,'record':{'editable':_0x49ea53,'mandatory':_0x26f128,'align':_0x580f2b,'classifier':function(){},'renderer':getRenderer(_0x460345)}};_0x49ea53&&(_0x1e11fa['record'][_0x1fc89a(0x279)]=getEditor(_0x460345)),_0x33f332&&(_0x516100['includes'](_0x33f332)?_0x1e11fa[_0x1fc89a(0x189)]['defaultValue']=getValueGenerator(_0x33f332):_0x1e11fa[_0x1fc89a(0x189)][_0x1fc89a(0x249)]=_0x33f332),_0x460345[_0x1fc89a(0x1b7)](_0x1fc89a(0x201))&&_0x435f40&&_0x435f40[_0x1fc89a(0x17a)]&&(_0x435f40=await MetaUiUtil[_0x1fc89a(0x260)](_0x460345,_0x435f40)),_0x1fc89a(0x2b3)===_0x460345&&ValueUtil[_0x1fc89a(0x1a6)](_0x95e377)&&(Array[_0x1fc89a(0x17b)](_0x95e377)?_0x1e11fa[_0x1fc89a(0x189)]['options']=_0x95e377:_0x1fc89a(0x18d)===_0x95e377['type']?_0x1e11fa['record']['options']=await ServiceUtil[_0x1fc89a(0x21e)](_0x95e377[_0x1fc89a(0x175)]?_0x95e377[_0x1fc89a(0x175)]:_0x95e377[_0x1fc89a(0x1b1)]):_0x1fc89a(0x239)===_0x95e377[_0x1fc89a(0x2d6)]?_0x1e11fa[_0x1fc89a(0x189)][_0x1fc89a(0x1de)]=await ServiceUtil['getCodeByScenario'](_0x95e377[_0x1fc89a(0x1b1)],_0x95e377[_0x1fc89a(0x184)]):_0x1fc89a(0x222)===_0x95e377['type']&&(_0x1e11fa[_0x1fc89a(0x189)][_0x1fc89a(0x1de)]=await ServiceUtil[_0x1fc89a(0x1f7)](_0x95e377[_0x1fc89a(0x184)]))),_0x1fc89a(0x26e)===_0x460345&&ValueUtil['isNotEmpty'](_0x435f40)?_0x1e11fa[_0x1fc89a(0x189)][_0x1fc89a(0x1de)]={..._0x435f40}:_0x1fc89a(0x1bc)===_0x460345&&ValueUtil[_0x1fc89a(0x1a6)](_0x435f40)&&(_0x435f40['dispField']&&(_0x435f40[_0x1fc89a(0x2e6)]=await ServiceUtil['getCodeByEntity'](_0x435f40)),_0x1e11fa[_0x1fc89a(0x189)]['options']={..._0x435f40}),_0x29b922[_0x1fc89a(0x23c)](_0x1e11fa);}return _0x29b922;}static[a0_0x471413(0x216)](_0x54a2b1){const _0x22a831=a0_0x471413;let _0x30aea2=_0x54a2b1[_0x22a831(0x1c0)];_0x54a2b1[_0x22a831(0x274)]=!_0x30aea2||null==_0x30aea2[_0x22a831(0x1f4)]||_0x30aea2['use_filter_form'];let {mobile_mode:_0x3d6099=_0x22a831(0x2aa),desk_mode:_0x4cfd40=_0x22a831(0x17c),view_mode:_0x153152=[],use_row_checker:_0x2cc3df=!0x0,sorters:_0x4a79f4=[],pages:_0x16af78=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x22a831(0x284)](_0x30aea2[_0x22a831(0x1a9)])?{}:_0x30aea2[_0x22a831(0x1a9)];return _0x22a831(0x29f)===_0x16af78||'-1'===_0x16af78?(_0x54a2b1[_0x22a831(0x215)]=!0x0,_0x16af78={'infinite':!0x0}):(_0x54a2b1[_0x22a831(0x215)]=!0x1,_0x16af78[_0x22a831(0x2e1)](function(_0x2c9e32,_0x5a800e){return _0x2c9e32-_0x5a800e;}),_0x16af78={'pages':_0x16af78}),ValueUtil[_0x22a831(0x1a6)](_0x153152)&&(0x1==_0x153152[_0x22a831(0x27d)]?(_0x4cfd40=_0x153152[0x0],_0x3d6099=_0x153152[0x0]):_0x153152['length']>=0x2&&(_0x153152[_0x22a831(0x289)](_0x3d6099)||(_0x3d6099=_0x153152[0x1]),_0x153152['includes'](_0x4cfd40)||(_0x4cfd40=_0x153152[0x0]))),_0x54a2b1[_0x22a831(0x172)]=_0x3d6099,_0x54a2b1[_0x22a831(0x1e1)]=_0x4cfd40,_0x54a2b1[_0x22a831(0x187)]=_0x153152,_0x54a2b1[_0x22a831(0x2da)]=UiUtil['isMobileEnv']()?_0x54a2b1[_0x22a831(0x172)]:_0x54a2b1['gridDeskMode'],{'use_row_checker':_0x2cc3df,'sorters':_0x4a79f4,'pages':_0x16af78};}static['getGridListSet'](_0x4dab80){const _0x2ee3f0=a0_0x471413;let _0x2ae149={'fields':[ValueUtil[_0x2ee3f0(0x180)](_0x4dab80[_0x2ee3f0(0x1fe)],_0x2ee3f0(0x1b1)),ValueUtil[_0x2ee3f0(0x180)](_0x4dab80[_0x2ee3f0(0x1fe)],_0x2ee3f0(0x2e2))]};return _0x4dab80[_0x2ee3f0(0x1c0)]['list']&&Object[_0x2ee3f0(0x225)](_0x2ae149,_0x4dab80[_0x2ee3f0(0x1c0)][_0x2ee3f0(0x203)]),_0x2ae149;}static[a0_0x471413(0x259)](_0x4a75c1){const _0x3b6188=a0_0x471413;let {multiple_select:_0x172b54=!0x1,click:_0x4e325f}=ValueUtil[_0x3b6188(0x284)](_0x4a75c1['gridConfig']['row'])?{}:_0x4a75c1[_0x3b6188(0x1c0)][_0x3b6188(0x298)],_0x1194eb={'selectable':{'multiple':_0x172b54},'appendable':_0x4a75c1['useButtonAdd']};return ValueUtil[_0x3b6188(0x1a6)](_0x4e325f)&&(_0x1194eb[_0x3b6188(0x21f)]={'click':_0x4e325f}),_0x1194eb;}static[a0_0x471413(0x252)](_0x58fb3f){const _0xbff563=a0_0x471413;let _0x26c254=_0x58fb3f[_0xbff563(0x1c0)][_0xbff563(0x18b)];return ValueUtil[_0xbff563(0x284)](_0x26c254)?[]:_0x26c254['map'](_0x38c5cf=>{const _0x396fa2=_0xbff563;let _0x5bf393={'type':_0x396fa2(0x25c),'gutterName':_0x396fa2(0x18b)};if(ValueUtil[_0x396fa2(0x1a6)](_0x38c5cf[_0x396fa2(0x2bf)])&&(Array['isArray'](_0x38c5cf[_0x396fa2(0x2bf)])?_0x5bf393[_0x396fa2(0x2bf)]=_0x53b99f=>{const _0x288733=_0x396fa2;if(ValueUtil[_0x288733(0x1a6)](_0x53b99f))for(let _0x56ad74=0x0;_0x56ad74<_0x38c5cf[_0x288733(0x2bf)][_0x288733(0x27d)];_0x56ad74++){let _0x4c06f0=_0x38c5cf[_0x288733(0x2bf)][_0x56ad74];if(!0x0===ValueUtil['compareObjectValues'](_0x4c06f0,_0x53b99f,Object[_0x288733(0x224)](_0x4c06f0)[_0x288733(0x1ec)](_0x3700c6=>'icon'!=_0x3700c6)))return _0x4c06f0[_0x288733(0x2bf)];}}:_0x5bf393[_0x396fa2(0x2bf)]=_0x38c5cf[_0x396fa2(0x2bf)]),ValueUtil['isNotEmpty'](_0x38c5cf[_0x396fa2(0x1b1)])&&(_0x5bf393[_0x396fa2(0x1b1)]=_0x38c5cf['name']),ValueUtil[_0x396fa2(0x1a6)](_0x38c5cf['label'])&&(_0x5bf393[_0x396fa2(0x223)]=TermsUtil['tButton'](_0x38c5cf[_0x396fa2(0x198)])),_0x396fa2(0x1c7)===_0x38c5cf[_0x396fa2(0x2d6)]){let _0x24cb08=ValueUtil[_0x396fa2(0x180)](_0x38c5cf,_0x396fa2(0x212));[_0x396fa2(0x221),_0x396fa2(0x1b2)]['includes'](_0x24cb08)?_0x5bf393[_0x396fa2(0x21f)]={'click':(_0x47c1b5,_0x1da6fb,_0x14151c,_0x53b5d1,_0x5f49c4)=>{const _0x1678a8=_0x396fa2;if(_0x53b5d1['id']){let _0x4141c9={'title':_0x1678a8(0x2a4),'type':_0x1678a8(0x22e),'tagname':'history_copy'==_0x24cb08?'history-copy-list-popup':_0x1678a8(0x2d8),'location':_0x1678a8(0x221)==_0x24cb08?_0x1678a8(0x2d0):_0x1678a8(0x28a),'menu':_0x58fb3f['currentRouting'],'size':_0x1678a8(0x28c),'popup_field':_0x1678a8(0x2e3),'parent_field':'id'},_0x3a537b={..._0x53b5d1,'gqlFunc':ValueUtil[_0x1678a8(0x180)](_0x58fb3f[_0x1678a8(0x27e)],'query',_0x1678a8(0x1f9)),'gristConfig':JSON['parse'](JSON['stringify'](_0x58fb3f[_0x1678a8(0x272)][_0x1678a8(0x1b8)]))};MetaUiUtil[_0x1678a8(0x2c7)](_0x58fb3f,{'logic':_0x4141c9},_0x3a537b);}}}:_0x5bf393['handlers']={'click':_0x24cb08};}else _0x5bf393[_0x396fa2(0x21f)]={'click':(_0x373c50,_0xda588e,_0x5eea33,_0x3df205,_0x559739)=>{const _0x124132=_0x396fa2;_0x3df205['id']&&MetaUiUtil[_0x124132(0x2c7)](_0x58fb3f,_0x38c5cf,_0x3df205);}};return _0x5bf393;});}static async['getGridColumnSet'](_0x4bf22d){const _0x2f2b35=a0_0x471413;let _0x583928=_0x4bf22d[_0x2f2b35(0x1bd)];if(ValueUtil[_0x2f2b35(0x284)](_0x583928))return[];let _0x39e9a9=Object[_0x2f2b35(0x224)](getValueGenerators()),_0x153284=[];for(let _0x2179dd=0x0;_0x2179dd<_0x583928[_0x2f2b35(0x27d)];_0x2179dd++){let {type:_0x7734ac=_0x2f2b35(0x247),name:_0x2b5506,header:_0x3086c8,hidden:_0x204181=!0x1,editable:_0x4ecb30=!0x0,mandatory:_0x56730e=!0x1,sortable:_0x1fea0f=!0x1,align:_0x585815=_0x2f2b35(0x2a9),width:_0x54feab=0x0,exportable:_0x548d95=!0x1,select_opt:_0x407343,object_opt:_0x3bcd15,format:_0x316bdf,default_value:_0x3785be}=_0x583928[_0x2179dd],_0x151389={'type':_0x7734ac,'name':_0x2b5506,'header':ValueUtil[_0x2f2b35(0x284)](_0x3086c8)?'':TermsUtil[_0x2f2b35(0x276)](_0x3086c8),'hidden':_0x204181,'sortable':_0x1fea0f,'width':_0x54feab,'record':{'editable':_0x4ecb30,'mandatory':_0x56730e,'align':_0x585815,'format':_0x316bdf}};if(_0x3785be&&(_0x39e9a9[_0x2f2b35(0x289)](_0x3785be)?_0x151389['record'][_0x2f2b35(0x249)]=getValueGenerator(_0x3785be):_0x151389[_0x2f2b35(0x189)][_0x2f2b35(0x249)]=_0x3785be),_0x7734ac[_0x2f2b35(0x1b7)](_0x2f2b35(0x201))&&_0x3bcd15&&_0x3bcd15['menu']&&(_0x3bcd15=await MetaUiUtil[_0x2f2b35(0x260)](_0x7734ac,_0x3bcd15)),_0x2f2b35(0x2b3)===_0x7734ac&&ValueUtil['isNotEmpty'](_0x407343)&&(Array[_0x2f2b35(0x17b)](_0x407343)?_0x151389['record'][_0x2f2b35(0x1de)]=_0x407343:_0x2f2b35(0x18d)===_0x407343['type']?_0x151389[_0x2f2b35(0x189)][_0x2f2b35(0x1de)]=await ServiceUtil[_0x2f2b35(0x21e)](_0x407343[_0x2f2b35(0x175)]?_0x407343['values']:_0x407343[_0x2f2b35(0x1b1)]):_0x2f2b35(0x239)===_0x407343[_0x2f2b35(0x2d6)]?_0x151389['record'][_0x2f2b35(0x1de)]=await ServiceUtil[_0x2f2b35(0x18a)](_0x407343[_0x2f2b35(0x1b1)],_0x407343[_0x2f2b35(0x184)]):'entity'===_0x407343['type']&&(_0x151389[_0x2f2b35(0x189)][_0x2f2b35(0x1de)]=await ServiceUtil[_0x2f2b35(0x1f7)](_0x407343[_0x2f2b35(0x184)]))),'meta-object-selector'===_0x7734ac&&ValueUtil[_0x2f2b35(0x1a6)](_0x3bcd15)){let _0x1b22ba;_0x151389['record'][_0x2f2b35(0x1de)]={..._0x3bcd15},_0x3bcd15['basicArgs']&&_0x3bcd15[_0x2f2b35(0x1ce)]['filters']&&(_0x1b22ba=[..._0x3bcd15['basicArgs'][_0x2f2b35(0x2d9)]]),_0x1b22ba&&JSON['stringify'](_0x1b22ba)[_0x2f2b35(0x289)]('::')&&(_0x151389['handlers']={'dblclick':(_0x49efb8,_0x15688f,_0x98acad,_0x4eab5f,_0x113781)=>{const _0x521fe0=_0x2f2b35;let _0x3571c4=[];_0x1b22ba[_0x521fe0(0x2cd)](_0x24c224=>{const _0x2f244e=_0x521fe0;var {name:_0x4c1620,value:_0x5e827a,operator:_0x1a4fca='eq'}=_0x24c224;_0x5e827a['includes']('::')&&(_0x5e827a=ValueUtil['getParams'](_0x4eab5f,..._0x5e827a['replace']('::','')[_0x2f244e(0x294)]('.'))),_0x5e827a||(_0x5e827a=''),_0x3571c4[_0x2f244e(0x23c)]({'name':_0x4c1620,'operator':_0x1a4fca,'value':_0x5e827a});}),_0x98acad[_0x521fe0(0x189)][_0x521fe0(0x1de)][_0x521fe0(0x1ce)][_0x521fe0(0x2d9)]=_0x3571c4;}});}else _0x2f2b35(0x1bc)===_0x7734ac&&ValueUtil[_0x2f2b35(0x1a6)](_0x3bcd15)&&(_0x3bcd15['dispField']&&(_0x3bcd15[_0x2f2b35(0x2e6)]=await ServiceUtil[_0x2f2b35(0x1f7)](_0x3bcd15)),_0x151389[_0x2f2b35(0x189)][_0x2f2b35(0x1de)]={..._0x3bcd15});!0x0===_0x4bf22d[_0x2f2b35(0x28d)]&&!0x0===_0x548d95&&(_0x151389[_0x2f2b35(0x2a3)]={'header':_0x151389[_0x2f2b35(0x1b0)],'key':_0x151389[_0x2f2b35(0x1b1)],'width':_0x151389[_0x2f2b35(0x264)]/0x6,'type':_0x151389[_0x2f2b35(0x2d6)]}),_0x153284[_0x2f2b35(0x23c)](_0x151389);}if(!0x0!==this['is_activity'])return _0x153284;let _0xde929c=await MetaApi[_0x2f2b35(0x1a1)](this[_0x2f2b35(0x227)]),{template:_0x24dc36={}}=_0xde929c;if(!_0x24dc36[_0x2f2b35(0x17d)])return _0x153284;let _0x340eb3=_0x24dc36[_0x2f2b35(0x17d)];return _0x153284=_0x153284['map'](_0x310200=>('id'==_0x310200[_0x2f2b35(0x1b1)]||(_0x310200[_0x2f2b35(0x2e0)]=!_0x340eb3[_0x2f2b35(0x289)](_0x310200['name']),_0x310200['rank']=_0x340eb3[_0x2f2b35(0x182)](_0x310200[_0x2f2b35(0x1b1)]),-0x1==_0x310200['rank']&&(_0x310200[_0x2f2b35(0x188)]=0x1869f)),_0x310200)),_0x153284[_0x2f2b35(0x2e1)]((_0x1f7579,_0x475c46)=>_0x1f7579[_0x2f2b35(0x188)]-_0x475c46[_0x2f2b35(0x188)]),_0x153284;}static async[a0_0x471413(0x260)](_0x5dc567,_0x5df034){const _0x462bc3=a0_0x471413;let _0x3f5132=await MetaUiUtil[_0x462bc3(0x1d4)](_0x5df034[_0x462bc3(0x17a)]);if(_0x3f5132&&_0x3f5132[_0x462bc3(0x20e)]&&_0x3f5132[_0x462bc3(0x20e)]['length']>0x0&&_0x3f5132['records'][0x0][_0x462bc3(0x228)]){let _0x531ea7=_0x3f5132[_0x462bc3(0x20e)][0x0],_0x580d2a=JSON[_0x462bc3(0x1f5)](MetaCrypto[_0x462bc3(0x1f3)](_0x531ea7[_0x462bc3(0x228)]));_0x5df034['queryName']||(_0x5df034[_0x462bc3(0x254)]=_0x580d2a[_0x462bc3(0x18c)][_0x462bc3(0x1db)][_0x462bc3(0x1a5)]),_0x5df034[_0x462bc3(0x2b3)]||(_0x5df034[_0x462bc3(0x2b3)]=_0x580d2a['grid_column']),_0x5df034[_0x462bc3(0x2e8)]&&0x0!=_0x5df034['filterFields'][_0x462bc3(0x27d)]||(_0x5df034[_0x462bc3(0x2e8)]=_0x580d2a[_0x462bc3(0x2ac)]),_0x5df034[_0x462bc3(0x24c)]||(_0x5df034['selectorName']=_0x580d2a['menu'][_0x462bc3(0x223)]),_0x5df034['filters']||(_0x5df034[_0x462bc3(0x2d9)]=_0x580d2a[_0x462bc3(0x18c)][_0x462bc3(0x1db)][_0x462bc3(0x2d9)]||[]),_0x5dc567['includes'](_0x462bc3(0x25f))?_0x5df034[_0x462bc3(0x27f)]||(_0x5df034[_0x462bc3(0x27f)]=_0x580d2a[_0x462bc3(0x17a)]['name']||_0x462bc3(0x1b1)):_0x5dc567[_0x462bc3(0x289)](_0x462bc3(0x25b))&&(_0x5df034[_0x462bc3(0x174)]||(_0x5df034[_0x462bc3(0x174)]=_0x580d2a[_0x462bc3(0x17a)]['name']||_0x462bc3(0x18d)),_0x5df034['dispField']||(_0x5df034[_0x462bc3(0x288)]=_0x580d2a[_0x462bc3(0x17a)][_0x462bc3(0x2e2)]||void 0x0));}return _0x5df034;}static['setGridColumnSearchOption'](_0x525696,_0x324d16){const _0x2daee5=a0_0x471413;let _0xc765d6=_0x525696[_0x2daee5(0x290)];return _0xc765d6&&_0xc765d6[_0x2daee5(0x2cd)](_0x48fd7b=>{const _0xa4610=_0x2daee5;_0xa4610(0x247)==typeof _0x48fd7b?_0x324d16[_0xa4610(0x1ec)](_0x179256=>_0x179256[_0xa4610(0x1b1)]==_0x48fd7b)[_0xa4610(0x2cd)](_0x33f1e9=>{const _0x1cb6f9=_0xa4610;_0x33f1e9[_0x1cb6f9(0x1ec)]=_0x1cb6f9(0x2ac);}):_0xa4610(0x26b)==typeof _0x48fd7b&&_0x324d16['filter'](_0x462c8e=>_0x462c8e['name']==_0x48fd7b['name'])['forEach'](_0x43622e=>{const _0x140489=_0xa4610;_0x43622e['filter']=_0x48fd7b,_0x43622e[_0x140489(0x1ec)][_0x140489(0x2d6)]=_0x140489(0x1be)===_0x43622e[_0x140489(0x2d6)]&&'eq'==_0x48fd7b['operator']?'datetime-local':_0x43622e['type'];let _0x3e4fce=_0x43622e[_0x140489(0x1ec)][_0x140489(0x1c4)],_0x30edba=['today',_0x140489(0x235),_0x140489(0x178),_0x140489(0x170),'hour',_0x140489(0x22b),_0x140489(0x1dc)];if(_0x3e4fce&&_0x30edba[_0x140489(0x1ec)](_0x2a3484=>_0x3e4fce[_0x140489(0x1b7)](_0x2a3484))[_0x140489(0x27d)]>0x0){let _0x3edf97=[],_0x247fc0={'date':_0x140489(0x1ff),'datetime':_0x140489(0x2ae)},_0x5097d6={'today':'day','year':_0x140489(0x235),'month':_0x140489(0x178),'date':_0x140489(0x1bb),'hour':_0x140489(0x18e),'min':'minute','sec':'second'};_0x3e4fce[_0x140489(0x294)](',')[_0x140489(0x2cd)](_0x58b66b=>{const _0x323c34=_0x140489,_0x3be009=a0_0x27fcf5();if(_0x30edba['includes'](_0x58b66b))_0x3edf97[_0x323c34(0x23c)](_0x3be009[_0x323c34(0x1a7)](_0x5097d6[_0x58b66b])[_0x323c34(0x248)](_0x247fc0[_0x43622e[_0x323c34(0x2d6)]]));else{if(_0x58b66b['includes']('-')){let _0x48b3e3=_0x58b66b[_0x323c34(0x294)]('-'),_0x3347e4=_0x48b3e3[0x0],_0x7ba4b5=_0x48b3e3[0x1];_0x3edf97['push'](_0x3be009['subtract'](_0x7ba4b5,_0x5097d6[_0x3347e4])[_0x323c34(0x1a7)](_0x5097d6[_0x3347e4])['format'](_0x247fc0[_0x43622e[_0x323c34(0x2d6)]]));}else{if(_0x58b66b[_0x323c34(0x289)]('+')){let _0x4769a8=_0x58b66b['split']('+'),_0x583501=_0x4769a8[0x0],_0x44a520=_0x4769a8[0x1];_0x3edf97[_0x323c34(0x23c)](_0x3be009['add'](_0x44a520,_0x5097d6[_0x583501])['startOf'](_0x5097d6[_0x583501])['format'](_0x247fc0[_0x43622e['type']]));}}}}),_0x3edf97['length']>0x0&&(_0x43622e[_0x140489(0x1ec)]['value']=0x1==_0x3edf97['length']?_0x3edf97[0x0]:_0x3edf97);}});}),_0x324d16;}static[a0_0x471413(0x2dd)](_0x489b9d){const _0x3c1aba=a0_0x471413;let _0x7baef6={'title':TermsUtil['tTitle'](_0x489b9d['menuInfo'][_0x3c1aba(0x223)]),'help':_0x489b9d[_0x3c1aba(0x1fe)][_0x3c1aba(0x1fc)]||'','actions':[...MetaUiUtil[_0x3c1aba(0x24f)](_0x489b9d)]};return _0x489b9d[_0x3c1aba(0x28d)]&&(_0x7baef6[_0x3c1aba(0x2b9)]={'name':_0x7baef6[_0x3c1aba(0x223)],'data':_0x489b9d[_0x3c1aba(0x230)][_0x3c1aba(0x2a6)](_0x489b9d)}),_0x489b9d[_0x3c1aba(0x29d)]&&(_0x7baef6[_0x3c1aba(0x2ce)]={'handler':_0x489b9d[_0x3c1aba(0x2b0)]['bind'](_0x489b9d)}),_0x7baef6;}static[a0_0x471413(0x24f)](_0x604214){const _0x131b2a=a0_0x471413;let _0x46d61f=_0x604214['buttonConfig'];return ValueUtil[_0x131b2a(0x284)](_0x46d61f)?[]:_0x46d61f[_0x131b2a(0x1ec)](_0x2d9e1b=>_0x131b2a(0x230)!=_0x2d9e1b['name']&&_0x131b2a(0x2b0)!=_0x2d9e1b['name']&&'add'!=_0x2d9e1b[_0x131b2a(0x1b1)])['map'](_0x559e11=>{const _0x4239c5=_0x131b2a;let {name:_0x232d02,label:_0x2802ff,style:_0x36a5ee,type:_0x2f6559='basic',action:_0x3adedc,logic:_0x39e4c2}=_0x559e11;if(ValueUtil[_0x4239c5(0x284)](_0x232d02))return{'title':'-1'};ValueUtil[_0x4239c5(0x284)](_0x2802ff)&&(_0x2802ff=_0x232d02),ValueUtil[_0x4239c5(0x284)](_0x36a5ee)&&(_0x36a5ee=_0x232d02),ValueUtil[_0x4239c5(0x284)](_0x3adedc)&&(_0x3adedc=_0x232d02);let _0x4f061e=ValueUtil[_0x4239c5(0x1a6)](_0x36a5ee)?CommonButtonStyles[_0x36a5ee]||{'icon':_0x36a5ee,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil['tButton'](_0x2802ff),'action':MetaUiUtil[_0x4239c5(0x1d2)](_0x604214,_0x2f6559,_0x3adedc,_0x39e4c2),..._0x4f061e};})['filter'](_0x26d7f7=>'-1'!=_0x26d7f7[_0x131b2a(0x223)]);}static[a0_0x471413(0x20b)](_0x2a9cd8){const _0x2ccc4c=a0_0x471413;let _0x363314=_0x2a9cd8&&_0x2a9cd8[_0x2ccc4c(0x17f)]?_0x2a9cd8['buttonConfig']:null;return _0x363314?_0x363314[_0x2ccc4c(0x1ec)](_0x3fe489=>_0x2ccc4c(0x2c2)!=_0x3fe489['name'])[_0x2ccc4c(0x22f)](_0x102b08=>{const _0xf47c30=_0x2ccc4c;let {name:_0x545275,label:_0x48bef1,style:_0xa63210,type:_0x450ec9=_0xf47c30(0x1c7),action:_0x387cb8,logic:_0x5da57e}=_0x102b08;ValueUtil[_0xf47c30(0x284)](_0x48bef1)&&(_0x48bef1=_0x545275),ValueUtil['isEmpty'](_0xa63210)&&(_0xa63210=_0x545275),ValueUtil[_0xf47c30(0x284)](_0x387cb8)&&(_0x387cb8=_0x545275);let _0x155fdb=MetaUiUtil[_0xf47c30(0x238)](TermsUtil['tButton'](_0x48bef1),_0xa63210);return _0x155fdb[_0xf47c30(0x291)]=MetaUiUtil[_0xf47c30(0x1d2)](_0x2a9cd8,_0x450ec9,_0x387cb8,_0x5da57e),_0x155fdb;}):[];}static[a0_0x471413(0x238)](_0x23c708,_0xc2bb66){const _0x1d9274=a0_0x471413;let _0x33be35=CommonButtonStyles[_0xc2bb66]||{'icon':_0xc2bb66,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x6f82ba='<mwc-button\x20label=\x22'+_0x23c708+_0x1d9274(0x21d)+(_0x33be35[_0x1d9274(0x2bf)]?_0x33be35[_0x1d9274(0x2bf)]:'')+_0x1d9274(0x2d7)+(_0x33be35[_0x1d9274(0x246)]['raised']?_0x1d9274(0x293):'')+_0x1d9274(0x1ea)+(_0x33be35[_0x1d9274(0x246)][_0x1d9274(0x258)]?_0x1d9274(0x258):'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x33be35[_0x1d9274(0x246)][_0x1d9274(0x243)]?_0x1d9274(0x243):'')+_0x1d9274(0x1ea)+(_0x33be35[_0x1d9274(0x246)][_0x1d9274(0x1c5)]?_0x1d9274(0x1c5):'')+_0x1d9274(0x2cf);return UiUtil[_0x1d9274(0x1e0)](_0x6f82ba);}static[a0_0x471413(0x1d2)](_0x330db1,_0x57a515,_0x4ad8cf,_0x52435a){const _0x661285=a0_0x471413;if('basic'==_0x57a515){if(_0x330db1[_0x4ad8cf])return _0x330db1[_0x4ad8cf][_0x661285(0x2a6)](_0x330db1);}else{if(_0x661285(0x2e7)==_0x57a515)return()=>MetaUiUtil['customButtonHandler'](_0x330db1,_0x52435a);}return()=>{const _0xf5ff85=_0x661285;UiUtil['showAlertPopup'](_0xf5ff85(0x1c3),'text.button_bind_func_is_not_exist','info',_0xf5ff85(0x2bb));};}static async[a0_0x471413(0x2c7)](_0x43e046,_0x158ee5,_0x2deef9){const _0x56ba02=a0_0x471413;let _0x1e3ba6=ValueUtil[_0x56ba02(0x180)](_0x158ee5,_0x56ba02(0x212)),_0x5abcec=ValueUtil['getParams'](_0x1e3ba6,_0x56ba02(0x2d6));if(_0x56ba02(0x26d)===_0x5abcec)_0x1e3ba6[_0x56ba02(0x2b2)]='meta-form-element',_0x1e3ba6[_0x56ba02(0x267)]=_0x56ba02(0x19f),_0x1e3ba6['parent_field']='id',await MetaUiUtil[_0x56ba02(0x2b1)](_0x43e046,_0x1e3ba6,_0x2deef9);else{if(_0x56ba02(0x229)===_0x5abcec)MetaUiUtil[_0x56ba02(0x2d3)](_0x43e046,_0x1e3ba6,_0x2deef9);else{if(_0x56ba02(0x26a)===_0x5abcec){let _0x5cf55b;_0x1e3ba6[_0x56ba02(0x19e)]?(_0x5cf55b={},Object[_0x56ba02(0x224)](_0x2deef9)[_0x56ba02(0x1ec)](_0x3260f8=>Object[_0x56ba02(0x224)](_0x1e3ba6['param_field'])[_0x56ba02(0x289)](_0x3260f8))['map'](_0x5df806=>{const _0x2df644=_0x56ba02;Object['keys'](_0x1e3ba6[_0x2df644(0x19e)])['includes'](_0x5df806)&&(_0x2df644(0x247)==typeof _0x2deef9[_0x5df806]?_0x5cf55b[_0x1e3ba6[_0x2df644(0x19e)][_0x5df806]]=_0x2deef9[_0x5df806]:_0x5cf55b[_0x1e3ba6[_0x2df644(0x19e)][_0x5df806]]={'id':_0x2deef9[_0x5df806]['id']});})):_0x5cf55b=_0x2deef9,UiUtil['pageNavigate'](_0x1e3ba6[_0x56ba02(0x23a)],[_0x5cf55b]);}else _0x56ba02(0x22e)===_0x5abcec?await MetaUiUtil[_0x56ba02(0x2b1)](_0x43e046,_0x1e3ba6,_0x2deef9):_0x56ba02(0x239)===_0x5abcec?await MetaUiUtil[_0x56ba02(0x209)](_0x43e046,_0x1e3ba6,_0x2deef9):_0x56ba02(0x1e5)===_0x5abcec&&await MetaUiUtil[_0x56ba02(0x27b)](_0x43e046,_0x1e3ba6,_0x2deef9);}}}static async[a0_0x471413(0x24b)](_0x5bc534,_0xbce426){const _0x49a6a2=a0_0x471413;if(ValueUtil[_0x49a6a2(0x284)](_0xbce426))return;let _0xe33f2e=_0x5bc534[_0x49a6a2(0x272)],_0x555259=_0x5bc534[_0x49a6a2(0x29a)],_0x3bfff1=ValueUtil[_0x49a6a2(0x180)](_0xbce426,_0x49a6a2(0x2d6)),_0x220476=ValueUtil[_0x49a6a2(0x180)](_0xbce426,_0x49a6a2(0x240)),_0x151a69=_0x220476['filter'](_0x58aad5=>_0x58aad5[_0x49a6a2(0x1b7)]('grist'));if(ValueUtil[_0x49a6a2(0x1a6)](_0x151a69)){if(!_0xe33f2e)return void UiUtil[_0x49a6a2(0x1aa)](_0x49a6a2(0x21b),_0x49a6a2(0x2c9),_0x49a6a2(0x231),'confirm');if(0x0==(_0xe33f2e[_0x49a6a2(0x19d)]?_0xe33f2e[_0x49a6a2(0x19d)][_0x49a6a2(0x20e)]:[])[_0x49a6a2(0x27d)])return void UiUtil[_0x49a6a2(0x1aa)]('title.info',_0x49a6a2(0x205),_0x49a6a2(0x231),_0x49a6a2(0x2bb));if(_0x220476[_0x49a6a2(0x289)]('grist_one')||_0x220476[_0x49a6a2(0x289)]('grist_selected')){let _0x2b87fe=_0xe33f2e[_0x49a6a2(0x195)];if(ValueUtil[_0x49a6a2(0x284)](_0x2b87fe))return void UiUtil[_0x49a6a2(0x1aa)](_0x49a6a2(0x208),_0x49a6a2(0x261),'info','confirm');if(_0x220476['includes']('grist_one')&&_0x2b87fe['length']>0x1)return void UiUtil[_0x49a6a2(0x1aa)](_0x49a6a2(0x21b),_0x49a6a2(0x20a),_0x49a6a2(0x231),'confirm');}}let _0x4b477a={};if(_0x220476[_0x49a6a2(0x289)](_0x49a6a2(0x1ec))){if(!_0x555259)return void UiUtil[_0x49a6a2(0x1aa)](_0x49a6a2(0x21b),_0x49a6a2(0x211),'info',_0x49a6a2(0x2bb));let _0x58d466=_0x555259?await _0x555259[_0x49a6a2(0x232)]():[];_0x4b477a[_0x49a6a2(0x1ec)]=_0x58d466;}if(_0x220476[_0x49a6a2(0x289)](_0x49a6a2(0x171)))_0x4b477a[_0x49a6a2(0x272)]=_0xe33f2e[_0x49a6a2(0x19d)]['records'];else{if(_0x220476['includes'](_0x49a6a2(0x1b5)))_0x4b477a['grist']=_0xe33f2e[_0x49a6a2(0x195)][0x0];else{if(_0x220476[_0x49a6a2(0x289)](_0x49a6a2(0x297)))_0x4b477a[_0x49a6a2(0x272)]=_0xe33f2e['selected'];else{if(_0x220476[_0x49a6a2(0x289)](_0x49a6a2(0x241))&&(_0x4b477a[_0x49a6a2(0x272)]=ServiceUtil['patchesForUpdateMultiple'](_0xe33f2e),!_0x4b477a[_0x49a6a2(0x272)]))return;}}}if('page'===_0x3bfff1){let _0xb48d2b,_0x4219e9=Array['isArray'](_0x4b477a['grist'])?_0x4b477a['grist']:[_0x4b477a[_0x49a6a2(0x272)]];_0xb48d2b=_0xbce426['param_field']?_0x4219e9[_0x49a6a2(0x22f)](_0x41416d=>{const _0x382012=_0x49a6a2;let _0x7bb117={};return Object[_0x382012(0x224)](_0x41416d)[_0x382012(0x1ec)](_0x5a21af=>Object[_0x382012(0x224)](_0xbce426[_0x382012(0x19e)])['includes'](_0x5a21af))['map'](_0xe1c078=>{const _0x1b2911=_0x382012;Object['keys'](_0xbce426['param_field'])[_0x1b2911(0x289)](_0xe1c078)&&(_0x1b2911(0x247)==typeof _0x41416d[_0xe1c078]?_0x7bb117[_0xbce426[_0x1b2911(0x19e)][_0xe1c078]]=_0x41416d[_0xe1c078]:_0x7bb117[_0xbce426[_0x1b2911(0x19e)][_0xe1c078]]={'id':_0x41416d[_0xe1c078]['id']});}),_0x7bb117;}):_0x4219e9,UiUtil[_0x49a6a2(0x2b8)](_0xbce426[_0x49a6a2(0x23a)],_0xb48d2b);}else{if(_0x49a6a2(0x22e)===_0x3bfff1){let _0x5e335e={..._0x4b477a[_0x49a6a2(0x272)]?_0x4b477a[_0x49a6a2(0x272)]:{},..._0x4b477a[_0x49a6a2(0x1ec)]?_0x4b477a[_0x49a6a2(0x1ec)]:{}};await MetaUiUtil[_0x49a6a2(0x2b1)](_0x5bc534,_0xbce426,_0x5e335e);}else'scenario'===_0x3bfff1&&await MetaUiUtil[_0x49a6a2(0x209)](_0x5bc534,_0xbce426,_0x4b477a);}}static[a0_0x471413(0x2d3)](_0x2fe944,_0x172fac,_0x40237a){const _0x537d15=a0_0x471413;let _0x50fa64=_0x172fac['pass_field'],_0x329562={},_0x4f4322=_0x2fe944[_0x537d15(0x1a0)][_0x537d15(0x250)](),_0x254bc3=_0x2fe944;_0x329562=_0x4f4322[_0x537d15(0x1b7)](_0x537d15(0x253))||_0x4f4322[_0x537d15(0x1b7)](_0x537d15(0x22c))?_0x50fa64[_0x537d15(0x27c)]?{..._0x50fa64}:{'detail':{..._0x50fa64}}:{..._0x50fa64},Object[_0x537d15(0x224)](_0x329562)['forEach'](_0xd4aa0a=>{const _0x18a849=_0x537d15;if(_0x18a849(0x17d)==_0xd4aa0a?_0x254bc3=_0x2fe944[_0x18a849(0x1ca)]['masterElement']:_0x18a849(0x27c)==_0xd4aa0a?_0x254bc3=_0x2fe944[_0x18a849(0x1ca)]?_0x2fe944[_0x18a849(0x1ca)][_0x18a849(0x2dc)]:_0x2fe944[_0x18a849(0x2dc)]:_0x18a849(0x1e2)==_0xd4aa0a&&(_0x254bc3=_0x2fe944),_0x254bc3){if(_0x254bc3[_0x18a849(0x1a0)][_0x18a849(0x250)]()[_0x18a849(0x1b7)]('meta-tab-element'))Object[_0x18a849(0x224)](_0x329562[_0xd4aa0a])[_0x18a849(0x2cd)](_0x1b228d=>{const _0x2751d3=_0x18a849;let _0x362408=_0x254bc3[_0x2751d3(0x2c8)]['querySelector']('#'+_0x1b228d);_0x40237a['id']&&_0x362408['setParentId'](_0x40237a['id']);let _0x234224=_0x329562[_0xd4aa0a][_0x1b228d];Object[_0x2751d3(0x224)](_0x234224)['forEach'](_0x23c90e=>{let _0x32afcb=_0x234224[_0x23c90e],_0x4d8d0d='*'===_0x32afcb?_0x40237a:_0x40237a[_0x32afcb];_0x362408[_0x23c90e]=_0x4d8d0d;});});else{let _0x131ea4=_0x254bc3;_0x40237a['id']&&_0x131ea4['setParentId'](_0x40237a['id']);let _0x1af09a=_0x329562[_0xd4aa0a];Object[_0x18a849(0x224)](_0x1af09a)[_0x18a849(0x2cd)](_0x2aa255=>{let _0x23b772=_0x1af09a[_0x2aa255],_0x3c2702='*'===_0x23b772?_0x40237a:_0x40237a[_0x23b772];_0x131ea4[_0x2aa255]=_0x3c2702;});}}});}static async[a0_0x471413(0x2b1)](_0x4cdc87,_0x3f992d,_0x199b8b){const _0x1acd13=a0_0x471413;let _0x9b0461=TermsUtil[_0x1acd13(0x176)](_0x3f992d['title']);ValueUtil[_0x1acd13(0x1a6)](_0x3f992d[_0x1acd13(0x281)])&&(_0x9b0461=_0x9b0461+'('+ValueUtil['getParams'](_0x199b8b,..._0x3f992d[_0x1acd13(0x281)][_0x1acd13(0x294)]('.'))+')');let _0x2538e8=_0x3f992d[_0x1acd13(0x1eb)]&&'string'==typeof _0x3f992d[_0x1acd13(0x1eb)]&&_0x1acd13(0x2d4)===_0x3f992d[_0x1acd13(0x1eb)]&&_0x4cdc87&&_0x4cdc87['fetch']?_0x4cdc87[_0x1acd13(0x2d4)][_0x1acd13(0x2a6)](_0x4cdc87):void 0x0;UiUtil[_0x1acd13(0x1d5)](_0x9b0461,_0x3f992d,_0x199b8b,_0x2538e8);}static async['commonButtonCallScenario'](_0x1d98dd,_0x479c51,_0x186c80){const _0x3c1e02=a0_0x471413;let _0x262d59=await ServiceUtil[_0x3c1e02(0x186)](_0x3c1e02(0x2d2),_0x479c51[_0x3c1e02(0x1b1)],_0x186c80);if(!_0x262d59['errors']&&!ValueUtil[_0x3c1e02(0x284)](_0x479c51[_0x3c1e02(0x1eb)])&&_0x479c51[_0x3c1e02(0x1eb)]){if(_0x3c1e02(0x2d4)!==_0x479c51[_0x3c1e02(0x1eb)]){if('object'==typeof _0x479c51[_0x3c1e02(0x1eb)]){let _0x2b6b1b=_0x479c51[_0x3c1e02(0x1eb)],_0x26493a=ValueUtil[_0x3c1e02(0x180)](_0x262d59[_0x3c1e02(0x19d)][_0x3c1e02(0x1df)]['data'],..._0x2b6b1b['result_name'][_0x3c1e02(0x294)]('.'));if(0x0==Array[_0x3c1e02(0x17b)](_0x26493a)&&(_0x26493a=[_0x26493a]),_0x3c1e02(0x26d)===_0x2b6b1b[_0x3c1e02(0x2d6)])_0x2b6b1b[_0x3c1e02(0x2b2)]=_0x3c1e02(0x1cd),_0x2b6b1b[_0x3c1e02(0x267)]=_0x3c1e02(0x19f),_0x2b6b1b[_0x3c1e02(0x255)]='id',_0x26493a=_0x26493a[0x0],await MetaUiUtil[_0x3c1e02(0x2b1)](_0x1d98dd,_0x2b6b1b,_0x26493a);else{if('page'===_0x2b6b1b[_0x3c1e02(0x2d6)]){let _0x293a3c,_0x2bef76=_0x26493a;_0x293a3c=_0x2b6b1b['param_field']?_0x2bef76[_0x3c1e02(0x22f)](_0x1963a7=>{const _0x7c0263=_0x3c1e02;let _0x294dd4={};return Object[_0x7c0263(0x224)](_0x1963a7)[_0x7c0263(0x1ec)](_0x364638=>Object[_0x7c0263(0x224)](_0x2b6b1b[_0x7c0263(0x19e)])[_0x7c0263(0x289)](_0x364638))[_0x7c0263(0x22f)](_0x4a73d4=>{const _0x50d345=_0x7c0263;Object[_0x50d345(0x224)](_0x2b6b1b[_0x50d345(0x19e)])[_0x50d345(0x289)](_0x4a73d4)&&(_0x50d345(0x247)==typeof _0x1963a7[_0x4a73d4]?_0x294dd4[_0x2b6b1b['param_field'][_0x4a73d4]]=_0x1963a7[_0x4a73d4]:_0x294dd4[_0x2b6b1b[_0x50d345(0x19e)][_0x4a73d4]]={'id':_0x1963a7[_0x4a73d4]['id']});}),_0x294dd4;}):_0x2bef76,UiUtil[_0x3c1e02(0x2b8)](_0x2b6b1b[_0x3c1e02(0x23a)],_0x293a3c);}else _0x3c1e02(0x229)===_0x2b6b1b[_0x3c1e02(0x2d6)]?(_0x26493a=_0x26493a[0x0],MetaUiUtil[_0x3c1e02(0x2d3)](_0x1d98dd,_0x2b6b1b,_0x26493a)):_0x3c1e02(0x22e)===_0x2b6b1b[_0x3c1e02(0x2d6)]?(_0x26493a=_0x26493a[0x0],await MetaUiUtil[_0x3c1e02(0x2b1)](_0x1d98dd,_0x2b6b1b,_0x26493a)):_0x3c1e02(0x1e5)===_0x2b6b1b[_0x3c1e02(0x2d6)]&&(_0x26493a=_0x26493a[0x0],await MetaUiUtil[_0x3c1e02(0x27b)](_0x1d98dd,_0x2b6b1b,_0x26493a));}}}else _0x1d98dd[_0x3c1e02(0x2d4)]();}}static async['gristButtonValueReference'](_0x19df25,_0xeb5275,_0x162c5a){const _0x198c54=a0_0x471413;for(let _0x57ae27=0x0;_0x57ae27<_0xeb5275[_0x198c54(0x21a)][_0x198c54(0x27d)];_0x57ae27++){let _0x2e6cb7=_0xeb5275['relation'][_0x57ae27];!0x0===ValueUtil[_0x198c54(0x2a5)](_0x2e6cb7,_0x162c5a,Object[_0x198c54(0x224)](_0x2e6cb7)[_0x198c54(0x1ec)](_0x1a3696=>_0x198c54(0x212)!=_0x1a3696))&&await MetaUiUtil[_0x198c54(0x2c7)](_0x19df25,_0x2e6cb7,_0x162c5a);}}static[a0_0x471413(0x19a)](_0x1ed8a1,_0x48d959){return{'type':_0x1ed8a1,'name':_0x48d959,'sortable':!0x1,'hidden':!0x0};}static['getGristColumnConfig'](_0x39529c,_0x51e0b1,_0x4560f3,_0x45e545,_0x38b346,_0x47615a){const _0x1b3eac=a0_0x471413;let _0x2c8549=TermsUtil[_0x1b3eac(0x276)](_0x51e0b1);return{'type':_0x39529c,'name':_0x51e0b1,'header':_0x2c8549,'record':{'align':_0x4560f3,'editable':_0x45e545},'sortable':_0x38b346,'width':_0x47615a,'imex':{'width':Math[_0x1b3eac(0x16e)](_0x47615a/0x6),'header':_0x2c8549,'type':_0x39529c,'key':_0x51e0b1}};}static[a0_0x471413(0x1f1)](_0xe9c920,_0x1f556d,_0x2a6de5,_0x39352e,_0x5209c5,_0x306b21,_0x1ecbf9){const _0x38092f=a0_0x471413;let _0x22d7ea=TermsUtil[_0x38092f(0x276)](_0x2a6de5);return{'type':_0xe9c920,'name':_0x1f556d,'header':_0x22d7ea,'record':{'align':_0x39352e,'editable':_0x5209c5},'sortable':_0x306b21,'width':_0x1ecbf9,'imex':{'width':Math['floor'](_0x1ecbf9/0x6),'header':_0x22d7ea,'type':_0xe9c920,'key':_0x1f556d}};}static[a0_0x471413(0x1c2)](_0x78563f,_0x3312ed,_0x271c5e,_0x285562,_0x2cf811,_0x3e8c4e,_0x39453a,_0x2c7996){const _0x292ede=a0_0x471413;let _0x2f6a20=TermsUtil[_0x292ede(0x276)](_0x271c5e);return{'type':_0x78563f,'name':_0x3312ed,'header':_0x2f6a20,'record':{'align':_0x285562,'editable':_0x2cf811,'mandatory':_0x39453a},'sortable':_0x3e8c4e,'width':_0x2c7996,'imex':{'width':Math[_0x292ede(0x16e)](_0x2c7996/0x6),'header':_0x2f6a20,'type':_0x78563f,'key':_0x3312ed}};}static['getGristSelectorColumnConfig'](_0x55ef9d,_0xde6449,_0x5d6a6c,_0x262542,_0x4f66e6,_0x4609bc,_0x275665){const _0x341b12=a0_0x471413;let _0x3a042e=TermsUtil[_0x341b12(0x276)](_0xde6449);return{'type':_0x341b12(0x2b3),'name':_0x55ef9d,'header':_0x3a042e,'record':{'align':_0x5d6a6c,'editable':!0x0,'mandatory':_0x4609bc,'options':_0x275665},'sortable':_0x262542,'width':_0x4f66e6,'imex':{'width':Math[_0x341b12(0x16e)](_0x4f66e6/0x6),'header':_0x3a042e,'type':_0x341b12(0x247),'key':_0x55ef9d}};}static async[a0_0x471413(0x2c0)](_0x341a90,_0x243850,_0xe16aaf,_0x1ee7d1,_0x1235de,_0x40d3cf,_0x122d33){const _0x4a7bcc=a0_0x471413;let _0x386d13=await ServiceUtil[_0x4a7bcc(0x21e)](_0x122d33);return MetaUiUtil[_0x4a7bcc(0x181)](_0x341a90,_0x243850,_0xe16aaf,_0x1ee7d1,_0x1235de,_0x40d3cf,_0x386d13);}static['getGristSearchColumnConfig'](_0x5b832d,_0x2f0909,_0x15518b,_0x4e6656,_0x789e4c){const _0x2be223=a0_0x471413;let _0xbd7df0=TermsUtil[_0x2be223(0x276)](_0x15518b),_0x21e05c={'name':_0x5b832d,'type':_0x2f0909,'label':_0xbd7df0,'operator':_0x4e6656,'imex':{'width':0x10,'header':_0xbd7df0,'type':_0x2f0909,'key':_0x5b832d}};return _0x789e4c&&(_0x21e05c[_0x2be223(0x1de)]=_0x789e4c),_0x21e05c;}static async[a0_0x471413(0x242)](_0x2bcc04,_0x4be188,_0x111c28,_0x298a51,_0x561260){const _0x941649=a0_0x471413;let _0x311a06=await ServiceUtil['getCodeSelectorData'](_0x561260);return MetaUiUtil[_0x941649(0x282)](_0x2bcc04,_0x4be188,_0x111c28,_0x298a51,_0x311a06);}static[a0_0x471413(0x29b)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0x24cf20(0x123)])return;let _0x2628e2=[{'name':'routing','operator':'eq','value':_0x1656de}];return await ServiceUtil[_0x24cf20(0x1c4)]('menus',_0x2628e2,null,0x0,0x0,'id,template');}static async[a0_0x438792(0xdf)](_0x47c16f,_0x983dba){const _0x5c1c41=a0_0x438792;let _0x157bc9,_0x4527e9=await MetaUiUtil[_0x5c1c41(0x19b)](_0x983dba);if(_0x4527e9&&_0x4527e9['records']&&0x0!=_0x4527e9['records']['length']?(_0x157bc9=_0x4527e9[_0x5c1c41(0x19e)][0x0],!_0x157bc9[_0x5c1c41(0x1e0)]&&_0x47c16f[_0x5c1c41(0x15a)]&&(_0x157bc9['template']=_0x47c16f[_0x5c1c41(0x15a)])):_0x47c16f[_0x5c1c41(0x15a)]&&(_0x157bc9={'id':_0x983dba,'template':_0x47c16f[_0x5c1c41(0x15a)]}),!_0x157bc9)throw new Error(TermsUtil[_0x5c1c41(0xdd)]('value_is_not_exist',{'value':TermsUtil[_0x5c1c41(0xf4)](_0x5c1c41(0x13e))+'\x20'+_0x983dba}));if(!_0x157bc9[_0x5c1c41(0x1e0)])throw new Error(TermsUtil[_0x5c1c41(0xdd)](_0x5c1c41(0x17c),{'value':TermsUtil['tMenu'](_0x5c1c41(0x13e))+'\x20'+TermsUtil[_0x5c1c41(0x10f)]('model')}));return this[_0x5c1c41(0x1ab)]=_0x157bc9['id'],JSON[_0x5c1c41(0x209)](MetaCrypto[_0x5c1c41(0x139)](_0x157bc9[_0x5c1c41(0x1e0)]));}static[a0_0x438792(0x1c0)](){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':_0xbe020=>Boolean(_0xbe020)},'is_popup':{'type':Boolean,'converter':_0x43fc7e=>Boolean(_0x43fc7e)},'is_activity':{'type':Boolean,'converter':_0x395458=>Boolean(_0x395458)},'is_readonly':{'type':Boolean,'converter':_0x2e1ac6=>Boolean(_0x2e1ac6)}};}static async[a0_0x438792(0x15b)](_0x12111a){const _0x139652=a0_0x438792;if(0x0==store[_0x139652(0x1e3)]()[_0x139652(0x146)][_0x139652(0x1e7)])return void document[_0x139652(0xcc)](new CustomEvent(_0x139652(0x13b),{'detail':{'level':'error','message':TermsUtil[_0x139652(0x15d)](_0x139652(0x117))}}));let _0x559524=_0x12111a[_0x139652(0x1b2)]?UiUtil['currentRouting']():_0x12111a[_0x139652(0xf1)];_0x12111a[_0x139652(0x16b)]=_0x559524;let _0xee22fc=await MetaUiUtil[_0x139652(0xdf)](_0x12111a,_0x559524);return!0x0===_0x12111a[_0x139652(0xc6)]&&(_0xee22fc[_0x139652(0x1cb)]['option']['use_row_checker']=!0x1,_0xee22fc['grid'][_0x139652(0x164)]['pages']='unlimited',_0xee22fc[_0x139652(0x1cb)][_0x139652(0x1d1)]=!0x1,_0xee22fc[_0x139652(0x1cb)][_0x139652(0xc0)]=[],_0xee22fc['button']=_0xee22fc[_0x139652(0xc0)][_0x139652(0xe9)](_0x1baea2=>_0x139652(0x115)==_0x1baea2['name'])),!0x0===_0x12111a[_0x139652(0x1ba)]&&(_0xee22fc[_0x139652(0xff)][_0x139652(0xfa)](_0x1df82f=>{const _0x134b5f=_0x139652;_0x1df82f[_0x134b5f(0x1a0)]=!0x1;}),_0xee22fc['button']=_0xee22fc['button'][_0x139652(0xe9)](_0x5e3d26=>'add'!=_0x5e3d26[_0x139652(0x1a7)])),!0x1===_0x12111a[_0x139652(0x1d1)]&&(_0xee22fc[_0x139652(0x1cb)][_0x139652(0x1d1)]=!0x1),_0xee22fc[_0x139652(0xff)][_0x139652(0xe9)](_0x4c0817=>_0x4c0817['change_event_handler'])[_0x139652(0xfa)](_0x3aa6e3=>{const _0x23b3e6=_0x139652;_0x12111a[_0x23b3e6(0x19d)]||(_0x12111a[_0x23b3e6(0x19d)]={}),_0x12111a[_0x23b3e6(0x19d)][_0x3aa6e3[_0x23b3e6(0x1a7)]]=_0x3aa6e3['change_event_handler'];}),_0xee22fc[_0x139652(0xff)][_0x139652(0xfa)](_0x80304=>{const _0x50a256=_0x139652;[_0x50a256(0x1bc),_0x50a256(0x1c3)]['includes'](_0x80304[_0x50a256(0x1a6)])?_0x80304[_0x50a256(0x1a6)]=_0x50a256(0xf9):['resource-code-selector'][_0x50a256(0x16c)](_0x80304[_0x50a256(0x1a6)])&&(_0x80304['type']=_0x50a256(0x1fb));}),_0xee22fc;}static[a0_0x438792(0x205)](..._0x14a637){return{'pages':_0x14a637};}static[a0_0x438792(0x18f)](_0x5c12f3,_0x1d78a7){const _0x313436=a0_0x438792;let _0x4f2e5c=[{'type':_0x313436(0x1d2),'gutterName':_0x313436(0x14b)},{'type':_0x313436(0x1d2),'gutterName':'sequence'}];return _0x5c12f3&&_0x4f2e5c['push']({'type':'gutter','gutterName':_0x313436(0x101),'multiple':_0x1d78a7}),_0x4f2e5c;}static[a0_0x438792(0x220)](_0x2ebcc2){return{'selectable':{'multiple':_0x2ebcc2}};}static async['parseGridConfigSet'](_0x58d37b){const _0x310810=a0_0x438792;_0x58d37b[_0x310810(0x1a2)]||(_0x58d37b[_0x310810(0x1a2)]={}),_0x58d37b[_0x310810(0x1a2)][_0x310810(0x1f0)]||(_0x58d37b['gqlInfo'][_0x310810(0x1f0)]={}),_0x58d37b[_0x310810(0x1a2)]['query'][_0x310810(0x13f)]||(_0x58d37b['gqlInfo'][_0x310810(0x1f0)][_0x310810(0x13f)]={}),_0x58d37b[_0x310810(0x1a2)][_0x310810(0x167)]||(_0x58d37b['gqlInfo']['mutation']={}),_0x58d37b['gqlInfo'][_0x310810(0x167)][_0x310810(0x1a9)]||(_0x58d37b[_0x310810(0x1a2)][_0x310810(0x167)][_0x310810(0x1a9)]={}),_0x58d37b[_0x310810(0x1a2)][_0x310810(0x167)][_0x310810(0x1a9)][_0x310810(0x1ef)]||(_0x58d37b[_0x310810(0x1a2)]['mutation']['multiple']['skip_fields']=[]);let _0x369845=MetaUiUtil[_0x310810(0x1d6)](_0x58d37b),_0x484b4a=MetaUiUtil[_0x310810(0x214)](_0x58d37b),_0xca0b8e=MetaUiUtil[_0x310810(0x1bd)](_0x58d37b),_0x5c26f1=MetaUiUtil[_0x310810(0x1df)](_0x58d37b),_0x510bda=await MetaUiUtil[_0x310810(0x20b)](_0x58d37b);_0x510bda[_0x310810(0xe9)](_0x780195=>[_0x310810(0xf9)][_0x310810(0x16c)](_0x780195[_0x310810(0x1a6)]))[_0x310810(0xfa)](_0x142c6c=>{const _0x2cc8e3=_0x310810;_0x58d37b[_0x2cc8e3(0x176)]['filter'](_0x3bb30d=>_0x3bb30d[_0x2cc8e3(0x1a7)]==_0x142c6c[_0x2cc8e3(0x1a7)])[_0x2cc8e3(0xfa)](_0x26c086=>{const _0x3ac3cb=_0x2cc8e3,_0x580e85=_0x142c6c[_0x3ac3cb(0x14f)][_0x3ac3cb(0x174)],_0x1d77b8=_0x580e85[_0x3ac3cb(0x17a)]?_0x580e85[_0x3ac3cb(0x17a)]:_0x142c6c[_0x3ac3cb(0x1a7)]+'Id',_0x3e8f5c=_0x58d37b[_0x3ac3cb(0x176)]['findIndex'](_0x58b558=>_0x58b558[_0x3ac3cb(0x1a7)]==_0x142c6c[_0x3ac3cb(0x1a7)]);_0x510bda['push']({'type':_0x3ac3cb(0xf9),'header':_0x142c6c['header'],'name':_0x1d77b8,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x580e85}}),_0x58d37b[_0x3ac3cb(0x1a2)][_0x3ac3cb(0x1f0)][_0x3ac3cb(0x13f)][_0x1d77b8]='x',_0x58d37b[_0x3ac3cb(0x1a2)][_0x3ac3cb(0x167)][_0x3ac3cb(0x1a9)][_0x3ac3cb(0x1ef)]['push'](_0x1d77b8),_0x58d37b['searchConfig'][_0x3e8f5c][_0x3ac3cb(0x1a7)]=_0x1d77b8,_0x58d37b[_0x3ac3cb(0x176)][_0x3e8f5c][_0x3ac3cb(0x1a6)]=_0x3ac3cb(0xf9);});});let _0x220198=MetaUiUtil['getGristGuttersConfig'](_0x369845[_0x310810(0xe7)],_0xca0b8e['selectable']['multiple']);if(0x1==_0x58d37b[_0x310810(0x11b)]&&(_0x510bda=MetaUiUtil['setGridColumnSearchOption'](_0x58d37b,_0x510bda)),_0x58d37b['gridEmphasized']&&(_0x58d37b[_0x310810(0x1b6)]&&_0x58d37b[_0x310810(0x1b6)][_0x310810(0xc5)]&&_0x58d37b[_0x310810(0x1b6)][_0x310810(0xc5)][_0x310810(0x200)]>0x0&&(_0xca0b8e[_0x310810(0x1be)]=function(_0x4f7c46,_0x325792){const _0x4eff7f=_0x310810;let _0x354eae=_0x58d37b[_0x4eff7f(0x1b6)][_0x4eff7f(0xc5)];for(let _0x2d83c4=0x0;_0x2d83c4<_0x354eae[_0x4eff7f(0x200)];_0x2d83c4++){let _0x253752=_0x354eae[_0x2d83c4][_0x4eff7f(0xd8)][_0x4eff7f(0x17b)](/record./g,_0x4eff7f(0x181))[_0x4eff7f(0x17b)](/rowIndex/g,_0x4eff7f(0x1f3));if(eval(''+_0x253752))return{'emphasized':[_0x354eae[_0x2d83c4][_0x4eff7f(0x18c)],_0x354eae[_0x2d83c4][_0x4eff7f(0x1fe)]]};}}),_0x58d37b[_0x310810(0x1b6)]&&_0x58d37b[_0x310810(0x1b6)][_0x310810(0x156)])){let _0x52aa7e=_0x58d37b[_0x310810(0x1b6)]['column'];Object['keys'](_0x52aa7e)['forEach'](_0x347488=>{const _0x4c1ba5=_0x310810;let _0x2f2efc=_0x52aa7e[_0x347488],_0x5c3e3d=_0x510bda[_0x4c1ba5(0xd5)](_0x149d63=>_0x149d63[_0x4c1ba5(0x1a7)]==_0x347488);_0x510bda[_0x5c3e3d][_0x4c1ba5(0x14f)]||(_0x510bda[_0x5c3e3d][_0x4c1ba5(0x14f)]={}),_0x510bda[_0x5c3e3d][_0x4c1ba5(0x14f)][_0x4c1ba5(0x1be)]=function(_0x15ff31,_0x2b937c){const _0x15b2bc=_0x4c1ba5;for(let _0x16ba4c=0x0;_0x16ba4c<_0x2f2efc[_0x15b2bc(0x200)];_0x16ba4c++){let _0x74aa93=_0x2f2efc[_0x16ba4c][_0x15b2bc(0xd8)][_0x15b2bc(0x17b)](/record./g,'arguments[0].')[_0x15b2bc(0x17b)](/rowIndex/g,_0x15b2bc(0x1f3));if(eval(''+_0x74aa93))return{'emphasized':[_0x2f2efc[_0x16ba4c][_0x15b2bc(0x18c)],_0x2f2efc[_0x16ba4c][_0x15b2bc(0x1fe)]]};}};});}return{'list':_0x484b4a,'pagination':_0x369845[_0x310810(0x147)],'sorters':_0x369845['sorters'],'rows':_0xca0b8e,'columns':[..._0x220198,..._0x5c26f1,..._0x510bda]};}static async[a0_0x438792(0xce)](_0x329b42){const _0x51bff1=a0_0x438792;let _0x2261b8=_0x329b42[_0x51bff1(0x188)],_0x19fb9a=[],_0x43d4f9=Object[_0x51bff1(0xf5)](getValueGenerators());for(let _0x664fa2=0x0;_0x664fa2<_0x2261b8[_0x51bff1(0x200)];_0x664fa2++){let {type:_0x3cf539='string',name:_0x5561ab,header:_0x5adeba,hidden:_0x6af274=!0x1,editable:_0x6a2482=!0x0,mandatory:_0x3c728b=!0x1,align:_0x173f76='left',select_opt:_0x261005,object_opt:_0x31bd1f,default_value:_0x1cda07}=_0x2261b8[_0x664fa2],_0x4b459b={'type':_0x3cf539,'name':_0x5561ab,'header_txt':ValueUtil[_0x51bff1(0x129)](_0x5adeba)?TermsUtil[_0x51bff1(0x10f)](_0x5561ab):TermsUtil[_0x51bff1(0x10f)](_0x5adeba),'header':{'renderer':function(_0x473ef8){const _0x4534eb=_0x51bff1;return _0x473ef8[_0x4534eb(0x107)];}},'hidden':_0x6af274,'record':{'editable':_0x6a2482,'mandatory':_0x3c728b,'align':_0x173f76,'classifier':function(){},'renderer':getRenderer(_0x3cf539)}};_0x6a2482&&(_0x4b459b['record'][_0x51bff1(0x211)]=getEditor(_0x3cf539)),_0x1cda07&&(_0x43d4f9[_0x51bff1(0x16c)](_0x1cda07)?_0x4b459b[_0x51bff1(0x14f)][_0x51bff1(0x1f6)]=getValueGenerator(_0x1cda07):_0x4b459b[_0x51bff1(0x14f)]['defaultValue']=_0x1cda07),_0x3cf539[_0x51bff1(0x134)]('meta-')&&_0x31bd1f&&_0x31bd1f[_0x51bff1(0x13e)]&&(_0x31bd1f=await MetaUiUtil[_0x51bff1(0x1cd)](_0x3cf539,_0x31bd1f)),_0x51bff1(0x1d3)===_0x3cf539&&ValueUtil[_0x51bff1(0x138)](_0x261005)&&(Array['isArray'](_0x261005)?_0x4b459b[_0x51bff1(0x14f)][_0x51bff1(0x174)]=_0x261005:'code'===_0x261005[_0x51bff1(0x1a6)]?_0x4b459b[_0x51bff1(0x14f)][_0x51bff1(0x174)]=await ServiceUtil[_0x51bff1(0x1cf)](_0x261005[_0x51bff1(0x1ac)]?_0x261005[_0x51bff1(0x1ac)]:_0x261005['name']):_0x51bff1(0x18d)===_0x261005[_0x51bff1(0x1a6)]?_0x4b459b[_0x51bff1(0x14f)]['options']=await ServiceUtil[_0x51bff1(0x1d0)](_0x261005[_0x51bff1(0x1a7)],_0x261005[_0x51bff1(0x18b)]):'entity'===_0x261005[_0x51bff1(0x1a6)]&&(_0x4b459b['record'][_0x51bff1(0x174)]=await ServiceUtil[_0x51bff1(0xda)](_0x261005[_0x51bff1(0x18b)]))),_0x51bff1(0xf9)===_0x3cf539&&ValueUtil[_0x51bff1(0x138)](_0x31bd1f)?_0x4b459b[_0x51bff1(0x14f)][_0x51bff1(0x174)]={..._0x31bd1f}:_0x51bff1(0x1fb)===_0x3cf539&&ValueUtil[_0x51bff1(0x138)](_0x31bd1f)&&(_0x31bd1f['dispField']&&(_0x31bd1f['codes']=await ServiceUtil[_0x51bff1(0xda)](_0x31bd1f)),_0x4b459b['record'][_0x51bff1(0x174)]={..._0x31bd1f}),_0x19fb9a[_0x51bff1(0x21b)](_0x4b459b);}return _0x19fb9a;}static[a0_0x438792(0x1d6)](_0x138989){const _0x28144c=a0_0x438792;let _0x2d198c=_0x138989['gridConfig'];_0x138989[_0x28144c(0x11b)]=!_0x2d198c||null==_0x2d198c[_0x28144c(0x1d1)]||_0x2d198c[_0x28144c(0x1d1)];let {mobile_mode:_0x52b236=_0x28144c(0x116),desk_mode:_0x4af68b=_0x28144c(0x17d),view_mode:_0x3e448d=[],use_row_checker:_0x229383=!0x0,sorters:_0x46172f=[],pages:_0x29f343=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x2d198c[_0x28144c(0x164)])?{}:_0x2d198c['option'];return _0x28144c(0x1d4)===_0x29f343||'-1'===_0x29f343?(_0x138989[_0x28144c(0x11d)]=!0x0,_0x29f343={'infinite':!0x0}):(_0x138989[_0x28144c(0x11d)]=!0x1,_0x29f343['sort'](function(_0xab1391,_0x10aee3){return _0xab1391-_0x10aee3;}),_0x29f343={'pages':_0x29f343}),ValueUtil['isNotEmpty'](_0x3e448d)&&(0x1==_0x3e448d[_0x28144c(0x200)]?(_0x4af68b=_0x3e448d[0x0],_0x52b236=_0x3e448d[0x0]):_0x3e448d['length']>=0x2&&(_0x3e448d[_0x28144c(0x16c)](_0x52b236)||(_0x52b236=_0x3e448d[0x1]),_0x3e448d['includes'](_0x4af68b)||(_0x4af68b=_0x3e448d[0x0]))),_0x138989[_0x28144c(0x13a)]=_0x52b236,_0x138989[_0x28144c(0x183)]=_0x4af68b,_0x138989[_0x28144c(0x173)]=_0x3e448d,_0x138989[_0x28144c(0x136)]=UiUtil[_0x28144c(0x175)]()?_0x138989[_0x28144c(0x13a)]:_0x138989[_0x28144c(0x183)],{'use_row_checker':_0x229383,'sorters':_0x46172f,'pages':_0x29f343};}static[a0_0x438792(0x214)](_0x303b9a){const _0x45ec56=a0_0x438792;let _0x22a041={'fields':[ValueUtil[_0x45ec56(0x12c)](_0x303b9a[_0x45ec56(0x166)],'name'),ValueUtil[_0x45ec56(0x12c)](_0x303b9a[_0x45ec56(0x166)],_0x45ec56(0xd3))]};return _0x303b9a[_0x45ec56(0x1c7)]['list']&&Object[_0x45ec56(0xf0)](_0x22a041,_0x303b9a[_0x45ec56(0x1c7)]['list']),_0x22a041;}static[a0_0x438792(0x1bd)](_0x1970f1){const _0x1a45c2=a0_0x438792;let {multiple_select:_0x4506d9=!0x1,click:_0x46b676}=ValueUtil['isEmpty'](_0x1970f1[_0x1a45c2(0x1c7)]['row'])?{}:_0x1970f1[_0x1a45c2(0x1c7)][_0x1a45c2(0xc5)],_0x2d0752={'selectable':{'multiple':_0x4506d9},'appendable':_0x1970f1[_0x1a45c2(0x157)]};return ValueUtil[_0x1a45c2(0x138)](_0x46b676)&&(_0x2d0752[_0x1a45c2(0x1ad)]={'click':_0x46b676}),_0x2d0752;}static[a0_0x438792(0x1df)](_0x56a5cb){const _0x1b3026=a0_0x438792;let _0xf9572c=_0x56a5cb['gridConfig'][_0x1b3026(0xc0)];return ValueUtil[_0x1b3026(0x129)](_0xf9572c)?[]:_0xf9572c[_0x1b3026(0xdb)](_0x116c40=>{const _0x306e1f=_0x1b3026;let _0x250524={'type':_0x306e1f(0x1d2),'gutterName':_0x306e1f(0xc0)};if(ValueUtil[_0x306e1f(0x138)](_0x116c40[_0x306e1f(0xd9)])&&(Array[_0x306e1f(0x1f9)](_0x116c40['icon'])?_0x250524[_0x306e1f(0xd9)]=_0x1aaacb=>{const _0x11ced6=_0x306e1f;if(ValueUtil[_0x11ced6(0x138)](_0x1aaacb))for(let _0x7233e9=0x0;_0x7233e9<_0x116c40['icon'][_0x11ced6(0x200)];_0x7233e9++){let _0x5e71ee=_0x116c40['icon'][_0x7233e9];if(!0x0===ValueUtil[_0x11ced6(0x213)](_0x5e71ee,_0x1aaacb,Object[_0x11ced6(0xf5)](_0x5e71ee)[_0x11ced6(0xe9)](_0x2e5093=>_0x11ced6(0xd9)!=_0x2e5093)))return _0x5e71ee[_0x11ced6(0xd9)];}}:_0x250524['icon']=_0x116c40[_0x306e1f(0xd9)]),ValueUtil[_0x306e1f(0x138)](_0x116c40['name'])&&(_0x250524['name']=_0x116c40[_0x306e1f(0x1a7)]),ValueUtil[_0x306e1f(0x138)](_0x116c40[_0x306e1f(0x11f)])&&(_0x250524['title']=TermsUtil[_0x306e1f(0xbc)](_0x116c40[_0x306e1f(0x11f)])),'basic'===_0x116c40[_0x306e1f(0x1a6)]){let _0x3ed3b8=ValueUtil[_0x306e1f(0x12c)](_0x116c40,'logic');[_0x306e1f(0x1c5),_0x306e1f(0x189)][_0x306e1f(0x16c)](_0x3ed3b8)?_0x250524[_0x306e1f(0x1ad)]={'click':(_0x4e4ac5,_0xc6b8f,_0x9ac184,_0x1a613d,_0x7edbda)=>{const _0x13bab0=_0x306e1f;if(_0x1a613d['id']){let _0x2fd391={'title':_0x13bab0(0xe8),'type':'popup','tagname':_0x13bab0(0x1c5)==_0x3ed3b8?'history-copy-list-popup':'history-json-list-popup','location':_0x13bab0(0x1c5)==_0x3ed3b8?_0x13bab0(0x1aa):'pages/hgistory/history-json-list-popup.js','menu':_0x56a5cb[_0x13bab0(0x16b)],'size':_0x13bab0(0xcf),'popup_field':_0x13bab0(0x20f),'parent_field':'id'},_0x3936c9={..._0x1a613d,'gqlFunc':ValueUtil[_0x13bab0(0x12c)](_0x56a5cb[_0x13bab0(0x1a2)],_0x13bab0(0x1f0),_0x13bab0(0x1ec)),'gristConfig':JSON[_0x13bab0(0x209)](JSON[_0x13bab0(0x1fa)](_0x56a5cb[_0x13bab0(0x21d)]['config']))};MetaUiUtil[_0x13bab0(0x128)](_0x56a5cb,{'logic':_0x2fd391},_0x3936c9);}}}:_0x250524[_0x306e1f(0x1ad)]={'click':_0x3ed3b8};}else _0x250524[_0x306e1f(0x1ad)]={'click':(_0x462c6a,_0x3025b1,_0x12bc74,_0x3650bc,_0x3b0e76)=>{const _0x4d3eda=_0x306e1f;_0x3650bc['id']&&MetaUiUtil[_0x4d3eda(0x128)](_0x56a5cb,_0x116c40,_0x3650bc);}};return _0x250524;});}static async[a0_0x438792(0x20b)](_0x137f6e){const _0x159282=a0_0x438792;let _0x3330fb=_0x137f6e[_0x159282(0x12d)];if(ValueUtil[_0x159282(0x129)](_0x3330fb))return[];let _0x4f4c5e=Object[_0x159282(0xf5)](getValueGenerators()),_0x8c0dc6=[];for(let _0x2cc122=0x0;_0x2cc122<_0x3330fb[_0x159282(0x200)];_0x2cc122++){let {type:_0x1ae00a=_0x159282(0xc8),name:_0x2be361,header:_0x35222f,hidden:_0x9bd31a=!0x1,editable:_0x100ae8=!0x0,mandatory:_0x54bd37=!0x1,sortable:_0x2b126e=!0x1,align:_0x3a00be=_0x159282(0x130),width:_0x1a8627=0x0,exportable:_0x148950=!0x1,select_opt:_0x447cbe,object_opt:_0x548b30,format:_0x3306e5,default_value:_0x58d6ae}=_0x3330fb[_0x2cc122],_0x4bf301={'type':_0x1ae00a,'name':_0x2be361,'header':ValueUtil[_0x159282(0x129)](_0x35222f)?'':TermsUtil[_0x159282(0x10f)](_0x35222f),'hidden':_0x9bd31a,'sortable':_0x2b126e,'width':_0x1a8627,'record':{'editable':_0x100ae8,'mandatory':_0x54bd37,'align':_0x3a00be,'format':_0x3306e5}};if(_0x58d6ae&&(_0x4f4c5e[_0x159282(0x16c)](_0x58d6ae)?_0x4bf301[_0x159282(0x14f)][_0x159282(0x1f6)]=getValueGenerator(_0x58d6ae):_0x4bf301[_0x159282(0x14f)][_0x159282(0x1f6)]=_0x58d6ae),_0x1ae00a[_0x159282(0x134)](_0x159282(0x102))&&_0x548b30&&_0x548b30['menu']&&(_0x548b30=await MetaUiUtil[_0x159282(0x1cd)](_0x1ae00a,_0x548b30)),_0x159282(0x1d3)===_0x1ae00a&&ValueUtil['isNotEmpty'](_0x447cbe)&&(Array[_0x159282(0x1f9)](_0x447cbe)?_0x4bf301[_0x159282(0x14f)][_0x159282(0x174)]=_0x447cbe:_0x159282(0x190)===_0x447cbe[_0x159282(0x1a6)]?_0x4bf301['record'][_0x159282(0x174)]=await ServiceUtil[_0x159282(0x1cf)](_0x447cbe[_0x159282(0x1ac)]?_0x447cbe['values']:_0x447cbe['name']):_0x159282(0x18d)===_0x447cbe[_0x159282(0x1a6)]?_0x4bf301[_0x159282(0x14f)][_0x159282(0x174)]=await ServiceUtil[_0x159282(0x1d0)](_0x447cbe[_0x159282(0x1a7)],_0x447cbe[_0x159282(0x18b)]):_0x159282(0xd1)===_0x447cbe['type']&&(_0x4bf301[_0x159282(0x14f)]['options']=await ServiceUtil[_0x159282(0xda)](_0x447cbe[_0x159282(0x18b)]))),_0x159282(0xf9)===_0x1ae00a&&ValueUtil['isNotEmpty'](_0x548b30)){let _0x660ba5;_0x4bf301['record'][_0x159282(0x174)]={..._0x548b30},_0x548b30[_0x159282(0x133)]&&_0x548b30[_0x159282(0x133)][_0x159282(0x194)]&&(_0x660ba5=[..._0x548b30['basicArgs'][_0x159282(0x194)]]),_0x660ba5&&JSON['stringify'](_0x660ba5)[_0x159282(0x16c)]('::')&&(_0x4bf301[_0x159282(0x1ad)]={'dblclick':(_0x9e53b0,_0x571a80,_0x473316,_0xd6387c,_0x48b4e1)=>{const _0x4a13bf=_0x159282;let _0xfa2ce5=[];_0x660ba5[_0x4a13bf(0xfa)](_0x1e99b2=>{const _0x99535e=_0x4a13bf;var {name:_0x4ec335,value:_0x35f004,operator:_0x247cca='eq'}=_0x1e99b2;_0x35f004[_0x99535e(0x16c)]('::')&&(_0x35f004=ValueUtil[_0x99535e(0x12c)](_0xd6387c,..._0x35f004[_0x99535e(0x17b)]('::','')[_0x99535e(0x187)]('.'))),_0x35f004||(_0x35f004=''),_0xfa2ce5[_0x99535e(0x21b)]({'name':_0x4ec335,'operator':_0x247cca,'value':_0x35f004});}),_0x473316['record']['options']['basicArgs']['filters']=_0xfa2ce5;}});}else _0x159282(0x1fb)===_0x1ae00a&&ValueUtil[_0x159282(0x138)](_0x548b30)&&(_0x548b30[_0x159282(0x1ca)]&&(_0x548b30[_0x159282(0x21a)]=await ServiceUtil[_0x159282(0xda)](_0x548b30)),_0x4bf301[_0x159282(0x14f)][_0x159282(0x174)]={..._0x548b30});!0x0===_0x137f6e['useButtonExport']&&!0x0===_0x148950&&(_0x4bf301[_0x159282(0x206)]={'header':_0x4bf301['header'],'key':_0x4bf301[_0x159282(0x1a7)],'width':_0x4bf301['width']/0x6,'type':_0x4bf301[_0x159282(0x1a6)]}),_0x8c0dc6[_0x159282(0x21b)](_0x4bf301);}if(!0x0!==this[_0x159282(0xc6)])return _0x8c0dc6;let _0x203c57=await MetaApi['findMenuGridPersnalTemplate'](this[_0x159282(0x1ab)]),{template:_0x62d3df={}}=_0x203c57;if(!_0x62d3df[_0x159282(0x1c9)])return _0x8c0dc6;let _0x12b488=_0x62d3df[_0x159282(0x1c9)];return _0x8c0dc6=_0x8c0dc6[_0x159282(0xdb)](_0x4c2ed2=>('id'==_0x4c2ed2[_0x159282(0x1a7)]||(_0x4c2ed2['hidden']=!_0x12b488[_0x159282(0x16c)](_0x4c2ed2[_0x159282(0x1a7)]),_0x4c2ed2[_0x159282(0xf8)]=_0x12b488['indexOf'](_0x4c2ed2[_0x159282(0x1a7)]),-0x1==_0x4c2ed2[_0x159282(0xf8)]&&(_0x4c2ed2[_0x159282(0xf8)]=0x1869f)),_0x4c2ed2)),_0x8c0dc6[_0x159282(0x100)]((_0x1ff71a,_0x30591b)=>_0x1ff71a['rank']-_0x30591b[_0x159282(0xf8)]),_0x8c0dc6;}static async[a0_0x438792(0x1cd)](_0x1fd710,_0x95fa11){const _0x44e5cf=a0_0x438792;let _0x50fd10=await MetaUiUtil[_0x44e5cf(0x19b)](_0x95fa11[_0x44e5cf(0x13e)]);if(_0x50fd10&&_0x50fd10['records']&&_0x50fd10['records'][_0x44e5cf(0x200)]>0x0&&_0x50fd10['records'][0x0][_0x44e5cf(0x1e0)]){let _0x5efab7=_0x50fd10['records'][0x0],_0x5d33a1=JSON[_0x44e5cf(0x209)](MetaCrypto['dec'](_0x5efab7['template']));_0x95fa11[_0x44e5cf(0x1e5)]||(_0x95fa11['queryName']=_0x5d33a1['gql']['query'][_0x44e5cf(0x19a)]),_0x95fa11[_0x44e5cf(0x1d3)]||(_0x95fa11[_0x44e5cf(0x1d3)]=_0x5d33a1[_0x44e5cf(0xff)]),_0x95fa11[_0x44e5cf(0x1c8)]&&0x0!=_0x95fa11[_0x44e5cf(0x1c8)]['length']||(_0x95fa11['filterFields']=_0x5d33a1[_0x44e5cf(0x10c)]),_0x95fa11[_0x44e5cf(0x170)]||(_0x95fa11[_0x44e5cf(0x170)]=_0x5d33a1[_0x44e5cf(0x13e)][_0x44e5cf(0x178)]),_0x95fa11[_0x44e5cf(0x194)]||(_0x95fa11[_0x44e5cf(0x194)]=_0x5d33a1[_0x44e5cf(0x161)]['query'][_0x44e5cf(0x194)]||[]),_0x1fd710[_0x44e5cf(0x16c)](_0x44e5cf(0x14d))?_0x95fa11[_0x44e5cf(0x22a)]||(_0x95fa11['nameField']=_0x5d33a1[_0x44e5cf(0x13e)][_0x44e5cf(0x1a7)]||'name'):_0x1fd710[_0x44e5cf(0x16c)]('-code-')&&(_0x95fa11[_0x44e5cf(0xd2)]||(_0x95fa11['codeField']=_0x5d33a1[_0x44e5cf(0x13e)]['name']||'code'),_0x95fa11['dispField']||(_0x95fa11['dispField']=_0x5d33a1['menu'][_0x44e5cf(0xd3)]||void 0x0));}return _0x95fa11;}static[a0_0x438792(0x140)](_0xbfd25c,_0x28e2a7){const _0x32e6d9=a0_0x438792;let _0x48d36d=_0xbfd25c['searchConfig'];return _0x48d36d&&_0x48d36d[_0x32e6d9(0xfa)](_0x3ea1c4=>{const _0x470d1b=_0x32e6d9;_0x470d1b(0xc8)==typeof _0x3ea1c4?_0x28e2a7[_0x470d1b(0xe9)](_0x42d6b8=>_0x42d6b8[_0x470d1b(0x1a7)]==_0x3ea1c4)[_0x470d1b(0xfa)](_0x2839c7=>{const _0x2ae053=_0x470d1b;_0x2839c7[_0x2ae053(0xe9)]=_0x2ae053(0x10c);}):_0x470d1b(0x1c3)==typeof _0x3ea1c4&&_0x28e2a7['filter'](_0x215beb=>_0x215beb['name']==_0x3ea1c4[_0x470d1b(0x1a7)])[_0x470d1b(0xfa)](_0x426a2d=>{const _0x2d1d09=_0x470d1b;_0x426a2d[_0x2d1d09(0xe9)]=_0x3ea1c4,_0x426a2d[_0x2d1d09(0xe9)][_0x2d1d09(0x1a6)]=_0x2d1d09(0x132)===_0x426a2d[_0x2d1d09(0x1a6)]&&'eq'==_0x3ea1c4[_0x2d1d09(0x193)]?_0x2d1d09(0x228):_0x426a2d['type'];let _0x4f0a45=_0x426a2d['filter']['value'],_0x1c2a28=[_0x2d1d09(0x21c),'year',_0x2d1d09(0x10a),_0x2d1d09(0x1e4),_0x2d1d09(0xd0),_0x2d1d09(0x184),_0x2d1d09(0x192)];if(_0x4f0a45&&_0x1c2a28[_0x2d1d09(0xe9)](_0x2de589=>_0x4f0a45[_0x2d1d09(0x134)](_0x2de589))[_0x2d1d09(0x200)]>0x0){let _0x5808c5=[],_0x226d8d={'date':_0x2d1d09(0x185),'datetime':_0x2d1d09(0xde)},_0x38bf1f={'today':'day','year':_0x2d1d09(0x1d5),'month':'month','date':'day','hour':_0x2d1d09(0xd0),'min':_0x2d1d09(0xd6),'sec':_0x2d1d09(0x1b3)};_0x4f0a45['split'](',')['forEach'](_0x498ced=>{const _0x5f4e10=_0x2d1d09,_0x590a83=a0_0x3d632c();if(_0x1c2a28[_0x5f4e10(0x16c)](_0x498ced))_0x5808c5[_0x5f4e10(0x21b)](_0x590a83[_0x5f4e10(0xe3)](_0x38bf1f[_0x498ced])['format'](_0x226d8d[_0x426a2d['type']]));else{if(_0x498ced['includes']('-')){let _0x877bd9=_0x498ced[_0x5f4e10(0x187)]('-'),_0x3d5777=_0x877bd9[0x0],_0x3c85a7=_0x877bd9[0x1];_0x5808c5[_0x5f4e10(0x21b)](_0x590a83[_0x5f4e10(0x153)](_0x3c85a7,_0x38bf1f[_0x3d5777])['startOf'](_0x38bf1f[_0x3d5777])[_0x5f4e10(0x104)](_0x226d8d[_0x426a2d[_0x5f4e10(0x1a6)]]));}else{if(_0x498ced['includes']('+')){let _0x25d7fe=_0x498ced[_0x5f4e10(0x187)]('+'),_0x16f77d=_0x25d7fe[0x0],_0x1ad145=_0x25d7fe[0x1];_0x5808c5['push'](_0x590a83[_0x5f4e10(0x115)](_0x1ad145,_0x38bf1f[_0x16f77d])[_0x5f4e10(0xe3)](_0x38bf1f[_0x16f77d])[_0x5f4e10(0x104)](_0x226d8d[_0x426a2d[_0x5f4e10(0x1a6)]]));}}}}),_0x5808c5[_0x2d1d09(0x200)]>0x0&&(_0x426a2d['filter'][_0x2d1d09(0x1e9)]=0x1==_0x5808c5['length']?_0x5808c5[0x0]:_0x5808c5);}});}),_0x28e2a7;}static[a0_0x438792(0x124)](_0x942952){const _0x4112b3=a0_0x438792;let _0x3d8e63={'title':TermsUtil[_0x4112b3(0x17f)](_0x942952[_0x4112b3(0x166)][_0x4112b3(0x178)]),'help':_0x942952['menuInfo']['help']||'','actions':[...MetaUiUtil[_0x4112b3(0xd7)](_0x942952)]};return _0x942952[_0x4112b3(0x1e6)]&&(_0x3d8e63['exportable']={'name':_0x3d8e63['title'],'data':_0x942952['export']['bind'](_0x942952)}),_0x942952['useButtonImport']&&(_0x3d8e63[_0x4112b3(0xca)]={'handler':_0x942952['import']['bind'](_0x942952)}),_0x3d8e63;}static['getContextButtons'](_0x28ca9b){const _0x324a3d=a0_0x438792;let _0x4c603a=_0x28ca9b[_0x324a3d(0x21f)];return ValueUtil[_0x324a3d(0x129)](_0x4c603a)?[]:_0x4c603a[_0x324a3d(0xe9)](_0x5a1564=>'export'!=_0x5a1564[_0x324a3d(0x1a7)]&&_0x324a3d(0xeb)!=_0x5a1564['name']&&_0x324a3d(0x115)!=_0x5a1564['name'])[_0x324a3d(0xdb)](_0x43cd6d=>{const _0x2cd318=_0x324a3d;let {name:_0x1916a9,label:_0x1f1b6d,style:_0x4c7b23,type:_0x19bc2e=_0x2cd318(0x1d8),action:_0x19ba06,logic:_0x45a64d}=_0x43cd6d;if(ValueUtil['isEmpty'](_0x1916a9))return{'title':'-1'};ValueUtil[_0x2cd318(0x129)](_0x1f1b6d)&&(_0x1f1b6d=_0x1916a9),ValueUtil['isEmpty'](_0x4c7b23)&&(_0x4c7b23=_0x1916a9),ValueUtil[_0x2cd318(0x129)](_0x19ba06)&&(_0x19ba06=_0x1916a9);let _0x3496f6=ValueUtil[_0x2cd318(0x138)](_0x4c7b23)?CommonButtonStyles[_0x4c7b23]||{'icon':_0x4c7b23,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x2cd318(0xbc)](_0x1f1b6d),'action':MetaUiUtil[_0x2cd318(0xc1)](_0x28ca9b,_0x19bc2e,_0x19ba06,_0x45a64d),..._0x3496f6};})[_0x324a3d(0xe9)](_0x539592=>'-1'!=_0x539592[_0x324a3d(0x178)]);}static['getContainerButtons'](_0xb5df4){const _0x2c2651=a0_0x438792;let _0x1c79be=_0xb5df4&&_0xb5df4[_0x2c2651(0x21f)]?_0xb5df4[_0x2c2651(0x21f)]:null;return _0x1c79be?_0x1c79be[_0x2c2651(0xe9)](_0x215ab9=>'add'!=_0x215ab9[_0x2c2651(0x1a7)])['map'](_0xcdd204=>{const _0x11a11f=_0x2c2651;let {name:_0x5e6623,label:_0xffd6cf,style:_0x4abe96,type:_0x13c4a0=_0x11a11f(0x1d8),action:_0x41a87d,logic:_0x21cfac}=_0xcdd204;ValueUtil[_0x11a11f(0x129)](_0xffd6cf)&&(_0xffd6cf=_0x5e6623),ValueUtil[_0x11a11f(0x129)](_0x4abe96)&&(_0x4abe96=_0x5e6623),ValueUtil[_0x11a11f(0x129)](_0x41a87d)&&(_0x41a87d=_0x5e6623);let _0x308281=MetaUiUtil[_0x11a11f(0x125)](TermsUtil[_0x11a11f(0xbc)](_0xffd6cf),_0x4abe96);return _0x308281[_0x11a11f(0xef)]=MetaUiUtil[_0x11a11f(0xc1)](_0xb5df4,_0x13c4a0,_0x41a87d,_0x21cfac),_0x308281;}):[];}static[a0_0x438792(0x125)](_0x41a76a,_0x52bd25){const _0x10899e=a0_0x438792;let _0x3d9c77=CommonButtonStyles[_0x52bd25]||{'icon':_0x52bd25,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x477f76=_0x10899e(0x212)+_0x41a76a+_0x10899e(0x1e8)+(_0x3d9c77[_0x10899e(0xd9)]?_0x3d9c77[_0x10899e(0xd9)]:'')+_0x10899e(0x201)+(_0x3d9c77[_0x10899e(0x119)]['raised']?_0x10899e(0x12a):'')+_0x10899e(0x122)+(_0x3d9c77['emphasis'][_0x10899e(0x1de)]?_0x10899e(0x1de):'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3d9c77[_0x10899e(0x119)][_0x10899e(0x171)]?_0x10899e(0x171):'')+_0x10899e(0x122)+(_0x3d9c77[_0x10899e(0x119)][_0x10899e(0x1d7)]?_0x10899e(0x1d7):'')+_0x10899e(0x1ce);return UiUtil[_0x10899e(0x10d)](_0x477f76);}static[a0_0x438792(0xc1)](_0x206ba0,_0x23912c,_0x5cafdf,_0x241520){const _0x111e4e=a0_0x438792;if(_0x111e4e(0x1d8)==_0x23912c){if(_0x206ba0[_0x5cafdf])return _0x206ba0[_0x5cafdf][_0x111e4e(0x199)](_0x206ba0);}else{if('custom'==_0x23912c)return()=>MetaUiUtil[_0x111e4e(0x13d)](_0x206ba0,_0x241520);}return()=>{const _0x48f8bb=_0x111e4e;UiUtil['showAlertPopup'](_0x48f8bb(0x20d),_0x48f8bb(0x12f),_0x48f8bb(0xbf),_0x48f8bb(0x16e));};}static async[a0_0x438792(0x128)](_0x7f56a8,_0x5bd09c,_0xc9ae53){const _0x5b3f52=a0_0x438792;let _0x3d7444=ValueUtil['getParams'](_0x5bd09c,'logic'),_0xf323b9=ValueUtil['getParams'](_0x3d7444,_0x5b3f52(0x1a6));if(_0x5b3f52(0xf6)===_0xf323b9)_0x3d7444[_0x5b3f52(0xe1)]='meta-form-element',_0x3d7444['location']=_0x5b3f52(0x208),_0x3d7444['parent_field']='id',await MetaUiUtil[_0x5b3f52(0x151)](_0x7f56a8,_0x3d7444,_0xc9ae53);else{if(_0x5b3f52(0x1ae)===_0xf323b9)MetaUiUtil[_0x5b3f52(0xcd)](_0x7f56a8,_0x3d7444,_0xc9ae53);else{if(_0x5b3f52(0xec)===_0xf323b9){let _0x56358c;_0x3d7444['param_field']?(_0x56358c={},Object[_0x5b3f52(0xf5)](_0xc9ae53)['filter'](_0x3b5754=>Object[_0x5b3f52(0xf5)](_0x3d7444[_0x5b3f52(0x16a)])[_0x5b3f52(0x16c)](_0x3b5754))[_0x5b3f52(0xdb)](_0x30b6e2=>{const _0x598a2e=_0x5b3f52;Object['keys'](_0x3d7444['param_field'])[_0x598a2e(0x16c)](_0x30b6e2)&&(_0x598a2e(0xc8)==typeof _0xc9ae53[_0x30b6e2]?_0x56358c[_0x3d7444[_0x598a2e(0x16a)][_0x30b6e2]]=_0xc9ae53[_0x30b6e2]:_0x56358c[_0x3d7444['param_field'][_0x30b6e2]]={'id':_0xc9ae53[_0x30b6e2]['id']});})):_0x56358c=_0xc9ae53,UiUtil[_0x5b3f52(0x20a)](_0x3d7444[_0x5b3f52(0x19c)],[_0x56358c]);}else'popup'===_0xf323b9?await MetaUiUtil[_0x5b3f52(0x151)](_0x7f56a8,_0x3d7444,_0xc9ae53):_0x5b3f52(0x18d)===_0xf323b9?await MetaUiUtil[_0x5b3f52(0x12b)](_0x7f56a8,_0x3d7444,_0xc9ae53):_0x5b3f52(0x195)===_0xf323b9&&await MetaUiUtil['gristButtonValueReference'](_0x7f56a8,_0x3d7444,_0xc9ae53);}}}static async['customButtonHandler'](_0x315766,_0x909456){const _0x27a514=a0_0x438792;if(ValueUtil['isEmpty'](_0x909456))return;let _0x19776c=_0x315766[_0x27a514(0x21d)],_0x570a0b=_0x315766['filterForm'],_0x140612=ValueUtil[_0x27a514(0x12c)](_0x909456,_0x27a514(0x1a6)),_0x9f85d0=ValueUtil[_0x27a514(0x12c)](_0x909456,'param'),_0x2498cd=_0x9f85d0['filter'](_0x4c8474=>_0x4c8474[_0x27a514(0x134)]('grist'));if(ValueUtil[_0x27a514(0x138)](_0x2498cd)){if(!_0x19776c)return void UiUtil[_0x27a514(0xc9)](_0x27a514(0x1eb),_0x27a514(0x177),'info','confirm');if(0x0==(_0x19776c[_0x27a514(0x1da)]?_0x19776c[_0x27a514(0x1da)][_0x27a514(0x19e)]:[])[_0x27a514(0x200)])return void UiUtil['showAlertPopup'](_0x27a514(0x1eb),'text.grid_data_is_empty',_0x27a514(0xbf),_0x27a514(0x16e));if(_0x9f85d0['includes']('grist_one')||_0x9f85d0[_0x27a514(0x16c)](_0x27a514(0x1d9))){let _0x12f88c=_0x19776c[_0x27a514(0x168)];if(ValueUtil[_0x27a514(0x129)](_0x12f88c))return void UiUtil[_0x27a514(0xc9)](_0x27a514(0x204),_0x27a514(0x1f7),'info','confirm');if(_0x9f85d0[_0x27a514(0x16c)](_0x27a514(0xfb))&&_0x12f88c[_0x27a514(0x200)]>0x1)return void UiUtil[_0x27a514(0xc9)](_0x27a514(0x1eb),'text.please_select_only_one',_0x27a514(0xbf),_0x27a514(0x16e));}}let _0x57e57d={};if(_0x9f85d0[_0x27a514(0x16c)]('filter')){if(!_0x570a0b)return void UiUtil[_0x27a514(0xc9)](_0x27a514(0x1eb),'text.search_form_is_not_exist','info',_0x27a514(0x16e));let _0x1ba044=_0x570a0b?await _0x570a0b[_0x27a514(0xfe)]():[];_0x57e57d[_0x27a514(0xe9)]=_0x1ba044;}if(_0x9f85d0['includes'](_0x27a514(0x11e)))_0x57e57d[_0x27a514(0x21d)]=_0x19776c[_0x27a514(0x1da)]['records'];else{if(_0x9f85d0[_0x27a514(0x16c)](_0x27a514(0xfb)))_0x57e57d[_0x27a514(0x21d)]=_0x19776c[_0x27a514(0x168)][0x0];else{if(_0x9f85d0[_0x27a514(0x16c)](_0x27a514(0x1d9)))_0x57e57d[_0x27a514(0x21d)]=_0x19776c[_0x27a514(0x168)];else{if(_0x9f85d0[_0x27a514(0x16c)](_0x27a514(0xed))&&(_0x57e57d[_0x27a514(0x21d)]=ServiceUtil['patchesForUpdateMultiple'](_0x19776c),!_0x57e57d[_0x27a514(0x21d)]))return;}}}if(_0x27a514(0xec)===_0x140612){let _0x13af57,_0x4dd78e=Array[_0x27a514(0x1f9)](_0x57e57d[_0x27a514(0x21d)])?_0x57e57d[_0x27a514(0x21d)]:[_0x57e57d[_0x27a514(0x21d)]];_0x13af57=_0x909456[_0x27a514(0x16a)]?_0x4dd78e[_0x27a514(0xdb)](_0x5e9043=>{const _0x5c6151=_0x27a514;let _0xaa39c4={};return Object[_0x5c6151(0xf5)](_0x5e9043)[_0x5c6151(0xe9)](_0x2d0549=>Object['keys'](_0x909456['param_field'])[_0x5c6151(0x16c)](_0x2d0549))[_0x5c6151(0xdb)](_0x31371e=>{const _0x39d890=_0x5c6151;Object[_0x39d890(0xf5)](_0x909456['param_field'])[_0x39d890(0x16c)](_0x31371e)&&(_0x39d890(0xc8)==typeof _0x5e9043[_0x31371e]?_0xaa39c4[_0x909456['param_field'][_0x31371e]]=_0x5e9043[_0x31371e]:_0xaa39c4[_0x909456[_0x39d890(0x16a)][_0x31371e]]={'id':_0x5e9043[_0x31371e]['id']});}),_0xaa39c4;}):_0x4dd78e,UiUtil[_0x27a514(0x20a)](_0x909456[_0x27a514(0x19c)],_0x13af57);}else{if(_0x27a514(0x120)===_0x140612){let _0x8a57e2={..._0x57e57d[_0x27a514(0x21d)]?_0x57e57d[_0x27a514(0x21d)]:{},..._0x57e57d[_0x27a514(0xe9)]?_0x57e57d[_0x27a514(0xe9)]:{}};await MetaUiUtil[_0x27a514(0x151)](_0x315766,_0x909456,_0x8a57e2);}else _0x27a514(0x18d)===_0x140612&&await MetaUiUtil[_0x27a514(0x12b)](_0x315766,_0x909456,_0x57e57d);}}static[a0_0x438792(0xcd)](_0x42ef0c,_0x4adc8d,_0x550dde){const _0x1917a0=a0_0x438792;let _0x47d41b=_0x4adc8d[_0x1917a0(0x14a)],_0x19d33f={},_0x2ba57=_0x42ef0c['tagName'][_0x1917a0(0x110)](),_0x173d48=_0x42ef0c;_0x19d33f=_0x2ba57[_0x1917a0(0x134)](_0x1917a0(0x203))||_0x2ba57['startsWith'](_0x1917a0(0x149))?_0x47d41b[_0x1917a0(0x172)]?{..._0x47d41b}:{'detail':{..._0x47d41b}}:{..._0x47d41b},Object['keys'](_0x19d33f)[_0x1917a0(0xfa)](_0x483640=>{const _0x1e11e1=_0x1917a0;if(_0x1e11e1(0x1c9)==_0x483640?_0x173d48=_0x42ef0c[_0x1e11e1(0x1f8)]['masterElement']:_0x1e11e1(0x172)==_0x483640?_0x173d48=_0x42ef0c[_0x1e11e1(0x1f8)]?_0x42ef0c['rootElement']['detailElement']:_0x42ef0c[_0x1e11e1(0x191)]:_0x1e11e1(0xc4)==_0x483640&&(_0x173d48=_0x42ef0c),_0x173d48){if(_0x173d48[_0x1e11e1(0x22b)][_0x1e11e1(0x110)]()['startsWith'](_0x1e11e1(0x215)))Object['keys'](_0x19d33f[_0x483640])['forEach'](_0x471bfd=>{const _0x45e256=_0x1e11e1;let _0x2619a9=_0x173d48['shadowRoot'][_0x45e256(0xbe)]('#'+_0x471bfd);_0x550dde['id']&&_0x2619a9[_0x45e256(0x22d)](_0x550dde['id']);let _0x56ffbe=_0x19d33f[_0x483640][_0x471bfd];Object[_0x45e256(0xf5)](_0x56ffbe)[_0x45e256(0xfa)](_0x284be9=>{let _0x5ba593=_0x56ffbe[_0x284be9],_0x31c94f='*'===_0x5ba593?_0x550dde:_0x550dde[_0x5ba593];_0x2619a9[_0x284be9]=_0x31c94f;});});else{let _0x9cb5cb=_0x173d48;_0x550dde['id']&&_0x9cb5cb[_0x1e11e1(0x22d)](_0x550dde['id']);let _0x3acaeb=_0x19d33f[_0x483640];Object[_0x1e11e1(0xf5)](_0x3acaeb)['forEach'](_0x2e8f83=>{let _0x2ba7ef=_0x3acaeb[_0x2e8f83],_0x1b1a95='*'===_0x2ba7ef?_0x550dde:_0x550dde[_0x2ba7ef];_0x9cb5cb[_0x2e8f83]=_0x1b1a95;});}}});}static async[a0_0x438792(0x151)](_0x3863de,_0x5e6de2,_0x29a3a5){const _0x5f1f7d=a0_0x438792;let _0x2528f3=TermsUtil['tTitle'](_0x5e6de2[_0x5f1f7d(0x178)]);ValueUtil[_0x5f1f7d(0x138)](_0x5e6de2[_0x5f1f7d(0x152)])&&(_0x2528f3=_0x2528f3+'('+ValueUtil[_0x5f1f7d(0x12c)](_0x29a3a5,..._0x5e6de2[_0x5f1f7d(0x152)]['split']('.'))+')');let _0x207d7a=_0x5e6de2[_0x5f1f7d(0x229)]&&_0x5f1f7d(0xc8)==typeof _0x5e6de2['after']&&'fetch'===_0x5e6de2[_0x5f1f7d(0x229)]&&_0x3863de&&_0x3863de[_0x5f1f7d(0x217)]?_0x3863de[_0x5f1f7d(0x217)][_0x5f1f7d(0x199)](_0x3863de):void 0x0;UiUtil[_0x5f1f7d(0x1b8)](_0x2528f3,_0x5e6de2,_0x29a3a5,_0x207d7a);}static async[a0_0x438792(0x12b)](_0x5e3915,_0x3c99f0,_0x2f1a7b){const _0x3ae9fd=a0_0x438792;let _0x5b52bf=await ServiceUtil[_0x3ae9fd(0x1bf)](_0x3ae9fd(0x103),_0x3c99f0['name'],_0x2f1a7b);if(!_0x5b52bf[_0x3ae9fd(0x123)]&&!ValueUtil[_0x3ae9fd(0x129)](_0x3c99f0[_0x3ae9fd(0x229)])&&_0x3c99f0[_0x3ae9fd(0x229)]){if(_0x3ae9fd(0x217)!==_0x3c99f0[_0x3ae9fd(0x229)]){if(_0x3ae9fd(0x1c3)==typeof _0x3c99f0[_0x3ae9fd(0x229)]){let _0x2570e2=_0x3c99f0[_0x3ae9fd(0x229)],_0x335bde=ValueUtil[_0x3ae9fd(0x12c)](_0x5b52bf['data'][_0x3ae9fd(0x10e)][_0x3ae9fd(0x1da)],..._0x2570e2['result_name'][_0x3ae9fd(0x187)]('.'));if(0x0==Array['isArray'](_0x335bde)&&(_0x335bde=[_0x335bde]),_0x3ae9fd(0xf6)===_0x2570e2[_0x3ae9fd(0x1a6)])_0x2570e2[_0x3ae9fd(0xe1)]=_0x3ae9fd(0x16d),_0x2570e2[_0x3ae9fd(0x221)]='pages/meta-form-element.js',_0x2570e2[_0x3ae9fd(0x1f1)]='id',_0x335bde=_0x335bde[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x5e3915,_0x2570e2,_0x335bde);else{if(_0x3ae9fd(0xec)===_0x2570e2[_0x3ae9fd(0x1a6)]){let _0x702c14,_0x41c0cb=_0x335bde;_0x702c14=_0x2570e2[_0x3ae9fd(0x16a)]?_0x41c0cb[_0x3ae9fd(0xdb)](_0x44b32f=>{const _0x57bdca=_0x3ae9fd;let _0x3b1739={};return Object[_0x57bdca(0xf5)](_0x44b32f)[_0x57bdca(0xe9)](_0x139191=>Object[_0x57bdca(0xf5)](_0x2570e2[_0x57bdca(0x16a)])[_0x57bdca(0x16c)](_0x139191))[_0x57bdca(0xdb)](_0xf16956=>{const _0x2f4f05=_0x57bdca;Object[_0x2f4f05(0xf5)](_0x2570e2[_0x2f4f05(0x16a)])[_0x2f4f05(0x16c)](_0xf16956)&&(_0x2f4f05(0xc8)==typeof _0x44b32f[_0xf16956]?_0x3b1739[_0x2570e2[_0x2f4f05(0x16a)][_0xf16956]]=_0x44b32f[_0xf16956]:_0x3b1739[_0x2570e2[_0x2f4f05(0x16a)][_0xf16956]]={'id':_0x44b32f[_0xf16956]['id']});}),_0x3b1739;}):_0x41c0cb,UiUtil[_0x3ae9fd(0x20a)](_0x2570e2['url'],_0x702c14);}else _0x3ae9fd(0x1ae)===_0x2570e2['type']?(_0x335bde=_0x335bde[0x0],MetaUiUtil[_0x3ae9fd(0xcd)](_0x5e3915,_0x2570e2,_0x335bde)):_0x3ae9fd(0x120)===_0x2570e2[_0x3ae9fd(0x1a6)]?(_0x335bde=_0x335bde[0x0],await MetaUiUtil[_0x3ae9fd(0x151)](_0x5e3915,_0x2570e2,_0x335bde)):_0x3ae9fd(0x195)===_0x2570e2[_0x3ae9fd(0x1a6)]&&(_0x335bde=_0x335bde[0x0],await MetaUiUtil[_0x3ae9fd(0x135)](_0x5e3915,_0x2570e2,_0x335bde));}}}else _0x5e3915[_0x3ae9fd(0x217)]();}}static async[a0_0x438792(0x135)](_0x582e7b,_0x597115,_0x122c9b){const _0x5366eb=a0_0x438792;for(let _0x16d760=0x0;_0x16d760<_0x597115[_0x5366eb(0xbd)]['length'];_0x16d760++){let _0x51b23b=_0x597115[_0x5366eb(0xbd)][_0x16d760];!0x0===ValueUtil['compareObjectValues'](_0x51b23b,_0x122c9b,Object[_0x5366eb(0xf5)](_0x51b23b)[_0x5366eb(0xe9)](_0x2341c4=>_0x5366eb(0xd8)!=_0x2341c4))&&await MetaUiUtil['gristButtonHandler'](_0x582e7b,_0x51b23b,_0x122c9b);}}static[a0_0x438792(0x160)](_0x5b0bbd,_0xcd25bf){return{'type':_0x5b0bbd,'name':_0xcd25bf,'sortable':!0x1,'hidden':!0x0};}static[a0_0x438792(0xc3)](_0x2c9409,_0x35eee7,_0x27b229,_0x412707,_0x2f86a9,_0x8a7142){const _0x8174b3=a0_0x438792;let _0x225be8=TermsUtil[_0x8174b3(0x10f)](_0x35eee7);return{'type':_0x2c9409,'name':_0x35eee7,'header':_0x225be8,'record':{'align':_0x27b229,'editable':_0x412707},'sortable':_0x2f86a9,'width':_0x8a7142,'imex':{'width':Math[_0x8174b3(0x105)](_0x8a7142/0x6),'header':_0x225be8,'type':_0x2c9409,'key':_0x35eee7}};}static[a0_0x438792(0x1dc)](_0x4f5e44,_0x76a402,_0xad56e3,_0x578a01,_0x568e0b,_0x4e9090,_0x2ceb96){const _0x3d4027=a0_0x438792;let _0xc43c8c=TermsUtil['tLabel'](_0xad56e3);return{'type':_0x4f5e44,'name':_0x76a402,'header':_0xc43c8c,'record':{'align':_0x578a01,'editable':_0x568e0b},'sortable':_0x4e9090,'width':_0x2ceb96,'imex':{'width':Math[_0x3d4027(0x105)](_0x2ceb96/0x6),'header':_0xc43c8c,'type':_0x4f5e44,'key':_0x76a402}};}static[a0_0x438792(0x1b9)](_0x48cc23,_0x9f496f,_0x1a3b4b,_0x42f7f9,_0x3cf188,_0x47980d,_0x1eb1b6,_0x2ae88a){const _0x48df40=a0_0x438792;let _0x44a7af=TermsUtil[_0x48df40(0x10f)](_0x1a3b4b);return{'type':_0x48cc23,'name':_0x9f496f,'header':_0x44a7af,'record':{'align':_0x42f7f9,'editable':_0x3cf188,'mandatory':_0x1eb1b6},'sortable':_0x47980d,'width':_0x2ae88a,'imex':{'width':Math[_0x48df40(0x105)](_0x2ae88a/0x6),'header':_0x44a7af,'type':_0x48cc23,'key':_0x9f496f}};}static['getGristSelectorColumnConfig'](_0x3b036f,_0x1ef2bc,_0x7ebc58,_0x1becaf,_0x28f639,_0x21ce15,_0x38f897){const _0x3f3c82=a0_0x438792;let _0x1ce87e=TermsUtil[_0x3f3c82(0x10f)](_0x1ef2bc);return{'type':_0x3f3c82(0x1d3),'name':_0x3b036f,'header':_0x1ce87e,'record':{'align':_0x7ebc58,'editable':!0x0,'mandatory':_0x21ce15,'options':_0x38f897},'sortable':_0x1becaf,'width':_0x28f639,'imex':{'width':Math[_0x3f3c82(0x105)](_0x28f639/0x6),'header':_0x1ce87e,'type':_0x3f3c82(0xc8),'key':_0x3b036f}};}static async[a0_0x438792(0x1ea)](_0x229c87,_0x34b2b9,_0x845c79,_0x4f7b42,_0x4ff6a6,_0x230e45,_0x597276){const _0x2ae5e2=a0_0x438792;let _0x3adc0f=await ServiceUtil[_0x2ae5e2(0x1cf)](_0x597276);return MetaUiUtil[_0x2ae5e2(0x1b7)](_0x229c87,_0x34b2b9,_0x845c79,_0x4f7b42,_0x4ff6a6,_0x230e45,_0x3adc0f);}static['getGristSearchColumnConfig'](_0x199f3c,_0x3ecc37,_0x11f948,_0xd1dd63,_0x1b5683){const _0x1eb4d6=a0_0x438792;let _0x2bb3cd=TermsUtil['tLabel'](_0x11f948),_0x442de4={'name':_0x199f3c,'type':_0x3ecc37,'label':_0x2bb3cd,'operator':_0xd1dd63,'imex':{'width':0x10,'header':_0x2bb3cd,'type':_0x3ecc37,'key':_0x199f3c}};return _0x1b5683&&(_0x442de4[_0x1eb4d6(0x174)]=_0x1b5683),_0x442de4;}static async[a0_0x438792(0x155)](_0x159f66,_0x1e15cd,_0x2fce9d,_0x446f35,_0x3981b9){const _0x34a2d0=a0_0x438792;let _0x318655=await ServiceUtil[_0x34a2d0(0x1cf)](_0x3981b9);return MetaUiUtil[_0x34a2d0(0x169)](_0x159f66,_0x1e15cd,_0x2fce9d,_0x446f35,_0x318655);}static[a0_0x438792(0x108)](){return[css`
|
|
6
6
|
.button-container {
|
|
7
7
|
padding: var(--button-container-padding);
|
|
8
8
|
margin: var(--button-container-margin);
|
|
@@ -21,7 +21,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=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_0x438792(0xfc)](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
@@ -49,7 +49,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
49
49
|
#grist-personal > mwc-icon:hover{
|
|
50
50
|
background-color: var(--primary-color);
|
|
51
51
|
}
|
|
52
|
-
`];}static[
|
|
52
|
+
`];}static[a0_0x438792(0x109)](){const _0x1d57df=a0_0x438792;return[ScrollbarStyles,CommonGristStyles,css`
|
|
53
53
|
:host {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
@@ -59,7 +59,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
59
59
|
ox-grist {
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
flex: 1;
|
|
62
|
-
}`,...MetaUiUtil[
|
|
62
|
+
}`,...MetaUiUtil[_0x1d57df(0xfc)](),...MetaUiUtil[_0x1d57df(0x108)](),...MetaUiUtil[_0x1d57df(0x202)]()];}static[a0_0x438792(0x154)](){return[ScrollbarStyles,CommonGristStyles,css`
|
|
63
63
|
:host {
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
@@ -106,7 +106,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
106
106
|
ox-grist {
|
|
107
107
|
overflow-y: auto;
|
|
108
108
|
flex: 1;
|
|
109
|
-
}`,...MetaUiUtil[
|
|
109
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil['getGristPersonalizedStyles']()];}static['getBasicMasterDetailStyles'](){const _0x27780e=a0_0x438792;return[ScrollbarStyles,CommonGristStyles,css`
|
|
110
110
|
:host {
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: column;
|
|
@@ -153,7 +153,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
153
153
|
ox-grist {
|
|
154
154
|
overflow-y: auto;
|
|
155
155
|
flex: 1;
|
|
156
|
-
}`,...MetaUiUtil[
|
|
156
|
+
}`,...MetaUiUtil[_0x27780e(0xfc)](),...MetaUiUtil[_0x27780e(0x108)](),...MetaUiUtil[_0x27780e(0x202)]()];}static[a0_0x438792(0x150)](){const _0x128d42=a0_0x438792;return[ScrollbarStyles,CommonGristStyles,css`
|
|
157
157
|
:host {
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
@@ -200,7 +200,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
200
200
|
ox-grist {
|
|
201
201
|
overflow-y: auto;
|
|
202
202
|
flex: 1;
|
|
203
|
-
}`,...MetaUiUtil[
|
|
203
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[_0x128d42(0x108)](),...MetaUiUtil[_0x128d42(0x202)]()];}static[a0_0x438792(0x131)](){const _0x585afb=a0_0x438792;return[ScrollbarStyles,CommonGristStyles,css`
|
|
204
204
|
:host {
|
|
205
205
|
display: flex;
|
|
206
206
|
flex-direction: column;
|
|
@@ -215,7 +215,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
215
215
|
ox-grist {
|
|
216
216
|
overflow-y: auto;
|
|
217
217
|
flex: 1;
|
|
218
|
-
}`,...MetaUiUtil[
|
|
218
|
+
}`,...MetaUiUtil[_0x585afb(0xfc)](),...MetaUiUtil[_0x585afb(0x108)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x438792(0x1ed)](_0x181c68){const _0x364643=a0_0x438792;return _0x364643(0x13c)==_0x181c68?MetaUiUtil[_0x364643(0x1af)]():MetaUiUtil['getMasterDetailLeftRightGristStyle']();}static['getMasterDetailTopDownGristStyle'](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
219
219
|
:host {
|
|
220
220
|
display: flex;
|
|
221
221
|
flex-direction: column;
|
|
@@ -282,7 +282,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
282
282
|
margin-left:7px;
|
|
283
283
|
margin-top:7px;
|
|
284
284
|
}
|
|
285
|
-
`];}static[
|
|
285
|
+
`];}static[a0_0x438792(0x114)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
286
286
|
:host {
|
|
287
287
|
display: flex;
|
|
288
288
|
flex-direction: column;
|
|
@@ -349,7 +349,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
349
349
|
margin-left:7px;
|
|
350
350
|
margin-top:7px;
|
|
351
351
|
}
|
|
352
|
-
`];}static[
|
|
352
|
+
`];}static['getBasicFormStyles'](){const _0x13100a=a0_0x438792;return[ScrollbarStyles,css`
|
|
353
353
|
:host {
|
|
354
354
|
display: flex;
|
|
355
355
|
flex: 1;
|
|
@@ -438,7 +438,7 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
438
438
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
`,...MetaUiUtil[
|
|
441
|
+
`,...MetaUiUtil[_0x13100a(0x108)]()];}static[a0_0x438792(0xf2)](){return[css`
|
|
442
442
|
:host {
|
|
443
443
|
display: flex;
|
|
444
444
|
flex: 1;
|
|
@@ -493,204 +493,204 @@ const a0_0x471413=a0_0x5407;(function(_0xe65e46,_0x2ab7f9){const _0x2b5bd9=a0_0x
|
|
|
493
493
|
overflow-x: overlay;
|
|
494
494
|
background-color: var(--main-section-background-color);
|
|
495
495
|
}
|
|
496
|
-
`];}static['isButtonExist'](
|
|
496
|
+
`];}static['isButtonExist'](_0x5f4640,_0x4c58cd){const _0x271437=a0_0x438792;return!!(_0x5f4640?_0x5f4640[_0x271437(0xf3)](_0x3ebec8=>_0x3ebec8['name']==_0x4c58cd):null);}static[a0_0x438792(0x1fc)](_0x41c717,_0x41774f){const _0x4f860a=a0_0x438792;return!!(_0x41c717&&_0x41c717[_0x4f860a(0xc0)]?_0x41c717[_0x4f860a(0xc0)][_0x4f860a(0xf3)](_0x33c050=>_0x33c050['name']==_0x41774f):null);}static[a0_0x438792(0x163)](_0x51610c){const _0x1302f2=a0_0x438792;let _0x5c7168='';return _0x51610c['filter'](_0x20f0d6=>_0x1302f2(0x1d2)!=_0x20f0d6['type'])[_0x1302f2(0xfa)](_0x3b2bac=>{const _0x3d8a58=_0x1302f2;_0x5c7168+='\x0a',_0x5c7168+=[_0x3d8a58(0xf9),_0x3d8a58(0x1c3),'resource-object']['includes'](_0x3b2bac[_0x3d8a58(0x1a6)])?_0x3b2bac[_0x3d8a58(0x1a7)]+'\x0a{'+MetaUiUtil[_0x3d8a58(0x137)](_0x3b2bac)+'}':_0x3d8a58(0x16f)==_0x3b2bac[_0x3d8a58(0x1a6)]?_0x3b2bac[_0x3d8a58(0x1a7)]+_0x3d8a58(0x165):_0x3b2bac[_0x3d8a58(0x1a7)];}),_0x5c7168;}static['getObjctColumnSelectFields'](_0x102ea6){const _0x3c5bfb=a0_0x438792;let _0x8ec6b='';return ValueUtil[_0x3c5bfb(0x138)](_0x102ea6['record'])&&ValueUtil['isNotEmpty'](_0x102ea6[_0x3c5bfb(0x14f)][_0x3c5bfb(0x174)])&&ValueUtil[_0x3c5bfb(0x138)](_0x102ea6[_0x3c5bfb(0x14f)][_0x3c5bfb(0x174)][_0x3c5bfb(0x1d3)])&&_0x102ea6[_0x3c5bfb(0x14f)][_0x3c5bfb(0x174)][_0x3c5bfb(0x1d3)][_0x3c5bfb(0xfa)](_0x55053a=>{const _0x4ae129=_0x3c5bfb;_0x55053a[_0x4ae129(0x1a7)]&&''!==_0x55053a[_0x4ae129(0x1a7)]&&([_0x4ae129(0xf9),_0x4ae129(0x1c3),_0x4ae129(0x1bc)]['includes'](_0x55053a[_0x4ae129(0x1a6)])?_0x8ec6b+='\x0a'+_0x55053a[_0x4ae129(0x1a7)]+'\x20{\x20'+MetaUiUtil[_0x4ae129(0x137)](_0x55053a)+'\x20\x0a\x20}':_0x8ec6b+='\x0a'+_0x55053a[_0x4ae129(0x1a7)]);}),''==_0x8ec6b&&(_0x8ec6b+=_0x3c5bfb(0x216)),_0x8ec6b;}static['getBasicGristHtml'](_0x1e132a){const _0x4fb665=a0_0x438792;let _0x5cef1b=_0x1e132a['gristConfigSet'];if(_0x5cef1b){let _0x11ac30=_0x1e132a[_0x4fb665(0xee)]?_0x1e132a[_0x4fb665(0xee)]:_0x4fb665(0x1c6),_0x5182a9=_0x1e132a['gridMode'];return html`
|
|
497
497
|
<ox-grist
|
|
498
|
-
id=${
|
|
499
|
-
.config=${
|
|
500
|
-
.mode=${
|
|
498
|
+
id=${_0x11ac30}
|
|
499
|
+
.config=${_0x5cef1b}
|
|
500
|
+
.mode=${_0x5182a9}
|
|
501
501
|
auto-fetch
|
|
502
|
-
.fetchHandler=${
|
|
503
|
-
${MetaUiUtil[
|
|
502
|
+
.fetchHandler=${_0x1e132a['fetchHandler']['bind'](_0x1e132a)}>
|
|
503
|
+
${MetaUiUtil['getGridDetailHtml'](_0x1e132a)}
|
|
504
504
|
</ox-grist>
|
|
505
|
-
`;}return html``;}static[
|
|
505
|
+
`;}return html``;}static[a0_0x438792(0x207)](_0x12a196){const _0x1b44c3=a0_0x438792;if(!_0x12a196)return html``;if(!_0x12a196[_0x1b44c3(0x210)])return html``;let _0x47443e=_0x12a196['formConfigSet'],_0x4b26d7=_0x12a196[_0x1b44c3(0x14f)]||{},_0x569142=_0x47443e['filter'](_0x158875=>0x0==_0x158875[_0x1b44c3(0xea)]);return ValueUtil[_0x1b44c3(0x129)](_0x12a196[_0x1b44c3(0x159)])?MetaUiUtil[_0x1b44c3(0xf7)](_0x12a196,_0x569142,_0x4b26d7):MetaUiUtil['getBasicFormHtmlOnOption'](_0x12a196,_0x569142,_0x4b26d7);}static[a0_0x438792(0x148)](_0x57be6a,_0x326103,_0x5a2d63){const _0x1795d9=a0_0x438792;let _0x2748c1=_0x57be6a[_0x1795d9(0x159)];return html`
|
|
506
506
|
<div class="root_container">
|
|
507
|
-
${
|
|
507
|
+
${_0x2748c1['map'](_0x59ab2c=>{const _0x5820db=_0x1795d9;let _0x573cd1=[];_0x59ab2c[_0x5820db(0x11c)][_0x5820db(0xfa)](_0x11a877=>{const _0x5be8bf=_0x5820db;let _0x388c14=_0x326103[_0x5be8bf(0xe9)](_0x2ff989=>_0x11a877==_0x2ff989[_0x5be8bf(0x1a7)])||[];_0x388c14[_0x5be8bf(0x200)]>0x0&&_0x573cd1['push'](_0x388c14[0x0]);});let _0x35c701=_0x5820db(0x18a);for(let _0x2a73c6=0x0;_0x2a73c6<_0x59ab2c[_0x5820db(0x156)];_0x2a73c6++)_0x35c701+=_0x5820db(0x1a1);return _0x35c701+=';',html`
|
|
508
508
|
<h2>
|
|
509
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
509
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](_0x59ab2c[_0x5820db(0xc2)])}
|
|
510
510
|
</h2>
|
|
511
|
-
<div id="content_container" class="content_container" style="${
|
|
512
|
-
${
|
|
513
|
-
<label ?editable=${
|
|
514
|
-
${
|
|
511
|
+
<div id="content_container" class="content_container" style="${_0x35c701}">
|
|
512
|
+
${_0x573cd1[_0x5820db(0xdb)](_0x36c36f=>{const _0x43fdf5=_0x5820db;let {editable:_0x236698=!0x1,mandatory:_0x490441=!0x1}=_0x36c36f['record'],_0x507156=_0x5a2d63[_0x43fdf5(0x1a8)]||{};return html`
|
|
513
|
+
<label ?editable=${_0x236698}><span>${_0x490441?'*':''}${_0x36c36f[_0x43fdf5(0x107)]}</span>
|
|
514
|
+
${_0x236698?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
515
515
|
</label>
|
|
516
516
|
<ox-grid-field
|
|
517
517
|
.rowIndex=${0x0}
|
|
518
|
-
.column=${
|
|
519
|
-
.record=${
|
|
520
|
-
.value=${
|
|
521
|
-
?dirty=${!!
|
|
518
|
+
.column=${_0x36c36f}
|
|
519
|
+
.record=${_0x5a2d63}
|
|
520
|
+
.value=${_0x5a2d63[_0x36c36f[_0x43fdf5(0x1a7)]]}
|
|
521
|
+
?dirty=${!!_0x507156[_0x36c36f['name']]}
|
|
522
522
|
></ox-grid-field>
|
|
523
523
|
`;})}
|
|
524
524
|
</div>
|
|
525
525
|
`;})}
|
|
526
526
|
</div>
|
|
527
|
-
${
|
|
528
|
-
`;}static[
|
|
529
|
-
<div id="container" class="container" style="${
|
|
530
|
-
${
|
|
531
|
-
<label ?editable=${
|
|
532
|
-
${
|
|
527
|
+
${_0x57be6a[_0x1795d9(0x1b2)]?html``:MetaUiUtil['getButtonContainer'](_0x57be6a)}
|
|
528
|
+
`;}static[a0_0x438792(0xf7)](_0x84da7d,_0x461cf4,_0x1376fc){const _0x453b8c=a0_0x438792;let _0x58b1d1=_0x453b8c(0x106);_0x84da7d[_0x453b8c(0x156)]&&0x0!=_0x84da7d[_0x453b8c(0x156)]||(_0x84da7d[_0x453b8c(0x156)]=0x1),_0x84da7d[_0x453b8c(0x156)]=parseInt((_0x84da7d[_0x453b8c(0x11a)]||{})[_0x453b8c(0x225)]||_0x84da7d[_0x453b8c(0x156)]);for(let _0x54a24c=0x0;_0x54a24c<_0x84da7d['column'];_0x54a24c++)_0x58b1d1+=_0x453b8c(0x1a1);return _0x58b1d1+=';',html`
|
|
529
|
+
<div id="container" class="container" style="${_0x58b1d1}">
|
|
530
|
+
${_0x461cf4[_0x453b8c(0xdb)](_0x4f9b2b=>{const _0x3f76c7=_0x453b8c;let {editable:_0x225ce4=!0x1,mandatory:_0xe8b2bf=!0x1}=_0x4f9b2b[_0x3f76c7(0x14f)],_0x43242e=_0x1376fc[_0x3f76c7(0x1a8)]||{};return html`
|
|
531
|
+
<label ?editable=${_0x225ce4}><span>${_0xe8b2bf?'*':''}${_0x4f9b2b[_0x3f76c7(0x107)]}</span>
|
|
532
|
+
${_0x225ce4?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
533
533
|
</label>
|
|
534
534
|
<ox-grid-field
|
|
535
535
|
.rowIndex=${0x0}
|
|
536
|
-
.column=${
|
|
537
|
-
.record=${
|
|
538
|
-
.value=${
|
|
539
|
-
?dirty=${!!
|
|
536
|
+
.column=${_0x4f9b2b}
|
|
537
|
+
.record=${_0x1376fc}
|
|
538
|
+
.value=${_0x1376fc[_0x4f9b2b[_0x3f76c7(0x1a7)]]}
|
|
539
|
+
?dirty=${!!_0x43242e[_0x4f9b2b[_0x3f76c7(0x1a7)]]}
|
|
540
540
|
></ox-grid-field>
|
|
541
541
|
`;})}
|
|
542
542
|
</div>
|
|
543
|
-
${
|
|
544
|
-
`;}static[
|
|
543
|
+
${_0x84da7d[_0x453b8c(0x1b2)]?html``:MetaUiUtil['getButtonContainer'](_0x84da7d)}
|
|
544
|
+
`;}static[a0_0x438792(0xe0)](_0x4a0b03){const _0x248562=a0_0x438792;if(!_0x4a0b03)return html``;if(!_0x4a0b03[_0x248562(0xe6)])return html``;let _0x3860fc=_0x4a0b03[_0x248562(0xe6)];return _0x4a0b03['currentTabKey']||(_0x4a0b03['currentTabKey']=_0x3860fc[0x0]?.[_0x248562(0x1a7)]||void 0x0),html`
|
|
545
545
|
<div class="tabs">
|
|
546
|
-
${
|
|
547
|
-
<div class="tab" ?activate="${
|
|
548
|
-
${
|
|
549
|
-
<span>${
|
|
546
|
+
${_0x3860fc[_0x248562(0xdb)](_0x4a0252=>{const _0x1642b6=_0x248562;let _0x190e4b=TermsUtil[_0x1642b6(0x10f)](_0x4a0252[_0x1642b6(0xc2)]),_0xd97ac2=_0x4a0252[_0x1642b6(0x1a7)];return html`
|
|
547
|
+
<div class="tab" ?activate="${_0xd97ac2===_0x4a0b03[_0x1642b6(0x1c1)]}" @click="${()=>_0x4a0b03['currentTabKey']=_0xd97ac2}">
|
|
548
|
+
${_0x4a0252[_0x1642b6(0xd9)]?html`<mwc-icon>${_0x4a0252[_0x1642b6(0xd9)]}</mwc-icon>`:html``}
|
|
549
|
+
<span>${_0x190e4b}</span>
|
|
550
550
|
</div>
|
|
551
551
|
`;})}
|
|
552
552
|
</div>
|
|
553
553
|
<div class="content-container">
|
|
554
|
-
${
|
|
555
|
-
<div class='tab-contents' style="${
|
|
556
|
-
${MetaUiUtil[
|
|
554
|
+
${_0x3860fc[_0x248562(0xdb)](_0x40297e=>{const _0x16e3e3=_0x248562;let _0x3366cd=_0x16e3e3(0x1f4);return _0x40297e[_0x16e3e3(0x1a7)]==_0x4a0b03[_0x16e3e3(0x1c1)]&&(_0x3366cd=_0x16e3e3(0x1ff)),html`
|
|
555
|
+
<div class='tab-contents' style="${_0x3366cd}">
|
|
556
|
+
${MetaUiUtil[_0x16e3e3(0x20c)](_0x4a0b03,_0x40297e)}
|
|
557
557
|
</div>
|
|
558
558
|
`;})}
|
|
559
559
|
</div>
|
|
560
|
-
`;}static[
|
|
561
|
-
${0x0==
|
|
560
|
+
`;}static[a0_0x438792(0x15c)](_0x204b8c){const _0x1f4f16=a0_0x438792;let _0x14f68c=(_0x204b8c[_0x1f4f16(0x11a)]||{})[_0x1f4f16(0x145)]||_0x1f4f16(0x224),_0x2ccb91=(_0x204b8c['etcConfig']||{})[_0x1f4f16(0x19f)]||'50%\x2050%',_0x1c973d=_0x1f4f16(0x20e)==_0x14f68c?_0x1f4f16(0x106)+_0x2ccb91+';':_0x1f4f16(0x118)+_0x2ccb91+';',_0x25002d=_0x204b8c[_0x1f4f16(0x1b2)]?UiUtil[_0x1f4f16(0x16b)]():_0x204b8c[_0x1f4f16(0xf1)];return html`
|
|
561
|
+
${0x0==_0x204b8c['useMasterFilterForm']?html``:html`
|
|
562
562
|
<div slot="headroom">
|
|
563
563
|
<div id="filters">
|
|
564
564
|
<ox-filters-form-base
|
|
565
565
|
id='ox-filters-form'
|
|
566
|
-
.filters=${
|
|
567
|
-
.value=${
|
|
568
|
-
@filters-change=${
|
|
566
|
+
.filters=${_0x204b8c[_0x1f4f16(0x1dd)]||[]}
|
|
567
|
+
.value=${_0x204b8c[_0x1f4f16(0xe4)]||[]}
|
|
568
|
+
@filters-change=${_0x3f99c0=>{const _0x26ba03=_0x1f4f16;_0x204b8c[_0x26ba03(0x21d)]?.[_0x26ba03(0x217)]();}}
|
|
569
569
|
></ox-filters-form-base>
|
|
570
570
|
</div>
|
|
571
571
|
</div>
|
|
572
572
|
`}
|
|
573
|
-
<div id="container" class="container" style="${
|
|
573
|
+
<div id="container" class="container" style="${_0x1c973d}">
|
|
574
574
|
<div class="container_detail">
|
|
575
|
-
${MetaApi[
|
|
576
|
-
${MetaUiUtil[
|
|
575
|
+
${MetaApi[_0x1f4f16(0x18e)](_0x204b8c)}
|
|
576
|
+
${MetaUiUtil['getButtonContainer'](_0x204b8c)}
|
|
577
577
|
</div>
|
|
578
578
|
<div class="container_detail">
|
|
579
|
-
${!0x0===
|
|
579
|
+
${!0x0===_0x204b8c[_0x1f4f16(0xc6)]?html`${!0x0===_0x204b8c[_0x1f4f16(0x1ba)]?html`<meta-tab-element
|
|
580
580
|
id="detail"
|
|
581
|
-
route_name="${
|
|
582
|
-
.activityDataSet=${(
|
|
581
|
+
route_name="${_0x25002d}"
|
|
582
|
+
.activityDataSet=${(_0x204b8c[_0x1f4f16(0x158)]||{})['detail']}
|
|
583
583
|
is_readonly=true
|
|
584
584
|
is_activity=true
|
|
585
585
|
is_detail=true>
|
|
586
586
|
</meta-tab-element>`:html`<meta-tab-element
|
|
587
587
|
id="detail"
|
|
588
|
-
route_name="${
|
|
589
|
-
.activityDataSet=${(
|
|
588
|
+
route_name="${_0x25002d}"
|
|
589
|
+
.activityDataSet=${(_0x204b8c[_0x1f4f16(0x158)]||{})[_0x1f4f16(0x172)]}
|
|
590
590
|
is_activity=true
|
|
591
591
|
is_detail=true>
|
|
592
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
592
|
+
</meta-tab-element>`}`:html`${!0x0===_0x204b8c[_0x1f4f16(0x1ba)]?html`<meta-tab-element id="detail" route_name="${_0x25002d}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x25002d}" is_detail=true></meta-tab-element>`}`}
|
|
593
593
|
</div>
|
|
594
594
|
</div>
|
|
595
|
-
`;}static[
|
|
596
|
-
${0x0==
|
|
595
|
+
`;}static[a0_0x438792(0x111)](_0x300552){const _0x527469=a0_0x438792;let _0x58b22d=_0x300552[_0x527469(0x11a)][_0x527469(0x145)]||_0x527469(0x224),_0x5ca7e2=_0x300552[_0x527469(0x11a)]['master_detail_size']||_0x527469(0x180),_0x4cc226=_0x300552[_0x527469(0x11a)]['master_detail_element'],_0x3bf515=JSON[_0x527469(0x209)](_0x4cc226||'{}'),_0x142a3f='left_right'==_0x58b22d?_0x527469(0x106)+_0x5ca7e2+';':'grid-template-rows:'+_0x5ca7e2+';';return MetaUiUtil[_0x527469(0x1cc)](_0x300552),MetaUiUtil[_0x527469(0x15f)](_0x300552,_0x3bf515),html`
|
|
596
|
+
${0x0==_0x300552[_0x527469(0x219)]?html``:html`
|
|
597
597
|
<div slot="headroom">
|
|
598
598
|
<div id="filters">
|
|
599
599
|
<ox-filters-form-base
|
|
600
600
|
id='ox-filters-form'
|
|
601
|
-
.filters=${
|
|
602
|
-
.value=${
|
|
603
|
-
@filters-change=${
|
|
601
|
+
.filters=${_0x300552[_0x527469(0x1dd)]||[]}
|
|
602
|
+
.value=${_0x300552[_0x527469(0xe4)]||[]}
|
|
603
|
+
@filters-change=${_0x4b21ed=>{const _0x163199=_0x527469;_0x300552[_0x163199(0x217)]();}}
|
|
604
604
|
></ox-filters-form-base>
|
|
605
605
|
</div>
|
|
606
606
|
</div>
|
|
607
607
|
`}
|
|
608
|
-
<div id="container" class="container" style="${
|
|
608
|
+
<div id="container" class="container" style="${_0x142a3f}">
|
|
609
609
|
<div class="container_detail">
|
|
610
|
-
${
|
|
610
|
+
${_0x300552[_0x527469(0x143)]}
|
|
611
611
|
</div>
|
|
612
612
|
<div class="container_detail">
|
|
613
|
-
${''==
|
|
614
|
-
${
|
|
613
|
+
${''==_0x3bf515[_0x527469(0xe1)]||_0x527469(0x215)==_0x3bf515[_0x527469(0xe1)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x527469(0x17f)](''+_0x3bf515['display'])}</h2>`}
|
|
614
|
+
${_0x300552[_0x527469(0x191)]}
|
|
615
615
|
</div>
|
|
616
616
|
</div>
|
|
617
|
-
`;}static[
|
|
618
|
-
${0x0==
|
|
617
|
+
`;}static[a0_0x438792(0x1b5)](_0x7b23d8){const _0x93b945=a0_0x438792;return MetaUiUtil[_0x93b945(0x1cc)](_0x7b23d8),html`
|
|
618
|
+
${0x0==_0x7b23d8[_0x93b945(0x219)]?html``:html`
|
|
619
619
|
<div slot="headroom">
|
|
620
620
|
<div id="filters">
|
|
621
621
|
<ox-filters-form-base
|
|
622
622
|
id='ox-filters-form'
|
|
623
|
-
.filters=${
|
|
624
|
-
.value=${
|
|
625
|
-
@filters-change=${
|
|
623
|
+
.filters=${_0x7b23d8[_0x93b945(0x1dd)]||[]}
|
|
624
|
+
.value=${_0x7b23d8['searchFieldValues']||[]}
|
|
625
|
+
@filters-change=${_0x38553a=>{_0x7b23d8['fetch']();}}
|
|
626
626
|
></ox-filters-form-base>
|
|
627
627
|
</div>
|
|
628
628
|
</div>
|
|
629
629
|
`}
|
|
630
630
|
<div id="container" class="container" >
|
|
631
|
-
${
|
|
631
|
+
${_0x7b23d8['masterElement']}
|
|
632
632
|
</div>
|
|
633
|
-
`;}static[
|
|
634
|
-
${0x0==
|
|
633
|
+
`;}static['getMasterDetailHtml'](_0x3b6621){const _0x4c6cb6=a0_0x438792;let _0x228f1f=_0x3b6621[_0x4c6cb6(0x11a)][_0x4c6cb6(0x145)]||_0x4c6cb6(0x224),_0xd1ed3b=_0x3b6621['etcConfig'][_0x4c6cb6(0x19f)]||_0x4c6cb6(0x180),_0x4fc879=_0x3b6621['etcConfig'][_0x4c6cb6(0x1e2)],_0x2f8f67=JSON[_0x4c6cb6(0x209)](_0x4fc879||'{}'),_0x51e1ca='left_right'==_0x228f1f?_0x4c6cb6(0x106)+_0xd1ed3b+';':_0x4c6cb6(0x118)+_0xd1ed3b+';';return MetaUiUtil[_0x4c6cb6(0x15f)](_0x3b6621,_0x2f8f67),html`
|
|
634
|
+
${0x0==_0x3b6621[_0x4c6cb6(0x219)]?html``:html`
|
|
635
635
|
<div slot="headroom">
|
|
636
636
|
<div id="filters">
|
|
637
637
|
<ox-filters-form-base
|
|
638
638
|
id='ox-filters-form'
|
|
639
|
-
.filters=${
|
|
640
|
-
.value=${
|
|
641
|
-
@filters-change=${
|
|
639
|
+
.filters=${_0x3b6621[_0x4c6cb6(0x1dd)]||[]}
|
|
640
|
+
.value=${_0x3b6621['searchFieldValues']||[]}
|
|
641
|
+
@filters-change=${_0x29af76=>{const _0x42140e=_0x4c6cb6;_0x3b6621[_0x42140e(0x21d)]?.[_0x42140e(0x217)]();}}
|
|
642
642
|
></ox-filters-form-base>
|
|
643
643
|
</div>
|
|
644
644
|
</div>
|
|
645
645
|
`}
|
|
646
|
-
<div id="container" class="container" style="${
|
|
646
|
+
<div id="container" class="container" style="${_0x51e1ca}">
|
|
647
647
|
<div class="container_detail">
|
|
648
|
-
${MetaApi[
|
|
649
|
-
${MetaUiUtil[
|
|
648
|
+
${MetaApi[_0x4c6cb6(0x18e)](_0x3b6621)}
|
|
649
|
+
${MetaUiUtil[_0x4c6cb6(0x182)](_0x3b6621)}
|
|
650
650
|
</div>
|
|
651
651
|
<div class="container_detail">
|
|
652
|
-
${''==
|
|
653
|
-
${
|
|
652
|
+
${''==_0x2f8f67[_0x4c6cb6(0xe1)]||'meta-tab-element'==_0x2f8f67[_0x4c6cb6(0xe1)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x2f8f67[_0x4c6cb6(0xc2)])}</h2>`}
|
|
653
|
+
${_0x3b6621[_0x4c6cb6(0x191)]}
|
|
654
654
|
</div>
|
|
655
655
|
</div>
|
|
656
|
-
`;}static[
|
|
656
|
+
`;}static[a0_0x438792(0x15f)](_0x1ec3cd,_0x756a80){const _0x552b8e=a0_0x438792;if(!_0x1ec3cd[_0x552b8e(0x191)]){let _0x14b046=_0x756a80[_0x552b8e(0x1a7)]?_0x756a80[_0x552b8e(0x1a7)]:_0x552b8e(0x172),_0x6a8337='<'+_0x756a80[_0x552b8e(0xe1)]+'\x20id=\x22'+_0x14b046+'\x22\x20name=\x22'+_0x14b046+'\x22\x20route_name=\x22'+_0x756a80['routing']+'\x22\x20'+(!0x0===_0x1ec3cd[_0x552b8e(0xc6)]?_0x552b8e(0x17e):'')+'\x20'+(!0x0===_0x1ec3cd[_0x552b8e(0x1ba)]?_0x552b8e(0x1f5):'')+_0x552b8e(0x15e)+_0x756a80[_0x552b8e(0xe1)]+'>';_0x1ec3cd[_0x552b8e(0x191)]=UiUtil['htmlToElement'](_0x6a8337),_0x1ec3cd[_0x552b8e(0x191)]['activityDataSet']=(_0x1ec3cd['activityDataSet']||{})[_0x552b8e(0x172)],_0x1ec3cd['tagName'][_0x552b8e(0x110)]()[_0x552b8e(0x134)](_0x552b8e(0x12e))&&(_0x1ec3cd['detailElement'][_0x552b8e(0x1f8)]=_0x1ec3cd);}}static[a0_0x438792(0x1cc)](_0x3f31a1){const _0x26cd8b=a0_0x438792;if(!_0x3f31a1[_0x26cd8b(0x143)]&&_0x3f31a1['filterForm']){let _0x7dddf3=_0x26cd8b(0x1c9),_0x290a79=_0x26cd8b(0x179)+_0x7dddf3+_0x26cd8b(0x218)+_0x7dddf3+_0x26cd8b(0xc7)+_0x3f31a1[_0x26cd8b(0x16b)]+'\x22\x20'+(!0x0===_0x3f31a1[_0x26cd8b(0xc6)]?'is_activity=true':'')+'\x20'+(!0x0===_0x3f31a1['is_readonly']?_0x26cd8b(0x1f5):'')+_0x26cd8b(0x1fd);_0x3f31a1[_0x26cd8b(0x143)]=UiUtil['htmlToElement'](_0x290a79),_0x3f31a1[_0x26cd8b(0x143)][_0x26cd8b(0x158)]=(_0x3f31a1['activityDataSet']||{})[_0x26cd8b(0x1c9)],_0x3f31a1[_0x26cd8b(0x143)]['includeMainList']=!0x0,_0x3f31a1[_0x26cd8b(0x143)][_0x26cd8b(0x198)]=_0x3f31a1[_0x26cd8b(0x197)],_0x3f31a1[_0x26cd8b(0x143)]['rootElement']=_0x3f31a1;}}static['getBasicTabContent'](_0x5df1ef,_0x3c5da5){const _0x361754=a0_0x438792;if(_0x5df1ef['tabElements']||(_0x5df1ef[_0x361754(0x1b4)]={}),Object[_0x361754(0xf5)](_0x5df1ef[_0x361754(0x1b4)])[_0x361754(0xe9)](_0x4e4a49=>_0x4e4a49==_0x3c5da5[_0x361754(0x1a7)])['length']>0x0)return _0x5df1ef[_0x361754(0x1b4)][_0x3c5da5['name']];let _0xc687ae='<'+_0x3c5da5[_0x361754(0xe1)]+_0x361754(0x1a5)+_0x3c5da5[_0x361754(0x1a7)]+_0x361754(0x126)+_0x3c5da5[_0x361754(0x13e)]+'\x27\x20style=\x22flex:1;\x22\x20'+(!0x0===_0x5df1ef['is_activity']?_0x361754(0x17e):'')+'\x20'+(!0x0===_0x5df1ef[_0x361754(0x1ba)]?_0x361754(0x1f5):'')+'\x20is_detail=true></'+_0x3c5da5[_0x361754(0xe1)]+'>',_0x428a53=UiUtil[_0x361754(0x10d)](_0xc687ae);return _0x428a53['activityDataSet']=(_0x5df1ef['activityDataSet']||{})[_0x3c5da5['name']],_0x5df1ef['parent_id']&&(_0x428a53[_0x361754(0x21e)]=_0x5df1ef[_0x361754(0x21e)]),_0x5df1ef[_0x361754(0x1f8)]?_0x428a53[_0x361754(0x1f8)]=_0x5df1ef[_0x361754(0x1f8)]:_0x428a53[_0x361754(0x191)]=_0x5df1ef,!0x1===_0x3c5da5['filter_from']&&(_0x428a53['use_filter_form']=!0x1),_0x3c5da5[_0x361754(0x141)]&&(_0x428a53[_0x361754(0x198)]=_0x3c5da5['main_filter_form']),_0x5df1ef[_0x361754(0x1b4)][_0x3c5da5[_0x361754(0x1a7)]]=_0x428a53,_0x428a53;}static[a0_0x438792(0x1e1)](_0x40d0ea){const _0x5e5c29=a0_0x438792;let _0x26bd09=_0x40d0ea[_0x5e5c29(0x157)],_0xcf5b2b=_0x40d0ea[_0x5e5c29(0x11b)],_0x31f4e7=_0x40d0ea[_0x5e5c29(0xcb)],_0x29de14=JSON[_0x5e5c29(0x209)]((_0x40d0ea['etcConfig']||{})[_0x5e5c29(0xd4)]||_0x5e5c29(0x1bb));return 0x0==_0xcf5b2b?html`
|
|
657
657
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
658
|
-
${this[
|
|
658
|
+
${this[_0x5e5c29(0x14e)](_0x40d0ea)}
|
|
659
659
|
</div>
|
|
660
660
|
`:html`
|
|
661
661
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
662
662
|
<div slot="headroom">
|
|
663
663
|
<div id="filters"><ox-filters-form></ox-filters-form></div>
|
|
664
|
-
${
|
|
664
|
+
${_0x29de14?html`
|
|
665
665
|
<div id="sorters">
|
|
666
|
-
<mwc-icon @click=${
|
|
666
|
+
<mwc-icon @click=${_0x34a0a5=>{const _0x1b2f80=_0x5e5c29,_0x399f81=_0x34a0a5[_0x1b2f80(0x1a4)];_0x399f81[_0x1b2f80(0x1a3)][_0x1b2f80(0x196)]({'right':0x0,'top':_0x399f81[_0x1b2f80(0x226)]+_0x399f81['offsetHeight']});}}
|
|
667
667
|
>sort</mwc-icon>
|
|
668
668
|
<ox-popup id="sorter-control">
|
|
669
669
|
<ox-sorters-control></ox-sorters-control>
|
|
670
670
|
</ox-popup>
|
|
671
671
|
</div>
|
|
672
672
|
`:html``}
|
|
673
|
-
${MetaUiUtil[
|
|
673
|
+
${MetaUiUtil[_0x5e5c29(0x1ee)](_0x40d0ea)}
|
|
674
674
|
<ox-record-creator
|
|
675
675
|
id="add"
|
|
676
|
-
?hidden="${!
|
|
677
|
-
.callback=${
|
|
676
|
+
?hidden="${!_0x26bd09}"
|
|
677
|
+
.callback=${_0x31f4e7}>
|
|
678
678
|
<button>
|
|
679
679
|
<mwc-icon>add</mwc-icon>
|
|
680
680
|
</button>
|
|
681
681
|
</ox-record-creator>
|
|
682
682
|
</div>
|
|
683
|
-
${this[
|
|
683
|
+
${this['getGridColumnPersonalizeButton'](_0x40d0ea)}
|
|
684
684
|
</div>
|
|
685
|
-
`;}static[
|
|
685
|
+
`;}static[a0_0x438792(0x14e)](_0x42467b){const _0x4761ff=a0_0x438792;return _0x4761ff(0x17d)!=_0x42467b[_0x4761ff(0x136)]?html``:!0x0!==_0x42467b[_0x4761ff(0xc6)]?html`
|
|
686
686
|
<div id="grist-personal">
|
|
687
|
-
<mwc-icon @click=${
|
|
687
|
+
<mwc-icon @click=${_0x18ddcd=>{const _0x56dc04=_0x4761ff;let _0x2dc669=MetaApi[_0x56dc04(0x227)](_0x56dc04(0xe5),'personal-column-selector');_0x2dc669[_0x56dc04(0x127)]=_0x18ddcd['currentTarget'][_0x56dc04(0x222)][_0x56dc04(0x222)]['parentElement'],_0x2dc669[_0x56dc04(0x1ab)]=_0x42467b[_0x56dc04(0x1ab)],MetaApi[_0x56dc04(0x113)](TermsUtil[_0x56dc04(0x17f)](_0x56dc04(0x1b0)),_0x56dc04(0x162),_0x2dc669,!0x1);}}
|
|
688
688
|
>settings</mwc-icon>
|
|
689
689
|
</div>
|
|
690
|
-
`:html``;}static[
|
|
690
|
+
`:html``;}static[a0_0x438792(0x1ee)](_0x4aa31c){const _0x14e485=a0_0x438792;return ValueUtil[_0x14e485(0x129)](_0x4aa31c[_0x14e485(0x173)])||0x1==_0x4aa31c[_0x14e485(0x173)]['length']?html``:html`
|
|
691
691
|
<div id="modes">
|
|
692
|
-
${
|
|
693
|
-
${
|
|
694
|
-
${
|
|
692
|
+
${_0x4aa31c[_0x14e485(0x173)]['includes']('GRID')?html`<mwc-icon @click="${()=>_0x4aa31c[_0x14e485(0x136)]=_0x14e485(0x17d)}" ?active="${'GRID'==_0x4aa31c[_0x14e485(0x136)]}">grid_on</mwc-icon>`:''}
|
|
693
|
+
${_0x4aa31c[_0x14e485(0x173)]['includes'](_0x14e485(0x116))?html`<mwc-icon @click="${()=>_0x4aa31c[_0x14e485(0x136)]='LIST'}" ?active="${_0x14e485(0x116)==_0x4aa31c[_0x14e485(0x136)]}">format_list_bulleted</mwc-icon>`:''}
|
|
694
|
+
${_0x4aa31c[_0x14e485(0x173)][_0x14e485(0x16c)]('CARD')?html`<mwc-icon @click="${()=>_0x4aa31c[_0x14e485(0x136)]=_0x14e485(0x1f2)}" ?active="${_0x14e485(0x1f2)==_0x4aa31c[_0x14e485(0x136)]}">apps</mwc-icon>`:''}
|
|
695
695
|
</div>
|
|
696
|
-
`;}static[
|
|
696
|
+
`;}static[a0_0x438792(0x182)](_0x180b80){const _0x92e1fc=a0_0x438792;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x92e1fc(0x10b)](_0x180b80)}</div>`;}}
|