@things-factory/meta-ui 6.1.14 → 6.1.16
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 +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +10 -10
- 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 +3 -3
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +2 -2
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +103 -103
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +12 -12
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x52ffe6=a0_0x43eb;(function(_0xe460e6,_0x1c5eac){const _0x32772f=a0_0x43eb,_0x4d501f=_0xe460e6();while(!![]){try{const _0x334c8e=parseInt(_0x32772f(0x1a4))/0x1+-parseInt(_0x32772f(0x1f2))/0x2+-parseInt(_0x32772f(0x1f6))/0x3+parseInt(_0x32772f(0x27f))/0x4+-parseInt(_0x32772f(0x1ba))/0x5+-parseInt(_0x32772f(0x179))/0x6+parseInt(_0x32772f(0x12b))/0x7*(parseInt(_0x32772f(0x270))/0x8);if(_0x334c8e===_0x1c5eac)break;else _0x4d501f['push'](_0x4d501f['shift']());}catch(_0x32fa6b){_0x4d501f['push'](_0x4d501f['shift']());}}}(a0_0x1bc7,0x63dab));import a0_0x5dc710 from'graphql-tag';import{client}from'@operato/graphql';import a0_0x366e03 from'moment-timezone';function a0_0x1bc7(){const _0x125d8c=['row-selector','useFilterForm','getGristSelectableConfig','grist_one','meta-form-element','getBasicFormHtml','value_reference','getMenuMeta','importable','is_activity=true','map','getBasicMasterDetailGristStyle','offsetTop','pages','getGristEmphasizedStyles','page','tError','pages/meta-form-element.js','buttonConfig','search','__dirtyfields__','forEach','history_json','model','getGridColumnPersonalizeButton','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','getBasicGristHtml','id,template','formColumnConfig','open','getBasicFormHtmlOnOption','menuInfo','meta-master-detail-','name','queryName','default_form_column','mainFilterForm','pass_param','getBasicFormStyles','keys','format','editable','getContainerButtons','getGridRowSet','meta-object-selector','isNotEmpty','sort','after','\x201fr\x202fr','display','setParentId','false','getCodeByScenario','getBasicGristPageProperties','month','formRenderConfig','meta-code-selector','text.nothing_selected','tabElements','masterElement','grist_all','meta-','parseFormConfigSet','use_grid_sort_button','split','tTitle','getGristPaginationCustomConfig','self','raised','label','resource-object','1526256YObjoS','currentTarget','etcConfig','replace','\x0a{\x0aid\x0aname\x0athumbnail}','code','args','sec','gridViewOptions','getGristColumnConfig','selected','history-json-list-popup','selectorName','getContextObject','title.info','multiple','text.please_select_only_one','createButtonElement','getMainTabHtml','gqlInfo','scenario','includes','selectable','setGridColumnSearchOption','YYYY-MM-DD\x20HH:mm:ss','getCodeByEntity','year','tButton','dense','find_one_func','grist','text.button_bind_func_is_not_exist','searchByPagination','GRID','route_name','datetime','info','getParams','meta-tab-detail-','useButtonExport','configGrist','height:auto;grid-template-columns:','pages/hgistory/history-copy-list-popup.js','245021NYOvJv','string','grid_column','basic','values','template','errors','skip_fields','indexOf','emphasis','recordCreationCallback','toLowerCase','fieldChangeHandlers','gristButtonPassParam','option','column_list','parent_field','tLabel','gristButtonHandler','getBasicTabContent','filter','offsetHeight','2624045UASUHY','useButtonAdd','change_event_handler','isGridButtonExist','gridColumnConfig','getContextButtons','filter_from','fetch','handlers','getMasterDetailHtml','createDetailElement','sorters','add','grist_changed','findOne','isEmpty','editor','param','dispatchEvent','main_filter_form','gridMobileMode','tText','getMasterDetailLeftRightGristStyle','startOf','grid-template-columns:','dec','getBasicTabStyles','title_detail','text.there_is_no_selected_items','findIndex','gridMode','nextElementSibling','custom','parentElement','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x20route_name=\x22','use_row_checker','\x20id=\x22','filterFields','meta-tab-element','defaultPageConfig','getGridColumnSet','header','location','getBasicFormHtmlNoOption','desc','runnerPermission','commonButtonCallScenario','getBasicMasterDetailStyles','getCodeSelectorData','gql','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','left_right','data_history_list','large','getBasicMainTabStyles','1022752PdktFu','param_field','searchFields','compareObjectValues','2321118TyhVLg','shadowRoot','relation','callScenario','referenceField','imex','select','detailElement','50%\x2050%','onclick','tagname','getBasicGristStyles','querySelector','getBasicTabHtml','YYYY-MM-DD','master_detail_size','ox-grist','today','board','nameField','header_txt','getGristGuttersConfig','<mwc-button\x20label=\x22','htmlToElement','\x20is_detail=true\x20style=\x22flex:1;\x22></','\x20{\x20','basicArgs','tMenu','getGristHiddenColumnConfig','value','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','getGristPersonalizedStyles','use_filter_form','personal-column-selector','gutter','grid','\x22\x20name=\x22','getCustomButtonContainerStyles','isPage','help','searchConfig','list','getQueryFilters','min','getButtonContainer','pass_field','runScenario','object','hour','mutation','getGristSearchCodeColumnConfig','tagName','CARD','operator','title','gridConfig','-code-','column','midium','export','includeMainList','findMenuGridPersnalTemplate','<meta-tab-element\x20id=\x22','is_readonly=true','findMenuMetaByRouting','gristId','isMobileEnv','LIST','commonButtonOpenPopup','createMasterElement','import','isArray','minute','filters','unlimited','top_bottom','data','getButtonActionHandler','dispField','list_func','length','getGristTabHtml','codes','getGristSearchColumnConfig','floor','is_activity','config','getMasterDetailTopDownGristStyle','records','title.warning','confirm','pageNavigate','tabRenderConfig','value_is_not_exist','menuId','getSelectColumns','currentTabKey','stringify','rootElement','menu','width','getGridOptionSet','getGristMetaObjectOptions','currentRouting','master_detail_element','getGristCodeSelectorColumnConfig','customButtonHandler','getTabDetailHtml','getGridButtonSet','getMenuMetaData','after_set_fields','openDynamicPopup','sequence','showAlertPopup','popup','parent_id','invalid\x20license\x20key','history_copy','filterForm','parseGridConfigSet','master_detail_type','display:none','8SRjmHh','rank','history-copy-list-popup','left','master','getGristSelectorColumnConfig','searchFieldValues','grid-template-rows:','button','entity','startsWith','icon','getGristColumnConfig2','\x27\x20style=\x22flex:1;\x22\x20','query','2199144yvRSWf','push','routing','parse','text.grid_data_is_empty','getGridViewOption','activityDataSet','options','record','day','getObjctColumnSelectFields','type','codeField','find','infinityPage','getGridListSet','hidden','formConfigSet','is_readonly','bind','11749241KwhUOo','\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20','detail','gristButtonValueReference','getGridDetailHtml','logic','isButtonExist'];a0_0x1bc7=function(){return _0x125d8c;};return a0_0x1bc7();}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';function a0_0x43eb(_0x5b385c,_0x25fc2a){const _0x1bc73f=a0_0x1bc7();return a0_0x43eb=function(_0x43eb12,_0x20124e){_0x43eb12=_0x43eb12-0x11c;let _0x59edc3=_0x1bc73f[_0x43eb12];return _0x59edc3;},a0_0x43eb(_0x5b385c,_0x25fc2a);}import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';import'./../pages/history/history-json-list-popup';export class MetaUiUtil{static async['findMenuMeta'](_0x586377){const _0x542a63=a0_0x43eb;let _0x532a77=await ServiceUtil[_0x542a63(0x1c8)](_0x542a63(0x259),_0x586377,'template');if(!_0x532a77)throw new Error(TermsUtil[_0x542a63(0x1cf)](_0x542a63(0x253),{'value':TermsUtil[_0x542a63(0x211)]('menu')+'\x20'+_0x586377}));if(!_0x532a77[_0x542a63(0x1a9)])throw new Error(TermsUtil[_0x542a63(0x1cf)](_0x542a63(0x253),{'value':TermsUtil[_0x542a63(0x211)](_0x542a63(0x259))+'\x20'+TermsUtil[_0x542a63(0x1b5)](_0x542a63(0x149))}));return this[_0x542a63(0x254)]=_0x586377,JSON[_0x542a63(0x282)](_0x532a77[_0x542a63(0x1a9)]);}static async['getMenuMetaData'](_0xe4bb){const _0x132bf4=a0_0x43eb;if((await client[_0x132bf4(0x27e)]({'query':a0_0x5dc710`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))['errors'])return;let _0x1af734=[{'name':'routing','operator':'eq','value':_0x18a828}];return await ServiceUtil[_0x2f7c3c(0x21c)](_0x2f7c3c(0x1f0),_0x1af734,null,0x0,0x0,_0x2f7c3c(0x261));}static async[a0_0x41aca5(0x15e)](_0x4c353a,_0x536e2a){const _0x186ceb=a0_0x41aca5;let _0x5ed280,_0x49bbca=await MetaUiUtil[_0x186ceb(0x1ae)](_0x536e2a);if(_0x49bbca&&_0x49bbca[_0x186ceb(0x28e)]&&0x0!=_0x49bbca[_0x186ceb(0x28e)][_0x186ceb(0x156)]?(_0x5ed280=_0x49bbca[_0x186ceb(0x28e)][0x0],!_0x5ed280[_0x186ceb(0x22d)]&&_0x4c353a[_0x186ceb(0x25c)]&&(_0x5ed280[_0x186ceb(0x22d)]=_0x4c353a[_0x186ceb(0x25c)])):_0x4c353a[_0x186ceb(0x25c)]&&(_0x5ed280={'id':_0x536e2a,'template':_0x4c353a[_0x186ceb(0x25c)]}),!_0x5ed280)throw new Error(TermsUtil[_0x186ceb(0x1f8)]('value_is_not_exist',{'value':TermsUtil[_0x186ceb(0x16b)](_0x186ceb(0x1d0))+'\x20'+_0x536e2a}));if(!_0x5ed280['template'])throw new Error(TermsUtil[_0x186ceb(0x1f8)](_0x186ceb(0x1cd),{'value':TermsUtil[_0x186ceb(0x16b)]('menu')+'\x20'+TermsUtil[_0x186ceb(0x278)](_0x186ceb(0x19d))}));return this[_0x186ceb(0x266)]=_0x5ed280['id'],JSON[_0x186ceb(0x1c4)](MetaCrypto[_0x186ceb(0x1a4)](_0x5ed280[_0x186ceb(0x22d)]));}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':_0x43c1d9=>Boolean(_0x43c1d9)},'is_popup':{'type':Boolean,'converter':_0xb9bcb6=>Boolean(_0xb9bcb6)},'is_activity':{'type':Boolean,'converter':_0x1e4e0e=>Boolean(_0x1e4e0e)},'is_readonly':{'type':Boolean,'converter':_0x3f9214=>Boolean(_0x3f9214)}};}static async[a0_0x41aca5(0x1e9)](_0x58d075){const _0x2d20d6=a0_0x41aca5;if(0x0==store[_0x2d20d6(0x2a0)]()[_0x2d20d6(0x179)][_0x2d20d6(0x259)])return void document['dispatchEvent'](new CustomEvent(_0x2d20d6(0x1a1),{'detail':{'level':'error','message':TermsUtil[_0x2d20d6(0x1c7)](_0x2d20d6(0x172))}}));let _0x268779=_0x58d075['isPage']?UiUtil[_0x2d20d6(0x19c)]():_0x58d075[_0x2d20d6(0x296)];_0x58d075[_0x2d20d6(0x19c)]=_0x268779;let _0x52c579=await MetaUiUtil['findMenuMetaByRouting'](_0x58d075,_0x268779);return!0x0===_0x58d075['is_activity']&&(_0x52c579[_0x2d20d6(0x197)][_0x2d20d6(0x1d8)]['use_row_checker']=!0x1,_0x52c579['grid'][_0x2d20d6(0x1d8)][_0x2d20d6(0x222)]=_0x2d20d6(0x277),_0x52c579[_0x2d20d6(0x197)]['use_filter_form']=!0x1,_0x52c579['grid'][_0x2d20d6(0x252)]=[],_0x52c579[_0x2d20d6(0x252)]=_0x52c579[_0x2d20d6(0x252)][_0x2d20d6(0x26e)](_0x4719cf=>'add'==_0x4719cf[_0x2d20d6(0x18d)])),!0x0===_0x58d075[_0x2d20d6(0x21e)]&&(_0x52c579['grid_column'][_0x2d20d6(0x173)](_0x48f03e=>{const _0x1f56d8=_0x2d20d6;_0x48f03e[_0x1f56d8(0x244)]=!0x1;}),_0x52c579[_0x2d20d6(0x252)]=_0x52c579[_0x2d20d6(0x252)][_0x2d20d6(0x26e)](_0x121480=>_0x2d20d6(0x249)!=_0x121480['name'])),!0x1===_0x58d075[_0x2d20d6(0x232)]&&(_0x52c579[_0x2d20d6(0x197)][_0x2d20d6(0x232)]=!0x1),_0x52c579[_0x2d20d6(0x1a0)][_0x2d20d6(0x26e)](_0x2dce20=>_0x2dce20['change_event_handler'])[_0x2d20d6(0x173)](_0x199b1b=>{const _0x559a8f=_0x2d20d6;_0x58d075[_0x559a8f(0x1b7)]||(_0x58d075[_0x559a8f(0x1b7)]={}),_0x58d075['fieldChangeHandlers'][_0x199b1b['name']]=_0x199b1b[_0x559a8f(0x2b4)];}),_0x52c579[_0x2d20d6(0x1a0)][_0x2d20d6(0x173)](_0xdd7392=>{const _0x462a0e=_0x2d20d6;['resource-object',_0x462a0e(0x190)][_0x462a0e(0x230)](_0xdd7392[_0x462a0e(0x29c)])?_0xdd7392[_0x462a0e(0x29c)]=_0x462a0e(0x21b):['resource-code-selector']['includes'](_0xdd7392['type'])&&(_0xdd7392['type']=_0x462a0e(0x295));}),_0x52c579;}static[a0_0x41aca5(0x1c2)](..._0x3092fe){return{'pages':_0x3092fe};}static[a0_0x41aca5(0x18c)](_0x353ed3,_0x3c2e52){const _0x227cba=a0_0x41aca5;let _0x26d57b=[{'type':_0x227cba(0x1c0),'gutterName':_0x227cba(0x1d4)},{'type':'gutter','gutterName':_0x227cba(0x1dc)}];return _0x353ed3&&_0x26d57b[_0x227cba(0x23a)]({'type':_0x227cba(0x1c0),'gutterName':_0x227cba(0x298),'multiple':_0x3c2e52}),_0x26d57b;}static[a0_0x41aca5(0x226)](_0x33a993){return{'selectable':{'multiple':_0x33a993}};}static async[a0_0x41aca5(0x1c3)](_0x58dbba){const _0x254600=a0_0x41aca5;_0x58dbba[_0x254600(0x208)]||(_0x58dbba[_0x254600(0x208)]={}),_0x58dbba[_0x254600(0x208)][_0x254600(0x171)]||(_0x58dbba[_0x254600(0x208)]['query']={}),_0x58dbba[_0x254600(0x208)][_0x254600(0x171)][_0x254600(0x15d)]||(_0x58dbba[_0x254600(0x208)]['query'][_0x254600(0x15d)]={}),_0x58dbba[_0x254600(0x208)][_0x254600(0x22f)]||(_0x58dbba[_0x254600(0x208)][_0x254600(0x22f)]={}),_0x58dbba[_0x254600(0x208)]['mutation'][_0x254600(0x16f)]||(_0x58dbba[_0x254600(0x208)]['mutation'][_0x254600(0x16f)]={}),_0x58dbba['gqlInfo'][_0x254600(0x22f)]['multiple'][_0x254600(0x210)]||(_0x58dbba[_0x254600(0x208)][_0x254600(0x22f)][_0x254600(0x16f)][_0x254600(0x210)]=[]);let _0x990a96=MetaUiUtil[_0x254600(0x29d)](_0x58dbba),_0x35d461=MetaUiUtil[_0x254600(0x224)](_0x58dbba),_0x52ffbf=MetaUiUtil[_0x254600(0x2ae)](_0x58dbba),_0x31ef71=MetaUiUtil['getGridButtonSet'](_0x58dbba),_0x171c1f=await MetaUiUtil[_0x254600(0x248)](_0x58dbba);_0x171c1f['filter'](_0x4d1e6b=>[_0x254600(0x21b)][_0x254600(0x230)](_0x4d1e6b['type']))['forEach'](_0x6b9873=>{const _0x297b7c=_0x254600;_0x58dbba[_0x297b7c(0x27f)][_0x297b7c(0x26e)](_0xf1dba1=>_0xf1dba1[_0x297b7c(0x18d)]==_0x6b9873['name'])[_0x297b7c(0x173)](_0x39513b=>{const _0x438af2=_0x297b7c,_0x3ff65d=_0x6b9873[_0x438af2(0x2a5)][_0x438af2(0x264)],_0x3e9287=_0x3ff65d[_0x438af2(0x153)]?_0x3ff65d['referenceField']:_0x6b9873[_0x438af2(0x18d)]+'Id',_0x23ef5f=_0x58dbba['searchConfig']['findIndex'](_0x5df5be=>_0x5df5be[_0x438af2(0x18d)]==_0x6b9873[_0x438af2(0x18d)]);_0x171c1f[_0x438af2(0x23a)]({'type':_0x438af2(0x21b),'header':_0x6b9873[_0x438af2(0x150)],'name':_0x3e9287,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x3ff65d}}),_0x58dbba[_0x438af2(0x208)][_0x438af2(0x171)][_0x438af2(0x15d)][_0x3e9287]='x',_0x58dbba[_0x438af2(0x208)][_0x438af2(0x22f)][_0x438af2(0x16f)][_0x438af2(0x210)]['push'](_0x3e9287),_0x58dbba[_0x438af2(0x27f)][_0x23ef5f][_0x438af2(0x18d)]=_0x3e9287,_0x58dbba[_0x438af2(0x27f)][_0x23ef5f]['type']=_0x438af2(0x21b);});});let _0x3b477e=MetaUiUtil[_0x254600(0x18c)](_0x990a96[_0x254600(0x29e)],_0x52ffbf[_0x254600(0x174)][_0x254600(0x16f)]);return 0x1==_0x58dbba[_0x254600(0x1e5)]&&(_0x171c1f=MetaUiUtil[_0x254600(0x280)](_0x58dbba,_0x171c1f)),{'list':_0x35d461,'pagination':_0x990a96[_0x254600(0x222)],'sorters':_0x990a96[_0x254600(0x236)],'rows':_0x52ffbf,'columns':[..._0x3b477e,..._0x31ef71,..._0x171c1f]};}static async[a0_0x41aca5(0x185)](_0xb0a8ab){const _0x181705=a0_0x41aca5;let _0x5bfcc7=_0xb0a8ab[_0x181705(0x1f2)],_0x3b5fab=[];for(let _0x592500=0x0;_0x592500<_0x5bfcc7['length'];_0x592500++){let {type:_0x17496e=_0x181705(0x1bc),name:_0x28707b,header:_0x3be7fc,hidden:_0x192888=!0x1,editable:_0x117081=!0x0,mandatory:_0x305a34=!0x1,align:_0x29b702='left',select_opt:_0x16c47c,object_opt:_0x2d4037}=_0x5bfcc7[_0x592500],_0x556385={'type':_0x17496e,'name':_0x28707b,'header_txt':ValueUtil[_0x181705(0x17e)](_0x3be7fc)?TermsUtil[_0x181705(0x278)](_0x28707b):TermsUtil[_0x181705(0x278)](_0x3be7fc),'header':{'renderer':function(_0x363840){return _0x363840['header_txt'];}},'hidden':_0x192888,'record':{'editable':_0x117081,'mandatory':_0x305a34,'align':_0x29b702,'classifier':function(){},'renderer':getRenderer(_0x17496e)}};_0x117081&&(_0x556385['record'][_0x181705(0x1c9)]=getEditor(_0x17496e)),_0x17496e['startsWith'](_0x181705(0x1d6))&&_0x2d4037&&_0x2d4037['menu']&&(_0x2d4037=await MetaUiUtil[_0x181705(0x165)](_0x17496e,_0x2d4037)),_0x181705(0x2a7)===_0x17496e&&ValueUtil[_0x181705(0x149)](_0x16c47c)&&(Array[_0x181705(0x27e)](_0x16c47c)?_0x556385['record']['options']=_0x16c47c:_0x181705(0x21a)===_0x16c47c[_0x181705(0x29c)]?_0x556385[_0x181705(0x2a5)][_0x181705(0x264)]=await ServiceUtil[_0x181705(0x1b6)](_0x16c47c['values']?_0x16c47c[_0x181705(0x22a)]:_0x16c47c['name']):_0x181705(0x214)===_0x16c47c[_0x181705(0x29c)]?_0x556385[_0x181705(0x2a5)]['options']=await ServiceUtil['getCodeByScenario'](_0x16c47c['name'],_0x16c47c[_0x181705(0x151)]):_0x181705(0x1e1)===_0x16c47c['type']&&(_0x556385[_0x181705(0x2a5)][_0x181705(0x264)]=await ServiceUtil[_0x181705(0x191)](_0x16c47c[_0x181705(0x151)]))),_0x181705(0x21b)===_0x17496e&&ValueUtil[_0x181705(0x149)](_0x2d4037)?_0x556385['record'][_0x181705(0x264)]={..._0x2d4037}:'meta-code-selector'===_0x17496e&&ValueUtil[_0x181705(0x149)](_0x2d4037)&&(_0x2d4037[_0x181705(0x2aa)]&&(_0x2d4037[_0x181705(0x1b9)]=await ServiceUtil[_0x181705(0x191)](_0x2d4037)),_0x556385[_0x181705(0x2a5)]['options']={..._0x2d4037}),_0x3b5fab[_0x181705(0x23a)](_0x556385);}return _0x3b5fab;}static[a0_0x41aca5(0x29d)](_0x1d2984){const _0x40dbef=a0_0x41aca5;let _0x2f3e2a=_0x1d2984['gridConfig'];_0x1d2984[_0x40dbef(0x1e5)]=!_0x2f3e2a||null==_0x2f3e2a['use_filter_form']||_0x2f3e2a[_0x40dbef(0x232)];let {mobile_mode:_0x5d70c9=_0x40dbef(0x2b1),desk_mode:_0x5c7fab=_0x40dbef(0x23b),view_mode:_0x3f524e=[],use_row_checker:_0x24c6fa=!0x0,sorters:_0x2ef976=[],pages:_0x1aef46=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x2f3e2a[_0x40dbef(0x1d8)])?{}:_0x2f3e2a[_0x40dbef(0x1d8)];return'unlimited'===_0x1aef46||'-1'===_0x1aef46?(_0x1d2984['infinityPage']=!0x0,_0x1aef46={'infinite':!0x0}):(_0x1d2984[_0x40dbef(0x176)]=!0x1,_0x1aef46[_0x40dbef(0x1d1)](function(_0xe25617,_0x583f77){return _0xe25617-_0x583f77;}),_0x1aef46={'pages':_0x1aef46}),ValueUtil[_0x40dbef(0x149)](_0x3f524e)&&(0x1==_0x3f524e[_0x40dbef(0x156)]?(_0x5c7fab=_0x3f524e[0x0],_0x5d70c9=_0x3f524e[0x0]):_0x3f524e['length']>=0x2&&(_0x3f524e[_0x40dbef(0x230)](_0x5d70c9)||(_0x5d70c9=_0x3f524e[0x1]),_0x3f524e[_0x40dbef(0x230)](_0x5c7fab)||(_0x5c7fab=_0x3f524e[0x0]))),_0x1d2984[_0x40dbef(0x170)]=_0x5d70c9,_0x1d2984[_0x40dbef(0x1f9)]=_0x5c7fab,_0x1d2984[_0x40dbef(0x2ab)]=_0x3f524e,_0x1d2984[_0x40dbef(0x240)]=UiUtil['isMobileEnv']()?_0x1d2984[_0x40dbef(0x170)]:_0x1d2984[_0x40dbef(0x1f9)],{'use_row_checker':_0x24c6fa,'sorters':_0x2ef976,'pages':_0x1aef46};}static[a0_0x41aca5(0x224)](_0x589075){const _0x3fd7ba=a0_0x41aca5;let _0x258cc5={'fields':[ValueUtil[_0x3fd7ba(0x195)](_0x589075[_0x3fd7ba(0x1ba)],_0x3fd7ba(0x18d)),ValueUtil['getParams'](_0x589075[_0x3fd7ba(0x1ba)],'desc')]};return _0x589075[_0x3fd7ba(0x192)]['list']&&Object[_0x3fd7ba(0x1d5)](_0x258cc5,_0x589075[_0x3fd7ba(0x192)]['list']),_0x258cc5;}static[a0_0x41aca5(0x2ae)](_0x172382){const _0x521ea1=a0_0x41aca5;let {multiple_select:_0x5896fc=!0x1,click:_0x2a8a4a}=ValueUtil[_0x521ea1(0x17e)](_0x172382['gridConfig'][_0x521ea1(0x26c)])?{}:_0x172382[_0x521ea1(0x192)][_0x521ea1(0x26c)],_0x4f8800={'selectable':{'multiple':_0x5896fc},'appendable':_0x172382[_0x521ea1(0x29a)]};return ValueUtil[_0x521ea1(0x149)](_0x2a8a4a)&&(_0x4f8800['handlers']={'click':_0x2a8a4a}),_0x4f8800;}static[a0_0x41aca5(0x18b)](_0x526c10){const _0x33ed8e=a0_0x41aca5;let _0x169afe=_0x526c10[_0x33ed8e(0x192)][_0x33ed8e(0x252)];return ValueUtil[_0x33ed8e(0x17e)](_0x169afe)?[]:_0x169afe[_0x33ed8e(0x2a9)](_0x51ec72=>{const _0x4de275=_0x33ed8e;let _0x40b140={'type':'gutter','gutterName':_0x4de275(0x252)};if(ValueUtil[_0x4de275(0x149)](_0x51ec72['icon'])&&(Array[_0x4de275(0x27e)](_0x51ec72[_0x4de275(0x18a)])?_0x40b140['icon']=_0x5e4f87=>{const _0x8d3b42=_0x4de275;if(ValueUtil[_0x8d3b42(0x149)](_0x5e4f87))for(let _0x22ff14=0x0;_0x22ff14<_0x51ec72['icon'][_0x8d3b42(0x156)];_0x22ff14++){let _0x360bc2=_0x51ec72[_0x8d3b42(0x18a)][_0x22ff14];if(!0x0===ValueUtil['compareObjectValues'](_0x360bc2,_0x5e4f87,Object['keys'](_0x360bc2)['filter'](_0x1057a7=>_0x8d3b42(0x18a)!=_0x1057a7)))return _0x360bc2[_0x8d3b42(0x18a)];}}:_0x40b140[_0x4de275(0x18a)]=_0x51ec72['icon']),ValueUtil[_0x4de275(0x149)](_0x51ec72[_0x4de275(0x18d)])&&(_0x40b140[_0x4de275(0x18d)]=_0x51ec72[_0x4de275(0x18d)]),ValueUtil['isNotEmpty'](_0x51ec72[_0x4de275(0x1c8)])&&(_0x40b140[_0x4de275(0x178)]=TermsUtil[_0x4de275(0x200)](_0x51ec72[_0x4de275(0x1c8)])),_0x4de275(0x28a)===_0x51ec72[_0x4de275(0x29c)]){let _0x59f93f=ValueUtil[_0x4de275(0x195)](_0x51ec72,_0x4de275(0x157));['history_copy',_0x4de275(0x1ab)][_0x4de275(0x230)](_0x59f93f)?_0x40b140['handlers']={'click':(_0x504533,_0x4a42e9,_0x230853,_0x5f0057,_0x5efaaf)=>{const _0x3b0d7a=_0x4de275;if(_0x5f0057['id']){let _0x1311b9={'title':_0x3b0d7a(0x2b0),'type':_0x3b0d7a(0x241),'tagname':_0x3b0d7a(0x28d)==_0x59f93f?_0x3b0d7a(0x23c):_0x3b0d7a(0x164),'location':'history_copy'==_0x59f93f?_0x3b0d7a(0x1db):_0x3b0d7a(0x1ac),'menu':_0x526c10[_0x3b0d7a(0x19c)],'size':_0x3b0d7a(0x201),'popup_field':_0x3b0d7a(0x19a),'parent_field':'id'},_0x1fe1cf={..._0x5f0057,'gqlFunc':ValueUtil['getParams'](_0x526c10[_0x3b0d7a(0x208)],_0x3b0d7a(0x171),_0x3b0d7a(0x20b)),'gristConfig':JSON[_0x3b0d7a(0x1c4)](JSON[_0x3b0d7a(0x289)](_0x526c10['grist'][_0x3b0d7a(0x15c)]))};MetaUiUtil[_0x3b0d7a(0x15a)](_0x526c10,{'logic':_0x1311b9},_0x1fe1cf);}}}:_0x40b140[_0x4de275(0x235)]={'click':_0x59f93f};}else _0x40b140[_0x4de275(0x235)]={'click':(_0x15c319,_0x5b00a6,_0x1ce2c0,_0x555614,_0x252c47)=>{const _0x5dde04=_0x4de275;_0x555614['id']&&MetaUiUtil[_0x5dde04(0x15a)](_0x526c10,_0x51ec72,_0x555614);}};return _0x40b140;});}static async[a0_0x41aca5(0x248)](_0x57bbb1){const _0x51358b=a0_0x41aca5;let _0x42f01b=_0x57bbb1[_0x51358b(0x1a3)];if(ValueUtil[_0x51358b(0x17e)](_0x42f01b))return[];let _0xc30f2f=[];for(let _0x3d4559=0x0;_0x3d4559<_0x42f01b[_0x51358b(0x156)];_0x3d4559++){let {type:_0x25d1f1='string',name:_0x4cf291,header:_0x20bad4,hidden:_0x5a5bbf=!0x1,editable:_0x1dc378=!0x0,mandatory:_0x17eb13=!0x1,sortable:_0x15b369=!0x1,align:_0x592db2=_0x51358b(0x16c),width:_0x2f5f5d=0x0,exportable:_0x47a264=!0x1,select_opt:_0x14aa36,object_opt:_0xcc3946,format:_0x431fff}=_0x42f01b[_0x3d4559],_0x85865={'type':_0x25d1f1,'name':_0x4cf291,'header':ValueUtil[_0x51358b(0x17e)](_0x20bad4)?'':TermsUtil['tLabel'](_0x20bad4),'hidden':_0x5a5bbf,'sortable':_0x15b369,'width':_0x2f5f5d,'record':{'editable':_0x1dc378,'mandatory':_0x17eb13,'align':_0x592db2,'format':_0x431fff}};if(_0x25d1f1[_0x51358b(0x207)](_0x51358b(0x1d6))&&_0xcc3946&&_0xcc3946[_0x51358b(0x1d0)]&&(_0xcc3946=await MetaUiUtil['getGristMetaObjectOptions'](_0x25d1f1,_0xcc3946)),'select'===_0x25d1f1&&ValueUtil[_0x51358b(0x149)](_0x14aa36)&&(Array['isArray'](_0x14aa36)?_0x85865[_0x51358b(0x2a5)][_0x51358b(0x264)]=_0x14aa36:_0x51358b(0x21a)===_0x14aa36['type']?_0x85865[_0x51358b(0x2a5)]['options']=await ServiceUtil[_0x51358b(0x1b6)](_0x14aa36[_0x51358b(0x22a)]?_0x14aa36['values']:_0x14aa36[_0x51358b(0x18d)]):_0x51358b(0x214)===_0x14aa36['type']?_0x85865['record'][_0x51358b(0x264)]=await ServiceUtil[_0x51358b(0x1c6)](_0x14aa36[_0x51358b(0x18d)],_0x14aa36[_0x51358b(0x151)]):_0x51358b(0x1e1)===_0x14aa36['type']&&(_0x85865['record'][_0x51358b(0x264)]=await ServiceUtil[_0x51358b(0x191)](_0x14aa36[_0x51358b(0x151)]))),_0x51358b(0x21b)===_0x25d1f1&&ValueUtil[_0x51358b(0x149)](_0xcc3946)){let _0x159396;_0x85865[_0x51358b(0x2a5)]['options']={..._0xcc3946},_0xcc3946[_0x51358b(0x160)]&&_0xcc3946[_0x51358b(0x160)][_0x51358b(0x1d9)]&&(_0x159396=[..._0xcc3946[_0x51358b(0x160)][_0x51358b(0x1d9)]]),_0x159396&&JSON[_0x51358b(0x289)](_0x159396)['includes']('::')&&(_0x85865[_0x51358b(0x235)]={'dblclick':(_0x39add0,_0x4e9fe4,_0xbe4e39,_0x43835f,_0x461935)=>{const _0x3ca5b3=_0x51358b;let _0x1963a9=[];_0x159396[_0x3ca5b3(0x173)](_0x5cc174=>{const _0x18692c=_0x3ca5b3;var {name:_0x5c51a0,value:_0x52d7f7,operator:_0x56ac13='eq'}=_0x5cc174;_0x52d7f7['includes']('::')&&(_0x52d7f7=ValueUtil['getParams'](_0x43835f,..._0x52d7f7[_0x18692c(0x234)]('::','')['split']('.'))),_0x52d7f7||(_0x52d7f7=''),_0x1963a9[_0x18692c(0x23a)]({'name':_0x5c51a0,'operator':_0x56ac13,'value':_0x52d7f7});}),_0xbe4e39['record'][_0x3ca5b3(0x264)][_0x3ca5b3(0x160)][_0x3ca5b3(0x1d9)]=_0x1963a9;}});}else _0x51358b(0x295)===_0x25d1f1&&ValueUtil[_0x51358b(0x149)](_0xcc3946)&&(_0xcc3946[_0x51358b(0x2aa)]&&(_0xcc3946[_0x51358b(0x1b9)]=await ServiceUtil[_0x51358b(0x191)](_0xcc3946)),_0x85865[_0x51358b(0x2a5)][_0x51358b(0x264)]={..._0xcc3946});!0x0===_0x57bbb1[_0x51358b(0x26b)]&&!0x0===_0x47a264&&(_0x85865[_0x51358b(0x148)]={'header':_0x85865[_0x51358b(0x150)],'key':_0x85865['name'],'width':_0x85865[_0x51358b(0x267)]/0x6,'type':_0x85865[_0x51358b(0x29c)]}),_0xc30f2f[_0x51358b(0x23a)](_0x85865);}if(!0x0!==this[_0x51358b(0x297)])return _0xc30f2f;let _0x719013=await MetaApi[_0x51358b(0x217)](this[_0x51358b(0x266)]),{template:_0x1e1b2f={}}=_0x719013;if(!_0x1e1b2f['master'])return _0xc30f2f;let _0x5ecee7=_0x1e1b2f[_0x51358b(0x211)];return _0xc30f2f=_0xc30f2f['map'](_0x5c66bb=>('id'==_0x5c66bb['name']||(_0x5c66bb['hidden']=!_0x5ecee7['includes'](_0x5c66bb[_0x51358b(0x18d)]),_0x5c66bb[_0x51358b(0x1f7)]=_0x5ecee7['indexOf'](_0x5c66bb[_0x51358b(0x18d)]),-0x1==_0x5c66bb['rank']&&(_0x5c66bb[_0x51358b(0x1f7)]=0x1869f)),_0x5c66bb)),_0xc30f2f[_0x51358b(0x1d1)]((_0x256c74,_0x4822f0)=>_0x256c74['rank']-_0x4822f0[_0x51358b(0x1f7)]),_0xc30f2f;}static async['getGristMetaObjectOptions'](_0x1e57e3,_0x2cd8ac){const _0x31f7ce=a0_0x41aca5;let _0x3d1a16=await MetaUiUtil['getMenuMetaData'](_0x2cd8ac['menu']);if(_0x3d1a16&&_0x3d1a16[_0x31f7ce(0x28e)]&&_0x3d1a16[_0x31f7ce(0x28e)]['length']>0x0&&_0x3d1a16[_0x31f7ce(0x28e)][0x0]['template']){let _0x565799=_0x3d1a16['records'][0x0],_0x568442=JSON[_0x31f7ce(0x1c4)](MetaCrypto['dec'](_0x565799['template']));_0x2cd8ac['queryName']||(_0x2cd8ac['queryName']=_0x568442['gql'][_0x31f7ce(0x171)][_0x31f7ce(0x20d)]),_0x2cd8ac[_0x31f7ce(0x2a7)]||(_0x2cd8ac['select']=_0x568442['grid_column']),_0x2cd8ac[_0x31f7ce(0x1e3)]&&0x0!=_0x2cd8ac[_0x31f7ce(0x1e3)][_0x31f7ce(0x156)]||(_0x2cd8ac[_0x31f7ce(0x1e3)]=_0x568442[_0x31f7ce(0x17d)]),_0x2cd8ac['selectorName']||(_0x2cd8ac['selectorName']=_0x568442[_0x31f7ce(0x1d0)][_0x31f7ce(0x178)]),_0x2cd8ac[_0x31f7ce(0x1d9)]||(_0x2cd8ac[_0x31f7ce(0x1d9)]=_0x568442[_0x31f7ce(0x28f)][_0x31f7ce(0x171)][_0x31f7ce(0x1d9)]||[]),_0x1e57e3['includes']('-object-')?_0x2cd8ac[_0x31f7ce(0x1a6)]||(_0x2cd8ac[_0x31f7ce(0x1a6)]=_0x568442['menu']['name']||_0x31f7ce(0x18d)):_0x1e57e3[_0x31f7ce(0x230)](_0x31f7ce(0x25f))&&(_0x2cd8ac[_0x31f7ce(0x20c)]||(_0x2cd8ac['codeField']=_0x568442[_0x31f7ce(0x1d0)]['name']||_0x31f7ce(0x21a)),_0x2cd8ac[_0x31f7ce(0x2aa)]||(_0x2cd8ac[_0x31f7ce(0x2aa)]=_0x568442[_0x31f7ce(0x1d0)]['desc']||void 0x0));}return _0x2cd8ac;}static[a0_0x41aca5(0x280)](_0x3e124b,_0x421de6){const _0x424939=a0_0x41aca5;let _0x2f43ce=_0x3e124b[_0x424939(0x27f)];return _0x2f43ce&&_0x2f43ce['forEach'](_0x134b04=>{const _0x3be1fc=_0x424939;_0x3be1fc(0x1bc)==typeof _0x134b04?_0x421de6['filter'](_0x9ed204=>_0x9ed204[_0x3be1fc(0x18d)]==_0x134b04)['forEach'](_0x455f4c=>{const _0x1fd8c6=_0x3be1fc;_0x455f4c[_0x1fd8c6(0x26e)]=_0x1fd8c6(0x17d);}):_0x3be1fc(0x190)==typeof _0x134b04&&_0x421de6[_0x3be1fc(0x26e)](_0x298428=>_0x298428[_0x3be1fc(0x18d)]==_0x134b04[_0x3be1fc(0x18d)])[_0x3be1fc(0x173)](_0x3cc624=>{const _0xb53b6e=_0x3be1fc;_0x3cc624['filter']=_0x134b04,_0x3cc624[_0xb53b6e(0x26e)][_0xb53b6e(0x29c)]='datetime'===_0x3cc624[_0xb53b6e(0x29c)]&&'eq'==_0x134b04['operator']?_0xb53b6e(0x265):_0x3cc624['type'];let _0x1188e2=_0x3cc624[_0xb53b6e(0x26e)][_0xb53b6e(0x1bb)],_0x5d5ece=[_0xb53b6e(0x263),_0xb53b6e(0x225),_0xb53b6e(0x154),_0xb53b6e(0x282),_0xb53b6e(0x1cb),'min',_0xb53b6e(0x1af)];if(_0x1188e2&&_0x5d5ece[_0xb53b6e(0x26e)](_0x2cf7c5=>_0x1188e2[_0xb53b6e(0x207)](_0x2cf7c5))[_0xb53b6e(0x156)]>0x0){let _0x1a30a5=[],_0x194d52={'date':_0xb53b6e(0x245),'datetime':_0xb53b6e(0x247)},_0x4d881c={'today':'day','year':_0xb53b6e(0x225),'month':_0xb53b6e(0x154),'date':'day','hour':_0xb53b6e(0x1cb),'min':_0xb53b6e(0x26a),'sec':_0xb53b6e(0x161)};_0x1188e2[_0xb53b6e(0x177)](',')[_0xb53b6e(0x173)](_0x12ae1c=>{const _0x346871=_0xb53b6e,_0x2f588a=a0_0x52459b();if(_0x5d5ece['includes'](_0x12ae1c))_0x1a30a5['push'](_0x2f588a[_0x346871(0x16a)](_0x4d881c[_0x12ae1c])[_0x346871(0x18f)](_0x194d52[_0x3cc624[_0x346871(0x29c)]]));else{if(_0x12ae1c[_0x346871(0x230)]('-')){let _0x896cc0=_0x12ae1c[_0x346871(0x177)]('-'),_0x349134=_0x896cc0[0x0],_0x4a9911=_0x896cc0[0x1];_0x1a30a5[_0x346871(0x23a)](_0x2f588a[_0x346871(0x1bd)](_0x4a9911,_0x4d881c[_0x349134])['startOf'](_0x4d881c[_0x349134])[_0x346871(0x18f)](_0x194d52[_0x3cc624[_0x346871(0x29c)]]));}else{if(_0x12ae1c['includes']('+')){let _0xfabee7=_0x12ae1c[_0x346871(0x177)]('+'),_0x73215f=_0xfabee7[0x0],_0x1d0ba3=_0xfabee7[0x1];_0x1a30a5['push'](_0x2f588a[_0x346871(0x249)](_0x1d0ba3,_0x4d881c[_0x73215f])[_0x346871(0x16a)](_0x4d881c[_0x73215f])[_0x346871(0x18f)](_0x194d52[_0x3cc624[_0x346871(0x29c)]]));}}}}),_0x1a30a5['length']>0x0&&(_0x3cc624[_0xb53b6e(0x26e)][_0xb53b6e(0x1bb)]=0x1==_0x1a30a5[_0xb53b6e(0x156)]?_0x1a30a5[0x0]:_0x1a30a5);}});}),_0x421de6;}static[a0_0x41aca5(0x25a)](_0x285780){const _0x41a863=a0_0x41aca5;let _0x19871c={'title':TermsUtil['tTitle'](_0x285780[_0x41a863(0x1ba)][_0x41a863(0x178)]),'help':_0x285780[_0x41a863(0x1ba)][_0x41a863(0x198)]||'','actions':[...MetaUiUtil['getContextButtons'](_0x285780)]};return _0x285780[_0x41a863(0x26b)]&&(_0x19871c[_0x41a863(0x1cf)]={'name':_0x19871c[_0x41a863(0x178)],'data':_0x285780['export'][_0x41a863(0x14d)](_0x285780)}),_0x285780[_0x41a863(0x293)]&&(_0x19871c[_0x41a863(0x228)]={'handler':_0x285780[_0x41a863(0x15b)][_0x41a863(0x14d)](_0x285780)}),_0x19871c;}static[a0_0x41aca5(0x24d)](_0x1a4bf4){const _0x333c66=a0_0x41aca5;let _0x3c7e68=_0x1a4bf4[_0x333c66(0x23d)];return ValueUtil[_0x333c66(0x17e)](_0x3c7e68)?[]:_0x3c7e68[_0x333c66(0x26e)](_0x564cb6=>_0x333c66(0x1fb)!=_0x564cb6[_0x333c66(0x18d)]&&'import'!=_0x564cb6[_0x333c66(0x18d)]&&_0x333c66(0x249)!=_0x564cb6[_0x333c66(0x18d)])['map'](_0x141e85=>{const _0x4c8a59=_0x333c66;let {name:_0x1defd4,label:_0x4ee508,style:_0x268fd4,type:_0x1afc21=_0x4c8a59(0x28a),action:_0x31a883,logic:_0x3a105c}=_0x141e85;if(ValueUtil[_0x4c8a59(0x17e)](_0x1defd4))return{'title':'-1'};ValueUtil[_0x4c8a59(0x17e)](_0x4ee508)&&(_0x4ee508=_0x1defd4),ValueUtil[_0x4c8a59(0x17e)](_0x268fd4)&&(_0x268fd4=_0x1defd4),ValueUtil[_0x4c8a59(0x17e)](_0x31a883)&&(_0x31a883=_0x1defd4);let _0x46c6eb=ValueUtil[_0x4c8a59(0x149)](_0x268fd4)?CommonButtonStyles[_0x268fd4]||{'icon':_0x268fd4,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil['tButton'](_0x4ee508),'action':MetaUiUtil[_0x4c8a59(0x196)](_0x1a4bf4,_0x1afc21,_0x31a883,_0x3a105c),..._0x46c6eb};})['filter'](_0x2d57c5=>'-1'!=_0x2d57c5['title']);}static[a0_0x41aca5(0x1dd)](_0x48ee83){const _0x2263b1=a0_0x41aca5;let _0x1550e2=_0x48ee83&&_0x48ee83[_0x2263b1(0x23d)]?_0x48ee83['buttonConfig']:null;return _0x1550e2?_0x1550e2['filter'](_0x464f16=>_0x2263b1(0x249)!=_0x464f16['name'])['map'](_0x1a8cdd=>{const _0x361d6c=_0x2263b1;let {name:_0x38e1cc,label:_0x2cd850,style:_0x57029b,type:_0x573b16=_0x361d6c(0x28a),action:_0x3887ca,logic:_0x493e08}=_0x1a8cdd;ValueUtil[_0x361d6c(0x17e)](_0x2cd850)&&(_0x2cd850=_0x38e1cc),ValueUtil['isEmpty'](_0x57029b)&&(_0x57029b=_0x38e1cc),ValueUtil['isEmpty'](_0x3887ca)&&(_0x3887ca=_0x38e1cc);let _0x45d830=MetaUiUtil[_0x361d6c(0x1d2)](TermsUtil[_0x361d6c(0x200)](_0x2cd850),_0x57029b);return _0x45d830[_0x361d6c(0x1fd)]=MetaUiUtil[_0x361d6c(0x196)](_0x48ee83,_0x573b16,_0x3887ca,_0x493e08),_0x45d830;}):[];}static[a0_0x41aca5(0x1d2)](_0x166e56,_0x3283b7){const _0x2f1311=a0_0x41aca5;let _0x41038d=CommonButtonStyles[_0x3283b7]||{'icon':_0x3283b7,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x596751=_0x2f1311(0x1ea)+_0x166e56+_0x2f1311(0x221)+(_0x41038d[_0x2f1311(0x18a)]?_0x41038d['icon']:'')+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x41038d[_0x2f1311(0x1f1)][_0x2f1311(0x181)]?'raised':'')+_0x2f1311(0x1e8)+(_0x41038d[_0x2f1311(0x1f1)][_0x2f1311(0x1ed)]?_0x2f1311(0x1ed):'')+_0x2f1311(0x1e8)+(_0x41038d[_0x2f1311(0x1f1)][_0x2f1311(0x1fc)]?_0x2f1311(0x1fc):'')+_0x2f1311(0x1e8)+(_0x41038d['emphasis'][_0x2f1311(0x1ec)]?_0x2f1311(0x1ec):'')+_0x2f1311(0x287);return UiUtil[_0x2f1311(0x169)](_0x596751);}static['getButtonActionHandler'](_0x2c555d,_0x2b594e,_0x24e8a0,_0x34fb67){const _0x1182e8=a0_0x41aca5;if(_0x1182e8(0x28a)==_0x2b594e){if(_0x2c555d[_0x24e8a0])return _0x2c555d[_0x24e8a0][_0x1182e8(0x14d)](_0x2c555d);}else{if(_0x1182e8(0x25e)==_0x2b594e)return()=>MetaUiUtil[_0x1182e8(0x1f3)](_0x2c555d,_0x34fb67);}return()=>{const _0x2baae1=_0x1182e8;UiUtil[_0x2baae1(0x20a)]('title.warning',_0x2baae1(0x283),'info',_0x2baae1(0x26f));};}static async['gristButtonHandler'](_0x265cb3,_0x277d5e,_0x2faab2){const _0x333f8d=a0_0x41aca5;let _0x44a474=ValueUtil['getParams'](_0x277d5e,_0x333f8d(0x157)),_0x41c391=ValueUtil[_0x333f8d(0x195)](_0x44a474,_0x333f8d(0x29c));if(_0x333f8d(0x14a)===_0x41c391)_0x44a474[_0x333f8d(0x2a1)]='meta-form-element',_0x44a474[_0x333f8d(0x166)]=_0x333f8d(0x231),_0x44a474[_0x333f8d(0x227)]='id',await MetaUiUtil[_0x333f8d(0x206)](_0x265cb3,_0x44a474,_0x2faab2);else{if('pass_param'===_0x41c391)MetaUiUtil['gristButtonPassParam'](_0x265cb3,_0x44a474,_0x2faab2);else{if('page'===_0x41c391){let _0x1ac0e2;_0x44a474[_0x333f8d(0x26d)]?(_0x1ac0e2={},Object[_0x333f8d(0x1c5)](_0x2faab2)[_0x333f8d(0x26e)](_0x4437a9=>Object['keys'](_0x44a474[_0x333f8d(0x26d)])[_0x333f8d(0x230)](_0x4437a9))[_0x333f8d(0x2a9)](_0x486cb0=>{const _0x37e8dd=_0x333f8d;Object[_0x37e8dd(0x1c5)](_0x44a474[_0x37e8dd(0x26d)])['includes'](_0x486cb0)&&('string'==typeof _0x2faab2[_0x486cb0]?_0x1ac0e2[_0x44a474[_0x37e8dd(0x26d)][_0x486cb0]]=_0x2faab2[_0x486cb0]:_0x1ac0e2[_0x44a474['param_field'][_0x486cb0]]={'id':_0x2faab2[_0x486cb0]['id']});})):_0x1ac0e2=_0x2faab2,UiUtil[_0x333f8d(0x25b)](_0x44a474[_0x333f8d(0x1b5)],[_0x1ac0e2]);}else _0x333f8d(0x241)===_0x41c391?await MetaUiUtil[_0x333f8d(0x206)](_0x265cb3,_0x44a474,_0x2faab2):_0x333f8d(0x214)===_0x41c391?await MetaUiUtil[_0x333f8d(0x1e2)](_0x265cb3,_0x44a474,_0x2faab2):_0x333f8d(0x1de)===_0x41c391&&await MetaUiUtil[_0x333f8d(0x1e0)](_0x265cb3,_0x44a474,_0x2faab2);}}}static async[a0_0x41aca5(0x1f3)](_0x5251e4,_0x19a39b){const _0x45d359=a0_0x41aca5;if(ValueUtil['isEmpty'](_0x19a39b))return;let _0x30957d=_0x5251e4[_0x45d359(0x218)],_0x159fdd=_0x5251e4['filterForm'],_0x4a3426=ValueUtil[_0x45d359(0x195)](_0x19a39b,'type'),_0x10f6ee=ValueUtil['getParams'](_0x19a39b,_0x45d359(0x17f)),_0x807a9=_0x10f6ee[_0x45d359(0x26e)](_0x400cb3=>_0x400cb3['startsWith'](_0x45d359(0x218)));if(ValueUtil['isNotEmpty'](_0x807a9)){if(!_0x30957d)return void UiUtil[_0x45d359(0x20a)](_0x45d359(0x270),'text.grid_is_not_exist',_0x45d359(0x155),_0x45d359(0x26f));if(0x0==(_0x30957d[_0x45d359(0x1ef)]?_0x30957d[_0x45d359(0x1ef)][_0x45d359(0x28e)]:[])[_0x45d359(0x156)])return void UiUtil[_0x45d359(0x20a)](_0x45d359(0x270),_0x45d359(0x1fe),_0x45d359(0x155),_0x45d359(0x26f));if(_0x10f6ee[_0x45d359(0x230)](_0x45d359(0x1ca))||_0x10f6ee['includes'](_0x45d359(0x1e7))){let _0x149864=_0x30957d[_0x45d359(0x23f)];if(ValueUtil[_0x45d359(0x17e)](_0x149864))return void UiUtil['showAlertPopup'](_0x45d359(0x1ad),_0x45d359(0x274),_0x45d359(0x155),'confirm');if(_0x10f6ee['includes'](_0x45d359(0x1ca))&&_0x149864[_0x45d359(0x156)]>0x1)return void UiUtil['showAlertPopup'](_0x45d359(0x270),_0x45d359(0x21d),'info',_0x45d359(0x26f));}}let _0x5392c2={};if(_0x10f6ee[_0x45d359(0x230)](_0x45d359(0x26e))){if(!_0x159fdd)return void UiUtil[_0x45d359(0x20a)](_0x45d359(0x270),_0x45d359(0x162),_0x45d359(0x155),_0x45d359(0x26f));let _0x13ae61=_0x159fdd?await _0x159fdd[_0x45d359(0x1b0)]():[];_0x5392c2[_0x45d359(0x26e)]=_0x13ae61;}if(_0x10f6ee[_0x45d359(0x230)](_0x45d359(0x1b8)))_0x5392c2['grist']=_0x30957d[_0x45d359(0x1ef)][_0x45d359(0x28e)];else{if(_0x10f6ee[_0x45d359(0x230)](_0x45d359(0x1ca)))_0x5392c2[_0x45d359(0x218)]=_0x30957d[_0x45d359(0x23f)][0x0];else{if(_0x10f6ee[_0x45d359(0x230)](_0x45d359(0x1e7)))_0x5392c2[_0x45d359(0x218)]=_0x30957d[_0x45d359(0x23f)];else{if(_0x10f6ee[_0x45d359(0x230)](_0x45d359(0x1c1))&&(_0x5392c2[_0x45d359(0x218)]=ServiceUtil[_0x45d359(0x284)](_0x30957d),!_0x5392c2[_0x45d359(0x218)]))return;}}}if(_0x45d359(0x25d)===_0x4a3426){let _0x3afbf5,_0x5559d7=Array[_0x45d359(0x27e)](_0x5392c2[_0x45d359(0x218)])?_0x5392c2[_0x45d359(0x218)]:[_0x5392c2[_0x45d359(0x218)]];_0x3afbf5=_0x19a39b[_0x45d359(0x26d)]?_0x5559d7[_0x45d359(0x2a9)](_0x59a73d=>{const _0x2d8fa3=_0x45d359;let _0x374cd0={};return Object['keys'](_0x59a73d)['filter'](_0x9308e2=>Object[_0x2d8fa3(0x1c5)](_0x19a39b[_0x2d8fa3(0x26d)])[_0x2d8fa3(0x230)](_0x9308e2))['map'](_0x1fa887=>{const _0x17c156=_0x2d8fa3;Object[_0x17c156(0x1c5)](_0x19a39b[_0x17c156(0x26d)])[_0x17c156(0x230)](_0x1fa887)&&('string'==typeof _0x59a73d[_0x1fa887]?_0x374cd0[_0x19a39b[_0x17c156(0x26d)][_0x1fa887]]=_0x59a73d[_0x1fa887]:_0x374cd0[_0x19a39b[_0x17c156(0x26d)][_0x1fa887]]={'id':_0x59a73d[_0x1fa887]['id']});}),_0x374cd0;}):_0x5559d7,UiUtil['pageNavigate'](_0x19a39b[_0x45d359(0x1b5)],_0x3afbf5);}else{if('popup'===_0x4a3426){let _0x543fdf={..._0x5392c2[_0x45d359(0x218)]?_0x5392c2[_0x45d359(0x218)]:{},..._0x5392c2[_0x45d359(0x26e)]?_0x5392c2[_0x45d359(0x26e)]:{}};await MetaUiUtil['commonButtonOpenPopup'](_0x5251e4,_0x19a39b,_0x543fdf);}else _0x45d359(0x214)===_0x4a3426&&await MetaUiUtil[_0x45d359(0x1e2)](_0x5251e4,_0x19a39b,_0x5392c2);}}static[a0_0x41aca5(0x2b5)](_0x336398,_0x14cebf,_0x4c40a2){const _0x56c6ed=a0_0x41aca5;let _0x5877f3=_0x14cebf[_0x56c6ed(0x186)],_0x33e2a6={},_0x3eba3e=_0x336398[_0x56c6ed(0x253)][_0x56c6ed(0x203)](),_0x23fa5a=_0x336398;_0x33e2a6=_0x3eba3e['startsWith'](_0x56c6ed(0x1b4))?{'detail':{..._0x5877f3}}:_0x3eba3e[_0x56c6ed(0x207)]('meta-master-detail-')?_0x336398['detailElement'][_0x56c6ed(0x253)]['toLowerCase']()['startsWith'](_0x56c6ed(0x294))?{'detail':{..._0x5877f3}}:{'self':{..._0x5877f3}}:_0x5877f3,Object[_0x56c6ed(0x1c5)](_0x33e2a6)['forEach'](_0x402e7b=>{const _0x5a48ad=_0x56c6ed;if('master'==_0x402e7b?_0x23fa5a=_0x336398['rootElement'][_0x5a48ad(0x1b1)]:_0x5a48ad(0x1f6)==_0x402e7b?_0x23fa5a=_0x336398[_0x5a48ad(0x262)]?_0x336398[_0x5a48ad(0x262)][_0x5a48ad(0x250)]:_0x336398[_0x5a48ad(0x250)]:'self'==_0x402e7b&&(_0x23fa5a=_0x336398),_0x23fa5a[_0x5a48ad(0x253)][_0x5a48ad(0x203)]()['startsWith'](_0x5a48ad(0x193)))Object[_0x5a48ad(0x1c5)](_0x33e2a6[_0x402e7b])[_0x5a48ad(0x173)](_0xf3f36=>{const _0xf4d41f=_0x5a48ad;let _0xa43138=_0x23fa5a[_0xf4d41f(0x238)][_0xf4d41f(0x1da)]('#'+_0xf3f36);_0x4c40a2['id']&&_0xa43138[_0xf4d41f(0x229)](_0x4c40a2['id']);let _0x5a0920=_0x33e2a6[_0x402e7b][_0xf3f36];Object[_0xf4d41f(0x1c5)](_0x5a0920)[_0xf4d41f(0x173)](_0x54f8d8=>{let _0x2fb99f=_0x5a0920[_0x54f8d8],_0x5d5450='*'===_0x2fb99f?_0x4c40a2:_0x4c40a2[_0x2fb99f];_0xa43138[_0x54f8d8]=_0x5d5450;});});else{let _0x12a822=_0x23fa5a;_0x4c40a2['id']&&_0x12a822[_0x5a48ad(0x229)](_0x4c40a2['id']);let _0x11b1ea=_0x33e2a6[_0x402e7b];Object[_0x5a48ad(0x1c5)](_0x11b1ea)[_0x5a48ad(0x173)](_0x23bff6=>{let _0x3d6bd6=_0x11b1ea[_0x23bff6],_0x4e47c6='*'===_0x3d6bd6?_0x4c40a2:_0x4c40a2[_0x3d6bd6];_0x12a822[_0x23bff6]=_0x4e47c6;});}});}static async['commonButtonOpenPopup'](_0x456fb9,_0x396b9b,_0x571db7){const _0xf0e000=a0_0x41aca5;let _0x1674f6=TermsUtil[_0xf0e000(0x242)](_0x396b9b[_0xf0e000(0x178)]);ValueUtil[_0xf0e000(0x149)](_0x396b9b[_0xf0e000(0x1a7)])&&(_0x1674f6=_0x1674f6+'('+ValueUtil[_0xf0e000(0x195)](_0x571db7,..._0x396b9b['title_detail'][_0xf0e000(0x177)]('.'))+')');let _0x1122fb=_0x396b9b[_0xf0e000(0x271)]&&_0xf0e000(0x1bc)==typeof _0x396b9b['after']&&_0xf0e000(0x17b)===_0x396b9b['after']&&_0x456fb9&&_0x456fb9[_0xf0e000(0x17b)]?_0x456fb9['fetch'][_0xf0e000(0x14d)](_0x456fb9):void 0x0;UiUtil['openDynamicPopup'](_0x1674f6,_0x396b9b,_0x571db7,_0x1122fb);}static async['commonButtonCallScenario'](_0x3840ad,_0x5b18d9,_0x1fe30d){const _0x2f854d=a0_0x41aca5;let _0x239912=await ServiceUtil[_0x2f854d(0x24a)](_0x2f854d(0x257),_0x5b18d9[_0x2f854d(0x18d)],_0x1fe30d);if(!_0x239912['errors']&&!ValueUtil[_0x2f854d(0x17e)](_0x5b18d9[_0x2f854d(0x271)])&&_0x5b18d9['after']){if(_0x2f854d(0x17b)!==_0x5b18d9[_0x2f854d(0x271)]){if(_0x2f854d(0x190)==typeof _0x5b18d9[_0x2f854d(0x271)]){let _0x39ab92=_0x5b18d9['after'],_0x3de656=ValueUtil[_0x2f854d(0x195)](_0x239912[_0x2f854d(0x1ef)][_0x2f854d(0x239)][_0x2f854d(0x1ef)],..._0x39ab92['result_name'][_0x2f854d(0x177)]('.'));if(0x0==Array['isArray'](_0x3de656)&&(_0x3de656=[_0x3de656]),'form'===_0x39ab92['type'])_0x39ab92['tagname']=_0x2f854d(0x28c),_0x39ab92[_0x2f854d(0x166)]=_0x2f854d(0x231),_0x39ab92[_0x2f854d(0x227)]='id',_0x3de656=_0x3de656[0x0],await MetaUiUtil[_0x2f854d(0x206)](_0x3840ad,_0x39ab92,_0x3de656);else{if(_0x2f854d(0x25d)===_0x39ab92[_0x2f854d(0x29c)]){let _0x3e1b84,_0x508ca7=_0x3de656;_0x3e1b84=_0x39ab92[_0x2f854d(0x26d)]?_0x508ca7[_0x2f854d(0x2a9)](_0xcf61ef=>{const _0x1ff4ec=_0x2f854d;let _0x409d45={};return Object['keys'](_0xcf61ef)['filter'](_0x35dd60=>Object['keys'](_0x39ab92[_0x1ff4ec(0x26d)])[_0x1ff4ec(0x230)](_0x35dd60))['map'](_0x4adb2b=>{const _0x59fed6=_0x1ff4ec;Object[_0x59fed6(0x1c5)](_0x39ab92['param_field'])[_0x59fed6(0x230)](_0x4adb2b)&&(_0x59fed6(0x1bc)==typeof _0xcf61ef[_0x4adb2b]?_0x409d45[_0x39ab92[_0x59fed6(0x26d)][_0x4adb2b]]=_0xcf61ef[_0x4adb2b]:_0x409d45[_0x39ab92['param_field'][_0x4adb2b]]={'id':_0xcf61ef[_0x4adb2b]['id']});}),_0x409d45;}):_0x508ca7,UiUtil[_0x2f854d(0x25b)](_0x39ab92[_0x2f854d(0x1b5)],_0x3e1b84);}else'pass_param'===_0x39ab92[_0x2f854d(0x29c)]?(_0x3de656=_0x3de656[0x0],MetaUiUtil[_0x2f854d(0x2b5)](_0x3840ad,_0x39ab92,_0x3de656)):_0x2f854d(0x241)===_0x39ab92['type']?(_0x3de656=_0x3de656[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x3840ad,_0x39ab92,_0x3de656)):_0x2f854d(0x1de)===_0x39ab92[_0x2f854d(0x29c)]&&(_0x3de656=_0x3de656[0x0],await MetaUiUtil['gristButtonValueReference'](_0x3840ad,_0x39ab92,_0x3de656));}}}else _0x3840ad['fetch']();}}static async[a0_0x41aca5(0x1e0)](_0x406ac2,_0x44b960,_0x255705){const _0x501cdb=a0_0x41aca5;for(let _0x41d37c=0x0;_0x41d37c<_0x44b960['relation']['length'];_0x41d37c++){let _0x1174c9=_0x44b960[_0x501cdb(0x29f)][_0x41d37c];!0x0===ValueUtil[_0x501cdb(0x2a3)](_0x1174c9,_0x255705,Object['keys'](_0x1174c9)['filter'](_0x3394f8=>_0x501cdb(0x157)!=_0x3394f8))&&await MetaUiUtil[_0x501cdb(0x15a)](_0x406ac2,_0x1174c9,_0x255705);}}static['getGristHiddenColumnConfig'](_0x5b79f3,_0xab0ba3){return{'type':_0x5b79f3,'name':_0xab0ba3,'sortable':!0x1,'hidden':!0x0};}static[a0_0x41aca5(0x1a5)](_0x129746,_0x3fdc46,_0x297feb,_0x1a9b9b,_0x3c8214,_0x55d36b){const _0x501ae6=a0_0x41aca5;let _0x57e4fa=TermsUtil[_0x501ae6(0x278)](_0x3fdc46);return{'type':_0x129746,'name':_0x3fdc46,'header':_0x57e4fa,'record':{'align':_0x297feb,'editable':_0x1a9b9b},'sortable':_0x3c8214,'width':_0x55d36b,'imex':{'width':Math[_0x501ae6(0x286)](_0x55d36b/0x6),'header':_0x57e4fa,'type':_0x129746,'key':_0x3fdc46}};}static[a0_0x41aca5(0x213)](_0x3927bf,_0x555355,_0x531a81,_0x740742,_0xbac789,_0x2c2779,_0x197d4f){const _0x2ffbf4=a0_0x41aca5;let _0x45d71c=TermsUtil[_0x2ffbf4(0x278)](_0x531a81);return{'type':_0x3927bf,'name':_0x555355,'header':_0x45d71c,'record':{'align':_0x740742,'editable':_0xbac789},'sortable':_0x2c2779,'width':_0x197d4f,'imex':{'width':Math[_0x2ffbf4(0x286)](_0x197d4f/0x6),'header':_0x45d71c,'type':_0x3927bf,'key':_0x555355}};}static['getGristColumnConfig3'](_0x31589d,_0x2f8a44,_0x2c7d08,_0x28288d,_0x50ac8a,_0x15554c,_0x41e3fb,_0x331390){const _0x111ebc=a0_0x41aca5;let _0x5c3093=TermsUtil[_0x111ebc(0x278)](_0x2c7d08);return{'type':_0x31589d,'name':_0x2f8a44,'header':_0x5c3093,'record':{'align':_0x28288d,'editable':_0x50ac8a,'mandatory':_0x41e3fb},'sortable':_0x15554c,'width':_0x331390,'imex':{'width':Math[_0x111ebc(0x286)](_0x331390/0x6),'header':_0x5c3093,'type':_0x31589d,'key':_0x2f8a44}};}static[a0_0x41aca5(0x19e)](_0x1b3151,_0x8afd54,_0x3dc37a,_0x10621b,_0x514d2e,_0x25fb4b,_0x1dea8b){const _0x43e8cb=a0_0x41aca5;let _0x334e31=TermsUtil[_0x43e8cb(0x278)](_0x8afd54);return{'type':_0x43e8cb(0x2a7),'name':_0x1b3151,'header':_0x334e31,'record':{'align':_0x3dc37a,'editable':!0x0,'mandatory':_0x25fb4b,'options':_0x1dea8b},'sortable':_0x10621b,'width':_0x514d2e,'imex':{'width':Math[_0x43e8cb(0x286)](_0x514d2e/0x6),'header':_0x334e31,'type':_0x43e8cb(0x1bc),'key':_0x1b3151}};}static async['getGristCodeSelectorColumnConfig'](_0x1b75b0,_0x5c928c,_0xb8fdfb,_0x45a77c,_0xbaa681,_0x346f77,_0xf2a13e){const _0x1ce07d=a0_0x41aca5;let _0x5107d0=await ServiceUtil[_0x1ce07d(0x1b6)](_0xf2a13e);return MetaUiUtil['getGristSelectorColumnConfig'](_0x1b75b0,_0x5c928c,_0xb8fdfb,_0x45a77c,_0xbaa681,_0x346f77,_0x5107d0);}static['getGristSearchColumnConfig'](_0x15cd8a,_0x585ed6,_0xac92b,_0x20d162,_0xade1d8){const _0x9bf979=a0_0x41aca5;let _0x51870d=TermsUtil[_0x9bf979(0x278)](_0xac92b),_0x357c7a={'name':_0x15cd8a,'type':_0x585ed6,'label':_0x51870d,'operator':_0x20d162,'imex':{'width':0x10,'header':_0x51870d,'type':_0x585ed6,'key':_0x15cd8a}};return _0xade1d8&&(_0x357c7a[_0x9bf979(0x264)]=_0xade1d8),_0x357c7a;}static async[a0_0x41aca5(0x27c)](_0x181c2c,_0x4b00ef,_0xb0dab1,_0x13fec7,_0x4ec928){const _0x46b9f6=a0_0x41aca5;let _0x270943=await ServiceUtil[_0x46b9f6(0x1b6)](_0x4ec928);return MetaUiUtil['getGristSearchColumnConfig'](_0x181c2c,_0x4b00ef,_0xb0dab1,_0x13fec7,_0x270943);}static['getCustomButtonContainerStyles'](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0x132bf4(0x1aa)])return;let _0xf3728b=[{'name':_0x132bf4(0x281),'operator':'eq','value':_0xe4bb}];return await ServiceUtil[_0x132bf4(0x199)]('menus',_0xf3728b,null,0x0,0x0,_0x132bf4(0x14d));}static async[a0_0x52ffe6(0x236)](_0x43b294,_0x500804){const _0x52884f=a0_0x52ffe6;let _0xf948a6,_0x3a9fec=await MetaUiUtil[_0x52884f(0x263)](_0x500804);if(_0x3a9fec&&_0x3a9fec[_0x52884f(0x24e)]&&0x0!=_0x3a9fec[_0x52884f(0x24e)][_0x52884f(0x246)]?(_0xf948a6=_0x3a9fec[_0x52884f(0x24e)][0x0],!_0xf948a6[_0x52884f(0x1a9)]&&_0x43b294[_0x52884f(0x1e2)]&&(_0xf948a6[_0x52884f(0x1a9)]=_0x43b294[_0x52884f(0x1e2)])):_0x43b294[_0x52884f(0x1e2)]&&(_0xf948a6={'id':_0x500804,'template':_0x43b294['defaultPageConfig']}),!_0xf948a6)throw new Error(TermsUtil[_0x52884f(0x1cf)]('value_is_not_exist',{'value':TermsUtil[_0x52884f(0x211)](_0x52884f(0x259))+'\x20'+_0x500804}));if(!_0xf948a6[_0x52884f(0x1a9)])throw new Error(TermsUtil[_0x52884f(0x1cf)](_0x52884f(0x253),{'value':TermsUtil[_0x52884f(0x211)]('menu')+'\x20'+TermsUtil[_0x52884f(0x1b5)]('model')}));return this['menuId']=_0xf948a6['id'],JSON['parse'](MetaCrypto[_0x52884f(0x1d3)](_0xf948a6[_0x52884f(0x1a9)]));}static[a0_0x52ffe6(0x167)](){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':_0x66359b=>Boolean(_0x66359b)},'is_popup':{'type':Boolean,'converter':_0x37018c=>Boolean(_0x37018c)},'is_activity':{'type':Boolean,'converter':_0x1e147c=>Boolean(_0x1e147c)},'is_readonly':{'type':Boolean,'converter':_0x37aaf0=>Boolean(_0x37aaf0)}};}static async[a0_0x52ffe6(0x139)](_0x4b1117){const _0x169a87=a0_0x52ffe6;if(0x0==store['getState']()['metaUI'][_0x169a87(0x1e8)])return void document[_0x169a87(0x1cc)](new CustomEvent('notify',{'detail':{'level':'error','message':TermsUtil[_0x169a87(0x142)](_0x169a87(0x26a))}}));let _0x5d9e43=_0x4b1117[_0x169a87(0x21c)]?UiUtil['currentRouting']():_0x4b1117['route_name'];_0x4b1117[_0x169a87(0x25d)]=_0x5d9e43;let _0x16d8c4=await MetaUiUtil[_0x169a87(0x236)](_0x4b1117,_0x5d9e43);return!0x0===_0x4b1117[_0x169a87(0x24b)]&&(_0x16d8c4[_0x169a87(0x219)][_0x169a87(0x1b2)][_0x169a87(0x1de)]=!0x1,_0x16d8c4[_0x169a87(0x219)][_0x169a87(0x1b2)][_0x169a87(0x13f)]=_0x169a87(0x240),_0x16d8c4[_0x169a87(0x219)][_0x169a87(0x216)]=!0x1,_0x16d8c4[_0x169a87(0x219)]['button']=[],_0x16d8c4[_0x169a87(0x278)]=_0x16d8c4[_0x169a87(0x278)][_0x169a87(0x1b8)](_0x887315=>'add'==_0x887315['name'])),!0x0===_0x4b1117[_0x169a87(0x129)]&&(_0x16d8c4[_0x169a87(0x1a6)][_0x169a87(0x147)](_0x403e69=>{const _0x4d7ca5=_0x169a87;_0x403e69[_0x4d7ca5(0x15b)]=!0x1;}),_0x16d8c4[_0x169a87(0x278)]=_0x16d8c4[_0x169a87(0x278)][_0x169a87(0x1b8)](_0x59efdf=>_0x169a87(0x1c6)!=_0x59efdf[_0x169a87(0x153)])),!0x1===_0x4b1117[_0x169a87(0x216)]&&(_0x16d8c4[_0x169a87(0x219)][_0x169a87(0x216)]=!0x1),_0x16d8c4[_0x169a87(0x1a6)][_0x169a87(0x1b8)](_0x55de33=>_0x55de33[_0x169a87(0x1bc)])[_0x169a87(0x147)](_0x32ecd3=>{const _0x1098aa=_0x169a87;_0x4b1117[_0x1098aa(0x1b0)]||(_0x4b1117[_0x1098aa(0x1b0)]={}),_0x4b1117[_0x1098aa(0x1b0)][_0x32ecd3[_0x1098aa(0x153)]]=_0x32ecd3[_0x1098aa(0x1bc)];}),_0x16d8c4['grid_column']['forEach'](_0x9f076c=>{const _0x4220da=_0x169a87;[_0x4220da(0x178),'object']['includes'](_0x9f076c['type'])?_0x9f076c[_0x4220da(0x122)]=_0x4220da(0x15e):['resource-code-selector']['includes'](_0x9f076c[_0x4220da(0x122)])&&(_0x9f076c[_0x4220da(0x122)]=_0x4220da(0x16a));}),_0x16d8c4;}static[a0_0x52ffe6(0x174)](..._0x24f8b8){return{'pages':_0x24f8b8};}static[a0_0x52ffe6(0x20b)](_0x5e5d4d,_0x4cbb28){const _0x1a2504=a0_0x52ffe6;let _0x2d8bce=[{'type':'gutter','gutterName':'dirty'},{'type':'gutter','gutterName':_0x1a2504(0x266)}];return _0x5e5d4d&&_0x2d8bce[_0x1a2504(0x280)]({'type':'gutter','gutterName':_0x1a2504(0x132),'multiple':_0x4cbb28}),_0x2d8bce;}static[a0_0x52ffe6(0x134)](_0x5a5643){return{'selectable':{'multiple':_0x5a5643}};}static async[a0_0x52ffe6(0x26d)](_0x38a44e){const _0x153b89=a0_0x52ffe6;_0x38a44e[_0x153b89(0x18c)]||(_0x38a44e['gqlInfo']={}),_0x38a44e[_0x153b89(0x18c)][_0x153b89(0x27e)]||(_0x38a44e[_0x153b89(0x18c)][_0x153b89(0x27e)]={}),_0x38a44e['gqlInfo'][_0x153b89(0x27e)][_0x153b89(0x264)]||(_0x38a44e[_0x153b89(0x18c)]['query'][_0x153b89(0x264)]={}),_0x38a44e[_0x153b89(0x18c)][_0x153b89(0x227)]||(_0x38a44e[_0x153b89(0x18c)][_0x153b89(0x227)]={}),_0x38a44e[_0x153b89(0x18c)][_0x153b89(0x227)]['multiple']||(_0x38a44e['gqlInfo'][_0x153b89(0x227)][_0x153b89(0x188)]={}),_0x38a44e[_0x153b89(0x18c)][_0x153b89(0x227)]['multiple'][_0x153b89(0x1ab)]||(_0x38a44e[_0x153b89(0x18c)][_0x153b89(0x227)][_0x153b89(0x188)][_0x153b89(0x1ab)]=[]);let _0x585101=MetaUiUtil[_0x153b89(0x25b)](_0x38a44e),_0x276061=MetaUiUtil[_0x153b89(0x126)](_0x38a44e),_0x3cef28=MetaUiUtil[_0x153b89(0x15d)](_0x38a44e),_0x49b4b0=MetaUiUtil[_0x153b89(0x262)](_0x38a44e),_0x5bbcd4=await MetaUiUtil[_0x153b89(0x1e3)](_0x38a44e);_0x5bbcd4['filter'](_0x5cacd4=>[_0x153b89(0x15e)][_0x153b89(0x18e)](_0x5cacd4[_0x153b89(0x122)]))['forEach'](_0x5f1020=>{const _0x3d7cf2=_0x153b89;_0x38a44e['searchConfig'][_0x3d7cf2(0x1b8)](_0x8aa760=>_0x8aa760[_0x3d7cf2(0x153)]==_0x5f1020[_0x3d7cf2(0x153)])[_0x3d7cf2(0x147)](_0x100419=>{const _0x2b522e=_0x3d7cf2,_0x4384fb=_0x5f1020[_0x2b522e(0x11f)]['options'],_0x5c91cb=_0x4384fb[_0x2b522e(0x1fa)]?_0x4384fb[_0x2b522e(0x1fa)]:_0x5f1020[_0x2b522e(0x153)]+'Id',_0x5b27bb=_0x38a44e['searchConfig'][_0x2b522e(0x1d7)](_0x1132e2=>_0x1132e2[_0x2b522e(0x153)]==_0x5f1020['name']);_0x5bbcd4[_0x2b522e(0x280)]({'type':_0x2b522e(0x15e),'header':_0x5f1020[_0x2b522e(0x1e4)],'name':_0x5c91cb,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x4384fb}}),_0x38a44e[_0x2b522e(0x18c)]['query'][_0x2b522e(0x264)][_0x5c91cb]='x',_0x38a44e[_0x2b522e(0x18c)][_0x2b522e(0x227)][_0x2b522e(0x188)][_0x2b522e(0x1ab)][_0x2b522e(0x280)](_0x5c91cb),_0x38a44e[_0x2b522e(0x21e)][_0x5b27bb][_0x2b522e(0x153)]=_0x5c91cb,_0x38a44e[_0x2b522e(0x21e)][_0x5b27bb]['type']=_0x2b522e(0x15e);});});let _0x36600b=MetaUiUtil['getGristGuttersConfig'](_0x585101['use_row_checker'],_0x3cef28[_0x153b89(0x18f)][_0x153b89(0x188)]);return 0x1==_0x38a44e[_0x153b89(0x133)]&&(_0x5bbcd4=MetaUiUtil[_0x153b89(0x190)](_0x38a44e,_0x5bbcd4)),{'list':_0x276061,'pagination':_0x585101[_0x153b89(0x13f)],'sorters':_0x585101[_0x153b89(0x1c5)],'rows':_0x3cef28,'columns':[..._0x36600b,..._0x49b4b0,..._0x5bbcd4]};}static async[a0_0x52ffe6(0x170)](_0x337d34){const _0x25ea54=a0_0x52ffe6;let _0x4e727f=_0x337d34[_0x25ea54(0x14e)],_0x4d8d6a=[];for(let _0x1b02a6=0x0;_0x1b02a6<_0x4e727f[_0x25ea54(0x246)];_0x1b02a6++){let {type:_0x4ed290='string',name:_0x4932c2,header:_0x5776f1,hidden:_0x44403e=!0x1,editable:_0x16079c=!0x0,mandatory:_0x3cbafc=!0x1,align:_0x23b964=_0x25ea54(0x273),select_opt:_0x125fa8,object_opt:_0x26605d}=_0x4e727f[_0x1b02a6],_0x2df2eb={'type':_0x4ed290,'name':_0x4932c2,'header_txt':ValueUtil[_0x25ea54(0x1c9)](_0x5776f1)?TermsUtil[_0x25ea54(0x1b5)](_0x4932c2):TermsUtil[_0x25ea54(0x1b5)](_0x5776f1),'header':{'renderer':function(_0x55ce73){const _0xdb8f0d=_0x25ea54;return _0x55ce73[_0xdb8f0d(0x20a)];}},'hidden':_0x44403e,'record':{'editable':_0x16079c,'mandatory':_0x3cbafc,'align':_0x23b964,'classifier':function(){},'renderer':getRenderer(_0x4ed290)}};_0x16079c&&(_0x2df2eb[_0x25ea54(0x11f)][_0x25ea54(0x1ca)]=getEditor(_0x4ed290)),_0x4ed290[_0x25ea54(0x27a)](_0x25ea54(0x16f))&&_0x26605d&&_0x26605d['menu']&&(_0x26605d=await MetaUiUtil[_0x25ea54(0x25c)](_0x4ed290,_0x26605d)),_0x25ea54(0x1fc)===_0x4ed290&&ValueUtil['isNotEmpty'](_0x125fa8)&&(Array[_0x25ea54(0x23d)](_0x125fa8)?_0x2df2eb[_0x25ea54(0x11f)]['options']=_0x125fa8:_0x25ea54(0x17e)===_0x125fa8['type']?_0x2df2eb[_0x25ea54(0x11f)][_0x25ea54(0x11e)]=await ServiceUtil[_0x25ea54(0x1eb)](_0x125fa8['values']?_0x125fa8[_0x25ea54(0x1a8)]:_0x125fa8[_0x25ea54(0x153)]):_0x25ea54(0x18d)===_0x125fa8[_0x25ea54(0x122)]?_0x2df2eb[_0x25ea54(0x11f)]['options']=await ServiceUtil[_0x25ea54(0x166)](_0x125fa8['name'],_0x125fa8[_0x25ea54(0x17f)]):_0x25ea54(0x279)===_0x125fa8[_0x25ea54(0x122)]&&(_0x2df2eb[_0x25ea54(0x11f)][_0x25ea54(0x11e)]=await ServiceUtil['getCodeByEntity'](_0x125fa8[_0x25ea54(0x17f)]))),_0x25ea54(0x15e)===_0x4ed290&&ValueUtil[_0x25ea54(0x15f)](_0x26605d)?_0x2df2eb[_0x25ea54(0x11f)][_0x25ea54(0x11e)]={..._0x26605d}:_0x25ea54(0x16a)===_0x4ed290&&ValueUtil['isNotEmpty'](_0x26605d)&&(_0x26605d[_0x25ea54(0x244)]&&(_0x26605d[_0x25ea54(0x248)]=await ServiceUtil[_0x25ea54(0x192)](_0x26605d)),_0x2df2eb[_0x25ea54(0x11f)][_0x25ea54(0x11e)]={..._0x26605d}),_0x4d8d6a[_0x25ea54(0x280)](_0x2df2eb);}return _0x4d8d6a;}static[a0_0x52ffe6(0x25b)](_0x178001){const _0x54f780=a0_0x52ffe6;let _0x1ec0c9=_0x178001['gridConfig'];_0x178001['useFilterForm']=!_0x1ec0c9||null==_0x1ec0c9[_0x54f780(0x216)]||_0x1ec0c9[_0x54f780(0x216)];let {mobile_mode:_0x316193='LIST',desk_mode:_0x207ee1=_0x54f780(0x19a),view_mode:_0x4b0b7=[],use_row_checker:_0x562f25=!0x0,sorters:_0x2842ae=[],pages:_0x46016f=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x54f780(0x1c9)](_0x1ec0c9['option'])?{}:_0x1ec0c9[_0x54f780(0x1b2)];return _0x54f780(0x240)===_0x46016f||'-1'===_0x46016f?(_0x178001[_0x54f780(0x125)]=!0x0,_0x46016f={'infinite':!0x0}):(_0x178001['infinityPage']=!0x1,_0x46016f[_0x54f780(0x160)](function(_0x162197,_0x908271){return _0x162197-_0x908271;}),_0x46016f={'pages':_0x46016f}),ValueUtil['isNotEmpty'](_0x4b0b7)&&(0x1==_0x4b0b7[_0x54f780(0x246)]?(_0x207ee1=_0x4b0b7[0x0],_0x316193=_0x4b0b7[0x0]):_0x4b0b7['length']>=0x2&&(_0x4b0b7[_0x54f780(0x18e)](_0x316193)||(_0x316193=_0x4b0b7[0x1]),_0x4b0b7['includes'](_0x207ee1)||(_0x207ee1=_0x4b0b7[0x0]))),_0x178001[_0x54f780(0x1ce)]=_0x316193,_0x178001['gridDeskMode']=_0x207ee1,_0x178001[_0x54f780(0x181)]=_0x4b0b7,_0x178001[_0x54f780(0x1d8)]=UiUtil[_0x54f780(0x238)]()?_0x178001[_0x54f780(0x1ce)]:_0x178001['gridDeskMode'],{'use_row_checker':_0x562f25,'sorters':_0x2842ae,'pages':_0x46016f};}static[a0_0x52ffe6(0x126)](_0x257131){const _0x2dbd34=a0_0x52ffe6;let _0x2eae76={'fields':[ValueUtil[_0x2dbd34(0x19e)](_0x257131[_0x2dbd34(0x151)],_0x2dbd34(0x153)),ValueUtil[_0x2dbd34(0x19e)](_0x257131[_0x2dbd34(0x151)],_0x2dbd34(0x1e7))]};return _0x257131[_0x2dbd34(0x22d)][_0x2dbd34(0x21f)]&&Object['assign'](_0x2eae76,_0x257131[_0x2dbd34(0x22d)][_0x2dbd34(0x21f)]),_0x2eae76;}static[a0_0x52ffe6(0x15d)](_0x29b8e8){const _0x34eace=a0_0x52ffe6;let {multiple_select:_0x333c5=!0x1,click:_0x5973e8}=ValueUtil['isEmpty'](_0x29b8e8[_0x34eace(0x22d)]['row'])?{}:_0x29b8e8[_0x34eace(0x22d)]['row'],_0x1b95cf={'selectable':{'multiple':_0x333c5},'appendable':_0x29b8e8[_0x34eace(0x1bb)]};return ValueUtil[_0x34eace(0x15f)](_0x5973e8)&&(_0x1b95cf[_0x34eace(0x1c2)]={'click':_0x5973e8}),_0x1b95cf;}static[a0_0x52ffe6(0x262)](_0xe21d31){const _0x5c67d0=a0_0x52ffe6;let _0x4532ba=_0xe21d31[_0x5c67d0(0x22d)][_0x5c67d0(0x278)];return ValueUtil[_0x5c67d0(0x1c9)](_0x4532ba)?[]:_0x4532ba[_0x5c67d0(0x13c)](_0x5e1de9=>{const _0x593078=_0x5c67d0;let _0x2d4246={'type':_0x593078(0x218),'gutterName':_0x593078(0x278)};if(ValueUtil['isNotEmpty'](_0x5e1de9[_0x593078(0x27b)])&&(Array[_0x593078(0x23d)](_0x5e1de9['icon'])?_0x2d4246[_0x593078(0x27b)]=_0xb3f66c=>{const _0x17b900=_0x593078;if(ValueUtil[_0x17b900(0x15f)](_0xb3f66c))for(let _0x403050=0x0;_0x403050<_0x5e1de9['icon'][_0x17b900(0x246)];_0x403050++){let _0x3ca4b1=_0x5e1de9[_0x17b900(0x27b)][_0x403050];if(!0x0===ValueUtil[_0x17b900(0x1f5)](_0x3ca4b1,_0xb3f66c,Object[_0x17b900(0x159)](_0x3ca4b1)[_0x17b900(0x1b8)](_0x9fa917=>_0x17b900(0x27b)!=_0x9fa917)))return _0x3ca4b1[_0x17b900(0x27b)];}}:_0x2d4246[_0x593078(0x27b)]=_0x5e1de9['icon']),ValueUtil[_0x593078(0x15f)](_0x5e1de9['name'])&&(_0x2d4246[_0x593078(0x153)]=_0x5e1de9[_0x593078(0x153)]),ValueUtil['isNotEmpty'](_0x5e1de9[_0x593078(0x177)])&&(_0x2d4246[_0x593078(0x22c)]=TermsUtil[_0x593078(0x194)](_0x5e1de9[_0x593078(0x177)])),'basic'===_0x5e1de9['type']){let _0x1d9d0a=ValueUtil[_0x593078(0x19e)](_0x5e1de9,_0x593078(0x130));[_0x593078(0x26b),_0x593078(0x148)][_0x593078(0x18e)](_0x1d9d0a)?_0x2d4246[_0x593078(0x1c2)]={'click':(_0x57ca13,_0x3b56d7,_0x2d11b8,_0x1e0d97,_0x9eb5aa)=>{const _0x478ae8=_0x593078;if(_0x1e0d97['id']){let _0x43477c={'title':_0x478ae8(0x1ef),'type':_0x478ae8(0x268),'tagname':_0x478ae8(0x26b)==_0x1d9d0a?_0x478ae8(0x272):_0x478ae8(0x184),'location':_0x478ae8(0x26b)==_0x1d9d0a?_0x478ae8(0x1a3):'pages/hgistory/history-json-list-popup.js','menu':_0xe21d31[_0x478ae8(0x25d)],'size':_0x478ae8(0x1f0),'popup_field':'open_param','parent_field':'id'},_0x30e923={..._0x1e0d97,'gqlFunc':ValueUtil['getParams'](_0xe21d31[_0x478ae8(0x18c)],_0x478ae8(0x27e),_0x478ae8(0x196)),'gristConfig':JSON[_0x478ae8(0x282)](JSON[_0x478ae8(0x257)](_0xe21d31['grist'][_0x478ae8(0x24c)]))};MetaUiUtil[_0x478ae8(0x1b6)](_0xe21d31,{'logic':_0x43477c},_0x30e923);}}}:_0x2d4246['handlers']={'click':_0x1d9d0a};}else _0x2d4246['handlers']={'click':(_0x9d933c,_0x3b8d9d,_0x5074ca,_0x3a34ff,_0x49f65c)=>{const _0x1cd6db=_0x593078;_0x3a34ff['id']&&MetaUiUtil[_0x1cd6db(0x1b6)](_0xe21d31,_0x5e1de9,_0x3a34ff);}};return _0x2d4246;});}static async[a0_0x52ffe6(0x1e3)](_0x382364){const _0x25e772=a0_0x52ffe6;let _0x173235=_0x382364[_0x25e772(0x1be)];if(ValueUtil['isEmpty'](_0x173235))return[];let _0xd66661=[];for(let _0x1adb6a=0x0;_0x1adb6a<_0x173235[_0x25e772(0x246)];_0x1adb6a++){let {type:_0x54cd73=_0x25e772(0x1a5),name:_0x352d93,header:_0x1f830d,hidden:_0x191bf7=!0x1,editable:_0x1fcef8=!0x0,mandatory:_0xc50879=!0x1,sortable:_0x2a7157=!0x1,align:_0x1349ba=_0x25e772(0x273),width:_0x30da0f=0x0,exportable:_0x2a7d73=!0x1,select_opt:_0x279d7d,object_opt:_0x53a88b,format:_0x187b8c}=_0x173235[_0x1adb6a],_0x413efa={'type':_0x54cd73,'name':_0x352d93,'header':ValueUtil[_0x25e772(0x1c9)](_0x1f830d)?'':TermsUtil[_0x25e772(0x1b5)](_0x1f830d),'hidden':_0x191bf7,'sortable':_0x2a7157,'width':_0x30da0f,'record':{'editable':_0x1fcef8,'mandatory':_0xc50879,'align':_0x1349ba,'format':_0x187b8c}};if(_0x54cd73[_0x25e772(0x27a)](_0x25e772(0x16f))&&_0x53a88b&&_0x53a88b[_0x25e772(0x259)]&&(_0x53a88b=await MetaUiUtil[_0x25e772(0x25c)](_0x54cd73,_0x53a88b)),_0x25e772(0x1fc)===_0x54cd73&&ValueUtil[_0x25e772(0x15f)](_0x279d7d)&&(Array['isArray'](_0x279d7d)?_0x413efa[_0x25e772(0x11f)][_0x25e772(0x11e)]=_0x279d7d:_0x25e772(0x17e)===_0x279d7d['type']?_0x413efa[_0x25e772(0x11f)][_0x25e772(0x11e)]=await ServiceUtil[_0x25e772(0x1eb)](_0x279d7d[_0x25e772(0x1a8)]?_0x279d7d[_0x25e772(0x1a8)]:_0x279d7d['name']):_0x25e772(0x18d)===_0x279d7d[_0x25e772(0x122)]?_0x413efa[_0x25e772(0x11f)]['options']=await ServiceUtil[_0x25e772(0x166)](_0x279d7d[_0x25e772(0x153)],_0x279d7d[_0x25e772(0x17f)]):_0x25e772(0x279)===_0x279d7d[_0x25e772(0x122)]&&(_0x413efa[_0x25e772(0x11f)][_0x25e772(0x11e)]=await ServiceUtil[_0x25e772(0x192)](_0x279d7d['args']))),'meta-object-selector'===_0x54cd73&&ValueUtil['isNotEmpty'](_0x53a88b)){let _0x396f5c;_0x413efa[_0x25e772(0x11f)][_0x25e772(0x11e)]={..._0x53a88b},_0x53a88b[_0x25e772(0x210)]&&_0x53a88b[_0x25e772(0x210)][_0x25e772(0x23f)]&&(_0x396f5c=[..._0x53a88b[_0x25e772(0x210)][_0x25e772(0x23f)]]),_0x396f5c&&JSON['stringify'](_0x396f5c)[_0x25e772(0x18e)]('::')&&(_0x413efa['handlers']={'dblclick':(_0x377e64,_0x23a45a,_0x27fd87,_0x32aef2,_0xa36f05)=>{const _0x3eff3a=_0x25e772;let _0x470ef4=[];_0x396f5c['forEach'](_0x4c7af9=>{const _0x2d9d33=a0_0x43eb;var {name:_0x3e7507,value:_0x366f81,operator:_0xb3615f='eq'}=_0x4c7af9;_0x366f81[_0x2d9d33(0x18e)]('::')&&(_0x366f81=ValueUtil[_0x2d9d33(0x19e)](_0x32aef2,..._0x366f81[_0x2d9d33(0x17c)]('::','')[_0x2d9d33(0x172)]('.'))),_0x366f81||(_0x366f81=''),_0x470ef4[_0x2d9d33(0x280)]({'name':_0x3e7507,'operator':_0xb3615f,'value':_0x366f81});}),_0x27fd87[_0x3eff3a(0x11f)][_0x3eff3a(0x11e)][_0x3eff3a(0x210)][_0x3eff3a(0x23f)]=_0x470ef4;}});}else _0x25e772(0x16a)===_0x54cd73&&ValueUtil[_0x25e772(0x15f)](_0x53a88b)&&(_0x53a88b['dispField']&&(_0x53a88b[_0x25e772(0x248)]=await ServiceUtil[_0x25e772(0x192)](_0x53a88b)),_0x413efa[_0x25e772(0x11f)][_0x25e772(0x11e)]={..._0x53a88b});!0x0===_0x382364[_0x25e772(0x1a0)]&&!0x0===_0x2a7d73&&(_0x413efa[_0x25e772(0x1fb)]={'header':_0x413efa[_0x25e772(0x1e4)],'key':_0x413efa[_0x25e772(0x153)],'width':_0x413efa[_0x25e772(0x25a)]/0x6,'type':_0x413efa[_0x25e772(0x122)]}),_0xd66661[_0x25e772(0x280)](_0x413efa);}if(!0x0!==this[_0x25e772(0x24b)])return _0xd66661;let _0xbb5736=await MetaApi[_0x25e772(0x233)](this[_0x25e772(0x254)]),{template:_0x1c07fa={}}=_0xbb5736;if(!_0x1c07fa[_0x25e772(0x274)])return _0xd66661;let _0x97b674=_0x1c07fa[_0x25e772(0x274)];return _0xd66661=_0xd66661[_0x25e772(0x13c)](_0x342e0b=>('id'==_0x342e0b['name']||(_0x342e0b[_0x25e772(0x127)]=!_0x97b674[_0x25e772(0x18e)](_0x342e0b[_0x25e772(0x153)]),_0x342e0b[_0x25e772(0x271)]=_0x97b674[_0x25e772(0x1ac)](_0x342e0b[_0x25e772(0x153)]),-0x1==_0x342e0b[_0x25e772(0x271)]&&(_0x342e0b['rank']=0x1869f)),_0x342e0b)),_0xd66661[_0x25e772(0x160)]((_0xaee89d,_0x35944d)=>_0xaee89d[_0x25e772(0x271)]-_0x35944d[_0x25e772(0x271)]),_0xd66661;}static async['getGristMetaObjectOptions'](_0x233c88,_0x30824f){const _0x55ba3f=a0_0x52ffe6;let _0x77a295=await MetaUiUtil[_0x55ba3f(0x263)](_0x30824f[_0x55ba3f(0x259)]);if(_0x77a295&&_0x77a295[_0x55ba3f(0x24e)]&&_0x77a295[_0x55ba3f(0x24e)][_0x55ba3f(0x246)]>0x0&&_0x77a295['records'][0x0][_0x55ba3f(0x1a9)]){let _0x41df67=_0x77a295[_0x55ba3f(0x24e)][0x0],_0x40b578=JSON[_0x55ba3f(0x282)](MetaCrypto[_0x55ba3f(0x1d3)](_0x41df67[_0x55ba3f(0x1a9)]));_0x30824f[_0x55ba3f(0x154)]||(_0x30824f[_0x55ba3f(0x154)]=_0x40b578[_0x55ba3f(0x1ec)][_0x55ba3f(0x27e)][_0x55ba3f(0x245)]),_0x30824f[_0x55ba3f(0x1fc)]||(_0x30824f[_0x55ba3f(0x1fc)]=_0x40b578[_0x55ba3f(0x1a6)]),_0x30824f['filterFields']&&0x0!=_0x30824f['filterFields'][_0x55ba3f(0x246)]||(_0x30824f[_0x55ba3f(0x1e0)]=_0x40b578['search']),_0x30824f['selectorName']||(_0x30824f[_0x55ba3f(0x185)]=_0x40b578[_0x55ba3f(0x259)]['title']),_0x30824f[_0x55ba3f(0x23f)]||(_0x30824f['filters']=_0x40b578[_0x55ba3f(0x1ec)]['query']['filters']||[]),_0x233c88['includes']('-object-')?_0x30824f['nameField']||(_0x30824f[_0x55ba3f(0x209)]=_0x40b578['menu'][_0x55ba3f(0x153)]||_0x55ba3f(0x153)):_0x233c88[_0x55ba3f(0x18e)](_0x55ba3f(0x22e))&&(_0x30824f['codeField']||(_0x30824f[_0x55ba3f(0x123)]=_0x40b578[_0x55ba3f(0x259)][_0x55ba3f(0x153)]||_0x55ba3f(0x17e)),_0x30824f[_0x55ba3f(0x244)]||(_0x30824f[_0x55ba3f(0x244)]=_0x40b578[_0x55ba3f(0x259)][_0x55ba3f(0x1e7)]||void 0x0));}return _0x30824f;}static[a0_0x52ffe6(0x190)](_0x2663be,_0x32ede0){const _0x1e32b6=a0_0x52ffe6;let _0x193876=_0x2663be[_0x1e32b6(0x21e)];return _0x193876&&_0x193876[_0x1e32b6(0x147)](_0x3399a5=>{const _0x3000f3=_0x1e32b6;'string'==typeof _0x3399a5?_0x32ede0[_0x3000f3(0x1b8)](_0x2e2903=>_0x2e2903['name']==_0x3399a5)[_0x3000f3(0x147)](_0x32b88b=>{const _0x1ec0df=_0x3000f3;_0x32b88b['filter']=_0x1ec0df(0x145);}):'object'==typeof _0x3399a5&&_0x32ede0[_0x3000f3(0x1b8)](_0x2bd509=>_0x2bd509[_0x3000f3(0x153)]==_0x3399a5[_0x3000f3(0x153)])['forEach'](_0x4fc103=>{const _0x447a78=_0x3000f3;_0x4fc103['filter']=_0x3399a5,_0x4fc103[_0x447a78(0x1b8)][_0x447a78(0x122)]=_0x447a78(0x19c)===_0x4fc103[_0x447a78(0x122)]&&'eq'==_0x3399a5[_0x447a78(0x22b)]?'datetime-local':_0x4fc103[_0x447a78(0x122)];let _0x534a6d=_0x4fc103[_0x447a78(0x1b8)][_0x447a78(0x213)],_0x26714d=[_0x447a78(0x207),'year','month','date',_0x447a78(0x226),_0x447a78(0x221),_0x447a78(0x180)];if(_0x534a6d&&_0x26714d[_0x447a78(0x1b8)](_0x48e2bf=>_0x534a6d['startsWith'](_0x48e2bf))[_0x447a78(0x246)]>0x0){let _0x29a178=[],_0x4dd940={'date':_0x447a78(0x204),'datetime':_0x447a78(0x191)},_0x4f4c71={'today':_0x447a78(0x120),'year':_0x447a78(0x193),'month':_0x447a78(0x168),'date':_0x447a78(0x120),'hour':_0x447a78(0x226),'min':_0x447a78(0x23e),'sec':'second'};_0x534a6d[_0x447a78(0x172)](',')[_0x447a78(0x147)](_0x8b250e=>{const _0x3587d4=_0x447a78,_0x9d93ba=a0_0x366e03();if(_0x26714d[_0x3587d4(0x18e)](_0x8b250e))_0x29a178['push'](_0x9d93ba[_0x3587d4(0x1d1)](_0x4f4c71[_0x8b250e])['format'](_0x4dd940[_0x4fc103[_0x3587d4(0x122)]]));else{if(_0x8b250e['includes']('-')){let _0x26dc8c=_0x8b250e[_0x3587d4(0x172)]('-'),_0x1c2034=_0x26dc8c[0x0],_0x55b35f=_0x26dc8c[0x1];_0x29a178['push'](_0x9d93ba['subtract'](_0x55b35f,_0x4f4c71[_0x1c2034])['startOf'](_0x4f4c71[_0x1c2034])[_0x3587d4(0x15a)](_0x4dd940[_0x4fc103[_0x3587d4(0x122)]]));}else{if(_0x8b250e[_0x3587d4(0x18e)]('+')){let _0x155983=_0x8b250e[_0x3587d4(0x172)]('+'),_0x4fe4c2=_0x155983[0x0],_0x28ae35=_0x155983[0x1];_0x29a178['push'](_0x9d93ba[_0x3587d4(0x1c6)](_0x28ae35,_0x4f4c71[_0x4fe4c2])[_0x3587d4(0x1d1)](_0x4f4c71[_0x4fe4c2])[_0x3587d4(0x15a)](_0x4dd940[_0x4fc103[_0x3587d4(0x122)]]));}}}}),_0x29a178['length']>0x0&&(_0x4fc103['filter'][_0x447a78(0x213)]=0x1==_0x29a178[_0x447a78(0x246)]?_0x29a178[0x0]:_0x29a178);}});}),_0x32ede0;}static[a0_0x52ffe6(0x186)](_0x5efe5d){const _0x2d2746=a0_0x52ffe6;let _0x286cdb={'title':TermsUtil[_0x2d2746(0x173)](_0x5efe5d[_0x2d2746(0x151)][_0x2d2746(0x22c)]),'help':_0x5efe5d[_0x2d2746(0x151)][_0x2d2746(0x21d)]||'','actions':[...MetaUiUtil[_0x2d2746(0x1bf)](_0x5efe5d)]};return _0x5efe5d['useButtonExport']&&(_0x286cdb['exportable']={'name':_0x286cdb[_0x2d2746(0x22c)],'data':_0x5efe5d[_0x2d2746(0x231)]['bind'](_0x5efe5d)}),_0x5efe5d['useButtonImport']&&(_0x286cdb[_0x2d2746(0x13a)]={'handler':_0x5efe5d[_0x2d2746(0x23c)][_0x2d2746(0x12a)](_0x5efe5d)}),_0x286cdb;}static[a0_0x52ffe6(0x1bf)](_0x2208a2){const _0xf13b55=a0_0x52ffe6;let _0x21ad9f=_0x2208a2['buttonConfig'];return ValueUtil[_0xf13b55(0x1c9)](_0x21ad9f)?[]:_0x21ad9f[_0xf13b55(0x1b8)](_0x1a8c59=>_0xf13b55(0x231)!=_0x1a8c59[_0xf13b55(0x153)]&&_0xf13b55(0x23c)!=_0x1a8c59[_0xf13b55(0x153)]&&_0xf13b55(0x1c6)!=_0x1a8c59[_0xf13b55(0x153)])['map'](_0x5f4fa6=>{const _0xee1de9=_0xf13b55;let {name:_0x9929e9,label:_0xe1188e,style:_0x334d52,type:_0x22ecda='basic',action:_0x21440b,logic:_0x28c230}=_0x5f4fa6;if(ValueUtil['isEmpty'](_0x9929e9))return{'title':'-1'};ValueUtil['isEmpty'](_0xe1188e)&&(_0xe1188e=_0x9929e9),ValueUtil['isEmpty'](_0x334d52)&&(_0x334d52=_0x9929e9),ValueUtil[_0xee1de9(0x1c9)](_0x21440b)&&(_0x21440b=_0x9929e9);let _0x3a032a=ValueUtil[_0xee1de9(0x15f)](_0x334d52)?CommonButtonStyles[_0x334d52]||{'icon':_0x334d52,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0xee1de9(0x194)](_0xe1188e),'action':MetaUiUtil[_0xee1de9(0x243)](_0x2208a2,_0x22ecda,_0x21440b,_0x28c230),..._0x3a032a};})[_0xf13b55(0x1b8)](_0x3f58dd=>'-1'!=_0x3f58dd['title']);}static[a0_0x52ffe6(0x15c)](_0x4c2b13){const _0x423620=a0_0x52ffe6;let _0x1b2f02=_0x4c2b13&&_0x4c2b13[_0x423620(0x144)]?_0x4c2b13[_0x423620(0x144)]:null;return _0x1b2f02?_0x1b2f02[_0x423620(0x1b8)](_0x16ca66=>_0x423620(0x1c6)!=_0x16ca66['name'])[_0x423620(0x13c)](_0x2aca62=>{const _0x6ed589=_0x423620;let {name:_0x5e243d,label:_0x3f6999,style:_0x36f098,type:_0x12f83f=_0x6ed589(0x1a7),action:_0x2747d4,logic:_0x31cf9d}=_0x2aca62;ValueUtil[_0x6ed589(0x1c9)](_0x3f6999)&&(_0x3f6999=_0x5e243d),ValueUtil[_0x6ed589(0x1c9)](_0x36f098)&&(_0x36f098=_0x5e243d),ValueUtil[_0x6ed589(0x1c9)](_0x2747d4)&&(_0x2747d4=_0x5e243d);let _0x1dc9c7=MetaUiUtil[_0x6ed589(0x18a)](TermsUtil[_0x6ed589(0x194)](_0x3f6999),_0x36f098);return _0x1dc9c7[_0x6ed589(0x1ff)]=MetaUiUtil[_0x6ed589(0x243)](_0x4c2b13,_0x12f83f,_0x2747d4,_0x31cf9d),_0x1dc9c7;}):[];}static[a0_0x52ffe6(0x18a)](_0x11d272,_0x47be7a){const _0x1ef2f9=a0_0x52ffe6;let _0x342e0c=CommonButtonStyles[_0x47be7a]||{'icon':_0x47be7a,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x372531=_0x1ef2f9(0x20c)+_0x11d272+_0x1ef2f9(0x1ed)+(_0x342e0c[_0x1ef2f9(0x27b)]?_0x342e0c[_0x1ef2f9(0x27b)]:'')+_0x1ef2f9(0x12c)+(_0x342e0c[_0x1ef2f9(0x1ad)]['raised']?_0x1ef2f9(0x176):'')+_0x1ef2f9(0x1dc)+(_0x342e0c[_0x1ef2f9(0x1ad)]['outlined']?'outlined':'')+_0x1ef2f9(0x1dc)+(_0x342e0c['emphasis'][_0x1ef2f9(0x195)]?_0x1ef2f9(0x195):'')+_0x1ef2f9(0x1dc)+(_0x342e0c[_0x1ef2f9(0x1ad)]['danger']?'danger':'')+_0x1ef2f9(0x14b);return UiUtil[_0x1ef2f9(0x20d)](_0x372531);}static[a0_0x52ffe6(0x243)](_0x5b98f3,_0x297497,_0x2feaff,_0x139b6b){const _0x5935d4=a0_0x52ffe6;if(_0x5935d4(0x1a7)==_0x297497){if(_0x5b98f3[_0x2feaff])return _0x5b98f3[_0x2feaff][_0x5935d4(0x12a)](_0x5b98f3);}else{if(_0x5935d4(0x1da)==_0x297497)return()=>MetaUiUtil[_0x5935d4(0x260)](_0x5b98f3,_0x139b6b);}return()=>{const _0x1f2afb=_0x5935d4;UiUtil['showAlertPopup'](_0x1f2afb(0x24f),_0x1f2afb(0x198),_0x1f2afb(0x19d),'confirm');};}static async['gristButtonHandler'](_0x96f5ef,_0x4beacd,_0x5cc61b){const _0x485b5d=a0_0x52ffe6;let _0x5782a6=ValueUtil[_0x485b5d(0x19e)](_0x4beacd,_0x485b5d(0x130)),_0x1cd06a=ValueUtil[_0x485b5d(0x19e)](_0x5782a6,'type');if('form'===_0x1cd06a)_0x5782a6[_0x485b5d(0x200)]='meta-form-element',_0x5782a6[_0x485b5d(0x1e5)]=_0x485b5d(0x143),_0x5782a6[_0x485b5d(0x1b4)]='id',await MetaUiUtil[_0x485b5d(0x23a)](_0x96f5ef,_0x5782a6,_0x5cc61b);else{if('pass_param'===_0x1cd06a)MetaUiUtil[_0x485b5d(0x1b1)](_0x96f5ef,_0x5782a6,_0x5cc61b);else{if(_0x485b5d(0x141)===_0x1cd06a){let _0x1f03c6;_0x5782a6[_0x485b5d(0x1f3)]?(_0x1f03c6={},Object[_0x485b5d(0x159)](_0x5cc61b)[_0x485b5d(0x1b8)](_0x1bab3f=>Object[_0x485b5d(0x159)](_0x5782a6[_0x485b5d(0x1f3)])[_0x485b5d(0x18e)](_0x1bab3f))[_0x485b5d(0x13c)](_0x11cbf5=>{const _0x58f3e7=_0x485b5d;Object[_0x58f3e7(0x159)](_0x5782a6[_0x58f3e7(0x1f3)])['includes'](_0x11cbf5)&&(_0x58f3e7(0x1a5)==typeof _0x5cc61b[_0x11cbf5]?_0x1f03c6[_0x5782a6[_0x58f3e7(0x1f3)][_0x11cbf5]]=_0x5cc61b[_0x11cbf5]:_0x1f03c6[_0x5782a6[_0x58f3e7(0x1f3)][_0x11cbf5]]={'id':_0x5cc61b[_0x11cbf5]['id']});})):_0x1f03c6=_0x5cc61b,UiUtil['pageNavigate'](_0x5782a6['url'],[_0x1f03c6]);}else _0x485b5d(0x268)===_0x1cd06a?await MetaUiUtil['commonButtonOpenPopup'](_0x96f5ef,_0x5782a6,_0x5cc61b):_0x485b5d(0x18d)===_0x1cd06a?await MetaUiUtil[_0x485b5d(0x1e9)](_0x96f5ef,_0x5782a6,_0x5cc61b):_0x485b5d(0x138)===_0x1cd06a&&await MetaUiUtil[_0x485b5d(0x12e)](_0x96f5ef,_0x5782a6,_0x5cc61b);}}}static async[a0_0x52ffe6(0x260)](_0x359bc1,_0x33563e){const _0x1ed5cb=a0_0x52ffe6;if(ValueUtil[_0x1ed5cb(0x1c9)](_0x33563e))return;let _0x173b5b=_0x359bc1[_0x1ed5cb(0x197)],_0x266933=_0x359bc1[_0x1ed5cb(0x26c)],_0x1ca96b=ValueUtil['getParams'](_0x33563e,_0x1ed5cb(0x122)),_0x44270d=ValueUtil[_0x1ed5cb(0x19e)](_0x33563e,_0x1ed5cb(0x1cb)),_0x19a8ac=_0x44270d['filter'](_0x452832=>_0x452832['startsWith']('grist'));if(ValueUtil[_0x1ed5cb(0x15f)](_0x19a8ac)){if(!_0x173b5b)return void UiUtil[_0x1ed5cb(0x267)](_0x1ed5cb(0x187),'text.grid_is_not_exist',_0x1ed5cb(0x19d),_0x1ed5cb(0x250));if(0x0==(_0x173b5b[_0x1ed5cb(0x242)]?_0x173b5b[_0x1ed5cb(0x242)][_0x1ed5cb(0x24e)]:[])[_0x1ed5cb(0x246)])return void UiUtil[_0x1ed5cb(0x267)]('title.info',_0x1ed5cb(0x283),_0x1ed5cb(0x19d),_0x1ed5cb(0x250));if(_0x44270d[_0x1ed5cb(0x18e)]('grist_one')||_0x44270d['includes']('grist_selected')){let _0x35cc86=_0x173b5b[_0x1ed5cb(0x183)];if(ValueUtil[_0x1ed5cb(0x1c9)](_0x35cc86))return void UiUtil[_0x1ed5cb(0x267)](_0x1ed5cb(0x16b),_0x1ed5cb(0x1d6),_0x1ed5cb(0x19d),_0x1ed5cb(0x250));if(_0x44270d[_0x1ed5cb(0x18e)](_0x1ed5cb(0x135))&&_0x35cc86[_0x1ed5cb(0x246)]>0x1)return void UiUtil[_0x1ed5cb(0x267)](_0x1ed5cb(0x187),_0x1ed5cb(0x189),_0x1ed5cb(0x19d),'confirm');}}let _0x52dce2={};if(_0x44270d[_0x1ed5cb(0x18e)](_0x1ed5cb(0x1b8))){if(!_0x266933)return void UiUtil['showAlertPopup']('title.info','text.search_form_is_not_exist',_0x1ed5cb(0x19d),_0x1ed5cb(0x250));let _0x58e926=_0x266933?await _0x266933[_0x1ed5cb(0x220)]():[];_0x52dce2[_0x1ed5cb(0x1b8)]=_0x58e926;}if(_0x44270d[_0x1ed5cb(0x18e)](_0x1ed5cb(0x16e)))_0x52dce2[_0x1ed5cb(0x197)]=_0x173b5b[_0x1ed5cb(0x242)]['records'];else{if(_0x44270d[_0x1ed5cb(0x18e)](_0x1ed5cb(0x135)))_0x52dce2[_0x1ed5cb(0x197)]=_0x173b5b[_0x1ed5cb(0x183)][0x0];else{if(_0x44270d[_0x1ed5cb(0x18e)]('grist_selected'))_0x52dce2['grist']=_0x173b5b[_0x1ed5cb(0x183)];else{if(_0x44270d[_0x1ed5cb(0x18e)](_0x1ed5cb(0x1c7))&&(_0x52dce2[_0x1ed5cb(0x197)]=ServiceUtil['patchesForUpdateMultiple'](_0x173b5b),!_0x52dce2['grist']))return;}}}if(_0x1ed5cb(0x141)===_0x1ca96b){let _0x272bd8,_0x13ad16=Array[_0x1ed5cb(0x23d)](_0x52dce2[_0x1ed5cb(0x197)])?_0x52dce2[_0x1ed5cb(0x197)]:[_0x52dce2[_0x1ed5cb(0x197)]];_0x272bd8=_0x33563e[_0x1ed5cb(0x1f3)]?_0x13ad16[_0x1ed5cb(0x13c)](_0x585025=>{const _0x3054d1=_0x1ed5cb;let _0x1adacc={};return Object['keys'](_0x585025)[_0x3054d1(0x1b8)](_0x9e7104=>Object[_0x3054d1(0x159)](_0x33563e['param_field'])['includes'](_0x9e7104))[_0x3054d1(0x13c)](_0x4e387d=>{const _0x5727f1=_0x3054d1;Object[_0x5727f1(0x159)](_0x33563e['param_field'])['includes'](_0x4e387d)&&(_0x5727f1(0x1a5)==typeof _0x585025[_0x4e387d]?_0x1adacc[_0x33563e['param_field'][_0x4e387d]]=_0x585025[_0x4e387d]:_0x1adacc[_0x33563e[_0x5727f1(0x1f3)][_0x4e387d]]={'id':_0x585025[_0x4e387d]['id']});}),_0x1adacc;}):_0x13ad16,UiUtil['pageNavigate'](_0x33563e['url'],_0x272bd8);}else{if('popup'===_0x1ca96b){let _0x5e5352={..._0x52dce2['grist']?_0x52dce2['grist']:{},..._0x52dce2[_0x1ed5cb(0x1b8)]?_0x52dce2[_0x1ed5cb(0x1b8)]:{}};await MetaUiUtil[_0x1ed5cb(0x23a)](_0x359bc1,_0x33563e,_0x5e5352);}else _0x1ed5cb(0x18d)===_0x1ca96b&&await MetaUiUtil[_0x1ed5cb(0x1e9)](_0x359bc1,_0x33563e,_0x52dce2);}}static['gristButtonPassParam'](_0x3b83eb,_0x55c0b9,_0x497065){const _0xe212d=a0_0x52ffe6;let _0x849c00=_0x55c0b9[_0xe212d(0x223)],_0x203065={},_0x70eb0c=_0x3b83eb[_0xe212d(0x229)]['toLowerCase'](),_0x1040df=_0x3b83eb;_0x203065=_0x70eb0c[_0xe212d(0x27a)]('meta-grist-tab-')||_0x70eb0c[_0xe212d(0x27a)](_0xe212d(0x152))?_0x849c00['detail']?{..._0x849c00}:{'detail':{..._0x849c00}}:{..._0x849c00},Object[_0xe212d(0x159)](_0x203065)['forEach'](_0x315369=>{const _0x1a28e8=_0xe212d;if(_0x1a28e8(0x274)==_0x315369?_0x1040df=_0x3b83eb[_0x1a28e8(0x258)]['masterElement']:_0x1a28e8(0x12d)==_0x315369?_0x1040df=_0x3b83eb[_0x1a28e8(0x258)]?_0x3b83eb['rootElement'][_0x1a28e8(0x1fd)]:_0x3b83eb[_0x1a28e8(0x1fd)]:_0x1a28e8(0x175)==_0x315369&&(_0x1040df=_0x3b83eb),_0x1040df){if(_0x1040df[_0x1a28e8(0x229)][_0x1a28e8(0x1af)]()[_0x1a28e8(0x27a)]('meta-tab-element'))Object['keys'](_0x203065[_0x315369])[_0x1a28e8(0x147)](_0x499483=>{const _0x41eb1d=_0x1a28e8;let _0x20e9b1=_0x1040df[_0x41eb1d(0x1f7)][_0x41eb1d(0x202)]('#'+_0x499483);_0x497065['id']&&_0x20e9b1[_0x41eb1d(0x164)](_0x497065['id']);let _0x5b7817=_0x203065[_0x315369][_0x499483];Object['keys'](_0x5b7817)[_0x41eb1d(0x147)](_0x43d46f=>{let _0x288157=_0x5b7817[_0x43d46f],_0x4ad715='*'===_0x288157?_0x497065:_0x497065[_0x288157];_0x20e9b1[_0x43d46f]=_0x4ad715;});});else{let _0xabd176=_0x1040df;_0x497065['id']&&_0xabd176['setParentId'](_0x497065['id']);let _0x3e4ab0=_0x203065[_0x315369];Object[_0x1a28e8(0x159)](_0x3e4ab0)['forEach'](_0xb90286=>{let _0x474a89=_0x3e4ab0[_0xb90286],_0x3bcb5d='*'===_0x474a89?_0x497065:_0x497065[_0x474a89];_0xabd176[_0xb90286]=_0x3bcb5d;});}}});}static async[a0_0x52ffe6(0x23a)](_0x28f4ff,_0x14e514,_0x4c5bea){const _0x55a47e=a0_0x52ffe6;let _0xcbdcba=TermsUtil[_0x55a47e(0x173)](_0x14e514['title']);ValueUtil[_0x55a47e(0x15f)](_0x14e514[_0x55a47e(0x1d5)])&&(_0xcbdcba=_0xcbdcba+'('+ValueUtil[_0x55a47e(0x19e)](_0x4c5bea,..._0x14e514[_0x55a47e(0x1d5)][_0x55a47e(0x172)]('.'))+')');let _0x5ea54b=_0x14e514[_0x55a47e(0x161)]&&_0x55a47e(0x1a5)==typeof _0x14e514[_0x55a47e(0x161)]&&_0x55a47e(0x1c1)===_0x14e514[_0x55a47e(0x161)]&&_0x28f4ff&&_0x28f4ff['fetch']?_0x28f4ff[_0x55a47e(0x1c1)][_0x55a47e(0x12a)](_0x28f4ff):void 0x0;UiUtil[_0x55a47e(0x265)](_0xcbdcba,_0x14e514,_0x4c5bea,_0x5ea54b);}static async[a0_0x52ffe6(0x1e9)](_0x4f0ed1,_0x190c9b,_0x3120a0){const _0x167455=a0_0x52ffe6;let _0x34e61a=await ServiceUtil[_0x167455(0x1f9)]('service',_0x190c9b['name'],_0x3120a0);if(!_0x34e61a[_0x167455(0x1aa)]&&!ValueUtil[_0x167455(0x1c9)](_0x190c9b[_0x167455(0x161)])&&_0x190c9b['after']){if(_0x167455(0x1c1)!==_0x190c9b[_0x167455(0x161)]){if(_0x167455(0x225)==typeof _0x190c9b[_0x167455(0x161)]){let _0x13f66f=_0x190c9b[_0x167455(0x161)],_0xbf833f=ValueUtil[_0x167455(0x19e)](_0x34e61a[_0x167455(0x242)][_0x167455(0x224)]['data'],..._0x13f66f['result_name']['split']('.'));if(0x0==Array[_0x167455(0x23d)](_0xbf833f)&&(_0xbf833f=[_0xbf833f]),'form'===_0x13f66f['type'])_0x13f66f[_0x167455(0x200)]=_0x167455(0x136),_0x13f66f[_0x167455(0x1e5)]='pages/meta-form-element.js',_0x13f66f[_0x167455(0x1b4)]='id',_0xbf833f=_0xbf833f[0x0],await MetaUiUtil[_0x167455(0x23a)](_0x4f0ed1,_0x13f66f,_0xbf833f);else{if(_0x167455(0x141)===_0x13f66f[_0x167455(0x122)]){let _0x32f702,_0x49c8b9=_0xbf833f;_0x32f702=_0x13f66f[_0x167455(0x1f3)]?_0x49c8b9[_0x167455(0x13c)](_0x4e7210=>{const _0x4a8198=_0x167455;let _0x5e06d6={};return Object[_0x4a8198(0x159)](_0x4e7210)[_0x4a8198(0x1b8)](_0x2f8e32=>Object[_0x4a8198(0x159)](_0x13f66f[_0x4a8198(0x1f3)])[_0x4a8198(0x18e)](_0x2f8e32))[_0x4a8198(0x13c)](_0x27fba2=>{const _0xffdb3f=_0x4a8198;Object[_0xffdb3f(0x159)](_0x13f66f['param_field'])[_0xffdb3f(0x18e)](_0x27fba2)&&(_0xffdb3f(0x1a5)==typeof _0x4e7210[_0x27fba2]?_0x5e06d6[_0x13f66f[_0xffdb3f(0x1f3)][_0x27fba2]]=_0x4e7210[_0x27fba2]:_0x5e06d6[_0x13f66f[_0xffdb3f(0x1f3)][_0x27fba2]]={'id':_0x4e7210[_0x27fba2]['id']});}),_0x5e06d6;}):_0x49c8b9,UiUtil[_0x167455(0x251)](_0x13f66f['url'],_0x32f702);}else _0x167455(0x157)===_0x13f66f[_0x167455(0x122)]?(_0xbf833f=_0xbf833f[0x0],MetaUiUtil[_0x167455(0x1b1)](_0x4f0ed1,_0x13f66f,_0xbf833f)):'popup'===_0x13f66f['type']?(_0xbf833f=_0xbf833f[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x4f0ed1,_0x13f66f,_0xbf833f)):_0x167455(0x138)===_0x13f66f[_0x167455(0x122)]&&(_0xbf833f=_0xbf833f[0x0],await MetaUiUtil[_0x167455(0x12e)](_0x4f0ed1,_0x13f66f,_0xbf833f));}}}else _0x4f0ed1[_0x167455(0x1c1)]();}}static async[a0_0x52ffe6(0x12e)](_0x8ef829,_0x55c083,_0x133756){const _0x1fa88f=a0_0x52ffe6;for(let _0x574527=0x0;_0x574527<_0x55c083[_0x1fa88f(0x1f8)][_0x1fa88f(0x246)];_0x574527++){let _0x49cbf3=_0x55c083[_0x1fa88f(0x1f8)][_0x574527];!0x0===ValueUtil[_0x1fa88f(0x1f5)](_0x49cbf3,_0x133756,Object['keys'](_0x49cbf3)['filter'](_0x2f9ef4=>_0x1fa88f(0x130)!=_0x2f9ef4))&&await MetaUiUtil['gristButtonHandler'](_0x8ef829,_0x49cbf3,_0x133756);}}static[a0_0x52ffe6(0x212)](_0x1cf3b8,_0x23ed50){return{'type':_0x1cf3b8,'name':_0x23ed50,'sortable':!0x1,'hidden':!0x0};}static[a0_0x52ffe6(0x182)](_0x13d6d8,_0x3bd074,_0x2f7f55,_0x3edf5d,_0x1084c1,_0x1a7d67){const _0x21e1ec=a0_0x52ffe6;let _0x4a49b0=TermsUtil[_0x21e1ec(0x1b5)](_0x3bd074);return{'type':_0x13d6d8,'name':_0x3bd074,'header':_0x4a49b0,'record':{'align':_0x2f7f55,'editable':_0x3edf5d},'sortable':_0x1084c1,'width':_0x1a7d67,'imex':{'width':Math['floor'](_0x1a7d67/0x6),'header':_0x4a49b0,'type':_0x13d6d8,'key':_0x3bd074}};}static[a0_0x52ffe6(0x27c)](_0x1a5be1,_0x41cf3c,_0x5e87ad,_0x29e92f,_0x23b4e9,_0x49b03a,_0x1a9119){const _0x1f1663=a0_0x52ffe6;let _0x352ac5=TermsUtil['tLabel'](_0x5e87ad);return{'type':_0x1a5be1,'name':_0x41cf3c,'header':_0x352ac5,'record':{'align':_0x29e92f,'editable':_0x23b4e9},'sortable':_0x49b03a,'width':_0x1a9119,'imex':{'width':Math[_0x1f1663(0x24a)](_0x1a9119/0x6),'header':_0x352ac5,'type':_0x1a5be1,'key':_0x41cf3c}};}static['getGristColumnConfig3'](_0x5344a3,_0x3ff44b,_0x18bca5,_0x261480,_0x1c3009,_0xd9ce4,_0x20f095,_0x2cf9ea){const _0x4cb814=a0_0x52ffe6;let _0x46ee19=TermsUtil[_0x4cb814(0x1b5)](_0x18bca5);return{'type':_0x5344a3,'name':_0x3ff44b,'header':_0x46ee19,'record':{'align':_0x261480,'editable':_0x1c3009,'mandatory':_0x20f095},'sortable':_0xd9ce4,'width':_0x2cf9ea,'imex':{'width':Math[_0x4cb814(0x24a)](_0x2cf9ea/0x6),'header':_0x46ee19,'type':_0x5344a3,'key':_0x3ff44b}};}static[a0_0x52ffe6(0x275)](_0x4f8c62,_0x546e02,_0x1768c3,_0x2efc66,_0x588221,_0x4e0568,_0x3011f0){const _0x5cbae0=a0_0x52ffe6;let _0x1a9ba1=TermsUtil[_0x5cbae0(0x1b5)](_0x546e02);return{'type':_0x5cbae0(0x1fc),'name':_0x4f8c62,'header':_0x1a9ba1,'record':{'align':_0x1768c3,'editable':!0x0,'mandatory':_0x4e0568,'options':_0x3011f0},'sortable':_0x2efc66,'width':_0x588221,'imex':{'width':Math[_0x5cbae0(0x24a)](_0x588221/0x6),'header':_0x1a9ba1,'type':_0x5cbae0(0x1a5),'key':_0x4f8c62}};}static async[a0_0x52ffe6(0x25f)](_0x51bcaa,_0x2f8277,_0x584762,_0x365ff5,_0x2469ff,_0x166231,_0x196c45){const _0xbb3afc=a0_0x52ffe6;let _0x12b6ca=await ServiceUtil[_0xbb3afc(0x1eb)](_0x196c45);return MetaUiUtil['getGristSelectorColumnConfig'](_0x51bcaa,_0x2f8277,_0x584762,_0x365ff5,_0x2469ff,_0x166231,_0x12b6ca);}static['getGristSearchColumnConfig'](_0x2156ae,_0x887530,_0x1e1370,_0x3a4ac9,_0x124676){const _0x9b5886=a0_0x52ffe6;let _0x17ef64=TermsUtil[_0x9b5886(0x1b5)](_0x1e1370),_0x5dd410={'name':_0x2156ae,'type':_0x887530,'label':_0x17ef64,'operator':_0x3a4ac9,'imex':{'width':0x10,'header':_0x17ef64,'type':_0x887530,'key':_0x2156ae}};return _0x124676&&(_0x5dd410[_0x9b5886(0x11e)]=_0x124676),_0x5dd410;}static async[a0_0x52ffe6(0x228)](_0xb9b5bb,_0x5893a3,_0x16ab52,_0x204662,_0x12cd23){const _0x2f70a5=a0_0x52ffe6;let _0x49d9e5=await ServiceUtil['getCodeSelectorData'](_0x12cd23);return MetaUiUtil[_0x2f70a5(0x249)](_0xb9b5bb,_0x5893a3,_0x16ab52,_0x204662,_0x49d9e5);}static[a0_0x52ffe6(0x21b)](){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_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=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_0x52ffe6(0x140)](){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_0x52ffe6(0x215)](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:5px 6px 0px 0px;
|
|
31
31
|
margin:0px;
|
|
@@ -49,7 +49,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
49
49
|
#grist-personal > mwc-icon:hover{
|
|
50
50
|
background-color: var(--primary-color);
|
|
51
51
|
}
|
|
52
|
-
`];}static[
|
|
52
|
+
`];}static[a0_0x52ffe6(0x201)](){const _0x3bfe02=a0_0x52ffe6;return[ScrollbarStyles,CommonGristStyles,css`
|
|
53
53
|
:host {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
@@ -59,7 +59,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
59
59
|
ox-grist {
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
flex: 1;
|
|
62
|
-
}`,...MetaUiUtil[
|
|
62
|
+
}`,...MetaUiUtil[_0x3bfe02(0x140)](),...MetaUiUtil[_0x3bfe02(0x21b)](),...MetaUiUtil[_0x3bfe02(0x215)]()];}static['getBasicGristTabStyles'](){const _0x1b2de6=a0_0x52ffe6;return[ScrollbarStyles,CommonGristStyles,css`
|
|
63
63
|
:host {
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
@@ -106,7 +106,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
106
106
|
ox-grist {
|
|
107
107
|
overflow-y: auto;
|
|
108
108
|
flex: 1;
|
|
109
|
-
}`,...MetaUiUtil[
|
|
109
|
+
}`,...MetaUiUtil[_0x1b2de6(0x140)](),...MetaUiUtil[_0x1b2de6(0x21b)](),...MetaUiUtil[_0x1b2de6(0x215)]()];}static[a0_0x52ffe6(0x1ea)](){const _0x110c97=a0_0x52ffe6;return[ScrollbarStyles,CommonGristStyles,css`
|
|
110
110
|
:host {
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: column;
|
|
@@ -153,7 +153,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
153
153
|
ox-grist {
|
|
154
154
|
overflow-y: auto;
|
|
155
155
|
flex: 1;
|
|
156
|
-
}`,...MetaUiUtil[
|
|
156
|
+
}`,...MetaUiUtil[_0x110c97(0x140)](),...MetaUiUtil[_0x110c97(0x21b)](),...MetaUiUtil[_0x110c97(0x215)]()];}static['getBasicTabDetailStyles'](){const _0x54c22f=a0_0x52ffe6;return[ScrollbarStyles,CommonGristStyles,css`
|
|
157
157
|
:host {
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
@@ -200,7 +200,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
200
200
|
ox-grist {
|
|
201
201
|
overflow-y: auto;
|
|
202
202
|
flex: 1;
|
|
203
|
-
}`,...MetaUiUtil[
|
|
203
|
+
}`,...MetaUiUtil[_0x54c22f(0x140)](),...MetaUiUtil[_0x54c22f(0x21b)](),...MetaUiUtil[_0x54c22f(0x215)]()];}static[a0_0x52ffe6(0x1f1)](){const _0x256df5=a0_0x52ffe6;return[ScrollbarStyles,CommonGristStyles,css`
|
|
204
204
|
:host {
|
|
205
205
|
display: flex;
|
|
206
206
|
flex-direction: column;
|
|
@@ -215,7 +215,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
215
215
|
ox-grist {
|
|
216
216
|
overflow-y: auto;
|
|
217
217
|
flex: 1;
|
|
218
|
-
}`,...MetaUiUtil[
|
|
218
|
+
}`,...MetaUiUtil[_0x256df5(0x140)](),...MetaUiUtil[_0x256df5(0x21b)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x52ffe6(0x13d)](_0x13e59e){const _0xf8e487=a0_0x52ffe6;return'top-down'==_0x13e59e?MetaUiUtil[_0xf8e487(0x24d)]():MetaUiUtil[_0xf8e487(0x1d0)]();}static[a0_0x52ffe6(0x24d)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
219
219
|
:host {
|
|
220
220
|
display: flex;
|
|
221
221
|
flex-direction: column;
|
|
@@ -282,7 +282,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
282
282
|
margin-left:7px;
|
|
283
283
|
margin-top:7px;
|
|
284
284
|
}
|
|
285
|
-
`];}static[
|
|
285
|
+
`];}static[a0_0x52ffe6(0x1d0)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
286
286
|
:host {
|
|
287
287
|
display: flex;
|
|
288
288
|
flex-direction: column;
|
|
@@ -349,7 +349,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
349
349
|
margin-left:7px;
|
|
350
350
|
margin-top:7px;
|
|
351
351
|
}
|
|
352
|
-
`];}static[
|
|
352
|
+
`];}static[a0_0x52ffe6(0x158)](){const _0xbccc7d=a0_0x52ffe6;return[ScrollbarStyles,css`
|
|
353
353
|
:host {
|
|
354
354
|
display: flex;
|
|
355
355
|
flex: 1;
|
|
@@ -438,7 +438,7 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
438
438
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
`,...MetaUiUtil[
|
|
441
|
+
`,...MetaUiUtil[_0xbccc7d(0x21b)]()];}static[a0_0x52ffe6(0x1d4)](){return[css`
|
|
442
442
|
:host {
|
|
443
443
|
display: flex;
|
|
444
444
|
flex: 1;
|
|
@@ -493,204 +493,204 @@ const a0_0x41aca5=a0_0x221e;(function(_0x321a19,_0x4b8266){const _0x3f70d8=a0_0x
|
|
|
493
493
|
overflow-x: overlay;
|
|
494
494
|
background-color: var(--main-section-background-color);
|
|
495
495
|
}
|
|
496
|
-
`];}static[
|
|
496
|
+
`];}static[a0_0x52ffe6(0x131)](_0x22b24d,_0x48c381){const _0x4fccdc=a0_0x52ffe6;return!!(_0x22b24d?_0x22b24d[_0x4fccdc(0x124)](_0x50fdca=>_0x50fdca[_0x4fccdc(0x153)]==_0x48c381):null);}static[a0_0x52ffe6(0x1bd)](_0x25494c,_0x33d6e9){const _0x33460b=a0_0x52ffe6;return!!(_0x25494c&&_0x25494c[_0x33460b(0x278)]?_0x25494c[_0x33460b(0x278)]['find'](_0x2f06fe=>_0x2f06fe[_0x33460b(0x153)]==_0x33d6e9):null);}static[a0_0x52ffe6(0x255)](_0x5f0ec0){const _0x4cd480=a0_0x52ffe6;let _0x4a9cfb='';return _0x5f0ec0[_0x4cd480(0x1b8)](_0x2b33c0=>'gutter'!=_0x2b33c0[_0x4cd480(0x122)])[_0x4cd480(0x147)](_0x210a65=>{const _0x156663=_0x4cd480;_0x4a9cfb+='\x0a',_0x4a9cfb+=['meta-object-selector','object',_0x156663(0x178)][_0x156663(0x18e)](_0x210a65[_0x156663(0x122)])?_0x210a65[_0x156663(0x153)]+'\x0a{'+MetaUiUtil[_0x156663(0x121)](_0x210a65)+'}':_0x156663(0x208)==_0x210a65[_0x156663(0x122)]?_0x210a65[_0x156663(0x153)]+_0x156663(0x17d):_0x210a65['name'];}),_0x4a9cfb;}static['getObjctColumnSelectFields'](_0x4185b7){const _0x210e89=a0_0x52ffe6;let _0x54ee9f='';return ValueUtil[_0x210e89(0x15f)](_0x4185b7[_0x210e89(0x11f)])&&ValueUtil[_0x210e89(0x15f)](_0x4185b7[_0x210e89(0x11f)]['options'])&&ValueUtil[_0x210e89(0x15f)](_0x4185b7[_0x210e89(0x11f)][_0x210e89(0x11e)][_0x210e89(0x1fc)])&&_0x4185b7[_0x210e89(0x11f)][_0x210e89(0x11e)][_0x210e89(0x1fc)][_0x210e89(0x147)](_0x2e5610=>{const _0x305b55=_0x210e89;_0x2e5610['name']&&''!==_0x2e5610[_0x305b55(0x153)]&&(['meta-object-selector',_0x305b55(0x225),'resource-object'][_0x305b55(0x18e)](_0x2e5610['type'])?_0x54ee9f+='\x0a'+_0x2e5610[_0x305b55(0x153)]+_0x305b55(0x20f)+MetaUiUtil[_0x305b55(0x121)](_0x2e5610)+'\x20\x0a\x20}':_0x54ee9f+='\x0a'+_0x2e5610[_0x305b55(0x153)]);}),''==_0x54ee9f&&(_0x54ee9f+='\x0aid\x0aname\x0adescription'),_0x54ee9f;}static[a0_0x52ffe6(0x14c)](_0xef0c63){const _0xcca9a5=a0_0x52ffe6;let _0x17e5bf=_0xef0c63['gristConfigSet'];if(_0x17e5bf){let _0x5decc9=_0xef0c63['gristId']?_0xef0c63[_0xcca9a5(0x237)]:_0xcca9a5(0x206),_0x57d8bc=_0xef0c63[_0xcca9a5(0x1d8)];return html`
|
|
497
497
|
<ox-grist
|
|
498
|
-
id=${
|
|
499
|
-
.config=${
|
|
500
|
-
.mode=${
|
|
498
|
+
id=${_0x5decc9}
|
|
499
|
+
.config=${_0x17e5bf}
|
|
500
|
+
.mode=${_0x57d8bc}
|
|
501
501
|
auto-fetch
|
|
502
|
-
.fetchHandler=${
|
|
503
|
-
${MetaUiUtil[
|
|
502
|
+
.fetchHandler=${_0xef0c63['fetchHandler']['bind'](_0xef0c63)}>
|
|
503
|
+
${MetaUiUtil['getGridDetailHtml'](_0xef0c63)}
|
|
504
504
|
</ox-grist>
|
|
505
|
-
`;}return html``;}static[
|
|
505
|
+
`;}return html``;}static[a0_0x52ffe6(0x137)](_0x4dd1b6){const _0x32e1ec=a0_0x52ffe6;if(!_0x4dd1b6)return html``;if(!_0x4dd1b6[_0x32e1ec(0x128)])return html``;let _0xfa0a09=_0x4dd1b6[_0x32e1ec(0x128)],_0xe485d9=_0x4dd1b6['record']||{},_0xca0c0e=_0xfa0a09[_0x32e1ec(0x1b8)](_0x3f7eda=>0x0==_0x3f7eda[_0x32e1ec(0x127)]);return ValueUtil[_0x32e1ec(0x1c9)](_0x4dd1b6['formRenderConfig'])?MetaUiUtil['getBasicFormHtmlNoOption'](_0x4dd1b6,_0xca0c0e,_0xe485d9):MetaUiUtil[_0x32e1ec(0x150)](_0x4dd1b6,_0xca0c0e,_0xe485d9);}static['getBasicFormHtmlOnOption'](_0x3f7c41,_0x3f1340,_0x5a9253){const _0x3aa648=a0_0x52ffe6;let _0x121c30=_0x3f7c41[_0x3aa648(0x169)];return html`
|
|
506
506
|
<div class="root_container">
|
|
507
|
-
${
|
|
507
|
+
${_0x121c30[_0x3aa648(0x13c)](_0x3d7f2f=>{const _0x183766=_0x3aa648;let _0x452dd2=[];_0x3d7f2f[_0x183766(0x1b3)][_0x183766(0x147)](_0x40b7b5=>{const _0x478edf=_0x183766;let _0x14fe05=_0x3f1340['filter'](_0x1e2eab=>_0x40b7b5==_0x1e2eab['name'])||[];_0x14fe05['length']>0x0&&_0x452dd2[_0x478edf(0x280)](_0x14fe05[0x0]);});let _0xfca71e=_0x183766(0x1a2);for(let _0x14d075=0x0;_0x14d075<_0x3d7f2f['column'];_0x14d075++)_0xfca71e+=_0x183766(0x162);return _0xfca71e+=';',html`
|
|
508
508
|
<h2>
|
|
509
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
509
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x183766(0x173)](_0x3d7f2f[_0x183766(0x163)])}
|
|
510
510
|
</h2>
|
|
511
|
-
<div id="content_container" class="content_container" style="${
|
|
512
|
-
${
|
|
513
|
-
<label ?editable=${
|
|
514
|
-
${
|
|
511
|
+
<div id="content_container" class="content_container" style="${_0xfca71e}">
|
|
512
|
+
${_0x452dd2[_0x183766(0x13c)](_0x11ae9e=>{const _0x5f4cf5=_0x183766;let {editable:_0x4dfc88=!0x1,mandatory:_0x3c1ec0=!0x1}=_0x11ae9e['record'],_0x4a88a8=_0x5a9253[_0x5f4cf5(0x146)]||{};return html`
|
|
513
|
+
<label ?editable=${_0x4dfc88}><span>${_0x3c1ec0?'*':''}${_0x11ae9e[_0x5f4cf5(0x20a)]}</span>
|
|
514
|
+
${_0x4dfc88?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
515
515
|
</label>
|
|
516
516
|
<ox-grid-field
|
|
517
517
|
.rowIndex=${0x0}
|
|
518
|
-
.column=${
|
|
519
|
-
.record=${
|
|
520
|
-
.value=${
|
|
521
|
-
?dirty=${!!
|
|
518
|
+
.column=${_0x11ae9e}
|
|
519
|
+
.record=${_0x5a9253}
|
|
520
|
+
.value=${_0x5a9253[_0x11ae9e[_0x5f4cf5(0x153)]]}
|
|
521
|
+
?dirty=${!!_0x4a88a8[_0x11ae9e[_0x5f4cf5(0x153)]]}
|
|
522
522
|
></ox-grid-field>
|
|
523
523
|
`;})}
|
|
524
524
|
</div>
|
|
525
525
|
`;})}
|
|
526
526
|
</div>
|
|
527
|
-
${
|
|
528
|
-
`;}static[
|
|
529
|
-
<div id="container" class="container" style="${
|
|
530
|
-
${
|
|
531
|
-
<label ?editable=${
|
|
532
|
-
${
|
|
527
|
+
${_0x3f7c41['isPage']?html``:MetaUiUtil[_0x3aa648(0x222)](_0x3f7c41)}
|
|
528
|
+
`;}static[a0_0x52ffe6(0x1e6)](_0x252898,_0x682dae,_0x14d406){const _0x1261b4=a0_0x52ffe6;let _0x1283ba=_0x1261b4(0x1d2);_0x252898[_0x1261b4(0x22f)]&&0x0!=_0x252898['column']||(_0x252898[_0x1261b4(0x22f)]=0x1),_0x252898[_0x1261b4(0x22f)]=parseInt((_0x252898[_0x1261b4(0x17b)]||{})[_0x1261b4(0x155)]||_0x252898[_0x1261b4(0x22f)]);for(let _0x2b4301=0x0;_0x2b4301<_0x252898[_0x1261b4(0x22f)];_0x2b4301++)_0x1283ba+='\x201fr\x202fr';return _0x1283ba+=';',html`
|
|
529
|
+
<div id="container" class="container" style="${_0x1283ba}">
|
|
530
|
+
${_0x682dae[_0x1261b4(0x13c)](_0x36dbd8=>{const _0x27bc16=_0x1261b4;let {editable:_0x17cb80=!0x1,mandatory:_0x4e1029=!0x1}=_0x36dbd8[_0x27bc16(0x11f)],_0x438af0=_0x14d406[_0x27bc16(0x146)]||{};return html`
|
|
531
|
+
<label ?editable=${_0x17cb80}><span>${_0x4e1029?'*':''}${_0x36dbd8['header_txt']}</span>
|
|
532
|
+
${_0x17cb80?html`<mwc-icon>edit</mwc-icon>`:''}
|
|
533
533
|
</label>
|
|
534
534
|
<ox-grid-field
|
|
535
535
|
.rowIndex=${0x0}
|
|
536
|
-
.column=${
|
|
537
|
-
.record=${
|
|
538
|
-
.value=${
|
|
539
|
-
?dirty=${!!
|
|
536
|
+
.column=${_0x36dbd8}
|
|
537
|
+
.record=${_0x14d406}
|
|
538
|
+
.value=${_0x14d406[_0x36dbd8[_0x27bc16(0x153)]]}
|
|
539
|
+
?dirty=${!!_0x438af0[_0x36dbd8[_0x27bc16(0x153)]]}
|
|
540
540
|
></ox-grid-field>
|
|
541
541
|
`;})}
|
|
542
542
|
</div>
|
|
543
|
-
${
|
|
544
|
-
`;}static[
|
|
543
|
+
${_0x252898[_0x1261b4(0x21c)]?html``:MetaUiUtil['getButtonContainer'](_0x252898)}
|
|
544
|
+
`;}static[a0_0x52ffe6(0x203)](_0x954dac){const _0x448159=a0_0x52ffe6;if(!_0x954dac)return html``;if(!_0x954dac['tabRenderConfig'])return html``;let _0x8f9898=_0x954dac[_0x448159(0x252)];return _0x954dac['currentTabKey']||(_0x954dac[_0x448159(0x256)]=_0x8f9898[0x0]?.[_0x448159(0x153)]||void 0x0),html`
|
|
545
545
|
<div class="tabs">
|
|
546
|
-
${
|
|
547
|
-
<div class="tab" ?activate="${
|
|
548
|
-
${
|
|
549
|
-
<span>${
|
|
546
|
+
${_0x8f9898[_0x448159(0x13c)](_0x414eb6=>{const _0x3fdd38=_0x448159;let _0x2ea562=TermsUtil['tLabel'](_0x414eb6[_0x3fdd38(0x163)]),_0x236581=_0x414eb6['name'];return html`
|
|
547
|
+
<div class="tab" ?activate="${_0x236581===_0x954dac[_0x3fdd38(0x256)]}" @click="${()=>_0x954dac[_0x3fdd38(0x256)]=_0x236581}">
|
|
548
|
+
${_0x414eb6[_0x3fdd38(0x27b)]?html`<mwc-icon>${_0x414eb6[_0x3fdd38(0x27b)]}</mwc-icon>`:html``}
|
|
549
|
+
<span>${_0x2ea562}</span>
|
|
550
550
|
</div>
|
|
551
551
|
`;})}
|
|
552
552
|
</div>
|
|
553
553
|
<div class="content-container">
|
|
554
|
-
${
|
|
555
|
-
<div class='tab-contents' style="${
|
|
556
|
-
${MetaUiUtil[
|
|
554
|
+
${_0x8f9898[_0x448159(0x13c)](_0x3040f7=>{const _0x2f1984=_0x448159;let _0x16ae95=_0x2f1984(0x26f);return _0x3040f7['name']==_0x954dac[_0x2f1984(0x256)]&&(_0x16ae95='display:flex'),html`
|
|
555
|
+
<div class='tab-contents' style="${_0x16ae95}">
|
|
556
|
+
${MetaUiUtil[_0x2f1984(0x1b7)](_0x954dac,_0x3040f7)}
|
|
557
557
|
</div>
|
|
558
558
|
`;})}
|
|
559
559
|
</div>
|
|
560
|
-
`;}static[
|
|
561
|
-
${0x0==
|
|
560
|
+
`;}static[a0_0x52ffe6(0x247)](_0x3081d4){const _0xf6c4e1=a0_0x52ffe6;let _0x4dfdbb=(_0x3081d4[_0xf6c4e1(0x17b)]||{})[_0xf6c4e1(0x26e)]||_0xf6c4e1(0x241),_0x406801=(_0x3081d4[_0xf6c4e1(0x17b)]||{})[_0xf6c4e1(0x205)]||_0xf6c4e1(0x1fe),_0x9d5f8='left_right'==_0x4dfdbb?_0xf6c4e1(0x1d2)+_0x406801+';':_0xf6c4e1(0x277)+_0x406801+';',_0x304b28=_0x3081d4['isPage']?UiUtil[_0xf6c4e1(0x25d)]():_0x3081d4[_0xf6c4e1(0x19b)];return html`
|
|
561
|
+
${0x0==_0x3081d4['useMasterFilterForm']?html``:html`
|
|
562
562
|
<div slot="headroom">
|
|
563
563
|
<div id="filters">
|
|
564
564
|
<ox-filters-form-base
|
|
565
565
|
id='ox-filters-form'
|
|
566
|
-
.filters=${
|
|
567
|
-
.value=${
|
|
568
|
-
@filters-change=${
|
|
566
|
+
.filters=${_0x3081d4[_0xf6c4e1(0x1f4)]||[]}
|
|
567
|
+
.value=${_0x3081d4[_0xf6c4e1(0x276)]||[]}
|
|
568
|
+
@filters-change=${_0x315a8b=>{const _0x5b4da5=_0xf6c4e1;_0x3081d4[_0x5b4da5(0x197)]?.[_0x5b4da5(0x1c1)]();}}
|
|
569
569
|
></ox-filters-form-base>
|
|
570
570
|
</div>
|
|
571
571
|
</div>
|
|
572
572
|
`}
|
|
573
|
-
<div id="container" class="container" style="${
|
|
573
|
+
<div id="container" class="container" style="${_0x9d5f8}">
|
|
574
574
|
<div class="container_detail">
|
|
575
|
-
${MetaApi[
|
|
576
|
-
${MetaUiUtil[
|
|
575
|
+
${MetaApi[_0xf6c4e1(0x14c)](_0x3081d4)}
|
|
576
|
+
${MetaUiUtil[_0xf6c4e1(0x222)](_0x3081d4)}
|
|
577
577
|
</div>
|
|
578
578
|
<div class="container_detail">
|
|
579
|
-
${!0x0===
|
|
579
|
+
${!0x0===_0x3081d4[_0xf6c4e1(0x24b)]?html`${!0x0===_0x3081d4[_0xf6c4e1(0x129)]?html`<meta-tab-element
|
|
580
580
|
id="detail"
|
|
581
|
-
route_name="${
|
|
582
|
-
.activityDataSet=${(
|
|
581
|
+
route_name="${_0x304b28}"
|
|
582
|
+
.activityDataSet=${(_0x3081d4['activityDataSet']||{})[_0xf6c4e1(0x12d)]}
|
|
583
583
|
is_readonly=true
|
|
584
584
|
is_activity=true
|
|
585
585
|
is_detail=true>
|
|
586
586
|
</meta-tab-element>`:html`<meta-tab-element
|
|
587
587
|
id="detail"
|
|
588
|
-
route_name="${
|
|
589
|
-
.activityDataSet=${(
|
|
588
|
+
route_name="${_0x304b28}"
|
|
589
|
+
.activityDataSet=${(_0x3081d4['activityDataSet']||{})[_0xf6c4e1(0x12d)]}
|
|
590
590
|
is_activity=true
|
|
591
591
|
is_detail=true>
|
|
592
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
592
|
+
</meta-tab-element>`}`:html`${!0x0===_0x3081d4[_0xf6c4e1(0x129)]?html`<meta-tab-element id="detail" route_name="${_0x304b28}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x304b28}" is_detail=true></meta-tab-element>`}`}
|
|
593
593
|
</div>
|
|
594
594
|
</div>
|
|
595
|
-
`;}static[
|
|
596
|
-
${0x0==
|
|
595
|
+
`;}static[a0_0x52ffe6(0x261)](_0x3fe25a){const _0x1bf045=a0_0x52ffe6;let _0x1ec6e6=_0x3fe25a[_0x1bf045(0x17b)][_0x1bf045(0x26e)]||_0x1bf045(0x241),_0x1c949e=_0x3fe25a[_0x1bf045(0x17b)][_0x1bf045(0x205)]||'50%\x2050%',_0x25dea9=_0x3fe25a['etcConfig'][_0x1bf045(0x25e)],_0x14e8e4=JSON[_0x1bf045(0x282)](_0x25dea9||'{}'),_0x2da697=_0x1bf045(0x1ee)==_0x1ec6e6?_0x1bf045(0x1d2)+_0x1c949e+';':'grid-template-rows:'+_0x1c949e+';';return MetaUiUtil[_0x1bf045(0x23b)](_0x3fe25a),MetaUiUtil['createDetailElement'](_0x3fe25a,_0x14e8e4),html`
|
|
596
|
+
${0x0==_0x3fe25a['useMasterFilterForm']?html``:html`
|
|
597
597
|
<div slot="headroom">
|
|
598
598
|
<div id="filters">
|
|
599
599
|
<ox-filters-form-base
|
|
600
600
|
id='ox-filters-form'
|
|
601
|
-
.filters=${
|
|
602
|
-
.value=${
|
|
603
|
-
@filters-change=${
|
|
601
|
+
.filters=${_0x3fe25a[_0x1bf045(0x1f4)]||[]}
|
|
602
|
+
.value=${_0x3fe25a['searchFieldValues']||[]}
|
|
603
|
+
@filters-change=${_0x55312a=>{const _0x26e0c6=_0x1bf045;_0x3fe25a[_0x26e0c6(0x1c1)]();}}
|
|
604
604
|
></ox-filters-form-base>
|
|
605
605
|
</div>
|
|
606
606
|
</div>
|
|
607
607
|
`}
|
|
608
|
-
<div id="container" class="container" style="${
|
|
608
|
+
<div id="container" class="container" style="${_0x2da697}">
|
|
609
609
|
<div class="container_detail">
|
|
610
|
-
${
|
|
610
|
+
${_0x3fe25a[_0x1bf045(0x16d)]}
|
|
611
611
|
</div>
|
|
612
612
|
<div class="container_detail">
|
|
613
|
-
${''==
|
|
614
|
-
${
|
|
613
|
+
${''==_0x14e8e4[_0x1bf045(0x200)]||_0x1bf045(0x1e1)==_0x14e8e4[_0x1bf045(0x200)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x14e8e4[_0x1bf045(0x163)])}</h2>`}
|
|
614
|
+
${_0x3fe25a[_0x1bf045(0x1fd)]}
|
|
615
615
|
</div>
|
|
616
616
|
</div>
|
|
617
|
-
`;}static[
|
|
618
|
-
${0x0==
|
|
617
|
+
`;}static[a0_0x52ffe6(0x18b)](_0x25667f){const _0x1e2c9c=a0_0x52ffe6;return MetaUiUtil[_0x1e2c9c(0x23b)](_0x25667f),html`
|
|
618
|
+
${0x0==_0x25667f['useMasterFilterForm']?html``:html`
|
|
619
619
|
<div slot="headroom">
|
|
620
620
|
<div id="filters">
|
|
621
621
|
<ox-filters-form-base
|
|
622
622
|
id='ox-filters-form'
|
|
623
|
-
.filters=${
|
|
624
|
-
.value=${
|
|
625
|
-
@filters-change=${
|
|
623
|
+
.filters=${_0x25667f[_0x1e2c9c(0x1f4)]||[]}
|
|
624
|
+
.value=${_0x25667f[_0x1e2c9c(0x276)]||[]}
|
|
625
|
+
@filters-change=${_0x256ddf=>{const _0x17a621=_0x1e2c9c;_0x25667f[_0x17a621(0x1c1)]();}}
|
|
626
626
|
></ox-filters-form-base>
|
|
627
627
|
</div>
|
|
628
628
|
</div>
|
|
629
629
|
`}
|
|
630
630
|
<div id="container" class="container" >
|
|
631
|
-
${
|
|
631
|
+
${_0x25667f[_0x1e2c9c(0x16d)]}
|
|
632
632
|
</div>
|
|
633
|
-
`;}static[
|
|
634
|
-
${0x0==
|
|
633
|
+
`;}static[a0_0x52ffe6(0x1c3)](_0x4b9d97){const _0x1175d4=a0_0x52ffe6;let _0x426e7e=_0x4b9d97[_0x1175d4(0x17b)][_0x1175d4(0x26e)]||_0x1175d4(0x241),_0x285e5a=_0x4b9d97[_0x1175d4(0x17b)]['master_detail_size']||_0x1175d4(0x1fe),_0xba7ec1=_0x4b9d97[_0x1175d4(0x17b)]['master_detail_element'],_0x3e43a2=JSON[_0x1175d4(0x282)](_0xba7ec1||'{}'),_0x201145=_0x1175d4(0x1ee)==_0x426e7e?_0x1175d4(0x1d2)+_0x285e5a+';':_0x1175d4(0x277)+_0x285e5a+';';return MetaUiUtil[_0x1175d4(0x1c4)](_0x4b9d97,_0x3e43a2),html`
|
|
634
|
+
${0x0==_0x4b9d97['useMasterFilterForm']?html``:html`
|
|
635
635
|
<div slot="headroom">
|
|
636
636
|
<div id="filters">
|
|
637
637
|
<ox-filters-form-base
|
|
638
638
|
id='ox-filters-form'
|
|
639
|
-
.filters=${
|
|
640
|
-
.value=${
|
|
641
|
-
@filters-change=${
|
|
639
|
+
.filters=${_0x4b9d97['searchFields']||[]}
|
|
640
|
+
.value=${_0x4b9d97[_0x1175d4(0x276)]||[]}
|
|
641
|
+
@filters-change=${_0x54fb51=>{const _0x7ba739=_0x1175d4;_0x4b9d97[_0x7ba739(0x197)]?.[_0x7ba739(0x1c1)]();}}
|
|
642
642
|
></ox-filters-form-base>
|
|
643
643
|
</div>
|
|
644
644
|
</div>
|
|
645
645
|
`}
|
|
646
|
-
<div id="container" class="container" style="${
|
|
646
|
+
<div id="container" class="container" style="${_0x201145}">
|
|
647
647
|
<div class="container_detail">
|
|
648
|
-
${MetaApi[
|
|
649
|
-
${MetaUiUtil[
|
|
648
|
+
${MetaApi[_0x1175d4(0x14c)](_0x4b9d97)}
|
|
649
|
+
${MetaUiUtil[_0x1175d4(0x222)](_0x4b9d97)}
|
|
650
650
|
</div>
|
|
651
651
|
<div class="container_detail">
|
|
652
|
-
${''==
|
|
653
|
-
${
|
|
652
|
+
${''==_0x3e43a2[_0x1175d4(0x200)]||'meta-tab-element'==_0x3e43a2[_0x1175d4(0x200)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1175d4(0x173)](''+_0x3e43a2['display'])}</h2>`}
|
|
653
|
+
${_0x4b9d97[_0x1175d4(0x1fd)]}
|
|
654
654
|
</div>
|
|
655
655
|
</div>
|
|
656
|
-
`;}static[
|
|
656
|
+
`;}static['createDetailElement'](_0x2607e2,_0x17a174){const _0x4bd4a0=a0_0x52ffe6;if(!_0x2607e2[_0x4bd4a0(0x1fd)]){let _0x18cfdf=_0x17a174[_0x4bd4a0(0x153)]?_0x17a174['name']:_0x4bd4a0(0x12d),_0x2398a='<'+_0x17a174[_0x4bd4a0(0x200)]+_0x4bd4a0(0x1df)+_0x18cfdf+_0x4bd4a0(0x21a)+_0x18cfdf+'\x22\x20route_name=\x22'+_0x17a174[_0x4bd4a0(0x281)]+'\x22\x20'+(!0x0===_0x2607e2[_0x4bd4a0(0x24b)]?'is_activity=true':'')+'\x20'+(!0x0===_0x2607e2['is_readonly']?_0x4bd4a0(0x235):'')+_0x4bd4a0(0x20e)+_0x17a174[_0x4bd4a0(0x200)]+'>';_0x2607e2[_0x4bd4a0(0x1fd)]=UiUtil[_0x4bd4a0(0x20d)](_0x2398a),_0x2607e2[_0x4bd4a0(0x1fd)][_0x4bd4a0(0x11d)]=(_0x2607e2[_0x4bd4a0(0x11d)]||{})[_0x4bd4a0(0x12d)],_0x2607e2[_0x4bd4a0(0x229)]['toLowerCase']()[_0x4bd4a0(0x27a)](_0x4bd4a0(0x19f))&&(_0x2607e2[_0x4bd4a0(0x1fd)][_0x4bd4a0(0x258)]=_0x2607e2);}}static[a0_0x52ffe6(0x23b)](_0x219ab1){const _0x1644ca=a0_0x52ffe6;if(!_0x219ab1[_0x1644ca(0x16d)]&&_0x219ab1[_0x1644ca(0x26c)]){let _0x43f0fa=_0x1644ca(0x274),_0x17fd59=_0x1644ca(0x234)+_0x43f0fa+_0x1644ca(0x21a)+_0x43f0fa+_0x1644ca(0x1dd)+_0x219ab1[_0x1644ca(0x25d)]+'\x22\x20'+(!0x0===_0x219ab1[_0x1644ca(0x24b)]?_0x1644ca(0x13b):'')+'\x20'+(!0x0===_0x219ab1['is_readonly']?'is_readonly=true':'')+_0x1644ca(0x214);_0x219ab1[_0x1644ca(0x16d)]=UiUtil['htmlToElement'](_0x17fd59),_0x219ab1[_0x1644ca(0x16d)][_0x1644ca(0x11d)]=(_0x219ab1[_0x1644ca(0x11d)]||{})[_0x1644ca(0x274)],_0x219ab1['masterElement'][_0x1644ca(0x232)]=!0x0,_0x219ab1[_0x1644ca(0x16d)]['mainFilterForm']=_0x219ab1[_0x1644ca(0x26c)],_0x219ab1['masterElement']['rootElement']=_0x219ab1;}}static[a0_0x52ffe6(0x1b7)](_0x38d8c6,_0x3322fb){const _0x11309a=a0_0x52ffe6;if(_0x38d8c6['tabElements']||(_0x38d8c6['tabElements']={}),Object[_0x11309a(0x159)](_0x38d8c6[_0x11309a(0x16c)])[_0x11309a(0x1b8)](_0x1857c1=>_0x1857c1==_0x3322fb[_0x11309a(0x153)])['length']>0x0)return _0x38d8c6[_0x11309a(0x16c)][_0x3322fb[_0x11309a(0x153)]];let _0x24cff1='<'+_0x3322fb[_0x11309a(0x200)]+'\x20id=\x27'+_0x3322fb[_0x11309a(0x153)]+'\x27\x20route_name=\x27'+_0x3322fb['menu']+_0x11309a(0x27d)+(!0x0===_0x38d8c6[_0x11309a(0x24b)]?_0x11309a(0x13b):'')+'\x20'+(!0x0===_0x38d8c6[_0x11309a(0x129)]?_0x11309a(0x235):'')+'\x20is_detail=true></'+_0x3322fb[_0x11309a(0x200)]+'>',_0x5707fd=UiUtil['htmlToElement'](_0x24cff1);return _0x5707fd[_0x11309a(0x11d)]=(_0x38d8c6[_0x11309a(0x11d)]||{})[_0x3322fb['name']],_0x38d8c6['parent_id']&&(_0x5707fd[_0x11309a(0x269)]=_0x38d8c6['parent_id']),_0x38d8c6[_0x11309a(0x258)]?_0x5707fd['rootElement']=_0x38d8c6[_0x11309a(0x258)]:_0x5707fd[_0x11309a(0x1fd)]=_0x38d8c6,!0x1===_0x3322fb[_0x11309a(0x1c0)]&&(_0x5707fd[_0x11309a(0x216)]=!0x1),_0x3322fb[_0x11309a(0x1cd)]&&(_0x5707fd[_0x11309a(0x156)]=_0x3322fb[_0x11309a(0x1cd)]),_0x38d8c6[_0x11309a(0x16c)][_0x3322fb['name']]=_0x5707fd,_0x5707fd;}static[a0_0x52ffe6(0x12f)](_0x1dc347){const _0x2b63b2=a0_0x52ffe6;let _0x47753c=_0x1dc347[_0x2b63b2(0x1bb)],_0x59aa75=_0x1dc347[_0x2b63b2(0x133)],_0x575b9a=_0x1dc347[_0x2b63b2(0x1ae)],_0x5a9034=JSON[_0x2b63b2(0x282)]((_0x1dc347[_0x2b63b2(0x17b)]||{})[_0x2b63b2(0x171)]||_0x2b63b2(0x165));return 0x0==_0x59aa75?html`
|
|
657
657
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
658
|
-
${this[
|
|
658
|
+
${this[_0x2b63b2(0x14a)](_0x1dc347)}
|
|
659
659
|
</div>
|
|
660
660
|
`:html`
|
|
661
661
|
<div slot="headroom" style="flex-direction: column;padding: 0px;border-top: none;box-shadow: none;background: none;align-items: stretch;">
|
|
662
662
|
<div slot="headroom">
|
|
663
663
|
<div id="filters"><ox-filters-form></ox-filters-form></div>
|
|
664
|
-
${
|
|
664
|
+
${_0x5a9034?html`
|
|
665
665
|
<div id="sorters">
|
|
666
|
-
<mwc-icon @click=${
|
|
666
|
+
<mwc-icon @click=${_0x150a7a=>{const _0x598443=_0x2b63b2,_0x586b7e=_0x150a7a[_0x598443(0x17a)];_0x586b7e[_0x598443(0x1d9)][_0x598443(0x14f)]({'right':0x0,'top':_0x586b7e[_0x598443(0x13e)]+_0x586b7e[_0x598443(0x1b9)]});}}
|
|
667
667
|
>sort</mwc-icon>
|
|
668
668
|
<ox-popup id="sorter-control">
|
|
669
669
|
<ox-sorters-control></ox-sorters-control>
|
|
670
670
|
</ox-popup>
|
|
671
671
|
</div>
|
|
672
672
|
`:html``}
|
|
673
|
-
${MetaUiUtil[
|
|
673
|
+
${MetaUiUtil[_0x2b63b2(0x11c)](_0x1dc347)}
|
|
674
674
|
<ox-record-creator
|
|
675
675
|
id="add"
|
|
676
|
-
?hidden="${!
|
|
677
|
-
.callback=${
|
|
676
|
+
?hidden="${!_0x47753c}"
|
|
677
|
+
.callback=${_0x575b9a}>
|
|
678
678
|
<button>
|
|
679
679
|
<mwc-icon>add</mwc-icon>
|
|
680
680
|
</button>
|
|
681
681
|
</ox-record-creator>
|
|
682
682
|
</div>
|
|
683
|
-
${this['getGridColumnPersonalizeButton'](
|
|
683
|
+
${this['getGridColumnPersonalizeButton'](_0x1dc347)}
|
|
684
684
|
</div>
|
|
685
|
-
`;}static[
|
|
685
|
+
`;}static[a0_0x52ffe6(0x14a)](_0x2da1ab){const _0x4a4929=a0_0x52ffe6;return _0x4a4929(0x19a)!=_0x2da1ab[_0x4a4929(0x1d8)]?html``:!0x0!==_0x2da1ab[_0x4a4929(0x24b)]?html`
|
|
686
686
|
<div id="grist-personal">
|
|
687
|
-
<mwc-icon @click=${
|
|
687
|
+
<mwc-icon @click=${_0x31393c=>{const _0x39a619=_0x4a4929;let _0x133bfb=MetaApi['createCustomElement'](_0x39a619(0x217),_0x39a619(0x217));_0x133bfb[_0x39a619(0x1a1)]=_0x31393c[_0x39a619(0x17a)][_0x39a619(0x1db)]['parentElement'][_0x39a619(0x1db)],_0x133bfb[_0x39a619(0x254)]=_0x2da1ab[_0x39a619(0x254)],MetaApi['openPopupByElement'](TermsUtil[_0x39a619(0x173)]('grid-column-personalize'),_0x39a619(0x230),_0x133bfb,!0x1);}}
|
|
688
688
|
>settings</mwc-icon>
|
|
689
689
|
</div>
|
|
690
|
-
`:html``;}static[
|
|
690
|
+
`:html``;}static[a0_0x52ffe6(0x11c)](_0x16a8d9){const _0x527718=a0_0x52ffe6;return ValueUtil['isEmpty'](_0x16a8d9['gridViewOptions'])||0x1==_0x16a8d9[_0x527718(0x181)][_0x527718(0x246)]?html``:html`
|
|
691
691
|
<div id="modes">
|
|
692
|
-
${
|
|
693
|
-
${
|
|
694
|
-
${
|
|
692
|
+
${_0x16a8d9[_0x527718(0x181)]['includes'](_0x527718(0x19a))?html`<mwc-icon @click="${()=>_0x16a8d9[_0x527718(0x1d8)]=_0x527718(0x19a)}" ?active="${_0x527718(0x19a)==_0x16a8d9[_0x527718(0x1d8)]}">grid_on</mwc-icon>`:''}
|
|
693
|
+
${_0x16a8d9['gridViewOptions'][_0x527718(0x18e)](_0x527718(0x239))?html`<mwc-icon @click="${()=>_0x16a8d9[_0x527718(0x1d8)]=_0x527718(0x239)}" ?active="${_0x527718(0x239)==_0x16a8d9[_0x527718(0x1d8)]}">format_list_bulleted</mwc-icon>`:''}
|
|
694
|
+
${_0x16a8d9[_0x527718(0x181)][_0x527718(0x18e)](_0x527718(0x22a))?html`<mwc-icon @click="${()=>_0x16a8d9['gridMode']=_0x527718(0x22a)}" ?active="${_0x527718(0x22a)==_0x16a8d9[_0x527718(0x1d8)]}">apps</mwc-icon>`:''}
|
|
695
695
|
</div>
|
|
696
|
-
`;}static[
|
|
696
|
+
`;}static[a0_0x52ffe6(0x222)](_0x48127d){const _0x1d1831=a0_0x52ffe6;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x1d1831(0x15c)](_0x48127d)}</div>`;}}
|