@things-factory/meta-ui 6.1.51 → 6.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +9 -9
- 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 +6 -6
- 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 -16
- package/client/pages/menu/export-menu-popup.js +7 -7
- 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/grist-default-value.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 +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +11 -11
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/dynamic-menu/dynamic-menu-query.js +1 -1
- package/server/service/dynamic-menu/dynamic-menu-type.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
- package/translations/en.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x598c66=a0_0x1ac4;(function(_0x31d3d0,_0x2b03d8){const _0x93e81d=a0_0x1ac4,_0x4015f6=_0x31d3d0();while(!![]){try{const _0x8576a1=-parseInt(_0x93e81d(0x1e7))/0x1*(-parseInt(_0x93e81d(0x144))/0x2)+parseInt(_0x93e81d(0x169))/0x3+-parseInt(_0x93e81d(0x1f9))/0x4*(-parseInt(_0x93e81d(0x1a7))/0x5)+parseInt(_0x93e81d(0x1ed))/0x6+parseInt(_0x93e81d(0x11e))/0x7+-parseInt(_0x93e81d(0x25d))/0x8+-parseInt(_0x93e81d(0x1b8))/0x9;if(_0x8576a1===_0x2b03d8)break;else _0x4015f6['push'](_0x4015f6['shift']());}catch(_0x37c042){_0x4015f6['push'](_0x4015f6['shift']());}}}(a0_0x5692,0x9867f));import a0_0x60f456 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x24e48b from'moment-timezone';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';function a0_0x1ac4(_0x353f9d,_0x3c2380){const _0x5692c3=a0_0x5692();return a0_0x1ac4=function(_0x1ac429,_0x42b234){_0x1ac429=_0x1ac429-0xe7;let _0xfc8008=_0x5692c3[_0x1ac429];return _0xfc8008;},a0_0x1ac4(_0x353f9d,_0x3c2380);}import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';function a0_0x5692(){const _0xc7c11c=['getGridOptionSet','tLabel','data','getMenuMeta','editor','findMenuMeta','gqlInfo','isArray','tabElements','id,template','currentTabKey','arguments[1]','editable','useFilterForm','left_right','display','tText','help','find_one_func','desc','basic','findMenuMetaByRouting','gridConfig','\x27\x20style=\x22flex:1;\x22\x20','record','unlimited','top-down','format','tagName','list_func','getGristPaginationCustomConfig','display:none','year','forEach','text.grid_is_not_exist','getBasicMasterDetailGristStyle','after','notify','getBasicTabDetailStyles','1xDKJye','getMainTabHtml','grid_column','\x22\x20name=\x22','value_is_not_exist','\x201fr\x202fr','6465858tehSVW','name','offsetTop','searchByPagination','runnerPermission','getCodeByEntity','queryName','text.button_bind_func_is_not_exist','row-selector','min','sec','dispatchEvent','52Mjxzid','getGristSelectorColumnConfig','getMenuMetaData','startOf','getGristSelectableConfig','grid-template-columns:','route_name','getCustomButtonContainerStyles','referenceField','createButtonElement','detailElement','getGristCodeSelectorColumnConfig','getBasicFormHtmlNoOption','searchFieldValues','getBasicTabStyles','danger','length','tagname','includes','gristButtonPassParam','etcConfig','template','date','operator','stringify','getGridViewOption','getCodeSelectorData','getBasicFormHtmlOnOption','add','getGridListSet','handlers','currentRouting','column_list','pageNavigate','\x20is_detail=true></','customButtonHandler','value_reference','dec','indexOf','\x0aid\x0aname\x0adescription','gristButtonValueReference','day','param_field','formRenderConfig','string','tMenu','formConfigSet','master_detail_element','findMenuGridPersnalTemplate','getContainerButtons','grid','codes','location','recordCreationCallback','history-copy-list-popup','tError','self','default_form_column','height:auto;grid-template-columns:','isEmpty','getGridButtonSet','master','relation','main_filter_form','meta-code-selector','createDetailElement','text.nothing_selected','getGristPersonalizedStyles','useButtonImport','dirty','buttonConfig','url','button','display:flex','push','keys','getGristColumnConfig','query','midium','useMasterFilterForm','getSelectColumns','select','parent_field','menu','getBasicMasterDetailStyles','config','filters','is_activity','raised','50%\x2050%','object','bind','gridDeskMode','invalid\x20license\x20key','floor','board','runScenario','grist','routing','getState','8376472ZcrAXW','selected','title.info','__dirtyfields__','mutation','master_detail_type','find','getBasicGristHtml','configGrist','open_param','menus','setParentId','grist_one','defaultPageConfig','importable','confirm','number','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','mainFilterForm','onclick','\x0a{\x0aid\x0aname\x0athumbnail}','isPage','tabRenderConfig','parent_id','false','getGristSearchColumnConfig','left','header','datetime','isNotEmpty','use_filter_form','commonButtonCallScenario','meta-grist-tab-','toLowerCase','hour','\x20id=\x27','model','findOne','resource-object','codeField','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','datetime-local','fetch','search','htmlToElement','parseGridConfigSet','gristId','pass_param','form','menuInfo','tTitle','icon','gridColumnConfig','getMasterDetailLeftRightGristStyle','outlined','meta-tab-detail-','getGristGuttersConfig','2185771smwdSB','dense','basicArgs','searchFields','dispField','popup','openPopupByElement','getContextButtons','querySelector','getGridColumnSet','grist_all','change_event_handler','service','getBasicGristPageProperties','pages/meta-form-element.js','fontColor','sorters','startsWith','nextElementSibling','pass_field','meta-form-element','createCustomElement','getBasicGristTabStyles','options','master_detail_size','showAlertPopup','getBasicFormHtml','gridViewOptions','result_name','getButtonActionHandler','multiple','CARD','classifier','formColumnConfig','\x22\x20route_name=\x22','is_readonly=true','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','is_activity=true','726398qKQKcZ','GRID','grist_changed','meta-object-selector','activityDataSet','param','title.warning','filter','data_history_list','\x20\x0a\x20}','type','text.search_form_is_not_exist','getBasicTabContent','getBasicTabHtml','column','gridEmphasized','getGristEmphasizedStyles','isMobileEnv','detail','gutter','today','history_copy','nameField','code','getBasicMainTabStyles','getButtonContainer','scenario','isButtonExist','getGridRowSet','large','top_bottom','logic','args','pages/hgistory/history-json-list-popup.js','currentTarget','title','tButton','601128grXpsx','arguments[0].','pages','meta-','page','gristButtonHandler','backgroundColor','use_grid_sort_button','sort','infinityPage','getObjctColumnSelectFields','\x27\x20route_name=\x27','text.grid_data_is_empty','values','fetchHandler','getGridColumnPersonalizeButton','month','records','value','label','YYYY-MM-DD','export','filterFields','LIST','getCodeByScenario','hidden','getMasterDetailTopDownGristStyle','row','selectable','emphasis','title_detail','sequence','parse','commonButtonOpenPopup','setGridColumnSearchOption','option','menuId','info','rootElement','defaultValue','split','custom','errors','gql','fieldChangeHandlers','skip_fields','\x20id=\x22','callScenario','grist_selected','map','useButtonExport','searchConfig','parentElement','getGridDetailHtml','use_row_checker','error','getTabDetailHtml','selectorName','createMasterElement','gridMobileMode','includeMainList','header_txt','464855cmuqIl','grid-template-rows:','getParams','is_readonly','meta-tab-element','getBasicFormStyles','pages/hgistory/history-copy-list-popup.js','getBasicGristStyles','rank','parseFormConfigSet','gridMode','getGristColumnConfig3','masterElement','personal-column-selector','compareObjectValues','useButtonAdd','getGristMetaObjectOptions','13417020UQcwBk','findIndex','filterForm','replace','<meta-tab-element\x20id=\x22','offsetHeight','list','shadowRoot'];a0_0x5692=function(){return _0xc7c11c;};return a0_0x5692();}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_0x598c66(0x1c5)](_0x5e91ce){const _0xbfc03d=a0_0x598c66;let _0x50629e=await ServiceUtil[_0xbfc03d(0x10a)]('menu',_0x5e91ce,_0xbfc03d(0x20e));if(!_0x50629e)throw new Error(TermsUtil[_0xbfc03d(0x1d0)](_0xbfc03d(0x1eb),{'value':TermsUtil[_0xbfc03d(0x226)](_0xbfc03d(0x24c))+'\x20'+_0x5e91ce}));if(!_0x50629e['template'])throw new Error(TermsUtil[_0xbfc03d(0x1d0)](_0xbfc03d(0x1eb),{'value':TermsUtil[_0xbfc03d(0x226)]('menu')+'\x20'+TermsUtil[_0xbfc03d(0x1c1)]('model')}));return this['menuId']=_0x5e91ce,JSON['parse'](_0x50629e['template']);}static async[a0_0x598c66(0x1fb)](_0xc02424){const _0x241afc=a0_0x598c66;if((await client[_0x241afc(0x246)]({'query':a0_0x60f456`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))['errors'])return;let _0x24aec9=[{'name':_0x4762b3(0x227),'operator':'eq','value':_0x24a606}];return await ServiceUtil[_0x4762b3(0x1a8)]('menus',_0x24aec9,null,0x0,0x0,_0x4762b3(0x1a3));}static async[a0_0x1606bd(0x243)](_0xd14fd8,_0xa2cc3e){const _0x42150a=a0_0x1606bd;let _0x1402c7,_0x5b9a83=await MetaUiUtil[_0x42150a(0x255)](_0xa2cc3e);if(_0x5b9a83&&_0x5b9a83[_0x42150a(0x1c1)]&&0x0!=_0x5b9a83[_0x42150a(0x1c1)][_0x42150a(0x136)]?(_0x1402c7=_0x5b9a83[_0x42150a(0x1c1)][0x0],!_0x1402c7[_0x42150a(0x226)]&&_0xd14fd8[_0x42150a(0x206)]&&(_0x1402c7[_0x42150a(0x226)]=_0xd14fd8[_0x42150a(0x206)])):_0xd14fd8[_0x42150a(0x206)]&&(_0x1402c7={'id':_0xa2cc3e,'template':_0xd14fd8[_0x42150a(0x206)]}),!_0x1402c7)throw new Error(TermsUtil[_0x42150a(0x238)](_0x42150a(0x1a1),{'value':TermsUtil[_0x42150a(0x1e7)](_0x42150a(0x288))+'\x20'+_0xa2cc3e}));if(!_0x1402c7[_0x42150a(0x226)])throw new Error(TermsUtil['tText'](_0x42150a(0x1a1),{'value':TermsUtil['tMenu'](_0x42150a(0x288))+'\x20'+TermsUtil['tLabel'](_0x42150a(0x1a4))}));return this[_0x42150a(0x234)]=_0x1402c7['id'],JSON['parse'](MetaCrypto['dec'](_0x1402c7[_0x42150a(0x226)]));}static[a0_0x1606bd(0x297)](){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':_0x33a993=>Boolean(_0x33a993)},'is_popup':{'type':Boolean,'converter':_0x3bcc54=>Boolean(_0x3bcc54)},'is_activity':{'type':Boolean,'converter':_0x2d367c=>Boolean(_0x2d367c)},'is_readonly':{'type':Boolean,'converter':_0x147bb0=>Boolean(_0x147bb0)}};}static async['getMenuMeta'](_0x57b9ae){const _0x2ea2cf=a0_0x1606bd;if(0x0==store[_0x2ea2cf(0x257)]()['metaUI']['runnerPermission'])return void document[_0x2ea2cf(0x239)](new CustomEvent(_0x2ea2cf(0x18b),{'detail':{'level':_0x2ea2cf(0x27a),'message':TermsUtil[_0x2ea2cf(0x19d)](_0x2ea2cf(0x221))}}));let _0x38572e=_0x57b9ae[_0x2ea2cf(0x181)]?UiUtil[_0x2ea2cf(0x2a0)]():_0x57b9ae[_0x2ea2cf(0x22a)];_0x57b9ae[_0x2ea2cf(0x2a0)]=_0x38572e;let _0x2aa497=await MetaUiUtil[_0x2ea2cf(0x243)](_0x57b9ae,_0x38572e);return!0x0===_0x57b9ae[_0x2ea2cf(0x1fd)]&&(_0x2aa497['grid'][_0x2ea2cf(0x151)]['use_row_checker']=!0x1,_0x2aa497[_0x2ea2cf(0x13e)][_0x2ea2cf(0x151)][_0x2ea2cf(0x147)]=_0x2ea2cf(0x17a),_0x2aa497[_0x2ea2cf(0x13e)][_0x2ea2cf(0x296)]=!0x1,_0x2aa497['grid'][_0x2ea2cf(0x230)]=[],_0x2aa497[_0x2ea2cf(0x230)]=_0x2aa497['button'][_0x2ea2cf(0x180)](_0x5f0058=>_0x2ea2cf(0x1f3)==_0x5f0058[_0x2ea2cf(0x249)])),!0x0===_0x57b9ae['is_readonly']&&(_0x2aa497[_0x2ea2cf(0x16d)][_0x2ea2cf(0x28a)](_0x554549=>{const _0x5dc8d4=_0x2ea2cf;_0x554549[_0x5dc8d4(0x137)]=!0x1;}),_0x2aa497[_0x2ea2cf(0x230)]=_0x2aa497[_0x2ea2cf(0x230)][_0x2ea2cf(0x180)](_0x2d6763=>_0x2ea2cf(0x1f3)!=_0x2d6763[_0x2ea2cf(0x249)])),!0x1===_0x57b9ae['use_filter_form']&&(_0x2aa497['grid'][_0x2ea2cf(0x296)]=!0x1),_0x2aa497[_0x2ea2cf(0x16d)][_0x2ea2cf(0x180)](_0x49ac62=>_0x49ac62[_0x2ea2cf(0x1d6)])[_0x2ea2cf(0x28a)](_0x337e3c=>{const _0x380552=_0x2ea2cf;_0x57b9ae[_0x380552(0x1f1)]||(_0x57b9ae[_0x380552(0x1f1)]={}),_0x57b9ae[_0x380552(0x1f1)][_0x337e3c[_0x380552(0x249)]]=_0x337e3c[_0x380552(0x1d6)];}),_0x2aa497['grid_column'][_0x2ea2cf(0x28a)](_0x123eaa=>{const _0x4b7678=_0x2ea2cf;[_0x4b7678(0x16e),'object'][_0x4b7678(0x178)](_0x123eaa[_0x4b7678(0x28d)])?_0x123eaa[_0x4b7678(0x28d)]='meta-object-selector':[_0x4b7678(0x211)][_0x4b7678(0x178)](_0x123eaa[_0x4b7678(0x28d)])&&(_0x123eaa[_0x4b7678(0x28d)]=_0x4b7678(0x19c));}),_0x2aa497;}static[a0_0x1606bd(0x152)](..._0x1536ef){return{'pages':_0x1536ef};}static['getGristGuttersConfig'](_0x38f40d,_0x4b1e8c){const _0x57c38a=a0_0x1606bd;let _0x44ca57=[{'type':_0x57c38a(0x23b),'gutterName':_0x57c38a(0x13a)},{'type':_0x57c38a(0x23b),'gutterName':'sequence'}];return _0x38f40d&&_0x44ca57[_0x57c38a(0x246)]({'type':_0x57c38a(0x23b),'gutterName':_0x57c38a(0x21a),'multiple':_0x4b1e8c}),_0x44ca57;}static[a0_0x1606bd(0x1cc)](_0x1d8bc8){return{'selectable':{'multiple':_0x1d8bc8}};}static async[a0_0x1606bd(0x240)](_0x55f7f5){const _0x2fbdaf=a0_0x1606bd;_0x55f7f5[_0x2fbdaf(0x12c)]||(_0x55f7f5[_0x2fbdaf(0x12c)]={}),_0x55f7f5[_0x2fbdaf(0x12c)][_0x2fbdaf(0x14f)]||(_0x55f7f5[_0x2fbdaf(0x12c)][_0x2fbdaf(0x14f)]={}),_0x55f7f5[_0x2fbdaf(0x12c)][_0x2fbdaf(0x14f)][_0x2fbdaf(0x26a)]||(_0x55f7f5['gqlInfo'][_0x2fbdaf(0x14f)][_0x2fbdaf(0x26a)]={}),_0x55f7f5[_0x2fbdaf(0x12c)][_0x2fbdaf(0x1aa)]||(_0x55f7f5['gqlInfo']['mutation']={}),_0x55f7f5['gqlInfo']['mutation']['multiple']||(_0x55f7f5[_0x2fbdaf(0x12c)][_0x2fbdaf(0x1aa)][_0x2fbdaf(0x277)]={}),_0x55f7f5[_0x2fbdaf(0x12c)][_0x2fbdaf(0x1aa)][_0x2fbdaf(0x277)][_0x2fbdaf(0x1da)]||(_0x55f7f5['gqlInfo'][_0x2fbdaf(0x1aa)][_0x2fbdaf(0x277)][_0x2fbdaf(0x1da)]=[]);let _0x4a8b2b=MetaUiUtil[_0x2fbdaf(0x12e)](_0x55f7f5),_0x293537=MetaUiUtil[_0x2fbdaf(0x24f)](_0x55f7f5),_0x46041a=MetaUiUtil[_0x2fbdaf(0x1c0)](_0x55f7f5),_0x524656=MetaUiUtil[_0x2fbdaf(0x289)](_0x55f7f5),_0x91fa13=await MetaUiUtil[_0x2fbdaf(0x29a)](_0x55f7f5);_0x91fa13[_0x2fbdaf(0x180)](_0x9df44=>[_0x2fbdaf(0x286)][_0x2fbdaf(0x178)](_0x9df44[_0x2fbdaf(0x28d)]))[_0x2fbdaf(0x28a)](_0x5d84ca=>{const _0x486bb1=_0x2fbdaf;_0x55f7f5[_0x486bb1(0x1b2)][_0x486bb1(0x180)](_0x22881a=>_0x22881a[_0x486bb1(0x249)]==_0x5d84ca[_0x486bb1(0x249)])[_0x486bb1(0x28a)](_0x3118a2=>{const _0x55eec4=_0x486bb1,_0x38f18c=_0x5d84ca[_0x55eec4(0x299)]['options'],_0x37aeba=_0x38f18c[_0x55eec4(0x1ab)]?_0x38f18c['referenceField']:_0x5d84ca[_0x55eec4(0x249)]+'Id',_0x1aef95=_0x55f7f5[_0x55eec4(0x1b2)][_0x55eec4(0x266)](_0x5728df=>_0x5728df[_0x55eec4(0x249)]==_0x5d84ca[_0x55eec4(0x249)]);_0x91fa13[_0x55eec4(0x246)]({'type':_0x55eec4(0x286),'header':_0x5d84ca[_0x55eec4(0x24d)],'name':_0x37aeba,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x38f18c},'unusable':!0x0}),_0x55f7f5[_0x55eec4(0x12c)][_0x55eec4(0x14f)][_0x55eec4(0x26a)][_0x37aeba]='x',_0x55f7f5['gqlInfo'][_0x55eec4(0x1aa)][_0x55eec4(0x277)][_0x55eec4(0x1da)]['push'](_0x37aeba),_0x55f7f5[_0x55eec4(0x1b2)][_0x1aef95][_0x55eec4(0x249)]=_0x37aeba,_0x55f7f5[_0x55eec4(0x1b2)][_0x1aef95][_0x55eec4(0x28d)]=_0x55eec4(0x286);});});let _0x4e5a70=MetaUiUtil[_0x2fbdaf(0x1ec)](_0x4a8b2b[_0x2fbdaf(0x22c)],_0x46041a['selectable'][_0x2fbdaf(0x277)]);if(0x1==_0x55f7f5['useFilterForm']&&(_0x91fa13=MetaUiUtil[_0x2fbdaf(0x15b)](_0x55f7f5,_0x91fa13)),_0x55f7f5[_0x2fbdaf(0x203)]&&(_0x55f7f5[_0x2fbdaf(0x203)]&&_0x55f7f5[_0x2fbdaf(0x203)][_0x2fbdaf(0x2a2)]&&_0x55f7f5['gridEmphasized']['row'][_0x2fbdaf(0x136)]>0x0&&(_0x46041a['classifier']=function(_0x19c0e7,_0x52be5c){const _0x2e2658=_0x2fbdaf;let _0x862347=_0x55f7f5[_0x2e2658(0x203)][_0x2e2658(0x2a2)];for(let _0x1bbd31=0x0;_0x1bbd31<_0x862347['length'];_0x1bbd31++){let _0x1e2022=_0x862347[_0x1bbd31]['logic'][_0x2e2658(0x1fe)](/record./g,_0x2e2658(0x26e))['replace'](/rowIndex/g,_0x2e2658(0x1b4));if(eval(''+_0x1e2022))return{'emphasized':[_0x862347[_0x1bbd31][_0x2e2658(0x1f5)],_0x862347[_0x1bbd31][_0x2e2658(0x1b1)]]};}}),_0x55f7f5[_0x2fbdaf(0x203)]&&_0x55f7f5['gridEmphasized'][_0x2fbdaf(0x27e)])){let _0x3b889a=_0x55f7f5[_0x2fbdaf(0x203)][_0x2fbdaf(0x27e)];Object[_0x2fbdaf(0x1dc)](_0x3b889a)[_0x2fbdaf(0x28a)](_0x28c56a=>{const _0x215a86=_0x2fbdaf;let _0x414868=_0x3b889a[_0x28c56a],_0x50df12=_0x91fa13[_0x215a86(0x266)](_0x4215c0=>_0x4215c0['name']==_0x28c56a);_0x91fa13[_0x50df12][_0x215a86(0x299)]||(_0x91fa13[_0x50df12][_0x215a86(0x299)]={}),_0x91fa13[_0x50df12]['record']['classifier']=function(_0x2af456,_0xac11c5){const _0x1e3185=_0x215a86;for(let _0x529d86=0x0;_0x529d86<_0x414868['length'];_0x529d86++){let _0x11f7f0=_0x414868[_0x529d86][_0x1e3185(0x279)][_0x1e3185(0x1fe)](/record./g,_0x1e3185(0x26e))[_0x1e3185(0x1fe)](/rowIndex/g,_0x1e3185(0x1b4));if(eval(''+_0x11f7f0))return{'emphasized':[_0x414868[_0x529d86][_0x1e3185(0x1f5)],_0x414868[_0x529d86][_0x1e3185(0x1b1)]]};}};});}return{'list':_0x293537,'pagination':_0x4a8b2b[_0x2fbdaf(0x147)],'sorters':_0x4a8b2b[_0x2fbdaf(0x25d)],'rows':_0x46041a,'columns':[..._0x4e5a70,..._0x524656,..._0x91fa13]};}static async[a0_0x1606bd(0x282)](_0xf47ec4){const _0x1a24dc=a0_0x1606bd;let _0x28a4a7=_0xf47ec4['formColumnConfig'],_0x3b4aa6=[],_0x33b542=Object[_0x1a24dc(0x1dc)](getValueGenerators());for(let _0x43f660=0x0;_0x43f660<_0x28a4a7[_0x1a24dc(0x136)];_0x43f660++){let {type:_0x410ded=_0x1a24dc(0x138),name:_0x560045,header:_0x3340b3,hidden:_0x52423b=!0x1,editable:_0x2c2805=!0x0,mandatory:_0xa39c60=!0x1,align:_0x199b8f=_0x1a24dc(0x187),select_opt:_0x5b08ec,object_opt:_0x25e248,default_value:_0xe2bcd}=_0x28a4a7[_0x43f660],_0x416171={'type':_0x410ded,'name':_0x560045,'header_txt':ValueUtil['isEmpty'](_0x3340b3)?TermsUtil[_0x1a24dc(0x1fb)](_0x560045):TermsUtil['tLabel'](_0x3340b3),'header':{'renderer':function(_0x5ca3d9){return _0x5ca3d9['header_txt'];}},'hidden':_0x52423b,'record':{'editable':_0x2c2805,'mandatory':_0xa39c60,'align':_0x199b8f,'classifier':function(){},'renderer':getRenderer(_0x410ded)}};if(_0x2c2805&&(_0x416171['record'][_0x1a24dc(0x219)]=getEditor(_0x410ded)),_0xe2bcd){let _0x2ca0db=_0xe2bcd[_0x1a24dc(0x1c5)](','),_0x1c1bf0=_0x2ca0db[0x0];_0x33b542['includes'](_0x1c1bf0)?0x1==_0x2ca0db['length']?_0x416171['record'][_0x1a24dc(0x1b0)]={'name':_0x1c1bf0}:_0x416171[_0x1a24dc(0x299)][_0x1a24dc(0x1b0)]={'name':_0x1c1bf0,'params':{'calc':_0x2ca0db[0x1]}}:_0x416171['record'][_0x1a24dc(0x1b0)]=_0x1a24dc(0x208)===_0x410ded?Number(_0xe2bcd):_0xe2bcd;}_0x410ded[_0x1a24dc(0x15f)](_0x1a24dc(0x182))&&_0x25e248&&_0x25e248[_0x1a24dc(0x288)]&&(_0x25e248=await MetaUiUtil['getGristMetaObjectOptions'](_0x410ded,_0x25e248)),_0x1a24dc(0x241)===_0x410ded&&ValueUtil[_0x1a24dc(0x20d)](_0x5b08ec)&&(Array[_0x1a24dc(0x18d)](_0x5b08ec)?_0x416171[_0x1a24dc(0x299)][_0x1a24dc(0x23d)]=_0x5b08ec:_0x1a24dc(0x212)===_0x5b08ec[_0x1a24dc(0x28d)]?_0x416171['record']['options']=await ServiceUtil['getCodeSelectorData'](_0x5b08ec[_0x1a24dc(0x179)]?_0x5b08ec[_0x1a24dc(0x179)]:_0x5b08ec['name']):_0x1a24dc(0x19a)===_0x5b08ec[_0x1a24dc(0x28d)]?_0x416171[_0x1a24dc(0x299)]['options']=await ServiceUtil[_0x1a24dc(0x287)](_0x5b08ec[_0x1a24dc(0x249)],_0x5b08ec['args']):_0x1a24dc(0x155)===_0x5b08ec[_0x1a24dc(0x28d)]&&(_0x416171[_0x1a24dc(0x299)]['options']=await ServiceUtil['getCodeByEntity'](_0x5b08ec[_0x1a24dc(0x1fa)]))),_0x1a24dc(0x286)===_0x410ded&&ValueUtil[_0x1a24dc(0x20d)](_0x25e248)?_0x416171[_0x1a24dc(0x299)][_0x1a24dc(0x23d)]={..._0x25e248}:'meta-code-selector'===_0x410ded&&ValueUtil[_0x1a24dc(0x20d)](_0x25e248)&&(_0x25e248[_0x1a24dc(0x19f)]&&(_0x25e248[_0x1a24dc(0x27c)]=await ServiceUtil[_0x1a24dc(0x186)](_0x25e248)),_0x416171[_0x1a24dc(0x299)]['options']={..._0x25e248}),_0x3b4aa6[_0x1a24dc(0x246)](_0x416171);}return _0x3b4aa6;}static[a0_0x1606bd(0x12e)](_0x279c13){const _0x3b0b41=a0_0x1606bd;let _0x466575=_0x279c13[_0x3b0b41(0x218)];_0x279c13['useFilterForm']=!_0x466575||null==_0x466575[_0x3b0b41(0x296)]||_0x466575['use_filter_form'];let {mobile_mode:_0x55315f=_0x3b0b41(0x26d),desk_mode:_0x2ee475=_0x3b0b41(0x25c),view_mode:_0x1f8de6=[],use_row_checker:_0xe4042e=!0x0,sorters:_0xbe5710=[],pages:_0x8fd3fa=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x3b0b41(0x29f)](_0x466575[_0x3b0b41(0x151)])?{}:_0x466575[_0x3b0b41(0x151)];return _0x3b0b41(0x17a)===_0x8fd3fa||'-1'===_0x8fd3fa?(_0x279c13['infinityPage']=!0x0,_0x8fd3fa={'infinite':!0x0}):(_0x279c13[_0x3b0b41(0x2a1)]=!0x1,_0x8fd3fa[_0x3b0b41(0x15c)](function(_0x3a9453,_0x4085d5){return _0x3a9453-_0x4085d5;}),_0x8fd3fa={'pages':_0x8fd3fa}),ValueUtil[_0x3b0b41(0x20d)](_0x1f8de6)&&(0x1==_0x1f8de6['length']?(_0x2ee475=_0x1f8de6[0x0],_0x55315f=_0x1f8de6[0x0]):_0x1f8de6[_0x3b0b41(0x136)]>=0x2&&(_0x1f8de6[_0x3b0b41(0x178)](_0x55315f)||(_0x55315f=_0x1f8de6[0x1]),_0x1f8de6[_0x3b0b41(0x178)](_0x2ee475)||(_0x2ee475=_0x1f8de6[0x0]))),_0x279c13[_0x3b0b41(0x1f4)]=_0x55315f,_0x279c13['gridDeskMode']=_0x2ee475,_0x279c13['gridViewOptions']=_0x1f8de6,_0x279c13[_0x3b0b41(0x1cf)]=UiUtil['isMobileEnv']()?_0x279c13[_0x3b0b41(0x1f4)]:_0x279c13['gridDeskMode'],{'use_row_checker':_0xe4042e,'sorters':_0xbe5710,'pages':_0x8fd3fa};}static['getGridListSet'](_0x987852){const _0x5c84d8=a0_0x1606bd;let _0x423f94={'fields':[ValueUtil[_0x5c84d8(0x16a)](_0x987852[_0x5c84d8(0x1eb)],_0x5c84d8(0x249)),ValueUtil['getParams'](_0x987852[_0x5c84d8(0x1eb)],_0x5c84d8(0x1d9))]};return _0x987852[_0x5c84d8(0x218)]['list']&&Object[_0x5c84d8(0x195)](_0x423f94,_0x987852[_0x5c84d8(0x218)][_0x5c84d8(0x23c)]),_0x423f94;}static[a0_0x1606bd(0x1c0)](_0x50bd09){const _0x37cc51=a0_0x1606bd;let {multiple_select:_0x2a0f2a=!0x1,click:_0xee86c8}=ValueUtil[_0x37cc51(0x29f)](_0x50bd09[_0x37cc51(0x218)][_0x37cc51(0x2a2)])?{}:_0x50bd09['gridConfig'][_0x37cc51(0x2a2)],_0x2fdba9={'selectable':{'multiple':_0x2a0f2a},'appendable':_0x50bd09[_0x37cc51(0x231)]};return ValueUtil['isNotEmpty'](_0xee86c8)&&(_0x2fdba9[_0x37cc51(0x274)]={'click':_0xee86c8}),_0x2fdba9;}static[a0_0x1606bd(0x289)](_0x3bdbbf){const _0x2c0053=a0_0x1606bd;let _0x32c80c=_0x3bdbbf['gridConfig'][_0x2c0053(0x230)];return ValueUtil[_0x2c0053(0x29f)](_0x32c80c)?[]:_0x32c80c['map'](_0x2b4c8f=>{const _0xc35e65=_0x2c0053;let _0x10ca5b={'type':_0xc35e65(0x23b),'gutterName':'button'};if(ValueUtil[_0xc35e65(0x20d)](_0x2b4c8f[_0xc35e65(0x1cd)])&&(Array[_0xc35e65(0x18d)](_0x2b4c8f[_0xc35e65(0x1cd)])?_0x10ca5b[_0xc35e65(0x1cd)]=_0x45327a=>{const _0x1ef4b8=_0xc35e65;if(ValueUtil['isNotEmpty'](_0x45327a))for(let _0x3dcf6e=0x0;_0x3dcf6e<_0x2b4c8f[_0x1ef4b8(0x1cd)][_0x1ef4b8(0x136)];_0x3dcf6e++){let _0x15009c=_0x2b4c8f['icon'][_0x3dcf6e];if(!0x0===ValueUtil[_0x1ef4b8(0x273)](_0x15009c,_0x45327a,Object[_0x1ef4b8(0x1dc)](_0x15009c)[_0x1ef4b8(0x180)](_0x3ba326=>_0x1ef4b8(0x1cd)!=_0x3ba326)))return _0x15009c[_0x1ef4b8(0x1cd)];}}:_0x10ca5b[_0xc35e65(0x1cd)]=_0x2b4c8f[_0xc35e65(0x1cd)]),ValueUtil[_0xc35e65(0x20d)](_0x2b4c8f['name'])&&(_0x10ca5b['name']=_0x2b4c8f['name']),ValueUtil[_0xc35e65(0x20d)](_0x2b4c8f[_0xc35e65(0x164)])&&(_0x10ca5b['title']=TermsUtil['tButton'](_0x2b4c8f[_0xc35e65(0x164)])),'basic'===_0x2b4c8f[_0xc35e65(0x28d)]){let _0x3b4a00=ValueUtil[_0xc35e65(0x16a)](_0x2b4c8f,_0xc35e65(0x279));['history_copy',_0xc35e65(0x29b)]['includes'](_0x3b4a00)?_0x10ca5b[_0xc35e65(0x274)]={'click':(_0x1ac41,_0x41b13e,_0x30f60f,_0x2fbfc1,_0xb35a7)=>{const _0x5b1f5=_0xc35e65;if(_0x2fbfc1['id']){let _0x5ea0d5={'title':_0x5b1f5(0x237),'type':_0x5b1f5(0x22e),'tagname':_0x5b1f5(0x298)==_0x3b4a00?_0x5b1f5(0x161):_0x5b1f5(0x269),'location':'history_copy'==_0x3b4a00?'pages/hgistory/history-copy-list-popup.js':_0x5b1f5(0x217),'menu':_0x3bdbbf[_0x5b1f5(0x2a0)],'size':_0x5b1f5(0x1cb),'popup_field':_0x5b1f5(0x17f),'parent_field':'id'},_0x410a80={..._0x2fbfc1,'gqlFunc':ValueUtil['getParams'](_0x3bdbbf[_0x5b1f5(0x12c)],'query',_0x5b1f5(0x17c)),'gristConfig':JSON[_0x5b1f5(0x204)](JSON[_0x5b1f5(0x167)](_0x3bdbbf[_0x5b1f5(0x172)][_0x5b1f5(0x292)]))};MetaUiUtil[_0x5b1f5(0x1c3)](_0x3bdbbf,{'logic':_0x5ea0d5},_0x410a80);}}}:_0x10ca5b[_0xc35e65(0x274)]={'click':_0x3b4a00};}else _0x10ca5b[_0xc35e65(0x274)]={'click':(_0x1367b2,_0x3636ea,_0x104078,_0x4cda5d,_0x1f8603)=>{const _0x570be3=_0xc35e65;_0x4cda5d['id']&&MetaUiUtil[_0x570be3(0x1c3)](_0x3bdbbf,_0x2b4c8f,_0x4cda5d);}};return _0x10ca5b;});}static async[a0_0x1606bd(0x29a)](_0x1dd88d){const _0x5e9a9b=a0_0x1606bd;let _0x5adeed=_0x1dd88d[_0x5e9a9b(0x154)];if(ValueUtil[_0x5e9a9b(0x29f)](_0x5adeed))return[];let _0xde583f=Object['keys'](getValueGenerators()),_0x299644=[];for(let _0x482dcf=0x0;_0x482dcf<_0x5adeed[_0x5e9a9b(0x136)];_0x482dcf++){let {type:_0x53f2d8=_0x5e9a9b(0x138),name:_0x274307,header:_0x1858ef,hidden:_0x346051=!0x1,editable:_0x191261=!0x0,mandatory:_0x385fbc=!0x1,sortable:_0x1cec84=!0x1,align:_0x44bcb6=_0x5e9a9b(0x187),width:_0xa95fde=0x0,exportable:_0x2789ab=!0x1,select_opt:_0x3ef106,object_opt:_0xac02b,format:_0x1f9867,default_value:_0x1e573f}=_0x5adeed[_0x482dcf],_0x235b85={'type':_0x53f2d8,'name':_0x274307,'header':ValueUtil[_0x5e9a9b(0x29f)](_0x1858ef)?'':TermsUtil['tLabel'](_0x1858ef),'hidden':_0x346051,'sortable':_0x1cec84,'width':_0xa95fde,'record':{'editable':_0x191261,'mandatory':_0x385fbc,'align':_0x44bcb6,'format':_0x1f9867}};if(_0x1e573f){let _0x10a500=_0x1e573f[_0x5e9a9b(0x1c5)](','),_0x5c997f=_0x10a500[0x0];_0xde583f[_0x5e9a9b(0x178)](_0x5c997f)?0x1==_0x10a500[_0x5e9a9b(0x136)]?_0x235b85[_0x5e9a9b(0x299)][_0x5e9a9b(0x1b0)]={'name':_0x5c997f}:_0x235b85['record']['defaultValue']={'name':_0x5c997f,'params':{'calc':_0x10a500[0x1]}}:_0x235b85[_0x5e9a9b(0x299)][_0x5e9a9b(0x1b0)]=_0x5e9a9b(0x208)===_0x53f2d8?Number(_0x1e573f):_0x1e573f;}if(_0x53f2d8['startsWith'](_0x5e9a9b(0x182))&&_0xac02b&&_0xac02b[_0x5e9a9b(0x288)]&&(_0xac02b=await MetaUiUtil[_0x5e9a9b(0x1c6)](_0x53f2d8,_0xac02b)),_0x5e9a9b(0x241)===_0x53f2d8&&ValueUtil[_0x5e9a9b(0x20d)](_0x3ef106)&&(Array[_0x5e9a9b(0x18d)](_0x3ef106)?_0x235b85[_0x5e9a9b(0x299)]['options']=_0x3ef106:'code'===_0x3ef106['type']?_0x235b85[_0x5e9a9b(0x299)][_0x5e9a9b(0x23d)]=await ServiceUtil[_0x5e9a9b(0x262)](_0x3ef106['values']?_0x3ef106[_0x5e9a9b(0x179)]:_0x3ef106['name']):_0x5e9a9b(0x19a)===_0x3ef106['type']?_0x235b85[_0x5e9a9b(0x299)][_0x5e9a9b(0x23d)]=await ServiceUtil['getCodeByScenario'](_0x3ef106[_0x5e9a9b(0x249)],_0x3ef106[_0x5e9a9b(0x1fa)]):_0x5e9a9b(0x155)===_0x3ef106['type']&&(_0x235b85[_0x5e9a9b(0x299)]['options']=await ServiceUtil[_0x5e9a9b(0x186)](_0x3ef106[_0x5e9a9b(0x1fa)]))),_0x5e9a9b(0x286)===_0x53f2d8&&ValueUtil[_0x5e9a9b(0x20d)](_0xac02b)){let _0x2dc93b;_0x235b85[_0x5e9a9b(0x299)][_0x5e9a9b(0x23d)]={..._0xac02b},_0xac02b[_0x5e9a9b(0x17e)]&&_0xac02b[_0x5e9a9b(0x17e)][_0x5e9a9b(0x1bd)]&&(_0x2dc93b=[..._0xac02b['basicArgs'][_0x5e9a9b(0x1bd)]]),_0x2dc93b&&JSON[_0x5e9a9b(0x167)](_0x2dc93b)[_0x5e9a9b(0x178)]('::')&&(_0x235b85[_0x5e9a9b(0x274)]={'dblclick':(_0xdb872e,_0xdbd1a5,_0x420020,_0x1d8e5b,_0x1554ce)=>{const _0x16b75b=_0x5e9a9b;let _0x34d456=[];_0x2dc93b[_0x16b75b(0x28a)](_0x55ae03=>{const _0x13fb9b=_0x16b75b;var {name:_0x29895d,value:_0x140414,operator:_0x27eb26='eq'}=_0x55ae03;_0x140414[_0x13fb9b(0x178)]('::')&&(_0x140414=ValueUtil['getParams'](_0x1d8e5b,..._0x140414[_0x13fb9b(0x1fe)]('::','')[_0x13fb9b(0x1c5)]('.'))),_0x140414||(_0x140414=''),_0x34d456[_0x13fb9b(0x246)]({'name':_0x29895d,'operator':_0x27eb26,'value':_0x140414});}),_0x420020[_0x16b75b(0x299)][_0x16b75b(0x23d)][_0x16b75b(0x17e)][_0x16b75b(0x1bd)]=_0x34d456;}});}else'meta-code-selector'===_0x53f2d8&&ValueUtil[_0x5e9a9b(0x20d)](_0xac02b)&&(_0xac02b[_0x5e9a9b(0x19f)]&&(_0xac02b[_0x5e9a9b(0x27c)]=await ServiceUtil[_0x5e9a9b(0x186)](_0xac02b)),_0x235b85[_0x5e9a9b(0x299)]['options']={..._0xac02b});!0x0===_0x1dd88d[_0x5e9a9b(0x15d)]&&!0x0===_0x2789ab&&(_0x235b85[_0x5e9a9b(0x28f)]={'header':_0x235b85[_0x5e9a9b(0x24d)],'key':_0x235b85[_0x5e9a9b(0x249)],'width':_0x235b85['width']/0x6,'type':_0x235b85['type']}),_0x299644['push'](_0x235b85);}if(!0x0!==this[_0x5e9a9b(0x1fd)])return _0x299644;let _0x1615a9=await MetaApi[_0x5e9a9b(0x1a6)](this['menuId']),{template:_0x4f110a={}}=_0x1615a9;if(!_0x4f110a['master'])return _0x299644;let _0x3c7d83=_0x4f110a[_0x5e9a9b(0x1e5)];return _0x299644=_0x299644[_0x5e9a9b(0x1d0)](_0x2c8329=>('id'==_0x2c8329[_0x5e9a9b(0x249)]||(_0x2c8329[_0x5e9a9b(0x216)]=!_0x3c7d83[_0x5e9a9b(0x178)](_0x2c8329[_0x5e9a9b(0x249)]),_0x2c8329[_0x5e9a9b(0x15a)]=_0x3c7d83[_0x5e9a9b(0x1c2)](_0x2c8329[_0x5e9a9b(0x249)]),-0x1==_0x2c8329[_0x5e9a9b(0x15a)]&&(_0x2c8329[_0x5e9a9b(0x15a)]=0x1869f)),_0x2c8329)),_0x299644[_0x5e9a9b(0x15c)]((_0x577e09,_0x4bae6e)=>_0x577e09['rank']-_0x4bae6e[_0x5e9a9b(0x15a)]),_0x299644;}static async[a0_0x1606bd(0x1c6)](_0x11783b,_0x10dfbf){const _0x1d063c=a0_0x1606bd;let _0x37e9ad=await MetaUiUtil[_0x1d063c(0x255)](_0x10dfbf['menu']);if(_0x37e9ad&&_0x37e9ad[_0x1d063c(0x1c1)]&&_0x37e9ad[_0x1d063c(0x1c1)][_0x1d063c(0x136)]>0x0&&_0x37e9ad[_0x1d063c(0x1c1)][0x0][_0x1d063c(0x226)]){let _0x313f2a=_0x37e9ad[_0x1d063c(0x1c1)][0x0],_0xfed0e8=JSON['parse'](MetaCrypto[_0x1d063c(0x24c)](_0x313f2a[_0x1d063c(0x226)]));_0x10dfbf[_0x1d063c(0x1c7)]||(_0x10dfbf[_0x1d063c(0x1c7)]=_0xfed0e8['gql'][_0x1d063c(0x14f)][_0x1d063c(0x184)]),_0x10dfbf['select']||(_0x10dfbf[_0x1d063c(0x241)]=_0xfed0e8['grid_column']),_0x10dfbf['filterFields']&&0x0!=_0x10dfbf['filterFields']['length']||(_0x10dfbf[_0x1d063c(0x224)]=_0xfed0e8[_0x1d063c(0x170)]),_0x10dfbf[_0x1d063c(0x168)]||(_0x10dfbf[_0x1d063c(0x168)]=_0xfed0e8['menu'][_0x1d063c(0x220)]),_0x10dfbf[_0x1d063c(0x1bd)]||(_0x10dfbf[_0x1d063c(0x1bd)]=_0xfed0e8[_0x1d063c(0x1f7)][_0x1d063c(0x14f)][_0x1d063c(0x1bd)]||[]),_0x11783b[_0x1d063c(0x178)]('-object-')?_0x10dfbf['nameField']||(_0x10dfbf[_0x1d063c(0x158)]=_0xfed0e8[_0x1d063c(0x288)][_0x1d063c(0x249)]||_0x1d063c(0x249)):_0x11783b[_0x1d063c(0x178)](_0x1d063c(0x293))&&(_0x10dfbf[_0x1d063c(0x1ef)]||(_0x10dfbf[_0x1d063c(0x1ef)]=_0xfed0e8[_0x1d063c(0x288)]['name']||_0x1d063c(0x212)),_0x10dfbf[_0x1d063c(0x19f)]||(_0x10dfbf[_0x1d063c(0x19f)]=_0xfed0e8['menu'][_0x1d063c(0x1d9)]||void 0x0));}return _0x10dfbf;}static[a0_0x1606bd(0x15b)](_0x30f8ed,_0x1c7c3a){const _0x240404=a0_0x1606bd;let _0x1dea79=_0x30f8ed[_0x240404(0x1b2)];return _0x1dea79&&_0x1dea79[_0x240404(0x28a)](_0x470ff7=>{const _0x1010b3=_0x240404;'string'==typeof _0x470ff7?_0x1c7c3a['filter'](_0x1508d3=>_0x1508d3[_0x1010b3(0x249)]==_0x470ff7)[_0x1010b3(0x28a)](_0xfd310c=>{const _0x1c2260=_0x1010b3;_0xfd310c[_0x1c2260(0x180)]=_0x1c2260(0x170);}):_0x1010b3(0x183)==typeof _0x470ff7&&_0x1c7c3a['filter'](_0x13d052=>_0x13d052['name']==_0x470ff7[_0x1010b3(0x249)])[_0x1010b3(0x28a)](_0x2158c9=>{const _0x22ba24=_0x1010b3;_0x2158c9[_0x22ba24(0x180)]=_0x470ff7,_0x2158c9[_0x22ba24(0x180)][_0x22ba24(0x28d)]='datetime'===_0x2158c9[_0x22ba24(0x28d)]&&'eq'==_0x470ff7[_0x22ba24(0x1b3)]?_0x22ba24(0x1a0):_0x2158c9[_0x22ba24(0x28d)];let _0x2c2cc5=_0x2158c9['filter'][_0x22ba24(0x23f)],_0x1faa21=[_0x22ba24(0x135),_0x22ba24(0x23a),_0x22ba24(0x1e9),_0x22ba24(0x165),_0x22ba24(0x1d1),_0x22ba24(0x223),'sec'];if(_0x2c2cc5&&_0x1faa21[_0x22ba24(0x180)](_0x37efd4=>_0x2c2cc5[_0x22ba24(0x15f)](_0x37efd4))[_0x22ba24(0x136)]>0x0){let _0x179756=[],_0x3d9f25={'date':_0x22ba24(0x12d),'datetime':_0x22ba24(0x1d2)},_0x426a1d={'today':_0x22ba24(0x166),'year':_0x22ba24(0x23a),'month':_0x22ba24(0x1e9),'date':_0x22ba24(0x166),'hour':_0x22ba24(0x1d1),'min':_0x22ba24(0x1b8),'sec':_0x22ba24(0x21d)};_0x2c2cc5[_0x22ba24(0x1c5)](',')[_0x22ba24(0x28a)](_0x1061c2=>{const _0x3ee532=_0x22ba24,_0x375e51=a0_0x3f8f3f();if(_0x1faa21[_0x3ee532(0x178)](_0x1061c2))_0x179756[_0x3ee532(0x246)](_0x375e51[_0x3ee532(0x29d)](_0x426a1d[_0x1061c2])['format'](_0x3d9f25[_0x2158c9[_0x3ee532(0x28d)]]));else{if(_0x1061c2[_0x3ee532(0x178)]('-')){let _0x192347=_0x1061c2['split']('-'),_0x50a40d=_0x192347[0x0],_0x2a25f5=_0x192347[0x1];_0x179756['push'](_0x375e51[_0x3ee532(0x235)](_0x2a25f5,_0x426a1d[_0x50a40d])[_0x3ee532(0x29d)](_0x426a1d[_0x50a40d])[_0x3ee532(0x28b)](_0x3d9f25[_0x2158c9[_0x3ee532(0x28d)]]));}else{if(_0x1061c2[_0x3ee532(0x178)]('+')){let _0x4c91fa=_0x1061c2[_0x3ee532(0x1c5)]('+'),_0x2fc400=_0x4c91fa[0x0],_0x3ff82d=_0x4c91fa[0x1];_0x179756[_0x3ee532(0x246)](_0x375e51[_0x3ee532(0x1f3)](_0x3ff82d,_0x426a1d[_0x2fc400])[_0x3ee532(0x29d)](_0x426a1d[_0x2fc400])[_0x3ee532(0x28b)](_0x3d9f25[_0x2158c9['type']]));}}}}),_0x179756[_0x22ba24(0x136)]>0x0&&(_0x2158c9[_0x22ba24(0x180)][_0x22ba24(0x23f)]=0x1==_0x179756[_0x22ba24(0x136)]?_0x179756[0x0]:_0x179756);}});}),_0x1c7c3a;}static[a0_0x1606bd(0x270)](_0x4eec45){const _0x1c2b98=a0_0x1606bd;let _0x2b5e6c={'title':TermsUtil['tTitle'](_0x4eec45['menuInfo'][_0x1c2b98(0x220)]),'help':_0x4eec45['menuInfo'][_0x1c2b98(0x1d5)]||'','actions':[...MetaUiUtil[_0x1c2b98(0x1a7)](_0x4eec45)]};return _0x4eec45[_0x1c2b98(0x15d)]&&(_0x2b5e6c[_0x1c2b98(0x14b)]={'name':_0x2b5e6c[_0x1c2b98(0x220)],'data':_0x4eec45['export'][_0x1c2b98(0x1b9)](_0x4eec45)}),_0x4eec45[_0x1c2b98(0x232)]&&(_0x2b5e6c[_0x1c2b98(0x156)]={'handler':_0x4eec45[_0x1c2b98(0x19b)][_0x1c2b98(0x1b9)](_0x4eec45)}),_0x2b5e6c;}static['getContextButtons'](_0x53ff80){const _0x19e088=a0_0x1606bd;let _0x13c9a3=_0x53ff80[_0x19e088(0x27d)];return ValueUtil[_0x19e088(0x29f)](_0x13c9a3)?[]:_0x13c9a3[_0x19e088(0x180)](_0x5666b8=>_0x19e088(0x17d)!=_0x5666b8[_0x19e088(0x249)]&&_0x19e088(0x19b)!=_0x5666b8[_0x19e088(0x249)]&&_0x19e088(0x1f3)!=_0x5666b8[_0x19e088(0x249)])['map'](_0x2e3899=>{const _0x55059b=_0x19e088;let {name:_0x558c5f,label:_0x3c8b4c,style:_0x3fd8c8,type:_0x19efe8='basic',action:_0x1f7f0f,logic:_0x2c14bd}=_0x2e3899;if(ValueUtil[_0x55059b(0x29f)](_0x558c5f))return{'title':'-1'};ValueUtil[_0x55059b(0x29f)](_0x3c8b4c)&&(_0x3c8b4c=_0x558c5f),ValueUtil[_0x55059b(0x29f)](_0x3fd8c8)&&(_0x3fd8c8=_0x558c5f),ValueUtil[_0x55059b(0x29f)](_0x1f7f0f)&&(_0x1f7f0f=_0x558c5f);let _0x4008d2=ValueUtil[_0x55059b(0x20d)](_0x3fd8c8)?CommonButtonStyles[_0x3fd8c8]||{'icon':_0x3fd8c8,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x55059b(0x245)](_0x3c8b4c),'action':MetaUiUtil['getButtonActionHandler'](_0x53ff80,_0x19efe8,_0x1f7f0f,_0x2c14bd),..._0x4008d2};})[_0x19e088(0x180)](_0x3b9ed7=>'-1'!=_0x3b9ed7['title']);}static[a0_0x1606bd(0x242)](_0xccacd3){const _0x1ed8ed=a0_0x1606bd;let _0x47ec6f=_0xccacd3&&_0xccacd3[_0x1ed8ed(0x27d)]?_0xccacd3[_0x1ed8ed(0x27d)]:null;return _0x47ec6f?_0x47ec6f['filter'](_0x35ffe0=>_0x1ed8ed(0x1f3)!=_0x35ffe0[_0x1ed8ed(0x249)])[_0x1ed8ed(0x1d0)](_0x317777=>{const _0x28999e=_0x1ed8ed;let {name:_0x171dc9,label:_0x83f7f4,style:_0x5c7745,type:_0x2fb7e9='basic',action:_0x35de69,logic:_0xfeac2b}=_0x317777;ValueUtil[_0x28999e(0x29f)](_0x83f7f4)&&(_0x83f7f4=_0x171dc9),ValueUtil[_0x28999e(0x29f)](_0x5c7745)&&(_0x5c7745=_0x171dc9),ValueUtil[_0x28999e(0x29f)](_0x35de69)&&(_0x35de69=_0x171dc9);let _0x3cb04f=MetaUiUtil[_0x28999e(0x27f)](TermsUtil[_0x28999e(0x245)](_0x83f7f4),_0x5c7745);return _0x3cb04f[_0x28999e(0x163)]=MetaUiUtil[_0x28999e(0x1c4)](_0xccacd3,_0x2fb7e9,_0x35de69,_0xfeac2b),_0x3cb04f;}):[];}static['createButtonElement'](_0x196b16,_0x1e7225){const _0x5e9382=a0_0x1606bd;let _0x59851b=CommonButtonStyles[_0x1e7225]||{'icon':_0x1e7225,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x4a383b=_0x5e9382(0x2a3)+_0x196b16+_0x5e9382(0x201)+(_0x59851b[_0x5e9382(0x1cd)]?_0x59851b['icon']:'')+_0x5e9382(0x132)+(_0x59851b[_0x5e9382(0x283)][_0x5e9382(0x140)]?_0x5e9382(0x140):'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x59851b['emphasis'][_0x5e9382(0x247)]?_0x5e9382(0x247):'')+_0x5e9382(0x19e)+(_0x59851b['emphasis'][_0x5e9382(0x14c)]?'dense':'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x59851b['emphasis'][_0x5e9382(0x146)]?_0x5e9382(0x146):'')+_0x5e9382(0x26f);return UiUtil[_0x5e9382(0x1d8)](_0x4a383b);}static[a0_0x1606bd(0x1c4)](_0x395975,_0x11a6e8,_0x19773d,_0x2e8bbc){const _0x54e986=a0_0x1606bd;if('basic'==_0x11a6e8){if(_0x395975[_0x19773d])return _0x395975[_0x19773d]['bind'](_0x395975);}else{if('custom'==_0x11a6e8)return()=>MetaUiUtil[_0x54e986(0x21b)](_0x395975,_0x2e8bbc);}return()=>{const _0x2737a8=_0x54e986;UiUtil[_0x2737a8(0x1ff)](_0x2737a8(0x17b),_0x2737a8(0x1ba),_0x2737a8(0x252),_0x2737a8(0x1b6));};}static async[a0_0x1606bd(0x1c3)](_0x2916b3,_0x34034e,_0x25dad8){const _0xcff359=a0_0x1606bd;let _0x3e41cc=ValueUtil[_0xcff359(0x16a)](_0x34034e,_0xcff359(0x279)),_0x5d6ba5=ValueUtil[_0xcff359(0x16a)](_0x3e41cc,_0xcff359(0x28d));if(_0xcff359(0x268)===_0x5d6ba5)_0x3e41cc[_0xcff359(0x215)]='meta-form-element',_0x3e41cc[_0xcff359(0x144)]=_0xcff359(0x264),_0x3e41cc['parent_field']='id',await MetaUiUtil['commonButtonOpenPopup'](_0x2916b3,_0x3e41cc,_0x25dad8);else{if(_0xcff359(0x1f8)===_0x5d6ba5)MetaUiUtil[_0xcff359(0x1f0)](_0x2916b3,_0x3e41cc,_0x25dad8);else{if(_0xcff359(0x142)===_0x5d6ba5){let _0x1316ea;_0x3e41cc[_0xcff359(0x1ae)]?(_0x1316ea={},Object[_0xcff359(0x1dc)](_0x25dad8)[_0xcff359(0x180)](_0x2b3ec4=>Object[_0xcff359(0x1dc)](_0x3e41cc[_0xcff359(0x1ae)])[_0xcff359(0x178)](_0x2b3ec4))['map'](_0x3975e0=>{const _0x34703e=_0xcff359;Object['keys'](_0x3e41cc['param_field'])['includes'](_0x3975e0)&&(_0x34703e(0x138)==typeof _0x25dad8[_0x3975e0]?_0x1316ea[_0x3e41cc[_0x34703e(0x1ae)][_0x3975e0]]=_0x25dad8[_0x3975e0]:_0x1316ea[_0x3e41cc[_0x34703e(0x1ae)][_0x3975e0]]={'id':_0x25dad8[_0x3975e0]['id']});})):_0x1316ea=_0x25dad8,UiUtil[_0xcff359(0x174)](_0x3e41cc[_0xcff359(0x20c)],[_0x1316ea]);}else _0xcff359(0x22e)===_0x5d6ba5?await MetaUiUtil[_0xcff359(0x294)](_0x2916b3,_0x3e41cc,_0x25dad8):_0xcff359(0x19a)===_0x5d6ba5?await MetaUiUtil[_0xcff359(0x162)](_0x2916b3,_0x3e41cc,_0x25dad8):_0xcff359(0x1c8)===_0x5d6ba5&&await MetaUiUtil[_0xcff359(0x205)](_0x2916b3,_0x3e41cc,_0x25dad8);}}}static async[a0_0x1606bd(0x21b)](_0x395029,_0x2ecfac){const _0x10a903=a0_0x1606bd;if(ValueUtil[_0x10a903(0x29f)](_0x2ecfac))return;let _0x4aa207=_0x395029['grist'],_0xeb1af=_0x395029[_0x10a903(0x1ee)],_0x2a1dc7=ValueUtil[_0x10a903(0x16a)](_0x2ecfac,'type'),_0x106ca6=ValueUtil[_0x10a903(0x16a)](_0x2ecfac,'param'),_0x336507=_0x106ca6[_0x10a903(0x180)](_0x5c4d87=>_0x5c4d87[_0x10a903(0x15f)]('grist'));if(ValueUtil['isNotEmpty'](_0x336507)){if(!_0x4aa207)return void UiUtil[_0x10a903(0x1ff)](_0x10a903(0x21f),_0x10a903(0x20b),_0x10a903(0x252),_0x10a903(0x1b6));if(0x0==(_0x4aa207[_0x10a903(0x263)]?_0x4aa207['data'][_0x10a903(0x1c1)]:[])[_0x10a903(0x136)])return void UiUtil[_0x10a903(0x1ff)](_0x10a903(0x21f),'text.grid_data_is_empty',_0x10a903(0x252),_0x10a903(0x1b6));if(_0x106ca6[_0x10a903(0x178)](_0x10a903(0x23e))||_0x106ca6[_0x10a903(0x178)](_0x10a903(0x1ca))){let _0x1e8513=_0x4aa207[_0x10a903(0x171)];if(ValueUtil['isEmpty'](_0x1e8513))return void UiUtil[_0x10a903(0x1ff)]('text.nothing_selected',_0x10a903(0x24b),_0x10a903(0x252),'confirm');if(_0x106ca6[_0x10a903(0x178)](_0x10a903(0x23e))&&_0x1e8513[_0x10a903(0x136)]>0x1)return void UiUtil[_0x10a903(0x1ff)](_0x10a903(0x21f),'text.please_select_only_one',_0x10a903(0x252),_0x10a903(0x1b6));}}let _0x19f750={};if(_0x106ca6[_0x10a903(0x178)]('filter')){if(!_0xeb1af)return void UiUtil[_0x10a903(0x1ff)](_0x10a903(0x21f),_0x10a903(0x291),_0x10a903(0x252),_0x10a903(0x1b6));let _0x5a9c76=_0xeb1af?await _0xeb1af['getQueryFilters']():[];_0x19f750[_0x10a903(0x180)]=_0x5a9c76;}if(_0x106ca6['includes'](_0x10a903(0x280)))_0x19f750[_0x10a903(0x172)]=_0x4aa207['data']['records'];else{if(_0x106ca6[_0x10a903(0x178)](_0x10a903(0x23e)))_0x19f750[_0x10a903(0x172)]=_0x4aa207[_0x10a903(0x171)][0x0];else{if(_0x106ca6[_0x10a903(0x178)]('grist_selected'))_0x19f750[_0x10a903(0x172)]=_0x4aa207['selected'];else{if(_0x106ca6['includes'](_0x10a903(0x225))&&(_0x19f750[_0x10a903(0x172)]=ServiceUtil[_0x10a903(0x272)](_0x4aa207),!_0x19f750[_0x10a903(0x172)]))return;}}}if(_0x10a903(0x142)===_0x2a1dc7){let _0x416038,_0x556884=Array[_0x10a903(0x18d)](_0x19f750[_0x10a903(0x172)])?_0x19f750[_0x10a903(0x172)]:[_0x19f750[_0x10a903(0x172)]];_0x416038=_0x2ecfac['param_field']?_0x556884['map'](_0x27532b=>{const _0x574d8a=_0x10a903;let _0x2b0680={};return Object[_0x574d8a(0x1dc)](_0x27532b)[_0x574d8a(0x180)](_0x241826=>Object[_0x574d8a(0x1dc)](_0x2ecfac[_0x574d8a(0x1ae)])[_0x574d8a(0x178)](_0x241826))[_0x574d8a(0x1d0)](_0x530133=>{const _0x6c804=_0x574d8a;Object[_0x6c804(0x1dc)](_0x2ecfac[_0x6c804(0x1ae)])[_0x6c804(0x178)](_0x530133)&&(_0x6c804(0x138)==typeof _0x27532b[_0x530133]?_0x2b0680[_0x2ecfac[_0x6c804(0x1ae)][_0x530133]]=_0x27532b[_0x530133]:_0x2b0680[_0x2ecfac['param_field'][_0x530133]]={'id':_0x27532b[_0x530133]['id']});}),_0x2b0680;}):_0x556884,UiUtil[_0x10a903(0x174)](_0x2ecfac['url'],_0x416038);}else{if(_0x10a903(0x22e)===_0x2a1dc7){let _0x42449b={..._0x19f750[_0x10a903(0x172)]?_0x19f750[_0x10a903(0x172)]:{},..._0x19f750[_0x10a903(0x180)]?_0x19f750[_0x10a903(0x180)]:{}};await MetaUiUtil[_0x10a903(0x294)](_0x395029,_0x2ecfac,_0x42449b);}else _0x10a903(0x19a)===_0x2a1dc7&&await MetaUiUtil[_0x10a903(0x162)](_0x395029,_0x2ecfac,_0x19f750);}}static[a0_0x1606bd(0x1f0)](_0x5869d4,_0x24f797,_0x3b89bb){const _0x1df11d=a0_0x1606bd;let _0x2b3c20=_0x24f797[_0x1df11d(0x1be)],_0x40227c={},_0x1fcc60=_0x5869d4[_0x1df11d(0x1ea)]['toLowerCase'](),_0x3889d7=_0x5869d4;_0x40227c=_0x1fcc60[_0x1df11d(0x15f)]('meta-grist-tab-')||_0x1fcc60['startsWith']('meta-master-detail-')?_0x2b3c20[_0x1df11d(0x143)]?{..._0x2b3c20}:{'detail':{..._0x2b3c20}}:{..._0x2b3c20},Object['keys'](_0x40227c)[_0x1df11d(0x28a)](_0xdcdf55=>{const _0x29536b=_0x1df11d;if(_0x29536b(0x1e5)==_0xdcdf55?_0x3889d7=_0x5869d4[_0x29536b(0x236)][_0x29536b(0x290)]:_0x29536b(0x143)==_0xdcdf55?_0x3889d7=_0x5869d4[_0x29536b(0x236)]?_0x5869d4[_0x29536b(0x236)][_0x29536b(0x14d)]:_0x5869d4[_0x29536b(0x14d)]:_0x29536b(0x1c9)==_0xdcdf55&&(_0x3889d7=_0x5869d4),_0x3889d7){if(_0x3889d7['tagName'][_0x29536b(0x196)]()[_0x29536b(0x15f)](_0x29536b(0x131)))Object[_0x29536b(0x1dc)](_0x40227c[_0xdcdf55])['forEach'](_0x3b7c8c=>{const _0x56ddb3=_0x29536b;let _0x2315ee=_0x3889d7[_0x56ddb3(0x13f)][_0x56ddb3(0x1bb)]('#'+_0x3b7c8c);_0x3b89bb['id']&&_0x2315ee['setParentId'](_0x3b89bb['id']);let _0x2621b=_0x40227c[_0xdcdf55][_0x3b7c8c];Object[_0x56ddb3(0x1dc)](_0x2621b)[_0x56ddb3(0x28a)](_0x34aaa3=>{let _0x4f0238=_0x2621b[_0x34aaa3],_0x28ffbe='*'===_0x4f0238?_0x3b89bb:_0x3b89bb[_0x4f0238];_0x2315ee[_0x34aaa3]=_0x28ffbe;});});else{let _0x438200=_0x3889d7;_0x3b89bb['id']&&_0x438200[_0x29536b(0x21e)](_0x3b89bb['id']);let _0x5ebecc=_0x40227c[_0xdcdf55];Object[_0x29536b(0x1dc)](_0x5ebecc)[_0x29536b(0x28a)](_0x7996a=>{let _0x791b0a=_0x5ebecc[_0x7996a],_0x5bbf96='*'===_0x791b0a?_0x3b89bb:_0x3b89bb[_0x791b0a];_0x438200[_0x7996a]=_0x5bbf96;});}}});}static async[a0_0x1606bd(0x294)](_0x498d55,_0x54bb50,_0x58d3f7){const _0x2665c1=a0_0x1606bd;let _0x56264f=TermsUtil[_0x2665c1(0x130)](_0x54bb50[_0x2665c1(0x220)]);ValueUtil[_0x2665c1(0x20d)](_0x54bb50['title_detail'])&&(_0x56264f=_0x56264f+'('+ValueUtil[_0x2665c1(0x16a)](_0x58d3f7,..._0x54bb50[_0x2665c1(0x267)][_0x2665c1(0x1c5)]('.'))+')');let _0xcd0c2a=_0x54bb50[_0x2665c1(0x278)]&&_0x2665c1(0x138)==typeof _0x54bb50[_0x2665c1(0x278)]&&_0x2665c1(0x1e0)===_0x54bb50[_0x2665c1(0x278)]&&_0x498d55&&_0x498d55[_0x2665c1(0x1e0)]?_0x498d55[_0x2665c1(0x1e0)][_0x2665c1(0x1b9)](_0x498d55):void 0x0;UiUtil[_0x2665c1(0x295)](_0x56264f,_0x54bb50,_0x58d3f7,_0xcd0c2a);}static async[a0_0x1606bd(0x162)](_0x10a7a5,_0x4a6c44,_0x23d73b){const _0x118406=a0_0x1606bd;let _0x2618e7=await ServiceUtil[_0x118406(0x134)](_0x118406(0x1e2),_0x4a6c44['name'],_0x23d73b);if(!_0x2618e7[_0x118406(0x254)]&&!ValueUtil['isEmpty'](_0x4a6c44['after'])&&_0x4a6c44[_0x118406(0x278)]){if(_0x118406(0x1e0)!==_0x4a6c44[_0x118406(0x278)]){if('object'==typeof _0x4a6c44['after']){let _0x3cb05f=_0x4a6c44[_0x118406(0x278)],_0xa6deee=ValueUtil[_0x118406(0x16a)](_0x2618e7[_0x118406(0x263)][_0x118406(0x1ce)][_0x118406(0x263)],..._0x3cb05f[_0x118406(0x185)][_0x118406(0x1c5)]('.'));if(0x0==Array[_0x118406(0x18d)](_0xa6deee)&&(_0xa6deee=[_0xa6deee]),_0x118406(0x268)===_0x3cb05f[_0x118406(0x28d)])_0x3cb05f[_0x118406(0x215)]=_0x118406(0x261),_0x3cb05f['location']=_0x118406(0x264),_0x3cb05f['parent_field']='id',_0xa6deee=_0xa6deee[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x10a7a5,_0x3cb05f,_0xa6deee);else{if(_0x118406(0x142)===_0x3cb05f[_0x118406(0x28d)]){let _0x5cd9b7,_0x2ac999=_0xa6deee;_0x5cd9b7=_0x3cb05f['param_field']?_0x2ac999[_0x118406(0x1d0)](_0x5ee6a1=>{const _0x52c06a=_0x118406;let _0x4fcfcf={};return Object[_0x52c06a(0x1dc)](_0x5ee6a1)[_0x52c06a(0x180)](_0x2f1c65=>Object['keys'](_0x3cb05f[_0x52c06a(0x1ae)])[_0x52c06a(0x178)](_0x2f1c65))[_0x52c06a(0x1d0)](_0x2dd235=>{const _0x4ec473=_0x52c06a;Object[_0x4ec473(0x1dc)](_0x3cb05f['param_field'])[_0x4ec473(0x178)](_0x2dd235)&&(_0x4ec473(0x138)==typeof _0x5ee6a1[_0x2dd235]?_0x4fcfcf[_0x3cb05f[_0x4ec473(0x1ae)][_0x2dd235]]=_0x5ee6a1[_0x2dd235]:_0x4fcfcf[_0x3cb05f[_0x4ec473(0x1ae)][_0x2dd235]]={'id':_0x5ee6a1[_0x2dd235]['id']});}),_0x4fcfcf;}):_0x2ac999,UiUtil['pageNavigate'](_0x3cb05f[_0x118406(0x20c)],_0x5cd9b7);}else _0x118406(0x1f8)===_0x3cb05f[_0x118406(0x28d)]?(_0xa6deee=_0xa6deee[0x0],MetaUiUtil['gristButtonPassParam'](_0x10a7a5,_0x3cb05f,_0xa6deee)):'popup'===_0x3cb05f[_0x118406(0x28d)]?(_0xa6deee=_0xa6deee[0x0],await MetaUiUtil[_0x118406(0x294)](_0x10a7a5,_0x3cb05f,_0xa6deee)):_0x118406(0x1c8)===_0x3cb05f[_0x118406(0x28d)]&&(_0xa6deee=_0xa6deee[0x0],await MetaUiUtil[_0x118406(0x205)](_0x10a7a5,_0x3cb05f,_0xa6deee));}}}else _0x10a7a5[_0x118406(0x1e0)]();}}static async['gristButtonValueReference'](_0x27d0b9,_0x57b45c,_0xdfbac){const _0x3c2808=a0_0x1606bd;for(let _0x4cc0f5=0x0;_0x4cc0f5<_0x57b45c[_0x3c2808(0x1a5)][_0x3c2808(0x136)];_0x4cc0f5++){let _0x45ebc3=_0x57b45c[_0x3c2808(0x1a5)][_0x4cc0f5];!0x0===ValueUtil[_0x3c2808(0x273)](_0x45ebc3,_0xdfbac,Object[_0x3c2808(0x1dc)](_0x45ebc3)['filter'](_0x4897b3=>_0x3c2808(0x279)!=_0x4897b3))&&await MetaUiUtil[_0x3c2808(0x1c3)](_0x27d0b9,_0x45ebc3,_0xdfbac);}}static[a0_0x1606bd(0x1ac)](_0x5d5041,_0x382ebe){return{'type':_0x5d5041,'name':_0x382ebe,'sortable':!0x1,'hidden':!0x0};}static[a0_0x1606bd(0x173)](_0x410529,_0x335fc0,_0x5de533,_0x1e703e,_0x2e37ba,_0x1e0f3c){const _0xbfde62=a0_0x1606bd;let _0x5e1c51=TermsUtil[_0xbfde62(0x1fb)](_0x335fc0);return{'type':_0x410529,'name':_0x335fc0,'header':_0x5e1c51,'record':{'align':_0x5de533,'editable':_0x1e703e},'sortable':_0x2e37ba,'width':_0x1e0f3c,'imex':{'width':Math[_0xbfde62(0x175)](_0x1e0f3c/0x6),'header':_0x5e1c51,'type':_0x410529,'key':_0x335fc0}};}static['getGristColumnConfig2'](_0x30c17b,_0x2c2405,_0x4d6cb5,_0x470873,_0x5693b7,_0x32496d,_0x5eed71){const _0x4b1227=a0_0x1606bd;let _0x231bb0=TermsUtil[_0x4b1227(0x1fb)](_0x4d6cb5);return{'type':_0x30c17b,'name':_0x2c2405,'header':_0x231bb0,'record':{'align':_0x470873,'editable':_0x5693b7},'sortable':_0x32496d,'width':_0x5eed71,'imex':{'width':Math[_0x4b1227(0x175)](_0x5eed71/0x6),'header':_0x231bb0,'type':_0x30c17b,'key':_0x2c2405}};}static[a0_0x1606bd(0x20a)](_0x1c3893,_0x12a5c3,_0x574228,_0x25122f,_0x4c3c5e,_0x1e1b93,_0x37e1bd,_0x18a2c7){const _0x225256=a0_0x1606bd;let _0x3baef6=TermsUtil['tLabel'](_0x574228);return{'type':_0x1c3893,'name':_0x12a5c3,'header':_0x3baef6,'record':{'align':_0x25122f,'editable':_0x4c3c5e,'mandatory':_0x37e1bd},'sortable':_0x1e1b93,'width':_0x18a2c7,'imex':{'width':Math[_0x225256(0x175)](_0x18a2c7/0x6),'header':_0x3baef6,'type':_0x1c3893,'key':_0x12a5c3}};}static[a0_0x1606bd(0x153)](_0x5406e8,_0xfcce85,_0x5b7995,_0x220fac,_0x261b04,_0x20c76c,_0x38f33a){const _0x102f24=a0_0x1606bd;let _0x34ebd3=TermsUtil['tLabel'](_0xfcce85);return{'type':_0x102f24(0x241),'name':_0x5406e8,'header':_0x34ebd3,'record':{'align':_0x5b7995,'editable':!0x0,'mandatory':_0x20c76c,'options':_0x38f33a},'sortable':_0x220fac,'width':_0x261b04,'imex':{'width':Math[_0x102f24(0x175)](_0x261b04/0x6),'header':_0x34ebd3,'type':'string','key':_0x5406e8}};}static async['getGristCodeSelectorColumnConfig'](_0x29f495,_0x5c3d33,_0x1ae05b,_0x1d3658,_0x5bca0a,_0x1c1c8e,_0x40091c){const _0x2863e0=a0_0x1606bd;let _0xe956c0=await ServiceUtil[_0x2863e0(0x262)](_0x40091c);return MetaUiUtil['getGristSelectorColumnConfig'](_0x29f495,_0x5c3d33,_0x1ae05b,_0x1d3658,_0x5bca0a,_0x1c1c8e,_0xe956c0);}static['getGristSearchColumnConfig'](_0x37a48d,_0x58ed57,_0x1c8a81,_0x5d446a,_0x11bd62){const _0x1785a7=a0_0x1606bd;let _0x242fd1=TermsUtil['tLabel'](_0x1c8a81),_0x58770d={'name':_0x37a48d,'type':_0x58ed57,'label':_0x242fd1,'operator':_0x5d446a,'imex':{'width':0x10,'header':_0x242fd1,'type':_0x58ed57,'key':_0x37a48d}};return _0x11bd62&&(_0x58770d[_0x1785a7(0x23d)]=_0x11bd62),_0x58770d;}static async['getGristSearchCodeColumnConfig'](_0x29a4e6,_0x3fd911,_0x2ae701,_0xa65a84,_0x13d532){const _0x304807=a0_0x1606bd;let _0x32f34a=await ServiceUtil[_0x304807(0x262)](_0x13d532);return MetaUiUtil[_0x304807(0x145)](_0x29a4e6,_0x3fd911,_0x2ae701,_0xa65a84,_0x32f34a);}static[a0_0x1606bd(0x159)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0x241afc(0x193)])return;let _0x4cbd83=[{'name':_0x241afc(0x25b),'operator':'eq','value':_0xc02424}];return await ServiceUtil[_0x241afc(0x1f0)](_0x241afc(0xef),_0x4cbd83,null,0x0,0x0,_0x241afc(0x1c9));}static async[a0_0x598c66(0x1d5)](_0x1bf5dc,_0xba1311){const _0x37a89a=a0_0x598c66;let _0x4e2807,_0x340f26=await MetaUiUtil[_0x37a89a(0x1fb)](_0xba1311);if(_0x340f26&&_0x340f26[_0x37a89a(0x17a)]&&0x0!=_0x340f26[_0x37a89a(0x17a)][_0x37a89a(0x209)]?(_0x4e2807=_0x340f26[_0x37a89a(0x17a)][0x0],!_0x4e2807['template']&&_0x1bf5dc[_0x37a89a(0xf2)]&&(_0x4e2807[_0x37a89a(0x20e)]=_0x1bf5dc[_0x37a89a(0xf2)])):_0x1bf5dc[_0x37a89a(0xf2)]&&(_0x4e2807={'id':_0xba1311,'template':_0x1bf5dc[_0x37a89a(0xf2)]}),!_0x4e2807)throw new Error(TermsUtil[_0x37a89a(0x1d0)](_0x37a89a(0x1eb),{'value':TermsUtil[_0x37a89a(0x226)](_0x37a89a(0x24c))+'\x20'+_0xba1311}));if(!_0x4e2807[_0x37a89a(0x20e)])throw new Error(TermsUtil['tText'](_0x37a89a(0x1eb),{'value':TermsUtil[_0x37a89a(0x226)](_0x37a89a(0x24c))+'\x20'+TermsUtil['tLabel'](_0x37a89a(0x109))}));return this[_0x37a89a(0x18d)]=_0x4e2807['id'],JSON[_0x37a89a(0x189)](MetaCrypto[_0x37a89a(0x21e)](_0x4e2807['template']));}static[a0_0x598c66(0x12b)](){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':_0x483c10=>Boolean(_0x483c10)},'is_popup':{'type':Boolean,'converter':_0x5eb7dc=>Boolean(_0x5eb7dc)},'is_activity':{'type':Boolean,'converter':_0x5d948d=>Boolean(_0x5d948d)},'is_readonly':{'type':Boolean,'converter':_0x49cd36=>Boolean(_0x49cd36)}};}static async[a0_0x598c66(0x1c3)](_0x429a99){const _0x570e2e=a0_0x598c66;if(0x0==store[_0x570e2e(0x25c)]()['metaUI'][_0x570e2e(0x1f1)])return void document[_0x570e2e(0x1f8)](new CustomEvent(_0x570e2e(0x1e5),{'detail':{'level':_0x570e2e(0x1a0),'message':TermsUtil[_0x570e2e(0x230)](_0x570e2e(0x256))}}));let _0x2f4192=_0x429a99['isPage']?UiUtil[_0x570e2e(0x218)]():_0x429a99[_0x570e2e(0x1ff)];_0x429a99[_0x570e2e(0x218)]=_0x2f4192;let _0x4e75fc=await MetaUiUtil[_0x570e2e(0x1d5)](_0x429a99,_0x2f4192);return!0x0===_0x429a99['is_activity']&&(_0x4e75fc['grid'][_0x570e2e(0x18c)][_0x570e2e(0x19f)]=!0x1,_0x4e75fc[_0x570e2e(0x22b)][_0x570e2e(0x18c)][_0x570e2e(0x16b)]=_0x570e2e(0x1d9),_0x4e75fc[_0x570e2e(0x22b)][_0x570e2e(0x103)]=!0x1,_0x4e75fc[_0x570e2e(0x22b)][_0x570e2e(0x241)]=[],_0x4e75fc[_0x570e2e(0x241)]=_0x4e75fc[_0x570e2e(0x241)][_0x570e2e(0x14b)](_0x24e95f=>_0x570e2e(0x215)==_0x24e95f[_0x570e2e(0x1ee)])),!0x0===_0x429a99[_0x570e2e(0x1aa)]&&(_0x4e75fc['grid_column'][_0x570e2e(0x1e1)](_0x39f8e1=>{const _0x4d5611=_0x570e2e;_0x39f8e1[_0x4d5611(0x1cc)]=!0x1;}),_0x4e75fc['button']=_0x4e75fc[_0x570e2e(0x241)][_0x570e2e(0x14b)](_0x53a12b=>'add'!=_0x53a12b[_0x570e2e(0x1ee)])),!0x1===_0x429a99[_0x570e2e(0x103)]&&(_0x4e75fc[_0x570e2e(0x22b)]['use_filter_form']=!0x1),_0x4e75fc['grid_column'][_0x570e2e(0x14b)](_0x1f0f88=>_0x1f0f88[_0x570e2e(0x129)])[_0x570e2e(0x1e1)](_0x51dcdb=>{const _0x5ef979=_0x570e2e;_0x429a99['fieldChangeHandlers']||(_0x429a99[_0x5ef979(0x195)]={}),_0x429a99['fieldChangeHandlers'][_0x51dcdb[_0x5ef979(0x1ee)]]=_0x51dcdb['change_event_handler'];}),_0x4e75fc['grid_column'][_0x570e2e(0x1e1)](_0x305ede=>{const _0x385cc9=_0x570e2e;[_0x385cc9(0x10b),_0x385cc9(0x253)]['includes'](_0x305ede[_0x385cc9(0x14e)])?_0x305ede[_0x385cc9(0x14e)]=_0x385cc9(0x147):['resource-code-selector'][_0x385cc9(0x20b)](_0x305ede[_0x385cc9(0x14e)])&&(_0x305ede[_0x385cc9(0x14e)]=_0x385cc9(0x239));}),_0x4e75fc;}static[a0_0x598c66(0x1de)](..._0x20da66){return{'pages':_0x20da66};}static[a0_0x598c66(0x11d)](_0x3aebb1,_0x48e65b){const _0x5daa91=a0_0x598c66;let _0x51871d=[{'type':'gutter','gutterName':_0x5daa91(0x23e)},{'type':_0x5daa91(0x157),'gutterName':_0x5daa91(0x188)}];return _0x3aebb1&&_0x51871d['push']({'type':_0x5daa91(0x157),'gutterName':_0x5daa91(0x1f5),'multiple':_0x48e65b}),_0x51871d;}static[a0_0x598c66(0x1fd)](_0x1d57ab){return{'selectable':{'multiple':_0x1d57ab}};}static async[a0_0x598c66(0x112)](_0x123cd1){const _0x449a29=a0_0x598c66;_0x123cd1['gqlInfo']||(_0x123cd1['gqlInfo']={}),_0x123cd1[_0x449a29(0x1c6)][_0x449a29(0x246)]||(_0x123cd1[_0x449a29(0x1c6)][_0x449a29(0x246)]={}),_0x123cd1[_0x449a29(0x1c6)][_0x449a29(0x246)]['after_set_fields']||(_0x123cd1[_0x449a29(0x1c6)][_0x449a29(0x246)]['after_set_fields']={}),_0x123cd1['gqlInfo'][_0x449a29(0xe9)]||(_0x123cd1[_0x449a29(0x1c6)]['mutation']={}),_0x123cd1[_0x449a29(0x1c6)][_0x449a29(0xe9)][_0x449a29(0x13c)]||(_0x123cd1[_0x449a29(0x1c6)]['mutation']['multiple']={}),_0x123cd1[_0x449a29(0x1c6)][_0x449a29(0xe9)][_0x449a29(0x13c)][_0x449a29(0x196)]||(_0x123cd1[_0x449a29(0x1c6)][_0x449a29(0xe9)][_0x449a29(0x13c)][_0x449a29(0x196)]=[]);let _0x209f25=MetaUiUtil[_0x449a29(0x1c0)](_0x123cd1),_0x5c4e3d=MetaUiUtil[_0x449a29(0x216)](_0x123cd1),_0x251651=MetaUiUtil[_0x449a29(0x160)](_0x123cd1),_0x2891de=MetaUiUtil['getGridButtonSet'](_0x123cd1),_0x45cde1=await MetaUiUtil[_0x449a29(0x127)](_0x123cd1);_0x45cde1[_0x449a29(0x14b)](_0x54907f=>['meta-object-selector'][_0x449a29(0x20b)](_0x54907f[_0x449a29(0x14e)]))['forEach'](_0x43d8d6=>{const _0x36e6a5=_0x449a29;_0x123cd1[_0x36e6a5(0x19c)][_0x36e6a5(0x14b)](_0x1292c2=>_0x1292c2[_0x36e6a5(0x1ee)]==_0x43d8d6['name'])[_0x36e6a5(0x1e1)](_0x1a08d3=>{const _0x22aa0f=_0x36e6a5,_0x2564c0=_0x43d8d6['record'][_0x22aa0f(0x135)],_0x3a1c7a=_0x2564c0[_0x22aa0f(0x201)]?_0x2564c0[_0x22aa0f(0x201)]:_0x43d8d6[_0x22aa0f(0x1ee)]+'Id',_0x1129ee=_0x123cd1[_0x22aa0f(0x19c)][_0x22aa0f(0x1b9)](_0x10f8b4=>_0x10f8b4[_0x22aa0f(0x1ee)]==_0x43d8d6[_0x22aa0f(0x1ee)]);_0x45cde1['push']({'type':_0x22aa0f(0x147),'header':_0x43d8d6[_0x22aa0f(0x100)],'name':_0x3a1c7a,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x2564c0},'unusable':!0x0}),_0x123cd1['gqlInfo'][_0x22aa0f(0x246)]['after_set_fields'][_0x3a1c7a]='x',_0x123cd1['gqlInfo'][_0x22aa0f(0xe9)][_0x22aa0f(0x13c)][_0x22aa0f(0x196)]['push'](_0x3a1c7a),_0x123cd1['searchConfig'][_0x1129ee][_0x22aa0f(0x1ee)]=_0x3a1c7a,_0x123cd1[_0x22aa0f(0x19c)][_0x1129ee]['type']=_0x22aa0f(0x147);});});let _0x460568=MetaUiUtil[_0x449a29(0x11d)](_0x209f25['use_row_checker'],_0x251651[_0x449a29(0x185)]['multiple']);if(0x1==_0x123cd1[_0x449a29(0x1cd)]&&(_0x45cde1=MetaUiUtil[_0x449a29(0x18b)](_0x123cd1,_0x45cde1)),_0x123cd1['gridEmphasized']&&(_0x123cd1['gridEmphasized']&&_0x123cd1[_0x449a29(0x153)][_0x449a29(0x184)]&&_0x123cd1[_0x449a29(0x153)][_0x449a29(0x184)]['length']>0x0&&(_0x251651['classifier']=function(_0x3c8437,_0x19f622){const _0x28ef11=_0x449a29;let _0x3f93f5=_0x123cd1[_0x28ef11(0x153)][_0x28ef11(0x184)];for(let _0x5e5d0d=0x0;_0x5e5d0d<_0x3f93f5['length'];_0x5e5d0d++){let _0x24dbbe=_0x3f93f5[_0x5e5d0d][_0x28ef11(0x163)][_0x28ef11(0x1bb)](/record./g,_0x28ef11(0x16a))[_0x28ef11(0x1bb)](/rowIndex/g,_0x28ef11(0x1cb));if(eval(''+_0x24dbbe))return{'emphasized':[_0x3f93f5[_0x5e5d0d][_0x28ef11(0x16f)],_0x3f93f5[_0x5e5d0d][_0x28ef11(0x12d)]]};}}),_0x123cd1[_0x449a29(0x153)]&&_0x123cd1[_0x449a29(0x153)][_0x449a29(0x152)])){let _0x43f0e0=_0x123cd1[_0x449a29(0x153)][_0x449a29(0x152)];Object['keys'](_0x43f0e0)[_0x449a29(0x1e1)](_0x49ba79=>{const _0x215359=_0x449a29;let _0xa2ebf=_0x43f0e0[_0x49ba79],_0x1d56f0=_0x45cde1[_0x215359(0x1b9)](_0x1b64c8=>_0x1b64c8[_0x215359(0x1ee)]==_0x49ba79);_0x45cde1[_0x1d56f0]['record']||(_0x45cde1[_0x1d56f0]['record']={}),_0x45cde1[_0x1d56f0]['record'][_0x215359(0x13e)]=function(_0x5e1d6f,_0x49d0e9){const _0x234aa0=_0x215359;for(let _0x58697c=0x0;_0x58697c<_0xa2ebf[_0x234aa0(0x209)];_0x58697c++){let _0x45ddcf=_0xa2ebf[_0x58697c]['logic'][_0x234aa0(0x1bb)](/record./g,_0x234aa0(0x16a))[_0x234aa0(0x1bb)](/rowIndex/g,'arguments[1]');if(eval(''+_0x45ddcf))return{'emphasized':[_0xa2ebf[_0x58697c][_0x234aa0(0x16f)],_0xa2ebf[_0x58697c]['fontColor']]};}};});}return{'list':_0x5c4e3d,'pagination':_0x209f25[_0x449a29(0x16b)],'sorters':_0x209f25[_0x449a29(0x12e)],'rows':_0x251651,'columns':[..._0x460568,..._0x2891de,..._0x45cde1]};}static async[a0_0x598c66(0x1b0)](_0x1d4101){const _0x22ac56=a0_0x598c66;let _0x35d207=_0x1d4101[_0x22ac56(0x13f)],_0x1ee73d=[],_0x2f284c=Object[_0x22ac56(0x244)](getValueGenerators());for(let _0x48bcb4=0x0;_0x48bcb4<_0x35d207[_0x22ac56(0x209)];_0x48bcb4++){let {type:_0x29dddf=_0x22ac56(0x225),name:_0x5de056,header:_0x2f7f87,hidden:_0x3cdd08=!0x1,editable:_0x273d9c=!0x0,mandatory:_0x524263=!0x1,align:_0x3aa8e5=_0x22ac56(0xff),select_opt:_0x3c5986,object_opt:_0x50f84d,default_value:_0x57508d}=_0x35d207[_0x48bcb4],_0x28eba2={'type':_0x29dddf,'name':_0x5de056,'header_txt':ValueUtil['isEmpty'](_0x2f7f87)?TermsUtil[_0x22ac56(0x1c1)](_0x5de056):TermsUtil['tLabel'](_0x2f7f87),'header':{'renderer':function(_0x4dd677){const _0x329b34=_0x22ac56;return _0x4dd677[_0x329b34(0x1a6)];}},'hidden':_0x3cdd08,'record':{'editable':_0x273d9c,'mandatory':_0x524263,'align':_0x3aa8e5,'classifier':function(){},'renderer':getRenderer(_0x29dddf)}};if(_0x273d9c&&(_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x1c4)]=getEditor(_0x29dddf)),_0x57508d){let _0x120ca9=_0x57508d[_0x22ac56(0x191)](','),_0x35297c=_0x120ca9[0x0];_0x2f284c[_0x22ac56(0x20b)](_0x35297c)?0x1==_0x120ca9[_0x22ac56(0x209)]?_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x190)]={'name':_0x35297c}:_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x190)]={'name':_0x35297c,'params':{'calc':_0x120ca9[0x1]}}:_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x190)]='number'===_0x29dddf?Number(_0x57508d):_0x57508d;}_0x29dddf[_0x22ac56(0x12f)](_0x22ac56(0x16c))&&_0x50f84d&&_0x50f84d['menu']&&(_0x50f84d=await MetaUiUtil[_0x22ac56(0x1b7)](_0x29dddf,_0x50f84d)),_0x22ac56(0x24a)===_0x29dddf&&ValueUtil[_0x22ac56(0x102)](_0x3c5986)&&(Array[_0x22ac56(0x1c7)](_0x3c5986)?_0x28eba2[_0x22ac56(0x1d8)]['options']=_0x3c5986:'code'===_0x3c5986['type']?_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x135)]=await ServiceUtil[_0x22ac56(0x213)](_0x3c5986[_0x22ac56(0x176)]?_0x3c5986[_0x22ac56(0x176)]:_0x3c5986[_0x22ac56(0x1ee)]):_0x22ac56(0x15e)===_0x3c5986[_0x22ac56(0x14e)]?_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x135)]=await ServiceUtil[_0x22ac56(0x181)](_0x3c5986[_0x22ac56(0x1ee)],_0x3c5986['args']):'entity'===_0x3c5986[_0x22ac56(0x14e)]&&(_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x135)]=await ServiceUtil[_0x22ac56(0x1f2)](_0x3c5986[_0x22ac56(0x164)]))),_0x22ac56(0x147)===_0x29dddf&&ValueUtil[_0x22ac56(0x102)](_0x50f84d)?_0x28eba2['record'][_0x22ac56(0x135)]={..._0x50f84d}:_0x22ac56(0x239)===_0x29dddf&&ValueUtil['isNotEmpty'](_0x50f84d)&&(_0x50f84d[_0x22ac56(0x122)]&&(_0x50f84d[_0x22ac56(0x22c)]=await ServiceUtil['getCodeByEntity'](_0x50f84d)),_0x28eba2[_0x22ac56(0x1d8)][_0x22ac56(0x135)]={..._0x50f84d}),_0x1ee73d[_0x22ac56(0x243)](_0x28eba2);}return _0x1ee73d;}static[a0_0x598c66(0x1c0)](_0x2b6a5c){const _0x3a0cd5=a0_0x598c66;let _0x467663=_0x2b6a5c[_0x3a0cd5(0x1d6)];_0x2b6a5c['useFilterForm']=!_0x467663||null==_0x467663[_0x3a0cd5(0x103)]||_0x467663[_0x3a0cd5(0x103)];let {mobile_mode:_0x59f9e2='LIST',desk_mode:_0x24ea2f=_0x3a0cd5(0x145),view_mode:_0x2d1c4a=[],use_row_checker:_0x426e83=!0x0,sorters:_0x315ce9=[],pages:_0x380b70=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x3a0cd5(0x234)](_0x467663[_0x3a0cd5(0x18c)])?{}:_0x467663[_0x3a0cd5(0x18c)];return _0x3a0cd5(0x1d9)===_0x380b70||'-1'===_0x380b70?(_0x2b6a5c['infinityPage']=!0x0,_0x380b70={'infinite':!0x0}):(_0x2b6a5c[_0x3a0cd5(0x172)]=!0x1,_0x380b70[_0x3a0cd5(0x171)](function(_0x279197,_0xa93730){return _0x279197-_0xa93730;}),_0x380b70={'pages':_0x380b70}),ValueUtil['isNotEmpty'](_0x2d1c4a)&&(0x1==_0x2d1c4a[_0x3a0cd5(0x209)]?(_0x24ea2f=_0x2d1c4a[0x0],_0x59f9e2=_0x2d1c4a[0x0]):_0x2d1c4a[_0x3a0cd5(0x209)]>=0x2&&(_0x2d1c4a['includes'](_0x59f9e2)||(_0x59f9e2=_0x2d1c4a[0x1]),_0x2d1c4a['includes'](_0x24ea2f)||(_0x24ea2f=_0x2d1c4a[0x0]))),_0x2b6a5c[_0x3a0cd5(0x1a4)]=_0x59f9e2,_0x2b6a5c[_0x3a0cd5(0x255)]=_0x24ea2f,_0x2b6a5c[_0x3a0cd5(0x139)]=_0x2d1c4a,_0x2b6a5c[_0x3a0cd5(0x1b1)]=UiUtil[_0x3a0cd5(0x155)]()?_0x2b6a5c[_0x3a0cd5(0x1a4)]:_0x2b6a5c[_0x3a0cd5(0x255)],{'use_row_checker':_0x426e83,'sorters':_0x315ce9,'pages':_0x380b70};}static[a0_0x598c66(0x216)](_0x294818){const _0x3134f1=a0_0x598c66;let _0xeb6bfc={'fields':[ValueUtil[_0x3134f1(0x1a9)](_0x294818[_0x3134f1(0x116)],_0x3134f1(0x1ee)),ValueUtil[_0x3134f1(0x1a9)](_0x294818[_0x3134f1(0x116)],_0x3134f1(0x1d3))]};return _0x294818[_0x3134f1(0x1d6)][_0x3134f1(0x1be)]&&Object['assign'](_0xeb6bfc,_0x294818[_0x3134f1(0x1d6)][_0x3134f1(0x1be)]),_0xeb6bfc;}static[a0_0x598c66(0x160)](_0x5f401e){const _0x37295d=a0_0x598c66;let {multiple_select:_0x509eb6=!0x1,click:_0x555e84}=ValueUtil[_0x37295d(0x234)](_0x5f401e[_0x37295d(0x1d6)][_0x37295d(0x184)])?{}:_0x5f401e['gridConfig']['row'],_0x970bc0={'selectable':{'multiple':_0x509eb6},'appendable':_0x5f401e[_0x37295d(0x1b6)]};return ValueUtil[_0x37295d(0x102)](_0x555e84)&&(_0x970bc0[_0x37295d(0x217)]={'click':_0x555e84}),_0x970bc0;}static[a0_0x598c66(0x235)](_0x475f9e){const _0x5a2f2c=a0_0x598c66;let _0x437a4e=_0x475f9e['gridConfig']['button'];return ValueUtil['isEmpty'](_0x437a4e)?[]:_0x437a4e[_0x5a2f2c(0x19a)](_0x16eb73=>{const _0x40410d=_0x5a2f2c;let _0x145d45={'type':'gutter','gutterName':_0x40410d(0x241)};if(ValueUtil[_0x40410d(0x102)](_0x16eb73[_0x40410d(0x118)])&&(Array[_0x40410d(0x1c7)](_0x16eb73['icon'])?_0x145d45[_0x40410d(0x118)]=_0x24065d=>{const _0x3859b8=_0x40410d;if(ValueUtil[_0x3859b8(0x102)](_0x24065d))for(let _0x4a5525=0x0;_0x4a5525<_0x16eb73[_0x3859b8(0x118)]['length'];_0x4a5525++){let _0x153862=_0x16eb73[_0x3859b8(0x118)][_0x4a5525];if(!0x0===ValueUtil['compareObjectValues'](_0x153862,_0x24065d,Object['keys'](_0x153862)['filter'](_0x12348c=>_0x3859b8(0x118)!=_0x12348c)))return _0x153862[_0x3859b8(0x118)];}}:_0x145d45[_0x40410d(0x118)]=_0x16eb73['icon']),ValueUtil[_0x40410d(0x102)](_0x16eb73['name'])&&(_0x145d45[_0x40410d(0x1ee)]=_0x16eb73['name']),ValueUtil[_0x40410d(0x102)](_0x16eb73['label'])&&(_0x145d45[_0x40410d(0x167)]=TermsUtil[_0x40410d(0x168)](_0x16eb73[_0x40410d(0x17c)])),_0x40410d(0x1d4)===_0x16eb73[_0x40410d(0x14e)]){let _0x56a2f9=ValueUtil[_0x40410d(0x1a9)](_0x16eb73,_0x40410d(0x163));[_0x40410d(0x159),'history_json'][_0x40410d(0x20b)](_0x56a2f9)?_0x145d45[_0x40410d(0x217)]={'click':(_0x214ec9,_0x14cb23,_0x3957cf,_0x1995bb,_0xaecf2d)=>{const _0xeaf89a=_0x40410d;if(_0x1995bb['id']){let _0x6e17fc={'title':_0xeaf89a(0x14c),'type':_0xeaf89a(0x123),'tagname':_0xeaf89a(0x159)==_0x56a2f9?_0xeaf89a(0x22f):'history-json-list-popup','location':_0xeaf89a(0x159)==_0x56a2f9?_0xeaf89a(0x1ad):_0xeaf89a(0x165),'menu':_0x475f9e[_0xeaf89a(0x218)],'size':_0xeaf89a(0x161),'popup_field':_0xeaf89a(0xee),'parent_field':'id'},_0x5cb3ed={..._0x1995bb,'gqlFunc':ValueUtil[_0xeaf89a(0x1a9)](_0x475f9e[_0xeaf89a(0x1c6)],_0xeaf89a(0x246),_0xeaf89a(0x1d2)),'gristConfig':JSON['parse'](JSON[_0xeaf89a(0x211)](_0x475f9e[_0xeaf89a(0x25a)][_0xeaf89a(0x24e)]))};MetaUiUtil[_0xeaf89a(0x16e)](_0x475f9e,{'logic':_0x6e17fc},_0x5cb3ed);}}}:_0x145d45[_0x40410d(0x217)]={'click':_0x56a2f9};}else _0x145d45[_0x40410d(0x217)]={'click':(_0x4f9ce8,_0x39b14c,_0x823065,_0x21563d,_0x48bc36)=>{const _0x5af6fe=_0x40410d;_0x21563d['id']&&MetaUiUtil[_0x5af6fe(0x16e)](_0x475f9e,_0x16eb73,_0x21563d);}};return _0x145d45;});}static async['getGridColumnSet'](_0x5e1a5d){const _0x2b0530=a0_0x598c66;let _0xad4605=_0x5e1a5d[_0x2b0530(0x119)];if(ValueUtil['isEmpty'](_0xad4605))return[];let _0x31d3b3=Object['keys'](getValueGenerators()),_0x59154f=[];for(let _0x3e022e=0x0;_0x3e022e<_0xad4605['length'];_0x3e022e++){let {type:_0x3559da=_0x2b0530(0x225),name:_0x5edf1c,header:_0x408af5,hidden:_0xc20483=!0x1,editable:_0x2430a6=!0x0,mandatory:_0x1223ea=!0x1,sortable:_0x4134fe=!0x1,align:_0x6d1d01=_0x2b0530(0xff),width:_0x391d82=0x0,exportable:_0x4d9761=!0x1,select_opt:_0x36d42c,object_opt:_0x2aa445,format:_0x235ec3,default_value:_0x373c45}=_0xad4605[_0x3e022e],_0x4798ec={'type':_0x3559da,'name':_0x5edf1c,'header':ValueUtil[_0x2b0530(0x234)](_0x408af5)?'':TermsUtil['tLabel'](_0x408af5),'hidden':_0xc20483,'sortable':_0x4134fe,'width':_0x391d82,'record':{'editable':_0x2430a6,'mandatory':_0x1223ea,'align':_0x6d1d01,'format':_0x235ec3}};if(_0x373c45){let _0x43568d=_0x373c45[_0x2b0530(0x191)](','),_0x25db80=_0x43568d[0x0];_0x31d3b3[_0x2b0530(0x20b)](_0x25db80)?0x1==_0x43568d[_0x2b0530(0x209)]?_0x4798ec['record'][_0x2b0530(0x190)]={'name':_0x25db80}:_0x4798ec['record'][_0x2b0530(0x190)]={'name':_0x25db80,'params':{'calc':_0x43568d[0x1]}}:_0x4798ec[_0x2b0530(0x1d8)][_0x2b0530(0x190)]=_0x2b0530(0xf5)===_0x3559da?Number(_0x373c45):_0x373c45;}if(_0x3559da[_0x2b0530(0x12f)](_0x2b0530(0x16c))&&_0x2aa445&&_0x2aa445[_0x2b0530(0x24c)]&&(_0x2aa445=await MetaUiUtil[_0x2b0530(0x1b7)](_0x3559da,_0x2aa445)),'select'===_0x3559da&&ValueUtil[_0x2b0530(0x102)](_0x36d42c)&&(Array[_0x2b0530(0x1c7)](_0x36d42c)?_0x4798ec[_0x2b0530(0x1d8)][_0x2b0530(0x135)]=_0x36d42c:_0x2b0530(0x15b)===_0x36d42c[_0x2b0530(0x14e)]?_0x4798ec[_0x2b0530(0x1d8)][_0x2b0530(0x135)]=await ServiceUtil[_0x2b0530(0x213)](_0x36d42c[_0x2b0530(0x176)]?_0x36d42c[_0x2b0530(0x176)]:_0x36d42c[_0x2b0530(0x1ee)]):_0x2b0530(0x15e)===_0x36d42c[_0x2b0530(0x14e)]?_0x4798ec['record'][_0x2b0530(0x135)]=await ServiceUtil[_0x2b0530(0x181)](_0x36d42c[_0x2b0530(0x1ee)],_0x36d42c['args']):'entity'===_0x36d42c[_0x2b0530(0x14e)]&&(_0x4798ec[_0x2b0530(0x1d8)][_0x2b0530(0x135)]=await ServiceUtil[_0x2b0530(0x1f2)](_0x36d42c[_0x2b0530(0x164)]))),_0x2b0530(0x147)===_0x3559da&&ValueUtil[_0x2b0530(0x102)](_0x2aa445)){let _0x480c55;_0x4798ec[_0x2b0530(0x1d8)][_0x2b0530(0x135)]={..._0x2aa445},_0x2aa445[_0x2b0530(0x120)]&&_0x2aa445['basicArgs']['filters']&&(_0x480c55=[..._0x2aa445[_0x2b0530(0x120)][_0x2b0530(0x24f)]]),_0x480c55&&JSON[_0x2b0530(0x211)](_0x480c55)[_0x2b0530(0x20b)]('::')&&(_0x4798ec['handlers']={'dblclick':(_0x3615f3,_0x2b433d,_0x4b0806,_0x1f2236,_0xef5f7a)=>{const _0x2f38ac=_0x2b0530;let _0xfc72a7=[];_0x480c55[_0x2f38ac(0x1e1)](_0x4526ea=>{const _0x1f8ee6=_0x2f38ac;var {name:_0xf891d0,value:_0x6cc9f9,operator:_0x4eb1c1='eq'}=_0x4526ea;_0x6cc9f9['includes']('::')&&(_0x6cc9f9=ValueUtil[_0x1f8ee6(0x1a9)](_0x1f2236,..._0x6cc9f9['replace']('::','')[_0x1f8ee6(0x191)]('.'))),_0x6cc9f9||(_0x6cc9f9=''),_0xfc72a7[_0x1f8ee6(0x243)]({'name':_0xf891d0,'operator':_0x4eb1c1,'value':_0x6cc9f9});}),_0x4b0806[_0x2f38ac(0x1d8)][_0x2f38ac(0x135)]['basicArgs']['filters']=_0xfc72a7;}});}else'meta-code-selector'===_0x3559da&&ValueUtil[_0x2b0530(0x102)](_0x2aa445)&&(_0x2aa445['dispField']&&(_0x2aa445[_0x2b0530(0x22c)]=await ServiceUtil[_0x2b0530(0x1f2)](_0x2aa445)),_0x4798ec['record']['options']={..._0x2aa445});!0x0===_0x5e1a5d[_0x2b0530(0x19b)]&&!0x0===_0x4d9761&&(_0x4798ec['imex']={'header':_0x4798ec['header'],'key':_0x4798ec[_0x2b0530(0x1ee)],'width':_0x4798ec['width']/0x6,'type':_0x4798ec['type']}),_0x59154f['push'](_0x4798ec);}if(!0x0!==this[_0x2b0530(0x250)])return _0x59154f;let _0x1c6b09=await MetaApi[_0x2b0530(0x229)](this[_0x2b0530(0x18d)]),{template:_0x51de4a={}}=_0x1c6b09;if(!_0x51de4a[_0x2b0530(0x236)])return _0x59154f;let _0x483d32=_0x51de4a[_0x2b0530(0x236)];return _0x59154f=_0x59154f['map'](_0x30034a=>('id'==_0x30034a[_0x2b0530(0x1ee)]||(_0x30034a['hidden']=!_0x483d32[_0x2b0530(0x20b)](_0x30034a[_0x2b0530(0x1ee)]),_0x30034a['rank']=_0x483d32[_0x2b0530(0x21f)](_0x30034a['name']),-0x1==_0x30034a[_0x2b0530(0x1af)]&&(_0x30034a['rank']=0x1869f)),_0x30034a)),_0x59154f['sort']((_0x1c1404,_0x26e8cf)=>_0x1c1404[_0x2b0530(0x1af)]-_0x26e8cf[_0x2b0530(0x1af)]),_0x59154f;}static async[a0_0x598c66(0x1b7)](_0x1dc4a5,_0x3ac987){const _0x5b22e3=a0_0x598c66;let _0x7600a=await MetaUiUtil['getMenuMetaData'](_0x3ac987['menu']);if(_0x7600a&&_0x7600a['records']&&_0x7600a['records'][_0x5b22e3(0x209)]>0x0&&_0x7600a[_0x5b22e3(0x17a)][0x0][_0x5b22e3(0x20e)]){let _0x52c09f=_0x7600a[_0x5b22e3(0x17a)][0x0],_0x576379=JSON[_0x5b22e3(0x189)](MetaCrypto[_0x5b22e3(0x21e)](_0x52c09f[_0x5b22e3(0x20e)]));_0x3ac987[_0x5b22e3(0x1f3)]||(_0x3ac987['queryName']=_0x576379[_0x5b22e3(0x194)][_0x5b22e3(0x246)][_0x5b22e3(0x1dd)]),_0x3ac987[_0x5b22e3(0x24a)]||(_0x3ac987[_0x5b22e3(0x24a)]=_0x576379[_0x5b22e3(0x1e9)]),_0x3ac987[_0x5b22e3(0x17f)]&&0x0!=_0x3ac987[_0x5b22e3(0x17f)][_0x5b22e3(0x209)]||(_0x3ac987[_0x5b22e3(0x17f)]=_0x576379[_0x5b22e3(0x110)]),_0x3ac987[_0x5b22e3(0x1a2)]||(_0x3ac987[_0x5b22e3(0x1a2)]=_0x576379[_0x5b22e3(0x24c)][_0x5b22e3(0x167)]),_0x3ac987[_0x5b22e3(0x24f)]||(_0x3ac987[_0x5b22e3(0x24f)]=_0x576379['gql']['query']['filters']||[]),_0x1dc4a5[_0x5b22e3(0x20b)]('-object-')?_0x3ac987[_0x5b22e3(0x15a)]||(_0x3ac987[_0x5b22e3(0x15a)]=_0x576379['menu'][_0x5b22e3(0x1ee)]||_0x5b22e3(0x1ee)):_0x1dc4a5[_0x5b22e3(0x20b)]('-code-')&&(_0x3ac987[_0x5b22e3(0x10c)]||(_0x3ac987['codeField']=_0x576379[_0x5b22e3(0x24c)][_0x5b22e3(0x1ee)]||_0x5b22e3(0x15b)),_0x3ac987[_0x5b22e3(0x122)]||(_0x3ac987[_0x5b22e3(0x122)]=_0x576379[_0x5b22e3(0x24c)][_0x5b22e3(0x1d3)]||void 0x0));}return _0x3ac987;}static[a0_0x598c66(0x18b)](_0x3d6872,_0xb32be2){const _0x498da3=a0_0x598c66;let _0x272f0d=_0x3d6872[_0x498da3(0x19c)];return _0x272f0d&&_0x272f0d[_0x498da3(0x1e1)](_0x215ff0=>{const _0x38c5ed=_0x498da3;_0x38c5ed(0x225)==typeof _0x215ff0?_0xb32be2[_0x38c5ed(0x14b)](_0x1f814f=>_0x1f814f['name']==_0x215ff0)[_0x38c5ed(0x1e1)](_0x30db1e=>{const _0x5878c8=_0x38c5ed;_0x30db1e[_0x5878c8(0x14b)]=_0x5878c8(0x110);}):_0x38c5ed(0x253)==typeof _0x215ff0&&_0xb32be2[_0x38c5ed(0x14b)](_0x50d5c1=>_0x50d5c1[_0x38c5ed(0x1ee)]==_0x215ff0[_0x38c5ed(0x1ee)])[_0x38c5ed(0x1e1)](_0x43f36c=>{const _0x1f878c=_0x38c5ed;_0x43f36c[_0x1f878c(0x14b)]=_0x215ff0,_0x43f36c[_0x1f878c(0x14b)][_0x1f878c(0x14e)]=_0x1f878c(0x101)===_0x43f36c['type']&&'eq'==_0x215ff0[_0x1f878c(0x210)]?_0x1f878c(0x10e):_0x43f36c[_0x1f878c(0x14e)];let _0x47d620=_0x43f36c['filter'][_0x1f878c(0x17b)],_0xbc9de0=[_0x1f878c(0x158),'year','month',_0x1f878c(0x20f),_0x1f878c(0x107),_0x1f878c(0x1f6),_0x1f878c(0x1f7)];if(_0x47d620&&_0xbc9de0[_0x1f878c(0x14b)](_0xbadd2=>_0x47d620[_0x1f878c(0x12f)](_0xbadd2))['length']>0x0){let _0x4a79ae=[],_0x258932={'date':_0x1f878c(0x17d),'datetime':'YYYY-MM-DD\x20HH:mm:ss'},_0x391970={'today':_0x1f878c(0x222),'year':_0x1f878c(0x1e0),'month':_0x1f878c(0x179),'date':'day','hour':'hour','min':'minute','sec':'second'};_0x47d620[_0x1f878c(0x191)](',')[_0x1f878c(0x1e1)](_0x1596a1=>{const _0x5c8837=_0x1f878c,_0x39e7b0=a0_0x24e48b();if(_0xbc9de0[_0x5c8837(0x20b)](_0x1596a1))_0x4a79ae['push'](_0x39e7b0['startOf'](_0x391970[_0x1596a1])[_0x5c8837(0x1db)](_0x258932[_0x43f36c[_0x5c8837(0x14e)]]));else{if(_0x1596a1[_0x5c8837(0x20b)]('-')){let _0x2fedcd=_0x1596a1[_0x5c8837(0x191)]('-'),_0x340811=_0x2fedcd[0x0],_0x48e055=_0x2fedcd[0x1];_0x4a79ae[_0x5c8837(0x243)](_0x39e7b0['subtract'](_0x48e055,_0x391970[_0x340811])[_0x5c8837(0x1fc)](_0x391970[_0x340811])[_0x5c8837(0x1db)](_0x258932[_0x43f36c[_0x5c8837(0x14e)]]));}else{if(_0x1596a1[_0x5c8837(0x20b)]('+')){let _0x298443=_0x1596a1['split']('+'),_0x490046=_0x298443[0x0],_0x4767a7=_0x298443[0x1];_0x4a79ae[_0x5c8837(0x243)](_0x39e7b0[_0x5c8837(0x215)](_0x4767a7,_0x391970[_0x490046])[_0x5c8837(0x1fc)](_0x391970[_0x490046])['format'](_0x258932[_0x43f36c['type']]));}}}}),_0x4a79ae[_0x1f878c(0x209)]>0x0&&(_0x43f36c[_0x1f878c(0x14b)]['value']=0x1==_0x4a79ae[_0x1f878c(0x209)]?_0x4a79ae[0x0]:_0x4a79ae);}});}),_0xb32be2;}static['getContextObject'](_0x20efb5){const _0x3da407=a0_0x598c66;let _0x3ebfa6={'title':TermsUtil['tTitle'](_0x20efb5[_0x3da407(0x116)][_0x3da407(0x167)]),'help':_0x20efb5[_0x3da407(0x116)][_0x3da407(0x1d1)]||'','actions':[...MetaUiUtil[_0x3da407(0x125)](_0x20efb5)]};return _0x20efb5[_0x3da407(0x19b)]&&(_0x3ebfa6['exportable']={'name':_0x3ebfa6[_0x3da407(0x167)],'data':_0x20efb5[_0x3da407(0x17e)][_0x3da407(0x254)](_0x20efb5)}),_0x20efb5[_0x3da407(0x23d)]&&(_0x3ebfa6[_0x3da407(0xf3)]={'handler':_0x20efb5['import'][_0x3da407(0x254)](_0x20efb5)}),_0x3ebfa6;}static['getContextButtons'](_0x4888c6){const _0x1209e9=a0_0x598c66;let _0x38ea0b=_0x4888c6[_0x1209e9(0x23f)];return ValueUtil[_0x1209e9(0x234)](_0x38ea0b)?[]:_0x38ea0b[_0x1209e9(0x14b)](_0x2b508d=>_0x1209e9(0x17e)!=_0x2b508d[_0x1209e9(0x1ee)]&&'import'!=_0x2b508d[_0x1209e9(0x1ee)]&&_0x1209e9(0x215)!=_0x2b508d[_0x1209e9(0x1ee)])[_0x1209e9(0x19a)](_0x38f927=>{const _0x5cd92a=_0x1209e9;let {name:_0x57e9cb,label:_0x3b978b,style:_0x10f38e,type:_0x2c13d4=_0x5cd92a(0x1d4),action:_0x1509cf,logic:_0x1ea9b9}=_0x38f927;if(ValueUtil[_0x5cd92a(0x234)](_0x57e9cb))return{'title':'-1'};ValueUtil[_0x5cd92a(0x234)](_0x3b978b)&&(_0x3b978b=_0x57e9cb),ValueUtil[_0x5cd92a(0x234)](_0x10f38e)&&(_0x10f38e=_0x57e9cb),ValueUtil[_0x5cd92a(0x234)](_0x1509cf)&&(_0x1509cf=_0x57e9cb);let _0x4a27a8=ValueUtil[_0x5cd92a(0x102)](_0x10f38e)?CommonButtonStyles[_0x10f38e]||{'icon':_0x10f38e,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x5cd92a(0x168)](_0x3b978b),'action':MetaUiUtil[_0x5cd92a(0x13b)](_0x4888c6,_0x2c13d4,_0x1509cf,_0x1ea9b9),..._0x4a27a8};})[_0x1209e9(0x14b)](_0xb157c3=>'-1'!=_0xb157c3[_0x1209e9(0x167)]);}static[a0_0x598c66(0x22a)](_0x108e57){const _0x133ff0=a0_0x598c66;let _0x3dc7b3=_0x108e57&&_0x108e57[_0x133ff0(0x23f)]?_0x108e57[_0x133ff0(0x23f)]:null;return _0x3dc7b3?_0x3dc7b3[_0x133ff0(0x14b)](_0x366a81=>_0x133ff0(0x215)!=_0x366a81[_0x133ff0(0x1ee)])[_0x133ff0(0x19a)](_0x2999ac=>{const _0x592df2=_0x133ff0;let {name:_0x48bba6,label:_0x4e2a7a,style:_0x267c30,type:_0x3d6e52='basic',action:_0x58f54b,logic:_0x489532}=_0x2999ac;ValueUtil['isEmpty'](_0x4e2a7a)&&(_0x4e2a7a=_0x48bba6),ValueUtil[_0x592df2(0x234)](_0x267c30)&&(_0x267c30=_0x48bba6),ValueUtil[_0x592df2(0x234)](_0x58f54b)&&(_0x58f54b=_0x48bba6);let _0x31d893=MetaUiUtil['createButtonElement'](TermsUtil['tButton'](_0x4e2a7a),_0x267c30);return _0x31d893[_0x592df2(0xf8)]=MetaUiUtil[_0x592df2(0x13b)](_0x108e57,_0x3d6e52,_0x58f54b,_0x489532),_0x31d893;}):[];}static[a0_0x598c66(0x202)](_0x4dd5af,_0x10326c){const _0x371d7f=a0_0x598c66;let _0x293940=CommonButtonStyles[_0x10326c]||{'icon':_0x10326c,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x472411='<mwc-button\x20label=\x22'+_0x4dd5af+_0x371d7f(0x10d)+(_0x293940['icon']?_0x293940[_0x371d7f(0x118)]:'')+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x293940['emphasis'][_0x371d7f(0x251)]?_0x371d7f(0x251):'')+_0x371d7f(0xf6)+(_0x293940['emphasis']['outlined']?_0x371d7f(0x11b):'')+_0x371d7f(0xf6)+(_0x293940[_0x371d7f(0x186)][_0x371d7f(0x11f)]?_0x371d7f(0x11f):'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x293940[_0x371d7f(0x186)]['danger']?_0x371d7f(0x208):'')+'\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20';return UiUtil[_0x371d7f(0x111)](_0x472411);}static['getButtonActionHandler'](_0x37fc83,_0x165644,_0x3fd0e6,_0x556ff6){const _0xc122dd=a0_0x598c66;if(_0xc122dd(0x1d4)==_0x165644){if(_0x37fc83[_0x3fd0e6])return _0x37fc83[_0x3fd0e6][_0xc122dd(0x254)](_0x37fc83);}else{if(_0xc122dd(0x192)==_0x165644)return()=>MetaUiUtil[_0xc122dd(0x21c)](_0x37fc83,_0x556ff6);}return()=>{const _0x3543d0=_0xc122dd;UiUtil['showAlertPopup'](_0x3543d0(0x14a),_0x3543d0(0x1f4),_0x3543d0(0x18e),_0x3543d0(0xf4));};}static async['gristButtonHandler'](_0x4a4977,_0x13d0ea,_0x208360){const _0x3a4936=a0_0x598c66;let _0x28bae5=ValueUtil[_0x3a4936(0x1a9)](_0x13d0ea,'logic'),_0x17426e=ValueUtil[_0x3a4936(0x1a9)](_0x28bae5,_0x3a4936(0x14e));if(_0x3a4936(0x115)===_0x17426e)_0x28bae5[_0x3a4936(0x20a)]='meta-form-element',_0x28bae5['location']=_0x3a4936(0x12c),_0x28bae5[_0x3a4936(0x24b)]='id',await MetaUiUtil['commonButtonOpenPopup'](_0x4a4977,_0x28bae5,_0x208360);else{if(_0x3a4936(0x114)===_0x17426e)MetaUiUtil[_0x3a4936(0x20c)](_0x4a4977,_0x28bae5,_0x208360);else{if(_0x3a4936(0x16d)===_0x17426e){let _0x36b4db;_0x28bae5['param_field']?(_0x36b4db={},Object[_0x3a4936(0x244)](_0x208360)[_0x3a4936(0x14b)](_0x1d86b2=>Object[_0x3a4936(0x244)](_0x28bae5[_0x3a4936(0x223)])[_0x3a4936(0x20b)](_0x1d86b2))['map'](_0xf905e8=>{const _0x10b863=_0x3a4936;Object['keys'](_0x28bae5[_0x10b863(0x223)])[_0x10b863(0x20b)](_0xf905e8)&&('string'==typeof _0x208360[_0xf905e8]?_0x36b4db[_0x28bae5[_0x10b863(0x223)][_0xf905e8]]=_0x208360[_0xf905e8]:_0x36b4db[_0x28bae5[_0x10b863(0x223)][_0xf905e8]]={'id':_0x208360[_0xf905e8]['id']});})):_0x36b4db=_0x208360,UiUtil['pageNavigate'](_0x28bae5[_0x3a4936(0x240)],[_0x36b4db]);}else'popup'===_0x17426e?await MetaUiUtil['commonButtonOpenPopup'](_0x4a4977,_0x28bae5,_0x208360):_0x3a4936(0x15e)===_0x17426e?await MetaUiUtil['commonButtonCallScenario'](_0x4a4977,_0x28bae5,_0x208360):'value_reference'===_0x17426e&&await MetaUiUtil[_0x3a4936(0x221)](_0x4a4977,_0x28bae5,_0x208360);}}}static async[a0_0x598c66(0x21c)](_0x1dd26b,_0x3462d6){const _0x3d016c=a0_0x598c66;if(ValueUtil[_0x3d016c(0x234)](_0x3462d6))return;let _0x4ca05c=_0x1dd26b[_0x3d016c(0x25a)],_0x3a3ddf=_0x1dd26b[_0x3d016c(0x1ba)],_0x4bdf5c=ValueUtil[_0x3d016c(0x1a9)](_0x3462d6,'type'),_0x5f0528=ValueUtil[_0x3d016c(0x1a9)](_0x3462d6,_0x3d016c(0x149)),_0x44bcb3=_0x5f0528['filter'](_0x10fe62=>_0x10fe62['startsWith'](_0x3d016c(0x25a)));if(ValueUtil[_0x3d016c(0x102)](_0x44bcb3)){if(!_0x4ca05c)return void UiUtil[_0x3d016c(0x137)](_0x3d016c(0xe7),_0x3d016c(0x1e2),_0x3d016c(0x18e),'confirm');if(0x0==(_0x4ca05c[_0x3d016c(0x1c2)]?_0x4ca05c[_0x3d016c(0x1c2)][_0x3d016c(0x17a)]:[])['length'])return void UiUtil['showAlertPopup'](_0x3d016c(0xe7),_0x3d016c(0x175),'info','confirm');if(_0x5f0528['includes']('grist_one')||_0x5f0528[_0x3d016c(0x20b)](_0x3d016c(0x199))){let _0x442908=_0x4ca05c[_0x3d016c(0x25e)];if(ValueUtil[_0x3d016c(0x234)](_0x442908))return void UiUtil[_0x3d016c(0x137)](_0x3d016c(0x23b),'text.there_is_no_selected_items',_0x3d016c(0x18e),_0x3d016c(0xf4));if(_0x5f0528['includes'](_0x3d016c(0xf1))&&_0x442908[_0x3d016c(0x209)]>0x1)return void UiUtil[_0x3d016c(0x137)](_0x3d016c(0xe7),'text.please_select_only_one',_0x3d016c(0x18e),_0x3d016c(0xf4));}}let _0x3d58b2={};if(_0x5f0528[_0x3d016c(0x20b)](_0x3d016c(0x14b))){if(!_0x3a3ddf)return void UiUtil[_0x3d016c(0x137)](_0x3d016c(0xe7),_0x3d016c(0x14f),_0x3d016c(0x18e),_0x3d016c(0xf4));let _0x542e40=_0x3a3ddf?await _0x3a3ddf['getQueryFilters']():[];_0x3d58b2[_0x3d016c(0x14b)]=_0x542e40;}if(_0x5f0528[_0x3d016c(0x20b)](_0x3d016c(0x128)))_0x3d58b2[_0x3d016c(0x25a)]=_0x4ca05c[_0x3d016c(0x1c2)][_0x3d016c(0x17a)];else{if(_0x5f0528[_0x3d016c(0x20b)]('grist_one'))_0x3d58b2[_0x3d016c(0x25a)]=_0x4ca05c[_0x3d016c(0x25e)][0x0];else{if(_0x5f0528[_0x3d016c(0x20b)](_0x3d016c(0x199)))_0x3d58b2[_0x3d016c(0x25a)]=_0x4ca05c[_0x3d016c(0x25e)];else{if(_0x5f0528['includes'](_0x3d016c(0x146))&&(_0x3d58b2[_0x3d016c(0x25a)]=ServiceUtil['patchesForUpdateMultiple'](_0x4ca05c),!_0x3d58b2['grist']))return;}}}if(_0x3d016c(0x16d)===_0x4bdf5c){let _0x7b1570,_0x21b758=Array[_0x3d016c(0x1c7)](_0x3d58b2[_0x3d016c(0x25a)])?_0x3d58b2[_0x3d016c(0x25a)]:[_0x3d58b2[_0x3d016c(0x25a)]];_0x7b1570=_0x3462d6[_0x3d016c(0x223)]?_0x21b758[_0x3d016c(0x19a)](_0x450758=>{const _0x2f0c94=_0x3d016c;let _0x1b17ab={};return Object[_0x2f0c94(0x244)](_0x450758)[_0x2f0c94(0x14b)](_0x2141cf=>Object[_0x2f0c94(0x244)](_0x3462d6[_0x2f0c94(0x223)])[_0x2f0c94(0x20b)](_0x2141cf))[_0x2f0c94(0x19a)](_0x8497c4=>{const _0x182f60=_0x2f0c94;Object[_0x182f60(0x244)](_0x3462d6['param_field'])['includes'](_0x8497c4)&&(_0x182f60(0x225)==typeof _0x450758[_0x8497c4]?_0x1b17ab[_0x3462d6[_0x182f60(0x223)][_0x8497c4]]=_0x450758[_0x8497c4]:_0x1b17ab[_0x3462d6['param_field'][_0x8497c4]]={'id':_0x450758[_0x8497c4]['id']});}),_0x1b17ab;}):_0x21b758,UiUtil[_0x3d016c(0x21a)](_0x3462d6[_0x3d016c(0x240)],_0x7b1570);}else{if(_0x3d016c(0x123)===_0x4bdf5c){let _0xeb405d={..._0x3d58b2[_0x3d016c(0x25a)]?_0x3d58b2['grist']:{},..._0x3d58b2[_0x3d016c(0x14b)]?_0x3d58b2[_0x3d016c(0x14b)]:{}};await MetaUiUtil[_0x3d016c(0x18a)](_0x1dd26b,_0x3462d6,_0xeb405d);}else'scenario'===_0x4bdf5c&&await MetaUiUtil[_0x3d016c(0x104)](_0x1dd26b,_0x3462d6,_0x3d58b2);}}static[a0_0x598c66(0x20c)](_0x49d9cc,_0x539246,_0x4dd4cd){const _0x3b39db=a0_0x598c66;let _0x2a8f1d=_0x539246[_0x3b39db(0x131)],_0x4728c4={},_0x51dff5=_0x49d9cc[_0x3b39db(0x1dc)][_0x3b39db(0x106)](),_0x2f137b=_0x49d9cc;_0x4728c4=_0x51dff5[_0x3b39db(0x12f)](_0x3b39db(0x105))||_0x51dff5[_0x3b39db(0x12f)]('meta-master-detail-')?_0x2a8f1d['detail']?{..._0x2a8f1d}:{'detail':{..._0x2a8f1d}}:{..._0x2a8f1d},Object[_0x3b39db(0x244)](_0x4728c4)['forEach'](_0x2ca4c5=>{const _0x42a2ff=_0x3b39db;if('master'==_0x2ca4c5?_0x2f137b=_0x49d9cc[_0x42a2ff(0x18f)][_0x42a2ff(0x1b3)]:_0x42a2ff(0x156)==_0x2ca4c5?_0x2f137b=_0x49d9cc['rootElement']?_0x49d9cc[_0x42a2ff(0x18f)][_0x42a2ff(0x203)]:_0x49d9cc[_0x42a2ff(0x203)]:_0x42a2ff(0x231)==_0x2ca4c5&&(_0x2f137b=_0x49d9cc),_0x2f137b){if(_0x2f137b[_0x42a2ff(0x1dc)]['toLowerCase']()[_0x42a2ff(0x12f)]('meta-tab-element'))Object[_0x42a2ff(0x244)](_0x4728c4[_0x2ca4c5])[_0x42a2ff(0x1e1)](_0x46a1d6=>{const _0x12cf18=_0x42a2ff;let _0x4e7538=_0x2f137b[_0x12cf18(0x1bf)][_0x12cf18(0x126)]('#'+_0x46a1d6);_0x4dd4cd['id']&&_0x4e7538[_0x12cf18(0xf0)](_0x4dd4cd['id']);let _0xc78255=_0x4728c4[_0x2ca4c5][_0x46a1d6];Object[_0x12cf18(0x244)](_0xc78255)[_0x12cf18(0x1e1)](_0x3b5029=>{let _0x4725b2=_0xc78255[_0x3b5029],_0x1ffd42='*'===_0x4725b2?_0x4dd4cd:_0x4dd4cd[_0x4725b2];_0x4e7538[_0x3b5029]=_0x1ffd42;});});else{let _0x216464=_0x2f137b;_0x4dd4cd['id']&&_0x216464[_0x42a2ff(0xf0)](_0x4dd4cd['id']);let _0x596f7e=_0x4728c4[_0x2ca4c5];Object[_0x42a2ff(0x244)](_0x596f7e)['forEach'](_0x39809b=>{let _0x5ae24d=_0x596f7e[_0x39809b],_0x3b1d95='*'===_0x5ae24d?_0x4dd4cd:_0x4dd4cd[_0x5ae24d];_0x216464[_0x39809b]=_0x3b1d95;});}}});}static async[a0_0x598c66(0x18a)](_0x3e0d26,_0x290431,_0x4d3e40){const _0x395eab=a0_0x598c66;let _0x1d5ca3=TermsUtil['tTitle'](_0x290431['title']);ValueUtil['isNotEmpty'](_0x290431['title_detail'])&&(_0x1d5ca3=_0x1d5ca3+'('+ValueUtil[_0x395eab(0x1a9)](_0x4d3e40,..._0x290431[_0x395eab(0x187)][_0x395eab(0x191)]('.'))+')');let _0x183188=_0x290431[_0x395eab(0x1e4)]&&'string'==typeof _0x290431[_0x395eab(0x1e4)]&&_0x395eab(0x10f)===_0x290431['after']&&_0x3e0d26&&_0x3e0d26[_0x395eab(0x10f)]?_0x3e0d26['fetch']['bind'](_0x3e0d26):void 0x0;UiUtil['openDynamicPopup'](_0x1d5ca3,_0x290431,_0x4d3e40,_0x183188);}static async[a0_0x598c66(0x104)](_0x362d15,_0xdfa08a,_0x47b068){const _0x4786a8=a0_0x598c66;let _0xf1fc8=await ServiceUtil[_0x4786a8(0x198)](_0x4786a8(0x12a),_0xdfa08a[_0x4786a8(0x1ee)],_0x47b068);if(!_0xf1fc8[_0x4786a8(0x193)]&&!ValueUtil[_0x4786a8(0x234)](_0xdfa08a[_0x4786a8(0x1e4)])&&_0xdfa08a['after']){if(_0x4786a8(0x10f)!==_0xdfa08a['after']){if(_0x4786a8(0x253)==typeof _0xdfa08a[_0x4786a8(0x1e4)]){let _0x5db5d2=_0xdfa08a['after'],_0x15d25e=ValueUtil[_0x4786a8(0x1a9)](_0xf1fc8[_0x4786a8(0x1c2)][_0x4786a8(0x259)]['data'],..._0x5db5d2[_0x4786a8(0x13a)][_0x4786a8(0x191)]('.'));if(0x0==Array[_0x4786a8(0x1c7)](_0x15d25e)&&(_0x15d25e=[_0x15d25e]),_0x4786a8(0x115)===_0x5db5d2['type'])_0x5db5d2[_0x4786a8(0x20a)]=_0x4786a8(0x132),_0x5db5d2[_0x4786a8(0x22d)]=_0x4786a8(0x12c),_0x5db5d2[_0x4786a8(0x24b)]='id',_0x15d25e=_0x15d25e[0x0],await MetaUiUtil[_0x4786a8(0x18a)](_0x362d15,_0x5db5d2,_0x15d25e);else{if('page'===_0x5db5d2[_0x4786a8(0x14e)]){let _0x18f47c,_0x29c32c=_0x15d25e;_0x18f47c=_0x5db5d2[_0x4786a8(0x223)]?_0x29c32c[_0x4786a8(0x19a)](_0x2f2960=>{const _0x5d9f4c=_0x4786a8;let _0x2be285={};return Object[_0x5d9f4c(0x244)](_0x2f2960)[_0x5d9f4c(0x14b)](_0x309667=>Object[_0x5d9f4c(0x244)](_0x5db5d2[_0x5d9f4c(0x223)])['includes'](_0x309667))[_0x5d9f4c(0x19a)](_0x28eedd=>{const _0x4ff10a=_0x5d9f4c;Object[_0x4ff10a(0x244)](_0x5db5d2['param_field'])[_0x4ff10a(0x20b)](_0x28eedd)&&(_0x4ff10a(0x225)==typeof _0x2f2960[_0x28eedd]?_0x2be285[_0x5db5d2[_0x4ff10a(0x223)][_0x28eedd]]=_0x2f2960[_0x28eedd]:_0x2be285[_0x5db5d2['param_field'][_0x28eedd]]={'id':_0x2f2960[_0x28eedd]['id']});}),_0x2be285;}):_0x29c32c,UiUtil[_0x4786a8(0x21a)](_0x5db5d2[_0x4786a8(0x240)],_0x18f47c);}else _0x4786a8(0x114)===_0x5db5d2[_0x4786a8(0x14e)]?(_0x15d25e=_0x15d25e[0x0],MetaUiUtil[_0x4786a8(0x20c)](_0x362d15,_0x5db5d2,_0x15d25e)):_0x4786a8(0x123)===_0x5db5d2[_0x4786a8(0x14e)]?(_0x15d25e=_0x15d25e[0x0],await MetaUiUtil[_0x4786a8(0x18a)](_0x362d15,_0x5db5d2,_0x15d25e)):_0x4786a8(0x21d)===_0x5db5d2[_0x4786a8(0x14e)]&&(_0x15d25e=_0x15d25e[0x0],await MetaUiUtil[_0x4786a8(0x221)](_0x362d15,_0x5db5d2,_0x15d25e));}}}else _0x362d15[_0x4786a8(0x10f)]();}}static async[a0_0x598c66(0x221)](_0x4fd291,_0x21337e,_0x18ab49){const _0x53ac05=a0_0x598c66;for(let _0x5644da=0x0;_0x5644da<_0x21337e[_0x53ac05(0x237)][_0x53ac05(0x209)];_0x5644da++){let _0x324973=_0x21337e[_0x53ac05(0x237)][_0x5644da];!0x0===ValueUtil[_0x53ac05(0x1b5)](_0x324973,_0x18ab49,Object[_0x53ac05(0x244)](_0x324973)[_0x53ac05(0x14b)](_0x6331b7=>'logic'!=_0x6331b7))&&await MetaUiUtil[_0x53ac05(0x16e)](_0x4fd291,_0x324973,_0x18ab49);}}static['getGristHiddenColumnConfig'](_0x4c1c75,_0x1bed4b){return{'type':_0x4c1c75,'name':_0x1bed4b,'sortable':!0x1,'hidden':!0x0};}static[a0_0x598c66(0x245)](_0x3875b4,_0x14a979,_0x1f0db0,_0x41cf65,_0x24c9f3,_0x7503ff){const _0x563d13=a0_0x598c66;let _0x49d6af=TermsUtil[_0x563d13(0x1c1)](_0x14a979);return{'type':_0x3875b4,'name':_0x14a979,'header':_0x49d6af,'record':{'align':_0x1f0db0,'editable':_0x41cf65},'sortable':_0x24c9f3,'width':_0x7503ff,'imex':{'width':Math[_0x563d13(0x257)](_0x7503ff/0x6),'header':_0x49d6af,'type':_0x3875b4,'key':_0x14a979}};}static['getGristColumnConfig2'](_0x95978f,_0x23afeb,_0x33228d,_0x3dc020,_0x3e2b7c,_0x27603f,_0x1faa08){const _0x286af2=a0_0x598c66;let _0x2eddb0=TermsUtil[_0x286af2(0x1c1)](_0x33228d);return{'type':_0x95978f,'name':_0x23afeb,'header':_0x2eddb0,'record':{'align':_0x3dc020,'editable':_0x3e2b7c},'sortable':_0x27603f,'width':_0x1faa08,'imex':{'width':Math[_0x286af2(0x257)](_0x1faa08/0x6),'header':_0x2eddb0,'type':_0x95978f,'key':_0x23afeb}};}static[a0_0x598c66(0x1b2)](_0x3551fd,_0x237861,_0x2a596f,_0x574046,_0x2fd3f3,_0x90069d,_0x4435a0,_0x142770){const _0x5a53fe=a0_0x598c66;let _0x255216=TermsUtil[_0x5a53fe(0x1c1)](_0x2a596f);return{'type':_0x3551fd,'name':_0x237861,'header':_0x255216,'record':{'align':_0x574046,'editable':_0x2fd3f3,'mandatory':_0x4435a0},'sortable':_0x90069d,'width':_0x142770,'imex':{'width':Math[_0x5a53fe(0x257)](_0x142770/0x6),'header':_0x255216,'type':_0x3551fd,'key':_0x237861}};}static[a0_0x598c66(0x1fa)](_0x73a020,_0x26c31e,_0x192664,_0x26be41,_0x568143,_0x3437f2,_0x276e44){const _0x1aae4b=a0_0x598c66;let _0x2be67a=TermsUtil[_0x1aae4b(0x1c1)](_0x26c31e);return{'type':_0x1aae4b(0x24a),'name':_0x73a020,'header':_0x2be67a,'record':{'align':_0x192664,'editable':!0x0,'mandatory':_0x3437f2,'options':_0x276e44},'sortable':_0x26be41,'width':_0x568143,'imex':{'width':Math['floor'](_0x568143/0x6),'header':_0x2be67a,'type':_0x1aae4b(0x225),'key':_0x73a020}};}static async[a0_0x598c66(0x204)](_0x457e4b,_0x3cdc2d,_0x585301,_0x1f609b,_0x1420ca,_0x56b09c,_0x527c50){const _0x872390=a0_0x598c66;let _0x540f2d=await ServiceUtil[_0x872390(0x213)](_0x527c50);return MetaUiUtil[_0x872390(0x1fa)](_0x457e4b,_0x3cdc2d,_0x585301,_0x1f609b,_0x1420ca,_0x56b09c,_0x540f2d);}static[a0_0x598c66(0xfe)](_0xcc35dc,_0x55aa6a,_0x32d67e,_0x559d3f,_0x390ff6){const _0x59be64=a0_0x598c66;let _0x472d31=TermsUtil[_0x59be64(0x1c1)](_0x32d67e),_0xcc25a0={'name':_0xcc35dc,'type':_0x55aa6a,'label':_0x472d31,'operator':_0x559d3f,'imex':{'width':0x10,'header':_0x472d31,'type':_0x55aa6a,'key':_0xcc35dc}};return _0x390ff6&&(_0xcc25a0[_0x59be64(0x135)]=_0x390ff6),_0xcc25a0;}static async['getGristSearchCodeColumnConfig'](_0x252c75,_0x250749,_0x3f41e2,_0x27c1f5,_0x1baa64){let _0x2c528b=await ServiceUtil['getCodeSelectorData'](_0x1baa64);return MetaUiUtil['getGristSearchColumnConfig'](_0x252c75,_0x250749,_0x3f41e2,_0x27c1f5,_0x2c528b);}static[a0_0x598c66(0x200)](){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_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=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_0x598c66(0x154)](){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_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
49
49
|
#grist-personal > mwc-icon:hover{
|
|
50
50
|
background-color: var(--primary-color);
|
|
51
51
|
}
|
|
52
|
-
`];}static[
|
|
52
|
+
`];}static[a0_0x598c66(0x1ae)](){const _0x4b2597=a0_0x598c66;return[ScrollbarStyles,CommonGristStyles,css`
|
|
53
53
|
:host {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
@@ -59,7 +59,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
59
59
|
ox-grist {
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
flex: 1;
|
|
62
|
-
}`,...MetaUiUtil[
|
|
62
|
+
}`,...MetaUiUtil[_0x4b2597(0x154)](),...MetaUiUtil[_0x4b2597(0x200)](),...MetaUiUtil[_0x4b2597(0x23c)]()];}static[a0_0x598c66(0x134)](){const _0x103cd0=a0_0x598c66;return[ScrollbarStyles,CommonGristStyles,css`
|
|
63
63
|
:host {
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
@@ -106,7 +106,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
106
106
|
ox-grist {
|
|
107
107
|
overflow-y: auto;
|
|
108
108
|
flex: 1;
|
|
109
|
-
}`,...MetaUiUtil[
|
|
109
|
+
}`,...MetaUiUtil[_0x103cd0(0x154)](),...MetaUiUtil[_0x103cd0(0x200)](),...MetaUiUtil[_0x103cd0(0x23c)]()];}static[a0_0x598c66(0x24d)](){const _0x2c2114=a0_0x598c66;return[ScrollbarStyles,CommonGristStyles,css`
|
|
110
110
|
:host {
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: column;
|
|
@@ -153,7 +153,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
153
153
|
ox-grist {
|
|
154
154
|
overflow-y: auto;
|
|
155
155
|
flex: 1;
|
|
156
|
-
}`,...MetaUiUtil[
|
|
156
|
+
}`,...MetaUiUtil[_0x2c2114(0x154)](),...MetaUiUtil[_0x2c2114(0x200)](),...MetaUiUtil[_0x2c2114(0x23c)]()];}static[a0_0x598c66(0x1e6)](){const _0x4bf687=a0_0x598c66;return[ScrollbarStyles,CommonGristStyles,css`
|
|
157
157
|
:host {
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
@@ -200,7 +200,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
200
200
|
ox-grist {
|
|
201
201
|
overflow-y: auto;
|
|
202
202
|
flex: 1;
|
|
203
|
-
}`,...MetaUiUtil[
|
|
203
|
+
}`,...MetaUiUtil[_0x4bf687(0x154)](),...MetaUiUtil[_0x4bf687(0x200)](),...MetaUiUtil[_0x4bf687(0x23c)]()];}static[a0_0x598c66(0x15c)](){const _0x9aa0c=a0_0x598c66;return[ScrollbarStyles,CommonGristStyles,css`
|
|
204
204
|
:host {
|
|
205
205
|
display: flex;
|
|
206
206
|
flex-direction: column;
|
|
@@ -215,7 +215,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
215
215
|
ox-grist {
|
|
216
216
|
overflow-y: auto;
|
|
217
217
|
flex: 1;
|
|
218
|
-
}`,...MetaUiUtil[
|
|
218
|
+
}`,...MetaUiUtil[_0x9aa0c(0x154)](),...MetaUiUtil[_0x9aa0c(0x200)](),...MetaUiUtil[_0x9aa0c(0x23c)]()];}static[a0_0x598c66(0x1e3)](_0x177eeb){const _0x46723c=a0_0x598c66;return _0x46723c(0x1da)==_0x177eeb?MetaUiUtil['getMasterDetailTopDownGristStyle']():MetaUiUtil[_0x46723c(0x11a)]();}static[a0_0x598c66(0x183)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
219
219
|
:host {
|
|
220
220
|
display: flex;
|
|
221
221
|
flex-direction: column;
|
|
@@ -282,7 +282,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
282
282
|
margin-left:7px;
|
|
283
283
|
margin-top:7px;
|
|
284
284
|
}
|
|
285
|
-
`];}static[
|
|
285
|
+
`];}static[a0_0x598c66(0x11a)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
286
286
|
:host {
|
|
287
287
|
display: flex;
|
|
288
288
|
flex-direction: column;
|
|
@@ -349,7 +349,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
349
349
|
margin-left:7px;
|
|
350
350
|
margin-top:7px;
|
|
351
351
|
}
|
|
352
|
-
`];}static[
|
|
352
|
+
`];}static[a0_0x598c66(0x1ac)](){const _0x1c8e82=a0_0x598c66;return[ScrollbarStyles,css`
|
|
353
353
|
:host {
|
|
354
354
|
display: flex;
|
|
355
355
|
flex: 1;
|
|
@@ -438,7 +438,7 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
438
438
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
`,...MetaUiUtil[
|
|
441
|
+
`,...MetaUiUtil[_0x1c8e82(0x200)]()];}static[a0_0x598c66(0x207)](){return[css`
|
|
442
442
|
:host {
|
|
443
443
|
display: flex;
|
|
444
444
|
flex: 1;
|
|
@@ -493,204 +493,204 @@ const a0_0x1606bd=a0_0x2980;(function(_0x5e8605,_0x32f115){const _0x2e3c4d=a0_0x
|
|
|
493
493
|
overflow-x: overlay;
|
|
494
494
|
background-color: var(--main-section-background-color);
|
|
495
495
|
}
|
|
496
|
-
`];}static[
|
|
496
|
+
`];}static[a0_0x598c66(0x15f)](_0x28bdd8,_0x34a71d){const _0x2454f1=a0_0x598c66;return!!(_0x28bdd8?_0x28bdd8[_0x2454f1(0xeb)](_0x390b6b=>_0x390b6b[_0x2454f1(0x1ee)]==_0x34a71d):null);}static['isGridButtonExist'](_0x4b3345,_0xb11351){const _0x1d0831=a0_0x598c66;return!!(_0x4b3345&&_0x4b3345[_0x1d0831(0x241)]?_0x4b3345[_0x1d0831(0x241)][_0x1d0831(0xeb)](_0x1cfd51=>_0x1cfd51[_0x1d0831(0x1ee)]==_0xb11351):null);}static[a0_0x598c66(0x249)](_0x22c179){const _0x3f9314=a0_0x598c66;let _0x168f5b='';return _0x22c179[_0x3f9314(0x14b)](_0x19f30e=>_0x3f9314(0x157)!=_0x19f30e[_0x3f9314(0x14e)])[_0x3f9314(0x1e1)](_0x55be8f=>{const _0x281f22=_0x3f9314;_0x168f5b+='\x0a',_0x168f5b+=[_0x281f22(0x147),'object',_0x281f22(0x10b)][_0x281f22(0x20b)](_0x55be8f[_0x281f22(0x14e)])?_0x55be8f[_0x281f22(0x1ee)]+'\x0a{'+MetaUiUtil[_0x281f22(0x173)](_0x55be8f)+'}':_0x281f22(0x258)==_0x55be8f['type']?_0x55be8f['name']+_0x281f22(0xf9):_0x55be8f[_0x281f22(0x1ee)];}),_0x168f5b;}static[a0_0x598c66(0x173)](_0x54b311){const _0x4d75a4=a0_0x598c66;let _0x1fd835='';return ValueUtil[_0x4d75a4(0x102)](_0x54b311[_0x4d75a4(0x1d8)])&&ValueUtil[_0x4d75a4(0x102)](_0x54b311[_0x4d75a4(0x1d8)]['options'])&&ValueUtil['isNotEmpty'](_0x54b311['record']['options'][_0x4d75a4(0x24a)])&&_0x54b311['record']['options'][_0x4d75a4(0x24a)][_0x4d75a4(0x1e1)](_0x592d5f=>{const _0x186255=_0x4d75a4;_0x592d5f[_0x186255(0x1ee)]&&''!==_0x592d5f[_0x186255(0x1ee)]&&([_0x186255(0x147),'object',_0x186255(0x10b)][_0x186255(0x20b)](_0x592d5f[_0x186255(0x14e)])?_0x1fd835+='\x0a'+_0x592d5f['name']+'\x20{\x20'+MetaUiUtil[_0x186255(0x173)](_0x592d5f)+_0x186255(0x14d):_0x1fd835+='\x0a'+_0x592d5f['name']);}),''==_0x1fd835&&(_0x1fd835+=_0x4d75a4(0x220)),_0x1fd835;}static[a0_0x598c66(0xec)](_0x235a74){const _0x18583a=a0_0x598c66;let _0x43e6de=_0x235a74['gristConfigSet'];if(_0x43e6de){let _0x15c1c8=_0x235a74['gristId']?_0x235a74[_0x18583a(0x113)]:'ox-grist',_0x2b5b97=_0x235a74[_0x18583a(0x1b1)];return html`
|
|
497
497
|
<ox-grist
|
|
498
|
-
id=${
|
|
499
|
-
.config=${
|
|
500
|
-
.mode=${
|
|
498
|
+
id=${_0x15c1c8}
|
|
499
|
+
.config=${_0x43e6de}
|
|
500
|
+
.mode=${_0x2b5b97}
|
|
501
501
|
auto-fetch
|
|
502
|
-
.fetchHandler=${
|
|
503
|
-
${MetaUiUtil[
|
|
502
|
+
.fetchHandler=${_0x235a74[_0x18583a(0x177)]['bind'](_0x235a74)}>
|
|
503
|
+
${MetaUiUtil[_0x18583a(0x19e)](_0x235a74)}
|
|
504
504
|
</ox-grist>
|
|
505
|
-
`;}return html``;}static[
|
|
505
|
+
`;}return html``;}static[a0_0x598c66(0x138)](_0x3c04ee){const _0x8713d3=a0_0x598c66;if(!_0x3c04ee)return html``;if(!_0x3c04ee['formConfigSet'])return html``;let _0x3863e2=_0x3c04ee[_0x8713d3(0x227)],_0xbadfa6=_0x3c04ee[_0x8713d3(0x1d8)]||{},_0x11a00a=_0x3863e2[_0x8713d3(0x14b)](_0x4d20a8=>0x0==_0x4d20a8[_0x8713d3(0x182)]);return ValueUtil[_0x8713d3(0x234)](_0x3c04ee[_0x8713d3(0x224)])?MetaUiUtil[_0x8713d3(0x205)](_0x3c04ee,_0x11a00a,_0xbadfa6):MetaUiUtil[_0x8713d3(0x214)](_0x3c04ee,_0x11a00a,_0xbadfa6);}static[a0_0x598c66(0x214)](_0x56b240,_0x4de26f,_0x298f97){const _0x3cc9d8=a0_0x598c66;let _0x335d2b=_0x56b240[_0x3cc9d8(0x224)];return html`
|
|
506
506
|
<div class="root_container">
|
|
507
|
-
${
|
|
507
|
+
${_0x335d2b[_0x3cc9d8(0x19a)](_0x55b586=>{const _0x34a316=_0x3cc9d8;let _0x4e40c7=[];_0x55b586[_0x34a316(0x219)][_0x34a316(0x1e1)](_0x359d60=>{const _0x18d03e=_0x34a316;let _0x2ae0fd=_0x4de26f[_0x18d03e(0x14b)](_0x45f028=>_0x359d60==_0x45f028[_0x18d03e(0x1ee)])||[];_0x2ae0fd['length']>0x0&&_0x4e40c7[_0x18d03e(0x243)](_0x2ae0fd[0x0]);});let _0x9b1d44=_0x34a316(0x233);for(let _0x5b623b=0x0;_0x5b623b<_0x55b586['column'];_0x5b623b++)_0x9b1d44+='\x201fr\x202fr';return _0x9b1d44+=';',html`
|
|
508
508
|
<h2>
|
|
509
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
509
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x34a316(0x117)](_0x55b586[_0x34a316(0x1cf)])}
|
|
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="${_0x9b1d44}">
|
|
512
|
+
${_0x4e40c7['map'](_0x49695e=>{const _0x4fdbbb=_0x34a316;let {editable:_0x551515=!0x1,mandatory:_0x2a4bd4=!0x1}=_0x49695e[_0x4fdbbb(0x1d8)],_0x2cf28c=_0x298f97[_0x4fdbbb(0xe8)]||{};return html`
|
|
513
|
+
<label ?editable=${_0x551515}><span>${_0x2a4bd4?'*':''}${_0x49695e['header_txt']}</span>
|
|
514
|
+
${_0x551515?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=${_0x49695e}
|
|
519
|
+
.record=${_0x298f97}
|
|
520
|
+
.value=${_0x298f97[_0x49695e[_0x4fdbbb(0x1ee)]]}
|
|
521
|
+
?dirty=${!!_0x2cf28c[_0x49695e[_0x4fdbbb(0x1ee)]]}
|
|
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
|
+
${_0x56b240[_0x3cc9d8(0xfa)]?html``:MetaUiUtil[_0x3cc9d8(0x15d)](_0x56b240)}
|
|
528
|
+
`;}static['getBasicFormHtmlNoOption'](_0x13b423,_0x3b76f2,_0x21d1de){const _0x8886c0=a0_0x598c66;let _0x596ef1=_0x8886c0(0x1fe);_0x13b423[_0x8886c0(0x152)]&&0x0!=_0x13b423[_0x8886c0(0x152)]||(_0x13b423[_0x8886c0(0x152)]=0x1),_0x13b423[_0x8886c0(0x152)]=parseInt((_0x13b423['etcConfig']||{})[_0x8886c0(0x232)]||_0x13b423[_0x8886c0(0x152)]);for(let _0x45151e=0x0;_0x45151e<_0x13b423[_0x8886c0(0x152)];_0x45151e++)_0x596ef1+=_0x8886c0(0x1ec);return _0x596ef1+=';',html`
|
|
529
|
+
<div id="container" class="container" style="${_0x596ef1}">
|
|
530
|
+
${_0x3b76f2['map'](_0x1538ca=>{const _0x2ca332=_0x8886c0;let {editable:_0xcbee9d=!0x1,mandatory:_0x4f8a6b=!0x1}=_0x1538ca[_0x2ca332(0x1d8)],_0x2f11fd=_0x21d1de[_0x2ca332(0xe8)]||{};return html`
|
|
531
|
+
<label ?editable=${_0xcbee9d}><span>${_0x4f8a6b?'*':''}${_0x1538ca[_0x2ca332(0x1a6)]}</span>
|
|
532
|
+
${_0xcbee9d?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=${_0x1538ca}
|
|
537
|
+
.record=${_0x21d1de}
|
|
538
|
+
.value=${_0x21d1de[_0x1538ca['name']]}
|
|
539
|
+
?dirty=${!!_0x2f11fd[_0x1538ca['name']]}
|
|
540
540
|
></ox-grid-field>
|
|
541
541
|
`;})}
|
|
542
542
|
</div>
|
|
543
|
-
${
|
|
544
|
-
`;}static[
|
|
543
|
+
${_0x13b423[_0x8886c0(0xfa)]?html``:MetaUiUtil['getButtonContainer'](_0x13b423)}
|
|
544
|
+
`;}static[a0_0x598c66(0x151)](_0xd2098a){const _0x57d07c=a0_0x598c66;if(!_0xd2098a)return html``;if(!_0xd2098a[_0x57d07c(0xfb)])return html``;let _0x3cb83a=_0xd2098a[_0x57d07c(0xfb)];return _0xd2098a['currentTabKey']||(_0xd2098a[_0x57d07c(0x1ca)]=_0x3cb83a[0x0]?.['name']||void 0x0),html`
|
|
545
545
|
<div class="tabs">
|
|
546
|
-
${
|
|
547
|
-
<div class="tab" ?activate="${
|
|
548
|
-
${
|
|
549
|
-
<span>${
|
|
546
|
+
${_0x3cb83a[_0x57d07c(0x19a)](_0x2cbc9e=>{const _0x92cf52=_0x57d07c;let _0x3c285e=TermsUtil[_0x92cf52(0x1c1)](_0x2cbc9e[_0x92cf52(0x1cf)]),_0x2a78a4=_0x2cbc9e[_0x92cf52(0x1ee)];return html`
|
|
547
|
+
<div class="tab" ?activate="${_0x2a78a4===_0xd2098a[_0x92cf52(0x1ca)]}" @click="${()=>_0xd2098a[_0x92cf52(0x1ca)]=_0x2a78a4}">
|
|
548
|
+
${_0x2cbc9e[_0x92cf52(0x118)]?html`<mwc-icon>${_0x2cbc9e[_0x92cf52(0x118)]}</mwc-icon>`:html``}
|
|
549
|
+
<span>${_0x3c285e}</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
|
+
${_0x3cb83a[_0x57d07c(0x19a)](_0x30e821=>{const _0x1c5a26=_0x57d07c;let _0x5bd187=_0x1c5a26(0x1df);return _0x30e821[_0x1c5a26(0x1ee)]==_0xd2098a[_0x1c5a26(0x1ca)]&&(_0x5bd187=_0x1c5a26(0x242)),html`
|
|
555
|
+
<div class='tab-contents' style="${_0x5bd187}">
|
|
556
|
+
${MetaUiUtil[_0x1c5a26(0x150)](_0xd2098a,_0x30e821)}
|
|
557
557
|
</div>
|
|
558
558
|
`;})}
|
|
559
559
|
</div>
|
|
560
|
-
`;}static[
|
|
561
|
-
${0x0==
|
|
560
|
+
`;}static['getGristTabHtml'](_0x215cff){const _0xa565ed=a0_0x598c66;let _0x448602=(_0x215cff[_0xa565ed(0x20d)]||{})[_0xa565ed(0xea)]||_0xa565ed(0x162),_0x25e648=(_0x215cff[_0xa565ed(0x20d)]||{})[_0xa565ed(0x136)]||_0xa565ed(0x252),_0x5a1d8d=_0xa565ed(0x1ce)==_0x448602?'grid-template-columns:'+_0x25e648+';':_0xa565ed(0x1a8)+_0x25e648+';',_0x341e5b=_0x215cff['isPage']?UiUtil[_0xa565ed(0x218)]():_0x215cff[_0xa565ed(0x1ff)];return html`
|
|
561
|
+
${0x0==_0x215cff[_0xa565ed(0x248)]?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=${_0x215cff[_0xa565ed(0x121)]||[]}
|
|
567
|
+
.value=${_0x215cff[_0xa565ed(0x206)]||[]}
|
|
568
|
+
@filters-change=${_0x4c1f2f=>{const _0x15531e=_0xa565ed;_0x215cff[_0x15531e(0x25a)]?.[_0x15531e(0x10f)]();}}
|
|
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="${_0x5a1d8d}">
|
|
574
574
|
<div class="container_detail">
|
|
575
|
-
${MetaApi[
|
|
576
|
-
${MetaUiUtil[
|
|
575
|
+
${MetaApi[_0xa565ed(0xec)](_0x215cff)}
|
|
576
|
+
${MetaUiUtil[_0xa565ed(0x15d)](_0x215cff)}
|
|
577
577
|
</div>
|
|
578
578
|
<div class="container_detail">
|
|
579
|
-
${!0x0===
|
|
579
|
+
${!0x0===_0x215cff[_0xa565ed(0x250)]?html`${!0x0===_0x215cff['is_readonly']?html`<meta-tab-element
|
|
580
580
|
id="detail"
|
|
581
|
-
route_name="${
|
|
582
|
-
.activityDataSet=${(
|
|
581
|
+
route_name="${_0x341e5b}"
|
|
582
|
+
.activityDataSet=${(_0x215cff[_0xa565ed(0x148)]||{})[_0xa565ed(0x156)]}
|
|
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="${_0x341e5b}"
|
|
589
|
+
.activityDataSet=${(_0x215cff[_0xa565ed(0x148)]||{})['detail']}
|
|
590
590
|
is_activity=true
|
|
591
591
|
is_detail=true>
|
|
592
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
592
|
+
</meta-tab-element>`}`:html`${!0x0===_0x215cff[_0xa565ed(0x1aa)]?html`<meta-tab-element id="detail" route_name="${_0x341e5b}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x341e5b}" is_detail=true></meta-tab-element>`}`}
|
|
593
593
|
</div>
|
|
594
594
|
</div>
|
|
595
|
-
`;}static[
|
|
596
|
-
${0x0==
|
|
595
|
+
`;}static[a0_0x598c66(0x1a1)](_0x562031){const _0x148710=a0_0x598c66;let _0x2a5406=_0x562031[_0x148710(0x20d)][_0x148710(0xea)]||_0x148710(0x162),_0x3de937=_0x562031['etcConfig'][_0x148710(0x136)]||_0x148710(0x252),_0x723008=_0x562031['etcConfig'][_0x148710(0x228)],_0x221a2d=JSON['parse'](_0x723008||'{}'),_0x43c794='left_right'==_0x2a5406?_0x148710(0x1fe)+_0x3de937+';':_0x148710(0x1a8)+_0x3de937+';';return MetaUiUtil['createMasterElement'](_0x562031),MetaUiUtil[_0x148710(0x23a)](_0x562031,_0x221a2d),html`
|
|
596
|
+
${0x0==_0x562031[_0x148710(0x248)]?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=${_0x562031[_0x148710(0x121)]||[]}
|
|
602
|
+
.value=${_0x562031['searchFieldValues']||[]}
|
|
603
|
+
@filters-change=${_0xd4141=>{const _0x52b0a9=_0x148710;_0x562031[_0x52b0a9(0x10f)]();}}
|
|
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="${_0x43c794}">
|
|
609
609
|
<div class="container_detail">
|
|
610
|
-
${
|
|
610
|
+
${_0x562031[_0x148710(0x1b3)]}
|
|
611
611
|
</div>
|
|
612
612
|
<div class="container_detail">
|
|
613
|
-
${''==
|
|
614
|
-
${
|
|
613
|
+
${''==_0x221a2d['tagname']||_0x148710(0x1ab)==_0x221a2d['tagname']?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x221a2d[_0x148710(0x1cf)])}</h2>`}
|
|
614
|
+
${_0x562031[_0x148710(0x203)]}
|
|
615
615
|
</div>
|
|
616
616
|
</div>
|
|
617
|
-
`;}static[
|
|
618
|
-
${0x0==
|
|
617
|
+
`;}static[a0_0x598c66(0x1e8)](_0x22026f){const _0x276f6d=a0_0x598c66;return MetaUiUtil[_0x276f6d(0x1a3)](_0x22026f),html`
|
|
618
|
+
${0x0==_0x22026f['useMasterFilterForm']?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=${_0x22026f[_0x276f6d(0x121)]||[]}
|
|
624
|
+
.value=${_0x22026f[_0x276f6d(0x206)]||[]}
|
|
625
|
+
@filters-change=${_0x1d9d10=>{_0x22026f['fetch']();}}
|
|
626
626
|
></ox-filters-form-base>
|
|
627
627
|
</div>
|
|
628
628
|
</div>
|
|
629
629
|
`}
|
|
630
630
|
<div id="container" class="container" >
|
|
631
|
-
${
|
|
631
|
+
${_0x22026f['masterElement']}
|
|
632
632
|
</div>
|
|
633
|
-
`;}static[
|
|
634
|
-
${0x0==
|
|
633
|
+
`;}static['getMasterDetailHtml'](_0x2d3dcb){const _0x4c47c8=a0_0x598c66;let _0x137560=_0x2d3dcb[_0x4c47c8(0x20d)][_0x4c47c8(0xea)]||_0x4c47c8(0x162),_0x42b185=_0x2d3dcb[_0x4c47c8(0x20d)][_0x4c47c8(0x136)]||_0x4c47c8(0x252),_0x5549c6=_0x2d3dcb[_0x4c47c8(0x20d)][_0x4c47c8(0x228)],_0x23d6e9=JSON[_0x4c47c8(0x189)](_0x5549c6||'{}'),_0x4ba331=_0x4c47c8(0x1ce)==_0x137560?'grid-template-columns:'+_0x42b185+';':'grid-template-rows:'+_0x42b185+';';return MetaUiUtil[_0x4c47c8(0x23a)](_0x2d3dcb,_0x23d6e9),html`
|
|
634
|
+
${0x0==_0x2d3dcb['useMasterFilterForm']?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=${_0x2d3dcb['searchFields']||[]}
|
|
640
|
+
.value=${_0x2d3dcb[_0x4c47c8(0x206)]||[]}
|
|
641
|
+
@filters-change=${_0x1f660c=>{const _0x2c7933=_0x4c47c8;_0x2d3dcb[_0x2c7933(0x25a)]?.['fetch']();}}
|
|
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="${_0x4ba331}">
|
|
647
647
|
<div class="container_detail">
|
|
648
|
-
${MetaApi[
|
|
649
|
-
${MetaUiUtil[
|
|
648
|
+
${MetaApi[_0x4c47c8(0xec)](_0x2d3dcb)}
|
|
649
|
+
${MetaUiUtil[_0x4c47c8(0x15d)](_0x2d3dcb)}
|
|
650
650
|
</div>
|
|
651
651
|
<div class="container_detail">
|
|
652
|
-
${''==
|
|
653
|
-
${
|
|
652
|
+
${''==_0x23d6e9['tagname']||_0x4c47c8(0x1ab)==_0x23d6e9[_0x4c47c8(0x20a)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c47c8(0x117)](''+_0x23d6e9[_0x4c47c8(0x1cf)])}</h2>`}
|
|
653
|
+
${_0x2d3dcb['detailElement']}
|
|
654
654
|
</div>
|
|
655
655
|
</div>
|
|
656
|
-
`;}static[
|
|
656
|
+
`;}static[a0_0x598c66(0x23a)](_0x2b7353,_0x27c17e){const _0x9e7f8f=a0_0x598c66;if(!_0x2b7353[_0x9e7f8f(0x203)]){let _0x4325ec=_0x27c17e[_0x9e7f8f(0x1ee)]?_0x27c17e[_0x9e7f8f(0x1ee)]:_0x9e7f8f(0x156),_0x4c7754='<'+_0x27c17e[_0x9e7f8f(0x20a)]+_0x9e7f8f(0x197)+_0x4325ec+_0x9e7f8f(0x1ea)+_0x4325ec+'\x22\x20route_name=\x22'+_0x27c17e[_0x9e7f8f(0x25b)]+'\x22\x20'+(!0x0===_0x2b7353[_0x9e7f8f(0x250)]?_0x9e7f8f(0x143):'')+'\x20'+(!0x0===_0x2b7353[_0x9e7f8f(0x1aa)]?'is_readonly=true':'')+'\x20is_detail=true\x20style=\x22flex:1;\x22></'+_0x27c17e['tagname']+'>';_0x2b7353[_0x9e7f8f(0x203)]=UiUtil[_0x9e7f8f(0x111)](_0x4c7754),_0x2b7353[_0x9e7f8f(0x203)][_0x9e7f8f(0x148)]=(_0x2b7353[_0x9e7f8f(0x148)]||{})[_0x9e7f8f(0x156)],_0x2b7353[_0x9e7f8f(0x1dc)][_0x9e7f8f(0x106)]()[_0x9e7f8f(0x12f)](_0x9e7f8f(0x11c))&&(_0x2b7353[_0x9e7f8f(0x203)][_0x9e7f8f(0x18f)]=_0x2b7353);}}static['createMasterElement'](_0x33cde3){const _0x4e8679=a0_0x598c66;if(!_0x33cde3['masterElement']&&_0x33cde3['filterForm']){let _0x5ec746=_0x4e8679(0x236),_0x247e70=_0x4e8679(0x1bc)+_0x5ec746+_0x4e8679(0x1ea)+_0x5ec746+_0x4e8679(0x140)+_0x33cde3[_0x4e8679(0x218)]+'\x22\x20'+(!0x0===_0x33cde3[_0x4e8679(0x250)]?_0x4e8679(0x143):'')+'\x20'+(!0x0===_0x33cde3[_0x4e8679(0x1aa)]?_0x4e8679(0x141):'')+_0x4e8679(0x142);_0x33cde3['masterElement']=UiUtil[_0x4e8679(0x111)](_0x247e70),_0x33cde3[_0x4e8679(0x1b3)][_0x4e8679(0x148)]=(_0x33cde3[_0x4e8679(0x148)]||{})[_0x4e8679(0x236)],_0x33cde3[_0x4e8679(0x1b3)][_0x4e8679(0x1a5)]=!0x0,_0x33cde3[_0x4e8679(0x1b3)][_0x4e8679(0xf7)]=_0x33cde3[_0x4e8679(0x1ba)],_0x33cde3[_0x4e8679(0x1b3)][_0x4e8679(0x18f)]=_0x33cde3;}}static['getBasicTabContent'](_0x582845,_0x5e2501){const _0x574091=a0_0x598c66;if(_0x582845[_0x574091(0x1c8)]||(_0x582845[_0x574091(0x1c8)]={}),Object[_0x574091(0x244)](_0x582845['tabElements'])[_0x574091(0x14b)](_0x286997=>_0x286997==_0x5e2501['name'])[_0x574091(0x209)]>0x0)return _0x582845[_0x574091(0x1c8)][_0x5e2501[_0x574091(0x1ee)]];let _0xdde20c='<'+_0x5e2501[_0x574091(0x20a)]+_0x574091(0x108)+_0x5e2501['name']+_0x574091(0x174)+_0x5e2501[_0x574091(0x24c)]+_0x574091(0x1d7)+(!0x0===_0x582845[_0x574091(0x250)]?'is_activity=true':'')+'\x20'+(!0x0===_0x582845[_0x574091(0x1aa)]?'is_readonly=true':'')+_0x574091(0x21b)+_0x5e2501[_0x574091(0x20a)]+'>',_0x58fe9f=UiUtil[_0x574091(0x111)](_0xdde20c);return _0x58fe9f['activityDataSet']=(_0x582845[_0x574091(0x148)]||{})[_0x5e2501[_0x574091(0x1ee)]],_0x582845['parent_id']&&(_0x58fe9f[_0x574091(0xfc)]=_0x582845['parent_id']),_0x582845[_0x574091(0x18f)]?_0x58fe9f[_0x574091(0x18f)]=_0x582845[_0x574091(0x18f)]:_0x58fe9f[_0x574091(0x203)]=_0x582845,!0x1===_0x5e2501['filter_from']&&(_0x58fe9f[_0x574091(0x103)]=!0x1),_0x5e2501[_0x574091(0x238)]&&(_0x58fe9f[_0x574091(0xf7)]=_0x5e2501[_0x574091(0x238)]),_0x582845[_0x574091(0x1c8)][_0x5e2501[_0x574091(0x1ee)]]=_0x58fe9f,_0x58fe9f;}static['getGridDetailHtml'](_0x3c86f1){const _0x2dced7=a0_0x598c66;let _0x4deaab=_0x3c86f1[_0x2dced7(0x1b6)],_0x2c9141=_0x3c86f1['useFilterForm'],_0x35f41a=_0x3c86f1[_0x2dced7(0x22e)],_0x10c69=JSON[_0x2dced7(0x189)]((_0x3c86f1[_0x2dced7(0x20d)]||{})[_0x2dced7(0x170)]||_0x2dced7(0xfd));return 0x0==_0x2c9141?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['getGridColumnPersonalizeButton'](_0x3c86f1)}
|
|
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
|
+
${_0x10c69?html`
|
|
665
665
|
<div id="sorters">
|
|
666
|
-
<mwc-icon @click=${
|
|
666
|
+
<mwc-icon @click=${_0x512449=>{const _0x33c130=_0x2dced7,_0x29a6c9=_0x512449[_0x33c130(0x166)];_0x29a6c9[_0x33c130(0x130)]['open']({'right':0x0,'top':_0x29a6c9[_0x33c130(0x1ef)]+_0x29a6c9[_0x33c130(0x1bd)]});}}
|
|
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['getGridViewOption'](_0x3c86f1)}
|
|
674
674
|
<ox-record-creator
|
|
675
675
|
id="add"
|
|
676
|
-
?hidden="${!
|
|
677
|
-
.callback=${
|
|
676
|
+
?hidden="${!_0x4deaab}"
|
|
677
|
+
.callback=${_0x35f41a}>
|
|
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[_0x2dced7(0x178)](_0x3c86f1)}
|
|
684
684
|
</div>
|
|
685
|
-
`;}static[
|
|
685
|
+
`;}static[a0_0x598c66(0x178)](_0x5205d8){const _0x6928c1=a0_0x598c66;return _0x6928c1(0x145)!=_0x5205d8[_0x6928c1(0x1b1)]?html``:!0x0!==_0x5205d8[_0x6928c1(0x250)]?html`
|
|
686
686
|
<div id="grist-personal">
|
|
687
|
-
<mwc-icon @click=${
|
|
687
|
+
<mwc-icon @click=${_0x5df073=>{const _0x486a06=_0x6928c1;let _0x1ce550=MetaApi[_0x486a06(0x133)](_0x486a06(0x1b4),'personal-column-selector');_0x1ce550[_0x486a06(0xed)]=_0x5df073[_0x486a06(0x166)][_0x486a06(0x19d)][_0x486a06(0x19d)][_0x486a06(0x19d)],_0x1ce550[_0x486a06(0x18d)]=_0x5205d8['menuId'],MetaApi[_0x486a06(0x124)](TermsUtil[_0x486a06(0x117)]('grid-column-personalize'),_0x486a06(0x247),_0x1ce550,!0x1);}}
|
|
688
688
|
>settings</mwc-icon>
|
|
689
689
|
</div>
|
|
690
|
-
`:html``;}static[
|
|
690
|
+
`:html``;}static[a0_0x598c66(0x212)](_0x40535a){const _0x5e1ff9=a0_0x598c66;return ValueUtil['isEmpty'](_0x40535a[_0x5e1ff9(0x139)])||0x1==_0x40535a[_0x5e1ff9(0x139)][_0x5e1ff9(0x209)]?html``:html`
|
|
691
691
|
<div id="modes">
|
|
692
|
-
${
|
|
693
|
-
${
|
|
694
|
-
${
|
|
692
|
+
${_0x40535a['gridViewOptions'][_0x5e1ff9(0x20b)](_0x5e1ff9(0x145))?html`<mwc-icon @click="${()=>_0x40535a['gridMode']='GRID'}" ?active="${_0x5e1ff9(0x145)==_0x40535a[_0x5e1ff9(0x1b1)]}">grid_on</mwc-icon>`:''}
|
|
693
|
+
${_0x40535a['gridViewOptions'][_0x5e1ff9(0x20b)](_0x5e1ff9(0x180))?html`<mwc-icon @click="${()=>_0x40535a[_0x5e1ff9(0x1b1)]=_0x5e1ff9(0x180)}" ?active="${'LIST'==_0x40535a['gridMode']}">format_list_bulleted</mwc-icon>`:''}
|
|
694
|
+
${_0x40535a['gridViewOptions'][_0x5e1ff9(0x20b)](_0x5e1ff9(0x13d))?html`<mwc-icon @click="${()=>_0x40535a[_0x5e1ff9(0x1b1)]=_0x5e1ff9(0x13d)}" ?active="${_0x5e1ff9(0x13d)==_0x40535a[_0x5e1ff9(0x1b1)]}">apps</mwc-icon>`:''}
|
|
695
695
|
</div>
|
|
696
|
-
`;}static[
|
|
696
|
+
`;}static[a0_0x598c66(0x15d)](_0x31f2f6){const _0x572001=a0_0x598c66;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x572001(0x22a)](_0x31f2f6)}</div>`;}}
|