@things-factory/meta-ui 6.0.135 → 6.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/bootstrap.js +31 -11
- package/client/component/filter/filter-form-meta-code-select.js +16 -0
- package/client/component/filter/filter-form-meta-object-select.js +16 -0
- package/client/component/filter/filter-grist-meta-code-select.js +16 -0
- package/client/component/filter/filter-grist-meta-object-select.js +16 -0
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +9 -0
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +9 -0
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -0
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -0
- package/client/component/selector/meta-object-selector-popup.js +40 -0
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +2 -2
- package/client/pages/activity/meta-activity-writer-element.js +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 +5 -5
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +103 -103
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +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 +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
- package/client/component/filter/filter-form-resource-code-select.js +0 -16
- package/client/component/filter/filter-grist-resource-code-select.js +0 -16
- package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +0 -11
- package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +0 -1
- package/client/component/selector/ox-resource-code-selector-popup.js +0 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3ec359=a0_0x28a7;(function(_0x50684f,_0x35d171){const _0x16e243=a0_0x28a7,_0x9fc1b0=_0x50684f();while(!![]){try{const _0x3ebd94=parseInt(_0x16e243(0x2cf))/0x1+parseInt(_0x16e243(0x2b6))/0x2+parseInt(_0x16e243(0x217))/0x3+-parseInt(_0x16e243(0x286))/0x4+-parseInt(_0x16e243(0x1ea))/0x5*(parseInt(_0x16e243(0x1ff))/0x6)+parseInt(_0x16e243(0x1bd))/0x7*(parseInt(_0x16e243(0x275))/0x8)+-parseInt(_0x16e243(0x220))/0x9*(parseInt(_0x16e243(0x21f))/0xa);if(_0x3ebd94===_0x35d171)break;else _0x9fc1b0['push'](_0x9fc1b0['shift']());}catch(_0x4b443a){_0x9fc1b0['push'](_0x9fc1b0['shift']());}}}(a0_0x10b0,0x29826));import a0_0x51cf3d from'graphql-tag';import{client}from'@operato/graphql';import a0_0x1395ff from'moment-timezone';import{css,html}from'lit';function a0_0x10b0(){const _0x55abb3=['<meta-tab-element\x20id=\x22','errors','formConfigSet','split','tabElements','pages','\x20is_detail=true\x20style=\x22flex:1;\x22></','parse','indexOf','dispField','isNotEmpty','meta-grist-tab-','847208EQeNNL','getButtonActionHandler','getCustomButtonContainerStyles','grid','getGridRowSet','nameField','id,template','getBasicMasterDetailStyles','\x20{\x20','master_detail_size','getState','routing','display:none','<mwc-button\x20label=\x22','useButtonExport','option','unlimited','540320Mvejkd','htmlToElement','showAlertPopup','mutation','getParams','tTitle','meta-master-detail-','getMenuMeta','createButtonElement','getBasicGristStyles','getGristTabHtml','sorters','dirty','fetch','meta-tab-element','select','getContextButtons','assign','button','tButton','useButtonImport','second','parent_field','useButtonAdd','getGridColumnPersonalizeButton','getGristGuttersConfig','basic','getGridViewOption','parseGridConfigSet','handlers','\x22\x20name=\x22','isGridButtonExist','getBasicFormHtml','gridMobileMode','model','isEmpty','gridConfig','getGristColumnConfig','is_activity','\x20id=\x27','meta-','month','parseFormConfigSet','false','tagname','getCodeByScenario','getButtonContainer','meta-tab-','474218TPvLUA','basicArgs','codeField','is_readonly=true','createMasterElement','replace','entity','date','querySelector','grist_one','record','commonButtonOpenPopup','currentTarget','template','danger','formRenderConfig','\x201fr\x202fr','after_set_fields','minute','left','args','\x27\x20style=\x22flex:1;\x22\x20','currentTabKey','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','text.please_select_only_one','183161ErHWgz','getMasterDetailTopDownGristStyle','searchConfig','getQueryFilters','grist_selected','findMenuMetaByRouting','getGristSearchColumnConfig','buttonConfig','stringify','gridDeskMode','error','export','GRID','nextElementSibling','detail','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','defaultPageConfig','format','meta-object-selector','menuId','setGridColumnSearchOption','\x0a{\x0aid\x0aname\x0athumbnail}','setParentId','desc','detailElement','header_txt','menuInfo','url','formColumnConfig','offsetHeight','etcConfig','menu_template','menu','column','isArray','gridViewOptions','pages/hgistory/history-copy-list-popup.js','getBasicGristTabStyles','meta-code-selector','type','list','importable','getMasterDetailHtml','recordCreationCallback','getBasicGristHtml','master','history-json-list-popup','findMenuMeta','code','searchFieldValues','getGristColumnConfig2','records','map','gridMode','large','icon','__dirtyfields__','open_param','metaUI','grid-template-rows:','help','getCodeSelectorData','values','grid_column','after','getGristEmphasizedStyles','infinityPage','searchByPagination','YYYY-MM-DD','includes','shadowRoot','column_list','selectable','midium','tLabel','searchFields','grid-column-personalize','-code-','LIST','grid-template-columns:','isPage','hidden','floor','pages/hgistory/history-json-list-popup.js','sequence','getGristColumnConfig3','string','7PAbCJd','\x20is_detail=true></','referenceField','masterElement','object','getSelectColumns','parentElement','getObjctColumnSelectFields','getBasicFormHtmlOnOption','name','descriptionField','route_name','height:auto;grid-template-columns:','selected','gristButtonHandler','getBasicFormHtmlNoOption','self','scenario','getGristPersonalizedStyles','service','filters','parent_id','options','pages/meta-form-element.js','master_detail_element','compareObjectValues','toLowerCase','param_field','findMenuGridPersnalTemplate','gristId','tMenu','value_is_not_exist','data_history_list','year','title','find','gristButtonPassParam','personal-column-selector','\x22\x20route_name=\x22','dec','startOf','getBasicTabStyles','getBasicTabContent','gqlInfo','confirm','675165xaOQYe','dense','filterForm','outlined','commonButtonCallScenario','editable','min','list_func','gql','getBasicMasterDetailGristStyle','getGridDetailHtml','gristConfigSet','open','gristButtonValueReference','rank','popup','-object-','getGristPaginationCustomConfig','queryName','width','grist','6tnkumc','use_row_checker','currentRouting','tText','useMasterFilterForm','openPopupByElement','add','invalid\x20license\x20key','dispatchEvent','\x20id=\x22','title_detail','getMasterDetailLeftRightGristStyle','skip_fields','display','getGristSelectorColumnConfig','getCodeByEntity','tError','ox-grist','top_bottom','left_right','getContextObject','createDetailElement','openDynamicPopup','mainFilterForm','342780ncUZKr','grist_all','main_filter_form','\x27\x20route_name=\x27','page','customButtonHandler','sec','startsWith','500740pgUrRL','36rwtAQh','day','createCustomElement','emphasis','is_readonly','getGristHiddenColumnConfig','getBasicTabDetailStyles','gridColumnConfig','raised','\x0aid\x0aname\x0adescription','push','meta-tab-detail-','editor','getGridListSet','activityDataSet','default_form_column','multiple','menus','history_copy','master_detail_type','useFilterForm','forEach','info','label','getGridColumnSet','notify','tagName','length','getBasicTabHtml','data','form','YYYY-MM-DD\x20HH:mm:ss','value_reference','getGridButtonSet','runnerPermission','getBasicMainTabStyles','board','filter','today','config','gutter','is_activity=true','getBasicFormStyles','text.grid_data_is_empty','text.button_bind_func_is_not_exist','getMenuMetaData','query','pass_param','CARD','title.info','logic','rootElement','pass_field','pageNavigate','bind','runScenario','location','getContainerButtons','50%\x2050%','keys','getGristCodeSelectorColumnConfig','operator','text.nothing_selected','hour','getGridOptionSet','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getMainTabHtml','use_filter_form','datetime-local','grist_changed','codes','row','includeMainList'];a0_0x10b0=function(){return _0x55abb3;};return a0_0x10b0();}import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';function a0_0x28a7(_0x5f2206,_0x23c2d5){const _0x10b0c5=a0_0x10b0();return a0_0x28a7=function(_0x28a729,_0x406036){_0x28a729=_0x28a729-0x169;let _0x6549bb=_0x10b0c5[_0x28a729];return _0x6549bb;},a0_0x28a7(_0x5f2206,_0x23c2d5);}import'./../pages/history/history-json-list-popup';export class MetaUiUtil{static async[a0_0x3ec359(0x195)](_0x407f1e){const _0x555072=a0_0x3ec359;let _0x56f2ed=await ServiceUtil['findOne'](_0x555072(0x186),_0x407f1e,_0x555072(0x2c3));if(!_0x56f2ed)throw new Error(TermsUtil[_0x555072(0x202)](_0x555072(0x1dc),{'value':TermsUtil['tMenu'](_0x555072(0x186))+'\x20'+_0x407f1e}));if(!_0x56f2ed[_0x555072(0x2c3)])throw new Error(TermsUtil['tText']('value_is_not_exist',{'value':TermsUtil['tMenu'](_0x555072(0x186))+'\x20'+TermsUtil[_0x555072(0x1b0)](_0x555072(0x2a8))}));return this['menuId']=_0x407f1e,JSON[_0x555072(0x270)](_0x56f2ed['template']);}static async[a0_0x3ec359(0x24d)](_0x3cfdcd){const _0xd3100=a0_0x3ec359;if((await client['query']({'query':a0_0x51cf3d`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))['errors'])return;let _0x5e1ed9,_0x224d20=[{'name':_0x496197(0x292),'operator':'eq','value':_0x365ab3}],_0x54b3ab=await ServiceUtil[_0x496197(0x2bd)]('menus',_0x224d20,null,0x0,0x0,'id,template');if(_0x54b3ab&&_0x54b3ab['records']&&0x0!=_0x54b3ab['records'][_0x496197(0x328)]?(_0x5e1ed9=_0x54b3ab[_0x496197(0x2b0)][0x0],!_0x5e1ed9['template']&&_0xba8f2c[_0x496197(0x210)]&&(_0x5e1ed9[_0x496197(0x2fc)]=_0xba8f2c[_0x496197(0x210)])):_0xba8f2c['defaultPageConfig']&&(_0x5e1ed9={'id':_0x365ab3,'template':_0xba8f2c[_0x496197(0x210)]}),!_0x5e1ed9)throw new Error(TermsUtil[_0x496197(0x21b)](_0x496197(0x314),{'value':TermsUtil[_0x496197(0x2fd)](_0x496197(0x306))+'\x20'+_0x365ab3}));if(!_0x5e1ed9[_0x496197(0x2fc)])throw new Error(TermsUtil[_0x496197(0x21b)](_0x496197(0x314),{'value':TermsUtil['tMenu'](_0x496197(0x306))+'\x20'+TermsUtil['tLabel'](_0x496197(0x2da))}));return this[_0x496197(0x2b9)]=_0x5e1ed9['id'],JSON['parse'](MetaCrypto[_0x496197(0x2df)](_0x5e1ed9[_0x496197(0x2fc)]));}static[a0_0x46fcf6(0x2ee)](){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':_0x225188=>Boolean(_0x225188)},'is_popup':{'type':Boolean,'converter':_0x681d04=>Boolean(_0x681d04)},'is_activity':{'type':Boolean,'converter':_0x57180f=>Boolean(_0x57180f)},'is_readonly':{'type':Boolean,'converter':_0x3d720e=>Boolean(_0x3d720e)}};}static async[a0_0x46fcf6(0x2b1)](_0x46f1bd){const _0x1d14e3=a0_0x46fcf6;if(0x0==store[_0x1d14e3(0x2f0)]()[_0x1d14e3(0x26b)][_0x1d14e3(0x337)])return void document[_0x1d14e3(0x21f)](new CustomEvent('notify',{'detail':{'level':'error','message':TermsUtil[_0x1d14e3(0x22a)](_0x1d14e3(0x285))}}));let _0x12459b=_0x46f1bd[_0x1d14e3(0x1fb)]?UiUtil[_0x1d14e3(0x276)]():_0x46f1bd['route_name'];_0x46f1bd['currentRouting']=_0x12459b;let _0x50fff9=await MetaUiUtil[_0x1d14e3(0x222)](_0x46f1bd,_0x12459b);return!0x0===_0x46f1bd[_0x1d14e3(0x2f1)]&&(_0x50fff9['grid'][_0x1d14e3(0x2cc)]['use_row_checker']=!0x1,_0x50fff9['grid'][_0x1d14e3(0x2cc)][_0x1d14e3(0x267)]=_0x1d14e3(0x2eb),_0x50fff9[_0x1d14e3(0x28d)]['use_filter_form']=!0x1,_0x50fff9[_0x1d14e3(0x28d)][_0x1d14e3(0x26c)]=[],_0x50fff9[_0x1d14e3(0x26c)]=_0x50fff9['button'][_0x1d14e3(0x23b)](_0x329de9=>_0x1d14e3(0x1fc)==_0x329de9[_0x1d14e3(0x230)])),!0x0===_0x46f1bd['is_readonly']&&(_0x50fff9[_0x1d14e3(0x2c7)]['forEach'](_0x3ac703=>{const _0x677a8d=_0x1d14e3;_0x3ac703[_0x677a8d(0x2d5)]=!0x1;}),_0x50fff9[_0x1d14e3(0x26c)]=_0x50fff9['button'][_0x1d14e3(0x23b)](_0x54ae50=>_0x1d14e3(0x1fc)!=_0x54ae50[_0x1d14e3(0x230)])),!0x1===_0x46f1bd[_0x1d14e3(0x288)]&&(_0x50fff9[_0x1d14e3(0x28d)]['use_filter_form']=!0x1),_0x50fff9;}static[a0_0x46fcf6(0x327)](..._0x4b1a88){return{'pages':_0x4b1a88};}static['getGristGuttersConfig'](_0x820b81,_0x51443f){const _0x19d456=a0_0x46fcf6;let _0x4305aa=[{'type':_0x19d456(0x2d4),'gutterName':'dirty'},{'type':_0x19d456(0x2d4),'gutterName':_0x19d456(0x33b)}];return _0x820b81&&_0x4305aa['push']({'type':'gutter','gutterName':_0x19d456(0x332),'multiple':_0x51443f}),_0x4305aa;}static[a0_0x46fcf6(0x339)](_0x278afd){return{'selectable':{'multiple':_0x278afd}};}static async[a0_0x46fcf6(0x32e)](_0x229030){const _0x328304=a0_0x46fcf6;_0x229030[_0x328304(0x303)]||(_0x229030['gqlInfo']={}),_0x229030[_0x328304(0x303)][_0x328304(0x31b)]||(_0x229030[_0x328304(0x303)][_0x328304(0x31b)]={}),_0x229030['gqlInfo'][_0x328304(0x31b)][_0x328304(0x2a5)]||(_0x229030['gqlInfo'][_0x328304(0x31b)][_0x328304(0x2a5)]={}),_0x229030['gqlInfo'][_0x328304(0x214)]||(_0x229030['gqlInfo'][_0x328304(0x214)]={}),_0x229030[_0x328304(0x303)][_0x328304(0x214)][_0x328304(0x2f4)]||(_0x229030[_0x328304(0x303)][_0x328304(0x214)][_0x328304(0x2f4)]={}),_0x229030['gqlInfo'][_0x328304(0x214)][_0x328304(0x2f4)]['skip_fields']||(_0x229030[_0x328304(0x303)][_0x328304(0x214)][_0x328304(0x2f4)]['skip_fields']=[]);let _0x3b780c=MetaUiUtil[_0x328304(0x2c8)](_0x229030),_0x47c145=MetaUiUtil[_0x328304(0x319)](_0x229030),_0x570f49=MetaUiUtil[_0x328304(0x280)](_0x229030),_0x45f3ee=MetaUiUtil[_0x328304(0x2e1)](_0x229030),_0x33a07a=await MetaUiUtil[_0x328304(0x2b6)](_0x229030);_0x33a07a['filter'](_0x45621c=>['resource-object',_0x328304(0x20d)][_0x328304(0x270)](_0x45621c[_0x328304(0x2c9)]))['forEach'](_0x1e6f1c=>{const _0x30834c=_0x328304;_0x229030[_0x30834c(0x218)][_0x30834c(0x23b)](_0x1d5e0f=>_0x1d5e0f[_0x30834c(0x230)]==_0x1e6f1c['name'])[_0x30834c(0x275)](_0x3f8c38=>{const _0x2413db=_0x30834c,_0x24849d=_0x1e6f1c[_0x2413db(0x298)][_0x2413db(0x263)],_0x415a88=_0x24849d['referenceField']?_0x24849d['referenceField']:_0x1e6f1c[_0x2413db(0x230)]+'Id',_0x8f6374=_0x229030[_0x2413db(0x218)]['findIndex'](_0x503a60=>_0x503a60[_0x2413db(0x230)]==_0x1e6f1c[_0x2413db(0x230)]);_0x33a07a[_0x2413db(0x2e5)]({'type':_0x2413db(0x29a),'header':_0x1e6f1c[_0x2413db(0x242)],'name':_0x415a88,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x24849d}}),_0x229030['gqlInfo'][_0x2413db(0x31b)][_0x2413db(0x2a5)][_0x415a88]='x',_0x229030[_0x2413db(0x303)][_0x2413db(0x214)][_0x2413db(0x2f4)][_0x2413db(0x2c3)][_0x2413db(0x2e5)](_0x415a88),_0x229030[_0x2413db(0x218)][_0x8f6374]['name']=_0x415a88,_0x229030['searchConfig'][_0x8f6374][_0x2413db(0x2c9)]=_0x2413db(0x29a);});});let _0x19e3f0=MetaUiUtil[_0x328304(0x215)](_0x3b780c[_0x328304(0x2c0)],_0x570f49['selectable'][_0x328304(0x2f4)]);return 0x1==_0x229030[_0x328304(0x2c5)]&&(_0x33a07a=MetaUiUtil[_0x328304(0x325)](_0x229030,_0x33a07a)),{'list':_0x47c145,'pagination':_0x3b780c[_0x328304(0x267)],'sorters':_0x3b780c[_0x328304(0x2ef)],'rows':_0x570f49,'columns':[..._0x19e3f0,..._0x45f3ee,..._0x33a07a]};}static async[a0_0x46fcf6(0x2bb)](_0x252f9c){const _0x2e10cd=a0_0x46fcf6;let _0xb81df9=_0x252f9c['formColumnConfig'],_0x8a278=[];for(let _0x1248bc=0x0;_0x1248bc<_0xb81df9[_0x2e10cd(0x328)];_0x1248bc++){let {type:_0x52ae32='string',name:_0x141253,header:_0x3ac717,hidden:_0x2698b3=!0x1,editable:_0x417d4b=!0x0,mandatory:_0x3a9ca7=!0x1,align:_0x559c3a=_0x2e10cd(0x28f),select_opt:_0x3988c4,object_opt:_0x1e386e}=_0xb81df9[_0x1248bc],_0x43c30a={'type':_0x52ae32,'name':_0x141253,'header_txt':ValueUtil[_0x2e10cd(0x295)](_0x3ac717)?TermsUtil[_0x2e10cd(0x206)](_0x141253):TermsUtil['tLabel'](_0x3ac717),'header':{'renderer':function(_0x43fda6){const _0x34576c=_0x2e10cd;return _0x43fda6[_0x34576c(0x1f6)];}},'hidden':_0x2698b3,'record':{'editable':_0x417d4b,'mandatory':_0x3a9ca7,'align':_0x559c3a,'classifier':function(){},'renderer':getRenderer(_0x52ae32)}};_0x417d4b&&(_0x43c30a[_0x2e10cd(0x298)][_0x2e10cd(0x236)]=getEditor(_0x52ae32)),_0x2e10cd(0x240)===_0x52ae32&&ValueUtil[_0x2e10cd(0x1fa)](_0x3988c4)?Array[_0x2e10cd(0x2db)](_0x3988c4)?_0x43c30a['record']['options']=_0x3988c4:_0x2e10cd(0x29c)===_0x3988c4[_0x2e10cd(0x2c9)]?_0x43c30a[_0x2e10cd(0x298)][_0x2e10cd(0x263)]=await ServiceUtil['getCodeSelectorData'](_0x3988c4['values']?_0x3988c4[_0x2e10cd(0x27b)]:_0x3988c4[_0x2e10cd(0x230)]):_0x2e10cd(0x31c)===_0x3988c4[_0x2e10cd(0x2c9)]?_0x43c30a['record'][_0x2e10cd(0x263)]=await ServiceUtil[_0x2e10cd(0x323)](_0x3988c4[_0x2e10cd(0x230)],_0x3988c4['args']):_0x2e10cd(0x32d)===_0x3988c4[_0x2e10cd(0x2c9)]&&(_0x43c30a[_0x2e10cd(0x298)][_0x2e10cd(0x263)]=await ServiceUtil['getCodeByEntity'](_0x3988c4[_0x2e10cd(0x2ed)])):_0x2e10cd(0x20d)!==_0x52ae32&&_0x2e10cd(0x29a)!==_0x52ae32||!ValueUtil['isNotEmpty'](_0x1e386e)?_0x2e10cd(0x203)===_0x52ae32&&ValueUtil[_0x2e10cd(0x1fa)](_0x1e386e)&&(_0x43c30a[_0x2e10cd(0x298)][_0x2e10cd(0x263)]=_0x1e386e,_0x1e386e[_0x2e10cd(0x277)]&&(_0x43c30a['record']['options'][_0x2e10cd(0x207)]=await ServiceUtil['getCodeByEntity'](_0x1e386e))):(_0x1e386e['select']&&_0x1e386e[_0x2e10cd(0x240)][_0x2e10cd(0x275)](_0x16977c=>{const _0x36ea3e=_0x2e10cd;_0x16977c[_0x36ea3e(0x242)]||(_0x16977c['header']=_0x16977c['name']),_0x16977c[_0x36ea3e(0x242)]=TermsUtil[_0x36ea3e(0x206)](_0x16977c['header']);}),_0x43c30a[_0x2e10cd(0x298)][_0x2e10cd(0x263)]=_0x1e386e),_0x8a278[_0x2e10cd(0x2e5)](_0x43c30a);}return _0x8a278;}static[a0_0x46fcf6(0x2c8)](_0x40bec2){const _0x403d33=a0_0x46fcf6;let _0x395631=_0x40bec2['gridConfig'];_0x40bec2['useFilterForm']=!_0x395631||null==_0x395631[_0x403d33(0x288)]||_0x395631['use_filter_form'];let {mobile_mode:_0x4396c2=_0x403d33(0x235),desk_mode:_0x2fa063='GRID',view_mode:_0x3f287a=[],use_row_checker:_0x4fb6eb=!0x0,sorters:_0x3c91c3=[],pages:_0x32d030=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x403d33(0x295)](_0x395631['option'])?{}:_0x395631[_0x403d33(0x2cc)];return _0x403d33(0x2eb)===_0x32d030||'-1'===_0x32d030?(_0x40bec2[_0x403d33(0x213)]=!0x0,_0x32d030={'infinite':!0x0}):(_0x40bec2[_0x403d33(0x213)]=!0x1,_0x32d030[_0x403d33(0x341)](function(_0xece01,_0x389e7a){return _0xece01-_0x389e7a;}),_0x32d030={'pages':_0x32d030}),ValueUtil[_0x403d33(0x1fa)](_0x3f287a)&&(0x1==_0x3f287a[_0x403d33(0x328)]?(_0x2fa063=_0x3f287a[0x0],_0x4396c2=_0x3f287a[0x0]):_0x3f287a[_0x403d33(0x328)]>=0x2&&(_0x3f287a[_0x403d33(0x270)](_0x4396c2)||(_0x4396c2=_0x3f287a[0x1]),_0x3f287a[_0x403d33(0x270)](_0x2fa063)||(_0x2fa063=_0x3f287a[0x0]))),_0x40bec2['gridMobileMode']=_0x4396c2,_0x40bec2['gridDeskMode']=_0x2fa063,_0x40bec2['gridViewOptions']=_0x3f287a,_0x40bec2[_0x403d33(0x251)]=UiUtil['isMobileEnv']()?_0x40bec2['gridMobileMode']:_0x40bec2[_0x403d33(0x208)],{'use_row_checker':_0x4fb6eb,'sorters':_0x3c91c3,'pages':_0x32d030};}static[a0_0x46fcf6(0x319)](_0x31146a){const _0x352c02=a0_0x46fcf6;let _0x12ae69={'fields':[ValueUtil[_0x352c02(0x219)](_0x31146a['menuInfo'],_0x352c02(0x230)),ValueUtil['getParams'](_0x31146a[_0x352c02(0x2f2)],_0x352c02(0x238))]};return _0x31146a[_0x352c02(0x300)][_0x352c02(0x320)]&&Object[_0x352c02(0x282)](_0x12ae69,_0x31146a['gridConfig'][_0x352c02(0x320)]),_0x12ae69;}static[a0_0x46fcf6(0x280)](_0x26ae32){const _0x2a583a=a0_0x46fcf6;let {multiple_select:_0x15ca6c=!0x1,click:_0x4e5c25}=ValueUtil[_0x2a583a(0x295)](_0x26ae32['gridConfig']['row'])?{}:_0x26ae32[_0x2a583a(0x300)]['row'],_0x2a7529={'selectable':{'multiple':_0x15ca6c},'appendable':_0x26ae32[_0x2a583a(0x273)]};return ValueUtil[_0x2a583a(0x1fa)](_0x4e5c25)&&(_0x2a7529['handlers']={'click':_0x4e5c25}),_0x2a7529;}static[a0_0x46fcf6(0x2e1)](_0x5d44d8){const _0xa56abf=a0_0x46fcf6;let _0x209fef=_0x5d44d8[_0xa56abf(0x300)][_0xa56abf(0x26c)];return ValueUtil['isEmpty'](_0x209fef)?[]:_0x209fef['map'](_0x3b1b56=>{const _0x51613c=_0xa56abf;let _0x5f4863={'type':_0x51613c(0x2d4),'gutterName':_0x51613c(0x26c)};if(ValueUtil['isNotEmpty'](_0x3b1b56[_0x51613c(0x25e)])&&(Array[_0x51613c(0x2db)](_0x3b1b56[_0x51613c(0x25e)])?_0x5f4863[_0x51613c(0x25e)]=_0x37da42=>{const _0x4fde8e=_0x51613c;if(ValueUtil[_0x4fde8e(0x1fa)](_0x37da42))for(let _0xac3057=0x0;_0xac3057<_0x3b1b56[_0x4fde8e(0x25e)][_0x4fde8e(0x328)];_0xac3057++){let _0x5579c1=_0x3b1b56[_0x4fde8e(0x25e)][_0xac3057];if(!0x0===ValueUtil['compareObjectValues'](_0x5579c1,_0x37da42,Object['keys'](_0x5579c1)[_0x4fde8e(0x23b)](_0x4bb4bc=>'icon'!=_0x4bb4bc)))return _0x5579c1[_0x4fde8e(0x25e)];}}:_0x5f4863[_0x51613c(0x25e)]=_0x3b1b56['icon']),ValueUtil[_0x51613c(0x1fa)](_0x3b1b56[_0x51613c(0x230)])&&(_0x5f4863[_0x51613c(0x230)]=_0x3b1b56['name']),ValueUtil[_0x51613c(0x1fa)](_0x3b1b56[_0x51613c(0x2ca)])&&(_0x5f4863[_0x51613c(0x221)]=TermsUtil[_0x51613c(0x261)](_0x3b1b56['label'])),_0x51613c(0x21d)===_0x3b1b56[_0x51613c(0x2c9)]){let _0x2d8639=ValueUtil['getParams'](_0x3b1b56,_0x51613c(0x2e8));['history_copy',_0x51613c(0x2f9)]['includes'](_0x2d8639)?_0x5f4863[_0x51613c(0x232)]={'click':(_0x2cdda4,_0x467e81,_0xc0ce14,_0x283a0a,_0xca7e23)=>{const _0x517bc4=_0x51613c;if(_0x283a0a['id']){let _0x37d80b={'title':'data_history_list','type':_0x517bc4(0x324),'tagname':_0x517bc4(0x211)==_0x2d8639?'history-copy-list-popup':'history-json-list-popup','location':_0x517bc4(0x211)==_0x2d8639?_0x517bc4(0x245):_0x517bc4(0x243),'menu':_0x5d44d8[_0x517bc4(0x276)],'size':'large','popup_field':'open_param','parent_field':'id'},_0x168103={..._0x283a0a,'gqlFunc':ValueUtil[_0x517bc4(0x219)](_0x5d44d8[_0x517bc4(0x303)],_0x517bc4(0x31b),'find_one_func'),'gristConfig':JSON[_0x517bc4(0x23a)](JSON[_0x517bc4(0x342)](_0x5d44d8[_0x517bc4(0x30f)]['config']))};MetaUiUtil[_0x517bc4(0x20e)](_0x5d44d8,{'logic':_0x37d80b},_0x168103);}}}:_0x5f4863['handlers']={'click':_0x2d8639};}else _0x5f4863[_0x51613c(0x232)]={'click':(_0x361c55,_0x10d61d,_0x2889a9,_0x57c3d4,_0x429015)=>{const _0x241a14=_0x51613c;_0x57c3d4['id']&&MetaUiUtil[_0x241a14(0x20e)](_0x5d44d8,_0x3b1b56,_0x57c3d4);}};return _0x5f4863;});}static async[a0_0x46fcf6(0x2b6)](_0x5b8de2){const _0x117155=a0_0x46fcf6;let _0x125cd4=_0x5b8de2['gridColumnConfig'];if(ValueUtil['isEmpty'](_0x125cd4))return[];let _0x4e18b1=[];for(let _0x11e9c4=0x0;_0x11e9c4<_0x125cd4[_0x117155(0x328)];_0x11e9c4++){let {type:_0x262c39=_0x117155(0x338),name:_0x5a21b5,header:_0x4eaff0,hidden:_0x4cf8ff=!0x1,editable:_0x5c8e3b=!0x0,mandatory:_0x3ffe6b=!0x1,sortable:_0x48b0ad=!0x1,align:_0x4d107a='left',width:_0x4d2217=0x0,exportable:_0x3245f9=!0x1,select_opt:_0x21b7a8,object_opt:_0x5c3cd7,format:_0x2e3e06}=_0x125cd4[_0x11e9c4],_0x29b868={'type':_0x262c39,'name':_0x5a21b5,'header':ValueUtil[_0x117155(0x295)](_0x4eaff0)?'':TermsUtil[_0x117155(0x206)](_0x4eaff0),'hidden':_0x4cf8ff,'sortable':_0x48b0ad,'width':_0x4d2217,'record':{'editable':_0x5c8e3b,'mandatory':_0x3ffe6b,'align':_0x4d107a,'format':_0x2e3e06}};if(_0x117155(0x240)===_0x262c39&&ValueUtil['isNotEmpty'](_0x21b7a8))Array[_0x117155(0x2db)](_0x21b7a8)?_0x29b868[_0x117155(0x298)]['options']=_0x21b7a8:_0x117155(0x29c)===_0x21b7a8[_0x117155(0x2c9)]?_0x29b868[_0x117155(0x298)][_0x117155(0x263)]=await ServiceUtil[_0x117155(0x2b5)](_0x21b7a8[_0x117155(0x27b)]?_0x21b7a8[_0x117155(0x27b)]:_0x21b7a8[_0x117155(0x230)]):'scenario'===_0x21b7a8['type']?_0x29b868[_0x117155(0x298)][_0x117155(0x263)]=await ServiceUtil[_0x117155(0x323)](_0x21b7a8['name'],_0x21b7a8[_0x117155(0x2ed)]):_0x117155(0x32d)===_0x21b7a8[_0x117155(0x2c9)]&&(_0x29b868[_0x117155(0x298)]['options']=await ServiceUtil[_0x117155(0x2aa)](_0x21b7a8[_0x117155(0x2ed)]));else{if(_0x117155(0x20d)!==_0x262c39&&_0x117155(0x29a)!==_0x262c39||!ValueUtil[_0x117155(0x1fa)](_0x5c3cd7))'resource-code-selector'===_0x262c39&&ValueUtil[_0x117155(0x1fa)](_0x5c3cd7)&&(_0x29b868['record'][_0x117155(0x263)]=_0x5c3cd7,_0x5c3cd7['dispField']&&(_0x29b868['record']['options'][_0x117155(0x207)]=await ServiceUtil[_0x117155(0x2aa)](_0x5c3cd7)));else{let _0x50c9c3;_0x5c3cd7[_0x117155(0x240)]&&_0x5c3cd7['select'][_0x117155(0x275)](_0x585417=>{const _0x34e856=_0x117155;_0x585417[_0x34e856(0x242)]||(_0x585417['header']=_0x585417[_0x34e856(0x230)]),_0x585417[_0x34e856(0x242)]=TermsUtil['tLabel'](_0x585417[_0x34e856(0x242)]);}),_0x29b868[_0x117155(0x298)][_0x117155(0x263)]={..._0x5c3cd7},_0x5c3cd7[_0x117155(0x227)]&&_0x5c3cd7[_0x117155(0x227)]['filters']&&(_0x50c9c3=[..._0x5c3cd7['basicArgs'][_0x117155(0x1f4)]]),_0x50c9c3&&JSON[_0x117155(0x342)](_0x50c9c3)[_0x117155(0x270)]('::')&&(_0x29b868[_0x117155(0x232)]={'dblclick':(_0x23e52f,_0x33a285,_0x28b2a9,_0x3acc39,_0xdbd095)=>{const _0x3ff3ab=_0x117155;let _0x375c91=[];_0x50c9c3[_0x3ff3ab(0x275)](_0x4227f6=>{const _0x31f8cb=_0x3ff3ab;var {name:_0x53179b,value:_0x3b3db7,operator:_0x21a355='eq'}=_0x4227f6;_0x3b3db7[_0x31f8cb(0x270)]('::')&&(_0x3b3db7=ValueUtil[_0x31f8cb(0x219)](_0x3acc39,..._0x3b3db7['replace']('::','')[_0x31f8cb(0x2a8)]('.'))),_0x3b3db7||(_0x3b3db7=''),_0x375c91[_0x31f8cb(0x2e5)]({'name':_0x53179b,'operator':_0x21a355,'value':_0x3b3db7});}),_0x28b2a9['record'][_0x3ff3ab(0x263)][_0x3ff3ab(0x227)]['filters']=_0x375c91;}});}}!0x0===_0x5b8de2['useButtonExport']&&!0x0===_0x3245f9&&(_0x29b868['imex']={'header':_0x29b868['header'],'key':_0x29b868[_0x117155(0x230)],'width':_0x29b868[_0x117155(0x322)]/0x6,'type':_0x29b868[_0x117155(0x2c9)]}),_0x4e18b1[_0x117155(0x2e5)](_0x29b868);}if(!0x0!==this[_0x117155(0x2f1)])return _0x4e18b1;let _0x327031=await MetaApi[_0x117155(0x32c)](this[_0x117155(0x2b9)]),{template:_0x14bebb={}}=_0x327031;if(!_0x14bebb['master'])return _0x4e18b1;let _0x48f7=_0x14bebb[_0x117155(0x330)];return _0x4e18b1=_0x4e18b1[_0x117155(0x20f)](_0x42b10d=>('id'==_0x42b10d['name']||(_0x42b10d[_0x117155(0x264)]=!_0x48f7[_0x117155(0x270)](_0x42b10d[_0x117155(0x230)]),_0x42b10d[_0x117155(0x299)]=_0x48f7[_0x117155(0x33a)](_0x42b10d[_0x117155(0x230)]),-0x1==_0x42b10d[_0x117155(0x299)]&&(_0x42b10d['rank']=0x1869f)),_0x42b10d)),_0x4e18b1[_0x117155(0x341)]((_0xf1a7ba,_0x5c8829)=>_0xf1a7ba[_0x117155(0x299)]-_0x5c8829['rank']),_0x4e18b1;}static[a0_0x46fcf6(0x325)](_0x180dab,_0x49842e){const _0x1a9841=a0_0x46fcf6;let _0x9704f=_0x180dab[_0x1a9841(0x218)];return _0x9704f&&_0x9704f[_0x1a9841(0x275)](_0x2d2285=>{const _0x2d8f27=_0x1a9841;'string'==typeof _0x2d2285?_0x49842e[_0x2d8f27(0x23b)](_0x5eb308=>_0x5eb308[_0x2d8f27(0x230)]==_0x2d2285)['forEach'](_0x1aa859=>{const _0x381cd4=_0x2d8f27;_0x1aa859[_0x381cd4(0x23b)]='search';}):'object'==typeof _0x2d2285&&_0x49842e[_0x2d8f27(0x23b)](_0x2c6fe0=>_0x2c6fe0[_0x2d8f27(0x230)]==_0x2d2285[_0x2d8f27(0x230)])['forEach'](_0x557e0e=>{const _0x32de1b=_0x2d8f27;_0x557e0e[_0x32de1b(0x23b)]=_0x2d2285,_0x557e0e[_0x32de1b(0x23b)]['type']=_0x32de1b(0x294)===_0x557e0e[_0x32de1b(0x2c9)]&&'eq'==_0x2d2285['operator']?_0x32de1b(0x321):_0x557e0e['type'];let _0x53bef9=_0x557e0e[_0x32de1b(0x23b)][_0x32de1b(0x2b7)],_0x3d52a7=[_0x32de1b(0x239),_0x32de1b(0x233),'month','date','hour',_0x32de1b(0x21c),_0x32de1b(0x2e3)];if(_0x53bef9&&_0x3d52a7[_0x32de1b(0x23b)](_0x31371b=>_0x53bef9['startsWith'](_0x31371b))[_0x32de1b(0x328)]>0x0){let _0x4d9f8e=[],_0x2145fd={'date':_0x32de1b(0x32b),'datetime':_0x32de1b(0x231)},_0x9c9112={'today':_0x32de1b(0x317),'year':_0x32de1b(0x233),'month':_0x32de1b(0x2d0),'date':_0x32de1b(0x317),'hour':_0x32de1b(0x1ee),'min':'minute','sec':_0x32de1b(0x26e)};_0x53bef9[_0x32de1b(0x2a8)](',')['forEach'](_0x1b5de5=>{const _0x5363f2=_0x32de1b,_0x384404=a0_0x4e2695();if(_0x3d52a7['includes'](_0x1b5de5))_0x4d9f8e['push'](_0x384404[_0x5363f2(0x205)](_0x9c9112[_0x1b5de5])[_0x5363f2(0x1f0)](_0x2145fd[_0x557e0e[_0x5363f2(0x2c9)]]));else{if(_0x1b5de5['includes']('-')){let _0x1f31af=_0x1b5de5['split']('-'),_0x430d87=_0x1f31af[0x0],_0x5f1acf=_0x1f31af[0x1];_0x4d9f8e['push'](_0x384404[_0x5363f2(0x25d)](_0x5f1acf,_0x9c9112[_0x430d87])[_0x5363f2(0x205)](_0x9c9112[_0x430d87])[_0x5363f2(0x1f0)](_0x2145fd[_0x557e0e[_0x5363f2(0x2c9)]]));}else{if(_0x1b5de5[_0x5363f2(0x270)]('+')){let _0xd792d3=_0x1b5de5['split']('+'),_0x12a3c6=_0xd792d3[0x0],_0xf6ecb6=_0xd792d3[0x1];_0x4d9f8e[_0x5363f2(0x2e5)](_0x384404[_0x5363f2(0x1fc)](_0xf6ecb6,_0x9c9112[_0x12a3c6])[_0x5363f2(0x205)](_0x9c9112[_0x12a3c6])['format'](_0x2145fd[_0x557e0e['type']]));}}}}),_0x4d9f8e[_0x32de1b(0x328)]>0x0&&(_0x557e0e[_0x32de1b(0x23b)][_0x32de1b(0x2b7)]=0x1==_0x4d9f8e['length']?_0x4d9f8e[0x0]:_0x4d9f8e);}});}),_0x49842e;}static['getContextObject'](_0x17564e){const _0xb20e48=a0_0x46fcf6;let _0x395a4c={'title':TermsUtil[_0xb20e48(0x340)](_0x17564e[_0xb20e48(0x2f2)][_0xb20e48(0x221)]),'help':_0x17564e[_0xb20e48(0x2f2)][_0xb20e48(0x31f)]||'','actions':[...MetaUiUtil[_0xb20e48(0x2cd)](_0x17564e)]};return _0x17564e['useButtonExport']&&(_0x395a4c[_0xb20e48(0x29d)]={'name':_0x395a4c[_0xb20e48(0x221)],'data':_0x17564e['export']['bind'](_0x17564e)}),_0x17564e['useButtonImport']&&(_0x395a4c[_0xb20e48(0x2b8)]={'handler':_0x17564e[_0xb20e48(0x256)]['bind'](_0x17564e)}),_0x395a4c;}static[a0_0x46fcf6(0x2cd)](_0xeb2faf){const _0x10f343=a0_0x46fcf6;let _0x42aeea=_0xeb2faf[_0x10f343(0x1ff)];return ValueUtil[_0x10f343(0x295)](_0x42aeea)?[]:_0x42aeea['filter'](_0x2f3ab6=>_0x10f343(0x247)!=_0x2f3ab6[_0x10f343(0x230)]&&'import'!=_0x2f3ab6[_0x10f343(0x230)]&&_0x10f343(0x1fc)!=_0x2f3ab6['name'])[_0x10f343(0x20f)](_0xef79dc=>{const _0x1f215c=_0x10f343;let {name:_0x2a46c1,label:_0x347966,style:_0x150f5d,type:_0x202631=_0x1f215c(0x21d),action:_0x301bda,logic:_0x5146a0}=_0xef79dc;if(ValueUtil[_0x1f215c(0x295)](_0x2a46c1))return{'title':'-1'};ValueUtil[_0x1f215c(0x295)](_0x347966)&&(_0x347966=_0x2a46c1),ValueUtil[_0x1f215c(0x295)](_0x150f5d)&&(_0x150f5d=_0x2a46c1),ValueUtil[_0x1f215c(0x295)](_0x301bda)&&(_0x301bda=_0x2a46c1);let _0x3eb474=ValueUtil[_0x1f215c(0x1fa)](_0x150f5d)?CommonButtonStyles[_0x150f5d]||{'icon':_0x150f5d,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x1f215c(0x261)](_0x347966),'action':MetaUiUtil[_0x1f215c(0x2f5)](_0xeb2faf,_0x202631,_0x301bda,_0x5146a0),..._0x3eb474};})[_0x10f343(0x23b)](_0x3da2ea=>'-1'!=_0x3da2ea[_0x10f343(0x221)]);}static['getContainerButtons'](_0x1d739e){const _0x5d115a=a0_0x46fcf6;let _0x3d2322=_0x1d739e&&_0x1d739e[_0x5d115a(0x1ff)]?_0x1d739e[_0x5d115a(0x1ff)]:null;return _0x3d2322?_0x3d2322['filter'](_0x3e5aeb=>'add'!=_0x3e5aeb['name'])[_0x5d115a(0x20f)](_0xdb69a2=>{const _0x226af6=_0x5d115a;let {name:_0x2c3d0d,label:_0x2a7b05,style:_0x5abe93,type:_0x344a3a='basic',action:_0x403c9e,logic:_0x20816d}=_0xdb69a2;ValueUtil[_0x226af6(0x295)](_0x2a7b05)&&(_0x2a7b05=_0x2c3d0d),ValueUtil[_0x226af6(0x295)](_0x5abe93)&&(_0x5abe93=_0x2c3d0d),ValueUtil[_0x226af6(0x295)](_0x403c9e)&&(_0x403c9e=_0x2c3d0d);let _0x25adf7=MetaUiUtil[_0x226af6(0x31e)](TermsUtil[_0x226af6(0x261)](_0x2a7b05),_0x5abe93);return _0x25adf7[_0x226af6(0x28a)]=MetaUiUtil[_0x226af6(0x2f5)](_0x1d739e,_0x344a3a,_0x403c9e,_0x20816d),_0x25adf7;}):[];}static[a0_0x46fcf6(0x31e)](_0xb638c4,_0x800ae){const _0xad25d6=a0_0x46fcf6;let _0x42247f=CommonButtonStyles[_0x800ae]||{'icon':_0x800ae,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x288a71=_0xad25d6(0x2f6)+_0xb638c4+_0xad25d6(0x274)+(_0x42247f[_0xad25d6(0x25e)]?_0x42247f['icon']:'')+_0xad25d6(0x286)+(_0x42247f[_0xad25d6(0x27c)][_0xad25d6(0x24e)]?_0xad25d6(0x24e):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x42247f['emphasis'][_0xad25d6(0x244)]?_0xad25d6(0x244):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x42247f['emphasis'][_0xad25d6(0x316)]?'dense':'')+_0xad25d6(0x26f)+(_0x42247f[_0xad25d6(0x27c)][_0xad25d6(0x2a1)]?_0xad25d6(0x2a1):'')+_0xad25d6(0x30e);return UiUtil['htmlToElement'](_0x288a71);}static[a0_0x46fcf6(0x2f5)](_0x2e5405,_0x5dd3fa,_0x46c644,_0x59cae9){const _0x5ce97c=a0_0x46fcf6;if(_0x5ce97c(0x21d)==_0x5dd3fa){if(_0x2e5405[_0x46c644])return _0x2e5405[_0x46c644]['bind'](_0x2e5405);}else{if(_0x5ce97c(0x2d9)==_0x5dd3fa)return()=>MetaUiUtil['customButtonHandler'](_0x2e5405,_0x59cae9);}return()=>{const _0x992191=_0x5ce97c;UiUtil[_0x992191(0x29f)](_0x992191(0x297),_0x992191(0x200),'info',_0x992191(0x291));};}static async['gristButtonHandler'](_0x42f02b,_0x45b58a,_0x5bab7f){const _0x2b1407=a0_0x46fcf6;let _0x2ffa6f=ValueUtil[_0x2b1407(0x219)](_0x45b58a,_0x2b1407(0x2e8)),_0x2012ea=ValueUtil[_0x2b1407(0x219)](_0x2ffa6f,_0x2b1407(0x2c9));if(_0x2b1407(0x254)===_0x2012ea)_0x2ffa6f['tagname']=_0x2b1407(0x2f3),_0x2ffa6f[_0x2b1407(0x2e6)]=_0x2b1407(0x27f),_0x2ffa6f['parent_field']='id',await MetaUiUtil[_0x2b1407(0x272)](_0x42f02b,_0x2ffa6f,_0x5bab7f);else{if(_0x2b1407(0x30a)===_0x2012ea)MetaUiUtil[_0x2b1407(0x271)](_0x42f02b,_0x2ffa6f,_0x5bab7f);else{if('page'===_0x2012ea){let _0x680dff;_0x2ffa6f['param_field']?(_0x680dff={},Object[_0x2b1407(0x309)](_0x5bab7f)[_0x2b1407(0x23b)](_0x5c4198=>Object[_0x2b1407(0x309)](_0x2ffa6f[_0x2b1407(0x24f)])['includes'](_0x5c4198))[_0x2b1407(0x20f)](_0x647e90=>{const _0x4c6bfe=_0x2b1407;Object[_0x4c6bfe(0x309)](_0x2ffa6f[_0x4c6bfe(0x24f)])[_0x4c6bfe(0x270)](_0x647e90)&&(_0x4c6bfe(0x338)==typeof _0x5bab7f[_0x647e90]?_0x680dff[_0x2ffa6f[_0x4c6bfe(0x24f)][_0x647e90]]=_0x5bab7f[_0x647e90]:_0x680dff[_0x2ffa6f[_0x4c6bfe(0x24f)][_0x647e90]]={'id':_0x5bab7f[_0x647e90]['id']});})):_0x680dff=_0x5bab7f,UiUtil[_0x2b1407(0x252)](_0x2ffa6f[_0x2b1407(0x312)],[_0x680dff]);}else _0x2b1407(0x324)===_0x2012ea?await MetaUiUtil['commonButtonOpenPopup'](_0x42f02b,_0x2ffa6f,_0x5bab7f):'scenario'===_0x2012ea?await MetaUiUtil['commonButtonCallScenario'](_0x42f02b,_0x2ffa6f,_0x5bab7f):_0x2b1407(0x228)===_0x2012ea&&await MetaUiUtil['gristButtonValueReference'](_0x42f02b,_0x2ffa6f,_0x5bab7f);}}}static async[a0_0x46fcf6(0x258)](_0x4b623d,_0xf5f9cc){const _0x283909=a0_0x46fcf6;if(ValueUtil['isEmpty'](_0xf5f9cc))return;let _0x5d6c4b=_0x4b623d[_0x283909(0x30f)],_0x389f4f=_0x4b623d[_0x283909(0x290)],_0x505911=ValueUtil[_0x283909(0x219)](_0xf5f9cc,_0x283909(0x2c9)),_0x533e34=ValueUtil[_0x283909(0x219)](_0xf5f9cc,_0x283909(0x259)),_0x471597=_0x533e34[_0x283909(0x23b)](_0x152ec3=>_0x152ec3[_0x283909(0x229)](_0x283909(0x30f)));if(ValueUtil[_0x283909(0x1fa)](_0x471597)){if(!_0x5d6c4b)return void UiUtil[_0x283909(0x29f)]('title.info',_0x283909(0x2f7),_0x283909(0x265),_0x283909(0x291));if(0x0==(_0x5d6c4b[_0x283909(0x1f7)]?_0x5d6c4b[_0x283909(0x1f7)][_0x283909(0x2b0)]:[])[_0x283909(0x328)])return void UiUtil['showAlertPopup'](_0x283909(0x209),_0x283909(0x24d),_0x283909(0x265),_0x283909(0x291));if(_0x533e34[_0x283909(0x270)](_0x283909(0x28e))||_0x533e34['includes'](_0x283909(0x278))){let _0x1bde2b=_0x5d6c4b['selected'];if(ValueUtil[_0x283909(0x295)](_0x1bde2b))return void UiUtil['showAlertPopup'](_0x283909(0x33f),'text.there_is_no_selected_items',_0x283909(0x265),_0x283909(0x291));if(_0x533e34[_0x283909(0x270)]('grist_one')&&_0x1bde2b['length']>0x1)return void UiUtil['showAlertPopup'](_0x283909(0x209),_0x283909(0x336),_0x283909(0x265),_0x283909(0x291));}}let _0x3a9b89={};if(_0x533e34[_0x283909(0x270)](_0x283909(0x23b))){if(!_0x389f4f)return void UiUtil[_0x283909(0x29f)]('title.info',_0x283909(0x260),_0x283909(0x265),_0x283909(0x291));let _0x492714=_0x389f4f?await _0x389f4f[_0x283909(0x29e)]():[];_0x3a9b89['filter']=_0x492714;}if(_0x533e34[_0x283909(0x270)](_0x283909(0x1f1)))_0x3a9b89[_0x283909(0x30f)]=_0x5d6c4b[_0x283909(0x1f7)][_0x283909(0x2b0)];else{if(_0x533e34[_0x283909(0x270)](_0x283909(0x28e)))_0x3a9b89[_0x283909(0x30f)]=_0x5d6c4b['selected'][0x0];else{if(_0x533e34[_0x283909(0x270)](_0x283909(0x278)))_0x3a9b89['grist']=_0x5d6c4b[_0x283909(0x21e)];else{if(_0x533e34[_0x283909(0x270)](_0x283909(0x25b))&&(_0x3a9b89[_0x283909(0x30f)]=ServiceUtil['patchesForUpdateMultiple'](_0x5d6c4b),!_0x3a9b89['grist']))return;}}}if(_0x283909(0x302)===_0x505911){let _0x3aff0b,_0x2cdf88=Array[_0x283909(0x2db)](_0x3a9b89[_0x283909(0x30f)])?_0x3a9b89[_0x283909(0x30f)]:[_0x3a9b89[_0x283909(0x30f)]];_0x3aff0b=_0xf5f9cc['param_field']?_0x2cdf88[_0x283909(0x20f)](_0x4b839f=>{const _0x1db4f1=_0x283909;let _0x398040={};return Object[_0x1db4f1(0x309)](_0x4b839f)[_0x1db4f1(0x23b)](_0x30374c=>Object[_0x1db4f1(0x309)](_0xf5f9cc[_0x1db4f1(0x24f)])[_0x1db4f1(0x270)](_0x30374c))[_0x1db4f1(0x20f)](_0x2900c6=>{const _0x340743=_0x1db4f1;Object[_0x340743(0x309)](_0xf5f9cc[_0x340743(0x24f)])['includes'](_0x2900c6)&&(_0x340743(0x338)==typeof _0x4b839f[_0x2900c6]?_0x398040[_0xf5f9cc[_0x340743(0x24f)][_0x2900c6]]=_0x4b839f[_0x2900c6]:_0x398040[_0xf5f9cc[_0x340743(0x24f)][_0x2900c6]]={'id':_0x4b839f[_0x2900c6]['id']});}),_0x398040;}):_0x2cdf88,UiUtil[_0x283909(0x252)](_0xf5f9cc['url'],_0x3aff0b);}else{if(_0x283909(0x324)===_0x505911){let _0x3445f4={..._0x3a9b89[_0x283909(0x30f)]?_0x3a9b89[_0x283909(0x30f)]:{},..._0x3a9b89[_0x283909(0x23b)]?_0x3a9b89['filter']:{}};await MetaUiUtil['commonButtonOpenPopup'](_0x4b623d,_0xf5f9cc,_0x3445f4);}else _0x283909(0x31c)===_0x505911&&await MetaUiUtil[_0x283909(0x2ba)](_0x4b623d,_0xf5f9cc,_0x3a9b89);}}static[a0_0x46fcf6(0x271)](_0x64b73e,_0x16cc4d,_0x1aa4ac){const _0x36d8b2=a0_0x46fcf6;let _0x5470c3=_0x16cc4d[_0x36d8b2(0x1fd)],_0xa31991={},_0xc55650=_0x64b73e[_0x36d8b2(0x23c)][_0x36d8b2(0x2e9)](),_0x33e663=_0x64b73e;_0xa31991=_0xc55650[_0x36d8b2(0x229)](_0x36d8b2(0x22e))?{'detail':{..._0x5470c3}}:_0xc55650[_0x36d8b2(0x229)](_0x36d8b2(0x308))?_0x64b73e[_0x36d8b2(0x26a)][_0x36d8b2(0x23c)]['toLowerCase']()[_0x36d8b2(0x229)](_0x36d8b2(0x250))?{'detail':{..._0x5470c3}}:{'self':{..._0x5470c3}}:_0x5470c3,Object[_0x36d8b2(0x309)](_0xa31991)[_0x36d8b2(0x275)](_0x59aac0=>{const _0x14920f=_0x36d8b2;_0x14920f(0x330)==_0x59aac0?_0x33e663=_0x64b73e[_0x14920f(0x2bf)]['masterElement']:'detail'==_0x59aac0?_0x33e663=_0x64b73e[_0x14920f(0x2bf)]?_0x64b73e[_0x14920f(0x2bf)][_0x14920f(0x26a)]:_0x64b73e[_0x14920f(0x26a)]:_0x14920f(0x2be)==_0x59aac0&&(_0x33e663=_0x64b73e),Object[_0x14920f(0x309)](_0xa31991[_0x59aac0])['forEach'](_0x3f5925=>{const _0x12c69f=_0x14920f;let _0x102d9d=_0x33e663[_0x12c69f(0x216)][_0x12c69f(0x2c1)]('#'+_0x3f5925);_0x1aa4ac['id']&&_0x102d9d[_0x12c69f(0x22d)](_0x1aa4ac['id']);let _0x2f3994=_0xa31991[_0x59aac0][_0x3f5925];Object['keys'](_0x2f3994)[_0x12c69f(0x275)](_0x25153b=>{let _0x548dde=_0x2f3994[_0x25153b],_0x2622c9='*'===_0x548dde?_0x1aa4ac:_0x1aa4ac[_0x548dde];_0x102d9d[_0x25153b]=_0x2622c9;});});});}static async[a0_0x46fcf6(0x272)](_0x5ba694,_0x2d90d1,_0x1cd1a4){const _0x487ed3=a0_0x46fcf6;let _0x47f2de=TermsUtil[_0x487ed3(0x340)](_0x2d90d1[_0x487ed3(0x221)]);ValueUtil[_0x487ed3(0x1fa)](_0x2d90d1['title_detail'])&&(_0x47f2de=_0x47f2de+'('+ValueUtil[_0x487ed3(0x219)](_0x1cd1a4,..._0x2d90d1[_0x487ed3(0x2d7)]['split']('.'))+')');let _0x332ebf=_0x2d90d1[_0x487ed3(0x2d2)]&&_0x487ed3(0x338)==typeof _0x2d90d1[_0x487ed3(0x2d2)]&&_0x487ed3(0x2dc)===_0x2d90d1[_0x487ed3(0x2d2)]&&_0x5ba694&&_0x5ba694[_0x487ed3(0x2dc)]?_0x5ba694[_0x487ed3(0x2dc)][_0x487ed3(0x24b)](_0x5ba694):void 0x0;UiUtil['openDynamicPopup'](_0x47f2de,_0x2d90d1,_0x1cd1a4,_0x332ebf);}static async[a0_0x46fcf6(0x2ba)](_0xe64f1e,_0x743ae3,_0x26b576){const _0x2c6f89=a0_0x46fcf6;let _0x16e59f=await ServiceUtil[_0x2c6f89(0x311)]('service',_0x743ae3[_0x2c6f89(0x230)],_0x26b576);if(!_0x16e59f[_0x2c6f89(0x22f)]&&!ValueUtil['isEmpty'](_0x743ae3[_0x2c6f89(0x2d2)])&&_0x743ae3[_0x2c6f89(0x2d2)]){if('fetch'!==_0x743ae3[_0x2c6f89(0x2d2)]){if(_0x2c6f89(0x20d)==typeof _0x743ae3[_0x2c6f89(0x2d2)]){let _0x29ca43=_0x743ae3['after'],_0x889df2=ValueUtil[_0x2c6f89(0x219)](_0x16e59f[_0x2c6f89(0x1f7)][_0x2c6f89(0x20c)][_0x2c6f89(0x1f7)],..._0x29ca43[_0x2c6f89(0x2a0)][_0x2c6f89(0x2a8)]('.'));if(0x0==Array['isArray'](_0x889df2)&&(_0x889df2=[_0x889df2]),_0x2c6f89(0x254)===_0x29ca43[_0x2c6f89(0x2c9)])_0x29ca43[_0x2c6f89(0x334)]=_0x2c6f89(0x2f3),_0x29ca43['location']=_0x2c6f89(0x27f),_0x29ca43[_0x2c6f89(0x24c)]='id',_0x889df2=_0x889df2[0x0],await MetaUiUtil[_0x2c6f89(0x272)](_0xe64f1e,_0x29ca43,_0x889df2);else{if(_0x2c6f89(0x302)===_0x29ca43['type']){let _0x265011,_0x390e30=_0x889df2;_0x265011=_0x29ca43[_0x2c6f89(0x24f)]?_0x390e30[_0x2c6f89(0x20f)](_0x484ae8=>{const _0x58fe2c=_0x2c6f89;let _0x11db76={};return Object[_0x58fe2c(0x309)](_0x484ae8)[_0x58fe2c(0x23b)](_0x162897=>Object[_0x58fe2c(0x309)](_0x29ca43[_0x58fe2c(0x24f)])[_0x58fe2c(0x270)](_0x162897))[_0x58fe2c(0x20f)](_0x2ffc88=>{const _0x48061f=_0x58fe2c;Object['keys'](_0x29ca43[_0x48061f(0x24f)])[_0x48061f(0x270)](_0x2ffc88)&&('string'==typeof _0x484ae8[_0x2ffc88]?_0x11db76[_0x29ca43[_0x48061f(0x24f)][_0x2ffc88]]=_0x484ae8[_0x2ffc88]:_0x11db76[_0x29ca43[_0x48061f(0x24f)][_0x2ffc88]]={'id':_0x484ae8[_0x2ffc88]['id']});}),_0x11db76;}):_0x390e30,UiUtil[_0x2c6f89(0x252)](_0x29ca43[_0x2c6f89(0x312)],_0x265011);}else _0x2c6f89(0x30a)===_0x29ca43[_0x2c6f89(0x2c9)]?(_0x889df2=_0x889df2[0x0],MetaUiUtil[_0x2c6f89(0x271)](_0xe64f1e,_0x29ca43,_0x889df2)):_0x2c6f89(0x324)===_0x29ca43['type']?(_0x889df2=_0x889df2[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0xe64f1e,_0x29ca43,_0x889df2)):_0x2c6f89(0x228)===_0x29ca43[_0x2c6f89(0x2c9)]&&(_0x889df2=_0x889df2[0x0],await MetaUiUtil[_0x2c6f89(0x255)](_0xe64f1e,_0x29ca43,_0x889df2));}}}else _0xe64f1e[_0x2c6f89(0x2dc)]();}}static async[a0_0x46fcf6(0x255)](_0x4a89c1,_0x7974cc,_0x4497d8){const _0xb163a0=a0_0x46fcf6;for(let _0x2f708b=0x0;_0x2f708b<_0x7974cc[_0xb163a0(0x2ea)]['length'];_0x2f708b++){let _0x3a9ab7=_0x7974cc[_0xb163a0(0x2ea)][_0x2f708b];!0x0===ValueUtil[_0xb163a0(0x1f3)](_0x3a9ab7,_0x4497d8,Object[_0xb163a0(0x309)](_0x3a9ab7)[_0xb163a0(0x23b)](_0x72c36e=>_0xb163a0(0x2e8)!=_0x72c36e))&&await MetaUiUtil[_0xb163a0(0x20e)](_0x4a89c1,_0x3a9ab7,_0x4497d8);}}static[a0_0x46fcf6(0x305)](_0x4e9872,_0x283e6c){return{'type':_0x4e9872,'name':_0x283e6c,'sortable':!0x1,'hidden':!0x0};}static[a0_0x46fcf6(0x345)](_0x4dad2b,_0x225d2e,_0x550b88,_0x391c36,_0x2d1996,_0xe5e6b4){const _0x4721e6=a0_0x46fcf6;let _0x4e14ae=TermsUtil[_0x4721e6(0x206)](_0x225d2e);return{'type':_0x4dad2b,'name':_0x225d2e,'header':_0x4e14ae,'record':{'align':_0x550b88,'editable':_0x391c36},'sortable':_0x2d1996,'width':_0xe5e6b4,'imex':{'width':Math['floor'](_0xe5e6b4/0x6),'header':_0x4e14ae,'type':_0x4dad2b,'key':_0x225d2e}};}static[a0_0x46fcf6(0x25a)](_0x18611d,_0x1717c1,_0x3606bf,_0x23732a,_0x1c4ec9,_0x5f5415,_0x228600){const _0x1dcee0=a0_0x46fcf6;let _0x27e12c=TermsUtil['tLabel'](_0x3606bf);return{'type':_0x18611d,'name':_0x1717c1,'header':_0x27e12c,'record':{'align':_0x23732a,'editable':_0x1c4ec9},'sortable':_0x5f5415,'width':_0x228600,'imex':{'width':Math[_0x1dcee0(0x313)](_0x228600/0x6),'header':_0x27e12c,'type':_0x18611d,'key':_0x1717c1}};}static[a0_0x46fcf6(0x284)](_0x4c2363,_0x128701,_0x975ea4,_0x316796,_0x12b6ad,_0x2091f7,_0x319b61,_0x4fe452){const _0x5dc2f4=a0_0x46fcf6;let _0x3fbbaf=TermsUtil[_0x5dc2f4(0x206)](_0x975ea4);return{'type':_0x4c2363,'name':_0x128701,'header':_0x3fbbaf,'record':{'align':_0x316796,'editable':_0x12b6ad,'mandatory':_0x319b61},'sortable':_0x2091f7,'width':_0x4fe452,'imex':{'width':Math['floor'](_0x4fe452/0x6),'header':_0x3fbbaf,'type':_0x4c2363,'key':_0x128701}};}static[a0_0x46fcf6(0x21a)](_0x5a11c0,_0x4ec84f,_0x1da43b,_0x4b95a0,_0x5efa18,_0x3671c7,_0x5a5014){const _0x113af6=a0_0x46fcf6;let _0x1c9fa5=TermsUtil[_0x113af6(0x206)](_0x4ec84f);return{'type':_0x113af6(0x240),'name':_0x5a11c0,'header':_0x1c9fa5,'record':{'align':_0x1da43b,'editable':!0x0,'mandatory':_0x3671c7,'options':_0x5a5014},'sortable':_0x4b95a0,'width':_0x5efa18,'imex':{'width':Math['floor'](_0x5efa18/0x6),'header':_0x1c9fa5,'type':_0x113af6(0x338),'key':_0x5a11c0}};}static async[a0_0x46fcf6(0x27e)](_0x3b0ee4,_0x2e51f7,_0x3c4fcb,_0xbf81b6,_0x52e2ba,_0x32d33e,_0x53397c){const _0xc90281=a0_0x46fcf6;let _0x228ab3=await ServiceUtil['getCodeSelectorData'](_0x53397c);return MetaUiUtil[_0xc90281(0x21a)](_0x3b0ee4,_0x2e51f7,_0x3c4fcb,_0xbf81b6,_0x52e2ba,_0x32d33e,_0x228ab3);}static[a0_0x46fcf6(0x289)](_0x50292e,_0x5a9ae6,_0x3cd680,_0x11d70a,_0x180cca){const _0x1e0638=a0_0x46fcf6;let _0x5c6152=TermsUtil['tLabel'](_0x3cd680),_0xb6664a={'name':_0x50292e,'type':_0x5a9ae6,'label':_0x5c6152,'operator':_0x11d70a,'imex':{'width':0x10,'header':_0x5c6152,'type':_0x5a9ae6,'key':_0x50292e}};return _0x180cca&&(_0xb6664a[_0x1e0638(0x263)]=_0x180cca),_0xb6664a;}static async[a0_0x46fcf6(0x33e)](_0x1ab9fd,_0x4384db,_0x144b11,_0x178c45,_0x4691aa){const _0x18744a=a0_0x46fcf6;let _0x86b610=await ServiceUtil[_0x18744a(0x2b5)](_0x4691aa);return MetaUiUtil[_0x18744a(0x289)](_0x1ab9fd,_0x4384db,_0x144b11,_0x178c45,_0x86b610);}static[a0_0x46fcf6(0x2ff)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0xd3100(0x26a)])return;let _0x40a5b4=[{'name':_0xd3100(0x280),'operator':'eq','value':_0x3cfdcd}];return await ServiceUtil[_0xd3100(0x1a9)](_0xd3100(0x231),_0x40a5b4,null,0x0,0x0,_0xd3100(0x27b));}static async[a0_0x3ec359(0x16b)](_0x483e53,_0x1e27dc){const _0x1ccf92=a0_0x3ec359;let _0x4fdd4e,_0x5dab57=await MetaUiUtil[_0x1ccf92(0x24d)](_0x1e27dc);if(_0x5dab57&&_0x5dab57[_0x1ccf92(0x199)]&&0x0!=_0x5dab57[_0x1ccf92(0x199)][_0x1ccf92(0x23b)]?(_0x4fdd4e=_0x5dab57['records'][0x0],!_0x4fdd4e[_0x1ccf92(0x2c3)]&&_0x483e53['defaultPageConfig']&&(_0x4fdd4e['template']=_0x483e53[_0x1ccf92(0x176)])):_0x483e53[_0x1ccf92(0x176)]&&(_0x4fdd4e={'id':_0x1e27dc,'template':_0x483e53[_0x1ccf92(0x176)]}),!_0x4fdd4e)throw new Error(TermsUtil[_0x1ccf92(0x202)]('value_is_not_exist',{'value':TermsUtil[_0x1ccf92(0x1db)](_0x1ccf92(0x186))+'\x20'+_0x1e27dc}));if(!_0x4fdd4e[_0x1ccf92(0x2c3)])throw new Error(TermsUtil[_0x1ccf92(0x202)]('value_is_not_exist',{'value':TermsUtil[_0x1ccf92(0x1db)](_0x1ccf92(0x186))+'\x20'+TermsUtil['tLabel'](_0x1ccf92(0x2a8))}));return this[_0x1ccf92(0x179)]=_0x4fdd4e['id'],JSON[_0x1ccf92(0x270)](MetaCrypto[_0x1ccf92(0x1e4)](_0x4fdd4e[_0x1ccf92(0x2c3)]));}static['getBasicGristPageProperties'](){return{'menuInfo':Object,'gridConfig':Object,'gridColumnConfig':Array,'formColumnConfig':Array,'buttonConfig':Array,'searchConfig':Array,'gqlInfo':String,'gqlFetchField':String,'searchFormElement':String,'useFilterForm':Boolean,'gristConfigSet':Object,'formConfigSet':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':!0x0,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x2e5b80=>Boolean(_0x2e5b80)},'is_popup':{'type':Boolean,'converter':_0x4adc7e=>Boolean(_0x4adc7e)},'is_activity':{'type':Boolean,'converter':_0x2f927b=>Boolean(_0x2f927b)},'is_readonly':{'type':Boolean,'converter':_0x3d0b01=>Boolean(_0x3d0b01)}};}static async[a0_0x3ec359(0x28d)](_0x103071){const _0x391ba7=a0_0x3ec359;if(0x0==store[_0x391ba7(0x27f)]()[_0x391ba7(0x1a0)][_0x391ba7(0x242)])return void document[_0x391ba7(0x207)](new CustomEvent(_0x391ba7(0x239),{'detail':{'level':_0x391ba7(0x170),'message':TermsUtil[_0x391ba7(0x20f)](_0x391ba7(0x206))}}));let _0x37baf9=_0x103071[_0x391ba7(0x1b6)]?UiUtil['currentRouting']():_0x103071['route_name'];_0x103071[_0x391ba7(0x201)]=_0x37baf9;let _0x2743a7=await MetaUiUtil[_0x391ba7(0x16b)](_0x103071,_0x37baf9);return!0x0===_0x103071[_0x391ba7(0x2ac)]&&(_0x2743a7[_0x391ba7(0x278)][_0x391ba7(0x284)][_0x391ba7(0x200)]=!0x1,_0x2743a7[_0x391ba7(0x278)][_0x391ba7(0x284)]['pages']=_0x391ba7(0x285),_0x2743a7[_0x391ba7(0x278)][_0x391ba7(0x263)]=!0x1,_0x2743a7[_0x391ba7(0x278)]['button']=[],_0x2743a7['button']=_0x2743a7[_0x391ba7(0x298)][_0x391ba7(0x245)](_0x462545=>_0x391ba7(0x205)==_0x462545['name'])),!0x0===_0x103071[_0x391ba7(0x224)]&&(_0x2743a7[_0x391ba7(0x1a5)][_0x391ba7(0x235)](_0x460a4e=>{const _0x4fa354=_0x391ba7;_0x460a4e[_0x4fa354(0x1ef)]=!0x1;}),_0x2743a7['button']=_0x2743a7[_0x391ba7(0x298)][_0x391ba7(0x245)](_0x1f6286=>'add'!=_0x1f6286[_0x391ba7(0x1c6)])),!0x1===_0x103071[_0x391ba7(0x263)]&&(_0x2743a7['grid'][_0x391ba7(0x263)]=!0x1),_0x2743a7['grid_column'][_0x391ba7(0x235)](_0x48b3cb=>{const _0x54757e=_0x391ba7;['resource-object','object'][_0x54757e(0x1ab)](_0x48b3cb[_0x54757e(0x18d)])?_0x48b3cb[_0x54757e(0x18d)]=_0x54757e(0x178):['resource-code-selector'][_0x54757e(0x1ab)](_0x48b3cb['type'])&&(_0x48b3cb['type']=_0x54757e(0x18c));}),_0x2743a7;}static[a0_0x3ec359(0x1fb)](..._0x260db8){return{'pages':_0x260db8};}static[a0_0x3ec359(0x29f)](_0x41d15c,_0x3a8d8c){const _0x269586=a0_0x3ec359;let _0x2b9bb7=[{'type':_0x269586(0x248),'gutterName':_0x269586(0x292)},{'type':'gutter','gutterName':_0x269586(0x1ba)}];return _0x41d15c&&_0x2b9bb7[_0x269586(0x22a)]({'type':_0x269586(0x248),'gutterName':'row-selector','multiple':_0x3a8d8c}),_0x2b9bb7;}static['getGristSelectableConfig'](_0x498051){return{'selectable':{'multiple':_0x498051}};}static async[a0_0x3ec359(0x2a2)](_0x43796d){const _0x2256a8=a0_0x3ec359;_0x43796d[_0x2256a8(0x1e8)]||(_0x43796d[_0x2256a8(0x1e8)]={}),_0x43796d['gqlInfo'][_0x2256a8(0x24e)]||(_0x43796d['gqlInfo'][_0x2256a8(0x24e)]={}),_0x43796d[_0x2256a8(0x1e8)][_0x2256a8(0x24e)][_0x2256a8(0x2c7)]||(_0x43796d[_0x2256a8(0x1e8)]['query'][_0x2256a8(0x2c7)]={}),_0x43796d[_0x2256a8(0x1e8)][_0x2256a8(0x289)]||(_0x43796d[_0x2256a8(0x1e8)][_0x2256a8(0x289)]={}),_0x43796d[_0x2256a8(0x1e8)][_0x2256a8(0x289)][_0x2256a8(0x230)]||(_0x43796d[_0x2256a8(0x1e8)]['mutation'][_0x2256a8(0x230)]={}),_0x43796d[_0x2256a8(0x1e8)]['mutation'][_0x2256a8(0x230)][_0x2256a8(0x20b)]||(_0x43796d[_0x2256a8(0x1e8)][_0x2256a8(0x289)][_0x2256a8(0x230)][_0x2256a8(0x20b)]=[]);let _0x17c509=MetaUiUtil[_0x2256a8(0x260)](_0x43796d),_0x245c17=MetaUiUtil[_0x2256a8(0x22d)](_0x43796d),_0x1b525f=MetaUiUtil[_0x2256a8(0x279)](_0x43796d),_0x57b012=MetaUiUtil[_0x2256a8(0x241)](_0x43796d),_0xae3e2f=await MetaUiUtil[_0x2256a8(0x238)](_0x43796d);_0xae3e2f[_0x2256a8(0x245)](_0x4efeb1=>[_0x2256a8(0x178)][_0x2256a8(0x1ab)](_0x4efeb1[_0x2256a8(0x18d)]))[_0x2256a8(0x235)](_0x2c7ec3=>{const _0x264050=_0x2256a8;_0x43796d[_0x264050(0x2d1)][_0x264050(0x245)](_0x14dc3a=>_0x14dc3a[_0x264050(0x1c6)]==_0x2c7ec3[_0x264050(0x1c6)])[_0x264050(0x235)](_0x66513d=>{const _0x20ceb8=_0x264050,_0x2cb38e=_0x2c7ec3[_0x20ceb8(0x2c0)][_0x20ceb8(0x1d3)],_0x374704=_0x2cb38e['referenceField']?_0x2cb38e[_0x20ceb8(0x1bf)]:_0x2c7ec3[_0x20ceb8(0x1c6)]+'Id',_0x1fd4b5=_0x43796d[_0x20ceb8(0x2d1)]['findIndex'](_0x47db42=>_0x47db42[_0x20ceb8(0x1c6)]==_0x2c7ec3[_0x20ceb8(0x1c6)]);_0xae3e2f[_0x20ceb8(0x22a)]({'type':_0x20ceb8(0x178),'header':_0x2c7ec3['header'],'name':_0x374704,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x2cb38e}}),_0x43796d['gqlInfo']['query']['after_set_fields'][_0x374704]='x',_0x43796d[_0x20ceb8(0x1e8)]['mutation'][_0x20ceb8(0x230)][_0x20ceb8(0x20b)][_0x20ceb8(0x22a)](_0x374704),_0x43796d[_0x20ceb8(0x2d1)][_0x1fd4b5]['name']=_0x374704,_0x43796d[_0x20ceb8(0x2d1)][_0x1fd4b5][_0x20ceb8(0x18d)]=_0x20ceb8(0x178);});});let _0x1b3b2b=MetaUiUtil[_0x2256a8(0x29f)](_0x17c509[_0x2256a8(0x200)],_0x1b525f[_0x2256a8(0x1ae)][_0x2256a8(0x230)]);return 0x1==_0x43796d['useFilterForm']&&(_0xae3e2f=MetaUiUtil[_0x2256a8(0x17a)](_0x43796d,_0xae3e2f)),{'list':_0x245c17,'pagination':_0x17c509[_0x2256a8(0x26e)],'sorters':_0x17c509[_0x2256a8(0x291)],'rows':_0x1b525f,'columns':[..._0x1b3b2b,..._0x57b012,..._0xae3e2f]};}static async[a0_0x3ec359(0x2b0)](_0x882cc){const _0xb5afe6=a0_0x3ec359;let _0x399b91=_0x882cc[_0xb5afe6(0x182)],_0x308dce=[];for(let _0x1799de=0x0;_0x1799de<_0x399b91[_0xb5afe6(0x23b)];_0x1799de++){let {type:_0x199d94='string',name:_0x1f9fe2,header:_0x34be7b,hidden:_0x3527c3=!0x1,editable:_0x689921=!0x0,mandatory:_0x3ab3cc=!0x1,align:_0x1cfcd2=_0xb5afe6(0x2c9),select_opt:_0x1c18da,object_opt:_0x38c964}=_0x399b91[_0x1799de],_0x5a2436={'type':_0x199d94,'name':_0x1f9fe2,'header_txt':ValueUtil['isEmpty'](_0x34be7b)?TermsUtil['tLabel'](_0x1f9fe2):TermsUtil[_0xb5afe6(0x1b0)](_0x34be7b),'header':{'renderer':function(_0x5e6b8b){return _0x5e6b8b['header_txt'];}},'hidden':_0x3527c3,'record':{'editable':_0x689921,'mandatory':_0x3ab3cc,'align':_0x1cfcd2,'classifier':function(){},'renderer':getRenderer(_0x199d94)}};if(_0x689921&&(_0x5a2436[_0xb5afe6(0x2c0)][_0xb5afe6(0x22c)]=getEditor(_0x199d94)),_0x199d94[_0xb5afe6(0x21e)]('meta-')&&_0x38c964&&_0x38c964[_0xb5afe6(0x186)]){let _0x2710dc,_0xc6d4f8=await MetaUiUtil[_0xb5afe6(0x24d)](_0x38c964[_0xb5afe6(0x186)]);_0xc6d4f8&&_0xc6d4f8['records']&&_0xc6d4f8[_0xb5afe6(0x199)]['length']>0x0&&_0xc6d4f8[_0xb5afe6(0x199)][0x0][_0xb5afe6(0x2c3)]&&(_0x2710dc=_0xc6d4f8[_0xb5afe6(0x199)][0x0]),_0x2710dc&&(_0x38c964['menu_template']=JSON[_0xb5afe6(0x270)](MetaCrypto[_0xb5afe6(0x1e4)](_0x2710dc['template']))),_0x2710dc&&(_0x38c964['menu_template']=JSON['parse'](MetaCrypto[_0xb5afe6(0x1e4)](_0x2710dc[_0xb5afe6(0x2c3)])),_0x2710dc&&(_0x38c964[_0xb5afe6(0x185)]=JSON[_0xb5afe6(0x270)](MetaCrypto[_0xb5afe6(0x1e4)](_0x2710dc[_0xb5afe6(0x2c3)])),_0x38c964[_0xb5afe6(0x1fc)]||(_0x38c964[_0xb5afe6(0x1fc)]=_0x38c964[_0xb5afe6(0x1f2)][_0xb5afe6(0x24e)][_0xb5afe6(0x1f1)]),_0x199d94['includes']('-object-')?_0x38c964[_0xb5afe6(0x27a)]||(_0x38c964[_0xb5afe6(0x27a)]=_0x38c964[_0xb5afe6(0x185)][_0xb5afe6(0x186)][_0xb5afe6(0x27a)]||_0xb5afe6(0x1c6)):_0x199d94[_0xb5afe6(0x1ab)](_0xb5afe6(0x1b3))&&(_0x38c964[_0xb5afe6(0x2b8)]||(_0x38c964[_0xb5afe6(0x2b8)]=_0x38c964[_0xb5afe6(0x185)][_0xb5afe6(0x186)][_0xb5afe6(0x27a)]||_0xb5afe6(0x196)),_0x38c964[_0xb5afe6(0x272)]||(_0x38c964[_0xb5afe6(0x272)]=_0x38c964[_0xb5afe6(0x185)][_0xb5afe6(0x186)][_0xb5afe6(0x1c7)]||void 0x0))));}_0xb5afe6(0x295)===_0x199d94&&ValueUtil[_0xb5afe6(0x273)](_0x1c18da)&&(Array[_0xb5afe6(0x188)](_0x1c18da)?_0x5a2436[_0xb5afe6(0x2c0)]['options']=_0x1c18da:'code'===_0x1c18da[_0xb5afe6(0x18d)]?_0x5a2436[_0xb5afe6(0x2c0)][_0xb5afe6(0x1d3)]=await ServiceUtil[_0xb5afe6(0x1a3)](_0x1c18da['values']?_0x1c18da[_0xb5afe6(0x1a4)]:_0x1c18da[_0xb5afe6(0x1c6)]):'scenario'===_0x1c18da['type']?_0x5a2436[_0xb5afe6(0x2c0)][_0xb5afe6(0x1d3)]=await ServiceUtil[_0xb5afe6(0x2b3)](_0x1c18da[_0xb5afe6(0x1c6)],_0x1c18da['args']):_0xb5afe6(0x2bc)===_0x1c18da[_0xb5afe6(0x18d)]&&(_0x5a2436[_0xb5afe6(0x2c0)][_0xb5afe6(0x1d3)]=await ServiceUtil['getCodeByEntity'](_0x1c18da[_0xb5afe6(0x2ca)]))),_0xb5afe6(0x178)===_0x199d94&&ValueUtil['isNotEmpty'](_0x38c964)?_0x5a2436[_0xb5afe6(0x2c0)][_0xb5afe6(0x1d3)]={..._0x38c964}:_0xb5afe6(0x18c)===_0x199d94&&ValueUtil[_0xb5afe6(0x273)](_0x38c964)&&(_0x38c964[_0xb5afe6(0x272)]&&(_0x38c964['codes']=await ServiceUtil[_0xb5afe6(0x20e)](_0x38c964)),_0x5a2436[_0xb5afe6(0x2c0)][_0xb5afe6(0x1d3)]={..._0x38c964}),_0x308dce['push'](_0x5a2436);}return _0x308dce;}static['getGridOptionSet'](_0x13b53c){const _0x3a86ce=a0_0x3ec359;let _0x1c5450=_0x13b53c[_0x3a86ce(0x2aa)];_0x13b53c[_0x3a86ce(0x234)]=!_0x1c5450||null==_0x1c5450[_0x3a86ce(0x263)]||_0x1c5450[_0x3a86ce(0x263)];let {mobile_mode:_0x1971ce='LIST',desk_mode:_0x33162e=_0x3a86ce(0x172),view_mode:_0x3fb73f=[],use_row_checker:_0xd6340a=!0x0,sorters:_0x423eac=[],pages:_0x523462=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x1c5450[_0x3a86ce(0x284)])?{}:_0x1c5450['option'];return _0x3a86ce(0x285)===_0x523462||'-1'===_0x523462?(_0x13b53c[_0x3a86ce(0x1a8)]=!0x0,_0x523462={'infinite':!0x0}):(_0x13b53c[_0x3a86ce(0x1a8)]=!0x1,_0x523462['sort'](function(_0x526571,_0x1adc23){return _0x526571-_0x1adc23;}),_0x523462={'pages':_0x523462}),ValueUtil['isNotEmpty'](_0x3fb73f)&&(0x1==_0x3fb73f[_0x3a86ce(0x23b)]?(_0x33162e=_0x3fb73f[0x0],_0x1971ce=_0x3fb73f[0x0]):_0x3fb73f[_0x3a86ce(0x23b)]>=0x2&&(_0x3fb73f['includes'](_0x1971ce)||(_0x1971ce=_0x3fb73f[0x1]),_0x3fb73f['includes'](_0x33162e)||(_0x33162e=_0x3fb73f[0x0]))),_0x13b53c[_0x3a86ce(0x2a7)]=_0x1971ce,_0x13b53c[_0x3a86ce(0x16f)]=_0x33162e,_0x13b53c[_0x3a86ce(0x189)]=_0x3fb73f,_0x13b53c[_0x3a86ce(0x19b)]=UiUtil['isMobileEnv']()?_0x13b53c[_0x3a86ce(0x2a7)]:_0x13b53c['gridDeskMode'],{'use_row_checker':_0xd6340a,'sorters':_0x423eac,'pages':_0x523462};}static['getGridListSet'](_0xf828da){const _0x34e731=a0_0x3ec359;let _0x27c88f={'fields':[ValueUtil[_0x34e731(0x28a)](_0xf828da['menuInfo'],_0x34e731(0x1c6)),ValueUtil[_0x34e731(0x28a)](_0xf828da[_0x34e731(0x180)],_0x34e731(0x17d))]};return _0xf828da[_0x34e731(0x2aa)][_0x34e731(0x18e)]&&Object[_0x34e731(0x297)](_0x27c88f,_0xf828da[_0x34e731(0x2aa)][_0x34e731(0x18e)]),_0x27c88f;}static[a0_0x3ec359(0x279)](_0x1e4dd5){const _0x5beac0=a0_0x3ec359;let {multiple_select:_0x40f3ec=!0x1,click:_0x5a3851}=ValueUtil['isEmpty'](_0x1e4dd5['gridConfig'][_0x5beac0(0x267)])?{}:_0x1e4dd5['gridConfig'][_0x5beac0(0x267)],_0xba266={'selectable':{'multiple':_0x40f3ec},'appendable':_0x1e4dd5[_0x5beac0(0x29d)]};return ValueUtil[_0x5beac0(0x273)](_0x5a3851)&&(_0xba266[_0x5beac0(0x2a3)]={'click':_0x5a3851}),_0xba266;}static[a0_0x3ec359(0x241)](_0x24207d){const _0xafef5e=a0_0x3ec359;let _0x12551a=_0x24207d[_0xafef5e(0x2aa)][_0xafef5e(0x298)];return ValueUtil['isEmpty'](_0x12551a)?[]:_0x12551a[_0xafef5e(0x19a)](_0x3d454c=>{const _0x2f7a86=_0xafef5e;let _0x303edd={'type':_0x2f7a86(0x248),'gutterName':_0x2f7a86(0x298)};if(ValueUtil[_0x2f7a86(0x273)](_0x3d454c[_0x2f7a86(0x19d)])&&(Array[_0x2f7a86(0x188)](_0x3d454c['icon'])?_0x303edd[_0x2f7a86(0x19d)]=_0x1ac257=>{const _0x22dcbf=_0x2f7a86;if(ValueUtil[_0x22dcbf(0x273)](_0x1ac257))for(let _0x1726c8=0x0;_0x1726c8<_0x3d454c[_0x22dcbf(0x19d)][_0x22dcbf(0x23b)];_0x1726c8++){let _0x34d742=_0x3d454c[_0x22dcbf(0x19d)][_0x1726c8];if(!0x0===ValueUtil[_0x22dcbf(0x1d6)](_0x34d742,_0x1ac257,Object[_0x22dcbf(0x25b)](_0x34d742)[_0x22dcbf(0x245)](_0xb24bbe=>_0x22dcbf(0x19d)!=_0xb24bbe)))return _0x34d742['icon'];}}:_0x303edd[_0x2f7a86(0x19d)]=_0x3d454c[_0x2f7a86(0x19d)]),ValueUtil[_0x2f7a86(0x273)](_0x3d454c[_0x2f7a86(0x1c6)])&&(_0x303edd[_0x2f7a86(0x1c6)]=_0x3d454c[_0x2f7a86(0x1c6)]),ValueUtil[_0x2f7a86(0x273)](_0x3d454c[_0x2f7a86(0x237)])&&(_0x303edd[_0x2f7a86(0x1df)]=TermsUtil[_0x2f7a86(0x299)](_0x3d454c[_0x2f7a86(0x237)])),_0x2f7a86(0x2a0)===_0x3d454c[_0x2f7a86(0x18d)]){let _0x28350c=ValueUtil[_0x2f7a86(0x28a)](_0x3d454c,'logic');[_0x2f7a86(0x232),'history_json'][_0x2f7a86(0x1ab)](_0x28350c)?_0x303edd[_0x2f7a86(0x2a3)]={'click':(_0x3f8f64,_0x209e79,_0x2093aa,_0x3e9cb2,_0x185990)=>{const _0x4333a9=_0x2f7a86;if(_0x3e9cb2['id']){let _0xf2084e={'title':_0x4333a9(0x1dd),'type':_0x4333a9(0x1f9),'tagname':_0x4333a9(0x232)==_0x28350c?'history-copy-list-popup':_0x4333a9(0x194),'location':_0x4333a9(0x232)==_0x28350c?_0x4333a9(0x18a):_0x4333a9(0x1b9),'menu':_0x24207d[_0x4333a9(0x201)],'size':_0x4333a9(0x19c),'popup_field':_0x4333a9(0x19f),'parent_field':'id'},_0x3ebcf5={..._0x3e9cb2,'gqlFunc':ValueUtil['getParams'](_0x24207d[_0x4333a9(0x1e8)],_0x4333a9(0x24e),'find_one_func'),'gristConfig':JSON[_0x4333a9(0x270)](JSON['stringify'](_0x24207d['grist'][_0x4333a9(0x247)]))};MetaUiUtil[_0x4333a9(0x1cb)](_0x24207d,{'logic':_0xf2084e},_0x3ebcf5);}}}:_0x303edd['handlers']={'click':_0x28350c};}else _0x303edd[_0x2f7a86(0x2a3)]={'click':(_0x242145,_0x391511,_0x50711e,_0x14edc5,_0x324e39)=>{const _0x4c4675=_0x2f7a86;_0x14edc5['id']&&MetaUiUtil[_0x4c4675(0x1cb)](_0x24207d,_0x3d454c,_0x14edc5);}};return _0x303edd;});}static async['getGridColumnSet'](_0x3de35f){const _0x425cfd=a0_0x3ec359;let _0x440f55=_0x3de35f[_0x425cfd(0x227)];if(ValueUtil[_0x425cfd(0x2a9)](_0x440f55))return[];let _0xcc5e41=[];for(let _0x16d4d1=0x0;_0x16d4d1<_0x440f55['length'];_0x16d4d1++){let {type:_0x78cbee=_0x425cfd(0x1bc),name:_0x583668,header:_0xa9dfe,hidden:_0x311623=!0x1,editable:_0x40c4f3=!0x0,mandatory:_0x3a22bf=!0x1,sortable:_0x167e10=!0x1,align:_0x55cba9=_0x425cfd(0x2c9),width:_0x18dcfd=0x0,exportable:_0x43cba1=!0x1,select_opt:_0x44e79d,object_opt:_0x39c8d0,format:_0x40f294}=_0x440f55[_0x16d4d1],_0x2cdf03={'type':_0x78cbee,'name':_0x583668,'header':ValueUtil['isEmpty'](_0xa9dfe)?'':TermsUtil[_0x425cfd(0x1b0)](_0xa9dfe),'hidden':_0x311623,'sortable':_0x167e10,'width':_0x18dcfd,'record':{'editable':_0x40c4f3,'mandatory':_0x3a22bf,'align':_0x55cba9,'format':_0x40f294}};if(_0x78cbee[_0x425cfd(0x21e)](_0x425cfd(0x2ae))&&_0x39c8d0&&_0x39c8d0[_0x425cfd(0x186)]){let _0x4d39e4,_0x56879a=await MetaUiUtil['getMenuMetaData'](_0x39c8d0[_0x425cfd(0x186)]);_0x56879a&&_0x56879a['records']&&_0x56879a[_0x425cfd(0x199)][_0x425cfd(0x23b)]>0x0&&_0x56879a[_0x425cfd(0x199)][0x0][_0x425cfd(0x2c3)]&&(_0x4d39e4=_0x56879a[_0x425cfd(0x199)][0x0]),_0x4d39e4&&(_0x39c8d0['menu_template']=JSON[_0x425cfd(0x270)](MetaCrypto[_0x425cfd(0x1e4)](_0x4d39e4[_0x425cfd(0x2c3)])),_0x39c8d0[_0x425cfd(0x1fc)]||(_0x39c8d0['queryName']=_0x39c8d0[_0x425cfd(0x1f2)][_0x425cfd(0x24e)][_0x425cfd(0x1f1)]),_0x78cbee[_0x425cfd(0x1ab)](_0x425cfd(0x1fa))?_0x39c8d0['nameField']||(_0x39c8d0[_0x425cfd(0x27a)]=_0x39c8d0[_0x425cfd(0x185)][_0x425cfd(0x186)]['nameField']||_0x425cfd(0x1c6)):_0x78cbee[_0x425cfd(0x1ab)](_0x425cfd(0x1b3))&&(_0x39c8d0[_0x425cfd(0x2b8)]||(_0x39c8d0[_0x425cfd(0x2b8)]=_0x39c8d0[_0x425cfd(0x185)][_0x425cfd(0x186)][_0x425cfd(0x27a)]||_0x425cfd(0x196)),_0x39c8d0[_0x425cfd(0x272)]||(_0x39c8d0[_0x425cfd(0x272)]=_0x39c8d0[_0x425cfd(0x185)][_0x425cfd(0x186)]['descriptionField']||void 0x0)));}if(_0x425cfd(0x295)===_0x78cbee&&ValueUtil[_0x425cfd(0x273)](_0x44e79d)&&(Array['isArray'](_0x44e79d)?_0x2cdf03[_0x425cfd(0x2c0)][_0x425cfd(0x1d3)]=_0x44e79d:'code'===_0x44e79d[_0x425cfd(0x18d)]?_0x2cdf03[_0x425cfd(0x2c0)]['options']=await ServiceUtil[_0x425cfd(0x1a3)](_0x44e79d['values']?_0x44e79d[_0x425cfd(0x1a4)]:_0x44e79d[_0x425cfd(0x1c6)]):_0x425cfd(0x1ce)===_0x44e79d[_0x425cfd(0x18d)]?_0x2cdf03[_0x425cfd(0x2c0)][_0x425cfd(0x1d3)]=await ServiceUtil['getCodeByScenario'](_0x44e79d[_0x425cfd(0x1c6)],_0x44e79d[_0x425cfd(0x2ca)]):_0x425cfd(0x2bc)===_0x44e79d[_0x425cfd(0x18d)]&&(_0x2cdf03[_0x425cfd(0x2c0)][_0x425cfd(0x1d3)]=await ServiceUtil[_0x425cfd(0x20e)](_0x44e79d['args']))),_0x425cfd(0x178)===_0x78cbee&&ValueUtil[_0x425cfd(0x273)](_0x39c8d0)){let _0x22402e;_0x2cdf03[_0x425cfd(0x2c0)]['options']={..._0x39c8d0},_0x39c8d0[_0x425cfd(0x2b7)]&&_0x39c8d0[_0x425cfd(0x2b7)][_0x425cfd(0x1d1)]&&(_0x22402e=[..._0x39c8d0[_0x425cfd(0x2b7)]['filters']]),_0x22402e&&JSON[_0x425cfd(0x16e)](_0x22402e)[_0x425cfd(0x1ab)]('::')&&(_0x2cdf03['handlers']={'dblclick':(_0x2886aa,_0x3d6876,_0x52c493,_0x2f2533,_0x54c12e)=>{const _0x4a8261=_0x425cfd;let _0x156936=[];_0x22402e['forEach'](_0x2e010d=>{const _0x388c0d=a0_0x28a7;var {name:_0xf505c0,value:_0x28ad7f,operator:_0x4aff58='eq'}=_0x2e010d;_0x28ad7f[_0x388c0d(0x1ab)]('::')&&(_0x28ad7f=ValueUtil[_0x388c0d(0x28a)](_0x2f2533,..._0x28ad7f[_0x388c0d(0x2bb)]('::','')[_0x388c0d(0x26c)]('.'))),_0x28ad7f||(_0x28ad7f=''),_0x156936[_0x388c0d(0x22a)]({'name':_0xf505c0,'operator':_0x4aff58,'value':_0x28ad7f});}),_0x52c493['record'][_0x4a8261(0x1d3)][_0x4a8261(0x2b7)][_0x4a8261(0x1d1)]=_0x156936;}});}else _0x425cfd(0x18c)===_0x78cbee&&ValueUtil[_0x425cfd(0x273)](_0x39c8d0)&&(_0x39c8d0[_0x425cfd(0x272)]&&(_0x39c8d0[_0x425cfd(0x266)]=await ServiceUtil['getCodeByEntity'](_0x39c8d0)),_0x2cdf03['record'][_0x425cfd(0x1d3)]={..._0x39c8d0});!0x0===_0x3de35f[_0x425cfd(0x283)]&&!0x0===_0x43cba1&&(_0x2cdf03['imex']={'header':_0x2cdf03['header'],'key':_0x2cdf03[_0x425cfd(0x1c6)],'width':_0x2cdf03[_0x425cfd(0x1fd)]/0x6,'type':_0x2cdf03[_0x425cfd(0x18d)]}),_0xcc5e41[_0x425cfd(0x22a)](_0x2cdf03);}if(!0x0!==this[_0x425cfd(0x2ac)])return _0xcc5e41;let _0x57e679=await MetaApi[_0x425cfd(0x1d9)](this[_0x425cfd(0x179)]),{template:_0x3f2d28={}}=_0x57e679;if(!_0x3f2d28['master'])return _0xcc5e41;let _0x106564=_0x3f2d28[_0x425cfd(0x193)];return _0xcc5e41=_0xcc5e41[_0x425cfd(0x19a)](_0x5e8309=>('id'==_0x5e8309[_0x425cfd(0x1c6)]||(_0x5e8309['hidden']=!_0x106564[_0x425cfd(0x1ab)](_0x5e8309['name']),_0x5e8309[_0x425cfd(0x1f8)]=_0x106564[_0x425cfd(0x271)](_0x5e8309['name']),-0x1==_0x5e8309[_0x425cfd(0x1f8)]&&(_0x5e8309[_0x425cfd(0x1f8)]=0x1869f)),_0x5e8309)),_0xcc5e41['sort']((_0x1869d7,_0x24dd84)=>_0x1869d7[_0x425cfd(0x1f8)]-_0x24dd84[_0x425cfd(0x1f8)]),_0xcc5e41;}static[a0_0x3ec359(0x17a)](_0x59ac17,_0x24c4e1){const _0x326eb1=a0_0x3ec359;let _0x5a4f9a=_0x59ac17[_0x326eb1(0x2d1)];return _0x5a4f9a&&_0x5a4f9a[_0x326eb1(0x235)](_0x8c2376=>{const _0x329f62=_0x326eb1;_0x329f62(0x1bc)==typeof _0x8c2376?_0x24c4e1['filter'](_0x28795d=>_0x28795d['name']==_0x8c2376)[_0x329f62(0x235)](_0x20efdd=>{const _0x1613ee=_0x329f62;_0x20efdd[_0x1613ee(0x245)]='search';}):_0x329f62(0x1c1)==typeof _0x8c2376&&_0x24c4e1[_0x329f62(0x245)](_0x3c90bf=>_0x3c90bf[_0x329f62(0x1c6)]==_0x8c2376[_0x329f62(0x1c6)])[_0x329f62(0x235)](_0x18e250=>{const _0x2146b2=_0x329f62;_0x18e250['filter']=_0x8c2376,_0x18e250['filter'][_0x2146b2(0x18d)]='datetime'===_0x18e250['type']&&'eq'==_0x8c2376[_0x2146b2(0x25d)]?_0x2146b2(0x264):_0x18e250['type'];let _0x24c27a=_0x18e250[_0x2146b2(0x245)]['value'],_0x44a672=[_0x2146b2(0x246),'year',_0x2146b2(0x2af),_0x2146b2(0x2bd),'hour',_0x2146b2(0x1f0),_0x2146b2(0x21d)];if(_0x24c27a&&_0x44a672['filter'](_0x348317=>_0x24c27a[_0x2146b2(0x21e)](_0x348317))['length']>0x0){let _0x5ec7ec=[],_0x71d9bb={'date':_0x2146b2(0x1aa),'datetime':_0x2146b2(0x23f)},_0x341689={'today':_0x2146b2(0x221),'year':_0x2146b2(0x1de),'month':_0x2146b2(0x2af),'date':_0x2146b2(0x221),'hour':_0x2146b2(0x25f),'min':_0x2146b2(0x2c8),'sec':_0x2146b2(0x29b)};_0x24c27a[_0x2146b2(0x26c)](',')['forEach'](_0x139315=>{const _0x46a326=_0x2146b2,_0x117396=a0_0x1395ff();if(_0x44a672[_0x46a326(0x1ab)](_0x139315))_0x5ec7ec[_0x46a326(0x22a)](_0x117396[_0x46a326(0x1e5)](_0x341689[_0x139315])[_0x46a326(0x177)](_0x71d9bb[_0x18e250[_0x46a326(0x18d)]]));else{if(_0x139315[_0x46a326(0x1ab)]('-')){let _0x3b92fb=_0x139315[_0x46a326(0x26c)]('-'),_0x5a4e59=_0x3b92fb[0x0],_0x14efa5=_0x3b92fb[0x1];_0x5ec7ec[_0x46a326(0x22a)](_0x117396['subtract'](_0x14efa5,_0x341689[_0x5a4e59])[_0x46a326(0x1e5)](_0x341689[_0x5a4e59])['format'](_0x71d9bb[_0x18e250['type']]));}else{if(_0x139315[_0x46a326(0x1ab)]('+')){let _0x53b902=_0x139315[_0x46a326(0x26c)]('+'),_0x4406f6=_0x53b902[0x0],_0x2b96b9=_0x53b902[0x1];_0x5ec7ec[_0x46a326(0x22a)](_0x117396[_0x46a326(0x205)](_0x2b96b9,_0x341689[_0x4406f6])['startOf'](_0x341689[_0x4406f6])[_0x46a326(0x177)](_0x71d9bb[_0x18e250[_0x46a326(0x18d)]]));}}}}),_0x5ec7ec[_0x2146b2(0x23b)]>0x0&&(_0x18e250[_0x2146b2(0x245)]['value']=0x1==_0x5ec7ec['length']?_0x5ec7ec[0x0]:_0x5ec7ec);}});}),_0x24c4e1;}static[a0_0x3ec359(0x213)](_0x3b0eff){const _0x2ce640=a0_0x3ec359;let _0x5025ee={'title':TermsUtil[_0x2ce640(0x28b)](_0x3b0eff[_0x2ce640(0x180)][_0x2ce640(0x1df)]),'help':_0x3b0eff['menuInfo'][_0x2ce640(0x1a2)]||'','actions':[...MetaUiUtil[_0x2ce640(0x296)](_0x3b0eff)]};return _0x3b0eff[_0x2ce640(0x283)]&&(_0x5025ee['exportable']={'name':_0x5025ee[_0x2ce640(0x1df)],'data':_0x3b0eff['export'][_0x2ce640(0x256)](_0x3b0eff)}),_0x3b0eff[_0x2ce640(0x29a)]&&(_0x5025ee[_0x2ce640(0x18f)]={'handler':_0x3b0eff['import'][_0x2ce640(0x256)](_0x3b0eff)}),_0x5025ee;}static['getContextButtons'](_0x1c0ec9){const _0x805064=a0_0x3ec359;let _0x3f4224=_0x1c0ec9[_0x805064(0x16d)];return ValueUtil[_0x805064(0x2a9)](_0x3f4224)?[]:_0x3f4224[_0x805064(0x245)](_0x26bd8a=>_0x805064(0x171)!=_0x26bd8a['name']&&'import'!=_0x26bd8a[_0x805064(0x1c6)]&&'add'!=_0x26bd8a[_0x805064(0x1c6)])[_0x805064(0x19a)](_0x4bd1da=>{const _0x346cca=_0x805064;let {name:_0x481042,label:_0x1afe79,style:_0x5b6a9c,type:_0x289aad=_0x346cca(0x2a0),action:_0xe96653,logic:_0x24a97e}=_0x4bd1da;if(ValueUtil['isEmpty'](_0x481042))return{'title':'-1'};ValueUtil['isEmpty'](_0x1afe79)&&(_0x1afe79=_0x481042),ValueUtil[_0x346cca(0x2a9)](_0x5b6a9c)&&(_0x5b6a9c=_0x481042),ValueUtil[_0x346cca(0x2a9)](_0xe96653)&&(_0xe96653=_0x481042);let _0x4d3aab=ValueUtil['isNotEmpty'](_0x5b6a9c)?CommonButtonStyles[_0x5b6a9c]||{'icon':_0x5b6a9c,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x346cca(0x299)](_0x1afe79),'action':MetaUiUtil[_0x346cca(0x276)](_0x1c0ec9,_0x289aad,_0xe96653,_0x24a97e),..._0x4d3aab};})[_0x805064(0x245)](_0x430563=>'-1'!=_0x430563[_0x805064(0x1df)]);}static['getContainerButtons'](_0x5358db){const _0x3ea425=a0_0x3ec359;let _0x4aa2f0=_0x5358db&&_0x5358db['buttonConfig']?_0x5358db[_0x3ea425(0x16d)]:null;return _0x4aa2f0?_0x4aa2f0[_0x3ea425(0x245)](_0x46e2bf=>_0x3ea425(0x205)!=_0x46e2bf[_0x3ea425(0x1c6)])[_0x3ea425(0x19a)](_0x3c6601=>{const _0x4ea152=_0x3ea425;let {name:_0x42fe77,label:_0x10e5e2,style:_0x58f060,type:_0x364fc5=_0x4ea152(0x2a0),action:_0x385a8f,logic:_0x98f366}=_0x3c6601;ValueUtil[_0x4ea152(0x2a9)](_0x10e5e2)&&(_0x10e5e2=_0x42fe77),ValueUtil['isEmpty'](_0x58f060)&&(_0x58f060=_0x42fe77),ValueUtil['isEmpty'](_0x385a8f)&&(_0x385a8f=_0x42fe77);let _0x2c7c87=MetaUiUtil[_0x4ea152(0x28e)](TermsUtil['tButton'](_0x10e5e2),_0x58f060);return _0x2c7c87['onclick']=MetaUiUtil[_0x4ea152(0x276)](_0x5358db,_0x364fc5,_0x385a8f,_0x98f366),_0x2c7c87;}):[];}static[a0_0x3ec359(0x28e)](_0x36f50a,_0xd75544){const _0xd810ac=a0_0x3ec359;let _0x158aca=CommonButtonStyles[_0xd75544]||{'icon':_0xd75544,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x24ed50=_0xd810ac(0x282)+_0x36f50a+_0xd810ac(0x2cd)+(_0x158aca['icon']?_0x158aca[_0xd810ac(0x19d)]:'')+'\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x158aca[_0xd810ac(0x223)][_0xd810ac(0x228)]?_0xd810ac(0x228):'')+_0xd810ac(0x261)+(_0x158aca[_0xd810ac(0x223)][_0xd810ac(0x1ed)]?_0xd810ac(0x1ed):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x158aca[_0xd810ac(0x223)][_0xd810ac(0x1eb)]?'dense':'')+_0xd810ac(0x261)+(_0x158aca[_0xd810ac(0x223)][_0xd810ac(0x2c4)]?'danger':'')+_0xd810ac(0x175);return UiUtil[_0xd810ac(0x287)](_0x24ed50);}static['getButtonActionHandler'](_0x94ea31,_0x2dd06b,_0x8fd472,_0x5e665a){const _0x3d1b25=a0_0x3ec359;if(_0x3d1b25(0x2a0)==_0x2dd06b){if(_0x94ea31[_0x8fd472])return _0x94ea31[_0x8fd472][_0x3d1b25(0x256)](_0x94ea31);}else{if('custom'==_0x2dd06b)return()=>MetaUiUtil[_0x3d1b25(0x21c)](_0x94ea31,_0x5e665a);}return()=>{const _0x1d677a=_0x3d1b25;UiUtil[_0x1d677a(0x288)]('title.warning',_0x1d677a(0x24c),_0x1d677a(0x236),_0x1d677a(0x1e9));};}static async['gristButtonHandler'](_0x24e042,_0x26ceab,_0x4a8913){const _0x18deb2=a0_0x3ec359;let _0x1ad636=ValueUtil[_0x18deb2(0x28a)](_0x26ceab,_0x18deb2(0x252)),_0x58758a=ValueUtil[_0x18deb2(0x28a)](_0x1ad636,_0x18deb2(0x18d));if(_0x18deb2(0x23e)===_0x58758a)_0x1ad636[_0x18deb2(0x2b2)]='meta-form-element',_0x1ad636['location']=_0x18deb2(0x1d4),_0x1ad636['parent_field']='id',await MetaUiUtil[_0x18deb2(0x2c1)](_0x24e042,_0x1ad636,_0x4a8913);else{if(_0x18deb2(0x24f)===_0x58758a)MetaUiUtil[_0x18deb2(0x1e1)](_0x24e042,_0x1ad636,_0x4a8913);else{if(_0x18deb2(0x21b)===_0x58758a){let _0x42711c;_0x1ad636[_0x18deb2(0x1d8)]?(_0x42711c={},Object['keys'](_0x4a8913)['filter'](_0x52ab03=>Object[_0x18deb2(0x25b)](_0x1ad636['param_field'])['includes'](_0x52ab03))[_0x18deb2(0x19a)](_0x3d1ecf=>{const _0x45cf29=_0x18deb2;Object['keys'](_0x1ad636[_0x45cf29(0x1d8)])[_0x45cf29(0x1ab)](_0x3d1ecf)&&(_0x45cf29(0x1bc)==typeof _0x4a8913[_0x3d1ecf]?_0x42711c[_0x1ad636[_0x45cf29(0x1d8)][_0x3d1ecf]]=_0x4a8913[_0x3d1ecf]:_0x42711c[_0x1ad636[_0x45cf29(0x1d8)][_0x3d1ecf]]={'id':_0x4a8913[_0x3d1ecf]['id']});})):_0x42711c=_0x4a8913,UiUtil[_0x18deb2(0x255)](_0x1ad636[_0x18deb2(0x181)],[_0x42711c]);}else _0x18deb2(0x1f9)===_0x58758a?await MetaUiUtil[_0x18deb2(0x2c1)](_0x24e042,_0x1ad636,_0x4a8913):_0x18deb2(0x1ce)===_0x58758a?await MetaUiUtil['commonButtonCallScenario'](_0x24e042,_0x1ad636,_0x4a8913):'value_reference'===_0x58758a&&await MetaUiUtil[_0x18deb2(0x1f7)](_0x24e042,_0x1ad636,_0x4a8913);}}}static async[a0_0x3ec359(0x21c)](_0x17bd34,_0x37275f){const _0x54ca0d=a0_0x3ec359;if(ValueUtil[_0x54ca0d(0x2a9)](_0x37275f))return;let _0x32d5e3=_0x17bd34[_0x54ca0d(0x1fe)],_0x57b49c=_0x17bd34[_0x54ca0d(0x1ec)],_0x43bfca=ValueUtil['getParams'](_0x37275f,_0x54ca0d(0x18d)),_0xacb97b=ValueUtil[_0x54ca0d(0x28a)](_0x37275f,'param'),_0x6e2683=_0xacb97b[_0x54ca0d(0x245)](_0x4a5bd5=>_0x4a5bd5[_0x54ca0d(0x21e)](_0x54ca0d(0x1fe)));if(ValueUtil[_0x54ca0d(0x273)](_0x6e2683)){if(!_0x32d5e3)return void UiUtil[_0x54ca0d(0x288)](_0x54ca0d(0x251),'text.grid_is_not_exist',_0x54ca0d(0x236),'confirm');if(0x0==(_0x32d5e3[_0x54ca0d(0x23d)]?_0x32d5e3['data']['records']:[])[_0x54ca0d(0x23b)])return void UiUtil['showAlertPopup'](_0x54ca0d(0x251),_0x54ca0d(0x24b),_0x54ca0d(0x236),'confirm');if(_0xacb97b[_0x54ca0d(0x1ab)]('grist_one')||_0xacb97b[_0x54ca0d(0x1ab)]('grist_selected')){let _0xde2f2d=_0x32d5e3[_0x54ca0d(0x1ca)];if(ValueUtil[_0x54ca0d(0x2a9)](_0xde2f2d))return void UiUtil['showAlertPopup'](_0x54ca0d(0x25e),'text.there_is_no_selected_items',_0x54ca0d(0x236),_0x54ca0d(0x1e9));if(_0xacb97b['includes'](_0x54ca0d(0x2bf))&&_0xde2f2d[_0x54ca0d(0x23b)]>0x1)return void UiUtil[_0x54ca0d(0x288)](_0x54ca0d(0x251),_0x54ca0d(0x2ce),_0x54ca0d(0x236),_0x54ca0d(0x1e9));}}let _0x42ab9b={};if(_0xacb97b['includes'](_0x54ca0d(0x245))){if(!_0x57b49c)return void UiUtil['showAlertPopup'](_0x54ca0d(0x251),'text.search_form_is_not_exist','info',_0x54ca0d(0x1e9));let _0x4ef644=_0x57b49c?await _0x57b49c[_0x54ca0d(0x169)]():[];_0x42ab9b[_0x54ca0d(0x245)]=_0x4ef644;}if(_0xacb97b['includes'](_0x54ca0d(0x218)))_0x42ab9b[_0x54ca0d(0x1fe)]=_0x32d5e3[_0x54ca0d(0x23d)]['records'];else{if(_0xacb97b[_0x54ca0d(0x1ab)]('grist_one'))_0x42ab9b[_0x54ca0d(0x1fe)]=_0x32d5e3[_0x54ca0d(0x1ca)][0x0];else{if(_0xacb97b['includes'](_0x54ca0d(0x16a)))_0x42ab9b[_0x54ca0d(0x1fe)]=_0x32d5e3['selected'];else{if(_0xacb97b[_0x54ca0d(0x1ab)](_0x54ca0d(0x265))&&(_0x42ab9b[_0x54ca0d(0x1fe)]=ServiceUtil['patchesForUpdateMultiple'](_0x32d5e3),!_0x42ab9b[_0x54ca0d(0x1fe)]))return;}}}if(_0x54ca0d(0x21b)===_0x43bfca){let _0x22f1ca,_0x398396=Array[_0x54ca0d(0x188)](_0x42ab9b[_0x54ca0d(0x1fe)])?_0x42ab9b['grist']:[_0x42ab9b[_0x54ca0d(0x1fe)]];_0x22f1ca=_0x37275f[_0x54ca0d(0x1d8)]?_0x398396[_0x54ca0d(0x19a)](_0x57c39e=>{const _0x2f9c11=_0x54ca0d;let _0xa62227={};return Object[_0x2f9c11(0x25b)](_0x57c39e)[_0x2f9c11(0x245)](_0x4b3928=>Object[_0x2f9c11(0x25b)](_0x37275f[_0x2f9c11(0x1d8)])['includes'](_0x4b3928))[_0x2f9c11(0x19a)](_0x32f9c7=>{const _0x3a62af=_0x2f9c11;Object[_0x3a62af(0x25b)](_0x37275f[_0x3a62af(0x1d8)])[_0x3a62af(0x1ab)](_0x32f9c7)&&(_0x3a62af(0x1bc)==typeof _0x57c39e[_0x32f9c7]?_0xa62227[_0x37275f[_0x3a62af(0x1d8)][_0x32f9c7]]=_0x57c39e[_0x32f9c7]:_0xa62227[_0x37275f[_0x3a62af(0x1d8)][_0x32f9c7]]={'id':_0x57c39e[_0x32f9c7]['id']});}),_0xa62227;}):_0x398396,UiUtil['pageNavigate'](_0x37275f[_0x54ca0d(0x181)],_0x22f1ca);}else{if('popup'===_0x43bfca){let _0x5dc9a3={..._0x42ab9b[_0x54ca0d(0x1fe)]?_0x42ab9b['grist']:{},..._0x42ab9b[_0x54ca0d(0x245)]?_0x42ab9b[_0x54ca0d(0x245)]:{}};await MetaUiUtil[_0x54ca0d(0x2c1)](_0x17bd34,_0x37275f,_0x5dc9a3);}else'scenario'===_0x43bfca&&await MetaUiUtil[_0x54ca0d(0x1ee)](_0x17bd34,_0x37275f,_0x42ab9b);}}static[a0_0x3ec359(0x1e1)](_0xae2740,_0x399beb,_0x3e63ba){const _0x335e74=a0_0x3ec359;let _0x2f0687=_0x399beb[_0x335e74(0x254)],_0x2074b3={},_0x53352b=_0xae2740[_0x335e74(0x23a)][_0x335e74(0x1d7)](),_0x531e1f=_0xae2740;_0x2074b3=_0x53352b[_0x335e74(0x21e)](_0x335e74(0x274))?{'detail':{..._0x2f0687}}:_0x53352b[_0x335e74(0x21e)](_0x335e74(0x28c))?_0xae2740['detailElement']['tagName'][_0x335e74(0x1d7)]()['startsWith'](_0x335e74(0x2b5))?{'detail':{..._0x2f0687}}:{'self':{..._0x2f0687}}:_0x2f0687,Object['keys'](_0x2074b3)['forEach'](_0x4a671b=>{const _0xeb4dd0=_0x335e74;'master'==_0x4a671b?_0x531e1f=_0xae2740[_0xeb4dd0(0x253)][_0xeb4dd0(0x1c0)]:_0xeb4dd0(0x174)==_0x4a671b?_0x531e1f=_0xae2740['rootElement']?_0xae2740[_0xeb4dd0(0x253)][_0xeb4dd0(0x17e)]:_0xae2740[_0xeb4dd0(0x17e)]:_0xeb4dd0(0x1cd)==_0x4a671b&&(_0x531e1f=_0xae2740),Object[_0xeb4dd0(0x25b)](_0x2074b3[_0x4a671b])[_0xeb4dd0(0x235)](_0x50865f=>{const _0x2f6267=_0xeb4dd0;let _0x4f4065=_0x531e1f[_0x2f6267(0x1ac)][_0x2f6267(0x2be)]('#'+_0x50865f);_0x3e63ba['id']&&_0x4f4065[_0x2f6267(0x17c)](_0x3e63ba['id']);let _0x3106fe=_0x2074b3[_0x4a671b][_0x50865f];Object['keys'](_0x3106fe)[_0x2f6267(0x235)](_0x5be03e=>{let _0x1b663d=_0x3106fe[_0x5be03e],_0x31b536='*'===_0x1b663d?_0x3e63ba:_0x3e63ba[_0x1b663d];_0x4f4065[_0x5be03e]=_0x31b536;});});});}static async[a0_0x3ec359(0x2c1)](_0x49d01f,_0x505f99,_0x37ae2d){const _0x5c2aa3=a0_0x3ec359;let _0xb48b51=TermsUtil[_0x5c2aa3(0x28b)](_0x505f99['title']);ValueUtil[_0x5c2aa3(0x273)](_0x505f99[_0x5c2aa3(0x209)])&&(_0xb48b51=_0xb48b51+'('+ValueUtil[_0x5c2aa3(0x28a)](_0x37ae2d,..._0x505f99[_0x5c2aa3(0x209)][_0x5c2aa3(0x26c)]('.'))+')');let _0x17054f=_0x505f99[_0x5c2aa3(0x1a6)]&&'string'==typeof _0x505f99[_0x5c2aa3(0x1a6)]&&_0x5c2aa3(0x293)===_0x505f99['after']&&_0x49d01f&&_0x49d01f[_0x5c2aa3(0x293)]?_0x49d01f[_0x5c2aa3(0x293)]['bind'](_0x49d01f):void 0x0;UiUtil[_0x5c2aa3(0x215)](_0xb48b51,_0x505f99,_0x37ae2d,_0x17054f);}static async[a0_0x3ec359(0x1ee)](_0xf7e193,_0x503a07,_0x52fb0c){const _0x3720cd=a0_0x3ec359;let _0x14df47=await ServiceUtil['callScenario'](_0x3720cd(0x1d0),_0x503a07['name'],_0x52fb0c);if(!_0x14df47[_0x3720cd(0x26a)]&&!ValueUtil['isEmpty'](_0x503a07[_0x3720cd(0x1a6)])&&_0x503a07[_0x3720cd(0x1a6)]){if('fetch'!==_0x503a07['after']){if('object'==typeof _0x503a07['after']){let _0x38de45=_0x503a07['after'],_0x5bc6fd=ValueUtil['getParams'](_0x14df47['data'][_0x3720cd(0x257)][_0x3720cd(0x23d)],..._0x38de45['result_name'][_0x3720cd(0x26c)]('.'));if(0x0==Array[_0x3720cd(0x188)](_0x5bc6fd)&&(_0x5bc6fd=[_0x5bc6fd]),_0x3720cd(0x23e)===_0x38de45[_0x3720cd(0x18d)])_0x38de45[_0x3720cd(0x2b2)]='meta-form-element',_0x38de45[_0x3720cd(0x258)]=_0x3720cd(0x1d4),_0x38de45[_0x3720cd(0x29c)]='id',_0x5bc6fd=_0x5bc6fd[0x0],await MetaUiUtil[_0x3720cd(0x2c1)](_0xf7e193,_0x38de45,_0x5bc6fd);else{if(_0x3720cd(0x21b)===_0x38de45[_0x3720cd(0x18d)]){let _0x3ba9e4,_0x2792e9=_0x5bc6fd;_0x3ba9e4=_0x38de45['param_field']?_0x2792e9[_0x3720cd(0x19a)](_0x3019f5=>{const _0x3c7c04=_0x3720cd;let _0x19ea7e={};return Object['keys'](_0x3019f5)[_0x3c7c04(0x245)](_0x5a71a5=>Object[_0x3c7c04(0x25b)](_0x38de45[_0x3c7c04(0x1d8)])[_0x3c7c04(0x1ab)](_0x5a71a5))['map'](_0x1dbdf4=>{const _0x1202c1=_0x3c7c04;Object[_0x1202c1(0x25b)](_0x38de45['param_field'])[_0x1202c1(0x1ab)](_0x1dbdf4)&&(_0x1202c1(0x1bc)==typeof _0x3019f5[_0x1dbdf4]?_0x19ea7e[_0x38de45[_0x1202c1(0x1d8)][_0x1dbdf4]]=_0x3019f5[_0x1dbdf4]:_0x19ea7e[_0x38de45[_0x1202c1(0x1d8)][_0x1dbdf4]]={'id':_0x3019f5[_0x1dbdf4]['id']});}),_0x19ea7e;}):_0x2792e9,UiUtil[_0x3720cd(0x255)](_0x38de45[_0x3720cd(0x181)],_0x3ba9e4);}else _0x3720cd(0x24f)===_0x38de45['type']?(_0x5bc6fd=_0x5bc6fd[0x0],MetaUiUtil['gristButtonPassParam'](_0xf7e193,_0x38de45,_0x5bc6fd)):_0x3720cd(0x1f9)===_0x38de45[_0x3720cd(0x18d)]?(_0x5bc6fd=_0x5bc6fd[0x0],await MetaUiUtil[_0x3720cd(0x2c1)](_0xf7e193,_0x38de45,_0x5bc6fd)):_0x3720cd(0x240)===_0x38de45[_0x3720cd(0x18d)]&&(_0x5bc6fd=_0x5bc6fd[0x0],await MetaUiUtil[_0x3720cd(0x1f7)](_0xf7e193,_0x38de45,_0x5bc6fd));}}}else _0xf7e193[_0x3720cd(0x293)]();}}static async[a0_0x3ec359(0x1f7)](_0x1d6764,_0x57bef6,_0x2b5c03){const _0x31a889=a0_0x3ec359;for(let _0x18c773=0x0;_0x18c773<_0x57bef6['relation']['length'];_0x18c773++){let _0x24bd1c=_0x57bef6['relation'][_0x18c773];!0x0===ValueUtil['compareObjectValues'](_0x24bd1c,_0x2b5c03,Object[_0x31a889(0x25b)](_0x24bd1c)[_0x31a889(0x245)](_0x15af63=>_0x31a889(0x252)!=_0x15af63))&&await MetaUiUtil['gristButtonHandler'](_0x1d6764,_0x24bd1c,_0x2b5c03);}}static[a0_0x3ec359(0x225)](_0x36653b,_0x4edfa8){return{'type':_0x36653b,'name':_0x4edfa8,'sortable':!0x1,'hidden':!0x0};}static[a0_0x3ec359(0x2ab)](_0x54fe01,_0x56ebc9,_0x471588,_0x474dbe,_0x30f1a9,_0x5183bf){const _0x35ba25=a0_0x3ec359;let _0x205787=TermsUtil[_0x35ba25(0x1b0)](_0x56ebc9);return{'type':_0x54fe01,'name':_0x56ebc9,'header':_0x205787,'record':{'align':_0x471588,'editable':_0x474dbe},'sortable':_0x30f1a9,'width':_0x5183bf,'imex':{'width':Math[_0x35ba25(0x1b8)](_0x5183bf/0x6),'header':_0x205787,'type':_0x54fe01,'key':_0x56ebc9}};}static[a0_0x3ec359(0x198)](_0x4d6fde,_0x510011,_0x547974,_0x5a1b96,_0x368ff7,_0x5c3daf,_0x4d1184){let _0x49d1f3=TermsUtil['tLabel'](_0x547974);return{'type':_0x4d6fde,'name':_0x510011,'header':_0x49d1f3,'record':{'align':_0x5a1b96,'editable':_0x368ff7},'sortable':_0x5c3daf,'width':_0x4d1184,'imex':{'width':Math['floor'](_0x4d1184/0x6),'header':_0x49d1f3,'type':_0x4d6fde,'key':_0x510011}};}static[a0_0x3ec359(0x1bb)](_0x1e8e55,_0x4f0c9c,_0x32f104,_0x23b0fc,_0x11808a,_0x126ca9,_0x1f9042,_0x2df7cc){const _0x487a37=a0_0x3ec359;let _0x960277=TermsUtil['tLabel'](_0x32f104);return{'type':_0x1e8e55,'name':_0x4f0c9c,'header':_0x960277,'record':{'align':_0x23b0fc,'editable':_0x11808a,'mandatory':_0x1f9042},'sortable':_0x126ca9,'width':_0x2df7cc,'imex':{'width':Math[_0x487a37(0x1b8)](_0x2df7cc/0x6),'header':_0x960277,'type':_0x1e8e55,'key':_0x4f0c9c}};}static['getGristSelectorColumnConfig'](_0x1574c9,_0x1f300f,_0x188104,_0x3e1e5,_0x113dd2,_0x499a31,_0x494022){const _0x40de61=a0_0x3ec359;let _0x38d195=TermsUtil[_0x40de61(0x1b0)](_0x1f300f);return{'type':_0x40de61(0x295),'name':_0x1574c9,'header':_0x38d195,'record':{'align':_0x188104,'editable':!0x0,'mandatory':_0x499a31,'options':_0x494022},'sortable':_0x3e1e5,'width':_0x113dd2,'imex':{'width':Math['floor'](_0x113dd2/0x6),'header':_0x38d195,'type':_0x40de61(0x1bc),'key':_0x1574c9}};}static async[a0_0x3ec359(0x25c)](_0x412b6a,_0x4deef5,_0x23fc94,_0x278b1b,_0x4fa2e4,_0xbc9709,_0x1175ad){const _0x2ac52f=a0_0x3ec359;let _0x314857=await ServiceUtil[_0x2ac52f(0x1a3)](_0x1175ad);return MetaUiUtil[_0x2ac52f(0x20d)](_0x412b6a,_0x4deef5,_0x23fc94,_0x278b1b,_0x4fa2e4,_0xbc9709,_0x314857);}static[a0_0x3ec359(0x16c)](_0x2b0f86,_0x1e81c8,_0x18d580,_0x43dfad,_0x422ed5){const _0x2e28d4=a0_0x3ec359;let _0x5eed20=TermsUtil[_0x2e28d4(0x1b0)](_0x18d580),_0x4699fe={'name':_0x2b0f86,'type':_0x1e81c8,'label':_0x5eed20,'operator':_0x43dfad,'imex':{'width':0x10,'header':_0x5eed20,'type':_0x1e81c8,'key':_0x2b0f86}};return _0x422ed5&&(_0x4699fe[_0x2e28d4(0x1d3)]=_0x422ed5),_0x4699fe;}static async['getGristSearchCodeColumnConfig'](_0x23ce99,_0x4676cf,_0x912308,_0xe57ccb,_0x220701){const _0x387623=a0_0x3ec359;let _0x43b317=await ServiceUtil[_0x387623(0x1a3)](_0x220701);return MetaUiUtil[_0x387623(0x16c)](_0x23ce99,_0x4676cf,_0x912308,_0xe57ccb,_0x43b317);}static[a0_0x3ec359(0x277)](){return[css`
|
|
6
6
|
.button-container {
|
|
7
7
|
padding: var(--button-container-padding);
|
|
8
8
|
margin: var(--button-container-margin);
|
|
@@ -21,11 +21,11 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=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['getGristEmphasizedStyles'](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static['getGristPersonalizedStyles'](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static[
|
|
51
|
+
`];}static[a0_0x3ec359(0x28f)](){const _0x3ff257=a0_0x3ec359;return[ScrollbarStyles,CommonGristStyles,css`
|
|
52
52
|
:host {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -58,7 +58,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
58
58
|
ox-grist {
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
flex: 1;
|
|
61
|
-
}`,...MetaUiUtil[
|
|
61
|
+
}`,...MetaUiUtil[_0x3ff257(0x1a7)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x3ff257(0x1cf)]()];}static[a0_0x3ec359(0x18b)](){const _0x35a102=a0_0x3ec359;return[ScrollbarStyles,CommonGristStyles,css`
|
|
62
62
|
:host {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -105,7 +105,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
105
105
|
ox-grist {
|
|
106
106
|
overflow-y: auto;
|
|
107
107
|
flex: 1;
|
|
108
|
-
}`,...MetaUiUtil[
|
|
108
|
+
}`,...MetaUiUtil[_0x35a102(0x1a7)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x35a102(0x1cf)]()];}static[a0_0x3ec359(0x27c)](){return[ScrollbarStyles,CommonGristStyles,css`
|
|
109
109
|
:host {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
@@ -152,7 +152,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
152
152
|
ox-grist {
|
|
153
153
|
overflow-y: auto;
|
|
154
154
|
flex: 1;
|
|
155
|
-
}`,...MetaUiUtil[
|
|
155
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x3ec359(0x226)](){const _0x5bd4b8=a0_0x3ec359;return[ScrollbarStyles,CommonGristStyles,css`
|
|
156
156
|
:host {
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
@@ -199,7 +199,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
199
199
|
ox-grist {
|
|
200
200
|
overflow-y: auto;
|
|
201
201
|
flex: 1;
|
|
202
|
-
}`,...MetaUiUtil[
|
|
202
|
+
}`,...MetaUiUtil[_0x5bd4b8(0x1a7)](),...MetaUiUtil[_0x5bd4b8(0x277)](),...MetaUiUtil[_0x5bd4b8(0x1cf)]()];}static[a0_0x3ec359(0x243)](){const _0x577a16=a0_0x3ec359;return[ScrollbarStyles,CommonGristStyles,css`
|
|
203
203
|
:host {
|
|
204
204
|
display: flex;
|
|
205
205
|
flex-direction: column;
|
|
@@ -214,7 +214,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
214
214
|
ox-grist {
|
|
215
215
|
overflow-y: auto;
|
|
216
216
|
flex: 1;
|
|
217
|
-
}`,...MetaUiUtil[
|
|
217
|
+
}`,...MetaUiUtil[_0x577a16(0x1a7)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x577a16(0x1cf)]()];}static[a0_0x3ec359(0x1f3)](_0x7842b7){const _0x569dbe=a0_0x3ec359;return'top-down'==_0x7842b7?MetaUiUtil['getMasterDetailTopDownGristStyle']():MetaUiUtil[_0x569dbe(0x20a)]();}static[a0_0x3ec359(0x2d0)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
218
218
|
:host {
|
|
219
219
|
display: flex;
|
|
220
220
|
flex-direction: column;
|
|
@@ -281,7 +281,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
281
281
|
margin-left:7px;
|
|
282
282
|
margin-top:7px;
|
|
283
283
|
}
|
|
284
|
-
`];}static[
|
|
284
|
+
`];}static[a0_0x3ec359(0x20a)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
285
285
|
:host {
|
|
286
286
|
display: flex;
|
|
287
287
|
flex-direction: column;
|
|
@@ -348,7 +348,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
348
348
|
margin-left:7px;
|
|
349
349
|
margin-top:7px;
|
|
350
350
|
}
|
|
351
|
-
`];}static[
|
|
351
|
+
`];}static[a0_0x3ec359(0x24a)](){const _0x1299fc=a0_0x3ec359;return[ScrollbarStyles,css`
|
|
352
352
|
:host {
|
|
353
353
|
display: flex;
|
|
354
354
|
flex: 1;
|
|
@@ -437,7 +437,7 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
437
437
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
`,...MetaUiUtil[
|
|
440
|
+
`,...MetaUiUtil[_0x1299fc(0x277)]()];}static[a0_0x3ec359(0x1e6)](){return[css`
|
|
441
441
|
:host {
|
|
442
442
|
display: flex;
|
|
443
443
|
flex: 1;
|
|
@@ -492,204 +492,204 @@ const a0_0x46fcf6=a0_0x37f9;(function(_0x2b9a2c,_0x18027a){const _0x540319=a0_0x
|
|
|
492
492
|
overflow-x: overlay;
|
|
493
493
|
background-color: var(--main-section-background-color);
|
|
494
494
|
}
|
|
495
|
-
`];}static[
|
|
495
|
+
`];}static['isButtonExist'](_0x3b5b11,_0x387284){const _0x23d981=a0_0x3ec359;return!!(_0x3b5b11?_0x3b5b11[_0x23d981(0x1e0)](_0x541cc7=>_0x541cc7[_0x23d981(0x1c6)]==_0x387284):null);}static[a0_0x3ec359(0x2a5)](_0x4c53a0,_0xfe0e50){const _0x3df81d=a0_0x3ec359;return!!(_0x4c53a0&&_0x4c53a0[_0x3df81d(0x298)]?_0x4c53a0[_0x3df81d(0x298)][_0x3df81d(0x1e0)](_0x2b3544=>_0x2b3544[_0x3df81d(0x1c6)]==_0xfe0e50):null);}static[a0_0x3ec359(0x1c2)](_0x5c94d0){const _0x462239=a0_0x3ec359;let _0x2a9e35='';return _0x5c94d0['filter'](_0x2cd49a=>_0x462239(0x248)!=_0x2cd49a[_0x462239(0x18d)])[_0x462239(0x235)](_0x413ff9=>{const _0x260149=_0x462239;_0x2a9e35+='\x0a',_0x2a9e35+=_0x260149(0x178)==_0x413ff9[_0x260149(0x18d)]?_0x413ff9[_0x260149(0x1c6)]+'\x0a{'+MetaUiUtil[_0x260149(0x1c4)](_0x413ff9)+'}':_0x260149(0x244)==_0x413ff9[_0x260149(0x18d)]?_0x413ff9[_0x260149(0x1c6)]+_0x260149(0x17b):_0x413ff9[_0x260149(0x1c6)];}),_0x2a9e35;}static[a0_0x3ec359(0x1c4)](_0x45da12){const _0x1b0b00=a0_0x3ec359;let _0x59b43c='';return ValueUtil[_0x1b0b00(0x273)](_0x45da12['record'][_0x1b0b00(0x1d3)])&&ValueUtil['isNotEmpty'](_0x45da12[_0x1b0b00(0x2c0)]['options']['select'])&&_0x45da12[_0x1b0b00(0x2c0)][_0x1b0b00(0x1d3)][_0x1b0b00(0x295)][_0x1b0b00(0x235)](_0x3962a7=>{const _0x2ad724=_0x1b0b00;_0x3962a7['name']&&''!==_0x3962a7[_0x2ad724(0x1c6)]&&('meta-object-selector'===_0x3962a7[_0x2ad724(0x18d)]?_0x59b43c+='\x0a'+_0x3962a7['name']+_0x2ad724(0x27d)+MetaUiUtil['getObjctColumnSelectFields'](_0x3962a7)+'\x20\x0a\x20}':_0x59b43c+='\x0a'+_0x3962a7[_0x2ad724(0x1c6)]);}),''==_0x59b43c&&(_0x59b43c+=_0x1b0b00(0x229)),_0x59b43c;}static[a0_0x3ec359(0x192)](_0x3535cd){const _0x1ef7f9=a0_0x3ec359;let _0x59a396=_0x3535cd[_0x1ef7f9(0x1f5)];if(_0x59a396){let _0x51ae23=_0x3535cd[_0x1ef7f9(0x1da)]?_0x3535cd['gristId']:_0x1ef7f9(0x210),_0x819c4=_0x3535cd[_0x1ef7f9(0x19b)];return html`
|
|
496
496
|
<ox-grist
|
|
497
|
-
id=${
|
|
498
|
-
.config=${
|
|
499
|
-
.mode=${
|
|
497
|
+
id=${_0x51ae23}
|
|
498
|
+
.config=${_0x59a396}
|
|
499
|
+
.mode=${_0x819c4}
|
|
500
500
|
auto-fetch
|
|
501
|
-
.fetchHandler=${
|
|
502
|
-
${MetaUiUtil[
|
|
501
|
+
.fetchHandler=${_0x3535cd['fetchHandler']['bind'](_0x3535cd)}>
|
|
502
|
+
${MetaUiUtil[_0x1ef7f9(0x1f4)](_0x3535cd)}
|
|
503
503
|
</ox-grist>
|
|
504
|
-
`;}return html``;}static[
|
|
504
|
+
`;}return html``;}static[a0_0x3ec359(0x2a6)](_0x38b51a){const _0x1c5d98=a0_0x3ec359;if(!_0x38b51a)return html``;if(!_0x38b51a['formConfigSet'])return html``;let _0x2bcc71=_0x38b51a[_0x1c5d98(0x26b)],_0xfbdf5d=_0x38b51a[_0x1c5d98(0x2c0)]||{},_0x40b487=_0x2bcc71[_0x1c5d98(0x245)](_0x18a024=>0x0==_0x18a024[_0x1c5d98(0x1b7)]);return ValueUtil['isEmpty'](_0x38b51a[_0x1c5d98(0x2c5)])?MetaUiUtil[_0x1c5d98(0x1cc)](_0x38b51a,_0x40b487,_0xfbdf5d):MetaUiUtil[_0x1c5d98(0x1c5)](_0x38b51a,_0x40b487,_0xfbdf5d);}static['getBasicFormHtmlOnOption'](_0xd9065d,_0x94e3bc,_0x4c3ef9){const _0x70641d=a0_0x3ec359;let _0x27fb87=_0xd9065d['formRenderConfig'];return html`
|
|
505
505
|
<div class="root_container">
|
|
506
|
-
${
|
|
506
|
+
${_0x27fb87[_0x70641d(0x19a)](_0x192ea0=>{const _0x412b34=_0x70641d;let _0x1cdd80=[];_0x192ea0[_0x412b34(0x1ad)][_0x412b34(0x235)](_0x190162=>{const _0x2960df=_0x412b34;let _0x4a7815=_0x94e3bc[_0x2960df(0x245)](_0x5e128a=>_0x190162==_0x5e128a[_0x2960df(0x1c6)])||[];_0x4a7815['length']>0x0&&_0x1cdd80[_0x2960df(0x22a)](_0x4a7815[0x0]);});let _0x38a497=_0x412b34(0x1c9);for(let _0x4d4c3a=0x0;_0x4d4c3a<_0x192ea0[_0x412b34(0x187)];_0x4d4c3a++)_0x38a497+=_0x412b34(0x2c6);return _0x38a497+=';',html`
|
|
507
507
|
<h2>
|
|
508
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
508
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x412b34(0x28b)](_0x192ea0[_0x412b34(0x20c)])}
|
|
509
509
|
</h2>
|
|
510
|
-
<div id="content_container" class="content_container" style="${
|
|
511
|
-
${
|
|
512
|
-
<label ?editable=${
|
|
513
|
-
${
|
|
510
|
+
<div id="content_container" class="content_container" style="${_0x38a497}">
|
|
511
|
+
${_0x1cdd80[_0x412b34(0x19a)](_0x30786f=>{const _0x504ec8=_0x412b34;let {editable:_0x1b9c3d=!0x1,mandatory:_0x564ee8=!0x1}=_0x30786f[_0x504ec8(0x2c0)],_0x53d2ff=_0x4c3ef9['__dirtyfields__']||{};return html`
|
|
512
|
+
<label ?editable=${_0x1b9c3d}><span>${_0x564ee8?'*':''}${_0x30786f[_0x504ec8(0x17f)]}</span>
|
|
513
|
+
${_0x1b9c3d?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
514
514
|
</label>
|
|
515
515
|
<ox-grid-field
|
|
516
516
|
.rowIndex=${0x0}
|
|
517
|
-
.column=${
|
|
518
|
-
.record=${
|
|
519
|
-
.value=${
|
|
520
|
-
?dirty=${!!
|
|
517
|
+
.column=${_0x30786f}
|
|
518
|
+
.record=${_0x4c3ef9}
|
|
519
|
+
.value=${_0x4c3ef9[_0x30786f[_0x504ec8(0x1c6)]]}
|
|
520
|
+
?dirty=${!!_0x53d2ff[_0x30786f[_0x504ec8(0x1c6)]]}
|
|
521
521
|
></ox-grid-field>
|
|
522
522
|
`;})}
|
|
523
523
|
</div>
|
|
524
524
|
`;})}
|
|
525
525
|
</div>
|
|
526
|
-
${
|
|
527
|
-
`;}static[
|
|
528
|
-
<div id="container" class="container" style="${
|
|
529
|
-
${
|
|
530
|
-
<label ?editable=${
|
|
531
|
-
${
|
|
526
|
+
${_0xd9065d['isPage']?html``:MetaUiUtil[_0x70641d(0x2b4)](_0xd9065d)}
|
|
527
|
+
`;}static[a0_0x3ec359(0x1cc)](_0x5eada2,_0x378651,_0x317eec){const _0x1a68bd=a0_0x3ec359;let _0x3066ee=_0x1a68bd(0x1b5);_0x5eada2['column']&&0x0!=_0x5eada2[_0x1a68bd(0x187)]||(_0x5eada2['column']=0x1),_0x5eada2['column']=parseInt((_0x5eada2[_0x1a68bd(0x184)]||{})[_0x1a68bd(0x22f)]||_0x5eada2[_0x1a68bd(0x187)]);for(let _0x5ba73d=0x0;_0x5ba73d<_0x5eada2[_0x1a68bd(0x187)];_0x5ba73d++)_0x3066ee+=_0x1a68bd(0x2c6);return _0x3066ee+=';',html`
|
|
528
|
+
<div id="container" class="container" style="${_0x3066ee}">
|
|
529
|
+
${_0x378651[_0x1a68bd(0x19a)](_0x21c9dc=>{const _0x29bffb=_0x1a68bd;let {editable:_0x293674=!0x1,mandatory:_0x1afb33=!0x1}=_0x21c9dc[_0x29bffb(0x2c0)],_0x3d305d=_0x317eec[_0x29bffb(0x19e)]||{};return html`
|
|
530
|
+
<label ?editable=${_0x293674}><span>${_0x1afb33?'*':''}${_0x21c9dc['header_txt']}</span>
|
|
531
|
+
${_0x293674?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
532
532
|
</label>
|
|
533
533
|
<ox-grid-field
|
|
534
534
|
.rowIndex=${0x0}
|
|
535
|
-
.column=${
|
|
536
|
-
.record=${
|
|
537
|
-
.value=${
|
|
538
|
-
?dirty=${!!
|
|
535
|
+
.column=${_0x21c9dc}
|
|
536
|
+
.record=${_0x317eec}
|
|
537
|
+
.value=${_0x317eec[_0x21c9dc[_0x29bffb(0x1c6)]]}
|
|
538
|
+
?dirty=${!!_0x3d305d[_0x21c9dc[_0x29bffb(0x1c6)]]}
|
|
539
539
|
></ox-grid-field>
|
|
540
540
|
`;})}
|
|
541
541
|
</div>
|
|
542
|
-
${
|
|
543
|
-
`;}static[
|
|
542
|
+
${_0x5eada2[_0x1a68bd(0x1b6)]?html``:MetaUiUtil[_0x1a68bd(0x2b4)](_0x5eada2)}
|
|
543
|
+
`;}static[a0_0x3ec359(0x23c)](_0x743a20){const _0x59d2ba=a0_0x3ec359;if(!_0x743a20)return html``;if(!_0x743a20['tabRenderConfig'])return html``;let _0x11af06=_0x743a20['tabRenderConfig'];return _0x743a20[_0x59d2ba(0x2cc)]||(_0x743a20['currentTabKey']=_0x11af06[0x0]?.[_0x59d2ba(0x1c6)]||void 0x0),html`
|
|
544
544
|
<div class="tabs">
|
|
545
|
-
${
|
|
546
|
-
<div class="tab" ?activate="${
|
|
547
|
-
${
|
|
548
|
-
<span>${
|
|
545
|
+
${_0x11af06[_0x59d2ba(0x19a)](_0x22b142=>{const _0x518737=_0x59d2ba;let _0x2493ef=TermsUtil['tLabel'](_0x22b142[_0x518737(0x20c)]),_0x3de294=_0x22b142[_0x518737(0x1c6)];return html`
|
|
546
|
+
<div class="tab" ?activate="${_0x3de294===_0x743a20['currentTabKey']}" @click="${()=>_0x743a20[_0x518737(0x2cc)]=_0x3de294}">
|
|
547
|
+
${_0x22b142[_0x518737(0x19d)]?html`<mwc-icon>${_0x22b142[_0x518737(0x19d)]}</mwc-icon>`:html``}
|
|
548
|
+
<span>${_0x2493ef}</span>
|
|
549
549
|
</div>
|
|
550
550
|
`;})}
|
|
551
551
|
</div>
|
|
552
552
|
<div class="content-container">
|
|
553
|
-
${
|
|
554
|
-
<div class='tab-contents' style="${
|
|
555
|
-
${MetaUiUtil[
|
|
553
|
+
${_0x11af06['map'](_0x3ea9f7=>{const _0x14cc4e=_0x59d2ba;let _0x3eb69f=_0x14cc4e(0x281);return _0x3ea9f7[_0x14cc4e(0x1c6)]==_0x743a20[_0x14cc4e(0x2cc)]&&(_0x3eb69f='display:flex'),html`
|
|
554
|
+
<div class='tab-contents' style="${_0x3eb69f}">
|
|
555
|
+
${MetaUiUtil[_0x14cc4e(0x1e7)](_0x743a20,_0x3ea9f7)}
|
|
556
556
|
</div>
|
|
557
557
|
`;})}
|
|
558
558
|
</div>
|
|
559
|
-
`;}static[
|
|
560
|
-
${0x0==
|
|
559
|
+
`;}static[a0_0x3ec359(0x290)](_0x4d2c1d){const _0x578f3f=a0_0x3ec359;let _0x453698=(_0x4d2c1d[_0x578f3f(0x184)]||{})[_0x578f3f(0x233)]||_0x578f3f(0x211),_0x587abc=(_0x4d2c1d[_0x578f3f(0x184)]||{})[_0x578f3f(0x27e)]||'50%\x2050%',_0x271379=_0x578f3f(0x212)==_0x453698?_0x578f3f(0x1b5)+_0x587abc+';':_0x578f3f(0x1a1)+_0x587abc+';',_0x23a7d9=_0x4d2c1d['isPage']?UiUtil['currentRouting']():_0x4d2c1d[_0x578f3f(0x1c8)];return html`
|
|
560
|
+
${0x0==_0x4d2c1d[_0x578f3f(0x203)]?html``:html`
|
|
561
561
|
<div slot="headroom">
|
|
562
562
|
<div id="filters">
|
|
563
563
|
<ox-filters-form-base
|
|
564
564
|
id='ox-filters-form'
|
|
565
|
-
.filters=${
|
|
566
|
-
.value=${
|
|
567
|
-
@filters-change=${
|
|
565
|
+
.filters=${_0x4d2c1d[_0x578f3f(0x1b1)]||[]}
|
|
566
|
+
.value=${_0x4d2c1d[_0x578f3f(0x197)]||[]}
|
|
567
|
+
@filters-change=${_0x19bce1=>{const _0xbff231=_0x578f3f;_0x4d2c1d[_0xbff231(0x1fe)]?.[_0xbff231(0x293)]();}}
|
|
568
568
|
></ox-filters-form-base>
|
|
569
569
|
</div>
|
|
570
570
|
</div>
|
|
571
571
|
`}
|
|
572
|
-
<div id="container" class="container" style="${
|
|
572
|
+
<div id="container" class="container" style="${_0x271379}">
|
|
573
573
|
<div class="container_detail">
|
|
574
|
-
${MetaApi[
|
|
575
|
-
${MetaUiUtil[
|
|
574
|
+
${MetaApi['getBasicGristHtml'](_0x4d2c1d)}
|
|
575
|
+
${MetaUiUtil[_0x578f3f(0x2b4)](_0x4d2c1d)}
|
|
576
576
|
</div>
|
|
577
577
|
<div class="container_detail">
|
|
578
|
-
${!0x0===
|
|
578
|
+
${!0x0===_0x4d2c1d[_0x578f3f(0x2ac)]?html`${!0x0===_0x4d2c1d[_0x578f3f(0x224)]?html`<meta-tab-element
|
|
579
579
|
id="detail"
|
|
580
|
-
route_name="${
|
|
581
|
-
.activityDataSet=${(
|
|
580
|
+
route_name="${_0x23a7d9}"
|
|
581
|
+
.activityDataSet=${(_0x4d2c1d['activityDataSet']||{})[_0x578f3f(0x174)]}
|
|
582
582
|
is_readonly=true
|
|
583
583
|
is_activity=true
|
|
584
584
|
is_detail=true>
|
|
585
585
|
</meta-tab-element>`:html`<meta-tab-element
|
|
586
586
|
id="detail"
|
|
587
|
-
route_name="${
|
|
588
|
-
.activityDataSet=${(
|
|
587
|
+
route_name="${_0x23a7d9}"
|
|
588
|
+
.activityDataSet=${(_0x4d2c1d[_0x578f3f(0x22e)]||{})['detail']}
|
|
589
589
|
is_activity=true
|
|
590
590
|
is_detail=true>
|
|
591
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
591
|
+
</meta-tab-element>`}`:html`${!0x0===_0x4d2c1d[_0x578f3f(0x224)]?html`<meta-tab-element id="detail" route_name="${_0x23a7d9}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x23a7d9}" is_detail=true></meta-tab-element>`}`}
|
|
592
592
|
</div>
|
|
593
593
|
</div>
|
|
594
|
-
`;}static[
|
|
595
|
-
${0x0==
|
|
594
|
+
`;}static['getTabDetailHtml'](_0x3faa9d){const _0x5dce27=a0_0x3ec359;let _0xf7c97c=_0x3faa9d[_0x5dce27(0x184)][_0x5dce27(0x233)]||_0x5dce27(0x211),_0x2695a8=_0x3faa9d['etcConfig'][_0x5dce27(0x27e)]||'50%\x2050%',_0x5acf17=_0x3faa9d[_0x5dce27(0x184)][_0x5dce27(0x1d5)],_0x1a6970=JSON[_0x5dce27(0x270)](_0x5acf17||'{}'),_0xba007c=_0x5dce27(0x212)==_0xf7c97c?'grid-template-columns:'+_0x2695a8+';':_0x5dce27(0x1a1)+_0x2695a8+';';return MetaUiUtil['createMasterElement'](_0x3faa9d),MetaUiUtil[_0x5dce27(0x214)](_0x3faa9d,_0x1a6970),html`
|
|
595
|
+
${0x0==_0x3faa9d['useMasterFilterForm']?html``:html`
|
|
596
596
|
<div slot="headroom">
|
|
597
597
|
<div id="filters">
|
|
598
598
|
<ox-filters-form-base
|
|
599
599
|
id='ox-filters-form'
|
|
600
|
-
.filters=${
|
|
601
|
-
.value=${
|
|
602
|
-
@filters-change=${
|
|
600
|
+
.filters=${_0x3faa9d[_0x5dce27(0x1b1)]||[]}
|
|
601
|
+
.value=${_0x3faa9d[_0x5dce27(0x197)]||[]}
|
|
602
|
+
@filters-change=${_0x1aab9f=>{_0x3faa9d['fetch']();}}
|
|
603
603
|
></ox-filters-form-base>
|
|
604
604
|
</div>
|
|
605
605
|
</div>
|
|
606
606
|
`}
|
|
607
|
-
<div id="container" class="container" style="${
|
|
607
|
+
<div id="container" class="container" style="${_0xba007c}">
|
|
608
608
|
<div class="container_detail">
|
|
609
|
-
${
|
|
609
|
+
${_0x3faa9d[_0x5dce27(0x1c0)]}
|
|
610
610
|
</div>
|
|
611
611
|
<div class="container_detail">
|
|
612
|
-
${''==
|
|
613
|
-
${
|
|
612
|
+
${''==_0x1a6970[_0x5dce27(0x2b2)]||_0x5dce27(0x294)==_0x1a6970[_0x5dce27(0x2b2)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x1a6970['display'])}</h2>`}
|
|
613
|
+
${_0x3faa9d[_0x5dce27(0x17e)]}
|
|
614
614
|
</div>
|
|
615
615
|
</div>
|
|
616
|
-
`;}static[
|
|
617
|
-
${0x0==
|
|
616
|
+
`;}static[a0_0x3ec359(0x262)](_0x2669ce){const _0x2f2d8f=a0_0x3ec359;return MetaUiUtil[_0x2f2d8f(0x2ba)](_0x2669ce),html`
|
|
617
|
+
${0x0==_0x2669ce[_0x2f2d8f(0x203)]?html``:html`
|
|
618
618
|
<div slot="headroom">
|
|
619
619
|
<div id="filters">
|
|
620
620
|
<ox-filters-form-base
|
|
621
621
|
id='ox-filters-form'
|
|
622
|
-
.filters=${
|
|
623
|
-
.value=${
|
|
624
|
-
@filters-change=${
|
|
622
|
+
.filters=${_0x2669ce['searchFields']||[]}
|
|
623
|
+
.value=${_0x2669ce['searchFieldValues']||[]}
|
|
624
|
+
@filters-change=${_0x4a76e1=>{const _0x374196=_0x2f2d8f;_0x2669ce[_0x374196(0x293)]();}}
|
|
625
625
|
></ox-filters-form-base>
|
|
626
626
|
</div>
|
|
627
627
|
</div>
|
|
628
628
|
`}
|
|
629
629
|
<div id="container" class="container" >
|
|
630
|
-
${
|
|
630
|
+
${_0x2669ce['masterElement']}
|
|
631
631
|
</div>
|
|
632
|
-
`;}static[
|
|
633
|
-
${0x0==
|
|
632
|
+
`;}static[a0_0x3ec359(0x190)](_0x5de616){const _0x596263=a0_0x3ec359;let _0x112030=_0x5de616[_0x596263(0x184)]['master_detail_type']||_0x596263(0x211),_0x43aa17=_0x5de616[_0x596263(0x184)][_0x596263(0x27e)]||_0x596263(0x25a),_0xde6acf=_0x5de616['etcConfig']['master_detail_element'],_0x459b20=JSON[_0x596263(0x270)](_0xde6acf||'{}'),_0x2adb53=_0x596263(0x212)==_0x112030?_0x596263(0x1b5)+_0x43aa17+';':_0x596263(0x1a1)+_0x43aa17+';';return MetaUiUtil['createDetailElement'](_0x5de616,_0x459b20),html`
|
|
633
|
+
${0x0==_0x5de616['useMasterFilterForm']?html``:html`
|
|
634
634
|
<div slot="headroom">
|
|
635
635
|
<div id="filters">
|
|
636
636
|
<ox-filters-form-base
|
|
637
637
|
id='ox-filters-form'
|
|
638
|
-
.filters=${
|
|
639
|
-
.value=${
|
|
640
|
-
@filters-change=${
|
|
638
|
+
.filters=${_0x5de616[_0x596263(0x1b1)]||[]}
|
|
639
|
+
.value=${_0x5de616[_0x596263(0x197)]||[]}
|
|
640
|
+
@filters-change=${_0x653bbb=>{const _0x242aeb=_0x596263;_0x5de616[_0x242aeb(0x1fe)]?.['fetch']();}}
|
|
641
641
|
></ox-filters-form-base>
|
|
642
642
|
</div>
|
|
643
643
|
</div>
|
|
644
644
|
`}
|
|
645
|
-
<div id="container" class="container" style="${
|
|
645
|
+
<div id="container" class="container" style="${_0x2adb53}">
|
|
646
646
|
<div class="container_detail">
|
|
647
|
-
${MetaApi['getBasicGristHtml'](
|
|
648
|
-
${MetaUiUtil[
|
|
647
|
+
${MetaApi['getBasicGristHtml'](_0x5de616)}
|
|
648
|
+
${MetaUiUtil[_0x596263(0x2b4)](_0x5de616)}
|
|
649
649
|
</div>
|
|
650
650
|
<div class="container_detail">
|
|
651
|
-
${''==
|
|
652
|
-
${
|
|
651
|
+
${''==_0x459b20[_0x596263(0x2b2)]||_0x596263(0x294)==_0x459b20[_0x596263(0x2b2)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x596263(0x28b)](''+_0x459b20['display'])}</h2>`}
|
|
652
|
+
${_0x5de616[_0x596263(0x17e)]}
|
|
653
653
|
</div>
|
|
654
654
|
</div>
|
|
655
|
-
`;}static[
|
|
655
|
+
`;}static[a0_0x3ec359(0x214)](_0x4771d8,_0x893050){const _0xc2b25c=a0_0x3ec359;if(!_0x4771d8[_0xc2b25c(0x17e)]){let _0x541066=_0x893050[_0xc2b25c(0x1c6)]?_0x893050[_0xc2b25c(0x1c6)]:_0xc2b25c(0x174),_0x2a8c9e='<'+_0x893050[_0xc2b25c(0x2b2)]+_0xc2b25c(0x208)+_0x541066+_0xc2b25c(0x2a4)+_0x541066+'\x22\x20route_name=\x22'+_0x893050[_0xc2b25c(0x280)]+'\x22\x20'+(!0x0===_0x4771d8[_0xc2b25c(0x2ac)]?'is_activity=true':'')+'\x20'+(!0x0===_0x4771d8[_0xc2b25c(0x224)]?_0xc2b25c(0x2b9):'')+_0xc2b25c(0x26f)+_0x893050[_0xc2b25c(0x2b2)]+'>';_0x4771d8[_0xc2b25c(0x17e)]=UiUtil[_0xc2b25c(0x287)](_0x2a8c9e),_0x4771d8[_0xc2b25c(0x17e)][_0xc2b25c(0x22e)]=(_0x4771d8[_0xc2b25c(0x22e)]||{})[_0xc2b25c(0x174)],_0x4771d8['tagName'][_0xc2b25c(0x1d7)]()['startsWith'](_0xc2b25c(0x22b))&&(_0x4771d8[_0xc2b25c(0x17e)]['rootElement']=_0x4771d8);}}static[a0_0x3ec359(0x2ba)](_0x1d8a23){const _0x4b6d7e=a0_0x3ec359;if(!_0x1d8a23[_0x4b6d7e(0x1c0)]&&_0x1d8a23[_0x4b6d7e(0x1ec)]){let _0x1e481e=_0x4b6d7e(0x193),_0x4d7da4=_0x4b6d7e(0x269)+_0x1e481e+_0x4b6d7e(0x2a4)+_0x1e481e+_0x4b6d7e(0x1e3)+_0x1d8a23[_0x4b6d7e(0x201)]+'\x22\x20'+(!0x0===_0x1d8a23[_0x4b6d7e(0x2ac)]?_0x4b6d7e(0x249):'')+'\x20'+(!0x0===_0x1d8a23[_0x4b6d7e(0x224)]?_0x4b6d7e(0x2b9):'')+'\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>';_0x1d8a23[_0x4b6d7e(0x1c0)]=UiUtil[_0x4b6d7e(0x287)](_0x4d7da4),_0x1d8a23[_0x4b6d7e(0x1c0)][_0x4b6d7e(0x22e)]=(_0x1d8a23['activityDataSet']||{})[_0x4b6d7e(0x193)],_0x1d8a23[_0x4b6d7e(0x1c0)][_0x4b6d7e(0x268)]=!0x0,_0x1d8a23['masterElement'][_0x4b6d7e(0x216)]=_0x1d8a23[_0x4b6d7e(0x1ec)],_0x1d8a23[_0x4b6d7e(0x1c0)][_0x4b6d7e(0x253)]=_0x1d8a23;}}static[a0_0x3ec359(0x1e7)](_0x13d66b,_0x2ccbed){const _0x1babad=a0_0x3ec359;if(_0x13d66b[_0x1babad(0x26d)]||(_0x13d66b['tabElements']={}),Object[_0x1babad(0x25b)](_0x13d66b[_0x1babad(0x26d)])[_0x1babad(0x245)](_0x5daa43=>_0x5daa43==_0x2ccbed[_0x1babad(0x1c6)])[_0x1babad(0x23b)]>0x0)return _0x13d66b[_0x1babad(0x26d)][_0x2ccbed[_0x1babad(0x1c6)]];let _0x5f3471='<'+_0x2ccbed[_0x1babad(0x2b2)]+_0x1babad(0x2ad)+_0x2ccbed[_0x1babad(0x1c6)]+_0x1babad(0x21a)+_0x2ccbed[_0x1babad(0x186)]+_0x1babad(0x2cb)+(!0x0===_0x13d66b[_0x1babad(0x2ac)]?'is_activity=true':'')+'\x20'+(!0x0===_0x13d66b[_0x1babad(0x224)]?_0x1babad(0x2b9):'')+_0x1babad(0x1be)+_0x2ccbed['tagname']+'>',_0x48b152=UiUtil[_0x1babad(0x287)](_0x5f3471);return _0x48b152['activityDataSet']=(_0x13d66b[_0x1babad(0x22e)]||{})[_0x2ccbed['name']],_0x13d66b['parent_id']&&(_0x48b152['parent_id']=_0x13d66b[_0x1babad(0x1d2)]),_0x13d66b[_0x1babad(0x253)]?_0x48b152[_0x1babad(0x253)]=_0x13d66b['rootElement']:_0x48b152[_0x1babad(0x17e)]=_0x13d66b,!0x1===_0x2ccbed['filter_from']&&(_0x48b152['use_filter_form']=!0x1),_0x2ccbed[_0x1babad(0x219)]&&(_0x48b152[_0x1babad(0x216)]=_0x2ccbed[_0x1babad(0x219)]),_0x13d66b[_0x1babad(0x26d)][_0x2ccbed[_0x1babad(0x1c6)]]=_0x48b152,_0x48b152;}static['getGridDetailHtml'](_0x125daa){const _0x5c86b0=a0_0x3ec359;let _0x4b9acf=_0x125daa['useButtonAdd'],_0x2a4958=_0x125daa[_0x5c86b0(0x234)],_0x286e3e=_0x125daa[_0x5c86b0(0x191)],_0x50ba16=JSON['parse']((_0x125daa[_0x5c86b0(0x184)]||{})['use_grid_sort_button']||_0x5c86b0(0x2b1));return 0x0==_0x2a4958?html`
|
|
656
656
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
657
|
-
${this[
|
|
657
|
+
${this['getGridColumnPersonalizeButton'](_0x125daa)}
|
|
658
658
|
</div>
|
|
659
659
|
`:html`
|
|
660
660
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
661
661
|
<div slot="headroom">
|
|
662
662
|
<div id="filters"><ox-filters-form></ox-filters-form></div>
|
|
663
|
-
${
|
|
663
|
+
${_0x50ba16?html`
|
|
664
664
|
<div id="sorters">
|
|
665
|
-
<mwc-icon @click=${
|
|
665
|
+
<mwc-icon @click=${_0xc010e3=>{const _0x11fedc=_0x5c86b0,_0x276e2a=_0xc010e3[_0x11fedc(0x2c2)];_0x276e2a[_0x11fedc(0x173)][_0x11fedc(0x1f6)]({'right':0x0,'top':_0x276e2a['offsetTop']+_0x276e2a[_0x11fedc(0x183)]});}}
|
|
666
666
|
>sort</mwc-icon>
|
|
667
667
|
<ox-popup id="sorter-control">
|
|
668
668
|
<ox-sorters-control></ox-sorters-control>
|
|
669
669
|
</ox-popup>
|
|
670
670
|
</div>
|
|
671
671
|
`:html``}
|
|
672
|
-
${MetaUiUtil[
|
|
672
|
+
${MetaUiUtil[_0x5c86b0(0x2a1)](_0x125daa)}
|
|
673
673
|
<ox-record-creator
|
|
674
674
|
id="add"
|
|
675
|
-
?hidden="${!
|
|
676
|
-
.callback=${
|
|
675
|
+
?hidden="${!_0x4b9acf}"
|
|
676
|
+
.callback=${_0x286e3e}>
|
|
677
677
|
<button>
|
|
678
678
|
<mwc-icon>add</mwc-icon>
|
|
679
679
|
</button>
|
|
680
680
|
</ox-record-creator>
|
|
681
681
|
</div>
|
|
682
|
-
${this[
|
|
682
|
+
${this[_0x5c86b0(0x29e)](_0x125daa)}
|
|
683
683
|
</div>
|
|
684
|
-
`;}static[
|
|
684
|
+
`;}static[a0_0x3ec359(0x29e)](_0x4797db){const _0x21cb4d=a0_0x3ec359;return _0x21cb4d(0x172)!=_0x4797db[_0x21cb4d(0x19b)]?html``:!0x0!==_0x4797db[_0x21cb4d(0x2ac)]?html`
|
|
685
685
|
<div id="grist-personal">
|
|
686
|
-
<mwc-icon @click=${
|
|
686
|
+
<mwc-icon @click=${_0x3d0391=>{const _0x286f9a=_0x21cb4d;let _0x50f271=MetaApi[_0x286f9a(0x222)](_0x286f9a(0x1e2),_0x286f9a(0x1e2));_0x50f271['configGrist']=_0x3d0391['currentTarget'][_0x286f9a(0x1c3)][_0x286f9a(0x1c3)][_0x286f9a(0x1c3)],_0x50f271['menuId']=_0x4797db[_0x286f9a(0x179)],MetaApi[_0x286f9a(0x204)](TermsUtil[_0x286f9a(0x28b)](_0x286f9a(0x1b2)),_0x286f9a(0x1af),_0x50f271,!0x1);}}
|
|
687
687
|
>tune</mwc-icon>
|
|
688
688
|
</div>
|
|
689
|
-
`:html``;}static[
|
|
689
|
+
`:html``;}static[a0_0x3ec359(0x2a1)](_0xf20162){const _0xbed2b4=a0_0x3ec359;return ValueUtil[_0xbed2b4(0x2a9)](_0xf20162['gridViewOptions'])||0x1==_0xf20162[_0xbed2b4(0x189)]['length']?html``:html`
|
|
690
690
|
<div id="modes">
|
|
691
|
-
${
|
|
692
|
-
${
|
|
693
|
-
${
|
|
691
|
+
${_0xf20162['gridViewOptions'][_0xbed2b4(0x1ab)]('GRID')?html`<mwc-icon @click="${()=>_0xf20162[_0xbed2b4(0x19b)]=_0xbed2b4(0x172)}" ?active="${_0xbed2b4(0x172)==_0xf20162['gridMode']}">grid_on</mwc-icon>`:''}
|
|
692
|
+
${_0xf20162[_0xbed2b4(0x189)][_0xbed2b4(0x1ab)](_0xbed2b4(0x1b4))?html`<mwc-icon @click="${()=>_0xf20162[_0xbed2b4(0x19b)]=_0xbed2b4(0x1b4)}" ?active="${_0xbed2b4(0x1b4)==_0xf20162[_0xbed2b4(0x19b)]}">format_list_bulleted</mwc-icon>`:''}
|
|
693
|
+
${_0xf20162[_0xbed2b4(0x189)]['includes'](_0xbed2b4(0x250))?html`<mwc-icon @click="${()=>_0xf20162['gridMode']='CARD'}" ?active="${'CARD'==_0xf20162[_0xbed2b4(0x19b)]}">apps</mwc-icon>`:''}
|
|
694
694
|
</div>
|
|
695
|
-
`;}static[
|
|
695
|
+
`;}static[a0_0x3ec359(0x2b4)](_0x23fdf5){const _0xdc1401=a0_0x3ec359;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0xdc1401(0x259)](_0x23fdf5)}</div>`;}}
|