@things-factory/meta-ui 6.1.24 → 6.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/bootstrap.js +3 -1
- package/client/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +10 -10
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +6 -6
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
- package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
- package/client/component/popup/code-input-editor-popup.js +10 -10
- package/client/component/popup/meta-object-selector-popup.js +10 -10
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +5 -5
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +103 -103
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +12 -12
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +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_0x3abc2d=a0_0x55f2;(function(_0x341234,_0x45ada1){const _0x176428=a0_0x55f2,_0x490856=_0x341234();while(!![]){try{const _0x42f2b0=-parseInt(_0x176428(0x1ff))/0x1+-parseInt(_0x176428(0x23e))/0x2+parseInt(_0x176428(0x19c))/0x3+parseInt(_0x176428(0x1a2))/0x4+parseInt(_0x176428(0x167))/0x5+-parseInt(_0x176428(0x23b))/0x6*(-parseInt(_0x176428(0x1ac))/0x7)+-parseInt(_0x176428(0x25f))/0x8*(parseInt(_0x176428(0x242))/0x9);if(_0x42f2b0===_0x45ada1)break;else _0x490856['push'](_0x490856['shift']());}catch(_0x3eb2ae){_0x490856['push'](_0x490856['shift']());}}}(a0_0x2918,0xe9d5a));import a0_0x3df595 from'graphql-tag';function a0_0x55f2(_0x53b34c,_0x59c69e){const _0x29189d=a0_0x2918();return a0_0x55f2=function(_0x55f2f4,_0x1e93d0){_0x55f2f4=_0x55f2f4-0x122;let _0x49be1e=_0x29189d[_0x55f2f4];return _0x49be1e;},a0_0x55f2(_0x53b34c,_0x59c69e);}import{client}from'@operato/graphql';import a0_0x4714ef from'moment-timezone';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';function a0_0x2918(){const _0x54476e=['hour','14157765kpCPcX','tabRenderConfig','title','year','queryName','split','gristConfigSet','parseGridConfigSet','help','\x20id=\x22','tMenu','filter','\x20\x0a\x20}','\x22\x20name=\x22','\x20{\x20','left_right','stringify','mainFilterForm','search','startsWith','operator','useButtonExport','htmlToElement','meta-form-element','getGristMetaObjectOptions','getGridViewOption','findIndex','args','gridDeskMode','8VovdUX','basic','dec','YYYY-MM-DD','defaultPageConfig','getBasicFormHtml','value_reference','getBasicGristPageProperties','icon','large','currentTabKey','subtract','logic','value','findMenuMetaByRouting','gridEmphasized','find_one_func','emphasis','master_detail_element','<mwc-button\x20label=\x22','getButtonContainer','searchByPagination','after_set_fields','getGristTabHtml','values','column','is_readonly=true','row-selector','option','currentRouting','createDetailElement','getGridColumnSet','getGridOptionSet','nameField','gqlInfo','getMenuMetaData','getMasterDetailTopDownGristStyle','grid-template-rows:','selectorName','formColumnConfig','sort','button','month','\x0aid\x0aname\x0adescription','meta-','50%\x2050%','findMenuMeta','export','location','pages/hgistory/history-copy-list-popup.js','model','open','query','getMasterDetailLeftRightGristStyle','pages','getGristPersonalizedStyles','getGristEmphasizedStyles','push','recordCreationCallback','after','fieldChangeHandlers','getCodeSelectorData','gql','getGristCodeSelectorColumnConfig','pages/hgistory/history-json-list-popup.js','buttonConfig','gridViewOptions','format','options','parentElement','desc','setParentId','mutation','select','open_param','arguments[1]','getCustomButtonContainerStyles','popup','fontColor','use_grid_sort_button','use_row_checker','getBasicGristStyles','infinityPage','grist','keys','gridMode','YYYY-MM-DD\x20HH:mm:ss','isArray','value_is_not_exist','code','setGridColumnSearchOption','is_activity','getCodeByScenario','getBasicTabContent','handlers','createCustomElement','backgroundColor','datetime-local','getGristPaginationCustomConfig','getBasicFormHtmlOnOption','gristId','name','getButtonActionHandler','object','error','routing','createMasterElement','default_form_column','getBasicGristHtml','string','isEmpty','config','pageNavigate','masterElement','text.nothing_selected','2306660yCAfMZ','list','getBasicFormHtmlNoOption','rootElement','forEach','gristButtonPassParam','skip_fields','service','getSelectColumns','grist_one','hidden','length','compareObjectValues','bind','patchesForUpdateMultiple','header','getGristSelectorColumnConfig','menus','multiple','display:none','startOf','getGristSearchColumnConfig','unlimited','menuInfo','isGridButtonExist','param_field','searchFieldValues','openDynamicPopup','url','display','includeMainList','isPage','resource-object','replace','shadowRoot','pass_field','getGristSearchCodeColumnConfig','getGridRowSet','isMobileEnv','confirm','add','openPopupByElement','raised','tabElements','tText','map','\x201fr\x202fr','grid_column','pass_param','getGristColumnConfig3','gridMobileMode','getObjctColumnSelectFields','getMasterDetailHtml','3978444koOLlN','getParams','menuId','text.there_is_no_selected_items','grid','grist_selected','3980340iiRIym','scenario','getMainTabHtml','info','left','useButtonImport','findMenuGridPersnalTemplate','label','sorters','top-down','10947566NzObYH','getGridDetailHtml','title.info','etcConfig','invalid\x20license\x20key','meta-grist-tab-','basicArgs','page','master','editable','min','commonButtonCallScenario','getGristGuttersConfig','type','offsetTop','referenceField','getGristSelectableConfig','board','useFilterForm','grid-column-personalize','entity','midium','codeField','data_history_list','CARD','tagname','id,template','use_filter_form','tButton','tTitle','getBasicMasterDetailGristStyle','\x20is_detail=true></','selected','editor','arguments[0].','gridColumnConfig','meta-code-selector','gristButtonHandler','configGrist','getBasicGristTabStyles','getCodeByEntity','date','getGridColumnPersonalizeButton','getBasicMasterDetailStyles','sec','getGridButtonSet','-code-','getGristHiddenColumnConfig','route_name','history_copy','personal-column-selector','getContainerButtons','grid-template-columns:','tLabel','getBasicTabHtml','formConfigSet','tagName','LIST','master_detail_size','text.grid_data_is_empty','dense','showAlertPopup','dispField','floor','findOne','tError','customButtonHandler','\x22\x20route_name=\x22','detailElement','is_readonly','master_detail_type','relation','gristButtonValueReference','self','getMenuMeta','width','getGridListSet','parse','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','title_detail','meta-object-selector','second','filters','119835tjyePw','import','\x20is_detail=true\x20style=\x22flex:1;\x22></','indexOf','header_txt','GRID','formRenderConfig','\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22','searchFields','text.grid_is_not_exist','errors','classifier','detail','\x27\x20route_name=\x27','resource-code-selector','menu','is_activity=true','row','minute','activityDataSet','commonButtonOpenPopup','change_event_handler','record','getBasicFormStyles','isNotEmpty','\x20id=\x27','gridConfig','useMasterFilterForm','day','filterForm','getQueryFilters','__dirtyfields__','data','history_json','records','fetch','getBasicTabDetailStyles','searchConfig','useButtonAdd','find','createButtonElement','form','pages/meta-form-element.js','offsetHeight','display:flex','meta-tab-element','template','nextElementSibling','filterFields','rank','text.search_form_is_not_exist','filter_from','querySelector','false','includes','getBasicMainTabStyles','gutter','param','getContextButtons','currentTarget','6eYYiGG','column_list','toLowerCase','3391594gPQDdT','<meta-tab-element\x20id=\x22','parent_id'];a0_0x2918=function(){return _0x54476e;};return a0_0x2918();}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[a0_0x3abc2d(0x122)](_0x4d3490){const _0x6146aa=a0_0x3abc2d;let _0x341ece=await ServiceUtil[_0x6146aa(0x1ec)](_0x6146aa(0x20e),_0x4d3490,_0x6146aa(0x22d));if(!_0x341ece)throw new Error(TermsUtil[_0x6146aa(0x193)](_0x6146aa(0x14c),{'value':TermsUtil[_0x6146aa(0x24c)]('menu')+'\x20'+_0x4d3490}));if(!_0x341ece[_0x6146aa(0x22d)])throw new Error(TermsUtil['tText']('value_is_not_exist',{'value':TermsUtil[_0x6146aa(0x24c)](_0x6146aa(0x20e))+'\x20'+TermsUtil['tLabel'](_0x6146aa(0x126))}));return this['menuId']=_0x4d3490,JSON[_0x6146aa(0x1f9)](_0x341ece['template']);}static async[a0_0x3abc2d(0x282)](_0x4a7334){const _0xb70b56=a0_0x3abc2d;if((await client[_0xb70b56(0x128)]({'query':a0_0x3df595`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))[_0x11ead0(0x33d)])return;let _0x1ee66=[{'name':_0x11ead0(0x2cb),'operator':'eq','value':_0x3c0fa9}];return await ServiceUtil[_0x11ead0(0x290)](_0x11ead0(0x253),_0x1ee66,null,0x0,0x0,_0x11ead0(0x321));}static async[a0_0x29bc3f(0x348)](_0x4e79f3,_0x5bce42){const _0x760091=a0_0x29bc3f;let _0x401574,_0x52e97d=await MetaUiUtil[_0x760091(0x316)](_0x5bce42);if(_0x52e97d&&_0x52e97d['records']&&0x0!=_0x52e97d[_0x760091(0x320)][_0x760091(0x31c)]?(_0x401574=_0x52e97d['records'][0x0],!_0x401574[_0x760091(0x216)]&&_0x4e79f3[_0x760091(0x33e)]&&(_0x401574[_0x760091(0x216)]=_0x4e79f3[_0x760091(0x33e)])):_0x4e79f3[_0x760091(0x33e)]&&(_0x401574={'id':_0x5bce42,'template':_0x4e79f3[_0x760091(0x33e)]}),!_0x401574)throw new Error(TermsUtil[_0x760091(0x230)](_0x760091(0x241),{'value':TermsUtil['tMenu']('menu')+'\x20'+_0x5bce42}));if(!_0x401574['template'])throw new Error(TermsUtil[_0x760091(0x230)]('value_is_not_exist',{'value':TermsUtil[_0x760091(0x30b)](_0x760091(0x1fd))+'\x20'+TermsUtil[_0x760091(0x305)](_0x760091(0x286))}));return this[_0x760091(0x27c)]=_0x401574['id'],JSON[_0x760091(0x2e7)](MetaCrypto[_0x760091(0x32f)](_0x401574[_0x760091(0x216)]));}static[a0_0x29bc3f(0x308)](){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':_0x4e0c20=>Boolean(_0x4e0c20)},'is_popup':{'type':Boolean,'converter':_0x57d982=>Boolean(_0x57d982)},'is_activity':{'type':Boolean,'converter':_0xed77fd=>Boolean(_0xed77fd)},'is_readonly':{'type':Boolean,'converter':_0x13397a=>Boolean(_0x13397a)}};}static async['getMenuMeta'](_0x5daa11){const _0x1fafa8=a0_0x29bc3f;if(0x0==store['getState']()[_0x1fafa8(0x2c5)][_0x1fafa8(0x1f2)])return void document[_0x1fafa8(0x2f1)](new CustomEvent(_0x1fafa8(0x224),{'detail':{'level':_0x1fafa8(0x254),'message':TermsUtil[_0x1fafa8(0x2b3)]('invalid\x20license\x20key')}}));let _0x1302d1=_0x5daa11[_0x1fafa8(0x231)]?UiUtil['currentRouting']():_0x5daa11['route_name'];_0x5daa11['currentRouting']=_0x1302d1;let _0x5eaea3=await MetaUiUtil[_0x1fafa8(0x348)](_0x5daa11,_0x1302d1);return!0x0===_0x5daa11[_0x1fafa8(0x1e5)]&&(_0x5eaea3[_0x1fafa8(0x228)]['option'][_0x1fafa8(0x31b)]=!0x1,_0x5eaea3[_0x1fafa8(0x228)][_0x1fafa8(0x215)][_0x1fafa8(0x206)]=_0x1fafa8(0x339),_0x5eaea3[_0x1fafa8(0x228)][_0x1fafa8(0x2d0)]=!0x1,_0x5eaea3[_0x1fafa8(0x228)][_0x1fafa8(0x1ee)]=[],_0x5eaea3[_0x1fafa8(0x1ee)]=_0x5eaea3['button']['filter'](_0x2e6771=>_0x1fafa8(0x265)==_0x2e6771['name'])),!0x0===_0x5daa11[_0x1fafa8(0x298)]&&(_0x5eaea3['grid_column'][_0x1fafa8(0x1f4)](_0x29724b=>{_0x29724b['editable']=!0x1;}),_0x5eaea3[_0x1fafa8(0x1ee)]=_0x5eaea3[_0x1fafa8(0x1ee)][_0x1fafa8(0x20b)](_0x5d489d=>'add'!=_0x5d489d['name'])),!0x1===_0x5daa11[_0x1fafa8(0x2d0)]&&(_0x5eaea3[_0x1fafa8(0x228)][_0x1fafa8(0x2d0)]=!0x1),_0x5eaea3['grid_column']['filter'](_0x4be838=>_0x4be838[_0x1fafa8(0x2c4)])[_0x1fafa8(0x1f4)](_0x5d3ab8=>{const _0xfe59ea=_0x1fafa8;_0x5daa11[_0xfe59ea(0x279)]||(_0x5daa11[_0xfe59ea(0x279)]={}),_0x5daa11[_0xfe59ea(0x279)][_0x5d3ab8[_0xfe59ea(0x24e)]]=_0x5d3ab8[_0xfe59ea(0x2c4)];}),_0x5eaea3[_0x1fafa8(0x280)][_0x1fafa8(0x1f4)](_0x3dcb83=>{const _0x2f073d=_0x1fafa8;[_0x2f073d(0x303),_0x2f073d(0x2c6)][_0x2f073d(0x2ef)](_0x3dcb83['type'])?_0x3dcb83['type']=_0x2f073d(0x2cc):[_0x2f073d(0x2a7)][_0x2f073d(0x2ef)](_0x3dcb83[_0x2f073d(0x1eb)])&&(_0x3dcb83[_0x2f073d(0x1eb)]=_0x2f073d(0x336));}),_0x5eaea3;}static[a0_0x29bc3f(0x31a)](..._0xc67a8f){return{'pages':_0xc67a8f};}static[a0_0x29bc3f(0x23a)](_0x3cc1c7,_0x365c03){const _0x4a5ef7=a0_0x29bc3f;let _0x1d27e8=[{'type':'gutter','gutterName':'dirty'},{'type':_0x4a5ef7(0x2ae),'gutterName':'sequence'}];return _0x3cc1c7&&_0x1d27e8['push']({'type':_0x4a5ef7(0x2ae),'gutterName':_0x4a5ef7(0x2ce),'multiple':_0x365c03}),_0x1d27e8;}static[a0_0x29bc3f(0x25a)](_0x503a80){return{'selectable':{'multiple':_0x503a80}};}static async['parseGridConfigSet'](_0x1cfd13){const _0x50e362=a0_0x29bc3f;_0x1cfd13['gqlInfo']||(_0x1cfd13['gqlInfo']={}),_0x1cfd13['gqlInfo'][_0x50e362(0x276)]||(_0x1cfd13[_0x50e362(0x1e4)][_0x50e362(0x276)]={}),_0x1cfd13[_0x50e362(0x1e4)][_0x50e362(0x276)][_0x50e362(0x330)]||(_0x1cfd13[_0x50e362(0x1e4)]['query'][_0x50e362(0x330)]={}),_0x1cfd13[_0x50e362(0x1e4)][_0x50e362(0x2e1)]||(_0x1cfd13['gqlInfo']['mutation']={}),_0x1cfd13[_0x50e362(0x1e4)]['mutation'][_0x50e362(0x2c2)]||(_0x1cfd13[_0x50e362(0x1e4)]['mutation'][_0x50e362(0x2c2)]={}),_0x1cfd13[_0x50e362(0x1e4)][_0x50e362(0x2e1)][_0x50e362(0x2c2)][_0x50e362(0x2f4)]||(_0x1cfd13[_0x50e362(0x1e4)][_0x50e362(0x2e1)]['multiple'][_0x50e362(0x2f4)]=[]);let _0x29f702=MetaUiUtil[_0x50e362(0x2b4)](_0x1cfd13),_0x46e9be=MetaUiUtil[_0x50e362(0x2c8)](_0x1cfd13),_0x73d3a1=MetaUiUtil[_0x50e362(0x304)](_0x1cfd13),_0x29d77=MetaUiUtil[_0x50e362(0x200)](_0x1cfd13),_0x1edaeb=await MetaUiUtil[_0x50e362(0x225)](_0x1cfd13);_0x1edaeb[_0x50e362(0x20b)](_0x52f9af=>[_0x50e362(0x2cc)][_0x50e362(0x2ef)](_0x52f9af['type']))['forEach'](_0x46a394=>{const _0x5615bd=_0x50e362;_0x1cfd13[_0x5615bd(0x2ee)]['filter'](_0x57aac0=>_0x57aac0[_0x5615bd(0x24e)]==_0x46a394['name'])[_0x5615bd(0x1f4)](_0x4cb01c=>{const _0x304bee=_0x5615bd,_0x3d225b=_0x46a394[_0x304bee(0x2a8)][_0x304bee(0x314)],_0x192751=_0x3d225b[_0x304bee(0x285)]?_0x3d225b[_0x304bee(0x285)]:_0x46a394[_0x304bee(0x24e)]+'Id',_0x1c1fc9=_0x1cfd13[_0x304bee(0x2ee)]['findIndex'](_0x569b6c=>_0x569b6c[_0x304bee(0x24e)]==_0x46a394[_0x304bee(0x24e)]);_0x1edaeb[_0x304bee(0x338)]({'type':_0x304bee(0x2cc),'header':_0x46a394[_0x304bee(0x297)],'name':_0x192751,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x3d225b}}),_0x1cfd13[_0x304bee(0x1e4)][_0x304bee(0x276)][_0x304bee(0x330)][_0x192751]='x',_0x1cfd13[_0x304bee(0x1e4)][_0x304bee(0x2e1)][_0x304bee(0x2c2)][_0x304bee(0x2f4)][_0x304bee(0x338)](_0x192751),_0x1cfd13['searchConfig'][_0x1c1fc9][_0x304bee(0x24e)]=_0x192751,_0x1cfd13[_0x304bee(0x2ee)][_0x1c1fc9][_0x304bee(0x1eb)]=_0x304bee(0x2cc);});});let _0xb85411=MetaUiUtil[_0x50e362(0x23a)](_0x29f702[_0x50e362(0x31b)],_0x73d3a1['selectable'][_0x50e362(0x2c2)]);if(0x1==_0x1cfd13[_0x50e362(0x2bd)]&&(_0x1edaeb=MetaUiUtil[_0x50e362(0x329)](_0x1cfd13,_0x1edaeb)),_0x1cfd13[_0x50e362(0x2e3)]&&(_0x1cfd13[_0x50e362(0x2e3)]&&_0x1cfd13['gridEmphasized']['row']&&_0x1cfd13[_0x50e362(0x2e3)][_0x50e362(0x2f3)][_0x50e362(0x31c)]>0x0&&(_0x73d3a1['classifier']=function(_0x457d86,_0x3e4ce5){const _0x4e6824=_0x50e362;let _0x1d79d0=_0x1cfd13[_0x4e6824(0x2e3)]['row'];for(let _0x5448b7=0x0;_0x5448b7<_0x1d79d0[_0x4e6824(0x31c)];_0x5448b7++)if(eval(''+_0x1d79d0[_0x5448b7][_0x4e6824(0x343)]))return{'emphasized':[_0x1d79d0[_0x5448b7][_0x4e6824(0x1e8)],_0x1d79d0[_0x5448b7]['fontColor']]};}),_0x1cfd13['gridEmphasized']&&_0x1cfd13[_0x50e362(0x2e3)]['column'])){let _0x2995d5=_0x1cfd13[_0x50e362(0x2e3)][_0x50e362(0x28d)];Object['keys'](_0x2995d5)[_0x50e362(0x1f4)](_0x2f090=>{const _0xe95d9a=_0x50e362;let _0x8a5bc5=_0x2995d5[_0x2f090],_0x2c5667=_0x1edaeb[_0xe95d9a(0x34f)](_0x6cb070=>_0x6cb070[_0xe95d9a(0x24e)]==_0x2f090);_0x1edaeb[_0x2c5667]['record']||(_0x1edaeb[_0x2c5667]['record']={}),_0x1edaeb[_0x2c5667][_0xe95d9a(0x2a8)][_0xe95d9a(0x33b)]=function(_0x128d5e,_0x41f686){const _0x7d82bc=_0xe95d9a;for(let _0x224234=0x0;_0x224234<_0x8a5bc5['length'];_0x224234++)if(eval(''+_0x8a5bc5[_0x224234][_0x7d82bc(0x343)]))return{'emphasized':[_0x8a5bc5[_0x224234][_0x7d82bc(0x1e8)],_0x8a5bc5[_0x224234]['fontColor']]};};});}return{'list':_0x46e9be,'pagination':_0x29f702['pages'],'sorters':_0x29f702['sorters'],'rows':_0x73d3a1,'columns':[..._0xb85411,..._0x29d77,..._0x1edaeb]};}static async['parseFormConfigSet'](_0x2b6425){const _0x47328c=a0_0x29bc3f;let _0xc7a74b=_0x2b6425[_0x47328c(0x21d)],_0x1807e2=[];for(let _0x14b0c6=0x0;_0x14b0c6<_0xc7a74b['length'];_0x14b0c6++){let {type:_0x33003c=_0x47328c(0x29a),name:_0x1c4d37,header:_0x24db45,hidden:_0x14be25=!0x1,editable:_0x2768f2=!0x0,mandatory:_0x3a53e2=!0x1,align:_0x50dd7e=_0x47328c(0x29b),select_opt:_0x1d6b78,object_opt:_0xd54b6}=_0xc7a74b[_0x14b0c6],_0x5bb88f={'type':_0x33003c,'name':_0x1c4d37,'header_txt':ValueUtil[_0x47328c(0x34a)](_0x24db45)?TermsUtil[_0x47328c(0x305)](_0x1c4d37):TermsUtil['tLabel'](_0x24db45),'header':{'renderer':function(_0x426d57){const _0x5811b3=_0x47328c;return _0x426d57[_0x5811b3(0x2fd)];}},'hidden':_0x14be25,'record':{'editable':_0x2768f2,'mandatory':_0x3a53e2,'align':_0x50dd7e,'classifier':function(){},'renderer':getRenderer(_0x33003c)}};_0x2768f2&&(_0x5bb88f[_0x47328c(0x2a8)][_0x47328c(0x29f)]=getEditor(_0x33003c)),_0x33003c[_0x47328c(0x24b)](_0x47328c(0x2f0))&&_0xd54b6&&_0xd54b6[_0x47328c(0x1fd)]&&(_0xd54b6=await MetaUiUtil['getGristMetaObjectOptions'](_0x33003c,_0xd54b6)),_0x47328c(0x347)===_0x33003c&&ValueUtil[_0x47328c(0x325)](_0x1d6b78)&&(Array[_0x47328c(0x29c)](_0x1d6b78)?_0x5bb88f[_0x47328c(0x2a8)]['options']=_0x1d6b78:_0x47328c(0x245)===_0x1d6b78[_0x47328c(0x1eb)]?_0x5bb88f[_0x47328c(0x2a8)][_0x47328c(0x314)]=await ServiceUtil[_0x47328c(0x283)](_0x1d6b78[_0x47328c(0x1fa)]?_0x1d6b78[_0x47328c(0x1fa)]:_0x1d6b78[_0x47328c(0x24e)]):_0x47328c(0x2dd)===_0x1d6b78[_0x47328c(0x1eb)]?_0x5bb88f[_0x47328c(0x2a8)]['options']=await ServiceUtil[_0x47328c(0x243)](_0x1d6b78[_0x47328c(0x24e)],_0x1d6b78['args']):_0x47328c(0x342)===_0x1d6b78[_0x47328c(0x1eb)]&&(_0x5bb88f['record']['options']=await ServiceUtil['getCodeByEntity'](_0x1d6b78[_0x47328c(0x2e4)]))),'meta-object-selector'===_0x33003c&&ValueUtil['isNotEmpty'](_0xd54b6)?_0x5bb88f['record']['options']={..._0xd54b6}:_0x47328c(0x336)===_0x33003c&&ValueUtil[_0x47328c(0x325)](_0xd54b6)&&(_0xd54b6[_0x47328c(0x242)]&&(_0xd54b6[_0x47328c(0x287)]=await ServiceUtil[_0x47328c(0x2ea)](_0xd54b6)),_0x5bb88f[_0x47328c(0x2a8)][_0x47328c(0x314)]={..._0xd54b6}),_0x1807e2[_0x47328c(0x338)](_0x5bb88f);}return _0x1807e2;}static['getGridOptionSet'](_0x2b8901){const _0x42f92e=a0_0x29bc3f;let _0x2972f6=_0x2b8901['gridConfig'];_0x2b8901[_0x42f92e(0x2bd)]=!_0x2972f6||null==_0x2972f6[_0x42f92e(0x2d0)]||_0x2972f6[_0x42f92e(0x2d0)];let {mobile_mode:_0x4a3727=_0x42f92e(0x301),desk_mode:_0x5d783b=_0x42f92e(0x23b),view_mode:_0x3968fc=[],use_row_checker:_0x1d4fa8=!0x0,sorters:_0x5e45d5=[],pages:_0x3524ae=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil['isEmpty'](_0x2972f6['option'])?{}:_0x2972f6[_0x42f92e(0x215)];return _0x42f92e(0x339)===_0x3524ae||'-1'===_0x3524ae?(_0x2b8901[_0x42f92e(0x291)]=!0x0,_0x3524ae={'infinite':!0x0}):(_0x2b8901[_0x42f92e(0x291)]=!0x1,_0x3524ae['sort'](function(_0x215e6c,_0x949594){return _0x215e6c-_0x949594;}),_0x3524ae={'pages':_0x3524ae}),ValueUtil[_0x42f92e(0x325)](_0x3968fc)&&(0x1==_0x3968fc[_0x42f92e(0x31c)]?(_0x5d783b=_0x3968fc[0x0],_0x4a3727=_0x3968fc[0x0]):_0x3968fc[_0x42f92e(0x31c)]>=0x2&&(_0x3968fc['includes'](_0x4a3727)||(_0x4a3727=_0x3968fc[0x1]),_0x3968fc[_0x42f92e(0x2ef)](_0x5d783b)||(_0x5d783b=_0x3968fc[0x0]))),_0x2b8901[_0x42f92e(0x2f8)]=_0x4a3727,_0x2b8901[_0x42f92e(0x2a6)]=_0x5d783b,_0x2b8901['gridViewOptions']=_0x3968fc,_0x2b8901[_0x42f92e(0x259)]=UiUtil[_0x42f92e(0x307)]()?_0x2b8901['gridMobileMode']:_0x2b8901[_0x42f92e(0x2a6)],{'use_row_checker':_0x1d4fa8,'sorters':_0x5e45d5,'pages':_0x3524ae};}static[a0_0x29bc3f(0x2c8)](_0x47c2b9){const _0x365113=a0_0x29bc3f;let _0x15e815={'fields':[ValueUtil[_0x365113(0x33a)](_0x47c2b9[_0x365113(0x1f0)],_0x365113(0x24e)),ValueUtil[_0x365113(0x33a)](_0x47c2b9[_0x365113(0x1f0)],'desc')]};return _0x47c2b9[_0x365113(0x263)]['list']&&Object['assign'](_0x15e815,_0x47c2b9[_0x365113(0x263)]['list']),_0x15e815;}static['getGridRowSet'](_0xab2c7){const _0x57f874=a0_0x29bc3f;let {multiple_select:_0x5bf6ca=!0x1,click:_0x510ead}=ValueUtil[_0x57f874(0x34a)](_0xab2c7[_0x57f874(0x263)]['row'])?{}:_0xab2c7[_0x57f874(0x263)][_0x57f874(0x2f3)],_0x32d80a={'selectable':{'multiple':_0x5bf6ca},'appendable':_0xab2c7[_0x57f874(0x211)]};return ValueUtil[_0x57f874(0x325)](_0x510ead)&&(_0x32d80a[_0x57f874(0x2b0)]={'click':_0x510ead}),_0x32d80a;}static[a0_0x29bc3f(0x200)](_0x5e405a){const _0x21ec50=a0_0x29bc3f;let _0x432302=_0x5e405a['gridConfig'][_0x21ec50(0x1ee)];return ValueUtil[_0x21ec50(0x34a)](_0x432302)?[]:_0x432302[_0x21ec50(0x22a)](_0x229802=>{const _0x2439b3=_0x21ec50;let _0x12c77c={'type':_0x2439b3(0x2ae),'gutterName':_0x2439b3(0x1ee)};if(ValueUtil[_0x2439b3(0x325)](_0x229802['icon'])&&(Array[_0x2439b3(0x29c)](_0x229802[_0x2439b3(0x1ff)])?_0x12c77c['icon']=_0xf08643=>{const _0x4b1933=_0x2439b3;if(ValueUtil['isNotEmpty'](_0xf08643))for(let _0x587337=0x0;_0x587337<_0x229802[_0x4b1933(0x1ff)][_0x4b1933(0x31c)];_0x587337++){let _0x226e9b=_0x229802[_0x4b1933(0x1ff)][_0x587337];if(!0x0===ValueUtil[_0x4b1933(0x341)](_0x226e9b,_0xf08643,Object[_0x4b1933(0x1ea)](_0x226e9b)[_0x4b1933(0x20b)](_0x48530c=>'icon'!=_0x48530c)))return _0x226e9b[_0x4b1933(0x1ff)];}}:_0x12c77c[_0x2439b3(0x1ff)]=_0x229802[_0x2439b3(0x1ff)]),ValueUtil[_0x2439b3(0x325)](_0x229802[_0x2439b3(0x24e)])&&(_0x12c77c['name']=_0x229802[_0x2439b3(0x24e)]),ValueUtil[_0x2439b3(0x325)](_0x229802[_0x2439b3(0x26d)])&&(_0x12c77c['title']=TermsUtil[_0x2439b3(0x24c)](_0x229802['label'])),'basic'===_0x229802[_0x2439b3(0x1eb)]){let _0x39e2f6=ValueUtil[_0x2439b3(0x33a)](_0x229802,_0x2439b3(0x343));[_0x2439b3(0x23e),_0x2439b3(0x207)][_0x2439b3(0x2ef)](_0x39e2f6)?_0x12c77c[_0x2439b3(0x2b0)]={'click':(_0x3e9234,_0x18ed6d,_0x5cb20e,_0x2e6489,_0x336249)=>{const _0x112ad0=_0x2439b3;if(_0x2e6489['id']){let _0x15e381={'title':_0x112ad0(0x260),'type':'popup','tagname':_0x112ad0(0x23e)==_0x39e2f6?_0x112ad0(0x340):_0x112ad0(0x33f),'location':_0x112ad0(0x23e)==_0x39e2f6?_0x112ad0(0x275):_0x112ad0(0x2af),'menu':_0x5e405a[_0x112ad0(0x221)],'size':'large','popup_field':_0x112ad0(0x232),'parent_field':'id'},_0x52fd18={..._0x2e6489,'gqlFunc':ValueUtil[_0x112ad0(0x33a)](_0x5e405a['gqlInfo'],_0x112ad0(0x276),_0x112ad0(0x204)),'gristConfig':JSON[_0x112ad0(0x2e7)](JSON['stringify'](_0x5e405a[_0x112ad0(0x30a)][_0x112ad0(0x223)]))};MetaUiUtil['gristButtonHandler'](_0x5e405a,{'logic':_0x15e381},_0x52fd18);}}}:_0x12c77c['handlers']={'click':_0x39e2f6};}else _0x12c77c[_0x2439b3(0x2b0)]={'click':(_0x169329,_0x8f1983,_0x344682,_0x5b2df8,_0x5ccc4b)=>{const _0x5b5b43=_0x2439b3;_0x5b2df8['id']&&MetaUiUtil[_0x5b5b43(0x2aa)](_0x5e405a,_0x229802,_0x5b2df8);}};return _0x12c77c;});}static async[a0_0x29bc3f(0x225)](_0x3f2e75){const _0x193c69=a0_0x29bc3f;let _0x437eda=_0x3f2e75[_0x193c69(0x2c9)];if(ValueUtil[_0x193c69(0x34a)](_0x437eda))return[];let _0x4d6c93=[];for(let _0xb63120=0x0;_0xb63120<_0x437eda[_0x193c69(0x31c)];_0xb63120++){let {type:_0x55d458='string',name:_0x43002d,header:_0x491f4c,hidden:_0x33f09e=!0x1,editable:_0x4e7a0c=!0x0,mandatory:_0x57310b=!0x1,sortable:_0x42a9da=!0x1,align:_0x14e466=_0x193c69(0x29b),width:_0x5c92ed=0x0,exportable:_0x41acf7=!0x1,select_opt:_0x669513,object_opt:_0x3e7f04,format:_0x242d51}=_0x437eda[_0xb63120],_0x1eebba={'type':_0x55d458,'name':_0x43002d,'header':ValueUtil[_0x193c69(0x34a)](_0x491f4c)?'':TermsUtil['tLabel'](_0x491f4c),'hidden':_0x33f09e,'sortable':_0x42a9da,'width':_0x5c92ed,'record':{'editable':_0x4e7a0c,'mandatory':_0x57310b,'align':_0x14e466,'format':_0x242d51}};if(_0x55d458['startsWith']('meta-')&&_0x3e7f04&&_0x3e7f04[_0x193c69(0x1fd)]&&(_0x3e7f04=await MetaUiUtil[_0x193c69(0x203)](_0x55d458,_0x3e7f04)),_0x193c69(0x347)===_0x55d458&&ValueUtil[_0x193c69(0x325)](_0x669513)&&(Array[_0x193c69(0x29c)](_0x669513)?_0x1eebba['record']['options']=_0x669513:_0x193c69(0x245)===_0x669513['type']?_0x1eebba[_0x193c69(0x2a8)][_0x193c69(0x314)]=await ServiceUtil['getCodeSelectorData'](_0x669513[_0x193c69(0x1fa)]?_0x669513[_0x193c69(0x1fa)]:_0x669513['name']):_0x193c69(0x2dd)===_0x669513['type']?_0x1eebba['record'][_0x193c69(0x314)]=await ServiceUtil[_0x193c69(0x243)](_0x669513[_0x193c69(0x24e)],_0x669513[_0x193c69(0x2e4)]):_0x193c69(0x342)===_0x669513['type']&&(_0x1eebba[_0x193c69(0x2a8)][_0x193c69(0x314)]=await ServiceUtil['getCodeByEntity'](_0x669513['args']))),_0x193c69(0x2cc)===_0x55d458&&ValueUtil[_0x193c69(0x325)](_0x3e7f04)){let _0x111ff0;_0x1eebba[_0x193c69(0x2a8)]['options']={..._0x3e7f04},_0x3e7f04[_0x193c69(0x31d)]&&_0x3e7f04[_0x193c69(0x31d)][_0x193c69(0x29d)]&&(_0x111ff0=[..._0x3e7f04['basicArgs'][_0x193c69(0x29d)]]),_0x111ff0&&JSON[_0x193c69(0x248)](_0x111ff0)[_0x193c69(0x2ef)]('::')&&(_0x1eebba['handlers']={'dblclick':(_0xacc64,_0x305555,_0x40a1f7,_0x1d1f2d,_0x347e1c)=>{const _0x4d980f=_0x193c69;let _0x56fc6a=[];_0x111ff0[_0x4d980f(0x1f4)](_0x33f715=>{const _0x2a0922=_0x4d980f;var {name:_0x21529e,value:_0x6ea848,operator:_0x19321a='eq'}=_0x33f715;_0x6ea848[_0x2a0922(0x2ef)]('::')&&(_0x6ea848=ValueUtil['getParams'](_0x1d1f2d,..._0x6ea848[_0x2a0922(0x2e9)]('::','')[_0x2a0922(0x313)]('.'))),_0x6ea848||(_0x6ea848=''),_0x56fc6a[_0x2a0922(0x338)]({'name':_0x21529e,'operator':_0x19321a,'value':_0x6ea848});}),_0x40a1f7[_0x4d980f(0x2a8)]['options'][_0x4d980f(0x31d)][_0x4d980f(0x29d)]=_0x56fc6a;}});}else'meta-code-selector'===_0x55d458&&ValueUtil[_0x193c69(0x325)](_0x3e7f04)&&(_0x3e7f04[_0x193c69(0x242)]&&(_0x3e7f04[_0x193c69(0x287)]=await ServiceUtil['getCodeByEntity'](_0x3e7f04)),_0x1eebba['record'][_0x193c69(0x314)]={..._0x3e7f04});!0x0===_0x3f2e75[_0x193c69(0x274)]&&!0x0===_0x41acf7&&(_0x1eebba[_0x193c69(0x2ad)]={'header':_0x1eebba[_0x193c69(0x297)],'key':_0x1eebba[_0x193c69(0x24e)],'width':_0x1eebba[_0x193c69(0x2e6)]/0x6,'type':_0x1eebba[_0x193c69(0x1eb)]}),_0x4d6c93[_0x193c69(0x338)](_0x1eebba);}if(!0x0!==this[_0x193c69(0x1e5)])return _0x4d6c93;let _0x3c5c5f=await MetaApi[_0x193c69(0x2a5)](this['menuId']),{template:_0x303181={}}=_0x3c5c5f;if(!_0x303181[_0x193c69(0x2b9)])return _0x4d6c93;let _0x5af1a4=_0x303181[_0x193c69(0x2b9)];return _0x4d6c93=_0x4d6c93[_0x193c69(0x22a)](_0xa78896=>('id'==_0xa78896[_0x193c69(0x24e)]||(_0xa78896[_0x193c69(0x1f3)]=!_0x5af1a4[_0x193c69(0x2ef)](_0xa78896[_0x193c69(0x24e)]),_0xa78896['rank']=_0x5af1a4[_0x193c69(0x2d1)](_0xa78896['name']),-0x1==_0xa78896['rank']&&(_0xa78896['rank']=0x1869f)),_0xa78896)),_0x4d6c93[_0x193c69(0x312)]((_0x39838c,_0x1e6f8d)=>_0x39838c['rank']-_0x1e6f8d[_0x193c69(0x2cf)]),_0x4d6c93;}static async[a0_0x29bc3f(0x203)](_0x11785d,_0x390112){const _0x302952=a0_0x29bc3f;let _0x2e66bb=await MetaUiUtil['getMenuMetaData'](_0x390112[_0x302952(0x1fd)]);if(_0x2e66bb&&_0x2e66bb[_0x302952(0x320)]&&_0x2e66bb[_0x302952(0x320)][_0x302952(0x31c)]>0x0&&_0x2e66bb[_0x302952(0x320)][0x0]['template']){let _0x437ff3=_0x2e66bb[_0x302952(0x320)][0x0],_0x1204e7=JSON[_0x302952(0x2e7)](MetaCrypto[_0x302952(0x32f)](_0x437ff3[_0x302952(0x216)]));_0x390112[_0x302952(0x266)]||(_0x390112[_0x302952(0x266)]=_0x1204e7['gql']['query'][_0x302952(0x282)]),_0x390112[_0x302952(0x347)]||(_0x390112['select']=_0x1204e7[_0x302952(0x280)]),_0x390112[_0x302952(0x22d)]&&0x0!=_0x390112['filterFields'][_0x302952(0x31c)]||(_0x390112[_0x302952(0x22d)]=_0x1204e7[_0x302952(0x292)]),_0x390112['selectorName']||(_0x390112[_0x302952(0x34b)]=_0x1204e7[_0x302952(0x1fd)]['title']),_0x390112['filters']||(_0x390112['filters']=_0x1204e7[_0x302952(0x32c)]['query'][_0x302952(0x29d)]||[]),_0x11785d[_0x302952(0x2ef)]('-object-')?_0x390112[_0x302952(0x2b5)]||(_0x390112['nameField']=_0x1204e7[_0x302952(0x1fd)]['name']||'name'):_0x11785d[_0x302952(0x2ef)]('-code-')&&(_0x390112[_0x302952(0x27b)]||(_0x390112[_0x302952(0x27b)]=_0x1204e7[_0x302952(0x1fd)]['name']||_0x302952(0x245)),_0x390112['dispField']||(_0x390112['dispField']=_0x1204e7[_0x302952(0x1fd)][_0x302952(0x2ed)]||void 0x0));}return _0x390112;}static[a0_0x29bc3f(0x329)](_0x8a8b22,_0x12e68a){const _0x4ac14e=a0_0x29bc3f;let _0x42272f=_0x8a8b22[_0x4ac14e(0x2ee)];return _0x42272f&&_0x42272f['forEach'](_0x4c7060=>{const _0x2f05dc=_0x4ac14e;_0x2f05dc(0x29a)==typeof _0x4c7060?_0x12e68a[_0x2f05dc(0x20b)](_0x300aa9=>_0x300aa9['name']==_0x4c7060)[_0x2f05dc(0x1f4)](_0x4659c6=>{const _0x4c140d=_0x2f05dc;_0x4659c6[_0x4c140d(0x20b)]=_0x4c140d(0x292);}):'object'==typeof _0x4c7060&&_0x12e68a[_0x2f05dc(0x20b)](_0xd2d025=>_0xd2d025[_0x2f05dc(0x24e)]==_0x4c7060[_0x2f05dc(0x24e)])[_0x2f05dc(0x1f4)](_0x2c21a8=>{const _0x241a5a=_0x2f05dc;_0x2c21a8[_0x241a5a(0x20b)]=_0x4c7060,_0x2c21a8[_0x241a5a(0x20b)][_0x241a5a(0x1eb)]='datetime'===_0x2c21a8['type']&&'eq'==_0x4c7060['operator']?_0x241a5a(0x247):_0x2c21a8[_0x241a5a(0x1eb)];let _0x39b618=_0x2c21a8[_0x241a5a(0x20b)][_0x241a5a(0x20c)],_0x2e1cb4=['today','year',_0x241a5a(0x24a),_0x241a5a(0x294),_0x241a5a(0x2d8),_0x241a5a(0x332),'sec'];if(_0x39b618&&_0x2e1cb4['filter'](_0xa0ed31=>_0x39b618[_0x241a5a(0x24b)](_0xa0ed31))[_0x241a5a(0x31c)]>0x0){let _0x47f03e=[],_0x4e9f55={'date':_0x241a5a(0x34e),'datetime':_0x241a5a(0x262)},_0x2da86e={'today':_0x241a5a(0x28a),'year':'year','month':_0x241a5a(0x24a),'date':_0x241a5a(0x28a),'hour':'hour','min':'minute','sec':_0x241a5a(0x271)};_0x39b618['split'](',')[_0x241a5a(0x1f4)](_0x3bcd4e=>{const _0x10c124=_0x241a5a,_0x336003=a0_0x9ba73();if(_0x2e1cb4[_0x10c124(0x2ef)](_0x3bcd4e))_0x47f03e[_0x10c124(0x338)](_0x336003[_0x10c124(0x2df)](_0x2da86e[_0x3bcd4e])[_0x10c124(0x2e0)](_0x4e9f55[_0x2c21a8[_0x10c124(0x1eb)]]));else{if(_0x3bcd4e[_0x10c124(0x2ef)]('-')){let _0x19057d=_0x3bcd4e[_0x10c124(0x313)]('-'),_0x1e2b56=_0x19057d[0x0],_0x557a6f=_0x19057d[0x1];_0x47f03e[_0x10c124(0x338)](_0x336003[_0x10c124(0x349)](_0x557a6f,_0x2da86e[_0x1e2b56])[_0x10c124(0x2df)](_0x2da86e[_0x1e2b56])[_0x10c124(0x2e0)](_0x4e9f55[_0x2c21a8[_0x10c124(0x1eb)]]));}else{if(_0x3bcd4e[_0x10c124(0x2ef)]('+')){let _0x5d0675=_0x3bcd4e[_0x10c124(0x313)]('+'),_0x22e490=_0x5d0675[0x0],_0x39e4b7=_0x5d0675[0x1];_0x47f03e[_0x10c124(0x338)](_0x336003[_0x10c124(0x265)](_0x39e4b7,_0x2da86e[_0x22e490])['startOf'](_0x2da86e[_0x22e490])[_0x10c124(0x2e0)](_0x4e9f55[_0x2c21a8[_0x10c124(0x1eb)]]));}}}}),_0x47f03e[_0x241a5a(0x31c)]>0x0&&(_0x2c21a8[_0x241a5a(0x20b)][_0x241a5a(0x20c)]=0x1==_0x47f03e[_0x241a5a(0x31c)]?_0x47f03e[0x0]:_0x47f03e);}});}),_0x12e68a;}static[a0_0x29bc3f(0x2ff)](_0x2dcaa5){const _0x402d6a=a0_0x29bc3f;let _0x36625f={'title':TermsUtil[_0x402d6a(0x2e5)](_0x2dcaa5[_0x402d6a(0x1f0)][_0x402d6a(0x2a3)]),'help':_0x2dcaa5['menuInfo'][_0x402d6a(0x1e6)]||'','actions':[...MetaUiUtil[_0x402d6a(0x315)](_0x2dcaa5)]};return _0x2dcaa5[_0x402d6a(0x274)]&&(_0x36625f[_0x402d6a(0x20e)]={'name':_0x36625f[_0x402d6a(0x2a3)],'data':_0x2dcaa5[_0x402d6a(0x26b)]['bind'](_0x2dcaa5)}),_0x2dcaa5['useButtonImport']&&(_0x36625f[_0x402d6a(0x1f7)]={'handler':_0x2dcaa5[_0x402d6a(0x28e)][_0x402d6a(0x21c)](_0x2dcaa5)}),_0x36625f;}static['getContextButtons'](_0x38ccea){const _0x1f8188=a0_0x29bc3f;let _0x5f3877=_0x38ccea['buttonConfig'];return ValueUtil['isEmpty'](_0x5f3877)?[]:_0x5f3877['filter'](_0x4f95e0=>_0x1f8188(0x26b)!=_0x4f95e0[_0x1f8188(0x24e)]&&_0x1f8188(0x28e)!=_0x4f95e0[_0x1f8188(0x24e)]&&'add'!=_0x4f95e0[_0x1f8188(0x24e)])[_0x1f8188(0x22a)](_0x345a9d=>{const _0x56a88e=_0x1f8188;let {name:_0x30da48,label:_0x4b41cd,style:_0x1647f5,type:_0x3fa18d='basic',action:_0x3f40c6,logic:_0x49f6a2}=_0x345a9d;if(ValueUtil[_0x56a88e(0x34a)](_0x30da48))return{'title':'-1'};ValueUtil['isEmpty'](_0x4b41cd)&&(_0x4b41cd=_0x30da48),ValueUtil[_0x56a88e(0x34a)](_0x1647f5)&&(_0x1647f5=_0x30da48),ValueUtil[_0x56a88e(0x34a)](_0x3f40c6)&&(_0x3f40c6=_0x30da48);let _0x5b4cba=ValueUtil['isNotEmpty'](_0x1647f5)?CommonButtonStyles[_0x1647f5]||{'icon':_0x1647f5,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x56a88e(0x24c)](_0x4b41cd),'action':MetaUiUtil[_0x56a88e(0x256)](_0x38ccea,_0x3fa18d,_0x3f40c6,_0x49f6a2),..._0x5b4cba};})[_0x1f8188(0x20b)](_0x5a71fa=>'-1'!=_0x5a71fa[_0x1f8188(0x2a3)]);}static[a0_0x29bc3f(0x214)](_0x3b3db3){const _0xf50031=a0_0x29bc3f;let _0x255cc0=_0x3b3db3&&_0x3b3db3['buttonConfig']?_0x3b3db3['buttonConfig']:null;return _0x255cc0?_0x255cc0['filter'](_0x3885c8=>_0xf50031(0x265)!=_0x3885c8[_0xf50031(0x24e)])['map'](_0x17a94d=>{const _0x4519df=_0xf50031;let {name:_0x69c6b,label:_0xe41063,style:_0x547c5b,type:_0x5828e1=_0x4519df(0x226),action:_0x27a86a,logic:_0x141eae}=_0x17a94d;ValueUtil[_0x4519df(0x34a)](_0xe41063)&&(_0xe41063=_0x69c6b),ValueUtil['isEmpty'](_0x547c5b)&&(_0x547c5b=_0x69c6b),ValueUtil['isEmpty'](_0x27a86a)&&(_0x27a86a=_0x69c6b);let _0x501bb8=MetaUiUtil[_0x4519df(0x208)](TermsUtil[_0x4519df(0x24c)](_0xe41063),_0x547c5b);return _0x501bb8[_0x4519df(0x2a1)]=MetaUiUtil[_0x4519df(0x256)](_0x3b3db3,_0x5828e1,_0x27a86a,_0x141eae),_0x501bb8;}):[];}static['createButtonElement'](_0x159466,_0x166ec5){const _0xbcfeac=a0_0x29bc3f;let _0x4eefdd=CommonButtonStyles[_0x166ec5]||{'icon':_0x166ec5,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x5635f4=_0xbcfeac(0x281)+_0x159466+_0xbcfeac(0x20f)+(_0x4eefdd[_0xbcfeac(0x1ff)]?_0x4eefdd[_0xbcfeac(0x1ff)]:'')+_0xbcfeac(0x2c7)+(_0x4eefdd[_0xbcfeac(0x1f1)][_0xbcfeac(0x21a)]?'raised':'')+_0xbcfeac(0x25f)+(_0x4eefdd['emphasis'][_0xbcfeac(0x229)]?_0xbcfeac(0x229):'')+_0xbcfeac(0x25f)+(_0x4eefdd['emphasis']['dense']?_0xbcfeac(0x2e8):'')+_0xbcfeac(0x25f)+(_0x4eefdd['emphasis'][_0xbcfeac(0x273)]?'danger':'')+'\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20';return UiUtil['htmlToElement'](_0x5635f4);}static[a0_0x29bc3f(0x256)](_0x289370,_0x4be6eb,_0x5a3fea,_0x174af8){const _0x23e91e=a0_0x29bc3f;if('basic'==_0x4be6eb){if(_0x289370[_0x5a3fea])return _0x289370[_0x5a3fea][_0x23e91e(0x21c)](_0x289370);}else{if(_0x23e91e(0x222)==_0x4be6eb)return()=>MetaUiUtil[_0x23e91e(0x2de)](_0x289370,_0x174af8);}return()=>{const _0xb3658e=_0x23e91e;UiUtil[_0xb3658e(0x2c3)](_0xb3658e(0x344),_0xb3658e(0x333),_0xb3658e(0x277),_0xb3658e(0x264));};}static async[a0_0x29bc3f(0x2aa)](_0x1b6e75,_0x106955,_0x25e39e){const _0x4025b1=a0_0x29bc3f;let _0x5b4a62=ValueUtil[_0x4025b1(0x33a)](_0x106955,'logic'),_0x4040d6=ValueUtil[_0x4025b1(0x33a)](_0x5b4a62,_0x4025b1(0x1eb));if(_0x4025b1(0x32e)===_0x4040d6)_0x5b4a62[_0x4025b1(0x2b7)]=_0x4025b1(0x1f8),_0x5b4a62[_0x4025b1(0x2d6)]=_0x4025b1(0x2cd),_0x5b4a62[_0x4025b1(0x25b)]='id',await MetaUiUtil[_0x4025b1(0x2d5)](_0x1b6e75,_0x5b4a62,_0x25e39e);else{if('pass_param'===_0x4040d6)MetaUiUtil[_0x4025b1(0x295)](_0x1b6e75,_0x5b4a62,_0x25e39e);else{if('page'===_0x4040d6){let _0x510acb;_0x5b4a62[_0x4025b1(0x217)]?(_0x510acb={},Object[_0x4025b1(0x1ea)](_0x25e39e)[_0x4025b1(0x20b)](_0x3a0d84=>Object[_0x4025b1(0x1ea)](_0x5b4a62[_0x4025b1(0x217)])[_0x4025b1(0x2ef)](_0x3a0d84))[_0x4025b1(0x22a)](_0x2c42bd=>{const _0x162e9c=_0x4025b1;Object[_0x162e9c(0x1ea)](_0x5b4a62[_0x162e9c(0x217)])['includes'](_0x2c42bd)&&('string'==typeof _0x25e39e[_0x2c42bd]?_0x510acb[_0x5b4a62['param_field'][_0x2c42bd]]=_0x25e39e[_0x2c42bd]:_0x510acb[_0x5b4a62[_0x162e9c(0x217)][_0x2c42bd]]={'id':_0x25e39e[_0x2c42bd]['id']});})):_0x510acb=_0x25e39e,UiUtil['pageNavigate'](_0x5b4a62[_0x4025b1(0x201)],[_0x510acb]);}else _0x4025b1(0x2b6)===_0x4040d6?await MetaUiUtil[_0x4025b1(0x2d5)](_0x1b6e75,_0x5b4a62,_0x25e39e):_0x4025b1(0x2dd)===_0x4040d6?await MetaUiUtil[_0x4025b1(0x2f6)](_0x1b6e75,_0x5b4a62,_0x25e39e):_0x4025b1(0x25e)===_0x4040d6&&await MetaUiUtil[_0x4025b1(0x261)](_0x1b6e75,_0x5b4a62,_0x25e39e);}}}static async[a0_0x29bc3f(0x2de)](_0x479707,_0x3fa199){const _0x3fa187=a0_0x29bc3f;if(ValueUtil[_0x3fa187(0x34a)](_0x3fa199))return;let _0x37838a=_0x479707[_0x3fa187(0x30a)],_0x3446c7=_0x479707[_0x3fa187(0x1fc)],_0x14d719=ValueUtil['getParams'](_0x3fa199,_0x3fa187(0x1eb)),_0x377db9=ValueUtil[_0x3fa187(0x33a)](_0x3fa199,_0x3fa187(0x237)),_0x3fa73b=_0x377db9[_0x3fa187(0x20b)](_0x441c4c=>_0x441c4c[_0x3fa187(0x24b)](_0x3fa187(0x30a)));if(ValueUtil[_0x3fa187(0x325)](_0x3fa73b)){if(!_0x37838a)return void UiUtil[_0x3fa187(0x2c3)]('title.info',_0x3fa187(0x28b),'info',_0x3fa187(0x264));if(0x0==(_0x37838a[_0x3fa187(0x323)]?_0x37838a[_0x3fa187(0x323)]['records']:[])['length'])return void UiUtil[_0x3fa187(0x2c3)](_0x3fa187(0x318),_0x3fa187(0x30d),'info',_0x3fa187(0x264));if(_0x377db9[_0x3fa187(0x2ef)](_0x3fa187(0x2f2))||_0x377db9[_0x3fa187(0x2ef)](_0x3fa187(0x219))){let _0x194614=_0x37838a[_0x3fa187(0x2dc)];if(ValueUtil[_0x3fa187(0x34a)](_0x194614))return void UiUtil[_0x3fa187(0x2c3)]('text.nothing_selected',_0x3fa187(0x22f),'info','confirm');if(_0x377db9[_0x3fa187(0x2ef)](_0x3fa187(0x2f2))&&_0x194614[_0x3fa187(0x31c)]>0x1)return void UiUtil[_0x3fa187(0x2c3)](_0x3fa187(0x318),_0x3fa187(0x337),_0x3fa187(0x277),_0x3fa187(0x264));}}let _0x1d9579={};if(_0x377db9[_0x3fa187(0x2ef)]('filter')){if(!_0x3446c7)return void UiUtil['showAlertPopup'](_0x3fa187(0x318),_0x3fa187(0x289),'info','confirm');let _0x391561=_0x3446c7?await _0x3446c7[_0x3fa187(0x23d)]():[];_0x1d9579[_0x3fa187(0x20b)]=_0x391561;}if(_0x377db9[_0x3fa187(0x2ef)](_0x3fa187(0x255)))_0x1d9579[_0x3fa187(0x30a)]=_0x37838a[_0x3fa187(0x323)]['records'];else{if(_0x377db9[_0x3fa187(0x2ef)](_0x3fa187(0x2f2)))_0x1d9579[_0x3fa187(0x30a)]=_0x37838a['selected'][0x0];else{if(_0x377db9[_0x3fa187(0x2ef)](_0x3fa187(0x219)))_0x1d9579[_0x3fa187(0x30a)]=_0x37838a[_0x3fa187(0x2dc)];else{if(_0x377db9[_0x3fa187(0x2ef)](_0x3fa187(0x2bb))&&(_0x1d9579[_0x3fa187(0x30a)]=ServiceUtil['patchesForUpdateMultiple'](_0x37838a),!_0x1d9579[_0x3fa187(0x30a)]))return;}}}if('page'===_0x14d719){let _0x37621a,_0xd38171=Array[_0x3fa187(0x29c)](_0x1d9579[_0x3fa187(0x30a)])?_0x1d9579[_0x3fa187(0x30a)]:[_0x1d9579['grist']];_0x37621a=_0x3fa199['param_field']?_0xd38171[_0x3fa187(0x22a)](_0x2bd19c=>{const _0x3ad551=_0x3fa187;let _0x623e7a={};return Object[_0x3ad551(0x1ea)](_0x2bd19c)['filter'](_0x153333=>Object[_0x3ad551(0x1ea)](_0x3fa199[_0x3ad551(0x217)])[_0x3ad551(0x2ef)](_0x153333))[_0x3ad551(0x22a)](_0x2833b7=>{const _0x513a09=_0x3ad551;Object[_0x513a09(0x1ea)](_0x3fa199['param_field'])[_0x513a09(0x2ef)](_0x2833b7)&&(_0x513a09(0x29a)==typeof _0x2bd19c[_0x2833b7]?_0x623e7a[_0x3fa199[_0x513a09(0x217)][_0x2833b7]]=_0x2bd19c[_0x2833b7]:_0x623e7a[_0x3fa199[_0x513a09(0x217)][_0x2833b7]]={'id':_0x2bd19c[_0x2833b7]['id']});}),_0x623e7a;}):_0xd38171,UiUtil[_0x3fa187(0x26a)](_0x3fa199[_0x3fa187(0x201)],_0x37621a);}else{if(_0x3fa187(0x2b6)===_0x14d719){let _0x785ad2={..._0x1d9579['grist']?_0x1d9579[_0x3fa187(0x30a)]:{},..._0x1d9579[_0x3fa187(0x20b)]?_0x1d9579[_0x3fa187(0x20b)]:{}};await MetaUiUtil[_0x3fa187(0x2d5)](_0x479707,_0x3fa199,_0x785ad2);}else'scenario'===_0x14d719&&await MetaUiUtil[_0x3fa187(0x2f6)](_0x479707,_0x3fa199,_0x1d9579);}}static[a0_0x29bc3f(0x295)](_0x532714,_0x58da99,_0x40e04e){const _0x27b79f=a0_0x29bc3f;let _0x100eb0=_0x58da99[_0x27b79f(0x34c)],_0x42f594={},_0x38bf17=_0x532714[_0x27b79f(0x2ca)][_0x27b79f(0x327)](),_0x4221e6=_0x532714;_0x42f594=_0x38bf17[_0x27b79f(0x24b)](_0x27b79f(0x346))||_0x38bf17[_0x27b79f(0x24b)](_0x27b79f(0x1ec))?_0x100eb0['detail']?{..._0x100eb0}:{'detail':{..._0x100eb0}}:{..._0x100eb0},Object['keys'](_0x42f594)[_0x27b79f(0x1f4)](_0x1166d4=>{const _0x5ec67d=_0x27b79f;if(_0x5ec67d(0x2b9)==_0x1166d4?_0x4221e6=_0x532714[_0x5ec67d(0x31e)]['masterElement']:_0x5ec67d(0x246)==_0x1166d4?_0x4221e6=_0x532714[_0x5ec67d(0x31e)]?_0x532714[_0x5ec67d(0x31e)][_0x5ec67d(0x2a4)]:_0x532714[_0x5ec67d(0x2a4)]:_0x5ec67d(0x32a)==_0x1166d4&&(_0x4221e6=_0x532714),_0x4221e6){if(_0x4221e6[_0x5ec67d(0x2ca)][_0x5ec67d(0x327)]()[_0x5ec67d(0x24b)]('meta-tab-element'))Object['keys'](_0x42f594[_0x1166d4])['forEach'](_0x2ab5e3=>{const _0x4737e9=_0x5ec67d;let _0x19c8af=_0x4221e6[_0x4737e9(0x32d)][_0x4737e9(0x22e)]('#'+_0x2ab5e3);_0x40e04e['id']&&_0x19c8af[_0x4737e9(0x278)](_0x40e04e['id']);let _0x51b8a2=_0x42f594[_0x1166d4][_0x2ab5e3];Object['keys'](_0x51b8a2)[_0x4737e9(0x1f4)](_0x2661ff=>{let _0x2d7a10=_0x51b8a2[_0x2661ff],_0x2af687='*'===_0x2d7a10?_0x40e04e:_0x40e04e[_0x2d7a10];_0x19c8af[_0x2661ff]=_0x2af687;});});else{let _0x28e3f6=_0x4221e6;_0x40e04e['id']&&_0x28e3f6[_0x5ec67d(0x278)](_0x40e04e['id']);let _0x39bb86=_0x42f594[_0x1166d4];Object[_0x5ec67d(0x1ea)](_0x39bb86)['forEach'](_0x3907fa=>{let _0x5b47f2=_0x39bb86[_0x3907fa],_0x5ba00a='*'===_0x5b47f2?_0x40e04e:_0x40e04e[_0x5b47f2];_0x28e3f6[_0x3907fa]=_0x5ba00a;});}}});}static async[a0_0x29bc3f(0x2d5)](_0x3d2372,_0x11be63,_0x49350a){const _0x233dd9=a0_0x29bc3f;let _0x55d824=TermsUtil[_0x233dd9(0x2e5)](_0x11be63[_0x233dd9(0x2a3)]);ValueUtil[_0x233dd9(0x325)](_0x11be63[_0x233dd9(0x235)])&&(_0x55d824=_0x55d824+'('+ValueUtil['getParams'](_0x49350a,..._0x11be63[_0x233dd9(0x235)][_0x233dd9(0x313)]('.'))+')');let _0x57c5bb=_0x11be63['after']&&_0x233dd9(0x29a)==typeof _0x11be63['after']&&_0x233dd9(0x2c1)===_0x11be63[_0x233dd9(0x328)]&&_0x3d2372&&_0x3d2372[_0x233dd9(0x2c1)]?_0x3d2372[_0x233dd9(0x2c1)][_0x233dd9(0x21c)](_0x3d2372):void 0x0;UiUtil['openDynamicPopup'](_0x55d824,_0x11be63,_0x49350a,_0x57c5bb);}static async['commonButtonCallScenario'](_0x33c76b,_0x36ef45,_0x560f4d){const _0x35789c=a0_0x29bc3f;let _0x4d67f5=await ServiceUtil['callScenario'](_0x35789c(0x324),_0x36ef45['name'],_0x560f4d);if(!_0x4d67f5[_0x35789c(0x33d)]&&!ValueUtil[_0x35789c(0x34a)](_0x36ef45[_0x35789c(0x328)])&&_0x36ef45[_0x35789c(0x328)]){if('fetch'!==_0x36ef45[_0x35789c(0x328)]){if(_0x35789c(0x2c6)==typeof _0x36ef45[_0x35789c(0x328)]){let _0x29a8df=_0x36ef45[_0x35789c(0x328)],_0x513124=ValueUtil[_0x35789c(0x33a)](_0x4d67f5[_0x35789c(0x323)][_0x35789c(0x250)][_0x35789c(0x323)],..._0x29a8df[_0x35789c(0x322)][_0x35789c(0x313)]('.'));if(0x0==Array[_0x35789c(0x29c)](_0x513124)&&(_0x513124=[_0x513124]),_0x35789c(0x32e)===_0x29a8df[_0x35789c(0x1eb)])_0x29a8df[_0x35789c(0x2b7)]=_0x35789c(0x1f8),_0x29a8df[_0x35789c(0x2d6)]=_0x35789c(0x2cd),_0x29a8df[_0x35789c(0x25b)]='id',_0x513124=_0x513124[0x0],await MetaUiUtil[_0x35789c(0x2d5)](_0x33c76b,_0x29a8df,_0x513124);else{if('page'===_0x29a8df[_0x35789c(0x1eb)]){let _0x3e47db,_0x41898c=_0x513124;_0x3e47db=_0x29a8df['param_field']?_0x41898c['map'](_0x3cd2f1=>{const _0x2ec0c1=_0x35789c;let _0x352c84={};return Object[_0x2ec0c1(0x1ea)](_0x3cd2f1)[_0x2ec0c1(0x20b)](_0x564c03=>Object[_0x2ec0c1(0x1ea)](_0x29a8df[_0x2ec0c1(0x217)])[_0x2ec0c1(0x2ef)](_0x564c03))[_0x2ec0c1(0x22a)](_0x24862d=>{const _0x366087=_0x2ec0c1;Object[_0x366087(0x1ea)](_0x29a8df[_0x366087(0x217)])[_0x366087(0x2ef)](_0x24862d)&&(_0x366087(0x29a)==typeof _0x3cd2f1[_0x24862d]?_0x352c84[_0x29a8df['param_field'][_0x24862d]]=_0x3cd2f1[_0x24862d]:_0x352c84[_0x29a8df[_0x366087(0x217)][_0x24862d]]={'id':_0x3cd2f1[_0x24862d]['id']});}),_0x352c84;}):_0x41898c,UiUtil['pageNavigate'](_0x29a8df[_0x35789c(0x201)],_0x3e47db);}else _0x35789c(0x31f)===_0x29a8df[_0x35789c(0x1eb)]?(_0x513124=_0x513124[0x0],MetaUiUtil[_0x35789c(0x295)](_0x33c76b,_0x29a8df,_0x513124)):_0x35789c(0x2b6)===_0x29a8df[_0x35789c(0x1eb)]?(_0x513124=_0x513124[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x33c76b,_0x29a8df,_0x513124)):_0x35789c(0x25e)===_0x29a8df[_0x35789c(0x1eb)]&&(_0x513124=_0x513124[0x0],await MetaUiUtil[_0x35789c(0x261)](_0x33c76b,_0x29a8df,_0x513124));}}}else _0x33c76b[_0x35789c(0x2c1)]();}}static async[a0_0x29bc3f(0x261)](_0x41b67e,_0x418feb,_0x25df43){const _0x4c7958=a0_0x29bc3f;for(let _0x1ec262=0x0;_0x1ec262<_0x418feb[_0x4c7958(0x25c)][_0x4c7958(0x31c)];_0x1ec262++){let _0x2bee5a=_0x418feb[_0x4c7958(0x25c)][_0x1ec262];!0x0===ValueUtil[_0x4c7958(0x341)](_0x2bee5a,_0x25df43,Object[_0x4c7958(0x1ea)](_0x2bee5a)['filter'](_0x49eead=>_0x4c7958(0x343)!=_0x49eead))&&await MetaUiUtil[_0x4c7958(0x2aa)](_0x41b67e,_0x2bee5a,_0x25df43);}}static['getGristHiddenColumnConfig'](_0x3c5557,_0x3a7c47){return{'type':_0x3c5557,'name':_0x3a7c47,'sortable':!0x1,'hidden':!0x0};}static[a0_0x29bc3f(0x213)](_0x507d09,_0x2aa577,_0x552f76,_0x4be072,_0x50ee08,_0x2dc644){let _0x2c59ba=TermsUtil['tLabel'](_0x2aa577);return{'type':_0x507d09,'name':_0x2aa577,'header':_0x2c59ba,'record':{'align':_0x552f76,'editable':_0x4be072},'sortable':_0x50ee08,'width':_0x2dc644,'imex':{'width':Math['floor'](_0x2dc644/0x6),'header':_0x2c59ba,'type':_0x507d09,'key':_0x2aa577}};}static[a0_0x29bc3f(0x26c)](_0x31bbb3,_0x3b26a8,_0x5193a7,_0x3de48b,_0x467429,_0x179da0,_0x2f73c6){const _0x490c6a=a0_0x29bc3f;let _0x29810c=TermsUtil[_0x490c6a(0x305)](_0x5193a7);return{'type':_0x31bbb3,'name':_0x3b26a8,'header':_0x29810c,'record':{'align':_0x3de48b,'editable':_0x467429},'sortable':_0x179da0,'width':_0x2f73c6,'imex':{'width':Math['floor'](_0x2f73c6/0x6),'header':_0x29810c,'type':_0x31bbb3,'key':_0x3b26a8}};}static['getGristColumnConfig3'](_0x3a7203,_0x516ff3,_0x441062,_0x51347b,_0x14161b,_0x59c5b9,_0x4b1e52,_0x399fa2){const _0x226edf=a0_0x29bc3f;let _0x127e03=TermsUtil[_0x226edf(0x305)](_0x441062);return{'type':_0x3a7203,'name':_0x516ff3,'header':_0x127e03,'record':{'align':_0x51347b,'editable':_0x14161b,'mandatory':_0x4b1e52},'sortable':_0x59c5b9,'width':_0x399fa2,'imex':{'width':Math[_0x226edf(0x293)](_0x399fa2/0x6),'header':_0x127e03,'type':_0x3a7203,'key':_0x516ff3}};}static['getGristSelectorColumnConfig'](_0x3bda0c,_0x5b2a45,_0x3c81e8,_0x4ef727,_0x4069bd,_0x5d161f,_0x5a5013){const _0x8dbe19=a0_0x29bc3f;let _0x476199=TermsUtil[_0x8dbe19(0x305)](_0x5b2a45);return{'type':_0x8dbe19(0x347),'name':_0x3bda0c,'header':_0x476199,'record':{'align':_0x3c81e8,'editable':!0x0,'mandatory':_0x5d161f,'options':_0x5a5013},'sortable':_0x4ef727,'width':_0x4069bd,'imex':{'width':Math[_0x8dbe19(0x293)](_0x4069bd/0x6),'header':_0x476199,'type':'string','key':_0x3bda0c}};}static async[a0_0x29bc3f(0x2fe)](_0x10316c,_0x170503,_0x111131,_0x48fa9d,_0x77ed6,_0x5c5345,_0x226401){const _0x50b073=a0_0x29bc3f;let _0x14c351=await ServiceUtil[_0x50b073(0x283)](_0x226401);return MetaUiUtil[_0x50b073(0x2d4)](_0x10316c,_0x170503,_0x111131,_0x48fa9d,_0x77ed6,_0x5c5345,_0x14c351);}static['getGristSearchColumnConfig'](_0x400dc0,_0x3835b8,_0x537e86,_0x257298,_0x50d5da){const _0x5cb06c=a0_0x29bc3f;let _0x2264f6=TermsUtil[_0x5cb06c(0x305)](_0x537e86),_0x460f37={'name':_0x400dc0,'type':_0x3835b8,'label':_0x2264f6,'operator':_0x257298,'imex':{'width':0x10,'header':_0x2264f6,'type':_0x3835b8,'key':_0x400dc0}};return _0x50d5da&&(_0x460f37['options']=_0x50d5da),_0x460f37;}static async[a0_0x29bc3f(0x2d9)](_0x2b44da,_0x51c322,_0x38e909,_0x48c67c,_0x4bff07){const _0x3464bc=a0_0x29bc3f;let _0xa445bc=await ServiceUtil['getCodeSelectorData'](_0x4bff07);return MetaUiUtil[_0x3464bc(0x2f9)](_0x2b44da,_0x51c322,_0x38e909,_0x48c67c,_0xa445bc);}static[a0_0x29bc3f(0x26e)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))['errors'])return;let _0x2a68d2=[{'name':_0xb70b56(0x15d),'operator':'eq','value':_0x4a7334}];return await ServiceUtil[_0xb70b56(0x274)](_0xb70b56(0x178),_0x2a68d2,null,0x0,0x0,_0xb70b56(0x1c6));}static async[a0_0x3abc2d(0x26d)](_0x44dfe3,_0x13d907){const _0x1407ad=a0_0x3abc2d;let _0x1a8854,_0x580b3b=await MetaUiUtil[_0x1407ad(0x282)](_0x13d907);if(_0x580b3b&&_0x580b3b[_0x1407ad(0x221)]&&0x0!=_0x580b3b[_0x1407ad(0x221)]['length']?(_0x1a8854=_0x580b3b[_0x1407ad(0x221)][0x0],!_0x1a8854['template']&&_0x44dfe3[_0x1407ad(0x263)]&&(_0x1a8854[_0x1407ad(0x22d)]=_0x44dfe3[_0x1407ad(0x263)])):_0x44dfe3[_0x1407ad(0x263)]&&(_0x1a8854={'id':_0x13d907,'template':_0x44dfe3[_0x1407ad(0x263)]}),!_0x1a8854)throw new Error(TermsUtil[_0x1407ad(0x193)](_0x1407ad(0x14c),{'value':TermsUtil[_0x1407ad(0x24c)]('menu')+'\x20'+_0x13d907}));if(!_0x1a8854[_0x1407ad(0x22d)])throw new Error(TermsUtil[_0x1407ad(0x193)](_0x1407ad(0x14c),{'value':TermsUtil[_0x1407ad(0x24c)](_0x1407ad(0x20e))+'\x20'+TermsUtil[_0x1407ad(0x1e1)](_0x1407ad(0x126))}));return this[_0x1407ad(0x19e)]=_0x1a8854['id'],JSON[_0x1407ad(0x1f9)](MetaCrypto[_0x1407ad(0x261)](_0x1a8854[_0x1407ad(0x22d)]));}static[a0_0x3abc2d(0x266)](){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':_0xc13a36=>Boolean(_0xc13a36)},'is_popup':{'type':Boolean,'converter':_0x3d7263=>Boolean(_0x3d7263)},'is_activity':{'type':Boolean,'converter':_0xcad459=>Boolean(_0xcad459)},'is_readonly':{'type':Boolean,'converter':_0x131bf8=>Boolean(_0x131bf8)}};}static async[a0_0x3abc2d(0x1f6)](_0x10c18e){const _0x1b0510=a0_0x3abc2d;if(0x0==store['getState']()['metaUI']['runnerPermission'])return void document['dispatchEvent'](new CustomEvent('notify',{'detail':{'level':_0x1b0510(0x15c),'message':TermsUtil[_0x1b0510(0x1ed)](_0x1b0510(0x1b0))}}));let _0x58e3ac=_0x10c18e[_0x1b0510(0x186)]?UiUtil[_0x1b0510(0x27c)]():_0x10c18e['route_name'];_0x10c18e[_0x1b0510(0x27c)]=_0x58e3ac;let _0x29d70e=await MetaUiUtil[_0x1b0510(0x26d)](_0x10c18e,_0x58e3ac);return!0x0===_0x10c18e[_0x1b0510(0x14f)]&&(_0x29d70e[_0x1b0510(0x1a0)][_0x1b0510(0x27b)][_0x1b0510(0x144)]=!0x1,_0x29d70e[_0x1b0510(0x1a0)][_0x1b0510(0x27b)][_0x1b0510(0x12a)]=_0x1b0510(0x17d),_0x29d70e[_0x1b0510(0x1a0)][_0x1b0510(0x1c7)]=!0x1,_0x29d70e[_0x1b0510(0x1a0)]['button']=[],_0x29d70e['button']=_0x29d70e[_0x1b0510(0x288)][_0x1b0510(0x24d)](_0x26ed21=>_0x1b0510(0x18f)==_0x26ed21[_0x1b0510(0x159)])),!0x0===_0x10c18e[_0x1b0510(0x1f1)]&&(_0x29d70e[_0x1b0510(0x196)][_0x1b0510(0x16b)](_0x14fd8a=>{const _0x461005=_0x1b0510;_0x14fd8a[_0x461005(0x1b5)]=!0x1;}),_0x29d70e['button']=_0x29d70e[_0x1b0510(0x288)]['filter'](_0x2eb915=>'add'!=_0x2eb915[_0x1b0510(0x159)])),!0x1===_0x10c18e[_0x1b0510(0x1c7)]&&(_0x29d70e[_0x1b0510(0x1a0)][_0x1b0510(0x1c7)]=!0x1),_0x29d70e[_0x1b0510(0x196)][_0x1b0510(0x24d)](_0x2953b6=>_0x2953b6['change_event_handler'])[_0x1b0510(0x16b)](_0x94c36=>{const _0x40bf31=_0x1b0510;_0x10c18e[_0x40bf31(0x130)]||(_0x10c18e[_0x40bf31(0x130)]={}),_0x10c18e[_0x40bf31(0x130)][_0x94c36[_0x40bf31(0x159)]]=_0x94c36[_0x40bf31(0x214)];}),_0x29d70e[_0x1b0510(0x196)][_0x1b0510(0x16b)](_0x4a051a=>{const _0x387cbc=_0x1b0510;[_0x387cbc(0x187),_0x387cbc(0x15b)][_0x387cbc(0x235)](_0x4a051a[_0x387cbc(0x1b9)])?_0x4a051a['type']=_0x387cbc(0x1fc):[_0x387cbc(0x20d)][_0x387cbc(0x235)](_0x4a051a['type'])&&(_0x4a051a[_0x387cbc(0x1b9)]='meta-code-selector');}),_0x29d70e;}static[a0_0x3abc2d(0x156)](..._0x4c62a6){return{'pages':_0x4c62a6};}static['getGristGuttersConfig'](_0x371812,_0x4c961f){const _0x1f922c=a0_0x3abc2d;let _0x2676db=[{'type':'gutter','gutterName':'dirty'},{'type':_0x1f922c(0x237),'gutterName':'sequence'}];return _0x371812&&_0x2676db['push']({'type':'gutter','gutterName':_0x1f922c(0x27a),'multiple':_0x4c961f}),_0x2676db;}static[a0_0x3abc2d(0x1bc)](_0x100ece){return{'selectable':{'multiple':_0x100ece}};}static async[a0_0x3abc2d(0x249)](_0x5ee17d){const _0x2022ca=a0_0x3abc2d;_0x5ee17d[_0x2022ca(0x281)]||(_0x5ee17d[_0x2022ca(0x281)]={}),_0x5ee17d[_0x2022ca(0x281)][_0x2022ca(0x128)]||(_0x5ee17d['gqlInfo']['query']={}),_0x5ee17d[_0x2022ca(0x281)][_0x2022ca(0x128)][_0x2022ca(0x275)]||(_0x5ee17d[_0x2022ca(0x281)][_0x2022ca(0x128)][_0x2022ca(0x275)]={}),_0x5ee17d[_0x2022ca(0x281)]['mutation']||(_0x5ee17d[_0x2022ca(0x281)][_0x2022ca(0x13c)]={}),_0x5ee17d['gqlInfo'][_0x2022ca(0x13c)]['multiple']||(_0x5ee17d['gqlInfo'][_0x2022ca(0x13c)][_0x2022ca(0x179)]={}),_0x5ee17d[_0x2022ca(0x281)][_0x2022ca(0x13c)][_0x2022ca(0x179)][_0x2022ca(0x16d)]||(_0x5ee17d[_0x2022ca(0x281)][_0x2022ca(0x13c)][_0x2022ca(0x179)][_0x2022ca(0x16d)]=[]);let _0x5508ec=MetaUiUtil[_0x2022ca(0x27f)](_0x5ee17d),_0x4a4676=MetaUiUtil[_0x2022ca(0x1f8)](_0x5ee17d),_0x3066b7=MetaUiUtil[_0x2022ca(0x18c)](_0x5ee17d),_0x4dbf1a=MetaUiUtil[_0x2022ca(0x1d9)](_0x5ee17d),_0x505871=await MetaUiUtil[_0x2022ca(0x27e)](_0x5ee17d);_0x505871['filter'](_0x38712e=>[_0x2022ca(0x1fc)][_0x2022ca(0x235)](_0x38712e[_0x2022ca(0x1b9)]))['forEach'](_0x1181ee=>{const _0x175ac8=_0x2022ca;_0x5ee17d[_0x175ac8(0x224)][_0x175ac8(0x24d)](_0x4a5188=>_0x4a5188[_0x175ac8(0x159)]==_0x1181ee[_0x175ac8(0x159)])[_0x175ac8(0x16b)](_0x45754f=>{const _0x4747b2=_0x175ac8,_0x2e4947=_0x1181ee[_0x4747b2(0x215)][_0x4747b2(0x138)],_0x3889c9=_0x2e4947['referenceField']?_0x2e4947[_0x4747b2(0x1bb)]:_0x1181ee[_0x4747b2(0x159)]+'Id',_0x12bb81=_0x5ee17d[_0x4747b2(0x224)][_0x4747b2(0x25c)](_0x43798e=>_0x43798e[_0x4747b2(0x159)]==_0x1181ee['name']);_0x505871[_0x4747b2(0x12d)]({'type':_0x4747b2(0x1fc),'header':_0x1181ee[_0x4747b2(0x176)],'name':_0x3889c9,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x2e4947}}),_0x5ee17d[_0x4747b2(0x281)][_0x4747b2(0x128)][_0x4747b2(0x275)][_0x3889c9]='x',_0x5ee17d[_0x4747b2(0x281)]['mutation'][_0x4747b2(0x179)]['skip_fields'][_0x4747b2(0x12d)](_0x3889c9),_0x5ee17d[_0x4747b2(0x224)][_0x12bb81][_0x4747b2(0x159)]=_0x3889c9,_0x5ee17d[_0x4747b2(0x224)][_0x12bb81][_0x4747b2(0x1b9)]='meta-object-selector';});});let _0x22387d=MetaUiUtil[_0x2022ca(0x1b8)](_0x5508ec[_0x2022ca(0x144)],_0x3066b7['selectable'][_0x2022ca(0x179)]);if(0x1==_0x5ee17d[_0x2022ca(0x1be)]&&(_0x505871=MetaUiUtil[_0x2022ca(0x14e)](_0x5ee17d,_0x505871)),_0x5ee17d[_0x2022ca(0x26e)]&&(_0x5ee17d['gridEmphasized']&&_0x5ee17d[_0x2022ca(0x26e)][_0x2022ca(0x210)]&&_0x5ee17d['gridEmphasized'][_0x2022ca(0x210)]['length']>0x0&&(_0x3066b7[_0x2022ca(0x20a)]=function(_0x2615d0,_0x215c72){const _0x44400d=_0x2022ca;let _0x9ca30c=_0x5ee17d[_0x44400d(0x26e)][_0x44400d(0x210)];for(let _0xf1673c=0x0;_0xf1673c<_0x9ca30c['length'];_0xf1673c++){let _0x5f547e=_0x9ca30c[_0xf1673c][_0x44400d(0x26b)][_0x44400d(0x188)](/record./g,'arguments[0].')['replace'](/rowIndex/g,_0x44400d(0x13f));if(eval(''+_0x5f547e))return{'emphasized':[_0x9ca30c[_0xf1673c][_0x44400d(0x154)],_0x9ca30c[_0xf1673c][_0x44400d(0x142)]]};}}),_0x5ee17d[_0x2022ca(0x26e)]&&_0x5ee17d['gridEmphasized']['column'])){let _0x4ba27e=_0x5ee17d[_0x2022ca(0x26e)][_0x2022ca(0x278)];Object[_0x2022ca(0x148)](_0x4ba27e)[_0x2022ca(0x16b)](_0x58c052=>{const _0x549211=_0x2022ca;let _0x5710e4=_0x4ba27e[_0x58c052],_0x231b42=_0x505871[_0x549211(0x25c)](_0xd4a97a=>_0xd4a97a[_0x549211(0x159)]==_0x58c052);_0x505871[_0x231b42][_0x549211(0x215)]||(_0x505871[_0x231b42][_0x549211(0x215)]={}),_0x505871[_0x231b42]['record'][_0x549211(0x20a)]=function(_0x3d43bd,_0xecd1e9){const _0xf8ccc1=_0x549211;for(let _0x45e9d7=0x0;_0x45e9d7<_0x5710e4[_0xf8ccc1(0x172)];_0x45e9d7++){let _0x52afa5=_0x5710e4[_0x45e9d7][_0xf8ccc1(0x26b)]['replace'](/record./g,_0xf8ccc1(0x1ce))[_0xf8ccc1(0x188)](/rowIndex/g,_0xf8ccc1(0x13f));if(eval(''+_0x52afa5))return{'emphasized':[_0x5710e4[_0x45e9d7][_0xf8ccc1(0x154)],_0x5710e4[_0x45e9d7][_0xf8ccc1(0x142)]]};}};});}return{'list':_0x4a4676,'pagination':_0x5508ec[_0x2022ca(0x12a)],'sorters':_0x5508ec[_0x2022ca(0x1aa)],'rows':_0x3066b7,'columns':[..._0x22387d,..._0x4dbf1a,..._0x505871]};}static async['parseFormConfigSet'](_0x3e923f){const _0x4778dd=a0_0x3abc2d;let _0x4b006d=_0x3e923f[_0x4778dd(0x286)],_0x3cd32c=[];for(let _0x3c2290=0x0;_0x3c2290<_0x4b006d[_0x4778dd(0x172)];_0x3c2290++){let {type:_0x33b8fb=_0x4778dd(0x161),name:_0x3808f9,header:_0x5d9817,hidden:_0x827b97=!0x1,editable:_0x30e609=!0x0,mandatory:_0x3a2e9a=!0x1,align:_0x573333=_0x4778dd(0x1a6),select_opt:_0x198eec,object_opt:_0x415845}=_0x4b006d[_0x3c2290],_0x2e7914={'type':_0x33b8fb,'name':_0x3808f9,'header_txt':ValueUtil[_0x4778dd(0x162)](_0x5d9817)?TermsUtil[_0x4778dd(0x1e1)](_0x3808f9):TermsUtil[_0x4778dd(0x1e1)](_0x5d9817),'header':{'renderer':function(_0x405a77){return _0x405a77['header_txt'];}},'hidden':_0x827b97,'record':{'editable':_0x30e609,'mandatory':_0x3a2e9a,'align':_0x573333,'classifier':function(){},'renderer':getRenderer(_0x33b8fb)}};_0x30e609&&(_0x2e7914[_0x4778dd(0x215)][_0x4778dd(0x1cd)]=getEditor(_0x33b8fb)),_0x33b8fb['startsWith'](_0x4778dd(0x28b))&&_0x415845&&_0x415845[_0x4778dd(0x20e)]&&(_0x415845=await MetaUiUtil[_0x4778dd(0x25a)](_0x33b8fb,_0x415845)),_0x4778dd(0x13d)===_0x33b8fb&&ValueUtil[_0x4778dd(0x217)](_0x198eec)&&(Array['isArray'](_0x198eec)?_0x2e7914[_0x4778dd(0x215)][_0x4778dd(0x138)]=_0x198eec:_0x4778dd(0x14d)===_0x198eec[_0x4778dd(0x1b9)]?_0x2e7914['record'][_0x4778dd(0x138)]=await ServiceUtil[_0x4778dd(0x131)](_0x198eec[_0x4778dd(0x277)]?_0x198eec[_0x4778dd(0x277)]:_0x198eec[_0x4778dd(0x159)]):_0x4778dd(0x1a3)===_0x198eec['type']?_0x2e7914[_0x4778dd(0x215)][_0x4778dd(0x138)]=await ServiceUtil[_0x4778dd(0x150)](_0x198eec[_0x4778dd(0x159)],_0x198eec[_0x4778dd(0x25d)]):_0x4778dd(0x1c0)===_0x198eec[_0x4778dd(0x1b9)]&&(_0x2e7914[_0x4778dd(0x215)][_0x4778dd(0x138)]=await ServiceUtil['getCodeByEntity'](_0x198eec[_0x4778dd(0x25d)]))),_0x4778dd(0x1fc)===_0x33b8fb&&ValueUtil[_0x4778dd(0x217)](_0x415845)?_0x2e7914[_0x4778dd(0x215)][_0x4778dd(0x138)]={..._0x415845}:'meta-code-selector'===_0x33b8fb&&ValueUtil[_0x4778dd(0x217)](_0x415845)&&(_0x415845[_0x4778dd(0x1ea)]&&(_0x415845['codes']=await ServiceUtil[_0x4778dd(0x1d4)](_0x415845)),_0x2e7914['record'][_0x4778dd(0x138)]={..._0x415845}),_0x3cd32c[_0x4778dd(0x12d)](_0x2e7914);}return _0x3cd32c;}static['getGridOptionSet'](_0x2ef458){const _0x330133=a0_0x3abc2d;let _0x237eec=_0x2ef458[_0x330133(0x219)];_0x2ef458['useFilterForm']=!_0x237eec||null==_0x237eec[_0x330133(0x1c7)]||_0x237eec[_0x330133(0x1c7)];let {mobile_mode:_0x379325=_0x330133(0x1e5),desk_mode:_0x2c61b0=_0x330133(0x204),view_mode:_0x49f490=[],use_row_checker:_0x441938=!0x0,sorters:_0x2a703f=[],pages:_0x574489=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x330133(0x162)](_0x237eec['option'])?{}:_0x237eec['option'];return _0x330133(0x17d)===_0x574489||'-1'===_0x574489?(_0x2ef458[_0x330133(0x146)]=!0x0,_0x574489={'infinite':!0x0}):(_0x2ef458[_0x330133(0x146)]=!0x1,_0x574489[_0x330133(0x287)](function(_0x41c2e5,_0x1ecc23){return _0x41c2e5-_0x1ecc23;}),_0x574489={'pages':_0x574489}),ValueUtil['isNotEmpty'](_0x49f490)&&(0x1==_0x49f490[_0x330133(0x172)]?(_0x2c61b0=_0x49f490[0x0],_0x379325=_0x49f490[0x0]):_0x49f490[_0x330133(0x172)]>=0x2&&(_0x49f490['includes'](_0x379325)||(_0x379325=_0x49f490[0x1]),_0x49f490[_0x330133(0x235)](_0x2c61b0)||(_0x2c61b0=_0x49f490[0x0]))),_0x2ef458[_0x330133(0x199)]=_0x379325,_0x2ef458[_0x330133(0x25e)]=_0x2c61b0,_0x2ef458[_0x330133(0x136)]=_0x49f490,_0x2ef458[_0x330133(0x149)]=UiUtil[_0x330133(0x18d)]()?_0x2ef458[_0x330133(0x199)]:_0x2ef458[_0x330133(0x25e)],{'use_row_checker':_0x441938,'sorters':_0x2a703f,'pages':_0x574489};}static['getGridListSet'](_0x1773a8){const _0x346acf=a0_0x3abc2d;let _0x3775af={'fields':[ValueUtil[_0x346acf(0x19d)](_0x1773a8[_0x346acf(0x17e)],_0x346acf(0x159)),ValueUtil[_0x346acf(0x19d)](_0x1773a8[_0x346acf(0x17e)],_0x346acf(0x13a))]};return _0x1773a8[_0x346acf(0x219)][_0x346acf(0x168)]&&Object['assign'](_0x3775af,_0x1773a8[_0x346acf(0x219)][_0x346acf(0x168)]),_0x3775af;}static[a0_0x3abc2d(0x18c)](_0x636d3c){const _0x48a75b=a0_0x3abc2d;let {multiple_select:_0x15655e=!0x1,click:_0x43e750}=ValueUtil['isEmpty'](_0x636d3c[_0x48a75b(0x219)][_0x48a75b(0x210)])?{}:_0x636d3c[_0x48a75b(0x219)][_0x48a75b(0x210)],_0x4f4afb={'selectable':{'multiple':_0x15655e},'appendable':_0x636d3c[_0x48a75b(0x225)]};return ValueUtil[_0x48a75b(0x217)](_0x43e750)&&(_0x4f4afb[_0x48a75b(0x152)]={'click':_0x43e750}),_0x4f4afb;}static[a0_0x3abc2d(0x1d9)](_0x49afa7){const _0x1caf3b=a0_0x3abc2d;let _0x1e8cb2=_0x49afa7['gridConfig']['button'];return ValueUtil[_0x1caf3b(0x162)](_0x1e8cb2)?[]:_0x1e8cb2['map'](_0x435b5f=>{const _0xc5c125=_0x1caf3b;let _0x3d721d={'type':_0xc5c125(0x237),'gutterName':_0xc5c125(0x288)};if(ValueUtil[_0xc5c125(0x217)](_0x435b5f[_0xc5c125(0x267)])&&(Array[_0xc5c125(0x14b)](_0x435b5f[_0xc5c125(0x267)])?_0x3d721d[_0xc5c125(0x267)]=_0x43e265=>{const _0x4ed88c=_0xc5c125;if(ValueUtil[_0x4ed88c(0x217)](_0x43e265))for(let _0x3599d3=0x0;_0x3599d3<_0x435b5f['icon'][_0x4ed88c(0x172)];_0x3599d3++){let _0x2cdabd=_0x435b5f[_0x4ed88c(0x267)][_0x3599d3];if(!0x0===ValueUtil[_0x4ed88c(0x173)](_0x2cdabd,_0x43e265,Object[_0x4ed88c(0x148)](_0x2cdabd)[_0x4ed88c(0x24d)](_0x5814e5=>_0x4ed88c(0x267)!=_0x5814e5)))return _0x2cdabd['icon'];}}:_0x3d721d['icon']=_0x435b5f[_0xc5c125(0x267)]),ValueUtil['isNotEmpty'](_0x435b5f['name'])&&(_0x3d721d['name']=_0x435b5f[_0xc5c125(0x159)]),ValueUtil[_0xc5c125(0x217)](_0x435b5f[_0xc5c125(0x1a9)])&&(_0x3d721d[_0xc5c125(0x244)]=TermsUtil[_0xc5c125(0x1c8)](_0x435b5f[_0xc5c125(0x1a9)])),'basic'===_0x435b5f['type']){let _0x497ac6=ValueUtil[_0xc5c125(0x19d)](_0x435b5f,_0xc5c125(0x26b));['history_copy',_0xc5c125(0x220)][_0xc5c125(0x235)](_0x497ac6)?_0x3d721d['handlers']={'click':(_0x5788a0,_0x29aaf7,_0x5b10fd,_0x244551,_0x39e7ef)=>{const _0xafbfb2=_0xc5c125;if(_0x244551['id']){let _0x521f4c={'title':_0xafbfb2(0x1c3),'type':_0xafbfb2(0x141),'tagname':_0xafbfb2(0x1dd)==_0x497ac6?'history-copy-list-popup':'history-json-list-popup','location':_0xafbfb2(0x1dd)==_0x497ac6?_0xafbfb2(0x125):_0xafbfb2(0x134),'menu':_0x49afa7[_0xafbfb2(0x27c)],'size':_0xafbfb2(0x268),'popup_field':_0xafbfb2(0x13e),'parent_field':'id'},_0x291791={..._0x244551,'gqlFunc':ValueUtil['getParams'](_0x49afa7[_0xafbfb2(0x281)],_0xafbfb2(0x128),_0xafbfb2(0x26f)),'gristConfig':JSON['parse'](JSON[_0xafbfb2(0x252)](_0x49afa7['grist'][_0xafbfb2(0x163)]))};MetaUiUtil[_0xafbfb2(0x1d1)](_0x49afa7,{'logic':_0x521f4c},_0x291791);}}}:_0x3d721d[_0xc5c125(0x152)]={'click':_0x497ac6};}else _0x3d721d[_0xc5c125(0x152)]={'click':(_0xb6c812,_0x595071,_0x9da11d,_0x4f68eb,_0xd19ccf)=>{_0x4f68eb['id']&&MetaUiUtil['gristButtonHandler'](_0x49afa7,_0x435b5f,_0x4f68eb);}};return _0x3d721d;});}static async['getGridColumnSet'](_0x30aa7c){const _0x614c41=a0_0x3abc2d;let _0x1570d3=_0x30aa7c[_0x614c41(0x1cf)];if(ValueUtil[_0x614c41(0x162)](_0x1570d3))return[];let _0x4bbaab=[];for(let _0x423b9b=0x0;_0x423b9b<_0x1570d3[_0x614c41(0x172)];_0x423b9b++){let {type:_0x4808d3=_0x614c41(0x161),name:_0x11ac6e,header:_0x1f21ca,hidden:_0x446e7c=!0x1,editable:_0x118049=!0x0,mandatory:_0x56ac27=!0x1,sortable:_0x2015d1=!0x1,align:_0x276e83=_0x614c41(0x1a6),width:_0x509f0e=0x0,exportable:_0x5cad82=!0x1,select_opt:_0x378a59,object_opt:_0xa6d24f,format:_0x13815e}=_0x1570d3[_0x423b9b],_0x56705e={'type':_0x4808d3,'name':_0x11ac6e,'header':ValueUtil[_0x614c41(0x162)](_0x1f21ca)?'':TermsUtil[_0x614c41(0x1e1)](_0x1f21ca),'hidden':_0x446e7c,'sortable':_0x2015d1,'width':_0x509f0e,'record':{'editable':_0x118049,'mandatory':_0x56ac27,'align':_0x276e83,'format':_0x13815e}};if(_0x4808d3[_0x614c41(0x255)]('meta-')&&_0xa6d24f&&_0xa6d24f['menu']&&(_0xa6d24f=await MetaUiUtil[_0x614c41(0x25a)](_0x4808d3,_0xa6d24f)),'select'===_0x4808d3&&ValueUtil['isNotEmpty'](_0x378a59)&&(Array[_0x614c41(0x14b)](_0x378a59)?_0x56705e[_0x614c41(0x215)][_0x614c41(0x138)]=_0x378a59:_0x614c41(0x14d)===_0x378a59[_0x614c41(0x1b9)]?_0x56705e['record'][_0x614c41(0x138)]=await ServiceUtil[_0x614c41(0x131)](_0x378a59[_0x614c41(0x277)]?_0x378a59['values']:_0x378a59[_0x614c41(0x159)]):_0x614c41(0x1a3)===_0x378a59[_0x614c41(0x1b9)]?_0x56705e[_0x614c41(0x215)]['options']=await ServiceUtil['getCodeByScenario'](_0x378a59['name'],_0x378a59[_0x614c41(0x25d)]):_0x614c41(0x1c0)===_0x378a59[_0x614c41(0x1b9)]&&(_0x56705e[_0x614c41(0x215)][_0x614c41(0x138)]=await ServiceUtil[_0x614c41(0x1d4)](_0x378a59[_0x614c41(0x25d)]))),'meta-object-selector'===_0x4808d3&&ValueUtil[_0x614c41(0x217)](_0xa6d24f)){let _0x277aab;_0x56705e[_0x614c41(0x215)]['options']={..._0xa6d24f},_0xa6d24f['basicArgs']&&_0xa6d24f[_0x614c41(0x1b2)][_0x614c41(0x1fe)]&&(_0x277aab=[..._0xa6d24f['basicArgs']['filters']]),_0x277aab&&JSON[_0x614c41(0x252)](_0x277aab)[_0x614c41(0x235)]('::')&&(_0x56705e['handlers']={'dblclick':(_0x37da61,_0x3f595e,_0x2d09d5,_0xdbac7e,_0x34daa0)=>{const _0x5e996d=_0x614c41;let _0x1a892d=[];_0x277aab[_0x5e996d(0x16b)](_0x4c3009=>{const _0x38e0b6=_0x5e996d;var {name:_0x5269bd,value:_0x25a2df,operator:_0x531fc2='eq'}=_0x4c3009;_0x25a2df[_0x38e0b6(0x235)]('::')&&(_0x25a2df=ValueUtil[_0x38e0b6(0x19d)](_0xdbac7e,..._0x25a2df[_0x38e0b6(0x188)]('::','')[_0x38e0b6(0x247)]('.'))),_0x25a2df||(_0x25a2df=''),_0x1a892d[_0x38e0b6(0x12d)]({'name':_0x5269bd,'operator':_0x531fc2,'value':_0x25a2df});}),_0x2d09d5['record'][_0x5e996d(0x138)][_0x5e996d(0x1b2)][_0x5e996d(0x1fe)]=_0x1a892d;}});}else _0x614c41(0x1d0)===_0x4808d3&&ValueUtil[_0x614c41(0x217)](_0xa6d24f)&&(_0xa6d24f[_0x614c41(0x1ea)]&&(_0xa6d24f['codes']=await ServiceUtil[_0x614c41(0x1d4)](_0xa6d24f)),_0x56705e['record'][_0x614c41(0x138)]={..._0xa6d24f});!0x0===_0x30aa7c[_0x614c41(0x257)]&&!0x0===_0x5cad82&&(_0x56705e['imex']={'header':_0x56705e[_0x614c41(0x176)],'key':_0x56705e[_0x614c41(0x159)],'width':_0x56705e[_0x614c41(0x1f7)]/0x6,'type':_0x56705e[_0x614c41(0x1b9)]}),_0x4bbaab[_0x614c41(0x12d)](_0x56705e);}if(!0x0!==this['is_activity'])return _0x4bbaab;let _0x522739=await MetaApi[_0x614c41(0x1a8)](this[_0x614c41(0x19e)]),{template:_0x3945ea={}}=_0x522739;if(!_0x3945ea[_0x614c41(0x1b4)])return _0x4bbaab;let _0x5d7dc8=_0x3945ea[_0x614c41(0x1b4)];return _0x4bbaab=_0x4bbaab[_0x614c41(0x194)](_0x3ca669=>('id'==_0x3ca669[_0x614c41(0x159)]||(_0x3ca669[_0x614c41(0x171)]=!_0x5d7dc8[_0x614c41(0x235)](_0x3ca669[_0x614c41(0x159)]),_0x3ca669[_0x614c41(0x230)]=_0x5d7dc8[_0x614c41(0x202)](_0x3ca669['name']),-0x1==_0x3ca669[_0x614c41(0x230)]&&(_0x3ca669[_0x614c41(0x230)]=0x1869f)),_0x3ca669)),_0x4bbaab['sort']((_0x25c58f,_0x2000e6)=>_0x25c58f[_0x614c41(0x230)]-_0x2000e6[_0x614c41(0x230)]),_0x4bbaab;}static async['getGristMetaObjectOptions'](_0x2c2443,_0x4ddf66){const _0x71f565=a0_0x3abc2d;let _0x4bcaa9=await MetaUiUtil['getMenuMetaData'](_0x4ddf66[_0x71f565(0x20e)]);if(_0x4bcaa9&&_0x4bcaa9[_0x71f565(0x221)]&&_0x4bcaa9[_0x71f565(0x221)][_0x71f565(0x172)]>0x0&&_0x4bcaa9[_0x71f565(0x221)][0x0][_0x71f565(0x22d)]){let _0x3c9469=_0x4bcaa9[_0x71f565(0x221)][0x0],_0x974143=JSON['parse'](MetaCrypto[_0x71f565(0x261)](_0x3c9469['template']));_0x4ddf66[_0x71f565(0x246)]||(_0x4ddf66[_0x71f565(0x246)]=_0x974143[_0x71f565(0x132)][_0x71f565(0x128)]['list_func']),_0x4ddf66[_0x71f565(0x13d)]||(_0x4ddf66[_0x71f565(0x13d)]=_0x974143[_0x71f565(0x196)]),_0x4ddf66[_0x71f565(0x22f)]&&0x0!=_0x4ddf66[_0x71f565(0x22f)][_0x71f565(0x172)]||(_0x4ddf66[_0x71f565(0x22f)]=_0x974143[_0x71f565(0x254)]),_0x4ddf66[_0x71f565(0x285)]||(_0x4ddf66[_0x71f565(0x285)]=_0x974143['menu'][_0x71f565(0x244)]),_0x4ddf66[_0x71f565(0x1fe)]||(_0x4ddf66[_0x71f565(0x1fe)]=_0x974143[_0x71f565(0x132)][_0x71f565(0x128)][_0x71f565(0x1fe)]||[]),_0x2c2443['includes']('-object-')?_0x4ddf66[_0x71f565(0x280)]||(_0x4ddf66['nameField']=_0x974143[_0x71f565(0x20e)][_0x71f565(0x159)]||_0x71f565(0x159)):_0x2c2443['includes'](_0x71f565(0x1da))&&(_0x4ddf66[_0x71f565(0x1c2)]||(_0x4ddf66[_0x71f565(0x1c2)]=_0x974143[_0x71f565(0x20e)][_0x71f565(0x159)]||'code'),_0x4ddf66[_0x71f565(0x1ea)]||(_0x4ddf66[_0x71f565(0x1ea)]=_0x974143[_0x71f565(0x20e)][_0x71f565(0x13a)]||void 0x0));}return _0x4ddf66;}static[a0_0x3abc2d(0x14e)](_0x592dfa,_0x280885){const _0x48bde5=a0_0x3abc2d;let _0x59d77e=_0x592dfa[_0x48bde5(0x224)];return _0x59d77e&&_0x59d77e[_0x48bde5(0x16b)](_0x2f8ef2=>{const _0x18a583=_0x48bde5;'string'==typeof _0x2f8ef2?_0x280885[_0x18a583(0x24d)](_0xc3fc7e=>_0xc3fc7e[_0x18a583(0x159)]==_0x2f8ef2)[_0x18a583(0x16b)](_0xdad6ff=>{const _0x6633e2=_0x18a583;_0xdad6ff['filter']=_0x6633e2(0x254);}):_0x18a583(0x15b)==typeof _0x2f8ef2&&_0x280885[_0x18a583(0x24d)](_0x662f29=>_0x662f29[_0x18a583(0x159)]==_0x2f8ef2[_0x18a583(0x159)])[_0x18a583(0x16b)](_0x4f6bd6=>{const _0x33ef49=_0x18a583;_0x4f6bd6[_0x33ef49(0x24d)]=_0x2f8ef2,_0x4f6bd6[_0x33ef49(0x24d)][_0x33ef49(0x1b9)]='datetime'===_0x4f6bd6[_0x33ef49(0x1b9)]&&'eq'==_0x2f8ef2[_0x33ef49(0x256)]?_0x33ef49(0x155):_0x4f6bd6[_0x33ef49(0x1b9)];let _0x37eb37=_0x4f6bd6[_0x33ef49(0x24d)][_0x33ef49(0x26c)],_0x1e9c9d=['today',_0x33ef49(0x245),_0x33ef49(0x289),_0x33ef49(0x1d5),'hour',_0x33ef49(0x1b6),_0x33ef49(0x1d8)];if(_0x37eb37&&_0x1e9c9d[_0x33ef49(0x24d)](_0x5be8a2=>_0x37eb37[_0x33ef49(0x255)](_0x5be8a2))[_0x33ef49(0x172)]>0x0){let _0x568c9b=[],_0x27c5a5={'date':_0x33ef49(0x262),'datetime':_0x33ef49(0x14a)},_0x41e59e={'today':'day','year':_0x33ef49(0x245),'month':_0x33ef49(0x289),'date':_0x33ef49(0x21b),'hour':_0x33ef49(0x241),'min':_0x33ef49(0x211),'sec':_0x33ef49(0x1fd)};_0x37eb37[_0x33ef49(0x247)](',')[_0x33ef49(0x16b)](_0x16d76d=>{const _0x11285f=_0x33ef49,_0xbf7277=a0_0x4714ef();if(_0x1e9c9d[_0x11285f(0x235)](_0x16d76d))_0x568c9b[_0x11285f(0x12d)](_0xbf7277[_0x11285f(0x17b)](_0x41e59e[_0x16d76d])[_0x11285f(0x137)](_0x27c5a5[_0x4f6bd6[_0x11285f(0x1b9)]]));else{if(_0x16d76d[_0x11285f(0x235)]('-')){let _0x11a8c1=_0x16d76d['split']('-'),_0x16e49b=_0x11a8c1[0x0],_0x4fb844=_0x11a8c1[0x1];_0x568c9b[_0x11285f(0x12d)](_0xbf7277[_0x11285f(0x26a)](_0x4fb844,_0x41e59e[_0x16e49b])[_0x11285f(0x17b)](_0x41e59e[_0x16e49b])[_0x11285f(0x137)](_0x27c5a5[_0x4f6bd6['type']]));}else{if(_0x16d76d[_0x11285f(0x235)]('+')){let _0x2015c9=_0x16d76d[_0x11285f(0x247)]('+'),_0x42e10e=_0x2015c9[0x0],_0x2d948=_0x2015c9[0x1];_0x568c9b[_0x11285f(0x12d)](_0xbf7277[_0x11285f(0x18f)](_0x2d948,_0x41e59e[_0x42e10e])['startOf'](_0x41e59e[_0x42e10e])[_0x11285f(0x137)](_0x27c5a5[_0x4f6bd6[_0x11285f(0x1b9)]]));}}}}),_0x568c9b[_0x33ef49(0x172)]>0x0&&(_0x4f6bd6['filter'][_0x33ef49(0x26c)]=0x1==_0x568c9b[_0x33ef49(0x172)]?_0x568c9b[0x0]:_0x568c9b);}});}),_0x280885;}static['getContextObject'](_0x1970ea){const _0x15a6ff=a0_0x3abc2d;let _0x20b8d6={'title':TermsUtil[_0x15a6ff(0x1c9)](_0x1970ea[_0x15a6ff(0x17e)][_0x15a6ff(0x244)]),'help':_0x1970ea['menuInfo'][_0x15a6ff(0x24a)]||'','actions':[...MetaUiUtil[_0x15a6ff(0x239)](_0x1970ea)]};return _0x1970ea[_0x15a6ff(0x257)]&&(_0x20b8d6['exportable']={'name':_0x20b8d6[_0x15a6ff(0x244)],'data':_0x1970ea['export'][_0x15a6ff(0x174)](_0x1970ea)}),_0x1970ea[_0x15a6ff(0x1a7)]&&(_0x20b8d6['importable']={'handler':_0x1970ea['import'][_0x15a6ff(0x174)](_0x1970ea)}),_0x20b8d6;}static['getContextButtons'](_0x1039d4){const _0x41f7a6=a0_0x3abc2d;let _0xba030a=_0x1039d4['buttonConfig'];return ValueUtil['isEmpty'](_0xba030a)?[]:_0xba030a[_0x41f7a6(0x24d)](_0x548f39=>_0x41f7a6(0x123)!=_0x548f39[_0x41f7a6(0x159)]&&_0x41f7a6(0x200)!=_0x548f39[_0x41f7a6(0x159)]&&_0x41f7a6(0x18f)!=_0x548f39['name'])['map'](_0x44c994=>{const _0x52d375=_0x41f7a6;let {name:_0x47e6e4,label:_0x16f7c7,style:_0x4945c2,type:_0x3cd906='basic',action:_0x309847,logic:_0x39e106}=_0x44c994;if(ValueUtil[_0x52d375(0x162)](_0x47e6e4))return{'title':'-1'};ValueUtil['isEmpty'](_0x16f7c7)&&(_0x16f7c7=_0x47e6e4),ValueUtil[_0x52d375(0x162)](_0x4945c2)&&(_0x4945c2=_0x47e6e4),ValueUtil[_0x52d375(0x162)](_0x309847)&&(_0x309847=_0x47e6e4);let _0x5b50f4=ValueUtil['isNotEmpty'](_0x4945c2)?CommonButtonStyles[_0x4945c2]||{'icon':_0x4945c2,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x52d375(0x1c8)](_0x16f7c7),'action':MetaUiUtil['getButtonActionHandler'](_0x1039d4,_0x3cd906,_0x309847,_0x39e106),..._0x5b50f4};})[_0x41f7a6(0x24d)](_0x243175=>'-1'!=_0x243175[_0x41f7a6(0x244)]);}static[a0_0x3abc2d(0x1df)](_0x8c27dc){const _0xd9771b=a0_0x3abc2d;let _0x5f0d8d=_0x8c27dc&&_0x8c27dc[_0xd9771b(0x135)]?_0x8c27dc['buttonConfig']:null;return _0x5f0d8d?_0x5f0d8d['filter'](_0x25753f=>_0xd9771b(0x18f)!=_0x25753f['name'])[_0xd9771b(0x194)](_0x427b6f=>{const _0x4d26bf=_0xd9771b;let {name:_0x13d828,label:_0x32339d,style:_0x1a3157,type:_0x31e7dd=_0x4d26bf(0x260),action:_0x4959ff,logic:_0xfe4355}=_0x427b6f;ValueUtil['isEmpty'](_0x32339d)&&(_0x32339d=_0x13d828),ValueUtil[_0x4d26bf(0x162)](_0x1a3157)&&(_0x1a3157=_0x13d828),ValueUtil[_0x4d26bf(0x162)](_0x4959ff)&&(_0x4959ff=_0x13d828);let _0x5323ef=MetaUiUtil[_0x4d26bf(0x227)](TermsUtil[_0x4d26bf(0x1c8)](_0x32339d),_0x1a3157);return _0x5323ef['onclick']=MetaUiUtil[_0x4d26bf(0x15a)](_0x8c27dc,_0x31e7dd,_0x4959ff,_0xfe4355),_0x5323ef;}):[];}static['createButtonElement'](_0x23d82b,_0x233332){const _0x4a142e=a0_0x3abc2d;let _0x69fb3b=CommonButtonStyles[_0x233332]||{'icon':_0x233332,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x57cea2=_0x4a142e(0x272)+_0x23d82b+_0x4a142e(0x206)+(_0x69fb3b[_0x4a142e(0x267)]?_0x69fb3b['icon']:'')+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x69fb3b['emphasis'][_0x4a142e(0x191)]?_0x4a142e(0x191):'')+_0x4a142e(0x1fa)+(_0x69fb3b[_0x4a142e(0x270)]['outlined']?'outlined':'')+_0x4a142e(0x1fa)+(_0x69fb3b[_0x4a142e(0x270)][_0x4a142e(0x1e8)]?_0x4a142e(0x1e8):'')+_0x4a142e(0x1fa)+(_0x69fb3b['emphasis']['danger']?'danger':'')+'\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20';return UiUtil['htmlToElement'](_0x57cea2);}static[a0_0x3abc2d(0x15a)](_0x451587,_0x5d39f9,_0xc164df,_0x2c9241){const _0x225a39=a0_0x3abc2d;if(_0x225a39(0x260)==_0x5d39f9){if(_0x451587[_0xc164df])return _0x451587[_0xc164df][_0x225a39(0x174)](_0x451587);}else{if('custom'==_0x5d39f9)return()=>MetaUiUtil[_0x225a39(0x1ee)](_0x451587,_0x2c9241);}return()=>{const _0x503676=_0x225a39;UiUtil[_0x503676(0x1e9)]('title.warning','text.button_bind_func_is_not_exist',_0x503676(0x1a5),_0x503676(0x18e));};}static async[a0_0x3abc2d(0x1d1)](_0x4ca624,_0x135aec,_0x3320a2){const _0x5b0414=a0_0x3abc2d;let _0x445f2e=ValueUtil[_0x5b0414(0x19d)](_0x135aec,_0x5b0414(0x26b)),_0x6cfd43=ValueUtil[_0x5b0414(0x19d)](_0x445f2e,_0x5b0414(0x1b9));if('form'===_0x6cfd43)_0x445f2e['tagname']=_0x5b0414(0x259),_0x445f2e['location']='pages/meta-form-element.js',_0x445f2e['parent_field']='id',await MetaUiUtil[_0x5b0414(0x213)](_0x4ca624,_0x445f2e,_0x3320a2);else{if(_0x5b0414(0x197)===_0x6cfd43)MetaUiUtil[_0x5b0414(0x16c)](_0x4ca624,_0x445f2e,_0x3320a2);else{if(_0x5b0414(0x1b3)===_0x6cfd43){let _0x16a286;_0x445f2e[_0x5b0414(0x180)]?(_0x16a286={},Object[_0x5b0414(0x148)](_0x3320a2)[_0x5b0414(0x24d)](_0x1805d3=>Object['keys'](_0x445f2e['param_field'])['includes'](_0x1805d3))[_0x5b0414(0x194)](_0x239853=>{const _0x2e95f7=_0x5b0414;Object[_0x2e95f7(0x148)](_0x445f2e['param_field'])[_0x2e95f7(0x235)](_0x239853)&&(_0x2e95f7(0x161)==typeof _0x3320a2[_0x239853]?_0x16a286[_0x445f2e[_0x2e95f7(0x180)][_0x239853]]=_0x3320a2[_0x239853]:_0x16a286[_0x445f2e[_0x2e95f7(0x180)][_0x239853]]={'id':_0x3320a2[_0x239853]['id']});})):_0x16a286=_0x3320a2,UiUtil[_0x5b0414(0x164)](_0x445f2e[_0x5b0414(0x183)],[_0x16a286]);}else _0x5b0414(0x141)===_0x6cfd43?await MetaUiUtil['commonButtonOpenPopup'](_0x4ca624,_0x445f2e,_0x3320a2):_0x5b0414(0x1a3)===_0x6cfd43?await MetaUiUtil[_0x5b0414(0x1b7)](_0x4ca624,_0x445f2e,_0x3320a2):'value_reference'===_0x6cfd43&&await MetaUiUtil[_0x5b0414(0x1f4)](_0x4ca624,_0x445f2e,_0x3320a2);}}}static async['customButtonHandler'](_0x10979b,_0x3e043d){const _0x1fa825=a0_0x3abc2d;if(ValueUtil[_0x1fa825(0x162)](_0x3e043d))return;let _0x44acbd=_0x10979b[_0x1fa825(0x147)],_0x214dc3=_0x10979b[_0x1fa825(0x21c)],_0x5975f8=ValueUtil[_0x1fa825(0x19d)](_0x3e043d,_0x1fa825(0x1b9)),_0xaad278=ValueUtil[_0x1fa825(0x19d)](_0x3e043d,_0x1fa825(0x238)),_0x38e022=_0xaad278[_0x1fa825(0x24d)](_0x4bbf05=>_0x4bbf05['startsWith'](_0x1fa825(0x147)));if(ValueUtil[_0x1fa825(0x217)](_0x38e022)){if(!_0x44acbd)return void UiUtil[_0x1fa825(0x1e9)](_0x1fa825(0x1ae),_0x1fa825(0x208),_0x1fa825(0x1a5),_0x1fa825(0x18e));if(0x0==(_0x44acbd[_0x1fa825(0x21f)]?_0x44acbd[_0x1fa825(0x21f)][_0x1fa825(0x221)]:[])[_0x1fa825(0x172)])return void UiUtil[_0x1fa825(0x1e9)](_0x1fa825(0x1ae),_0x1fa825(0x1e7),'info','confirm');if(_0xaad278['includes'](_0x1fa825(0x170))||_0xaad278[_0x1fa825(0x235)](_0x1fa825(0x1a1))){let _0xba3d9a=_0x44acbd[_0x1fa825(0x1cc)];if(ValueUtil['isEmpty'](_0xba3d9a))return void UiUtil[_0x1fa825(0x1e9)](_0x1fa825(0x166),_0x1fa825(0x19f),_0x1fa825(0x1a5),_0x1fa825(0x18e));if(_0xaad278[_0x1fa825(0x235)]('grist_one')&&_0xba3d9a[_0x1fa825(0x172)]>0x1)return void UiUtil['showAlertPopup'](_0x1fa825(0x1ae),'text.please_select_only_one',_0x1fa825(0x1a5),_0x1fa825(0x18e));}}let _0x45f365={};if(_0xaad278[_0x1fa825(0x235)](_0x1fa825(0x24d))){if(!_0x214dc3)return void UiUtil[_0x1fa825(0x1e9)](_0x1fa825(0x1ae),_0x1fa825(0x231),'info',_0x1fa825(0x18e));let _0x3300d4=_0x214dc3?await _0x214dc3[_0x1fa825(0x21d)]():[];_0x45f365[_0x1fa825(0x24d)]=_0x3300d4;}if(_0xaad278[_0x1fa825(0x235)]('grist_all'))_0x45f365[_0x1fa825(0x147)]=_0x44acbd[_0x1fa825(0x21f)][_0x1fa825(0x221)];else{if(_0xaad278[_0x1fa825(0x235)](_0x1fa825(0x170)))_0x45f365[_0x1fa825(0x147)]=_0x44acbd['selected'][0x0];else{if(_0xaad278[_0x1fa825(0x235)](_0x1fa825(0x1a1)))_0x45f365['grist']=_0x44acbd[_0x1fa825(0x1cc)];else{if(_0xaad278[_0x1fa825(0x235)]('grist_changed')&&(_0x45f365['grist']=ServiceUtil[_0x1fa825(0x175)](_0x44acbd),!_0x45f365[_0x1fa825(0x147)]))return;}}}if(_0x1fa825(0x1b3)===_0x5975f8){let _0x3719ef,_0x2268f3=Array['isArray'](_0x45f365['grist'])?_0x45f365[_0x1fa825(0x147)]:[_0x45f365[_0x1fa825(0x147)]];_0x3719ef=_0x3e043d[_0x1fa825(0x180)]?_0x2268f3['map'](_0x290477=>{const _0xa7d7f7=_0x1fa825;let _0x4a66ba={};return Object[_0xa7d7f7(0x148)](_0x290477)[_0xa7d7f7(0x24d)](_0x3ef61b=>Object[_0xa7d7f7(0x148)](_0x3e043d[_0xa7d7f7(0x180)])['includes'](_0x3ef61b))[_0xa7d7f7(0x194)](_0x5b16b4=>{const _0x380a36=_0xa7d7f7;Object['keys'](_0x3e043d[_0x380a36(0x180)])[_0x380a36(0x235)](_0x5b16b4)&&('string'==typeof _0x290477[_0x5b16b4]?_0x4a66ba[_0x3e043d['param_field'][_0x5b16b4]]=_0x290477[_0x5b16b4]:_0x4a66ba[_0x3e043d[_0x380a36(0x180)][_0x5b16b4]]={'id':_0x290477[_0x5b16b4]['id']});}),_0x4a66ba;}):_0x2268f3,UiUtil['pageNavigate'](_0x3e043d[_0x1fa825(0x183)],_0x3719ef);}else{if('popup'===_0x5975f8){let _0x272154={..._0x45f365[_0x1fa825(0x147)]?_0x45f365[_0x1fa825(0x147)]:{},..._0x45f365[_0x1fa825(0x24d)]?_0x45f365[_0x1fa825(0x24d)]:{}};await MetaUiUtil[_0x1fa825(0x213)](_0x10979b,_0x3e043d,_0x272154);}else _0x1fa825(0x1a3)===_0x5975f8&&await MetaUiUtil[_0x1fa825(0x1b7)](_0x10979b,_0x3e043d,_0x45f365);}}static[a0_0x3abc2d(0x16c)](_0x46c7e4,_0x469f4a,_0x5b0949){const _0x4c61f4=a0_0x3abc2d;let _0x47000c=_0x469f4a[_0x4c61f4(0x18a)],_0x4ff05e={},_0x59d51d=_0x46c7e4[_0x4c61f4(0x1e4)]['toLowerCase'](),_0x5711ec=_0x46c7e4;_0x4ff05e=_0x59d51d[_0x4c61f4(0x255)](_0x4c61f4(0x1b1))||_0x59d51d[_0x4c61f4(0x255)]('meta-master-detail-')?_0x47000c[_0x4c61f4(0x20b)]?{..._0x47000c}:{'detail':{..._0x47000c}}:{..._0x47000c},Object['keys'](_0x4ff05e)[_0x4c61f4(0x16b)](_0xd4babe=>{const _0x409652=_0x4c61f4;if(_0x409652(0x1b4)==_0xd4babe?_0x5711ec=_0x46c7e4[_0x409652(0x16a)][_0x409652(0x165)]:_0x409652(0x20b)==_0xd4babe?_0x5711ec=_0x46c7e4[_0x409652(0x16a)]?_0x46c7e4[_0x409652(0x16a)][_0x409652(0x1f0)]:_0x46c7e4['detailElement']:_0x409652(0x1f5)==_0xd4babe&&(_0x5711ec=_0x46c7e4),_0x5711ec){if(_0x5711ec[_0x409652(0x1e4)]['toLowerCase']()[_0x409652(0x255)](_0x409652(0x22c)))Object['keys'](_0x4ff05e[_0xd4babe])[_0x409652(0x16b)](_0x154248=>{const _0x1ae37b=_0x409652;let _0x495129=_0x5711ec[_0x1ae37b(0x189)][_0x1ae37b(0x233)]('#'+_0x154248);_0x5b0949['id']&&_0x495129[_0x1ae37b(0x13b)](_0x5b0949['id']);let _0x2286ba=_0x4ff05e[_0xd4babe][_0x154248];Object['keys'](_0x2286ba)[_0x1ae37b(0x16b)](_0x139ac7=>{let _0x350e2b=_0x2286ba[_0x139ac7],_0xaf1f22='*'===_0x350e2b?_0x5b0949:_0x5b0949[_0x350e2b];_0x495129[_0x139ac7]=_0xaf1f22;});});else{let _0x29ed23=_0x5711ec;_0x5b0949['id']&&_0x29ed23[_0x409652(0x13b)](_0x5b0949['id']);let _0x387639=_0x4ff05e[_0xd4babe];Object[_0x409652(0x148)](_0x387639)[_0x409652(0x16b)](_0x272933=>{let _0x58853f=_0x387639[_0x272933],_0x1565f0='*'===_0x58853f?_0x5b0949:_0x5b0949[_0x58853f];_0x29ed23[_0x272933]=_0x1565f0;});}}});}static async[a0_0x3abc2d(0x213)](_0x26f4c2,_0xcedaf3,_0x191446){const _0x3d2b2e=a0_0x3abc2d;let _0x4dfaf5=TermsUtil[_0x3d2b2e(0x1c9)](_0xcedaf3[_0x3d2b2e(0x244)]);ValueUtil[_0x3d2b2e(0x217)](_0xcedaf3[_0x3d2b2e(0x1fb)])&&(_0x4dfaf5=_0x4dfaf5+'('+ValueUtil['getParams'](_0x191446,..._0xcedaf3[_0x3d2b2e(0x1fb)][_0x3d2b2e(0x247)]('.'))+')');let _0x3d4d0f=_0xcedaf3[_0x3d2b2e(0x12f)]&&_0x3d2b2e(0x161)==typeof _0xcedaf3[_0x3d2b2e(0x12f)]&&_0x3d2b2e(0x222)===_0xcedaf3[_0x3d2b2e(0x12f)]&&_0x26f4c2&&_0x26f4c2['fetch']?_0x26f4c2[_0x3d2b2e(0x222)][_0x3d2b2e(0x174)](_0x26f4c2):void 0x0;UiUtil[_0x3d2b2e(0x182)](_0x4dfaf5,_0xcedaf3,_0x191446,_0x3d4d0f);}static async['commonButtonCallScenario'](_0x4d39e1,_0x5cd88d,_0x205ead){const _0x547172=a0_0x3abc2d;let _0x522f8a=await ServiceUtil['callScenario'](_0x547172(0x16e),_0x5cd88d[_0x547172(0x159)],_0x205ead);if(!_0x522f8a[_0x547172(0x209)]&&!ValueUtil[_0x547172(0x162)](_0x5cd88d['after'])&&_0x5cd88d[_0x547172(0x12f)]){if(_0x547172(0x222)!==_0x5cd88d['after']){if(_0x547172(0x15b)==typeof _0x5cd88d[_0x547172(0x12f)]){let _0xab91ee=_0x5cd88d[_0x547172(0x12f)],_0x24a3ce=ValueUtil[_0x547172(0x19d)](_0x522f8a['data']['runScenario'][_0x547172(0x21f)],..._0xab91ee['result_name'][_0x547172(0x247)]('.'));if(0x0==Array['isArray'](_0x24a3ce)&&(_0x24a3ce=[_0x24a3ce]),_0x547172(0x228)===_0xab91ee[_0x547172(0x1b9)])_0xab91ee[_0x547172(0x1c5)]=_0x547172(0x259),_0xab91ee[_0x547172(0x124)]=_0x547172(0x229),_0xab91ee['parent_field']='id',_0x24a3ce=_0x24a3ce[0x0],await MetaUiUtil['commonButtonOpenPopup'](_0x4d39e1,_0xab91ee,_0x24a3ce);else{if(_0x547172(0x1b3)===_0xab91ee[_0x547172(0x1b9)]){let _0x129965,_0x1fa626=_0x24a3ce;_0x129965=_0xab91ee['param_field']?_0x1fa626['map'](_0xbbbd9a=>{const _0x3c93f4=_0x547172;let _0x3906de={};return Object[_0x3c93f4(0x148)](_0xbbbd9a)[_0x3c93f4(0x24d)](_0x3c8a59=>Object[_0x3c93f4(0x148)](_0xab91ee[_0x3c93f4(0x180)])[_0x3c93f4(0x235)](_0x3c8a59))['map'](_0x2111f9=>{const _0x406556=_0x3c93f4;Object[_0x406556(0x148)](_0xab91ee[_0x406556(0x180)])[_0x406556(0x235)](_0x2111f9)&&(_0x406556(0x161)==typeof _0xbbbd9a[_0x2111f9]?_0x3906de[_0xab91ee[_0x406556(0x180)][_0x2111f9]]=_0xbbbd9a[_0x2111f9]:_0x3906de[_0xab91ee['param_field'][_0x2111f9]]={'id':_0xbbbd9a[_0x2111f9]['id']});}),_0x3906de;}):_0x1fa626,UiUtil[_0x547172(0x164)](_0xab91ee['url'],_0x129965);}else'pass_param'===_0xab91ee['type']?(_0x24a3ce=_0x24a3ce[0x0],MetaUiUtil[_0x547172(0x16c)](_0x4d39e1,_0xab91ee,_0x24a3ce)):_0x547172(0x141)===_0xab91ee[_0x547172(0x1b9)]?(_0x24a3ce=_0x24a3ce[0x0],await MetaUiUtil[_0x547172(0x213)](_0x4d39e1,_0xab91ee,_0x24a3ce)):_0x547172(0x265)===_0xab91ee[_0x547172(0x1b9)]&&(_0x24a3ce=_0x24a3ce[0x0],await MetaUiUtil[_0x547172(0x1f4)](_0x4d39e1,_0xab91ee,_0x24a3ce));}}}else _0x4d39e1[_0x547172(0x222)]();}}static async['gristButtonValueReference'](_0x26a449,_0x9053c0,_0x2cb3ce){const _0x224d18=a0_0x3abc2d;for(let _0xd7f383=0x0;_0xd7f383<_0x9053c0[_0x224d18(0x1f3)][_0x224d18(0x172)];_0xd7f383++){let _0x5f007d=_0x9053c0[_0x224d18(0x1f3)][_0xd7f383];!0x0===ValueUtil[_0x224d18(0x173)](_0x5f007d,_0x2cb3ce,Object[_0x224d18(0x148)](_0x5f007d)[_0x224d18(0x24d)](_0x5342bc=>_0x224d18(0x26b)!=_0x5342bc))&&await MetaUiUtil[_0x224d18(0x1d1)](_0x26a449,_0x5f007d,_0x2cb3ce);}}static[a0_0x3abc2d(0x1db)](_0x351651,_0x5ab40e){return{'type':_0x351651,'name':_0x5ab40e,'sortable':!0x1,'hidden':!0x0};}static['getGristColumnConfig'](_0x433ee6,_0x9d1b2d,_0x42e01f,_0x35f835,_0x21ccb1,_0x2ba4c4){const _0x47bb5a=a0_0x3abc2d;let _0x523079=TermsUtil['tLabel'](_0x9d1b2d);return{'type':_0x433ee6,'name':_0x9d1b2d,'header':_0x523079,'record':{'align':_0x42e01f,'editable':_0x35f835},'sortable':_0x21ccb1,'width':_0x2ba4c4,'imex':{'width':Math[_0x47bb5a(0x1eb)](_0x2ba4c4/0x6),'header':_0x523079,'type':_0x433ee6,'key':_0x9d1b2d}};}static['getGristColumnConfig2'](_0x53bc14,_0xe6e45e,_0x3d33fe,_0x34248c,_0x18b00a,_0x2897b1,_0x380201){const _0x5843e3=a0_0x3abc2d;let _0x252a50=TermsUtil[_0x5843e3(0x1e1)](_0x3d33fe);return{'type':_0x53bc14,'name':_0xe6e45e,'header':_0x252a50,'record':{'align':_0x34248c,'editable':_0x18b00a},'sortable':_0x2897b1,'width':_0x380201,'imex':{'width':Math['floor'](_0x380201/0x6),'header':_0x252a50,'type':_0x53bc14,'key':_0xe6e45e}};}static[a0_0x3abc2d(0x198)](_0x32add5,_0x14d4d7,_0x390daf,_0x1cd83f,_0x4d5bd2,_0x57f142,_0x3a2e2e,_0x1986d9){const _0x111b74=a0_0x3abc2d;let _0x4c65b7=TermsUtil[_0x111b74(0x1e1)](_0x390daf);return{'type':_0x32add5,'name':_0x14d4d7,'header':_0x4c65b7,'record':{'align':_0x1cd83f,'editable':_0x4d5bd2,'mandatory':_0x3a2e2e},'sortable':_0x57f142,'width':_0x1986d9,'imex':{'width':Math[_0x111b74(0x1eb)](_0x1986d9/0x6),'header':_0x4c65b7,'type':_0x32add5,'key':_0x14d4d7}};}static['getGristSelectorColumnConfig'](_0x2c2e1a,_0x33b4f4,_0x5caea5,_0x5bf446,_0x3ff088,_0x5e90a6,_0x3d8e95){const _0x307e9d=a0_0x3abc2d;let _0x552db7=TermsUtil[_0x307e9d(0x1e1)](_0x33b4f4);return{'type':_0x307e9d(0x13d),'name':_0x2c2e1a,'header':_0x552db7,'record':{'align':_0x5caea5,'editable':!0x0,'mandatory':_0x5e90a6,'options':_0x3d8e95},'sortable':_0x5bf446,'width':_0x3ff088,'imex':{'width':Math[_0x307e9d(0x1eb)](_0x3ff088/0x6),'header':_0x552db7,'type':'string','key':_0x2c2e1a}};}static async[a0_0x3abc2d(0x133)](_0x1c65d4,_0x268eb2,_0x52cf9c,_0x2cd6eb,_0x571b2c,_0x476875,_0x718b8c){const _0x30c40b=a0_0x3abc2d;let _0x26b298=await ServiceUtil['getCodeSelectorData'](_0x718b8c);return MetaUiUtil[_0x30c40b(0x177)](_0x1c65d4,_0x268eb2,_0x52cf9c,_0x2cd6eb,_0x571b2c,_0x476875,_0x26b298);}static['getGristSearchColumnConfig'](_0x4f0297,_0x3722e0,_0x3c9604,_0x6ede4a,_0x5d1ee9){const _0x322e0c=a0_0x3abc2d;let _0x3689ec=TermsUtil[_0x322e0c(0x1e1)](_0x3c9604),_0x385287={'name':_0x4f0297,'type':_0x3722e0,'label':_0x3689ec,'operator':_0x6ede4a,'imex':{'width':0x10,'header':_0x3689ec,'type':_0x3722e0,'key':_0x4f0297}};return _0x5d1ee9&&(_0x385287[_0x322e0c(0x138)]=_0x5d1ee9),_0x385287;}static async[a0_0x3abc2d(0x18b)](_0x237a9f,_0xf41dfc,_0x3b1792,_0x462eb2,_0x666c5b){const _0x182613=a0_0x3abc2d;let _0x2b34a3=await ServiceUtil[_0x182613(0x131)](_0x666c5b);return MetaUiUtil[_0x182613(0x17c)](_0x237a9f,_0xf41dfc,_0x3b1792,_0x462eb2,_0x2b34a3);}static['getCustomButtonContainerStyles'](){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_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=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_0x3abc2d(0x12c)](){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_0x3abc2d(0x12b)](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:5px 6px 0px 0px;
|
|
31
31
|
margin:0px;
|
|
@@ -49,7 +49,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
49
49
|
#grist-personal > mwc-icon:hover{
|
|
50
50
|
background-color: var(--primary-color);
|
|
51
51
|
}
|
|
52
|
-
`];}static[
|
|
52
|
+
`];}static[a0_0x3abc2d(0x145)](){const _0x384227=a0_0x3abc2d;return[ScrollbarStyles,CommonGristStyles,css`
|
|
53
53
|
:host {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
@@ -59,7 +59,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
59
59
|
ox-grist {
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
flex: 1;
|
|
62
|
-
}`,...MetaUiUtil[
|
|
62
|
+
}`,...MetaUiUtil[_0x384227(0x12c)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x384227(0x12b)]()];}static[a0_0x3abc2d(0x1d3)](){const _0x13ac39=a0_0x3abc2d;return[ScrollbarStyles,CommonGristStyles,css`
|
|
63
63
|
:host {
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
@@ -106,7 +106,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
106
106
|
ox-grist {
|
|
107
107
|
overflow-y: auto;
|
|
108
108
|
flex: 1;
|
|
109
|
-
}`,...MetaUiUtil[
|
|
109
|
+
}`,...MetaUiUtil[_0x13ac39(0x12c)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x13ac39(0x12b)]()];}static[a0_0x3abc2d(0x1d7)](){const _0x6cc665=a0_0x3abc2d;return[ScrollbarStyles,CommonGristStyles,css`
|
|
110
110
|
:host {
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: column;
|
|
@@ -153,7 +153,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
153
153
|
ox-grist {
|
|
154
154
|
overflow-y: auto;
|
|
155
155
|
flex: 1;
|
|
156
|
-
}`,...MetaUiUtil[
|
|
156
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[_0x6cc665(0x140)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x3abc2d(0x223)](){const _0xf378f3=a0_0x3abc2d;return[ScrollbarStyles,CommonGristStyles,css`
|
|
157
157
|
:host {
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
@@ -200,7 +200,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
200
200
|
ox-grist {
|
|
201
201
|
overflow-y: auto;
|
|
202
202
|
flex: 1;
|
|
203
|
-
}`,...MetaUiUtil[
|
|
203
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[_0xf378f3(0x140)](),...MetaUiUtil['getGristPersonalizedStyles']()];}static[a0_0x3abc2d(0x236)](){const _0x3f351e=a0_0x3abc2d;return[ScrollbarStyles,CommonGristStyles,css`
|
|
204
204
|
:host {
|
|
205
205
|
display: flex;
|
|
206
206
|
flex-direction: column;
|
|
@@ -215,7 +215,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
215
215
|
ox-grist {
|
|
216
216
|
overflow-y: auto;
|
|
217
217
|
flex: 1;
|
|
218
|
-
}`,...MetaUiUtil[
|
|
218
|
+
}`,...MetaUiUtil[_0x3f351e(0x12c)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x3f351e(0x12b)]()];}static[a0_0x3abc2d(0x1ca)](_0x35f525){const _0x289639=a0_0x3abc2d;return _0x289639(0x1ab)==_0x35f525?MetaUiUtil[_0x289639(0x283)]():MetaUiUtil[_0x289639(0x129)]();}static[a0_0x3abc2d(0x283)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
219
219
|
:host {
|
|
220
220
|
display: flex;
|
|
221
221
|
flex-direction: column;
|
|
@@ -282,7 +282,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
282
282
|
margin-left:7px;
|
|
283
283
|
margin-top:7px;
|
|
284
284
|
}
|
|
285
|
-
`];}static[
|
|
285
|
+
`];}static[a0_0x3abc2d(0x129)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
286
286
|
:host {
|
|
287
287
|
display: flex;
|
|
288
288
|
flex-direction: column;
|
|
@@ -349,7 +349,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
349
349
|
margin-left:7px;
|
|
350
350
|
margin-top:7px;
|
|
351
351
|
}
|
|
352
|
-
`];}static[
|
|
352
|
+
`];}static[a0_0x3abc2d(0x216)](){return[ScrollbarStyles,css`
|
|
353
353
|
:host {
|
|
354
354
|
display: flex;
|
|
355
355
|
flex: 1;
|
|
@@ -438,7 +438,7 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
438
438
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
`,...MetaUiUtil['getCustomButtonContainerStyles']()];}static[
|
|
441
|
+
`,...MetaUiUtil['getCustomButtonContainerStyles']()];}static['getBasicTabStyles'](){return[css`
|
|
442
442
|
:host {
|
|
443
443
|
display: flex;
|
|
444
444
|
flex: 1;
|
|
@@ -493,204 +493,204 @@ const a0_0x29bc3f=a0_0x5881;(function(_0x592b5a,_0x3f9068){const _0x3b2a7c=a0_0x
|
|
|
493
493
|
overflow-x: overlay;
|
|
494
494
|
background-color: var(--main-section-background-color);
|
|
495
495
|
}
|
|
496
|
-
`];}static[
|
|
496
|
+
`];}static['isButtonExist'](_0x3eb8ec,_0x33157e){const _0x1c24e1=a0_0x3abc2d;return!!(_0x3eb8ec?_0x3eb8ec[_0x1c24e1(0x226)](_0x4a2bbe=>_0x4a2bbe[_0x1c24e1(0x159)]==_0x33157e):null);}static[a0_0x3abc2d(0x17f)](_0x2ded9c,_0x4d1730){const _0x3c28e5=a0_0x3abc2d;return!!(_0x2ded9c&&_0x2ded9c['button']?_0x2ded9c[_0x3c28e5(0x288)][_0x3c28e5(0x226)](_0xc0d8e6=>_0xc0d8e6[_0x3c28e5(0x159)]==_0x4d1730):null);}static[a0_0x3abc2d(0x16f)](_0x38d5ff){const _0x1dd258=a0_0x3abc2d;let _0x66d724='';return _0x38d5ff[_0x1dd258(0x24d)](_0x3a56fa=>_0x1dd258(0x237)!=_0x3a56fa['type'])['forEach'](_0x231df0=>{const _0x403500=_0x1dd258;_0x66d724+='\x0a',_0x66d724+=[_0x403500(0x1fc),_0x403500(0x15b),_0x403500(0x187)][_0x403500(0x235)](_0x231df0[_0x403500(0x1b9)])?_0x231df0['name']+'\x0a{'+MetaUiUtil[_0x403500(0x19a)](_0x231df0)+'}':_0x403500(0x1bd)==_0x231df0['type']?_0x231df0[_0x403500(0x159)]+'\x0a{\x0aid\x0aname\x0athumbnail}':_0x231df0[_0x403500(0x159)];}),_0x66d724;}static[a0_0x3abc2d(0x19a)](_0x15d1de){const _0x5ce493=a0_0x3abc2d;let _0x447133='';return ValueUtil[_0x5ce493(0x217)](_0x15d1de[_0x5ce493(0x215)])&&ValueUtil[_0x5ce493(0x217)](_0x15d1de['record']['options'])&&ValueUtil[_0x5ce493(0x217)](_0x15d1de[_0x5ce493(0x215)][_0x5ce493(0x138)][_0x5ce493(0x13d)])&&_0x15d1de[_0x5ce493(0x215)][_0x5ce493(0x138)][_0x5ce493(0x13d)][_0x5ce493(0x16b)](_0x5f2832=>{const _0x108270=_0x5ce493;_0x5f2832[_0x108270(0x159)]&&''!==_0x5f2832[_0x108270(0x159)]&&([_0x108270(0x1fc),_0x108270(0x15b),_0x108270(0x187)][_0x108270(0x235)](_0x5f2832[_0x108270(0x1b9)])?_0x447133+='\x0a'+_0x5f2832[_0x108270(0x159)]+_0x108270(0x250)+MetaUiUtil[_0x108270(0x19a)](_0x5f2832)+_0x108270(0x24e):_0x447133+='\x0a'+_0x5f2832[_0x108270(0x159)]);}),''==_0x447133&&(_0x447133+=_0x5ce493(0x28a)),_0x447133;}static[a0_0x3abc2d(0x160)](_0x47a556){const _0x534055=a0_0x3abc2d;let _0xb23f49=_0x47a556[_0x534055(0x248)];if(_0xb23f49){let _0x1c0973=_0x47a556[_0x534055(0x158)]?_0x47a556[_0x534055(0x158)]:'ox-grist',_0xdd72a1=_0x47a556['gridMode'];return html`
|
|
497
497
|
<ox-grist
|
|
498
|
-
id=${
|
|
499
|
-
.config=${
|
|
500
|
-
.mode=${
|
|
498
|
+
id=${_0x1c0973}
|
|
499
|
+
.config=${_0xb23f49}
|
|
500
|
+
.mode=${_0xdd72a1}
|
|
501
501
|
auto-fetch
|
|
502
|
-
.fetchHandler=${
|
|
503
|
-
${MetaUiUtil[
|
|
502
|
+
.fetchHandler=${_0x47a556['fetchHandler'][_0x534055(0x174)](_0x47a556)}>
|
|
503
|
+
${MetaUiUtil[_0x534055(0x1ad)](_0x47a556)}
|
|
504
504
|
</ox-grist>
|
|
505
|
-
`;}return html``;}static[
|
|
505
|
+
`;}return html``;}static[a0_0x3abc2d(0x264)](_0x4bf03a){const _0x431d6d=a0_0x3abc2d;if(!_0x4bf03a)return html``;if(!_0x4bf03a[_0x431d6d(0x1e3)])return html``;let _0x10206f=_0x4bf03a[_0x431d6d(0x1e3)],_0x1addba=_0x4bf03a['record']||{},_0x23d72e=_0x10206f[_0x431d6d(0x24d)](_0x3fd737=>0x0==_0x3fd737[_0x431d6d(0x171)]);return ValueUtil['isEmpty'](_0x4bf03a[_0x431d6d(0x205)])?MetaUiUtil[_0x431d6d(0x169)](_0x4bf03a,_0x23d72e,_0x1addba):MetaUiUtil[_0x431d6d(0x157)](_0x4bf03a,_0x23d72e,_0x1addba);}static[a0_0x3abc2d(0x157)](_0x4cb0cd,_0x12eb72,_0x5276a3){const _0x3372ce=a0_0x3abc2d;let _0xa4c9af=_0x4cb0cd[_0x3372ce(0x205)];return html`
|
|
506
506
|
<div class="root_container">
|
|
507
|
-
${
|
|
507
|
+
${_0xa4c9af[_0x3372ce(0x194)](_0x34440d=>{const _0x3137ec=_0x3372ce;let _0x485c2d=[];_0x34440d[_0x3137ec(0x23c)][_0x3137ec(0x16b)](_0x5e05a2=>{const _0x450f3f=_0x3137ec;let _0x165f29=_0x12eb72[_0x450f3f(0x24d)](_0x57008a=>_0x5e05a2==_0x57008a['name'])||[];_0x165f29[_0x450f3f(0x172)]>0x0&&_0x485c2d[_0x450f3f(0x12d)](_0x165f29[0x0]);});let _0x1f08e3='height:auto;grid-template-columns:';for(let _0x4fe619=0x0;_0x4fe619<_0x34440d[_0x3137ec(0x278)];_0x4fe619++)_0x1f08e3+=_0x3137ec(0x195);return _0x1f08e3+=';',html`
|
|
508
508
|
<h2>
|
|
509
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
509
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3137ec(0x1c9)](_0x34440d[_0x3137ec(0x184)])}
|
|
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="${_0x1f08e3}">
|
|
512
|
+
${_0x485c2d[_0x3137ec(0x194)](_0x76dd48=>{const _0x1e7465=_0x3137ec;let {editable:_0x1e0c26=!0x1,mandatory:_0xb36d91=!0x1}=_0x76dd48[_0x1e7465(0x215)],_0x334d38=_0x5276a3[_0x1e7465(0x21e)]||{};return html`
|
|
513
|
+
<label ?editable=${_0x1e0c26}><span>${_0xb36d91?'*':''}${_0x76dd48[_0x1e7465(0x203)]}</span>
|
|
514
|
+
${_0x1e0c26?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=${_0x76dd48}
|
|
519
|
+
.record=${_0x5276a3}
|
|
520
|
+
.value=${_0x5276a3[_0x76dd48[_0x1e7465(0x159)]]}
|
|
521
|
+
?dirty=${!!_0x334d38[_0x76dd48[_0x1e7465(0x159)]]}
|
|
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
|
+
${_0x4cb0cd[_0x3372ce(0x186)]?html``:MetaUiUtil[_0x3372ce(0x273)](_0x4cb0cd)}
|
|
528
|
+
`;}static[a0_0x3abc2d(0x169)](_0x129434,_0xa1bc8d,_0xeb4359){const _0x557828=a0_0x3abc2d;let _0x2b1feb=_0x557828(0x1e0);_0x129434[_0x557828(0x278)]&&0x0!=_0x129434[_0x557828(0x278)]||(_0x129434['column']=0x1),_0x129434['column']=parseInt((_0x129434[_0x557828(0x1af)]||{})[_0x557828(0x15f)]||_0x129434[_0x557828(0x278)]);for(let _0x1ec662=0x0;_0x1ec662<_0x129434['column'];_0x1ec662++)_0x2b1feb+=_0x557828(0x195);return _0x2b1feb+=';',html`
|
|
529
|
+
<div id="container" class="container" style="${_0x2b1feb}">
|
|
530
|
+
${_0xa1bc8d[_0x557828(0x194)](_0x1c586d=>{const _0x181b8f=_0x557828;let {editable:_0x2e1190=!0x1,mandatory:_0x46f9ff=!0x1}=_0x1c586d[_0x181b8f(0x215)],_0xa56711=_0xeb4359[_0x181b8f(0x21e)]||{};return html`
|
|
531
|
+
<label ?editable=${_0x2e1190}><span>${_0x46f9ff?'*':''}${_0x1c586d['header_txt']}</span>
|
|
532
|
+
${_0x2e1190?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=${_0x1c586d}
|
|
537
|
+
.record=${_0xeb4359}
|
|
538
|
+
.value=${_0xeb4359[_0x1c586d[_0x181b8f(0x159)]]}
|
|
539
|
+
?dirty=${!!_0xa56711[_0x1c586d[_0x181b8f(0x159)]]}
|
|
540
540
|
></ox-grid-field>
|
|
541
541
|
`;})}
|
|
542
542
|
</div>
|
|
543
|
-
${
|
|
544
|
-
`;}static[
|
|
543
|
+
${_0x129434[_0x557828(0x186)]?html``:MetaUiUtil[_0x557828(0x273)](_0x129434)}
|
|
544
|
+
`;}static[a0_0x3abc2d(0x1e2)](_0x25413a){const _0x237aa0=a0_0x3abc2d;if(!_0x25413a)return html``;if(!_0x25413a[_0x237aa0(0x243)])return html``;let _0x555a18=_0x25413a[_0x237aa0(0x243)];return _0x25413a[_0x237aa0(0x269)]||(_0x25413a[_0x237aa0(0x269)]=_0x555a18[0x0]?.['name']||void 0x0),html`
|
|
545
545
|
<div class="tabs">
|
|
546
|
-
${
|
|
547
|
-
<div class="tab" ?activate="${
|
|
548
|
-
${
|
|
549
|
-
<span>${
|
|
546
|
+
${_0x555a18[_0x237aa0(0x194)](_0x5eb4c2=>{const _0x5d45f0=_0x237aa0;let _0x122c88=TermsUtil[_0x5d45f0(0x1e1)](_0x5eb4c2[_0x5d45f0(0x184)]),_0x2b043d=_0x5eb4c2[_0x5d45f0(0x159)];return html`
|
|
547
|
+
<div class="tab" ?activate="${_0x2b043d===_0x25413a[_0x5d45f0(0x269)]}" @click="${()=>_0x25413a[_0x5d45f0(0x269)]=_0x2b043d}">
|
|
548
|
+
${_0x5eb4c2[_0x5d45f0(0x267)]?html`<mwc-icon>${_0x5eb4c2[_0x5d45f0(0x267)]}</mwc-icon>`:html``}
|
|
549
|
+
<span>${_0x122c88}</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
|
+
${_0x555a18[_0x237aa0(0x194)](_0x3462b3=>{const _0x2c3e98=_0x237aa0;let _0x34c7dd=_0x2c3e98(0x17a);return _0x3462b3[_0x2c3e98(0x159)]==_0x25413a[_0x2c3e98(0x269)]&&(_0x34c7dd=_0x2c3e98(0x22b)),html`
|
|
555
|
+
<div class='tab-contents' style="${_0x34c7dd}">
|
|
556
|
+
${MetaUiUtil[_0x2c3e98(0x151)](_0x25413a,_0x3462b3)}
|
|
557
557
|
</div>
|
|
558
558
|
`;})}
|
|
559
559
|
</div>
|
|
560
|
-
`;}static[
|
|
561
|
-
${0x0==
|
|
560
|
+
`;}static[a0_0x3abc2d(0x276)](_0x3e9926){const _0x14a02d=a0_0x3abc2d;let _0x1e71a9=(_0x3e9926[_0x14a02d(0x1af)]||{})['master_detail_type']||'top_bottom',_0x4d9873=(_0x3e9926[_0x14a02d(0x1af)]||{})[_0x14a02d(0x1e6)]||'50%\x2050%',_0x5dd964=_0x14a02d(0x251)==_0x1e71a9?_0x14a02d(0x1e0)+_0x4d9873+';':_0x14a02d(0x284)+_0x4d9873+';',_0x400735=_0x3e9926['isPage']?UiUtil[_0x14a02d(0x27c)]():_0x3e9926[_0x14a02d(0x1dc)];return html`
|
|
561
|
+
${0x0==_0x3e9926['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=${_0x3e9926['searchFields']||[]}
|
|
567
|
+
.value=${_0x3e9926[_0x14a02d(0x181)]||[]}
|
|
568
|
+
@filters-change=${_0x207a12=>{const _0xe2b57b=_0x14a02d;_0x3e9926[_0xe2b57b(0x147)]?.[_0xe2b57b(0x222)]();}}
|
|
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="${_0x5dd964}">
|
|
574
574
|
<div class="container_detail">
|
|
575
|
-
${MetaApi[
|
|
576
|
-
${MetaUiUtil[
|
|
575
|
+
${MetaApi['getBasicGristHtml'](_0x3e9926)}
|
|
576
|
+
${MetaUiUtil[_0x14a02d(0x273)](_0x3e9926)}
|
|
577
577
|
</div>
|
|
578
578
|
<div class="container_detail">
|
|
579
|
-
${!0x0===
|
|
579
|
+
${!0x0===_0x3e9926[_0x14a02d(0x14f)]?html`${!0x0===_0x3e9926['is_readonly']?html`<meta-tab-element
|
|
580
580
|
id="detail"
|
|
581
|
-
route_name="${
|
|
582
|
-
.activityDataSet=${(
|
|
581
|
+
route_name="${_0x400735}"
|
|
582
|
+
.activityDataSet=${(_0x3e9926[_0x14a02d(0x212)]||{})['detail']}
|
|
583
583
|
is_readonly=true
|
|
584
584
|
is_activity=true
|
|
585
585
|
is_detail=true>
|
|
586
586
|
</meta-tab-element>`:html`<meta-tab-element
|
|
587
587
|
id="detail"
|
|
588
|
-
route_name="${
|
|
589
|
-
.activityDataSet=${(
|
|
588
|
+
route_name="${_0x400735}"
|
|
589
|
+
.activityDataSet=${(_0x3e9926[_0x14a02d(0x212)]||{})['detail']}
|
|
590
590
|
is_activity=true
|
|
591
591
|
is_detail=true>
|
|
592
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
592
|
+
</meta-tab-element>`}`:html`${!0x0===_0x3e9926['is_readonly']?html`<meta-tab-element id="detail" route_name="${_0x400735}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x400735}" is_detail=true></meta-tab-element>`}`}
|
|
593
593
|
</div>
|
|
594
594
|
</div>
|
|
595
|
-
`;}static[
|
|
596
|
-
${0x0==
|
|
595
|
+
`;}static['getTabDetailHtml'](_0x733765){const _0x2f75f6=a0_0x3abc2d;let _0x4f4fd8=_0x733765['etcConfig'][_0x2f75f6(0x1f2)]||'top_bottom',_0x5ea540=_0x733765['etcConfig'][_0x2f75f6(0x1e6)]||_0x2f75f6(0x28c),_0x4bb3ee=_0x733765['etcConfig'][_0x2f75f6(0x271)],_0x5b770a=JSON[_0x2f75f6(0x1f9)](_0x4bb3ee||'{}'),_0x13f1bb=_0x2f75f6(0x251)==_0x4f4fd8?_0x2f75f6(0x1e0)+_0x5ea540+';':_0x2f75f6(0x284)+_0x5ea540+';';return MetaUiUtil[_0x2f75f6(0x15e)](_0x733765),MetaUiUtil[_0x2f75f6(0x27d)](_0x733765,_0x5b770a),html`
|
|
596
|
+
${0x0==_0x733765[_0x2f75f6(0x21a)]?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=${_0x733765[_0x2f75f6(0x207)]||[]}
|
|
602
|
+
.value=${_0x733765['searchFieldValues']||[]}
|
|
603
|
+
@filters-change=${_0x40e4f2=>{_0x733765['fetch']();}}
|
|
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="${_0x13f1bb}">
|
|
609
609
|
<div class="container_detail">
|
|
610
|
-
${
|
|
610
|
+
${_0x733765[_0x2f75f6(0x165)]}
|
|
611
611
|
</div>
|
|
612
612
|
<div class="container_detail">
|
|
613
|
-
${''==
|
|
614
|
-
${
|
|
613
|
+
${''==_0x5b770a[_0x2f75f6(0x1c5)]||_0x2f75f6(0x22c)==_0x5b770a['tagname']?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2f75f6(0x1c9)](''+_0x5b770a[_0x2f75f6(0x184)])}</h2>`}
|
|
614
|
+
${_0x733765[_0x2f75f6(0x1f0)]}
|
|
615
615
|
</div>
|
|
616
616
|
</div>
|
|
617
|
-
`;}static[
|
|
618
|
-
${0x0==
|
|
617
|
+
`;}static[a0_0x3abc2d(0x1a4)](_0x183e80){const _0x507e46=a0_0x3abc2d;return MetaUiUtil[_0x507e46(0x15e)](_0x183e80),html`
|
|
618
|
+
${0x0==_0x183e80[_0x507e46(0x21a)]?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=${_0x183e80['searchFields']||[]}
|
|
624
|
+
.value=${_0x183e80[_0x507e46(0x181)]||[]}
|
|
625
|
+
@filters-change=${_0x23ddbb=>{const _0x453057=_0x507e46;_0x183e80[_0x453057(0x222)]();}}
|
|
626
626
|
></ox-filters-form-base>
|
|
627
627
|
</div>
|
|
628
628
|
</div>
|
|
629
629
|
`}
|
|
630
630
|
<div id="container" class="container" >
|
|
631
|
-
${
|
|
631
|
+
${_0x183e80['masterElement']}
|
|
632
632
|
</div>
|
|
633
|
-
`;}static[
|
|
634
|
-
${0x0==
|
|
633
|
+
`;}static[a0_0x3abc2d(0x19b)](_0x3242a3){const _0x4f669d=a0_0x3abc2d;let _0x26f9ab=_0x3242a3[_0x4f669d(0x1af)][_0x4f669d(0x1f2)]||'top_bottom',_0x46bfa8=_0x3242a3[_0x4f669d(0x1af)][_0x4f669d(0x1e6)]||_0x4f669d(0x28c),_0x56a2d4=_0x3242a3[_0x4f669d(0x1af)][_0x4f669d(0x271)],_0x31aa1f=JSON[_0x4f669d(0x1f9)](_0x56a2d4||'{}'),_0x5312c4=_0x4f669d(0x251)==_0x26f9ab?_0x4f669d(0x1e0)+_0x46bfa8+';':_0x4f669d(0x284)+_0x46bfa8+';';return MetaUiUtil[_0x4f669d(0x27d)](_0x3242a3,_0x31aa1f),html`
|
|
634
|
+
${0x0==_0x3242a3[_0x4f669d(0x21a)]?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=${_0x3242a3[_0x4f669d(0x207)]||[]}
|
|
640
|
+
.value=${_0x3242a3[_0x4f669d(0x181)]||[]}
|
|
641
|
+
@filters-change=${_0x2ac00a=>{const _0x189ff3=_0x4f669d;_0x3242a3[_0x189ff3(0x147)]?.[_0x189ff3(0x222)]();}}
|
|
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="${_0x5312c4}">
|
|
647
647
|
<div class="container_detail">
|
|
648
|
-
${MetaApi[
|
|
649
|
-
${MetaUiUtil[
|
|
648
|
+
${MetaApi[_0x4f669d(0x160)](_0x3242a3)}
|
|
649
|
+
${MetaUiUtil[_0x4f669d(0x273)](_0x3242a3)}
|
|
650
650
|
</div>
|
|
651
651
|
<div class="container_detail">
|
|
652
|
-
${''==
|
|
653
|
-
${
|
|
652
|
+
${''==_0x31aa1f['tagname']||_0x4f669d(0x22c)==_0x31aa1f[_0x4f669d(0x1c5)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4f669d(0x1c9)](''+_0x31aa1f[_0x4f669d(0x184)])}</h2>`}
|
|
653
|
+
${_0x3242a3[_0x4f669d(0x1f0)]}
|
|
654
654
|
</div>
|
|
655
655
|
</div>
|
|
656
|
-
`;}static[
|
|
656
|
+
`;}static[a0_0x3abc2d(0x27d)](_0x4e71ea,_0x582c09){const _0x4ab88b=a0_0x3abc2d;if(!_0x4e71ea[_0x4ab88b(0x1f0)]){let _0x376f0e=_0x582c09['name']?_0x582c09[_0x4ab88b(0x159)]:'detail',_0x2c02ec='<'+_0x582c09[_0x4ab88b(0x1c5)]+_0x4ab88b(0x24b)+_0x376f0e+_0x4ab88b(0x24f)+_0x376f0e+_0x4ab88b(0x1ef)+_0x582c09[_0x4ab88b(0x15d)]+'\x22\x20'+(!0x0===_0x4e71ea[_0x4ab88b(0x14f)]?_0x4ab88b(0x20f):'')+'\x20'+(!0x0===_0x4e71ea['is_readonly']?_0x4ab88b(0x279):'')+_0x4ab88b(0x201)+_0x582c09[_0x4ab88b(0x1c5)]+'>';_0x4e71ea[_0x4ab88b(0x1f0)]=UiUtil[_0x4ab88b(0x258)](_0x2c02ec),_0x4e71ea[_0x4ab88b(0x1f0)]['activityDataSet']=(_0x4e71ea[_0x4ab88b(0x212)]||{})['detail'],_0x4e71ea[_0x4ab88b(0x1e4)][_0x4ab88b(0x23d)]()[_0x4ab88b(0x255)]('meta-tab-detail-')&&(_0x4e71ea[_0x4ab88b(0x1f0)][_0x4ab88b(0x16a)]=_0x4e71ea);}}static[a0_0x3abc2d(0x15e)](_0x1dd3ce){const _0x2d3acb=a0_0x3abc2d;if(!_0x1dd3ce['masterElement']&&_0x1dd3ce['filterForm']){let _0x5d02ce=_0x2d3acb(0x1b4),_0x27f686=_0x2d3acb(0x23f)+_0x5d02ce+_0x2d3acb(0x24f)+_0x5d02ce+_0x2d3acb(0x1ef)+_0x1dd3ce[_0x2d3acb(0x27c)]+'\x22\x20'+(!0x0===_0x1dd3ce[_0x2d3acb(0x14f)]?'is_activity=true':'')+'\x20'+(!0x0===_0x1dd3ce[_0x2d3acb(0x1f1)]?_0x2d3acb(0x279):'')+'\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>';_0x1dd3ce[_0x2d3acb(0x165)]=UiUtil[_0x2d3acb(0x258)](_0x27f686),_0x1dd3ce[_0x2d3acb(0x165)][_0x2d3acb(0x212)]=(_0x1dd3ce[_0x2d3acb(0x212)]||{})[_0x2d3acb(0x1b4)],_0x1dd3ce[_0x2d3acb(0x165)][_0x2d3acb(0x185)]=!0x0,_0x1dd3ce['masterElement'][_0x2d3acb(0x253)]=_0x1dd3ce['filterForm'],_0x1dd3ce['masterElement'][_0x2d3acb(0x16a)]=_0x1dd3ce;}}static[a0_0x3abc2d(0x151)](_0x2ce7ac,_0x416b47){const _0x5b8c76=a0_0x3abc2d;if(_0x2ce7ac['tabElements']||(_0x2ce7ac[_0x5b8c76(0x192)]={}),Object['keys'](_0x2ce7ac[_0x5b8c76(0x192)])[_0x5b8c76(0x24d)](_0x1de437=>_0x1de437==_0x416b47[_0x5b8c76(0x159)])[_0x5b8c76(0x172)]>0x0)return _0x2ce7ac[_0x5b8c76(0x192)][_0x416b47[_0x5b8c76(0x159)]];let _0x127eb2='<'+_0x416b47[_0x5b8c76(0x1c5)]+_0x5b8c76(0x218)+_0x416b47[_0x5b8c76(0x159)]+_0x5b8c76(0x20c)+_0x416b47['menu']+'\x27\x20style=\x22flex:1;\x22\x20'+(!0x0===_0x2ce7ac[_0x5b8c76(0x14f)]?_0x5b8c76(0x20f):'')+'\x20'+(!0x0===_0x2ce7ac[_0x5b8c76(0x1f1)]?'is_readonly=true':'')+_0x5b8c76(0x1cb)+_0x416b47[_0x5b8c76(0x1c5)]+'>',_0x137b9a=UiUtil['htmlToElement'](_0x127eb2);return _0x137b9a[_0x5b8c76(0x212)]=(_0x2ce7ac[_0x5b8c76(0x212)]||{})[_0x416b47['name']],_0x2ce7ac[_0x5b8c76(0x240)]&&(_0x137b9a[_0x5b8c76(0x240)]=_0x2ce7ac[_0x5b8c76(0x240)]),_0x2ce7ac[_0x5b8c76(0x16a)]?_0x137b9a[_0x5b8c76(0x16a)]=_0x2ce7ac[_0x5b8c76(0x16a)]:_0x137b9a[_0x5b8c76(0x1f0)]=_0x2ce7ac,!0x1===_0x416b47[_0x5b8c76(0x232)]&&(_0x137b9a['use_filter_form']=!0x1),_0x416b47['main_filter_form']&&(_0x137b9a[_0x5b8c76(0x253)]=_0x416b47['main_filter_form']),_0x2ce7ac[_0x5b8c76(0x192)][_0x416b47[_0x5b8c76(0x159)]]=_0x137b9a,_0x137b9a;}static[a0_0x3abc2d(0x1ad)](_0x20d27f){const _0x262592=a0_0x3abc2d;let _0x30c43a=_0x20d27f[_0x262592(0x225)],_0x35bbb7=_0x20d27f[_0x262592(0x1be)],_0x5db8ed=_0x20d27f[_0x262592(0x12e)],_0x27eca7=JSON['parse']((_0x20d27f[_0x262592(0x1af)]||{})[_0x262592(0x143)]||_0x262592(0x234));return 0x0==_0x35bbb7?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[_0x262592(0x1d6)](_0x20d27f)}
|
|
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
|
+
${_0x27eca7?html`
|
|
665
665
|
<div id="sorters">
|
|
666
|
-
<mwc-icon @click=${
|
|
666
|
+
<mwc-icon @click=${_0x41b696=>{const _0x5a9f96=_0x262592,_0x473905=_0x41b696[_0x5a9f96(0x23a)];_0x473905[_0x5a9f96(0x22e)][_0x5a9f96(0x127)]({'right':0x0,'top':_0x473905[_0x5a9f96(0x1ba)]+_0x473905[_0x5a9f96(0x22a)]});}}
|
|
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[_0x262592(0x25b)](_0x20d27f)}
|
|
674
674
|
<ox-record-creator
|
|
675
675
|
id="add"
|
|
676
|
-
?hidden="${!
|
|
677
|
-
.callback=${
|
|
676
|
+
?hidden="${!_0x30c43a}"
|
|
677
|
+
.callback=${_0x5db8ed}>
|
|
678
678
|
<button>
|
|
679
679
|
<mwc-icon>add</mwc-icon>
|
|
680
680
|
</button>
|
|
681
681
|
</ox-record-creator>
|
|
682
682
|
</div>
|
|
683
|
-
${this[
|
|
683
|
+
${this[_0x262592(0x1d6)](_0x20d27f)}
|
|
684
684
|
</div>
|
|
685
|
-
`;}static[
|
|
685
|
+
`;}static[a0_0x3abc2d(0x1d6)](_0x36cbdd){const _0x437a7d=a0_0x3abc2d;return _0x437a7d(0x204)!=_0x36cbdd[_0x437a7d(0x149)]?html``:!0x0!==_0x36cbdd[_0x437a7d(0x14f)]?html`
|
|
686
686
|
<div id="grist-personal">
|
|
687
|
-
<mwc-icon @click=${
|
|
687
|
+
<mwc-icon @click=${_0x2821f1=>{const _0x49abcf=_0x437a7d;let _0x49b004=MetaApi[_0x49abcf(0x153)](_0x49abcf(0x1de),_0x49abcf(0x1de));_0x49b004[_0x49abcf(0x1d2)]=_0x2821f1['currentTarget']['parentElement'][_0x49abcf(0x139)]['parentElement'],_0x49b004[_0x49abcf(0x19e)]=_0x36cbdd[_0x49abcf(0x19e)],MetaApi[_0x49abcf(0x190)](TermsUtil[_0x49abcf(0x1c9)](_0x49abcf(0x1bf)),_0x49abcf(0x1c1),_0x49b004,!0x1);}}
|
|
688
688
|
>settings</mwc-icon>
|
|
689
689
|
</div>
|
|
690
|
-
`:html``;}static[
|
|
690
|
+
`:html``;}static[a0_0x3abc2d(0x25b)](_0x2644e8){const _0x57a460=a0_0x3abc2d;return ValueUtil[_0x57a460(0x162)](_0x2644e8['gridViewOptions'])||0x1==_0x2644e8[_0x57a460(0x136)][_0x57a460(0x172)]?html``:html`
|
|
691
691
|
<div id="modes">
|
|
692
|
-
${
|
|
693
|
-
${
|
|
694
|
-
${
|
|
692
|
+
${_0x2644e8[_0x57a460(0x136)][_0x57a460(0x235)]('GRID')?html`<mwc-icon @click="${()=>_0x2644e8['gridMode']='GRID'}" ?active="${_0x57a460(0x204)==_0x2644e8['gridMode']}">grid_on</mwc-icon>`:''}
|
|
693
|
+
${_0x2644e8[_0x57a460(0x136)][_0x57a460(0x235)](_0x57a460(0x1e5))?html`<mwc-icon @click="${()=>_0x2644e8[_0x57a460(0x149)]=_0x57a460(0x1e5)}" ?active="${'LIST'==_0x2644e8[_0x57a460(0x149)]}">format_list_bulleted</mwc-icon>`:''}
|
|
694
|
+
${_0x2644e8[_0x57a460(0x136)]['includes'](_0x57a460(0x1c4))?html`<mwc-icon @click="${()=>_0x2644e8[_0x57a460(0x149)]=_0x57a460(0x1c4)}" ?active="${'CARD'==_0x2644e8[_0x57a460(0x149)]}">apps</mwc-icon>`:''}
|
|
695
695
|
</div>
|
|
696
|
-
`;}static[
|
|
696
|
+
`;}static[a0_0x3abc2d(0x273)](_0x510c90){const _0x5554c7=a0_0x3abc2d;return html`<div id="button-container" class="button-container">${MetaUiUtil[_0x5554c7(0x1df)](_0x510c90)}</div>`;}}
|