@things-factory/meta-ui 6.1.1 → 6.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/component/filter/filter-form-meta-code-select.js +10 -10
- package/client/component/filter/filter-form-meta-object-select.js +9 -9
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
- package/client/component/selector/meta-object-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +4 -4
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +5 -5
- 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 +12 -12
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +5 -5
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -0
- package/server/service/entity-event-subscriber/index.js +6 -0
- 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/index.js +4 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x178950=a0_0x8595;(function(_0xcfdcc9,_0x3b4946){const _0x1cd850=a0_0x8595,_0xdd63d1=_0xcfdcc9();while(!![]){try{const _0x54ac67=parseInt(_0x1cd850(0x148))/0x1*(-parseInt(_0x1cd850(0x266))/0x2)+-parseInt(_0x1cd850(0x23d))/0x3+-parseInt(_0x1cd850(0x288))/0x4*(-parseInt(_0x1cd850(0x22f))/0x5)+-parseInt(_0x1cd850(0x15b))/0x6+parseInt(_0x1cd850(0x160))/0x7+parseInt(_0x1cd850(0x1b3))/0x8+parseInt(_0x1cd850(0x147))/0x9;if(_0x54ac67===_0x3b4946)break;else _0xdd63d1['push'](_0xdd63d1['shift']());}catch(_0x2bc6ed){_0xdd63d1['push'](_0xdd63d1['shift']());}}}(a0_0x39b7,0x86a60));import a0_0x34727b from'graphql-tag';import{client}from'@operato/graphql';import a0_0x234ac8 from'moment-timezone';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';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';function a0_0x39b7(){const _0x3579eb=['\x20id=\x27','args','runScenario','getContextButtons','searchFields','formRenderConfig','rootElement','invalid\x20license\x20key','ox-grist','param','editor','grist_all','pages/meta-form-element.js','isNotEmpty','selectorName','code','queryName','GRID','parentElement','masterElement','confirm','customButtonHandler','parseGridConfigSet','menu','sorters','importable','getBasicGristPageProperties','day','minute','parent_field','title.warning','gristId','fetch','gridDeskMode','stringify','desc','getSelectColumns','formConfigSet','selectable','find','is_activity','createButtonElement','logic','\x20is_detail=true></','getGristGuttersConfig','gristButtonValueReference','dispField','searchConfig','raised','scenario','getGristPersonalizedStyles','button','getBasicGristTabStyles','gristConfigSet','exportable','dispatchEvent','text.search_form_is_not_exist','use_filter_form','pages/hgistory/history-copy-list-popup.js','location','menuInfo','gutter','hidden','value_reference','getCustomButtonContainerStyles','history_json','grid-column-personalize','\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getGristTabHtml','select','\x20id=\x22','commonButtonOpenPopup','tButton','self','getGristColumnConfig3','getGristSelectableConfig','createMasterElement','gql','getMasterDetailTopDownGristStyle','getObjctColumnSelectFields','getBasicMasterDetailStyles','unlimited','imex','push','\x20is_detail=true\x20style=\x22flex:1;\x22></','getQueryFilters','findMenuGridPersnalTemplate','getContainerButtons','datetime','info','grist_changed','openDynamicPopup','tTitle','false','currentRouting','5lIgbJe','getBasicFormHtmlNoOption','showAlertPopup','meta-tab-','getGristEmphasizedStyles','service','startOf','map','name','runnerPermission','-code-','buttonConfig','getGridDetailHtml','isArray','1851723bihbkg','getGristCodeSelectorColumnConfig','tText','activityDataSet','getMainTabHtml','meta-master-detail-','is_readonly','startsWith','includeMainList','getGridRowSet','value_is_not_exist','isPage','display:flex','pageNavigate','isMobileEnv','grist_selected','isGridButtonExist','data','page','today','offsetHeight','useButtonAdd','getGridViewOption','master_detail_size','column_list','getMasterDetailLeftRightGristStyle','useFilterForm','string','help','getGristMetaObjectOptions','CARD','defaultPageConfig','__dirtyfields__','toLowerCase','mainFilterForm','master_detail_type','LIST','display','import','resource-code-selector','-object-','2zcxDGP','is_activity=true','commonButtonCallScenario','type','grid-template-columns:','getButtonActionHandler','getGristSelectorColumnConfig','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','gristButtonPassParam','month','pass_param','infinityPage','keys','options','tMenu','format','is_readonly=true','meta-tab-element','selected','history_copy','\x20{\x20','getButtonContainer','getTabDetailHtml','pages/hgistory/history-json-list-popup.js','setParentId','getCodeByScenario','title_detail','find_one_func','grist','floor','meta-tab-detail-','getGridButtonSet','header_txt','rank','2952020txMjNw','gqlInfo','etcConfig','useButtonImport','querySelector','top_bottom','getBasicTabStyles','parseFormConfigSet','grid_column','gridMobileMode','getBasicMasterDetailGristStyle','shadowRoot','records','left','template','meta-code-selector','gridColumnConfig','gridMode','master','gridViewOptions','offsetTop','text.grid_is_not_exist','tabElements','\x201fr\x202fr','hour','meta-object-selector','YYYY-MM-DD\x20HH:mm:ss','getBasicTabHtml','isEmpty','getGristColumnConfig2','basicArgs','text.grid_data_is_empty','emphasis','includes','grid','11030724wLCQgQ','961259lEEIgh','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','fieldChangeHandlers','label','meta-grist-tab-','createCustomElement','\x0a{\x0aid\x0aname\x0athumbnail}','currentTarget','searchByPagination','id,template','grid-template-rows:','getGridColumnSet','getMenuMeta','filter','query','title','list','multiple','nameField','4560282vVLPCF','master_detail_element','object','htmlToElement','custom','1365952VutxHH','getMenuMetaData','filter_from','filterFields','record','parent_id','getState','tagname','filterForm','change_event_handler','findIndex','openPopupByElement','currentTabKey','dense','display:none','after','useButtonExport','menuId','grist_one','getGristPaginationCustomConfig','config','value','mutation','50%\x2050%','tLabel','subtract','tError','sec','useMasterFilterForm','resource-object','error','nextElementSibling','getGridOptionSet','data_history_list','danger','min','getBasicGristHtml','createDetailElement','title.info','open_param','patchesForUpdateMultiple','personal-column-selector','use_row_checker','dirty','getGridColumnPersonalizeButton','YYYY-MM-DD','height:auto;grid-template-columns:','getContextObject','compareObjectValues','header','getBasicFormHtmlOnOption','result_name','param_field','formColumnConfig','getBasicTabContent','open','sequence','search','<mwc-button\x20label=\x22','detailElement','getCodeByEntity','gristButtonHandler','column','forEach','length','add','url','referenceField','notify','bind','midium','date','left_right','gridConfig','detail','history-json-list-popup','\x22\x20route_name=\x22','findMenuMetaByRouting','getParams','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','option','text.please_select_only_one','default_form_column','5850320BAwTBH','main_filter_form','codeField','getBasicFormStyles','replace','handlers','route_name','indexOf','split','searchFieldValues','<meta-tab-element\x20id=\x22','getGristColumnConfig','text.there_is_no_selected_items','popup','setGridColumnSearchOption','filters','getCodeSelectorData','values','after_set_fields','parse','getBasicFormHtml','editable','dec','sort','icon','skip_fields','meta-form-element','width','getGristSearchColumnConfig'];a0_0x39b7=function(){return _0x3579eb;};return a0_0x39b7();}import'./../pages/history/history-copy-list-popup';function a0_0x8595(_0x57ef2d,_0x316e33){const _0x39b75b=a0_0x39b7();return a0_0x8595=function(_0x859542,_0x569d5d){_0x859542=_0x859542-0x13d;let _0x5790df=_0x39b75b[_0x859542];return _0x5790df;},a0_0x8595(_0x57ef2d,_0x316e33);}import'./../pages/history/history-json-list-popup';export class MetaUiUtil{static async['findMenuMeta'](_0x524493){const _0x2d4a47=a0_0x8595;let _0x318370=await ServiceUtil['findOne'](_0x2d4a47(0x1e7),_0x524493,'template');if(!_0x318370)throw new Error(TermsUtil[_0x2d4a47(0x23f)](_0x2d4a47(0x247),{'value':TermsUtil[_0x2d4a47(0x274)](_0x2d4a47(0x1e7))+'\x20'+_0x524493}));if(!_0x318370[_0x2d4a47(0x296)])throw new Error(TermsUtil['tText'](_0x2d4a47(0x247),{'value':TermsUtil[_0x2d4a47(0x274)](_0x2d4a47(0x1e7))+'\x20'+TermsUtil[_0x2d4a47(0x178)]('model')}));return this[_0x2d4a47(0x171)]=_0x524493,JSON[_0x2d4a47(0x1c6)](_0x318370[_0x2d4a47(0x296)]);}static async[a0_0x178950(0x161)](_0x50aa17){const _0x11c692=a0_0x178950;if((await client[_0x11c692(0x156)]({'query':a0_0x34727b`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))[_0x469e46(0x105)])return;let _0x465acf=[{'name':_0x469e46(0x1db),'operator':'eq','value':_0x2c2a5b}];return await ServiceUtil['searchByPagination']('menus',_0x465acf,null,0x0,0x0,_0x469e46(0x1d1));}static async[a0_0x30a258(0x211)](_0x3b6eb8,_0x43de09){const _0x49997c=a0_0x30a258;let _0x5033a4,_0x25a29f=await MetaUiUtil[_0x49997c(0x139)](_0x43de09);if(_0x25a29f&&_0x25a29f[_0x49997c(0x14c)]&&0x0!=_0x25a29f[_0x49997c(0x14c)][_0x49997c(0x103)]?(_0x5033a4=_0x25a29f[_0x49997c(0x14c)][0x0],!_0x5033a4[_0x49997c(0xfa)]&&_0x3b6eb8[_0x49997c(0x138)]&&(_0x5033a4[_0x49997c(0xfa)]=_0x3b6eb8[_0x49997c(0x138)])):_0x3b6eb8['defaultPageConfig']&&(_0x5033a4={'id':_0x43de09,'template':_0x3b6eb8['defaultPageConfig']}),!_0x5033a4)throw new Error(TermsUtil[_0x49997c(0x156)](_0x49997c(0x1c3),{'value':TermsUtil[_0x49997c(0x141)](_0x49997c(0x185))+'\x20'+_0x43de09}));if(!_0x5033a4[_0x49997c(0xfa)])throw new Error(TermsUtil['tText'](_0x49997c(0x1c3),{'value':TermsUtil[_0x49997c(0x141)](_0x49997c(0x185))+'\x20'+TermsUtil[_0x49997c(0x154)](_0x49997c(0x1f9))}));return this[_0x49997c(0x13d)]=_0x5033a4['id'],JSON[_0x49997c(0x1a6)](MetaCrypto[_0x49997c(0x22a)](_0x5033a4['template']));}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':_0x47dcc9=>Boolean(_0x47dcc9)},'is_popup':{'type':Boolean,'converter':_0x5072b0=>Boolean(_0x5072b0)},'is_activity':{'type':Boolean,'converter':_0x4a4e44=>Boolean(_0x4a4e44)},'is_readonly':{'type':Boolean,'converter':_0x5d2d7f=>Boolean(_0x5d2d7f)}};}static async['getMenuMeta'](_0xcffc1f){const _0x1fb77a=a0_0x30a258;if(0x0==store[_0x1fb77a(0x231)]()['metaUI']['runnerPermission'])return void document[_0x1fb77a(0x1dc)](new CustomEvent(_0x1fb77a(0x17a),{'detail':{'level':_0x1fb77a(0x1bb),'message':TermsUtil['tError']('invalid\x20license\x20key')}}));let _0x1b394a=_0xcffc1f[_0x1fb77a(0x1b2)]?UiUtil['currentRouting']():_0xcffc1f['route_name'];_0xcffc1f[_0x1fb77a(0x1e4)]=_0x1b394a;let _0x5411a6=await MetaUiUtil[_0x1fb77a(0x211)](_0xcffc1f,_0x1b394a);return!0x0===_0xcffc1f[_0x1fb77a(0x110)]&&(_0x5411a6[_0x1fb77a(0x191)][_0x1fb77a(0x149)]['use_row_checker']=!0x1,_0x5411a6['grid']['option'][_0x1fb77a(0x113)]=_0x1fb77a(0x126),_0x5411a6[_0x1fb77a(0x191)][_0x1fb77a(0x1ea)]=!0x1,_0x5411a6['grid']['button']=[],_0x5411a6[_0x1fb77a(0x1d4)]=_0x5411a6[_0x1fb77a(0x1d4)]['filter'](_0x3a91a0=>_0x1fb77a(0x109)==_0x3a91a0[_0x1fb77a(0x140)])),!0x0===_0xcffc1f[_0x1fb77a(0x204)]&&(_0x5411a6[_0x1fb77a(0x1c7)][_0x1fb77a(0x1ce)](_0x345180=>{const _0x32eb78=_0x1fb77a;_0x345180[_0x32eb78(0x1f3)]=!0x1;}),_0x5411a6[_0x1fb77a(0x1d4)]=_0x5411a6[_0x1fb77a(0x1d4)][_0x1fb77a(0x1df)](_0x1166b7=>_0x1fb77a(0x109)!=_0x1166b7[_0x1fb77a(0x140)])),!0x1===_0xcffc1f[_0x1fb77a(0x1ea)]&&(_0x5411a6[_0x1fb77a(0x191)][_0x1fb77a(0x1ea)]=!0x1),_0x5411a6[_0x1fb77a(0x1c7)][_0x1fb77a(0x1df)](_0x2c48fb=>_0x2c48fb['change_event_handler'])[_0x1fb77a(0x1ce)](_0x32c4ff=>{const _0x281151=_0x1fb77a;_0xcffc1f[_0x281151(0x1d2)]||(_0xcffc1f[_0x281151(0x1d2)]={}),_0xcffc1f[_0x281151(0x1d2)][_0x32c4ff['name']]=_0x32c4ff[_0x281151(0x1fa)];}),_0x5411a6['grid_column'][_0x1fb77a(0x1ce)](_0x4839ed=>{const _0x24fe87=_0x1fb77a;[_0x24fe87(0xf1),'object'][_0x24fe87(0x1ad)](_0x4839ed[_0x24fe87(0x1cd)])?_0x4839ed[_0x24fe87(0x1cd)]=_0x24fe87(0x1a9):[_0x24fe87(0x1ae)][_0x24fe87(0x1ad)](_0x4839ed[_0x24fe87(0x1cd)])&&(_0x4839ed['type']=_0x24fe87(0x1f5));}),_0x5411a6;}static['getGristPaginationCustomConfig'](..._0x35b961){return{'pages':_0x35b961};}static[a0_0x30a258(0x1ec)](_0xbb8b85,_0x3a363d){const _0x55ba30=a0_0x30a258;let _0xc43a17=[{'type':'gutter','gutterName':_0x55ba30(0x158)},{'type':'gutter','gutterName':_0x55ba30(0x150)}];return _0xbb8b85&&_0xc43a17['push']({'type':_0x55ba30(0x151),'gutterName':_0x55ba30(0x17b),'multiple':_0x3a363d}),_0xc43a17;}static['getGristSelectableConfig'](_0x438402){return{'selectable':{'multiple':_0x438402}};}static async[a0_0x30a258(0xe5)](_0x37ce3b){const _0x5361c3=a0_0x30a258;_0x37ce3b[_0x5361c3(0x177)]||(_0x37ce3b[_0x5361c3(0x177)]={}),_0x37ce3b['gqlInfo']['query']||(_0x37ce3b[_0x5361c3(0x177)][_0x5361c3(0xdd)]={}),_0x37ce3b[_0x5361c3(0x177)][_0x5361c3(0xdd)][_0x5361c3(0x1e5)]||(_0x37ce3b[_0x5361c3(0x177)][_0x5361c3(0xdd)][_0x5361c3(0x1e5)]={}),_0x37ce3b['gqlInfo']['mutation']||(_0x37ce3b[_0x5361c3(0x177)][_0x5361c3(0x214)]={}),_0x37ce3b['gqlInfo']['mutation'][_0x5361c3(0x1af)]||(_0x37ce3b[_0x5361c3(0x177)][_0x5361c3(0x214)][_0x5361c3(0x1af)]={}),_0x37ce3b[_0x5361c3(0x177)][_0x5361c3(0x214)]['multiple'][_0x5361c3(0x16a)]||(_0x37ce3b['gqlInfo'][_0x5361c3(0x214)][_0x5361c3(0x1af)][_0x5361c3(0x16a)]=[]);let _0xf3ad6a=MetaUiUtil[_0x5361c3(0x137)](_0x37ce3b),_0x12a790=MetaUiUtil[_0x5361c3(0x1cc)](_0x37ce3b),_0x13f131=MetaUiUtil[_0x5361c3(0x226)](_0x37ce3b),_0x11742c=MetaUiUtil[_0x5361c3(0x194)](_0x37ce3b),_0x266279=await MetaUiUtil[_0x5361c3(0x12d)](_0x37ce3b);_0x266279[_0x5361c3(0x1df)](_0x3c5717=>[_0x5361c3(0x1a9)][_0x5361c3(0x1ad)](_0x3c5717[_0x5361c3(0x1cd)]))[_0x5361c3(0x1ce)](_0x29c63e=>{const _0x5cf7bb=_0x5361c3;_0x37ce3b[_0x5cf7bb(0x19b)][_0x5cf7bb(0x1df)](_0x2af167=>_0x2af167['name']==_0x29c63e[_0x5cf7bb(0x140)])[_0x5cf7bb(0x1ce)](_0x660d24=>{const _0x9f5e8d=_0x5cf7bb,_0x98f11a=_0x29c63e['record'][_0x9f5e8d(0x1ef)],_0x4b512e=_0x98f11a['referenceField']?_0x98f11a['referenceField']:_0x29c63e[_0x9f5e8d(0x140)]+'Id',_0x58bebc=_0x37ce3b[_0x9f5e8d(0x19b)]['findIndex'](_0x21c543=>_0x21c543[_0x9f5e8d(0x140)]==_0x29c63e[_0x9f5e8d(0x140)]);_0x266279[_0x9f5e8d(0x1b3)]({'type':_0x9f5e8d(0x1a9),'header':_0x29c63e[_0x9f5e8d(0x1b5)],'name':_0x4b512e,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x98f11a}}),_0x37ce3b[_0x9f5e8d(0x177)][_0x9f5e8d(0xdd)][_0x9f5e8d(0x1e5)][_0x4b512e]='x',_0x37ce3b[_0x9f5e8d(0x177)][_0x9f5e8d(0x214)][_0x9f5e8d(0x1af)][_0x9f5e8d(0x16a)][_0x9f5e8d(0x1b3)](_0x4b512e),_0x37ce3b['searchConfig'][_0x58bebc]['name']=_0x4b512e,_0x37ce3b[_0x9f5e8d(0x19b)][_0x58bebc][_0x9f5e8d(0x1cd)]=_0x9f5e8d(0x1a9);});});let _0x48c30e=MetaUiUtil[_0x5361c3(0x1ec)](_0xf3ad6a[_0x5361c3(0x1a2)],_0x13f131[_0x5361c3(0x22e)][_0x5361c3(0x1af)]);return 0x1==_0x37ce3b[_0x5361c3(0xf9)]&&(_0x266279=MetaUiUtil[_0x5361c3(0x187)](_0x37ce3b,_0x266279)),{'list':_0x12a790,'pagination':_0xf3ad6a[_0x5361c3(0x113)],'sorters':_0xf3ad6a[_0x5361c3(0x1b7)],'rows':_0x13f131,'columns':[..._0x48c30e,..._0x11742c,..._0x266279]};}static async[a0_0x30a258(0x11b)](_0x21f4ef){const _0x5e6baa=a0_0x30a258;let _0x574991=_0x21f4ef['formColumnConfig'],_0x654e59=[];for(let _0x310158=0x0;_0x310158<_0x574991[_0x5e6baa(0x103)];_0x310158++){let {type:_0x40656d=_0x5e6baa(0x143),name:_0x5604fc,header:_0x2ed69e,hidden:_0x2261d6=!0x1,editable:_0x5366f3=!0x0,mandatory:_0x42c06f=!0x1,align:_0x34bc90=_0x5e6baa(0x1cf),select_opt:_0x54d1b5,object_opt:_0x1d7db7}=_0x574991[_0x310158],_0x32c62d={'type':_0x40656d,'name':_0x5604fc,'header_txt':ValueUtil[_0x5e6baa(0x228)](_0x2ed69e)?TermsUtil[_0x5e6baa(0x154)](_0x5604fc):TermsUtil[_0x5e6baa(0x154)](_0x2ed69e),'header':{'renderer':function(_0x1ba6e0){const _0x5b2529=_0x5e6baa;return _0x1ba6e0[_0x5b2529(0x16e)];}},'hidden':_0x2261d6,'record':{'editable':_0x5366f3,'mandatory':_0x42c06f,'align':_0x34bc90,'classifier':function(){},'renderer':getRenderer(_0x40656d)}};_0x5366f3&&(_0x32c62d[_0x5e6baa(0x160)][_0x5e6baa(0xf7)]=getEditor(_0x40656d)),_0x40656d[_0x5e6baa(0x205)](_0x5e6baa(0x13b))&&_0x1d7db7&&_0x1d7db7[_0x5e6baa(0x185)]&&(_0x1d7db7=await MetaUiUtil[_0x5e6baa(0x1a3)](_0x40656d,_0x1d7db7)),_0x5e6baa(0x233)===_0x40656d&&ValueUtil[_0x5e6baa(0x14b)](_0x54d1b5)&&(Array[_0x5e6baa(0x114)](_0x54d1b5)?_0x32c62d[_0x5e6baa(0x160)]['options']=_0x54d1b5:_0x5e6baa(0x1de)===_0x54d1b5[_0x5e6baa(0x1cd)]?_0x32c62d['record']['options']=await ServiceUtil['getCodeSelectorData'](_0x54d1b5[_0x5e6baa(0x142)]?_0x54d1b5[_0x5e6baa(0x142)]:_0x54d1b5[_0x5e6baa(0x140)]):_0x5e6baa(0x134)===_0x54d1b5[_0x5e6baa(0x1cd)]?_0x32c62d[_0x5e6baa(0x160)][_0x5e6baa(0x1ef)]=await ServiceUtil[_0x5e6baa(0x170)](_0x54d1b5['name'],_0x54d1b5[_0x5e6baa(0x1bd)]):_0x5e6baa(0x12a)===_0x54d1b5['type']&&(_0x32c62d[_0x5e6baa(0x160)][_0x5e6baa(0x1ef)]=await ServiceUtil[_0x5e6baa(0xfd)](_0x54d1b5[_0x5e6baa(0x1bd)]))),_0x5e6baa(0x1a9)===_0x40656d&&ValueUtil[_0x5e6baa(0x14b)](_0x1d7db7)?_0x32c62d['record']['options']={..._0x1d7db7}:_0x5e6baa(0x1f5)===_0x40656d&&ValueUtil['isNotEmpty'](_0x1d7db7)&&(_0x1d7db7[_0x5e6baa(0x1e1)]&&(_0x1d7db7[_0x5e6baa(0x17e)]=await ServiceUtil['getCodeByEntity'](_0x1d7db7)),_0x32c62d['record']['options']={..._0x1d7db7}),_0x654e59[_0x5e6baa(0x1b3)](_0x32c62d);}return _0x654e59;}static[a0_0x30a258(0x137)](_0x36c180){const _0x4aee21=a0_0x30a258;let _0x1877f2=_0x36c180[_0x4aee21(0x144)];_0x36c180[_0x4aee21(0xf9)]=!_0x1877f2||null==_0x1877f2['use_filter_form']||_0x1877f2['use_filter_form'];let {mobile_mode:_0x153225=_0x4aee21(0x1f8),desk_mode:_0xa7a402='GRID',view_mode:_0x26d71a=[],use_row_checker:_0x42eb07=!0x0,sorters:_0x127f86=[],pages:_0x34a9df=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x1877f2['option'])?{}:_0x1877f2[_0x4aee21(0x149)];return'unlimited'===_0x34a9df||'-1'===_0x34a9df?(_0x36c180[_0x4aee21(0x1ca)]=!0x0,_0x34a9df={'infinite':!0x0}):(_0x36c180[_0x4aee21(0x1ca)]=!0x1,_0x34a9df[_0x4aee21(0x104)](function(_0x334a53,_0x50d22){return _0x334a53-_0x50d22;}),_0x34a9df={'pages':_0x34a9df}),ValueUtil[_0x4aee21(0x14b)](_0x26d71a)&&(0x1==_0x26d71a[_0x4aee21(0x103)]?(_0xa7a402=_0x26d71a[0x0],_0x153225=_0x26d71a[0x0]):_0x26d71a[_0x4aee21(0x103)]>=0x2&&(_0x26d71a[_0x4aee21(0x1ad)](_0x153225)||(_0x153225=_0x26d71a[0x1]),_0x26d71a[_0x4aee21(0x1ad)](_0xa7a402)||(_0xa7a402=_0x26d71a[0x0]))),_0x36c180[_0x4aee21(0x169)]=_0x153225,_0x36c180['gridDeskMode']=_0xa7a402,_0x36c180['gridViewOptions']=_0x26d71a,_0x36c180[_0x4aee21(0x130)]=UiUtil[_0x4aee21(0x19f)]()?_0x36c180[_0x4aee21(0x169)]:_0x36c180[_0x4aee21(0x10e)],{'use_row_checker':_0x42eb07,'sorters':_0x127f86,'pages':_0x34a9df};}static['getGridListSet'](_0x394b1d){const _0xa39c7e=a0_0x30a258;let _0x49ea3e={'fields':[ValueUtil[_0xa39c7e(0x227)](_0x394b1d[_0xa39c7e(0x22d)],'name'),ValueUtil['getParams'](_0x394b1d['menuInfo'],_0xa39c7e(0x202))]};return _0x394b1d['gridConfig'][_0xa39c7e(0x17c)]&&Object[_0xa39c7e(0x20e)](_0x49ea3e,_0x394b1d['gridConfig'][_0xa39c7e(0x17c)]),_0x49ea3e;}static[a0_0x30a258(0x226)](_0x3969a9){const _0x3d368a=a0_0x30a258;let {multiple_select:_0x3d137c=!0x1,click:_0x50d88a}=ValueUtil[_0x3d368a(0x228)](_0x3969a9[_0x3d368a(0x144)][_0x3d368a(0x16d)])?{}:_0x3969a9['gridConfig'][_0x3d368a(0x16d)],_0x5dbb27={'selectable':{'multiple':_0x3d137c},'appendable':_0x3969a9[_0x3d368a(0x12e)]};return ValueUtil['isNotEmpty'](_0x50d88a)&&(_0x5dbb27[_0x3d368a(0xe7)]={'click':_0x50d88a}),_0x5dbb27;}static[a0_0x30a258(0x194)](_0x1f8685){let _0x2f1062=_0x1f8685['gridConfig']['button'];return ValueUtil['isEmpty'](_0x2f1062)?[]:_0x2f1062['map'](_0x3d6be4=>{const _0x517454=a0_0xbfa8;let _0x106ee7={'type':'gutter','gutterName':_0x517454(0x1d4)};if(ValueUtil[_0x517454(0x14b)](_0x3d6be4[_0x517454(0x10c)])&&(Array[_0x517454(0x114)](_0x3d6be4[_0x517454(0x10c)])?_0x106ee7[_0x517454(0x10c)]=_0x5b5315=>{const _0x4065ae=_0x517454;if(ValueUtil[_0x4065ae(0x14b)](_0x5b5315))for(let _0x29deb6=0x0;_0x29deb6<_0x3d6be4[_0x4065ae(0x10c)][_0x4065ae(0x103)];_0x29deb6++){let _0x5ed7ad=_0x3d6be4['icon'][_0x29deb6];if(!0x0===ValueUtil[_0x4065ae(0x18c)](_0x5ed7ad,_0x5b5315,Object['keys'](_0x5ed7ad)[_0x4065ae(0x1df)](_0x3109b2=>_0x4065ae(0x10c)!=_0x3109b2)))return _0x5ed7ad['icon'];}}:_0x106ee7[_0x517454(0x10c)]=_0x3d6be4[_0x517454(0x10c)]),ValueUtil[_0x517454(0x14b)](_0x3d6be4[_0x517454(0x140)])&&(_0x106ee7['name']=_0x3d6be4[_0x517454(0x140)]),ValueUtil[_0x517454(0x14b)](_0x3d6be4[_0x517454(0x161)])&&(_0x106ee7[_0x517454(0x21e)]=TermsUtil[_0x517454(0x1e9)](_0x3d6be4[_0x517454(0x161)])),_0x517454(0x171)===_0x3d6be4[_0x517454(0x1cd)]){let _0x551fe5=ValueUtil['getParams'](_0x3d6be4,_0x517454(0x174));[_0x517454(0x20b),'history_json']['includes'](_0x551fe5)?_0x106ee7[_0x517454(0xe7)]={'click':(_0x152298,_0x103c2d,_0xbeae93,_0x5dc3e5,_0x2ae353)=>{const _0x261f6a=_0x517454;if(_0x5dc3e5['id']){let _0x33aff8={'title':'data_history_list','type':'popup','tagname':_0x261f6a(0x20b)==_0x551fe5?_0x261f6a(0x14f):_0x261f6a(0x168),'location':_0x261f6a(0x20b)==_0x551fe5?'pages/hgistory/history-copy-list-popup.js':'pages/hgistory/history-json-list-popup.js','menu':_0x1f8685[_0x261f6a(0x1e4)],'size':_0x261f6a(0x1e3),'popup_field':'open_param','parent_field':'id'},_0x1f52f8={..._0x5dc3e5,'gqlFunc':ValueUtil[_0x261f6a(0x227)](_0x1f8685[_0x261f6a(0x177)],_0x261f6a(0xdd),'find_one_func'),'gristConfig':JSON[_0x261f6a(0x1a6)](JSON['stringify'](_0x1f8685[_0x261f6a(0x11c)]['config']))};MetaUiUtil[_0x261f6a(0x1a1)](_0x1f8685,{'logic':_0x33aff8},_0x1f52f8);}}}:_0x106ee7[_0x517454(0xe7)]={'click':_0x551fe5};}else _0x106ee7[_0x517454(0xe7)]={'click':(_0x174569,_0x7dbcf8,_0x143627,_0x11989c,_0x5c496e)=>{_0x11989c['id']&&MetaUiUtil['gristButtonHandler'](_0x1f8685,_0x3d6be4,_0x11989c);}};return _0x106ee7;});}static async[a0_0x30a258(0x12d)](_0x5e0ad7){const _0x44be37=a0_0x30a258;let _0x939b90=_0x5e0ad7[_0x44be37(0x152)];if(ValueUtil[_0x44be37(0x228)](_0x939b90))return[];let _0x1145c3=[];for(let _0x54ee9a=0x0;_0x54ee9a<_0x939b90[_0x44be37(0x103)];_0x54ee9a++){let {type:_0x11c829=_0x44be37(0x143),name:_0x36088d,header:_0xa8f7ae,hidden:_0x3b2919=!0x1,editable:_0x9f6c82=!0x0,mandatory:_0x597e4a=!0x1,sortable:_0x57760b=!0x1,align:_0x2492b4=_0x44be37(0x1cf),width:_0x3cc836=0x0,exportable:_0x1129d4=!0x1,select_opt:_0x55b08,object_opt:_0x1ec371,format:_0x4a7179}=_0x939b90[_0x54ee9a],_0x12229d={'type':_0x11c829,'name':_0x36088d,'header':ValueUtil['isEmpty'](_0xa8f7ae)?'':TermsUtil[_0x44be37(0x154)](_0xa8f7ae),'hidden':_0x3b2919,'sortable':_0x57760b,'width':_0x3cc836,'record':{'editable':_0x9f6c82,'mandatory':_0x597e4a,'align':_0x2492b4,'format':_0x4a7179}};if(_0x11c829[_0x44be37(0x205)](_0x44be37(0x13b))&&_0x1ec371&&_0x1ec371[_0x44be37(0x185)]&&(_0x1ec371=await MetaUiUtil[_0x44be37(0x1a3)](_0x11c829,_0x1ec371)),_0x44be37(0x233)===_0x11c829&&ValueUtil['isNotEmpty'](_0x55b08)&&(Array[_0x44be37(0x114)](_0x55b08)?_0x12229d[_0x44be37(0x160)][_0x44be37(0x1ef)]=_0x55b08:'code'===_0x55b08[_0x44be37(0x1cd)]?_0x12229d['record']['options']=await ServiceUtil[_0x44be37(0x180)](_0x55b08[_0x44be37(0x142)]?_0x55b08[_0x44be37(0x142)]:_0x55b08['name']):_0x44be37(0x134)===_0x55b08['type']?_0x12229d[_0x44be37(0x160)]['options']=await ServiceUtil[_0x44be37(0x170)](_0x55b08[_0x44be37(0x140)],_0x55b08[_0x44be37(0x1bd)]):'entity'===_0x55b08['type']&&(_0x12229d[_0x44be37(0x160)][_0x44be37(0x1ef)]=await ServiceUtil[_0x44be37(0xfd)](_0x55b08[_0x44be37(0x1bd)]))),_0x44be37(0x1a9)===_0x11c829&&ValueUtil[_0x44be37(0x14b)](_0x1ec371)){let _0x4996c5;_0x12229d[_0x44be37(0x160)]['options']={..._0x1ec371},_0x1ec371[_0x44be37(0x188)]&&_0x1ec371[_0x44be37(0x188)][_0x44be37(0x1c6)]&&(_0x4996c5=[..._0x1ec371[_0x44be37(0x188)][_0x44be37(0x1c6)]]),_0x4996c5&&JSON['stringify'](_0x4996c5)[_0x44be37(0x1ad)]('::')&&(_0x12229d[_0x44be37(0xe7)]={'dblclick':(_0x396140,_0x762122,_0x38e492,_0x20da03,_0xd001e0)=>{const _0x34a6d8=_0x44be37;let _0x407932=[];_0x4996c5[_0x34a6d8(0x1ce)](_0x5742ae=>{const _0x27bdf9=_0x34a6d8;var {name:_0x5580a7,value:_0x482b19,operator:_0x5cb6df='eq'}=_0x5742ae;_0x482b19[_0x27bdf9(0x1ad)]('::')&&(_0x482b19=ValueUtil[_0x27bdf9(0x227)](_0x20da03,..._0x482b19[_0x27bdf9(0xef)]('::','')[_0x27bdf9(0xe6)]('.'))),_0x482b19||(_0x482b19=''),_0x407932['push']({'name':_0x5580a7,'operator':_0x5cb6df,'value':_0x482b19});}),_0x38e492[_0x34a6d8(0x160)][_0x34a6d8(0x1ef)]['basicArgs']['filters']=_0x407932;}});}else _0x44be37(0x1f5)===_0x11c829&&ValueUtil[_0x44be37(0x14b)](_0x1ec371)&&(_0x1ec371[_0x44be37(0x1e1)]&&(_0x1ec371[_0x44be37(0x17e)]=await ServiceUtil[_0x44be37(0xfd)](_0x1ec371)),_0x12229d[_0x44be37(0x160)][_0x44be37(0x1ef)]={..._0x1ec371});!0x0===_0x5e0ad7[_0x44be37(0x1f7)]&&!0x0===_0x1129d4&&(_0x12229d[_0x44be37(0x235)]={'header':_0x12229d[_0x44be37(0x1b5)],'key':_0x12229d[_0x44be37(0x140)],'width':_0x12229d['width']/0x6,'type':_0x12229d['type']}),_0x1145c3['push'](_0x12229d);}if(!0x0!==this['is_activity'])return _0x1145c3;let _0x246622=await MetaApi[_0x44be37(0x118)](this['menuId']),{template:_0x1e4304={}}=_0x246622;if(!_0x1e4304[_0x44be37(0x153)])return _0x1145c3;let _0x3fbe7d=_0x1e4304[_0x44be37(0x153)];return _0x1145c3=_0x1145c3[_0x44be37(0x15d)](_0x553506=>('id'==_0x553506[_0x44be37(0x140)]||(_0x553506[_0x44be37(0x1ff)]=!_0x3fbe7d[_0x44be37(0x1ad)](_0x553506[_0x44be37(0x140)]),_0x553506[_0x44be37(0x1e8)]=_0x3fbe7d[_0x44be37(0x238)](_0x553506[_0x44be37(0x140)]),-0x1==_0x553506[_0x44be37(0x1e8)]&&(_0x553506['rank']=0x1869f)),_0x553506)),_0x1145c3[_0x44be37(0x104)]((_0x450139,_0x4e8c9b)=>_0x450139[_0x44be37(0x1e8)]-_0x4e8c9b[_0x44be37(0x1e8)]),_0x1145c3;}static async[a0_0x30a258(0x1a3)](_0x5ac4a7,_0x13be25){const _0x180141=a0_0x30a258;let _0x404541=await MetaUiUtil[_0x180141(0x139)](_0x13be25['menu']);if(_0x404541&&_0x404541[_0x180141(0x14c)]&&_0x404541[_0x180141(0x14c)][_0x180141(0x103)]>0x0&&_0x404541[_0x180141(0x14c)][0x0]['template']){let _0x59b606=_0x404541[_0x180141(0x14c)][0x0],_0x3ba0ca=JSON['parse'](MetaCrypto[_0x180141(0x22a)](_0x59b606[_0x180141(0xfa)]));_0x13be25[_0x180141(0x165)]||(_0x13be25[_0x180141(0x165)]=_0x3ba0ca[_0x180141(0x216)][_0x180141(0xdd)][_0x180141(0x229)]),_0x13be25['select']||(_0x13be25[_0x180141(0x233)]=_0x3ba0ca[_0x180141(0x1c7)]),_0x13be25[_0x180141(0x207)]&&0x0!=_0x13be25['filterFields']['length']||(_0x13be25[_0x180141(0x207)]=_0x3ba0ca[_0x180141(0x181)]),_0x13be25['selectorName']||(_0x13be25[_0x180141(0x102)]=_0x3ba0ca[_0x180141(0x185)][_0x180141(0x21e)]),_0x13be25['filters']||(_0x13be25[_0x180141(0x1c6)]=_0x3ba0ca[_0x180141(0x216)][_0x180141(0xdd)][_0x180141(0x1c6)]||[]),_0x5ac4a7[_0x180141(0x1ad)](_0x180141(0x18e))?_0x13be25[_0x180141(0x135)]||(_0x13be25[_0x180141(0x135)]=_0x3ba0ca['menu'][_0x180141(0x140)]||'name'):_0x5ac4a7[_0x180141(0x1ad)]('-code-')&&(_0x13be25['codeField']||(_0x13be25['codeField']=_0x3ba0ca[_0x180141(0x185)][_0x180141(0x140)]||_0x180141(0x1de)),_0x13be25[_0x180141(0x1e1)]||(_0x13be25['dispField']=_0x3ba0ca[_0x180141(0x185)]['desc']||void 0x0));}return _0x13be25;}static[a0_0x30a258(0x187)](_0x38217b,_0x255fce){const _0x3af112=a0_0x30a258;let _0x36bbfe=_0x38217b[_0x3af112(0x19b)];return _0x36bbfe&&_0x36bbfe[_0x3af112(0x1ce)](_0x11ec00=>{const _0x391bf6=_0x3af112;'string'==typeof _0x11ec00?_0x255fce[_0x391bf6(0x1df)](_0x266aa9=>_0x266aa9[_0x391bf6(0x140)]==_0x11ec00)['forEach'](_0x1122c1=>{const _0x48ea98=_0x391bf6;_0x1122c1[_0x48ea98(0x1df)]=_0x48ea98(0x181);}):_0x391bf6(0x21d)==typeof _0x11ec00&&_0x255fce[_0x391bf6(0x1df)](_0x1fb3e7=>_0x1fb3e7[_0x391bf6(0x140)]==_0x11ec00['name'])[_0x391bf6(0x1ce)](_0x486614=>{const _0x269326=_0x391bf6;_0x486614['filter']=_0x11ec00,_0x486614[_0x269326(0x1df)][_0x269326(0x1cd)]=_0x269326(0x128)===_0x486614[_0x269326(0x1cd)]&&'eq'==_0x11ec00[_0x269326(0x220)]?'datetime-local':_0x486614[_0x269326(0x1cd)];let _0x4b6785=_0x486614['filter']['value'],_0xa075a=[_0x269326(0x155),_0x269326(0x223),'month','date',_0x269326(0x1b6),_0x269326(0xe1),'sec'];if(_0x4b6785&&_0xa075a[_0x269326(0x1df)](_0x83cc6f=>_0x4b6785[_0x269326(0x205)](_0x83cc6f))[_0x269326(0x103)]>0x0){let _0xe15380=[],_0xf25042={'date':_0x269326(0x124),'datetime':'YYYY-MM-DD\x20HH:mm:ss'},_0x28f378={'today':'day','year':_0x269326(0x223),'month':_0x269326(0xf8),'date':_0x269326(0x18a),'hour':_0x269326(0x1b6),'min':_0x269326(0x15e),'sec':_0x269326(0x1f6)};_0x4b6785[_0x269326(0xe6)](',')['forEach'](_0x1d185a=>{const _0x4bd093=_0x269326,_0x3dc7bb=a0_0x13c519();if(_0xa075a['includes'](_0x1d185a))_0xe15380[_0x4bd093(0x1b3)](_0x3dc7bb[_0x4bd093(0x14a)](_0x28f378[_0x1d185a])[_0x4bd093(0x21c)](_0xf25042[_0x486614['type']]));else{if(_0x1d185a[_0x4bd093(0x1ad)]('-')){let _0x3b6fa2=_0x1d185a[_0x4bd093(0xe6)]('-'),_0x572ba5=_0x3b6fa2[0x0],_0x53b095=_0x3b6fa2[0x1];_0xe15380[_0x4bd093(0x1b3)](_0x3dc7bb[_0x4bd093(0x1f0)](_0x53b095,_0x28f378[_0x572ba5])[_0x4bd093(0x14a)](_0x28f378[_0x572ba5])['format'](_0xf25042[_0x486614[_0x4bd093(0x1cd)]]));}else{if(_0x1d185a['includes']('+')){let _0x41580f=_0x1d185a[_0x4bd093(0xe6)]('+'),_0x21a0c5=_0x41580f[0x0],_0x107f7e=_0x41580f[0x1];_0xe15380[_0x4bd093(0x1b3)](_0x3dc7bb[_0x4bd093(0x109)](_0x107f7e,_0x28f378[_0x21a0c5])['startOf'](_0x28f378[_0x21a0c5])[_0x4bd093(0x21c)](_0xf25042[_0x486614[_0x4bd093(0x1cd)]]));}}}}),_0xe15380[_0x269326(0x103)]>0x0&&(_0x486614[_0x269326(0x1df)][_0x269326(0x22f)]=0x1==_0xe15380[_0x269326(0x103)]?_0xe15380[0x0]:_0xe15380);}});}),_0x255fce;}static[a0_0x30a258(0x193)](_0x38e58d){const _0x1f2b94=a0_0x30a258;let _0x4a2b11={'title':TermsUtil[_0x1f2b94(0x182)](_0x38e58d[_0x1f2b94(0x22d)][_0x1f2b94(0x21e)]),'help':_0x38e58d[_0x1f2b94(0x22d)][_0x1f2b94(0x21f)]||'','actions':[...MetaUiUtil[_0x1f2b94(0x166)](_0x38e58d)]};return _0x38e58d[_0x1f2b94(0x1f7)]&&(_0x4a2b11[_0x1f2b94(0x19e)]={'name':_0x4a2b11[_0x1f2b94(0x21e)],'data':_0x38e58d[_0x1f2b94(0xed)][_0x1f2b94(0x131)](_0x38e58d)}),_0x38e58d[_0x1f2b94(0xfb)]&&(_0x4a2b11[_0x1f2b94(0x10a)]={'handler':_0x38e58d[_0x1f2b94(0x13a)]['bind'](_0x38e58d)}),_0x4a2b11;}static[a0_0x30a258(0x166)](_0x581062){const _0x156e88=a0_0x30a258;let _0x46b232=_0x581062[_0x156e88(0x1cb)];return ValueUtil[_0x156e88(0x228)](_0x46b232)?[]:_0x46b232[_0x156e88(0x1df)](_0x3f3ef6=>'export'!=_0x3f3ef6[_0x156e88(0x140)]&&_0x156e88(0x13a)!=_0x3f3ef6[_0x156e88(0x140)]&&_0x156e88(0x109)!=_0x3f3ef6[_0x156e88(0x140)])['map'](_0x57f4de=>{const _0x34271a=_0x156e88;let {name:_0x58b069,label:_0x289641,style:_0x52e98b,type:_0x5bfc4a=_0x34271a(0x171),action:_0x3791fc,logic:_0x29485c}=_0x57f4de;if(ValueUtil['isEmpty'](_0x58b069))return{'title':'-1'};ValueUtil[_0x34271a(0x228)](_0x289641)&&(_0x289641=_0x58b069),ValueUtil[_0x34271a(0x228)](_0x52e98b)&&(_0x52e98b=_0x58b069),ValueUtil[_0x34271a(0x228)](_0x3791fc)&&(_0x3791fc=_0x58b069);let _0x34ce43=ValueUtil[_0x34271a(0x14b)](_0x52e98b)?CommonButtonStyles[_0x52e98b]||{'icon':_0x52e98b,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x34271a(0x1e9)](_0x289641),'action':MetaUiUtil[_0x34271a(0x1c8)](_0x581062,_0x5bfc4a,_0x3791fc,_0x29485c),..._0x34ce43};})['filter'](_0x4ad2c8=>'-1'!=_0x4ad2c8['title']);}static[a0_0x30a258(0x1be)](_0x3d4294){const _0x592651=a0_0x30a258;let _0x493cc5=_0x3d4294&&_0x3d4294[_0x592651(0x1cb)]?_0x3d4294['buttonConfig']:null;return _0x493cc5?_0x493cc5['filter'](_0x512a8f=>'add'!=_0x512a8f[_0x592651(0x140)])['map'](_0x4582bb=>{const _0x38882a=_0x592651;let {name:_0x42af74,label:_0xbb881a,style:_0x313eef,type:_0x4e2aa5=_0x38882a(0x171),action:_0x1c2282,logic:_0x1195de}=_0x4582bb;ValueUtil['isEmpty'](_0xbb881a)&&(_0xbb881a=_0x42af74),ValueUtil['isEmpty'](_0x313eef)&&(_0x313eef=_0x42af74),ValueUtil[_0x38882a(0x228)](_0x1c2282)&&(_0x1c2282=_0x42af74);let _0x38c144=MetaUiUtil['createButtonElement'](TermsUtil['tButton'](_0xbb881a),_0x313eef);return _0x38c144[_0x38882a(0x218)]=MetaUiUtil[_0x38882a(0x1c8)](_0x3d4294,_0x4e2aa5,_0x1c2282,_0x1195de),_0x38c144;}):[];}static[a0_0x30a258(0x101)](_0x1de9fc,_0x1e12b6){const _0x2153e6=a0_0x30a258;let _0x407761=CommonButtonStyles[_0x1e12b6]||{'icon':_0x1e12b6,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x162685=_0x2153e6(0x1eb)+_0x1de9fc+_0x2153e6(0x222)+(_0x407761['icon']?_0x407761['icon']:'')+_0x2153e6(0x1e0)+(_0x407761[_0x2153e6(0x1f2)][_0x2153e6(0x176)]?_0x2153e6(0x176):'')+_0x2153e6(0x22c)+(_0x407761[_0x2153e6(0x1f2)]['outlined']?'outlined':'')+_0x2153e6(0x22c)+(_0x407761[_0x2153e6(0x1f2)][_0x2153e6(0x173)]?_0x2153e6(0x173):'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x407761['emphasis'][_0x2153e6(0x219)]?_0x2153e6(0x219):'')+_0x2153e6(0x179);return UiUtil[_0x2153e6(0x190)](_0x162685);}static['getButtonActionHandler'](_0x41ee20,_0x3ab314,_0x578fa4,_0xd59d51){const _0x1b674b=a0_0x30a258;if(_0x1b674b(0x171)==_0x3ab314){if(_0x41ee20[_0x578fa4])return _0x41ee20[_0x578fa4][_0x1b674b(0x131)](_0x41ee20);}else{if('custom'==_0x3ab314)return()=>MetaUiUtil[_0x1b674b(0xfc)](_0x41ee20,_0xd59d51);}return()=>{const _0x5366d6=_0x1b674b;UiUtil[_0x5366d6(0x116)](_0x5366d6(0x1a8),_0x5366d6(0xdf),_0x5366d6(0x1bc),_0x5366d6(0x212));};}static async[a0_0x30a258(0x1a1)](_0x27a427,_0x4ed5d6,_0x55942e){const _0x3daced=a0_0x30a258;let _0x2585d5=ValueUtil['getParams'](_0x4ed5d6,_0x3daced(0x174)),_0x2812e2=ValueUtil[_0x3daced(0x227)](_0x2585d5,'type');if(_0x3daced(0x198)===_0x2812e2)_0x2585d5[_0x3daced(0x1d6)]='meta-form-element',_0x2585d5[_0x3daced(0x175)]=_0x3daced(0x1ac),_0x2585d5['parent_field']='id',await MetaUiUtil[_0x3daced(0x1e6)](_0x27a427,_0x2585d5,_0x55942e);else{if('pass_param'===_0x2812e2)MetaUiUtil[_0x3daced(0x1d3)](_0x27a427,_0x2585d5,_0x55942e);else{if(_0x3daced(0x162)===_0x2812e2){let _0x4f7856;_0x2585d5[_0x3daced(0x21a)]?(_0x4f7856={},Object[_0x3daced(0x115)](_0x55942e)[_0x3daced(0x1df)](_0x54f667=>Object[_0x3daced(0x115)](_0x2585d5[_0x3daced(0x21a)])[_0x3daced(0x1ad)](_0x54f667))[_0x3daced(0x15d)](_0x125645=>{const _0x406368=_0x3daced;Object[_0x406368(0x115)](_0x2585d5[_0x406368(0x21a)])[_0x406368(0x1ad)](_0x125645)&&('string'==typeof _0x55942e[_0x125645]?_0x4f7856[_0x2585d5[_0x406368(0x21a)][_0x125645]]=_0x55942e[_0x125645]:_0x4f7856[_0x2585d5['param_field'][_0x125645]]={'id':_0x55942e[_0x125645]['id']});})):_0x4f7856=_0x55942e,UiUtil[_0x3daced(0x230)](_0x2585d5[_0x3daced(0x11e)],[_0x4f7856]);}else _0x3daced(0x215)===_0x2812e2?await MetaUiUtil['commonButtonOpenPopup'](_0x27a427,_0x2585d5,_0x55942e):_0x3daced(0x134)===_0x2812e2?await MetaUiUtil[_0x3daced(0x147)](_0x27a427,_0x2585d5,_0x55942e):_0x3daced(0xeb)===_0x2812e2&&await MetaUiUtil[_0x3daced(0xe0)](_0x27a427,_0x2585d5,_0x55942e);}}}static async[a0_0x30a258(0xfc)](_0x22cfe3,_0x14dc6d){const _0x3b118d=a0_0x30a258;if(ValueUtil[_0x3b118d(0x228)](_0x14dc6d))return;let _0x4319fc=_0x22cfe3[_0x3b118d(0x11c)],_0x3fd0ac=_0x22cfe3['filterForm'],_0x1b9825=ValueUtil[_0x3b118d(0x227)](_0x14dc6d,_0x3b118d(0x1cd)),_0xa35381=ValueUtil[_0x3b118d(0x227)](_0x14dc6d,_0x3b118d(0xec)),_0x5ebc5a=_0xa35381['filter'](_0x89d4d0=>_0x89d4d0[_0x3b118d(0x205)](_0x3b118d(0x11c)));if(ValueUtil['isNotEmpty'](_0x5ebc5a)){if(!_0x4319fc)return void UiUtil[_0x3b118d(0x116)]('title.info',_0x3b118d(0xde),_0x3b118d(0x1bc),_0x3b118d(0x212));if(0x0==(_0x4319fc[_0x3b118d(0x172)]?_0x4319fc[_0x3b118d(0x172)]['records']:[])[_0x3b118d(0x103)])return void UiUtil[_0x3b118d(0x116)](_0x3b118d(0x199),_0x3b118d(0x184),'info',_0x3b118d(0x212));if(_0xa35381[_0x3b118d(0x1ad)](_0x3b118d(0x1fb))||_0xa35381[_0x3b118d(0x1ad)](_0x3b118d(0xf6))){let _0x1251ae=_0x4319fc[_0x3b118d(0x11a)];if(ValueUtil[_0x3b118d(0x228)](_0x1251ae))return void UiUtil[_0x3b118d(0x116)](_0x3b118d(0x10b),_0x3b118d(0x164),_0x3b118d(0x1bc),'confirm');if(_0xa35381[_0x3b118d(0x1ad)]('grist_one')&&_0x1251ae[_0x3b118d(0x103)]>0x1)return void UiUtil[_0x3b118d(0x116)](_0x3b118d(0x199),_0x3b118d(0x196),_0x3b118d(0x1bc),'confirm');}}let _0xd3cbb5={};if(_0xa35381[_0x3b118d(0x1ad)](_0x3b118d(0x1df))){if(!_0x3fd0ac)return void UiUtil['showAlertPopup'](_0x3b118d(0x199),'text.search_form_is_not_exist',_0x3b118d(0x1bc),_0x3b118d(0x212));let _0x13e07b=_0x3fd0ac?await _0x3fd0ac[_0x3b118d(0xf5)]():[];_0xd3cbb5[_0x3b118d(0x1df)]=_0x13e07b;}if(_0xa35381[_0x3b118d(0x1ad)]('grist_all'))_0xd3cbb5[_0x3b118d(0x11c)]=_0x4319fc[_0x3b118d(0x172)][_0x3b118d(0x14c)];else{if(_0xa35381[_0x3b118d(0x1ad)]('grist_one'))_0xd3cbb5[_0x3b118d(0x11c)]=_0x4319fc[_0x3b118d(0x11a)][0x0];else{if(_0xa35381[_0x3b118d(0x1ad)](_0x3b118d(0xf6)))_0xd3cbb5[_0x3b118d(0x11c)]=_0x4319fc[_0x3b118d(0x11a)];else{if(_0xa35381['includes'](_0x3b118d(0x10d))&&(_0xd3cbb5['grist']=ServiceUtil[_0x3b118d(0xe9)](_0x4319fc),!_0xd3cbb5[_0x3b118d(0x11c)]))return;}}}if('page'===_0x1b9825){let _0x3e6eec,_0x42d73e=Array[_0x3b118d(0x114)](_0xd3cbb5['grist'])?_0xd3cbb5[_0x3b118d(0x11c)]:[_0xd3cbb5[_0x3b118d(0x11c)]];_0x3e6eec=_0x14dc6d[_0x3b118d(0x21a)]?_0x42d73e[_0x3b118d(0x15d)](_0x1bc712=>{const _0x452e25=_0x3b118d;let _0x396a42={};return Object[_0x452e25(0x115)](_0x1bc712)[_0x452e25(0x1df)](_0x1e038e=>Object[_0x452e25(0x115)](_0x14dc6d[_0x452e25(0x21a)])[_0x452e25(0x1ad)](_0x1e038e))[_0x452e25(0x15d)](_0x262b5e=>{const _0x411a6b=_0x452e25;Object[_0x411a6b(0x115)](_0x14dc6d[_0x411a6b(0x21a)])[_0x411a6b(0x1ad)](_0x262b5e)&&(_0x411a6b(0x143)==typeof _0x1bc712[_0x262b5e]?_0x396a42[_0x14dc6d[_0x411a6b(0x21a)][_0x262b5e]]=_0x1bc712[_0x262b5e]:_0x396a42[_0x14dc6d['param_field'][_0x262b5e]]={'id':_0x1bc712[_0x262b5e]['id']});}),_0x396a42;}):_0x42d73e,UiUtil[_0x3b118d(0x230)](_0x14dc6d['url'],_0x3e6eec);}else{if(_0x3b118d(0x215)===_0x1b9825){let _0x35e1da={..._0xd3cbb5['grist']?_0xd3cbb5[_0x3b118d(0x11c)]:{},..._0xd3cbb5[_0x3b118d(0x1df)]?_0xd3cbb5['filter']:{}};await MetaUiUtil[_0x3b118d(0x1e6)](_0x22cfe3,_0x14dc6d,_0x35e1da);}else _0x3b118d(0x134)===_0x1b9825&&await MetaUiUtil[_0x3b118d(0x147)](_0x22cfe3,_0x14dc6d,_0xd3cbb5);}}static[a0_0x30a258(0x1d3)](_0x15d05a,_0x441bfc,_0x308844){const _0x30e341=a0_0x30a258;let _0x7b217d=_0x441bfc['pass_field'],_0x3e9ec5={},_0x23d012=_0x15d05a[_0x30e341(0xe4)][_0x30e341(0x148)](),_0x431f13=_0x15d05a;_0x3e9ec5=_0x23d012['startsWith']('meta-grist-tab-')?{'detail':{..._0x7b217d}}:_0x23d012[_0x30e341(0x205)](_0x30e341(0x234))?_0x15d05a[_0x30e341(0x121)][_0x30e341(0xe4)][_0x30e341(0x148)]()[_0x30e341(0x205)](_0x30e341(0x18b))?{'detail':{..._0x7b217d}}:{'self':{..._0x7b217d}}:_0x7b217d,Object[_0x30e341(0x115)](_0x3e9ec5)[_0x30e341(0x1ce)](_0x374938=>{const _0x418182=_0x30e341;_0x418182(0x153)==_0x374938?_0x431f13=_0x15d05a['rootElement'][_0x418182(0x11f)]:_0x418182(0x203)==_0x374938?_0x431f13=_0x15d05a[_0x418182(0x146)]?_0x15d05a[_0x418182(0x146)][_0x418182(0x121)]:_0x15d05a['detailElement']:'self'==_0x374938&&(_0x431f13=_0x15d05a),Object['keys'](_0x3e9ec5[_0x374938])[_0x418182(0x1ce)](_0x312a2c=>{const _0x30ad18=_0x418182;let _0x37de2b=_0x431f13[_0x30ad18(0x18d)]['querySelector']('#'+_0x312a2c);_0x308844['id']&&_0x37de2b[_0x30ad18(0x1aa)](_0x308844['id']);let _0x247377=_0x3e9ec5[_0x374938][_0x312a2c];Object[_0x30ad18(0x115)](_0x247377)[_0x30ad18(0x1ce)](_0x3254eb=>{let _0x3d3919=_0x247377[_0x3254eb],_0x9a60d3='*'===_0x3d3919?_0x308844:_0x308844[_0x3d3919];_0x37de2b[_0x3254eb]=_0x9a60d3;});});});}static async[a0_0x30a258(0x1e6)](_0x529194,_0x19de11,_0x22edd4){const _0x3863c3=a0_0x30a258;let _0x4a3227=TermsUtil[_0x3863c3(0x182)](_0x19de11[_0x3863c3(0x21e)]);ValueUtil[_0x3863c3(0x14b)](_0x19de11[_0x3863c3(0x1c1)])&&(_0x4a3227=_0x4a3227+'('+ValueUtil[_0x3863c3(0x227)](_0x22edd4,..._0x19de11['title_detail'][_0x3863c3(0xe6)]('.'))+')');let _0x559e7c=_0x19de11[_0x3863c3(0x1a4)]&&_0x3863c3(0x143)==typeof _0x19de11[_0x3863c3(0x1a4)]&&'fetch'===_0x19de11[_0x3863c3(0x1a4)]&&_0x529194&&_0x529194['fetch']?_0x529194[_0x3863c3(0x123)][_0x3863c3(0x131)](_0x529194):void 0x0;UiUtil[_0x3863c3(0x18f)](_0x4a3227,_0x19de11,_0x22edd4,_0x559e7c);}static async[a0_0x30a258(0x147)](_0x149f76,_0x44c010,_0x37ef94){const _0x102126=a0_0x30a258;let _0x13712f=await ServiceUtil[_0x102126(0x15b)](_0x102126(0xe3),_0x44c010['name'],_0x37ef94);if(!_0x13712f['errors']&&!ValueUtil['isEmpty'](_0x44c010[_0x102126(0x1a4)])&&_0x44c010[_0x102126(0x1a4)]){if(_0x102126(0x123)!==_0x44c010[_0x102126(0x1a4)]){if(_0x102126(0x21d)==typeof _0x44c010[_0x102126(0x1a4)]){let _0x95ac41=_0x44c010[_0x102126(0x1a4)],_0x345bbe=ValueUtil['getParams'](_0x13712f['data'][_0x102126(0xfe)][_0x102126(0x172)],..._0x95ac41[_0x102126(0x1c2)]['split']('.'));if(0x0==Array[_0x102126(0x114)](_0x345bbe)&&(_0x345bbe=[_0x345bbe]),_0x102126(0x198)===_0x95ac41[_0x102126(0x1cd)])_0x95ac41[_0x102126(0x1d6)]='meta-form-element',_0x95ac41[_0x102126(0x175)]='pages/meta-form-element.js',_0x95ac41['parent_field']='id',_0x345bbe=_0x345bbe[0x0],await MetaUiUtil[_0x102126(0x1e6)](_0x149f76,_0x95ac41,_0x345bbe);else{if('page'===_0x95ac41['type']){let _0x33ea55,_0x1200a5=_0x345bbe;_0x33ea55=_0x95ac41[_0x102126(0x21a)]?_0x1200a5['map'](_0x5b4716=>{const _0x2d4938=_0x102126;let _0x198ae6={};return Object[_0x2d4938(0x115)](_0x5b4716)[_0x2d4938(0x1df)](_0x4d00ae=>Object[_0x2d4938(0x115)](_0x95ac41['param_field'])[_0x2d4938(0x1ad)](_0x4d00ae))['map'](_0x466916=>{const _0x3c98cb=_0x2d4938;Object[_0x3c98cb(0x115)](_0x95ac41[_0x3c98cb(0x21a)])[_0x3c98cb(0x1ad)](_0x466916)&&('string'==typeof _0x5b4716[_0x466916]?_0x198ae6[_0x95ac41[_0x3c98cb(0x21a)][_0x466916]]=_0x5b4716[_0x466916]:_0x198ae6[_0x95ac41[_0x3c98cb(0x21a)][_0x466916]]={'id':_0x5b4716[_0x466916]['id']});}),_0x198ae6;}):_0x1200a5,UiUtil[_0x102126(0x230)](_0x95ac41['url'],_0x33ea55);}else _0x102126(0x100)===_0x95ac41[_0x102126(0x1cd)]?(_0x345bbe=_0x345bbe[0x0],MetaUiUtil[_0x102126(0x1d3)](_0x149f76,_0x95ac41,_0x345bbe)):_0x102126(0x215)===_0x95ac41[_0x102126(0x1cd)]?(_0x345bbe=_0x345bbe[0x0],await MetaUiUtil[_0x102126(0x1e6)](_0x149f76,_0x95ac41,_0x345bbe)):'value_reference'===_0x95ac41[_0x102126(0x1cd)]&&(_0x345bbe=_0x345bbe[0x0],await MetaUiUtil[_0x102126(0xe0)](_0x149f76,_0x95ac41,_0x345bbe));}}}else _0x149f76[_0x102126(0x123)]();}}static async[a0_0x30a258(0xe0)](_0x1fa854,_0x14fbe5,_0x334389){const _0x406e92=a0_0x30a258;for(let _0xddca95=0x0;_0xddca95<_0x14fbe5[_0x406e92(0x1ed)][_0x406e92(0x103)];_0xddca95++){let _0x20d580=_0x14fbe5[_0x406e92(0x1ed)][_0xddca95];!0x0===ValueUtil[_0x406e92(0x18c)](_0x20d580,_0x334389,Object['keys'](_0x20d580)[_0x406e92(0x1df)](_0x47f2a1=>_0x406e92(0x174)!=_0x47f2a1))&&await MetaUiUtil['gristButtonHandler'](_0x1fa854,_0x20d580,_0x334389);}}static[a0_0x30a258(0x1fd)](_0x141ac3,_0x8d32){return{'type':_0x141ac3,'name':_0x8d32,'sortable':!0x1,'hidden':!0x0};}static[a0_0x30a258(0xea)](_0x4b0539,_0x2db661,_0x3c85c0,_0x2ccf71,_0x407282,_0x3b2fc5){const _0x51bbca=a0_0x30a258;let _0x5a6503=TermsUtil[_0x51bbca(0x154)](_0x2db661);return{'type':_0x4b0539,'name':_0x2db661,'header':_0x5a6503,'record':{'align':_0x3c85c0,'editable':_0x2ccf71},'sortable':_0x407282,'width':_0x3b2fc5,'imex':{'width':Math['floor'](_0x3b2fc5/0x6),'header':_0x5a6503,'type':_0x4b0539,'key':_0x2db661}};}static[a0_0x30a258(0x133)](_0x5b812e,_0x3fe73b,_0x381426,_0x1238e0,_0x20b614,_0x3c9ee7,_0x2923b4){const _0x102dd8=a0_0x30a258;let _0x32eba8=TermsUtil[_0x102dd8(0x154)](_0x381426);return{'type':_0x5b812e,'name':_0x3fe73b,'header':_0x32eba8,'record':{'align':_0x1238e0,'editable':_0x20b614},'sortable':_0x3c9ee7,'width':_0x2923b4,'imex':{'width':Math[_0x102dd8(0x136)](_0x2923b4/0x6),'header':_0x32eba8,'type':_0x5b812e,'key':_0x3fe73b}};}static[a0_0x30a258(0xff)](_0x2f3e12,_0x40126a,_0xd4d061,_0x26c47c,_0xa76756,_0x2e4eb3,_0x1b56a7,_0x277c1e){const _0x3a3069=a0_0x30a258;let _0x310768=TermsUtil['tLabel'](_0xd4d061);return{'type':_0x2f3e12,'name':_0x40126a,'header':_0x310768,'record':{'align':_0x26c47c,'editable':_0xa76756,'mandatory':_0x1b56a7},'sortable':_0x2e4eb3,'width':_0x277c1e,'imex':{'width':Math[_0x3a3069(0x136)](_0x277c1e/0x6),'header':_0x310768,'type':_0x2f3e12,'key':_0x40126a}};}static[a0_0x30a258(0x163)](_0x40a426,_0x4ad78f,_0x3494ad,_0x505129,_0x24b953,_0x1f94fe,_0x4722d8){const _0x8d96e=a0_0x30a258;let _0xaed0d5=TermsUtil[_0x8d96e(0x154)](_0x4ad78f);return{'type':'select','name':_0x40a426,'header':_0xaed0d5,'record':{'align':_0x3494ad,'editable':!0x0,'mandatory':_0x1f94fe,'options':_0x4722d8},'sortable':_0x505129,'width':_0x24b953,'imex':{'width':Math[_0x8d96e(0x136)](_0x24b953/0x6),'header':_0xaed0d5,'type':_0x8d96e(0x143),'key':_0x40a426}};}static async['getGristCodeSelectorColumnConfig'](_0x1fffea,_0x363ef3,_0x483e5d,_0x25394d,_0x3367ee,_0x44e3ba,_0x597c12){const _0x37a57f=a0_0x30a258;let _0x4f5fd8=await ServiceUtil[_0x37a57f(0x180)](_0x597c12);return MetaUiUtil['getGristSelectorColumnConfig'](_0x1fffea,_0x363ef3,_0x483e5d,_0x25394d,_0x3367ee,_0x44e3ba,_0x4f5fd8);}static[a0_0x30a258(0x210)](_0x454f07,_0x296411,_0x3a241b,_0x236de5,_0x48001b){const _0x20c9bc=a0_0x30a258;let _0x465b37=TermsUtil['tLabel'](_0x3a241b),_0x3e7b50={'name':_0x454f07,'type':_0x296411,'label':_0x465b37,'operator':_0x236de5,'imex':{'width':0x10,'header':_0x465b37,'type':_0x296411,'key':_0x454f07}};return _0x48001b&&(_0x3e7b50[_0x20c9bc(0x1ef)]=_0x48001b),_0x3e7b50;}static async[a0_0x30a258(0xf3)](_0x1bb2f1,_0x44ca83,_0x145c90,_0x2e15d1,_0x2c1f93){const _0x43ff98=a0_0x30a258;let _0x257474=await ServiceUtil[_0x43ff98(0x180)](_0x2c1f93);return MetaUiUtil[_0x43ff98(0x210)](_0x1bb2f1,_0x44ca83,_0x145c90,_0x2e15d1,_0x257474);}static['getCustomButtonContainerStyles'](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))['errors'])return;let _0x39d17a=[{'name':'routing','operator':'eq','value':_0x50aa17}];return await ServiceUtil[_0x11c692(0x150)]('menus',_0x39d17a,null,0x0,0x0,_0x11c692(0x151));}static async[a0_0x178950(0x1ad)](_0x45683f,_0x2ccb2e){const _0x326807=a0_0x178950;let _0x3e3025,_0x24bd91=await MetaUiUtil['getMenuMetaData'](_0x2ccb2e);if(_0x24bd91&&_0x24bd91['records']&&0x0!=_0x24bd91['records']['length']?(_0x3e3025=_0x24bd91[_0x326807(0x294)][0x0],!_0x3e3025[_0x326807(0x296)]&&_0x45683f['defaultPageConfig']&&(_0x3e3025[_0x326807(0x296)]=_0x45683f[_0x326807(0x25c)])):_0x45683f[_0x326807(0x25c)]&&(_0x3e3025={'id':_0x2ccb2e,'template':_0x45683f['defaultPageConfig']}),!_0x3e3025)throw new Error(TermsUtil[_0x326807(0x23f)](_0x326807(0x247),{'value':TermsUtil[_0x326807(0x274)](_0x326807(0x1e7))+'\x20'+_0x2ccb2e}));if(!_0x3e3025['template'])throw new Error(TermsUtil[_0x326807(0x23f)](_0x326807(0x247),{'value':TermsUtil[_0x326807(0x274)](_0x326807(0x1e7))+'\x20'+TermsUtil['tLabel']('model')}));return this[_0x326807(0x171)]=_0x3e3025['id'],JSON['parse'](MetaCrypto[_0x326807(0x1c9)](_0x3e3025[_0x326807(0x296)]));}static[a0_0x178950(0x1ea)](){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':_0x13f4f5=>Boolean(_0x13f4f5)},'is_popup':{'type':Boolean,'converter':_0x1fe846=>Boolean(_0x1fe846)},'is_activity':{'type':Boolean,'converter':_0x1e1b44=>Boolean(_0x1e1b44)},'is_readonly':{'type':Boolean,'converter':_0x2ffa1e=>Boolean(_0x2ffa1e)}};}static async[a0_0x178950(0x154)](_0x1615e3){const _0x32a4e8=a0_0x178950;if(0x0==store[_0x32a4e8(0x166)]()['metaUI'][_0x32a4e8(0x238)])return void document[_0x32a4e8(0x207)](new CustomEvent(_0x32a4e8(0x1a4),{'detail':{'level':_0x32a4e8(0x17e),'message':TermsUtil[_0x32a4e8(0x17a)](_0x32a4e8(0x1d7))}}));let _0x609be4=_0x1615e3['isPage']?UiUtil[_0x32a4e8(0x22e)]():_0x1615e3['route_name'];_0x1615e3['currentRouting']=_0x609be4;let _0x196816=await MetaUiUtil[_0x32a4e8(0x1ad)](_0x1615e3,_0x609be4);return!0x0===_0x1615e3[_0x32a4e8(0x1f8)]&&(_0x196816[_0x32a4e8(0x146)]['option'][_0x32a4e8(0x18a)]=!0x1,_0x196816['grid']['option']['pages']=_0x32a4e8(0x221),_0x196816[_0x32a4e8(0x146)]['use_filter_form']=!0x1,_0x196816['grid'][_0x32a4e8(0x203)]=[],_0x196816['button']=_0x196816['button'][_0x32a4e8(0x155)](_0x45ae43=>'add'==_0x45ae43['name'])),!0x0===_0x1615e3['is_readonly']&&(_0x196816[_0x32a4e8(0x290)][_0x32a4e8(0x19f)](_0x23decb=>{const _0x389c0c=_0x32a4e8;_0x23decb[_0x389c0c(0x1c8)]=!0x1;}),_0x196816['button']=_0x196816[_0x32a4e8(0x203)][_0x32a4e8(0x155)](_0x493d0b=>'add'!=_0x493d0b[_0x32a4e8(0x237)])),!0x1===_0x1615e3[_0x32a4e8(0x209)]&&(_0x196816[_0x32a4e8(0x146)][_0x32a4e8(0x209)]=!0x1),_0x196816[_0x32a4e8(0x290)][_0x32a4e8(0x155)](_0x43e8fb=>_0x43e8fb[_0x32a4e8(0x169)])[_0x32a4e8(0x19f)](_0x38caaa=>{const _0x6a7ef0=_0x32a4e8;_0x1615e3[_0x6a7ef0(0x14a)]||(_0x1615e3[_0x6a7ef0(0x14a)]={}),_0x1615e3['fieldChangeHandlers'][_0x38caaa[_0x6a7ef0(0x237)]]=_0x38caaa[_0x6a7ef0(0x169)];}),_0x196816['grid_column']['forEach'](_0x4965e7=>{const _0x162377=_0x32a4e8;[_0x162377(0x17d),_0x162377(0x15d)][_0x162377(0x145)](_0x4965e7[_0x162377(0x269)])?_0x4965e7[_0x162377(0x269)]=_0x162377(0x13d):[_0x162377(0x264)]['includes'](_0x4965e7[_0x162377(0x269)])&&(_0x4965e7[_0x162377(0x269)]=_0x162377(0x297));}),_0x196816;}static[a0_0x178950(0x173)](..._0x12a068){return{'pages':_0x12a068};}static[a0_0x178950(0x1fc)](_0x433d76,_0x5cc4a2){const _0x36c58c=a0_0x178950;let _0x989abd=[{'type':_0x36c58c(0x20d),'gutterName':_0x36c58c(0x18b)},{'type':'gutter','gutterName':_0x36c58c(0x198)}];return _0x433d76&&_0x989abd[_0x36c58c(0x223)]({'type':_0x36c58c(0x20d),'gutterName':'row-selector','multiple':_0x5cc4a2}),_0x989abd;}static[a0_0x178950(0x21b)](_0x14c514){return{'selectable':{'multiple':_0x14c514}};}static async[a0_0x178950(0x1e6)](_0x656dee){const _0x10a531=a0_0x178950;_0x656dee[_0x10a531(0x289)]||(_0x656dee[_0x10a531(0x289)]={}),_0x656dee[_0x10a531(0x289)][_0x10a531(0x156)]||(_0x656dee[_0x10a531(0x289)][_0x10a531(0x156)]={}),_0x656dee[_0x10a531(0x289)][_0x10a531(0x156)][_0x10a531(0x1c5)]||(_0x656dee[_0x10a531(0x289)][_0x10a531(0x156)][_0x10a531(0x1c5)]={}),_0x656dee[_0x10a531(0x289)][_0x10a531(0x176)]||(_0x656dee[_0x10a531(0x289)][_0x10a531(0x176)]={}),_0x656dee[_0x10a531(0x289)][_0x10a531(0x176)][_0x10a531(0x159)]||(_0x656dee[_0x10a531(0x289)][_0x10a531(0x176)][_0x10a531(0x159)]={}),_0x656dee[_0x10a531(0x289)][_0x10a531(0x176)][_0x10a531(0x159)]['skip_fields']||(_0x656dee[_0x10a531(0x289)]['mutation'][_0x10a531(0x159)][_0x10a531(0x1cc)]=[]);let _0x3f7adc=MetaUiUtil['getGridOptionSet'](_0x656dee),_0x5b660d=MetaUiUtil['getGridListSet'](_0x656dee),_0x335f87=MetaUiUtil[_0x10a531(0x246)](_0x656dee),_0x28f76b=MetaUiUtil[_0x10a531(0x285)](_0x656dee),_0x55e13e=await MetaUiUtil[_0x10a531(0x153)](_0x656dee);_0x55e13e[_0x10a531(0x155)](_0x282dc3=>[_0x10a531(0x13d)][_0x10a531(0x145)](_0x282dc3['type']))['forEach'](_0x363138=>{const _0x2a6119=_0x10a531;_0x656dee[_0x2a6119(0x1ff)][_0x2a6119(0x155)](_0x2ee96c=>_0x2ee96c[_0x2a6119(0x237)]==_0x363138[_0x2a6119(0x237)])['forEach'](_0x2dc6c9=>{const _0x39960f=_0x2a6119,_0x4bd36c=_0x363138[_0x39960f(0x164)][_0x39960f(0x273)],_0x33f1b4=_0x4bd36c[_0x39960f(0x1a3)]?_0x4bd36c[_0x39960f(0x1a3)]:_0x363138[_0x39960f(0x237)]+'Id',_0x97b9a7=_0x656dee['searchConfig'][_0x39960f(0x16a)](_0xa44146=>_0xa44146[_0x39960f(0x237)]==_0x363138[_0x39960f(0x237)]);_0x55e13e[_0x39960f(0x223)]({'type':_0x39960f(0x13d),'header':_0x363138['header'],'name':_0x33f1b4,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x4bd36c}}),_0x656dee[_0x39960f(0x289)][_0x39960f(0x156)][_0x39960f(0x1c5)][_0x33f1b4]='x',_0x656dee[_0x39960f(0x289)][_0x39960f(0x176)][_0x39960f(0x159)][_0x39960f(0x1cc)][_0x39960f(0x223)](_0x33f1b4),_0x656dee[_0x39960f(0x1ff)][_0x97b9a7][_0x39960f(0x237)]=_0x33f1b4,_0x656dee[_0x39960f(0x1ff)][_0x97b9a7][_0x39960f(0x269)]=_0x39960f(0x13d);});});let _0x1cba91=MetaUiUtil[_0x10a531(0x1fc)](_0x3f7adc['use_row_checker'],_0x335f87[_0x10a531(0x1f6)][_0x10a531(0x159)]);return 0x1==_0x656dee[_0x10a531(0x257)]&&(_0x55e13e=MetaUiUtil[_0x10a531(0x1c1)](_0x656dee,_0x55e13e)),{'list':_0x5b660d,'pagination':_0x3f7adc['pages'],'sorters':_0x3f7adc[_0x10a531(0x1e8)],'rows':_0x335f87,'columns':[..._0x1cba91,..._0x28f76b,..._0x55e13e]};}static async[a0_0x178950(0x28f)](_0x4c9b8d){const _0x1d1684=a0_0x178950;let _0xcc5a5e=_0x4c9b8d[_0x1d1684(0x195)],_0xcc06e3=[];for(let _0x1b342c=0x0;_0x1b342c<_0xcc5a5e[_0x1d1684(0x1a0)];_0x1b342c++){let {type:_0x5cfac4=_0x1d1684(0x258),name:_0x42712b,header:_0x5a2896,hidden:_0x19e7fb=!0x1,editable:_0x3b0658=!0x0,mandatory:_0x597aa6=!0x1,align:_0x1f5302='left',select_opt:_0x1923ab,object_opt:_0x1be8da}=_0xcc5a5e[_0x1b342c],_0x4b55b6={'type':_0x5cfac4,'name':_0x42712b,'header_txt':ValueUtil[_0x1d1684(0x140)](_0x5a2896)?TermsUtil['tLabel'](_0x42712b):TermsUtil[_0x1d1684(0x178)](_0x5a2896),'header':{'renderer':function(_0x1be519){const _0xe1ad9f=_0x1d1684;return _0x1be519[_0xe1ad9f(0x286)];}},'hidden':_0x19e7fb,'record':{'editable':_0x3b0658,'mandatory':_0x597aa6,'align':_0x1f5302,'classifier':function(){},'renderer':getRenderer(_0x5cfac4)}};_0x3b0658&&(_0x4b55b6['record'][_0x1d1684(0x1da)]=getEditor(_0x5cfac4)),_0x5cfac4[_0x1d1684(0x244)]('meta-')&&_0x1be8da&&_0x1be8da[_0x1d1684(0x1e7)]&&(_0x1be8da=await MetaUiUtil[_0x1d1684(0x25a)](_0x5cfac4,_0x1be8da)),_0x1d1684(0x215)===_0x5cfac4&&ValueUtil[_0x1d1684(0x1dd)](_0x1923ab)&&(Array[_0x1d1684(0x23c)](_0x1923ab)?_0x4b55b6[_0x1d1684(0x164)][_0x1d1684(0x273)]=_0x1923ab:'code'===_0x1923ab[_0x1d1684(0x269)]?_0x4b55b6[_0x1d1684(0x164)][_0x1d1684(0x273)]=await ServiceUtil[_0x1d1684(0x1c3)](_0x1923ab[_0x1d1684(0x1c4)]?_0x1923ab[_0x1d1684(0x1c4)]:_0x1923ab[_0x1d1684(0x237)]):'scenario'===_0x1923ab[_0x1d1684(0x269)]?_0x4b55b6[_0x1d1684(0x164)][_0x1d1684(0x273)]=await ServiceUtil['getCodeByScenario'](_0x1923ab[_0x1d1684(0x237)],_0x1923ab[_0x1d1684(0x1d1)]):'entity'===_0x1923ab['type']&&(_0x4b55b6[_0x1d1684(0x164)]['options']=await ServiceUtil['getCodeByEntity'](_0x1923ab[_0x1d1684(0x1d1)]))),_0x1d1684(0x13d)===_0x5cfac4&&ValueUtil['isNotEmpty'](_0x1be8da)?_0x4b55b6[_0x1d1684(0x164)][_0x1d1684(0x273)]={..._0x1be8da}:_0x1d1684(0x297)===_0x5cfac4&&ValueUtil[_0x1d1684(0x1dd)](_0x1be8da)&&(_0x1be8da['dispField']&&(_0x1be8da['codes']=await ServiceUtil[_0x1d1684(0x19c)](_0x1be8da)),_0x4b55b6[_0x1d1684(0x164)]['options']={..._0x1be8da}),_0xcc06e3[_0x1d1684(0x223)](_0x4b55b6);}return _0xcc06e3;}static[a0_0x178950(0x180)](_0x4e5c75){const _0x126a4b=a0_0x178950;let _0x11eafa=_0x4e5c75[_0x126a4b(0x1a9)];_0x4e5c75[_0x126a4b(0x257)]=!_0x11eafa||null==_0x11eafa['use_filter_form']||_0x11eafa[_0x126a4b(0x209)];let {mobile_mode:_0x79154f=_0x126a4b(0x261),desk_mode:_0x2bdea7='GRID',view_mode:_0x4613c4=[],use_row_checker:_0x625daf=!0x0,sorters:_0x3025a0=[],pages:_0x3e71bc=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x126a4b(0x140)](_0x11eafa[_0x126a4b(0x1b0)])?{}:_0x11eafa['option'];return _0x126a4b(0x221)===_0x3e71bc||'-1'===_0x3e71bc?(_0x4e5c75[_0x126a4b(0x271)]=!0x0,_0x3e71bc={'infinite':!0x0}):(_0x4e5c75['infinityPage']=!0x1,_0x3e71bc[_0x126a4b(0x1ca)](function(_0x4c19dd,_0x4f0ad8){return _0x4c19dd-_0x4f0ad8;}),_0x3e71bc={'pages':_0x3e71bc}),ValueUtil[_0x126a4b(0x1dd)](_0x4613c4)&&(0x1==_0x4613c4[_0x126a4b(0x1a0)]?(_0x2bdea7=_0x4613c4[0x0],_0x79154f=_0x4613c4[0x0]):_0x4613c4[_0x126a4b(0x1a0)]>=0x2&&(_0x4613c4[_0x126a4b(0x145)](_0x79154f)||(_0x79154f=_0x4613c4[0x1]),_0x4613c4[_0x126a4b(0x145)](_0x2bdea7)||(_0x2bdea7=_0x4613c4[0x0]))),_0x4e5c75[_0x126a4b(0x291)]=_0x79154f,_0x4e5c75[_0x126a4b(0x1f1)]=_0x2bdea7,_0x4e5c75[_0x126a4b(0x29b)]=_0x4613c4,_0x4e5c75[_0x126a4b(0x299)]=UiUtil[_0x126a4b(0x24b)]()?_0x4e5c75[_0x126a4b(0x291)]:_0x4e5c75[_0x126a4b(0x1f1)],{'use_row_checker':_0x625daf,'sorters':_0x3025a0,'pages':_0x3e71bc};}static['getGridListSet'](_0x1e51e5){const _0x709984=a0_0x178950;let _0x37fdfa={'fields':[ValueUtil[_0x709984(0x1ae)](_0x1e51e5[_0x709984(0x20c)],_0x709984(0x237)),ValueUtil[_0x709984(0x1ae)](_0x1e51e5[_0x709984(0x20c)],_0x709984(0x1f3))]};return _0x1e51e5[_0x709984(0x1a9)][_0x709984(0x158)]&&Object['assign'](_0x37fdfa,_0x1e51e5['gridConfig'][_0x709984(0x158)]),_0x37fdfa;}static[a0_0x178950(0x246)](_0x3519eb){const _0x1b009b=a0_0x178950;let {multiple_select:_0x2cbe15=!0x1,click:_0xf062ce}=ValueUtil[_0x1b009b(0x140)](_0x3519eb['gridConfig']['row'])?{}:_0x3519eb[_0x1b009b(0x1a9)]['row'],_0x153b37={'selectable':{'multiple':_0x2cbe15},'appendable':_0x3519eb[_0x1b009b(0x252)]};return ValueUtil[_0x1b009b(0x1dd)](_0xf062ce)&&(_0x153b37[_0x1b009b(0x1b8)]={'click':_0xf062ce}),_0x153b37;}static[a0_0x178950(0x285)](_0x37dd1f){const _0x5edd9a=a0_0x178950;let _0x2f4973=_0x37dd1f[_0x5edd9a(0x1a9)][_0x5edd9a(0x203)];return ValueUtil[_0x5edd9a(0x140)](_0x2f4973)?[]:_0x2f4973[_0x5edd9a(0x236)](_0xae888a=>{const _0x333ac8=_0x5edd9a;let _0x1a3505={'type':_0x333ac8(0x20d),'gutterName':_0x333ac8(0x203)};if(ValueUtil[_0x333ac8(0x1dd)](_0xae888a['icon'])&&(Array['isArray'](_0xae888a[_0x333ac8(0x1cb)])?_0x1a3505[_0x333ac8(0x1cb)]=_0x12b0f1=>{const _0x321a47=_0x333ac8;if(ValueUtil['isNotEmpty'](_0x12b0f1))for(let _0x5b6998=0x0;_0x5b6998<_0xae888a['icon']['length'];_0x5b6998++){let _0x1f393a=_0xae888a['icon'][_0x5b6998];if(!0x0===ValueUtil[_0x321a47(0x190)](_0x1f393a,_0x12b0f1,Object['keys'](_0x1f393a)[_0x321a47(0x155)](_0x485694=>_0x321a47(0x1cb)!=_0x485694)))return _0x1f393a[_0x321a47(0x1cb)];}}:_0x1a3505[_0x333ac8(0x1cb)]=_0xae888a[_0x333ac8(0x1cb)]),ValueUtil[_0x333ac8(0x1dd)](_0xae888a[_0x333ac8(0x237)])&&(_0x1a3505[_0x333ac8(0x237)]=_0xae888a['name']),ValueUtil['isNotEmpty'](_0xae888a[_0x333ac8(0x14b)])&&(_0x1a3505[_0x333ac8(0x157)]=TermsUtil['tButton'](_0xae888a[_0x333ac8(0x14b)])),'basic'===_0xae888a[_0x333ac8(0x269)]){let _0x1542eb=ValueUtil[_0x333ac8(0x1ae)](_0xae888a,_0x333ac8(0x1fa));[_0x333ac8(0x279),_0x333ac8(0x211)][_0x333ac8(0x145)](_0x1542eb)?_0x1a3505[_0x333ac8(0x1b8)]={'click':(_0x3e9f73,_0x5d49fd,_0x12b6ac,_0x11935e,_0x55fedb)=>{const _0x1a9001=_0x333ac8;if(_0x11935e['id']){let _0x5d03d5={'title':_0x1a9001(0x181),'type':'popup','tagname':_0x1a9001(0x279)==_0x1542eb?'history-copy-list-popup':_0x1a9001(0x1ab),'location':'history_copy'==_0x1542eb?_0x1a9001(0x20a):_0x1a9001(0x27d),'menu':_0x37dd1f[_0x1a9001(0x22e)],'size':'large','popup_field':_0x1a9001(0x187),'parent_field':'id'},_0x28faeb={..._0x11935e,'gqlFunc':ValueUtil[_0x1a9001(0x1ae)](_0x37dd1f[_0x1a9001(0x289)],'query',_0x1a9001(0x281)),'gristConfig':JSON[_0x1a9001(0x1c6)](JSON[_0x1a9001(0x1f2)](_0x37dd1f[_0x1a9001(0x282)][_0x1a9001(0x174)]))};MetaUiUtil[_0x1a9001(0x19d)](_0x37dd1f,{'logic':_0x5d03d5},_0x28faeb);}}}:_0x1a3505[_0x333ac8(0x1b8)]={'click':_0x1542eb};}else _0x1a3505[_0x333ac8(0x1b8)]={'click':(_0x263f65,_0x594aff,_0x2ab148,_0x2aea44,_0x2a7679)=>{_0x2aea44['id']&&MetaUiUtil['gristButtonHandler'](_0x37dd1f,_0xae888a,_0x2aea44);}};return _0x1a3505;});}static async['getGridColumnSet'](_0x3f0bc8){const _0x153083=a0_0x178950;let _0x56e213=_0x3f0bc8[_0x153083(0x298)];if(ValueUtil[_0x153083(0x140)](_0x56e213))return[];let _0x5867c6=[];for(let _0x1bd37b=0x0;_0x1bd37b<_0x56e213[_0x153083(0x1a0)];_0x1bd37b++){let {type:_0x4e7484=_0x153083(0x258),name:_0x111923,header:_0x20cfb1,hidden:_0x513436=!0x1,editable:_0x1e4ed3=!0x0,mandatory:_0x46bfc3=!0x1,sortable:_0x2811a7=!0x1,align:_0x56d804=_0x153083(0x295),width:_0x33dbe4=0x0,exportable:_0x18224f=!0x1,select_opt:_0x5237c6,object_opt:_0x441948,format:_0x5268b5}=_0x56e213[_0x1bd37b],_0x375ec2={'type':_0x4e7484,'name':_0x111923,'header':ValueUtil['isEmpty'](_0x20cfb1)?'':TermsUtil['tLabel'](_0x20cfb1),'hidden':_0x513436,'sortable':_0x2811a7,'width':_0x33dbe4,'record':{'editable':_0x1e4ed3,'mandatory':_0x46bfc3,'align':_0x56d804,'format':_0x5268b5}};if(_0x4e7484[_0x153083(0x244)]('meta-')&&_0x441948&&_0x441948[_0x153083(0x1e7)]&&(_0x441948=await MetaUiUtil[_0x153083(0x25a)](_0x4e7484,_0x441948)),_0x153083(0x215)===_0x4e7484&&ValueUtil[_0x153083(0x1dd)](_0x5237c6)&&(Array['isArray'](_0x5237c6)?_0x375ec2[_0x153083(0x164)][_0x153083(0x273)]=_0x5237c6:_0x153083(0x1df)===_0x5237c6[_0x153083(0x269)]?_0x375ec2[_0x153083(0x164)][_0x153083(0x273)]=await ServiceUtil['getCodeSelectorData'](_0x5237c6[_0x153083(0x1c4)]?_0x5237c6[_0x153083(0x1c4)]:_0x5237c6[_0x153083(0x237)]):'scenario'===_0x5237c6[_0x153083(0x269)]?_0x375ec2[_0x153083(0x164)][_0x153083(0x273)]=await ServiceUtil[_0x153083(0x27f)](_0x5237c6['name'],_0x5237c6[_0x153083(0x1d1)]):'entity'===_0x5237c6[_0x153083(0x269)]&&(_0x375ec2[_0x153083(0x164)][_0x153083(0x273)]=await ServiceUtil[_0x153083(0x19c)](_0x5237c6[_0x153083(0x1d1)]))),'meta-object-selector'===_0x4e7484&&ValueUtil[_0x153083(0x1dd)](_0x441948)){let _0x47262a;_0x375ec2[_0x153083(0x164)]['options']={..._0x441948},_0x441948[_0x153083(0x142)]&&_0x441948['basicArgs'][_0x153083(0x1c2)]&&(_0x47262a=[..._0x441948[_0x153083(0x142)]['filters']]),_0x47262a&&JSON['stringify'](_0x47262a)[_0x153083(0x145)]('::')&&(_0x375ec2[_0x153083(0x1b8)]={'dblclick':(_0x23f739,_0x577ee1,_0x261290,_0x4ee848,_0x48ff3c)=>{const _0x4ac73f=_0x153083;let _0x14ac2e=[];_0x47262a[_0x4ac73f(0x19f)](_0x18a8f0=>{const _0x5b6de2=_0x4ac73f;var {name:_0x452d37,value:_0x5480b8,operator:_0xdc2511='eq'}=_0x18a8f0;_0x5480b8[_0x5b6de2(0x145)]('::')&&(_0x5480b8=ValueUtil[_0x5b6de2(0x1ae)](_0x4ee848,..._0x5480b8[_0x5b6de2(0x1b7)]('::','')[_0x5b6de2(0x1bb)]('.'))),_0x5480b8||(_0x5480b8=''),_0x14ac2e[_0x5b6de2(0x223)]({'name':_0x452d37,'operator':_0xdc2511,'value':_0x5480b8});}),_0x261290['record'][_0x4ac73f(0x273)][_0x4ac73f(0x142)][_0x4ac73f(0x1c2)]=_0x14ac2e;}});}else'meta-code-selector'===_0x4e7484&&ValueUtil[_0x153083(0x1dd)](_0x441948)&&(_0x441948[_0x153083(0x1fe)]&&(_0x441948['codes']=await ServiceUtil[_0x153083(0x19c)](_0x441948)),_0x375ec2[_0x153083(0x164)]['options']={..._0x441948});!0x0===_0x3f0bc8[_0x153083(0x170)]&&!0x0===_0x18224f&&(_0x375ec2[_0x153083(0x222)]={'header':_0x375ec2[_0x153083(0x191)],'key':_0x375ec2[_0x153083(0x237)],'width':_0x375ec2[_0x153083(0x1ce)]/0x6,'type':_0x375ec2[_0x153083(0x269)]}),_0x5867c6[_0x153083(0x223)](_0x375ec2);}if(!0x0!==this[_0x153083(0x1f8)])return _0x5867c6;let _0x2b7e7f=await MetaApi[_0x153083(0x226)](this[_0x153083(0x171)]),{template:_0x6d74bb={}}=_0x2b7e7f;if(!_0x6d74bb[_0x153083(0x29a)])return _0x5867c6;let _0x3290d0=_0x6d74bb['master'];return _0x5867c6=_0x5867c6['map'](_0xcd0d65=>('id'==_0xcd0d65[_0x153083(0x237)]||(_0xcd0d65[_0x153083(0x20e)]=!_0x3290d0[_0x153083(0x145)](_0xcd0d65[_0x153083(0x237)]),_0xcd0d65['rank']=_0x3290d0[_0x153083(0x1ba)](_0xcd0d65[_0x153083(0x237)]),-0x1==_0xcd0d65[_0x153083(0x287)]&&(_0xcd0d65[_0x153083(0x287)]=0x1869f)),_0xcd0d65)),_0x5867c6[_0x153083(0x1ca)]((_0x1fba86,_0xb23f00)=>_0x1fba86[_0x153083(0x287)]-_0xb23f00[_0x153083(0x287)]),_0x5867c6;}static async[a0_0x178950(0x25a)](_0x2b6bd4,_0xe332d2){const _0x1037a0=a0_0x178950;let _0x14291c=await MetaUiUtil[_0x1037a0(0x161)](_0xe332d2[_0x1037a0(0x1e7)]);if(_0x14291c&&_0x14291c[_0x1037a0(0x294)]&&_0x14291c[_0x1037a0(0x294)][_0x1037a0(0x1a0)]>0x0&&_0x14291c[_0x1037a0(0x294)][0x0]['template']){let _0x4e0c4b=_0x14291c[_0x1037a0(0x294)][0x0],_0x3a90a8=JSON[_0x1037a0(0x1c6)](MetaCrypto['dec'](_0x4e0c4b[_0x1037a0(0x296)]));_0xe332d2[_0x1037a0(0x1e0)]||(_0xe332d2['queryName']=_0x3a90a8[_0x1037a0(0x21d)][_0x1037a0(0x156)]['list_func']),_0xe332d2[_0x1037a0(0x215)]||(_0xe332d2[_0x1037a0(0x215)]=_0x3a90a8['grid_column']),_0xe332d2[_0x1037a0(0x163)]&&0x0!=_0xe332d2[_0x1037a0(0x163)][_0x1037a0(0x1a0)]||(_0xe332d2[_0x1037a0(0x163)]=_0x3a90a8[_0x1037a0(0x199)]),_0xe332d2[_0x1037a0(0x1de)]||(_0xe332d2['selectorName']=_0x3a90a8[_0x1037a0(0x1e7)][_0x1037a0(0x157)]),_0xe332d2[_0x1037a0(0x1c2)]||(_0xe332d2[_0x1037a0(0x1c2)]=_0x3a90a8[_0x1037a0(0x21d)][_0x1037a0(0x156)][_0x1037a0(0x1c2)]||[]),_0x2b6bd4['includes'](_0x1037a0(0x265))?_0xe332d2[_0x1037a0(0x15a)]||(_0xe332d2['nameField']=_0x3a90a8[_0x1037a0(0x1e7)][_0x1037a0(0x237)]||_0x1037a0(0x237)):_0x2b6bd4[_0x1037a0(0x145)](_0x1037a0(0x239))&&(_0xe332d2['codeField']||(_0xe332d2[_0x1037a0(0x1b5)]=_0x3a90a8[_0x1037a0(0x1e7)]['name']||_0x1037a0(0x1df)),_0xe332d2['dispField']||(_0xe332d2[_0x1037a0(0x1fe)]=_0x3a90a8[_0x1037a0(0x1e7)][_0x1037a0(0x1f3)]||void 0x0));}return _0xe332d2;}static[a0_0x178950(0x1c1)](_0x4b3781,_0x277750){const _0x2769f6=a0_0x178950;let _0x7431a7=_0x4b3781[_0x2769f6(0x1ff)];return _0x7431a7&&_0x7431a7[_0x2769f6(0x19f)](_0x1b5582=>{const _0x125c67=_0x2769f6;_0x125c67(0x258)==typeof _0x1b5582?_0x277750[_0x125c67(0x155)](_0x244a5c=>_0x244a5c[_0x125c67(0x237)]==_0x1b5582)[_0x125c67(0x19f)](_0xb06ba7=>{const _0x7844b=_0x125c67;_0xb06ba7['filter']=_0x7844b(0x199);}):'object'==typeof _0x1b5582&&_0x277750[_0x125c67(0x155)](_0x3c8a82=>_0x3c8a82[_0x125c67(0x237)]==_0x1b5582[_0x125c67(0x237)])[_0x125c67(0x19f)](_0x4bcb2c=>{const _0x5dcb21=_0x125c67;_0x4bcb2c[_0x5dcb21(0x155)]=_0x1b5582,_0x4bcb2c[_0x5dcb21(0x155)][_0x5dcb21(0x269)]=_0x5dcb21(0x228)===_0x4bcb2c[_0x5dcb21(0x269)]&&'eq'==_0x1b5582['operator']?'datetime-local':_0x4bcb2c[_0x5dcb21(0x269)];let _0x4b7dd8=_0x4bcb2c['filter'][_0x5dcb21(0x175)],_0x486dda=[_0x5dcb21(0x250),'year',_0x5dcb21(0x26f),_0x5dcb21(0x1a7),_0x5dcb21(0x2a0),_0x5dcb21(0x183),_0x5dcb21(0x17b)];if(_0x4b7dd8&&_0x486dda[_0x5dcb21(0x155)](_0x6da9c=>_0x4b7dd8[_0x5dcb21(0x244)](_0x6da9c))[_0x5dcb21(0x1a0)]>0x0){let _0x167d62=[],_0x397c87={'date':_0x5dcb21(0x18d),'datetime':_0x5dcb21(0x13e)},_0x4a1aac={'today':_0x5dcb21(0x1eb),'year':'year','month':'month','date':'day','hour':_0x5dcb21(0x2a0),'min':_0x5dcb21(0x1ec),'sec':'second'};_0x4b7dd8[_0x5dcb21(0x1bb)](',')['forEach'](_0x11ef5d=>{const _0x58ebfe=_0x5dcb21,_0x4532a8=a0_0x234ac8();if(_0x486dda['includes'](_0x11ef5d))_0x167d62[_0x58ebfe(0x223)](_0x4532a8['startOf'](_0x4a1aac[_0x11ef5d])[_0x58ebfe(0x275)](_0x397c87[_0x4bcb2c[_0x58ebfe(0x269)]]));else{if(_0x11ef5d[_0x58ebfe(0x145)]('-')){let _0x41aae3=_0x11ef5d[_0x58ebfe(0x1bb)]('-'),_0x5b8ccd=_0x41aae3[0x0],_0x9af7f8=_0x41aae3[0x1];_0x167d62[_0x58ebfe(0x223)](_0x4532a8[_0x58ebfe(0x179)](_0x9af7f8,_0x4a1aac[_0x5b8ccd])[_0x58ebfe(0x235)](_0x4a1aac[_0x5b8ccd])[_0x58ebfe(0x275)](_0x397c87[_0x4bcb2c['type']]));}else{if(_0x11ef5d[_0x58ebfe(0x145)]('+')){let _0x4927ef=_0x11ef5d['split']('+'),_0x1812eb=_0x4927ef[0x0],_0x5bbda0=_0x4927ef[0x1];_0x167d62[_0x58ebfe(0x223)](_0x4532a8[_0x58ebfe(0x1a1)](_0x5bbda0,_0x4a1aac[_0x1812eb])[_0x58ebfe(0x235)](_0x4a1aac[_0x1812eb])[_0x58ebfe(0x275)](_0x397c87[_0x4bcb2c[_0x58ebfe(0x269)]]));}}}}),_0x167d62[_0x5dcb21(0x1a0)]>0x0&&(_0x4bcb2c[_0x5dcb21(0x155)][_0x5dcb21(0x175)]=0x1==_0x167d62['length']?_0x167d62[0x0]:_0x167d62);}});}),_0x277750;}static[a0_0x178950(0x18f)](_0x5f4e09){const _0x41ef59=a0_0x178950;let _0x2f6414={'title':TermsUtil['tTitle'](_0x5f4e09[_0x41ef59(0x20c)][_0x41ef59(0x157)]),'help':_0x5f4e09[_0x41ef59(0x20c)][_0x41ef59(0x259)]||'','actions':[...MetaUiUtil[_0x41ef59(0x1d3)](_0x5f4e09)]};return _0x5f4e09[_0x41ef59(0x170)]&&(_0x2f6414[_0x41ef59(0x206)]={'name':_0x2f6414['title'],'data':_0x5f4e09['export']['bind'](_0x5f4e09)}),_0x5f4e09[_0x41ef59(0x28b)]&&(_0x2f6414[_0x41ef59(0x1e9)]={'handler':_0x5f4e09[_0x41ef59(0x263)]['bind'](_0x5f4e09)}),_0x2f6414;}static['getContextButtons'](_0x22b9d4){const _0x262eb5=a0_0x178950;let _0x22ebac=_0x22b9d4[_0x262eb5(0x23a)];return ValueUtil[_0x262eb5(0x140)](_0x22ebac)?[]:_0x22ebac[_0x262eb5(0x155)](_0x3112dd=>'export'!=_0x3112dd[_0x262eb5(0x237)]&&'import'!=_0x3112dd[_0x262eb5(0x237)]&&_0x262eb5(0x1a1)!=_0x3112dd[_0x262eb5(0x237)])[_0x262eb5(0x236)](_0x2b038b=>{const _0x5b05cb=_0x262eb5;let {name:_0x1a6f33,label:_0x41f526,style:_0x4cfee5,type:_0x37ba90='basic',action:_0x1f3ee2,logic:_0x51ab91}=_0x2b038b;if(ValueUtil['isEmpty'](_0x1a6f33))return{'title':'-1'};ValueUtil[_0x5b05cb(0x140)](_0x41f526)&&(_0x41f526=_0x1a6f33),ValueUtil[_0x5b05cb(0x140)](_0x4cfee5)&&(_0x4cfee5=_0x1a6f33),ValueUtil['isEmpty'](_0x1f3ee2)&&(_0x1f3ee2=_0x1a6f33);let _0x28e94f=ValueUtil[_0x5b05cb(0x1dd)](_0x4cfee5)?CommonButtonStyles[_0x4cfee5]||{'icon':_0x4cfee5,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x5b05cb(0x218)](_0x41f526),'action':MetaUiUtil[_0x5b05cb(0x26b)](_0x22b9d4,_0x37ba90,_0x1f3ee2,_0x51ab91),..._0x28e94f};})[_0x262eb5(0x155)](_0x5dcd49=>'-1'!=_0x5dcd49[_0x262eb5(0x157)]);}static[a0_0x178950(0x227)](_0x221132){const _0x4db763=a0_0x178950;let _0xd2feba=_0x221132&&_0x221132[_0x4db763(0x23a)]?_0x221132[_0x4db763(0x23a)]:null;return _0xd2feba?_0xd2feba['filter'](_0x75abd=>'add'!=_0x75abd['name'])[_0x4db763(0x236)](_0x3e6d58=>{const _0x2d204f=_0x4db763;let {name:_0x2b974f,label:_0x49efbe,style:_0x37261d,type:_0x582dbf='basic',action:_0x309394,logic:_0x4879a4}=_0x3e6d58;ValueUtil['isEmpty'](_0x49efbe)&&(_0x49efbe=_0x2b974f),ValueUtil[_0x2d204f(0x140)](_0x37261d)&&(_0x37261d=_0x2b974f),ValueUtil[_0x2d204f(0x140)](_0x309394)&&(_0x309394=_0x2b974f);let _0x3f16ff=MetaUiUtil['createButtonElement'](TermsUtil[_0x2d204f(0x218)](_0x49efbe),_0x37261d);return _0x3f16ff['onclick']=MetaUiUtil[_0x2d204f(0x26b)](_0x221132,_0x582dbf,_0x309394,_0x4879a4),_0x3f16ff;}):[];}static[a0_0x178950(0x1f9)](_0x2199e0,_0x314fcc){const _0x262333=a0_0x178950;let _0x29c98e=CommonButtonStyles[_0x314fcc]||{'icon':_0x314fcc,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x5e9da1=_0x262333(0x19a)+_0x2199e0+_0x262333(0x26d)+(_0x29c98e[_0x262333(0x1cb)]?_0x29c98e['icon']:'')+_0x262333(0x213)+(_0x29c98e[_0x262333(0x144)][_0x262333(0x200)]?'raised':'')+'\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x29c98e[_0x262333(0x144)]['outlined']?'outlined':'')+_0x262333(0x1af)+(_0x29c98e[_0x262333(0x144)][_0x262333(0x16d)]?_0x262333(0x16d):'')+_0x262333(0x1af)+(_0x29c98e[_0x262333(0x144)][_0x262333(0x182)]?'danger':'')+'\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20';return UiUtil['htmlToElement'](_0x5e9da1);}static[a0_0x178950(0x26b)](_0x58bb40,_0x2dc5bc,_0x5c32ce,_0x5689f3){const _0x49536a=a0_0x178950;if('basic'==_0x2dc5bc){if(_0x58bb40[_0x5c32ce])return _0x58bb40[_0x5c32ce][_0x49536a(0x1a5)](_0x58bb40);}else{if(_0x49536a(0x15f)==_0x2dc5bc)return()=>MetaUiUtil[_0x49536a(0x1e5)](_0x58bb40,_0x5689f3);}return()=>{const _0xb74874=_0x49536a;UiUtil[_0xb74874(0x231)](_0xb74874(0x1ee),'text.button_bind_func_is_not_exist',_0xb74874(0x229),_0xb74874(0x1e4));};}static async[a0_0x178950(0x19d)](_0x5b99bb,_0x18e111,_0x434b94){const _0x5d2a57=a0_0x178950;let _0x59ccdd=ValueUtil[_0x5d2a57(0x1ae)](_0x18e111,_0x5d2a57(0x1fa)),_0x2e6f37=ValueUtil[_0x5d2a57(0x1ae)](_0x59ccdd,_0x5d2a57(0x269));if('form'===_0x2e6f37)_0x59ccdd[_0x5d2a57(0x167)]=_0x5d2a57(0x1cd),_0x59ccdd[_0x5d2a57(0x20b)]=_0x5d2a57(0x1dc),_0x59ccdd['parent_field']='id',await MetaUiUtil[_0x5d2a57(0x217)](_0x5b99bb,_0x59ccdd,_0x434b94);else{if('pass_param'===_0x2e6f37)MetaUiUtil[_0x5d2a57(0x26e)](_0x5b99bb,_0x59ccdd,_0x434b94);else{if(_0x5d2a57(0x24f)===_0x2e6f37){let _0x474489;_0x59ccdd[_0x5d2a57(0x194)]?(_0x474489={},Object[_0x5d2a57(0x272)](_0x434b94)['filter'](_0x42daba=>Object[_0x5d2a57(0x272)](_0x59ccdd[_0x5d2a57(0x194)])[_0x5d2a57(0x145)](_0x42daba))[_0x5d2a57(0x236)](_0x575766=>{const _0x29729c=_0x5d2a57;Object[_0x29729c(0x272)](_0x59ccdd[_0x29729c(0x194)])['includes'](_0x575766)&&('string'==typeof _0x434b94[_0x575766]?_0x474489[_0x59ccdd[_0x29729c(0x194)][_0x575766]]=_0x434b94[_0x575766]:_0x474489[_0x59ccdd[_0x29729c(0x194)][_0x575766]]={'id':_0x434b94[_0x575766]['id']});})):_0x474489=_0x434b94,UiUtil['pageNavigate'](_0x59ccdd[_0x5d2a57(0x1a2)],[_0x474489]);}else _0x5d2a57(0x1c0)===_0x2e6f37?await MetaUiUtil['commonButtonOpenPopup'](_0x5b99bb,_0x59ccdd,_0x434b94):'scenario'===_0x2e6f37?await MetaUiUtil['commonButtonCallScenario'](_0x5b99bb,_0x59ccdd,_0x434b94):_0x5d2a57(0x20f)===_0x2e6f37&&await MetaUiUtil[_0x5d2a57(0x1fd)](_0x5b99bb,_0x59ccdd,_0x434b94);}}}static async[a0_0x178950(0x1e5)](_0x1da744,_0x2e18f5){const _0x130c67=a0_0x178950;if(ValueUtil[_0x130c67(0x140)](_0x2e18f5))return;let _0x4693bc=_0x1da744[_0x130c67(0x282)],_0x58a7bc=_0x1da744['filterForm'],_0x165afe=ValueUtil['getParams'](_0x2e18f5,_0x130c67(0x269)),_0x7c8c16=ValueUtil[_0x130c67(0x1ae)](_0x2e18f5,_0x130c67(0x1d9)),_0x24d4f7=_0x7c8c16['filter'](_0x44d147=>_0x44d147[_0x130c67(0x244)]('grist'));if(ValueUtil['isNotEmpty'](_0x24d4f7)){if(!_0x4693bc)return void UiUtil[_0x130c67(0x231)]('title.info',_0x130c67(0x29d),_0x130c67(0x229),_0x130c67(0x1e4));if(0x0==(_0x4693bc[_0x130c67(0x24e)]?_0x4693bc['data'][_0x130c67(0x294)]:[])[_0x130c67(0x1a0)])return void UiUtil['showAlertPopup'](_0x130c67(0x186),_0x130c67(0x143),_0x130c67(0x229),_0x130c67(0x1e4));if(_0x7c8c16[_0x130c67(0x145)](_0x130c67(0x172))||_0x7c8c16['includes'](_0x130c67(0x24c))){let _0x3b752f=_0x4693bc['selected'];if(ValueUtil['isEmpty'](_0x3b752f))return void UiUtil[_0x130c67(0x231)]('text.nothing_selected',_0x130c67(0x1bf),_0x130c67(0x229),_0x130c67(0x1e4));if(_0x7c8c16[_0x130c67(0x145)]('grist_one')&&_0x3b752f['length']>0x1)return void UiUtil['showAlertPopup'](_0x130c67(0x186),_0x130c67(0x1b1),_0x130c67(0x229),_0x130c67(0x1e4));}}let _0x589da7={};if(_0x7c8c16['includes'](_0x130c67(0x155))){if(!_0x58a7bc)return void UiUtil['showAlertPopup'](_0x130c67(0x186),_0x130c67(0x208),_0x130c67(0x229),_0x130c67(0x1e4));let _0x3a02ea=_0x58a7bc?await _0x58a7bc[_0x130c67(0x225)]():[];_0x589da7[_0x130c67(0x155)]=_0x3a02ea;}if(_0x7c8c16[_0x130c67(0x145)](_0x130c67(0x1db)))_0x589da7['grist']=_0x4693bc[_0x130c67(0x24e)]['records'];else{if(_0x7c8c16[_0x130c67(0x145)](_0x130c67(0x172)))_0x589da7['grist']=_0x4693bc['selected'][0x0];else{if(_0x7c8c16[_0x130c67(0x145)](_0x130c67(0x24c)))_0x589da7[_0x130c67(0x282)]=_0x4693bc[_0x130c67(0x278)];else{if(_0x7c8c16[_0x130c67(0x145)](_0x130c67(0x22a))&&(_0x589da7[_0x130c67(0x282)]=ServiceUtil[_0x130c67(0x188)](_0x4693bc),!_0x589da7[_0x130c67(0x282)]))return;}}}if(_0x130c67(0x24f)===_0x165afe){let _0x5a9f96,_0x3feae1=Array[_0x130c67(0x23c)](_0x589da7[_0x130c67(0x282)])?_0x589da7[_0x130c67(0x282)]:[_0x589da7[_0x130c67(0x282)]];_0x5a9f96=_0x2e18f5[_0x130c67(0x194)]?_0x3feae1[_0x130c67(0x236)](_0x3e21d7=>{const _0x2dae31=_0x130c67;let _0x29cccf={};return Object[_0x2dae31(0x272)](_0x3e21d7)[_0x2dae31(0x155)](_0x54536=>Object[_0x2dae31(0x272)](_0x2e18f5['param_field'])[_0x2dae31(0x145)](_0x54536))[_0x2dae31(0x236)](_0x2adc77=>{const _0x347da0=_0x2dae31;Object['keys'](_0x2e18f5['param_field'])[_0x347da0(0x145)](_0x2adc77)&&(_0x347da0(0x258)==typeof _0x3e21d7[_0x2adc77]?_0x29cccf[_0x2e18f5['param_field'][_0x2adc77]]=_0x3e21d7[_0x2adc77]:_0x29cccf[_0x2e18f5['param_field'][_0x2adc77]]={'id':_0x3e21d7[_0x2adc77]['id']});}),_0x29cccf;}):_0x3feae1,UiUtil['pageNavigate'](_0x2e18f5[_0x130c67(0x1a2)],_0x5a9f96);}else{if(_0x130c67(0x1c0)===_0x165afe){let _0x10dfa6={..._0x589da7[_0x130c67(0x282)]?_0x589da7[_0x130c67(0x282)]:{},..._0x589da7[_0x130c67(0x155)]?_0x589da7[_0x130c67(0x155)]:{}};await MetaUiUtil['commonButtonOpenPopup'](_0x1da744,_0x2e18f5,_0x10dfa6);}else _0x130c67(0x201)===_0x165afe&&await MetaUiUtil['commonButtonCallScenario'](_0x1da744,_0x2e18f5,_0x589da7);}}static['gristButtonPassParam'](_0x40ffbb,_0x1eb7b9,_0x26a836){const _0x587197=a0_0x178950;let _0x16161b=_0x1eb7b9['pass_field'],_0x579a57={},_0x496a88=_0x40ffbb['tagName'][_0x587197(0x25e)](),_0x5362a1=_0x40ffbb;_0x579a57=_0x496a88['startsWith'](_0x587197(0x14c))?{'detail':{..._0x16161b}}:_0x496a88['startsWith'](_0x587197(0x242))?_0x40ffbb[_0x587197(0x19b)]['tagName'][_0x587197(0x25e)]()[_0x587197(0x244)](_0x587197(0x232))?{'detail':{..._0x16161b}}:{'self':{..._0x16161b}}:_0x16161b,Object['keys'](_0x579a57)[_0x587197(0x19f)](_0x3b9293=>{const _0x54ff0e=_0x587197;if(_0x54ff0e(0x29a)==_0x3b9293?_0x5362a1=_0x40ffbb[_0x54ff0e(0x1d6)]['masterElement']:_0x54ff0e(0x1aa)==_0x3b9293?_0x5362a1=_0x40ffbb[_0x54ff0e(0x1d6)]?_0x40ffbb[_0x54ff0e(0x1d6)][_0x54ff0e(0x19b)]:_0x40ffbb[_0x54ff0e(0x19b)]:_0x54ff0e(0x219)==_0x3b9293&&(_0x5362a1=_0x40ffbb),_0x5362a1['tagName'][_0x54ff0e(0x25e)]()['startsWith'](_0x54ff0e(0x277)))Object['keys'](_0x579a57[_0x3b9293])[_0x54ff0e(0x19f)](_0x478e2e=>{const _0x2af35e=_0x54ff0e;let _0x331f67=_0x5362a1[_0x2af35e(0x293)][_0x2af35e(0x28c)]('#'+_0x478e2e);_0x26a836['id']&&_0x331f67[_0x2af35e(0x27e)](_0x26a836['id']);let _0xb9e689=_0x579a57[_0x3b9293][_0x478e2e];Object[_0x2af35e(0x272)](_0xb9e689)[_0x2af35e(0x19f)](_0x114ceb=>{let _0x4c0a0e=_0xb9e689[_0x114ceb],_0x8bab2d='*'===_0x4c0a0e?_0x26a836:_0x26a836[_0x4c0a0e];_0x331f67[_0x114ceb]=_0x8bab2d;});});else{let _0x47dc36=_0x5362a1;_0x26a836['id']&&_0x47dc36[_0x54ff0e(0x27e)](_0x26a836['id']);let _0x551881=_0x579a57[_0x3b9293];Object[_0x54ff0e(0x272)](_0x551881)[_0x54ff0e(0x19f)](_0x5f453c=>{let _0x5bbf73=_0x551881[_0x5f453c],_0x322691='*'===_0x5bbf73?_0x26a836:_0x26a836[_0x5bbf73];_0x47dc36[_0x5f453c]=_0x322691;});}});}static async['commonButtonOpenPopup'](_0x6fe6b,_0x1ad962,_0xcf6478){const _0x182484=a0_0x178950;let _0x53a85a=TermsUtil[_0x182484(0x22c)](_0x1ad962['title']);ValueUtil[_0x182484(0x1dd)](_0x1ad962[_0x182484(0x280)])&&(_0x53a85a=_0x53a85a+'('+ValueUtil[_0x182484(0x1ae)](_0xcf6478,..._0x1ad962[_0x182484(0x280)][_0x182484(0x1bb)]('.'))+')');let _0x20f4c0=_0x1ad962[_0x182484(0x16f)]&&_0x182484(0x258)==typeof _0x1ad962[_0x182484(0x16f)]&&_0x182484(0x1f0)===_0x1ad962[_0x182484(0x16f)]&&_0x6fe6b&&_0x6fe6b[_0x182484(0x1f0)]?_0x6fe6b['fetch']['bind'](_0x6fe6b):void 0x0;UiUtil[_0x182484(0x22b)](_0x53a85a,_0x1ad962,_0xcf6478,_0x20f4c0);}static async[a0_0x178950(0x268)](_0x45b898,_0x59f9f7,_0x494dba){const _0x4846d0=a0_0x178950;let _0x577046=await ServiceUtil['callScenario'](_0x4846d0(0x234),_0x59f9f7['name'],_0x494dba);if(!_0x577046['errors']&&!ValueUtil[_0x4846d0(0x140)](_0x59f9f7['after'])&&_0x59f9f7[_0x4846d0(0x16f)]){if(_0x4846d0(0x1f0)!==_0x59f9f7['after']){if('object'==typeof _0x59f9f7[_0x4846d0(0x16f)]){let _0x2bb30a=_0x59f9f7['after'],_0x2c83e9=ValueUtil[_0x4846d0(0x1ae)](_0x577046[_0x4846d0(0x24e)][_0x4846d0(0x1d2)]['data'],..._0x2bb30a[_0x4846d0(0x193)][_0x4846d0(0x1bb)]('.'));if(0x0==Array[_0x4846d0(0x23c)](_0x2c83e9)&&(_0x2c83e9=[_0x2c83e9]),'form'===_0x2bb30a['type'])_0x2bb30a[_0x4846d0(0x167)]='meta-form-element',_0x2bb30a[_0x4846d0(0x20b)]=_0x4846d0(0x1dc),_0x2bb30a[_0x4846d0(0x1ed)]='id',_0x2c83e9=_0x2c83e9[0x0],await MetaUiUtil[_0x4846d0(0x217)](_0x45b898,_0x2bb30a,_0x2c83e9);else{if(_0x4846d0(0x24f)===_0x2bb30a[_0x4846d0(0x269)]){let _0x48c018,_0x5c05a4=_0x2c83e9;_0x48c018=_0x2bb30a[_0x4846d0(0x194)]?_0x5c05a4[_0x4846d0(0x236)](_0x44dc94=>{const _0x9749e=_0x4846d0;let _0x25a3ad={};return Object[_0x9749e(0x272)](_0x44dc94)[_0x9749e(0x155)](_0x3df169=>Object[_0x9749e(0x272)](_0x2bb30a[_0x9749e(0x194)])['includes'](_0x3df169))[_0x9749e(0x236)](_0x405adf=>{const _0x4aaad8=_0x9749e;Object[_0x4aaad8(0x272)](_0x2bb30a[_0x4aaad8(0x194)])['includes'](_0x405adf)&&('string'==typeof _0x44dc94[_0x405adf]?_0x25a3ad[_0x2bb30a['param_field'][_0x405adf]]=_0x44dc94[_0x405adf]:_0x25a3ad[_0x2bb30a[_0x4aaad8(0x194)][_0x405adf]]={'id':_0x44dc94[_0x405adf]['id']});}),_0x25a3ad;}):_0x5c05a4,UiUtil[_0x4846d0(0x24a)](_0x2bb30a[_0x4846d0(0x1a2)],_0x48c018);}else _0x4846d0(0x270)===_0x2bb30a[_0x4846d0(0x269)]?(_0x2c83e9=_0x2c83e9[0x0],MetaUiUtil[_0x4846d0(0x26e)](_0x45b898,_0x2bb30a,_0x2c83e9)):_0x4846d0(0x1c0)===_0x2bb30a['type']?(_0x2c83e9=_0x2c83e9[0x0],await MetaUiUtil[_0x4846d0(0x217)](_0x45b898,_0x2bb30a,_0x2c83e9)):'value_reference'===_0x2bb30a[_0x4846d0(0x269)]&&(_0x2c83e9=_0x2c83e9[0x0],await MetaUiUtil[_0x4846d0(0x1fd)](_0x45b898,_0x2bb30a,_0x2c83e9));}}}else _0x45b898[_0x4846d0(0x1f0)]();}}static async['gristButtonValueReference'](_0x1640e1,_0xdcdc51,_0x57ac68){const _0xe958e0=a0_0x178950;for(let _0x1739a8=0x0;_0x1739a8<_0xdcdc51['relation'][_0xe958e0(0x1a0)];_0x1739a8++){let _0x1da9ef=_0xdcdc51['relation'][_0x1739a8];!0x0===ValueUtil['compareObjectValues'](_0x1da9ef,_0x57ac68,Object['keys'](_0x1da9ef)[_0xe958e0(0x155)](_0x3ed263=>_0xe958e0(0x1fa)!=_0x3ed263))&&await MetaUiUtil[_0xe958e0(0x19d)](_0x1640e1,_0x1da9ef,_0x57ac68);}}static['getGristHiddenColumnConfig'](_0x5bd441,_0x59ae45){return{'type':_0x5bd441,'name':_0x59ae45,'sortable':!0x1,'hidden':!0x0};}static[a0_0x178950(0x1be)](_0x1acd41,_0x2c454d,_0x1e6f7a,_0x2e78e5,_0x3b76ee,_0x304c50){const _0x1452b8=a0_0x178950;let _0xa6bd54=TermsUtil[_0x1452b8(0x178)](_0x2c454d);return{'type':_0x1acd41,'name':_0x2c454d,'header':_0xa6bd54,'record':{'align':_0x1e6f7a,'editable':_0x2e78e5},'sortable':_0x3b76ee,'width':_0x304c50,'imex':{'width':Math['floor'](_0x304c50/0x6),'header':_0xa6bd54,'type':_0x1acd41,'key':_0x2c454d}};}static[a0_0x178950(0x141)](_0x5405fc,_0x457cd3,_0x41b676,_0x23d3c5,_0x555689,_0x11f986,_0x4ab289){const _0x1929a2=a0_0x178950;let _0x5f1d22=TermsUtil[_0x1929a2(0x178)](_0x41b676);return{'type':_0x5405fc,'name':_0x457cd3,'header':_0x5f1d22,'record':{'align':_0x23d3c5,'editable':_0x555689},'sortable':_0x11f986,'width':_0x4ab289,'imex':{'width':Math[_0x1929a2(0x283)](_0x4ab289/0x6),'header':_0x5f1d22,'type':_0x5405fc,'key':_0x457cd3}};}static[a0_0x178950(0x21a)](_0x3c3131,_0x3c0955,_0x4fe9b2,_0x30da2,_0x4590ad,_0x3d8bdf,_0x527d17,_0x45232c){const _0x4b7208=a0_0x178950;let _0x2869c4=TermsUtil['tLabel'](_0x4fe9b2);return{'type':_0x3c3131,'name':_0x3c0955,'header':_0x2869c4,'record':{'align':_0x30da2,'editable':_0x4590ad,'mandatory':_0x527d17},'sortable':_0x3d8bdf,'width':_0x45232c,'imex':{'width':Math[_0x4b7208(0x283)](_0x45232c/0x6),'header':_0x2869c4,'type':_0x3c3131,'key':_0x3c0955}};}static[a0_0x178950(0x26c)](_0x2414a6,_0x3564ef,_0x29d79e,_0x5bcc1b,_0x4c23c3,_0x545a7b,_0x4b5ce5){const _0xb6b261=a0_0x178950;let _0x35755f=TermsUtil[_0xb6b261(0x178)](_0x3564ef);return{'type':_0xb6b261(0x215),'name':_0x2414a6,'header':_0x35755f,'record':{'align':_0x29d79e,'editable':!0x0,'mandatory':_0x545a7b,'options':_0x4b5ce5},'sortable':_0x5bcc1b,'width':_0x4c23c3,'imex':{'width':Math['floor'](_0x4c23c3/0x6),'header':_0x35755f,'type':_0xb6b261(0x258),'key':_0x2414a6}};}static async[a0_0x178950(0x23e)](_0x27ab93,_0x3b259d,_0x2534ef,_0x39b53c,_0x1dce8f,_0x3ecc7d,_0x59f01d){const _0x7a7c16=a0_0x178950;let _0x4402a7=await ServiceUtil['getCodeSelectorData'](_0x59f01d);return MetaUiUtil[_0x7a7c16(0x26c)](_0x27ab93,_0x3b259d,_0x2534ef,_0x39b53c,_0x1dce8f,_0x3ecc7d,_0x4402a7);}static[a0_0x178950(0x1cf)](_0x57fbb3,_0x4bca88,_0x379ffd,_0x46af71,_0x50c881){const _0x3b552c=a0_0x178950;let _0x68a1bc=TermsUtil[_0x3b552c(0x178)](_0x379ffd),_0x2eb192={'name':_0x57fbb3,'type':_0x4bca88,'label':_0x68a1bc,'operator':_0x46af71,'imex':{'width':0x10,'header':_0x68a1bc,'type':_0x4bca88,'key':_0x57fbb3}};return _0x50c881&&(_0x2eb192['options']=_0x50c881),_0x2eb192;}static async['getGristSearchCodeColumnConfig'](_0xc43f85,_0x24056a,_0x4ca150,_0x2adfba,_0x5d7ba5){const _0x3eeecb=a0_0x178950;let _0x1b47d9=await ServiceUtil[_0x3eeecb(0x1c3)](_0x5d7ba5);return MetaUiUtil[_0x3eeecb(0x1cf)](_0xc43f85,_0x24056a,_0x4ca150,_0x2adfba,_0x1b47d9);}static[a0_0x178950(0x210)](){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_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
21
21
|
// margin: var(--context-action-bar-button-margin);
|
|
22
22
|
border-radius: var(--context-action-bar-more-button-border-radius);
|
|
23
23
|
}
|
|
24
|
-
`];}static[
|
|
24
|
+
`];}static[a0_0x178950(0x233)](){return[css`
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static[a0_0x178950(0x202)](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:0px;
|
|
31
31
|
margin:0px;
|
|
@@ -48,7 +48,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
margin-bottom:4px;
|
|
50
50
|
}
|
|
51
|
-
`];}static[
|
|
51
|
+
`];}static['getBasicGristStyles'](){const _0x82e78d=a0_0x178950;return[ScrollbarStyles,CommonGristStyles,css`
|
|
52
52
|
:host {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
@@ -58,7 +58,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
58
58
|
ox-grist {
|
|
59
59
|
overflow-y: auto;
|
|
60
60
|
flex: 1;
|
|
61
|
-
}`,...MetaUiUtil[
|
|
61
|
+
}`,...MetaUiUtil[_0x82e78d(0x233)](),...MetaUiUtil[_0x82e78d(0x210)](),...MetaUiUtil[_0x82e78d(0x202)]()];}static[a0_0x178950(0x204)](){const _0x134b5f=a0_0x178950;return[ScrollbarStyles,CommonGristStyles,css`
|
|
62
62
|
:host {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
@@ -105,7 +105,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
105
105
|
ox-grist {
|
|
106
106
|
overflow-y: auto;
|
|
107
107
|
flex: 1;
|
|
108
|
-
}`,...MetaUiUtil[
|
|
108
|
+
}`,...MetaUiUtil[_0x134b5f(0x233)](),...MetaUiUtil[_0x134b5f(0x210)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x178950(0x220)](){const _0x3c8adb=a0_0x178950;return[ScrollbarStyles,CommonGristStyles,css`
|
|
109
109
|
:host {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
@@ -152,7 +152,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
152
152
|
ox-grist {
|
|
153
153
|
overflow-y: auto;
|
|
154
154
|
flex: 1;
|
|
155
|
-
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[
|
|
155
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[_0x3c8adb(0x210)](),...MetaUiUtil[_0x3c8adb(0x202)]()];}static['getBasicTabDetailStyles'](){const _0xcd2688=a0_0x178950;return[ScrollbarStyles,CommonGristStyles,css`
|
|
156
156
|
:host {
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: column;
|
|
@@ -199,7 +199,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
199
199
|
ox-grist {
|
|
200
200
|
overflow-y: auto;
|
|
201
201
|
flex: 1;
|
|
202
|
-
}`,...MetaUiUtil[
|
|
202
|
+
}`,...MetaUiUtil[_0xcd2688(0x233)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil['getGristPersonalizedStyles']()];}static['getBasicMainTabStyles'](){const _0x4a3340=a0_0x178950;return[ScrollbarStyles,CommonGristStyles,css`
|
|
203
203
|
:host {
|
|
204
204
|
display: flex;
|
|
205
205
|
flex-direction: column;
|
|
@@ -214,7 +214,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
214
214
|
ox-grist {
|
|
215
215
|
overflow-y: auto;
|
|
216
216
|
flex: 1;
|
|
217
|
-
}`,...MetaUiUtil[
|
|
217
|
+
}`,...MetaUiUtil[_0x4a3340(0x233)](),...MetaUiUtil[_0x4a3340(0x210)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x178950(0x292)](_0x4d61cd){const _0x5430fb=a0_0x178950;return'top-down'==_0x4d61cd?MetaUiUtil[_0x5430fb(0x21e)]():MetaUiUtil[_0x5430fb(0x256)]();}static[a0_0x178950(0x21e)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
218
218
|
:host {
|
|
219
219
|
display: flex;
|
|
220
220
|
flex-direction: column;
|
|
@@ -281,7 +281,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
281
281
|
margin-left:7px;
|
|
282
282
|
margin-top:7px;
|
|
283
283
|
}
|
|
284
|
-
`];}static[
|
|
284
|
+
`];}static[a0_0x178950(0x256)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
285
285
|
:host {
|
|
286
286
|
display: flex;
|
|
287
287
|
flex-direction: column;
|
|
@@ -348,7 +348,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
348
348
|
margin-left:7px;
|
|
349
349
|
margin-top:7px;
|
|
350
350
|
}
|
|
351
|
-
`];}static[
|
|
351
|
+
`];}static[a0_0x178950(0x1b6)](){return[ScrollbarStyles,css`
|
|
352
352
|
:host {
|
|
353
353
|
display: flex;
|
|
354
354
|
flex: 1;
|
|
@@ -437,7 +437,7 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
437
437
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
`,...MetaUiUtil[
|
|
440
|
+
`,...MetaUiUtil['getCustomButtonContainerStyles']()];}static[a0_0x178950(0x28e)](){return[css`
|
|
441
441
|
:host {
|
|
442
442
|
display: flex;
|
|
443
443
|
flex: 1;
|
|
@@ -492,204 +492,204 @@ const a0_0x30a258=a0_0xbfa8;(function(_0x18fc9c,_0x54df5a){const _0x3f2eaa=a0_0x
|
|
|
492
492
|
overflow-x: overlay;
|
|
493
493
|
background-color: var(--main-section-background-color);
|
|
494
494
|
}
|
|
495
|
-
`];}static[
|
|
495
|
+
`];}static['isButtonExist'](_0xf15010,_0x4d7109){const _0x24625d=a0_0x178950;return!!(_0xf15010?_0xf15010[_0x24625d(0x1f7)](_0x59d18e=>_0x59d18e[_0x24625d(0x237)]==_0x4d7109):null);}static[a0_0x178950(0x24d)](_0xc3f90,_0x46ccec){const _0x409316=a0_0x178950;return!!(_0xc3f90&&_0xc3f90[_0x409316(0x203)]?_0xc3f90[_0x409316(0x203)][_0x409316(0x1f7)](_0x1e70a9=>_0x1e70a9[_0x409316(0x237)]==_0x46ccec):null);}static[a0_0x178950(0x1f4)](_0x500ee0){const _0x149306=a0_0x178950;let _0x2ac090='';return _0x500ee0[_0x149306(0x155)](_0x5b3650=>_0x149306(0x20d)!=_0x5b3650[_0x149306(0x269)])[_0x149306(0x19f)](_0x340145=>{const _0x42a83c=_0x149306;_0x2ac090+='\x0a',_0x2ac090+=[_0x42a83c(0x13d),_0x42a83c(0x15d),_0x42a83c(0x17d)]['includes'](_0x340145[_0x42a83c(0x269)])?_0x340145[_0x42a83c(0x237)]+'\x0a{'+MetaUiUtil[_0x42a83c(0x21f)](_0x340145)+'}':'board'==_0x340145[_0x42a83c(0x269)]?_0x340145['name']+_0x42a83c(0x14e):_0x340145['name'];}),_0x2ac090;}static[a0_0x178950(0x21f)](_0x2c026f){const _0x40461c=a0_0x178950;let _0x45f36e='';return ValueUtil[_0x40461c(0x1dd)](_0x2c026f[_0x40461c(0x164)])&&ValueUtil['isNotEmpty'](_0x2c026f[_0x40461c(0x164)]['options'])&&ValueUtil[_0x40461c(0x1dd)](_0x2c026f[_0x40461c(0x164)][_0x40461c(0x273)][_0x40461c(0x215)])&&_0x2c026f[_0x40461c(0x164)][_0x40461c(0x273)][_0x40461c(0x215)]['forEach'](_0x26cba7=>{const _0x483452=_0x40461c;_0x26cba7[_0x483452(0x237)]&&''!==_0x26cba7[_0x483452(0x237)]&&([_0x483452(0x13d),_0x483452(0x15d),'resource-object'][_0x483452(0x145)](_0x26cba7[_0x483452(0x269)])?_0x45f36e+='\x0a'+_0x26cba7[_0x483452(0x237)]+_0x483452(0x27a)+MetaUiUtil[_0x483452(0x21f)](_0x26cba7)+'\x20\x0a\x20}':_0x45f36e+='\x0a'+_0x26cba7[_0x483452(0x237)]);}),''==_0x45f36e&&(_0x45f36e+='\x0aid\x0aname\x0adescription'),_0x45f36e;}static['getBasicGristHtml'](_0x4e8b64){const _0x8dc4a4=a0_0x178950;let _0x1ad308=_0x4e8b64[_0x8dc4a4(0x205)];if(_0x1ad308){let _0x37e3d7=_0x4e8b64[_0x8dc4a4(0x1ef)]?_0x4e8b64[_0x8dc4a4(0x1ef)]:_0x8dc4a4(0x1d8),_0x14e0c7=_0x4e8b64[_0x8dc4a4(0x299)];return html`
|
|
496
496
|
<ox-grist
|
|
497
|
-
id=${
|
|
498
|
-
.config=${
|
|
499
|
-
.mode=${
|
|
497
|
+
id=${_0x37e3d7}
|
|
498
|
+
.config=${_0x1ad308}
|
|
499
|
+
.mode=${_0x14e0c7}
|
|
500
500
|
auto-fetch
|
|
501
|
-
.fetchHandler=${
|
|
502
|
-
${MetaUiUtil[
|
|
501
|
+
.fetchHandler=${_0x4e8b64['fetchHandler'][_0x8dc4a4(0x1a5)](_0x4e8b64)}>
|
|
502
|
+
${MetaUiUtil[_0x8dc4a4(0x23b)](_0x4e8b64)}
|
|
503
503
|
</ox-grist>
|
|
504
|
-
`;}return html``;}static[
|
|
504
|
+
`;}return html``;}static[a0_0x178950(0x1c7)](_0x2058de){const _0x4355a2=a0_0x178950;if(!_0x2058de)return html``;if(!_0x2058de[_0x4355a2(0x1f5)])return html``;let _0xaf7fb8=_0x2058de['formConfigSet'],_0x3d61e8=_0x2058de[_0x4355a2(0x164)]||{},_0x10bb5f=_0xaf7fb8[_0x4355a2(0x155)](_0x14abe7=>0x0==_0x14abe7['hidden']);return ValueUtil['isEmpty'](_0x2058de[_0x4355a2(0x1d5)])?MetaUiUtil[_0x4355a2(0x230)](_0x2058de,_0x10bb5f,_0x3d61e8):MetaUiUtil[_0x4355a2(0x192)](_0x2058de,_0x10bb5f,_0x3d61e8);}static['getBasicFormHtmlOnOption'](_0x242dfa,_0xe6c3a2,_0x551199){const _0x448df2=a0_0x178950;let _0x2e569d=_0x242dfa[_0x448df2(0x1d5)];return html`
|
|
505
505
|
<div class="root_container">
|
|
506
|
-
${
|
|
506
|
+
${_0x2e569d[_0x448df2(0x236)](_0x301fd3=>{const _0x5153ec=_0x448df2;let _0x39b325=[];_0x301fd3[_0x5153ec(0x255)][_0x5153ec(0x19f)](_0x20977e=>{const _0x293a95=_0x5153ec;let _0x2e06ba=_0xe6c3a2[_0x293a95(0x155)](_0x358750=>_0x20977e==_0x358750[_0x293a95(0x237)])||[];_0x2e06ba[_0x293a95(0x1a0)]>0x0&&_0x39b325[_0x293a95(0x223)](_0x2e06ba[0x0]);});let _0x1922f2=_0x5153ec(0x18e);for(let _0x50a713=0x0;_0x50a713<_0x301fd3[_0x5153ec(0x19e)];_0x50a713++)_0x1922f2+=_0x5153ec(0x29f);return _0x1922f2+=';',html`
|
|
507
507
|
<h2>
|
|
508
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
508
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x5153ec(0x22c)](_0x301fd3[_0x5153ec(0x262)])}
|
|
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="${_0x1922f2}">
|
|
511
|
+
${_0x39b325[_0x5153ec(0x236)](_0x2e03d0=>{const _0x2f8bfa=_0x5153ec;let {editable:_0x2973b0=!0x1,mandatory:_0x104615=!0x1}=_0x2e03d0[_0x2f8bfa(0x164)],_0x4c2353=_0x551199[_0x2f8bfa(0x25d)]||{};return html`
|
|
512
|
+
<label ?editable=${_0x2973b0}><span>${_0x104615?'*':''}${_0x2e03d0[_0x2f8bfa(0x286)]}</span>
|
|
513
|
+
${_0x2973b0?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=${_0x2e03d0}
|
|
518
|
+
.record=${_0x551199}
|
|
519
|
+
.value=${_0x551199[_0x2e03d0['name']]}
|
|
520
|
+
?dirty=${!!_0x4c2353[_0x2e03d0[_0x2f8bfa(0x237)]]}
|
|
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
|
+
${_0x242dfa[_0x448df2(0x248)]?html``:MetaUiUtil[_0x448df2(0x27b)](_0x242dfa)}
|
|
527
|
+
`;}static[a0_0x178950(0x230)](_0x5512cd,_0x2877b,_0x3c22cb){const _0x1b377a=a0_0x178950;let _0x191209=_0x1b377a(0x26a);_0x5512cd[_0x1b377a(0x19e)]&&0x0!=_0x5512cd[_0x1b377a(0x19e)]||(_0x5512cd[_0x1b377a(0x19e)]=0x1),_0x5512cd[_0x1b377a(0x19e)]=parseInt((_0x5512cd[_0x1b377a(0x28a)]||{})[_0x1b377a(0x1b2)]||_0x5512cd['column']);for(let _0x857e54=0x0;_0x857e54<_0x5512cd['column'];_0x857e54++)_0x191209+=_0x1b377a(0x29f);return _0x191209+=';',html`
|
|
528
|
+
<div id="container" class="container" style="${_0x191209}">
|
|
529
|
+
${_0x2877b[_0x1b377a(0x236)](_0xede9b3=>{const _0x1b7509=_0x1b377a;let {editable:_0x28a5ef=!0x1,mandatory:_0x407258=!0x1}=_0xede9b3['record'],_0x33f770=_0x3c22cb[_0x1b7509(0x25d)]||{};return html`
|
|
530
|
+
<label ?editable=${_0x28a5ef}><span>${_0x407258?'*':''}${_0xede9b3[_0x1b7509(0x286)]}</span>
|
|
531
|
+
${_0x28a5ef?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=${_0xede9b3}
|
|
536
|
+
.record=${_0x3c22cb}
|
|
537
|
+
.value=${_0x3c22cb[_0xede9b3[_0x1b7509(0x237)]]}
|
|
538
|
+
?dirty=${!!_0x33f770[_0xede9b3[_0x1b7509(0x237)]]}
|
|
539
539
|
></ox-grid-field>
|
|
540
540
|
`;})}
|
|
541
541
|
</div>
|
|
542
|
-
${
|
|
543
|
-
`;}static[
|
|
542
|
+
${_0x5512cd[_0x1b377a(0x248)]?html``:MetaUiUtil[_0x1b377a(0x27b)](_0x5512cd)}
|
|
543
|
+
`;}static[a0_0x178950(0x13f)](_0xccfccf){const _0x180a16=a0_0x178950;if(!_0xccfccf)return html``;if(!_0xccfccf['tabRenderConfig'])return html``;let _0x167011=_0xccfccf['tabRenderConfig'];return _0xccfccf[_0x180a16(0x16c)]||(_0xccfccf[_0x180a16(0x16c)]=_0x167011[0x0]?.['name']||void 0x0),html`
|
|
544
544
|
<div class="tabs">
|
|
545
|
-
${
|
|
546
|
-
<div class="tab" ?activate="${
|
|
547
|
-
${
|
|
548
|
-
<span>${
|
|
545
|
+
${_0x167011[_0x180a16(0x236)](_0x9cb47c=>{const _0x2647e=_0x180a16;let _0x5c36ee=TermsUtil['tLabel'](_0x9cb47c[_0x2647e(0x262)]),_0x43082a=_0x9cb47c[_0x2647e(0x237)];return html`
|
|
546
|
+
<div class="tab" ?activate="${_0x43082a===_0xccfccf[_0x2647e(0x16c)]}" @click="${()=>_0xccfccf['currentTabKey']=_0x43082a}">
|
|
547
|
+
${_0x9cb47c[_0x2647e(0x1cb)]?html`<mwc-icon>${_0x9cb47c[_0x2647e(0x1cb)]}</mwc-icon>`:html``}
|
|
548
|
+
<span>${_0x5c36ee}</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
|
+
${_0x167011[_0x180a16(0x236)](_0x5a5c4b=>{const _0xabe609=_0x180a16;let _0x4b7002=_0xabe609(0x16e);return _0x5a5c4b['name']==_0xccfccf[_0xabe609(0x16c)]&&(_0x4b7002=_0xabe609(0x249)),html`
|
|
554
|
+
<div class='tab-contents' style="${_0x4b7002}">
|
|
555
|
+
${MetaUiUtil[_0xabe609(0x196)](_0xccfccf,_0x5a5c4b)}
|
|
556
556
|
</div>
|
|
557
557
|
`;})}
|
|
558
558
|
</div>
|
|
559
|
-
`;}static[
|
|
560
|
-
${0x0==
|
|
559
|
+
`;}static[a0_0x178950(0x214)](_0x470dbf){const _0x373af3=a0_0x178950;let _0xe4c01a=(_0x470dbf[_0x373af3(0x28a)]||{})[_0x373af3(0x260)]||_0x373af3(0x28d),_0x15aafb=(_0x470dbf[_0x373af3(0x28a)]||{})['master_detail_size']||'50%\x2050%',_0x373c25='left_right'==_0xe4c01a?_0x373af3(0x26a)+_0x15aafb+';':'grid-template-rows:'+_0x15aafb+';',_0x1e889d=_0x470dbf[_0x373af3(0x248)]?UiUtil[_0x373af3(0x22e)]():_0x470dbf[_0x373af3(0x1b9)];return html`
|
|
560
|
+
${0x0==_0x470dbf['useMasterFilterForm']?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=${_0x470dbf[_0x373af3(0x1d4)]||[]}
|
|
566
|
+
.value=${_0x470dbf[_0x373af3(0x1bc)]||[]}
|
|
567
|
+
@filters-change=${_0xfd6f44=>{const _0x365991=_0x373af3;_0x470dbf[_0x365991(0x282)]?.[_0x365991(0x1f0)]();}}
|
|
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="${_0x373c25}">
|
|
573
573
|
<div class="container_detail">
|
|
574
|
-
${MetaApi[
|
|
575
|
-
${MetaUiUtil[
|
|
574
|
+
${MetaApi[_0x373af3(0x184)](_0x470dbf)}
|
|
575
|
+
${MetaUiUtil[_0x373af3(0x27b)](_0x470dbf)}
|
|
576
576
|
</div>
|
|
577
577
|
<div class="container_detail">
|
|
578
|
-
${!0x0===
|
|
578
|
+
${!0x0===_0x470dbf[_0x373af3(0x1f8)]?html`${!0x0===_0x470dbf[_0x373af3(0x243)]?html`<meta-tab-element
|
|
579
579
|
id="detail"
|
|
580
|
-
route_name="${
|
|
581
|
-
.activityDataSet=${(
|
|
580
|
+
route_name="${_0x1e889d}"
|
|
581
|
+
.activityDataSet=${(_0x470dbf[_0x373af3(0x240)]||{})['detail']}
|
|
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="${_0x1e889d}"
|
|
588
|
+
.activityDataSet=${(_0x470dbf[_0x373af3(0x240)]||{})[_0x373af3(0x1aa)]}
|
|
589
589
|
is_activity=true
|
|
590
590
|
is_detail=true>
|
|
591
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
591
|
+
</meta-tab-element>`}`:html`${!0x0===_0x470dbf[_0x373af3(0x243)]?html`<meta-tab-element id="detail" route_name="${_0x1e889d}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x1e889d}" is_detail=true></meta-tab-element>`}`}
|
|
592
592
|
</div>
|
|
593
593
|
</div>
|
|
594
|
-
`;}static[
|
|
595
|
-
${0x0==
|
|
594
|
+
`;}static[a0_0x178950(0x27c)](_0x5980b1){const _0x31ab77=a0_0x178950;let _0x1640c7=_0x5980b1[_0x31ab77(0x28a)]['master_detail_type']||_0x31ab77(0x28d),_0x645374=_0x5980b1[_0x31ab77(0x28a)][_0x31ab77(0x254)]||_0x31ab77(0x177),_0x111994=_0x5980b1[_0x31ab77(0x28a)]['master_detail_element'],_0x47a1cd=JSON[_0x31ab77(0x1c6)](_0x111994||'{}'),_0x178827=_0x31ab77(0x1a8)==_0x1640c7?'grid-template-columns:'+_0x645374+';':_0x31ab77(0x152)+_0x645374+';';return MetaUiUtil['createMasterElement'](_0x5980b1),MetaUiUtil['createDetailElement'](_0x5980b1,_0x47a1cd),html`
|
|
595
|
+
${0x0==_0x5980b1[_0x31ab77(0x17c)]?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=${_0x5980b1['searchFields']||[]}
|
|
601
|
+
.value=${_0x5980b1['searchFieldValues']||[]}
|
|
602
|
+
@filters-change=${_0x14dc1f=>{const _0x5c983d=_0x31ab77;_0x5980b1[_0x5c983d(0x1f0)]();}}
|
|
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="${_0x178827}">
|
|
608
608
|
<div class="container_detail">
|
|
609
|
-
${
|
|
609
|
+
${_0x5980b1[_0x31ab77(0x1e3)]}
|
|
610
610
|
</div>
|
|
611
611
|
<div class="container_detail">
|
|
612
|
-
${''==
|
|
613
|
-
${
|
|
612
|
+
${''==_0x47a1cd[_0x31ab77(0x167)]||_0x31ab77(0x277)==_0x47a1cd[_0x31ab77(0x167)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x47a1cd[_0x31ab77(0x262)])}</h2>`}
|
|
613
|
+
${_0x5980b1[_0x31ab77(0x19b)]}
|
|
614
614
|
</div>
|
|
615
615
|
</div>
|
|
616
|
-
`;}static[
|
|
617
|
-
${0x0==
|
|
616
|
+
`;}static[a0_0x178950(0x241)](_0x1e7317){const _0x1837fc=a0_0x178950;return MetaUiUtil[_0x1837fc(0x21c)](_0x1e7317),html`
|
|
617
|
+
${0x0==_0x1e7317[_0x1837fc(0x17c)]?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=${_0x1e7317[_0x1837fc(0x1d4)]||[]}
|
|
623
|
+
.value=${_0x1e7317[_0x1837fc(0x1bc)]||[]}
|
|
624
|
+
@filters-change=${_0x538927=>{const _0x208a73=_0x1837fc;_0x1e7317[_0x208a73(0x1f0)]();}}
|
|
625
625
|
></ox-filters-form-base>
|
|
626
626
|
</div>
|
|
627
627
|
</div>
|
|
628
628
|
`}
|
|
629
629
|
<div id="container" class="container" >
|
|
630
|
-
${
|
|
630
|
+
${_0x1e7317['masterElement']}
|
|
631
631
|
</div>
|
|
632
|
-
`;}static[
|
|
633
|
-
${0x0==
|
|
632
|
+
`;}static['getMasterDetailHtml'](_0x1c54c8){const _0x42acd9=a0_0x178950;let _0x4a9502=_0x1c54c8['etcConfig']['master_detail_type']||_0x42acd9(0x28d),_0x95cbf5=_0x1c54c8['etcConfig'][_0x42acd9(0x254)]||'50%\x2050%',_0x326633=_0x1c54c8[_0x42acd9(0x28a)][_0x42acd9(0x15c)],_0x53890b=JSON[_0x42acd9(0x1c6)](_0x326633||'{}'),_0x1bba28=_0x42acd9(0x1a8)==_0x4a9502?_0x42acd9(0x26a)+_0x95cbf5+';':_0x42acd9(0x152)+_0x95cbf5+';';return MetaUiUtil[_0x42acd9(0x185)](_0x1c54c8,_0x53890b),html`
|
|
633
|
+
${0x0==_0x1c54c8[_0x42acd9(0x17c)]?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=${_0x1c54c8[_0x42acd9(0x1d4)]||[]}
|
|
639
|
+
.value=${_0x1c54c8[_0x42acd9(0x1bc)]||[]}
|
|
640
|
+
@filters-change=${_0x407517=>{const _0x9c4915=_0x42acd9;_0x1c54c8[_0x9c4915(0x282)]?.[_0x9c4915(0x1f0)]();}}
|
|
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="${_0x1bba28}">
|
|
646
646
|
<div class="container_detail">
|
|
647
|
-
${MetaApi[
|
|
648
|
-
${MetaUiUtil[
|
|
647
|
+
${MetaApi[_0x42acd9(0x184)](_0x1c54c8)}
|
|
648
|
+
${MetaUiUtil[_0x42acd9(0x27b)](_0x1c54c8)}
|
|
649
649
|
</div>
|
|
650
650
|
<div class="container_detail">
|
|
651
|
-
${''==
|
|
652
|
-
${
|
|
651
|
+
${''==_0x53890b[_0x42acd9(0x167)]||_0x42acd9(0x277)==_0x53890b[_0x42acd9(0x167)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x42acd9(0x22c)](''+_0x53890b[_0x42acd9(0x262)])}</h2>`}
|
|
652
|
+
${_0x1c54c8[_0x42acd9(0x19b)]}
|
|
653
653
|
</div>
|
|
654
654
|
</div>
|
|
655
|
-
`;}static[
|
|
655
|
+
`;}static['createDetailElement'](_0x3023c4,_0x5cd9ba){const _0x51cb81=a0_0x178950;if(!_0x3023c4[_0x51cb81(0x19b)]){let _0x2bd850=_0x5cd9ba[_0x51cb81(0x237)]?_0x5cd9ba[_0x51cb81(0x237)]:_0x51cb81(0x1aa),_0x1d9986='<'+_0x5cd9ba[_0x51cb81(0x167)]+_0x51cb81(0x216)+_0x2bd850+'\x22\x20name=\x22'+_0x2bd850+_0x51cb81(0x1ac)+_0x5cd9ba['routing']+'\x22\x20'+(!0x0===_0x3023c4[_0x51cb81(0x1f8)]?_0x51cb81(0x267):'')+'\x20'+(!0x0===_0x3023c4[_0x51cb81(0x243)]?_0x51cb81(0x276):'')+_0x51cb81(0x224)+_0x5cd9ba[_0x51cb81(0x167)]+'>';_0x3023c4[_0x51cb81(0x19b)]=UiUtil[_0x51cb81(0x15e)](_0x1d9986),_0x3023c4[_0x51cb81(0x19b)][_0x51cb81(0x240)]=(_0x3023c4[_0x51cb81(0x240)]||{})[_0x51cb81(0x1aa)],_0x3023c4['tagName'][_0x51cb81(0x25e)]()[_0x51cb81(0x244)](_0x51cb81(0x284))&&(_0x3023c4[_0x51cb81(0x19b)][_0x51cb81(0x1d6)]=_0x3023c4);}}static[a0_0x178950(0x21c)](_0x5612a1){const _0x4370c3=a0_0x178950;if(!_0x5612a1[_0x4370c3(0x1e3)]&&_0x5612a1[_0x4370c3(0x168)]){let _0x5f0aad=_0x4370c3(0x29a),_0x280c73=_0x4370c3(0x1bd)+_0x5f0aad+'\x22\x20name=\x22'+_0x5f0aad+_0x4370c3(0x1ac)+_0x5612a1[_0x4370c3(0x22e)]+'\x22\x20'+(!0x0===_0x5612a1[_0x4370c3(0x1f8)]?_0x4370c3(0x267):'')+'\x20'+(!0x0===_0x5612a1[_0x4370c3(0x243)]?_0x4370c3(0x276):'')+_0x4370c3(0x149);_0x5612a1[_0x4370c3(0x1e3)]=UiUtil[_0x4370c3(0x15e)](_0x280c73),_0x5612a1[_0x4370c3(0x1e3)][_0x4370c3(0x240)]=(_0x5612a1[_0x4370c3(0x240)]||{})[_0x4370c3(0x29a)],_0x5612a1['masterElement'][_0x4370c3(0x245)]=!0x0,_0x5612a1[_0x4370c3(0x1e3)][_0x4370c3(0x25f)]=_0x5612a1[_0x4370c3(0x168)],_0x5612a1['masterElement']['rootElement']=_0x5612a1;}}static[a0_0x178950(0x196)](_0xff0516,_0xa9291d){const _0x8ac78f=a0_0x178950;if(_0xff0516['tabElements']||(_0xff0516[_0x8ac78f(0x29e)]={}),Object['keys'](_0xff0516[_0x8ac78f(0x29e)])['filter'](_0x51a9d7=>_0x51a9d7==_0xa9291d[_0x8ac78f(0x237)])[_0x8ac78f(0x1a0)]>0x0)return _0xff0516[_0x8ac78f(0x29e)][_0xa9291d[_0x8ac78f(0x237)]];let _0x121906='<'+_0xa9291d[_0x8ac78f(0x167)]+_0x8ac78f(0x1d0)+_0xa9291d[_0x8ac78f(0x237)]+'\x27\x20route_name=\x27'+_0xa9291d[_0x8ac78f(0x1e7)]+'\x27\x20style=\x22flex:1;\x22\x20'+(!0x0===_0xff0516[_0x8ac78f(0x1f8)]?_0x8ac78f(0x267):'')+'\x20'+(!0x0===_0xff0516[_0x8ac78f(0x243)]?_0x8ac78f(0x276):'')+_0x8ac78f(0x1fb)+_0xa9291d[_0x8ac78f(0x167)]+'>',_0x505358=UiUtil['htmlToElement'](_0x121906);return _0x505358[_0x8ac78f(0x240)]=(_0xff0516[_0x8ac78f(0x240)]||{})[_0xa9291d[_0x8ac78f(0x237)]],_0xff0516[_0x8ac78f(0x165)]&&(_0x505358[_0x8ac78f(0x165)]=_0xff0516[_0x8ac78f(0x165)]),_0xff0516[_0x8ac78f(0x1d6)]?_0x505358['rootElement']=_0xff0516[_0x8ac78f(0x1d6)]:_0x505358[_0x8ac78f(0x19b)]=_0xff0516,!0x1===_0xa9291d[_0x8ac78f(0x162)]&&(_0x505358[_0x8ac78f(0x209)]=!0x1),_0xa9291d[_0x8ac78f(0x1b4)]&&(_0x505358['mainFilterForm']=_0xa9291d[_0x8ac78f(0x1b4)]),_0xff0516[_0x8ac78f(0x29e)][_0xa9291d['name']]=_0x505358,_0x505358;}static['getGridDetailHtml'](_0x595b1d){const _0x2c9120=a0_0x178950;let _0x4519f6=_0x595b1d['useButtonAdd'],_0x8ee0e4=_0x595b1d[_0x2c9120(0x257)],_0x833075=_0x595b1d['recordCreationCallback'],_0x3a02bd=JSON[_0x2c9120(0x1c6)]((_0x595b1d[_0x2c9120(0x28a)]||{})['use_grid_sort_button']||_0x2c9120(0x22d));return 0x0==_0x8ee0e4?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[_0x2c9120(0x18c)](_0x595b1d)}
|
|
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
|
+
${_0x3a02bd?html`
|
|
664
664
|
<div id="sorters">
|
|
665
|
-
<mwc-icon @click=${
|
|
665
|
+
<mwc-icon @click=${_0x85a1b7=>{const _0x36093d=_0x2c9120,_0x3a6ddb=_0x85a1b7[_0x36093d(0x14f)];_0x3a6ddb[_0x36093d(0x17f)][_0x36093d(0x197)]({'right':0x0,'top':_0x3a6ddb[_0x36093d(0x29c)]+_0x3a6ddb[_0x36093d(0x251)]});}}
|
|
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[_0x2c9120(0x253)](_0x595b1d)}
|
|
673
673
|
<ox-record-creator
|
|
674
674
|
id="add"
|
|
675
|
-
?hidden="${!
|
|
676
|
-
.callback=${
|
|
675
|
+
?hidden="${!_0x4519f6}"
|
|
676
|
+
.callback=${_0x833075}>
|
|
677
677
|
<button>
|
|
678
678
|
<mwc-icon>add</mwc-icon>
|
|
679
679
|
</button>
|
|
680
680
|
</ox-record-creator>
|
|
681
681
|
</div>
|
|
682
|
-
${this[
|
|
682
|
+
${this['getGridColumnPersonalizeButton'](_0x595b1d)}
|
|
683
683
|
</div>
|
|
684
|
-
`;}static[
|
|
684
|
+
`;}static[a0_0x178950(0x18c)](_0x49b0cf){const _0x20d77e=a0_0x178950;return _0x20d77e(0x1e1)!=_0x49b0cf[_0x20d77e(0x299)]?html``:!0x0!==_0x49b0cf[_0x20d77e(0x1f8)]?html`
|
|
685
685
|
<div id="grist-personal">
|
|
686
|
-
<mwc-icon @click=${
|
|
686
|
+
<mwc-icon @click=${_0x1a47eb=>{const _0xe8fee7=_0x20d77e;let _0x40ecf8=MetaApi[_0xe8fee7(0x14d)](_0xe8fee7(0x189),_0xe8fee7(0x189));_0x40ecf8['configGrist']=_0x1a47eb[_0xe8fee7(0x14f)][_0xe8fee7(0x1e2)]['parentElement'][_0xe8fee7(0x1e2)],_0x40ecf8[_0xe8fee7(0x171)]=_0x49b0cf[_0xe8fee7(0x171)],MetaApi[_0xe8fee7(0x16b)](TermsUtil[_0xe8fee7(0x22c)](_0xe8fee7(0x212)),_0xe8fee7(0x1a6),_0x40ecf8,!0x1);}}
|
|
687
687
|
>tune</mwc-icon>
|
|
688
688
|
</div>
|
|
689
|
-
`:html``;}static[
|
|
689
|
+
`:html``;}static[a0_0x178950(0x253)](_0x16f56f){const _0x9dbcd7=a0_0x178950;return ValueUtil[_0x9dbcd7(0x140)](_0x16f56f[_0x9dbcd7(0x29b)])||0x1==_0x16f56f[_0x9dbcd7(0x29b)][_0x9dbcd7(0x1a0)]?html``:html`
|
|
690
690
|
<div id="modes">
|
|
691
|
-
${
|
|
692
|
-
${
|
|
693
|
-
${
|
|
691
|
+
${_0x16f56f[_0x9dbcd7(0x29b)][_0x9dbcd7(0x145)](_0x9dbcd7(0x1e1))?html`<mwc-icon @click="${()=>_0x16f56f[_0x9dbcd7(0x299)]='GRID'}" ?active="${_0x9dbcd7(0x1e1)==_0x16f56f[_0x9dbcd7(0x299)]}">grid_on</mwc-icon>`:''}
|
|
692
|
+
${_0x16f56f[_0x9dbcd7(0x29b)][_0x9dbcd7(0x145)]('LIST')?html`<mwc-icon @click="${()=>_0x16f56f['gridMode']='LIST'}" ?active="${_0x9dbcd7(0x261)==_0x16f56f[_0x9dbcd7(0x299)]}">format_list_bulleted</mwc-icon>`:''}
|
|
693
|
+
${_0x16f56f[_0x9dbcd7(0x29b)][_0x9dbcd7(0x145)]('CARD')?html`<mwc-icon @click="${()=>_0x16f56f[_0x9dbcd7(0x299)]='CARD'}" ?active="${_0x9dbcd7(0x25b)==_0x16f56f['gridMode']}">apps</mwc-icon>`:''}
|
|
694
694
|
</div>
|
|
695
|
-
`;}static[
|
|
695
|
+
`;}static[a0_0x178950(0x27b)](_0x2a3168){return html`<div id="button-container" class="button-container">${MetaUiUtil['getContainerButtons'](_0x2a3168)}</div>`;}}
|