@things-factory/meta-ui 6.1.31 → 6.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +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 +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +28 -28
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +16 -16
- package/client/pages/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 +102 -102
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +10 -10
- 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 +3 -3
- 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
- package/translations/en.json +2 -0
- package/translations/ko.json +2 -0
- package/translations/ms.json +2 -0
- package/translations/zh.json +2 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x1b6229=a0_0x20da;(function(_0x169f9b,_0x1bf151){const _0x227e60=a0_0x20da,_0x2b0355=_0x169f9b();while(!![]){try{const _0x207b35=-parseInt(_0x227e60(0xe0))/0x1+-parseInt(_0x227e60(0x218))/0x2*(-parseInt(_0x227e60(0xe3))/0x3)+parseInt(_0x227e60(0x1ec))/0x4*(parseInt(_0x227e60(0x10a))/0x5)+parseInt(_0x227e60(0x192))/0x6+parseInt(_0x227e60(0x1b3))/0x7+parseInt(_0x227e60(0x15f))/0x8+-parseInt(_0x227e60(0x20d))/0x9;if(_0x207b35===_0x1bf151)break;else _0x2b0355['push'](_0x2b0355['shift']());}catch(_0x5c1e7b){_0x2b0355['push'](_0x2b0355['shift']());}}}(a0_0x3b94,0x699bc));import a0_0x519f9f from'graphql-tag';import{client}from'@operato/graphql';function a0_0x20da(_0x1f0da5,_0x2d5bfc){const _0x3b9403=a0_0x3b94();return a0_0x20da=function(_0x20da6e,_0x5bed7c){_0x20da6e=_0x20da6e-0xd8;let _0x321268=_0x3b9403[_0x20da6e];return _0x321268;},a0_0x20da(_0x1f0da5,_0x2d5bfc);}import a0_0x4950a6 from'moment-timezone';import{css,html}from'lit';import{ScrollbarStyles,CommonGristStyles,CommonButtonStyles}from'@operato/styles';import{store}from'@operato/shell';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{ServiceUtil}from'./service-util';import{UiUtil}from'./ui-util';import{MetaCrypto}from'./meta-crypto';import{getEditor,getRenderer}from'@operato/data-grist';import{MetaApi}from'./meta-api';import'./../pages/personalize/personal-column-selector';import'./../pages/history/history-copy-list-popup';import'./../pages/history/history-json-list-popup';import{getValueGenerators,getValueGenerator}from'@operato/data-grist';function a0_0x3b94(){const _0x1b1861=['\x22\x20name=\x22','startsWith','openPopupByElement','querySelector','master_detail_size','column','getButtonActionHandler','use_grid_sort_button','text.there_is_no_selected_items','getBasicFormHtmlNoOption','data_history_list','\x22\x20route_name=\x22','\x27\x20route_name=\x27','getBasicTabStyles','fetchHandler','findOne','grid-column-personalize','runnerPermission','detail','filterForm','large','is_readonly','master','unlimited','355820CPlgFR','YYYY-MM-DD\x20HH:mm:ss','editable','currentTarget','top_bottom','result_name','parseGridConfigSet','menu','tagName','meta-tab-element','record','error','master_detail_type','sequence','selected','getGridOptionSet','rank','isButtonExist','filter_from','codes','height:auto;grid-template-columns:','history_copy','\x20id=\x22','grist_all','searchFieldValues','getGristColumnConfig3','logic','-code-','getGristEmphasizedStyles','is_readonly=true','add','tMenu','currentTabKey','1980603wAlySD','parseFormConfigSet','title_detail','dispField','raised','GRID','getGristPersonalizedStyles','tagname','meta-','editor','metaUI','2uHcaWD','getGridDetailHtml','grid-template-columns:','route_name','createButtonElement','parentElement','fieldChangeHandlers','year','use_filter_form','desc','tabRenderConfig','object','getGridListSet','routing','detailElement','pass_field','gridColumnConfig','option','getBasicGristHtml','getMasterDetailLeftRightGristStyle','day','nextElementSibling','button','meta-object-selector','floor','midium','master_detail_element','search','template','export','getObjctColumnSelectFields','findIndex','offsetTop','records','data','tLabel','exportable','50%\x2050%','value','datetime-local','getGristColumnConfig','import','find_one_func','label','value_is_not_exist','getCodeByScenario','notify','codeField','createDetailElement','getBasicTabContent','resource-code-selector','length','confirm','resource-object','basic','param_field','getBasicGristStyles','name','infinityPage','offsetHeight','gutter','858837yebvhm','\x20is_detail=true></','split','414213ZUFSSO','\x201fr\x202fr','currentRouting','multiple','useFilterForm','query','runScenario','getMasterDetailTopDownGristStyle','open','meta-master-detail-','grist','handlers','scenario','grid_column','getBasicMainTabStyles','getGridViewOption','form','recordCreationCallback','menuId','getGristSearchCodeColumnConfig','gristButtonPassParam','getButtonContainer','-object-','gridDeskMode','location','isEmpty','setGridColumnSearchOption','change_event_handler','useButtonAdd','icon','url','getGristColumnConfig2','left_right','openDynamicPopup','getGristSelectorColumnConfig','personal-column-selector','stringify','relation','parse','25qRwoWu','formConfigSet','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','text.grid_data_is_empty','format','htmlToElement','menus','getParams','getGristSelectableConfig','showAlertPopup','id,template','formRenderConfig','isPage','createCustomElement','\x20is_detail=true\x20style=\x22flex:1;\x22></','commonButtonCallScenario','findMenuMeta','startOf','getMenuMeta','info','filterFields','configGrist','errors','emphasis','custom','gridMode','getContextButtons','forEach','skip_fields','YYYY-MM-DD','default_form_column','args','after_set_fields','isGridButtonExist','rootElement','help','bind','getBasicFormStyles','buttonConfig','ox-grist','is_activity=true','meta-grist-tab-','defaultValue','getGristGuttersConfig','fetch','is_activity','includeMainList','getContextObject','grist_one','searchConfig','gridMobileMode','callScenario','meta-form-element','invalid\x20license\x20key','getGristCodeSelectorColumnConfig','arguments[1]','replace','selectorName','tTitle','CARD','backgroundColor','toLowerCase','getCodeByEntity','options','text.nothing_selected','push','useMasterFilterForm','grist_changed','mutation','searchFields','header_txt','gridViewOptions','getBasicFormHtmlOnOption','parent_id','getMenuMetaData','<mwc-button\x20label=\x22','grid','gqlInfo','month','value_reference','gristButtonHandler','after','gristConfigSet','getGristTabHtml','getGridButtonSet','4819856yiyMvC','tText','tButton','gristButtonValueReference','getGristHiddenColumnConfig','gql','danger','minute','activityDataSet','getQueryFilters','patchesForUpdateMultiple','pages/hgistory/history-json-list-popup.js','isNotEmpty','importable','title.info','defaultPageConfig','getState','mainFilterForm','findMenuMetaByRouting','parent_field','config','today','\x20>\x0a\x20\x20\x20\x20</mwc-button>\x0a\x20\x20\x20\x20','false','main_filter_form','self','grist_selected','type','filter','masterElement','createMasterElement','display:none','text.please_select_only_one','sort','model','pass_param','getGristPaginationCustomConfig','popup','text.button_bind_func_is_not_exist','second','use_row_checker','etcConfig','selectable','string','operator','width','values','gridEmphasized','grid-template-rows:','commonButtonOpenPopup','arguments[0].','810006KwUsos','\x20is_detail=true\x20style=\x22flex:1;\x22></meta-tab-element>','pages','subtract','nameField','basicArgs','getGridColumnPersonalizeButton','row-selector','useButtonExport','board','pageNavigate','pages/meta-form-element.js','classifier','map','history-json-list-popup','gristId','referenceField','filters','row','find','select','title','menuInfo','getGristMetaObjectOptions','tError','setParentId','gridConfig','queryName','getBasicMasterDetailGristStyle','indexOf','useButtonImport','meta-code-selector','searchByPagination','1338029afFwtP','left','LIST','isArray','compareObjectValues','getGridRowSet','includes','getBasicFormHtml','min','param','shadowRoot','entity','<meta-tab-element\x20id=\x22','getTabDetailHtml','keys','formColumnConfig','fontColor','code','history-copy-list-popup','getCodeSelectorData','hidden','display','pages/hgistory/history-copy-list-popup.js','outlined','tabElements','dense','page','getContainerButtons','header','list','getCustomButtonContainerStyles','sorters','getGristSearchColumnConfig'];a0_0x3b94=function(){return _0x1b1861;};return a0_0x3b94();}export class MetaUiUtil{static async[a0_0x1b6229(0x11a)](_0x42b9c6){const _0x1013bb=a0_0x1b6229;let _0x2a374a=await ServiceUtil[_0x1013bb(0x1e3)](_0x1013bb(0x1f3),_0x42b9c6,_0x1013bb(0x234));if(!_0x2a374a)throw new Error(TermsUtil['tText'](_0x1013bb(0x244),{'value':TermsUtil['tMenu'](_0x1013bb(0x1f3))+'\x20'+_0x42b9c6}));if(!_0x2a374a[_0x1013bb(0x234)])throw new Error(TermsUtil[_0x1013bb(0x160)](_0x1013bb(0x244),{'value':TermsUtil[_0x1013bb(0x20b)](_0x1013bb(0x1f3))+'\x20'+TermsUtil[_0x1013bb(0x23b)](_0x1013bb(0x181))}));return this['menuId']=_0x42b9c6,JSON[_0x1013bb(0x109)](_0x2a374a[_0x1013bb(0x234)]);}static async[a0_0x1b6229(0x154)](_0x24b6e1){const _0x3b0cfa=a0_0x1b6229;if((await client['query']({'query':a0_0x519f9f`
|
|
2
2
|
query ($id: String) {
|
|
3
3
|
metaUITemplateIsOverLimit(id: $id)
|
|
4
4
|
}
|
|
5
|
-
`,'variables':{'id':null}}))[_0xa055a9(0x166)])return;let _0x4d35d2=[{'name':_0xa055a9(0x1b1),'operator':'eq','value':_0x4d1787}];return await ServiceUtil[_0xa055a9(0x28e)](_0xa055a9(0x1a6),_0x4d35d2,null,0x0,0x0,_0xa055a9(0x1c6));}static async[a0_0x5ca140(0x20b)](_0x8f76bb,_0x37bc3e){const _0x285136=a0_0x5ca140;let _0x2bea06,_0xbe1492=await MetaUiUtil[_0x285136(0x16a)](_0x37bc3e);if(_0xbe1492&&_0xbe1492['records']&&0x0!=_0xbe1492[_0x285136(0x224)][_0x285136(0x169)]?(_0x2bea06=_0xbe1492['records'][0x0],!_0x2bea06[_0x285136(0x1b0)]&&_0x8f76bb[_0x285136(0x1f0)]&&(_0x2bea06[_0x285136(0x1b0)]=_0x8f76bb['defaultPageConfig'])):_0x8f76bb[_0x285136(0x1f0)]&&(_0x2bea06={'id':_0x37bc3e,'template':_0x8f76bb[_0x285136(0x1f0)]}),!_0x2bea06)throw new Error(TermsUtil[_0x285136(0x242)]('value_is_not_exist',{'value':TermsUtil[_0x285136(0x1c3)](_0x285136(0x22e))+'\x20'+_0x37bc3e}));if(!_0x2bea06['template'])throw new Error(TermsUtil['tText'](_0x285136(0x21f),{'value':TermsUtil[_0x285136(0x1c3)]('menu')+'\x20'+TermsUtil['tLabel'](_0x285136(0x19f))}));return this[_0x285136(0x1ad)]=_0x2bea06['id'],JSON['parse'](MetaCrypto['dec'](_0x2bea06[_0x285136(0x1b0)]));}static[a0_0x5ca140(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':_0x4c8ec2=>Boolean(_0x4c8ec2)},'is_popup':{'type':Boolean,'converter':_0x204090=>Boolean(_0x204090)},'is_activity':{'type':Boolean,'converter':_0x5b55b9=>Boolean(_0x5b55b9)},'is_readonly':{'type':Boolean,'converter':_0x37236e=>Boolean(_0x37236e)}};}static async['getMenuMeta'](_0x1b37ca){const _0x8d6bb0=a0_0x5ca140;if(0x0==store[_0x8d6bb0(0x15f)]()[_0x8d6bb0(0x1c9)][_0x8d6bb0(0x20e)])return void document['dispatchEvent'](new CustomEvent(_0x8d6bb0(0x233),{'detail':{'level':_0x8d6bb0(0x282),'message':TermsUtil[_0x8d6bb0(0x1aa)](_0x8d6bb0(0x28c))}}));let _0x565378=_0x1b37ca['isPage']?UiUtil[_0x8d6bb0(0x202)]():_0x1b37ca['route_name'];_0x1b37ca['currentRouting']=_0x565378;let _0x4e5878=await MetaUiUtil[_0x8d6bb0(0x20b)](_0x1b37ca,_0x565378);return!0x0===_0x1b37ca['is_activity']&&(_0x4e5878[_0x8d6bb0(0x196)][_0x8d6bb0(0x223)][_0x8d6bb0(0x269)]=!0x1,_0x4e5878[_0x8d6bb0(0x196)][_0x8d6bb0(0x223)][_0x8d6bb0(0x183)]=_0x8d6bb0(0x24b),_0x4e5878[_0x8d6bb0(0x196)][_0x8d6bb0(0x171)]=!0x1,_0x4e5878[_0x8d6bb0(0x196)][_0x8d6bb0(0x1ed)]=[],_0x4e5878[_0x8d6bb0(0x1ed)]=_0x4e5878[_0x8d6bb0(0x1ed)][_0x8d6bb0(0x1f3)](_0x3b1e2c=>'add'==_0x3b1e2c[_0x8d6bb0(0x27b)])),!0x0===_0x1b37ca[_0x8d6bb0(0x289)]&&(_0x4e5878[_0x8d6bb0(0x181)]['forEach'](_0x2c5169=>{const _0x46cdd6=_0x8d6bb0;_0x2c5169[_0x46cdd6(0x24d)]=!0x1;}),_0x4e5878['button']=_0x4e5878['button'][_0x8d6bb0(0x1f3)](_0x21a8d3=>'add'!=_0x21a8d3[_0x8d6bb0(0x27b)])),!0x1===_0x1b37ca['use_filter_form']&&(_0x4e5878[_0x8d6bb0(0x196)][_0x8d6bb0(0x171)]=!0x1),_0x4e5878[_0x8d6bb0(0x181)][_0x8d6bb0(0x1f3)](_0x32b542=>_0x32b542[_0x8d6bb0(0x1a9)])[_0x8d6bb0(0x14d)](_0x4063fb=>{const _0x41fdc6=_0x8d6bb0;_0x1b37ca[_0x41fdc6(0x283)]||(_0x1b37ca[_0x41fdc6(0x283)]={}),_0x1b37ca[_0x41fdc6(0x283)][_0x4063fb[_0x41fdc6(0x27b)]]=_0x4063fb[_0x41fdc6(0x1a9)];}),_0x4e5878[_0x8d6bb0(0x181)][_0x8d6bb0(0x14d)](_0x2ab9c1=>{const _0x55503a=_0x8d6bb0;[_0x55503a(0x263),_0x55503a(0x16c)]['includes'](_0x2ab9c1[_0x55503a(0x237)])?_0x2ab9c1[_0x55503a(0x237)]=_0x55503a(0x1cb):[_0x55503a(0x1ba)][_0x55503a(0x23e)](_0x2ab9c1[_0x55503a(0x237)])&&(_0x2ab9c1[_0x55503a(0x237)]='meta-code-selector');}),_0x4e5878;}static[a0_0x5ca140(0x13c)](..._0x2163ba){return{'pages':_0x2163ba};}static[a0_0x5ca140(0x1e5)](_0x5ca0bb,_0xef29eb){const _0x43e86a=a0_0x5ca140;let _0x2286e7=[{'type':_0x43e86a(0x25b),'gutterName':'dirty'},{'type':'gutter','gutterName':_0x43e86a(0x1cc)}];return _0x5ca0bb&&_0x2286e7[_0x43e86a(0x15d)]({'type':'gutter','gutterName':_0x43e86a(0x245),'multiple':_0xef29eb}),_0x2286e7;}static[a0_0x5ca140(0x1ea)](_0x1324f3){return{'selectable':{'multiple':_0x1324f3}};}static async[a0_0x5ca140(0x246)](_0x25e832){const _0x1799d4=a0_0x5ca140;_0x25e832[_0x1799d4(0x1ae)]||(_0x25e832[_0x1799d4(0x1ae)]={}),_0x25e832[_0x1799d4(0x1ae)]['query']||(_0x25e832[_0x1799d4(0x1ae)]['query']={}),_0x25e832['gqlInfo']['query'][_0x1799d4(0x255)]||(_0x25e832[_0x1799d4(0x1ae)]['query'][_0x1799d4(0x255)]={}),_0x25e832[_0x1799d4(0x1ae)][_0x1799d4(0x1c5)]||(_0x25e832[_0x1799d4(0x1ae)][_0x1799d4(0x1c5)]={}),_0x25e832[_0x1799d4(0x1ae)][_0x1799d4(0x1c5)][_0x1799d4(0x22c)]||(_0x25e832[_0x1799d4(0x1ae)][_0x1799d4(0x1c5)]['multiple']={}),_0x25e832[_0x1799d4(0x1ae)]['mutation'][_0x1799d4(0x22c)][_0x1799d4(0x261)]||(_0x25e832[_0x1799d4(0x1ae)][_0x1799d4(0x1c5)][_0x1799d4(0x22c)][_0x1799d4(0x261)]=[]);let _0x50be9a=MetaUiUtil['getGridOptionSet'](_0x25e832),_0x2a58f8=MetaUiUtil[_0x1799d4(0x2a5)](_0x25e832),_0x51cfd1=MetaUiUtil[_0x1799d4(0x275)](_0x25e832),_0x3bc836=MetaUiUtil[_0x1799d4(0x265)](_0x25e832),_0xdcf641=await MetaUiUtil[_0x1799d4(0x29f)](_0x25e832);_0xdcf641['filter'](_0x282b56=>[_0x1799d4(0x1cb)]['includes'](_0x282b56[_0x1799d4(0x237)]))[_0x1799d4(0x14d)](_0x249bff=>{const _0x2f9416=_0x1799d4;_0x25e832[_0x2f9416(0x284)][_0x2f9416(0x1f3)](_0x399d10=>_0x399d10[_0x2f9416(0x27b)]==_0x249bff[_0x2f9416(0x27b)])[_0x2f9416(0x14d)](_0x38af4a=>{const _0x40c9cf=_0x2f9416,_0x809f7=_0x249bff[_0x40c9cf(0x1de)][_0x40c9cf(0x209)],_0x1bac8d=_0x809f7['referenceField']?_0x809f7[_0x40c9cf(0x173)]:_0x249bff[_0x40c9cf(0x27b)]+'Id',_0x4b8741=_0x25e832[_0x40c9cf(0x284)][_0x40c9cf(0x203)](_0x7d7af8=>_0x7d7af8['name']==_0x249bff[_0x40c9cf(0x27b)]);_0xdcf641['push']({'type':_0x40c9cf(0x1cb),'header':_0x249bff[_0x40c9cf(0x1df)],'name':_0x1bac8d,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x809f7}}),_0x25e832[_0x40c9cf(0x1ae)][_0x40c9cf(0x2a3)]['after_set_fields'][_0x1bac8d]='x',_0x25e832[_0x40c9cf(0x1ae)][_0x40c9cf(0x1c5)][_0x40c9cf(0x22c)][_0x40c9cf(0x261)][_0x40c9cf(0x15d)](_0x1bac8d),_0x25e832[_0x40c9cf(0x284)][_0x4b8741][_0x40c9cf(0x27b)]=_0x1bac8d,_0x25e832[_0x40c9cf(0x284)][_0x4b8741][_0x40c9cf(0x237)]=_0x40c9cf(0x1cb);});});let _0x11a40c=MetaUiUtil['getGristGuttersConfig'](_0x50be9a['use_row_checker'],_0x51cfd1[_0x1799d4(0x21b)][_0x1799d4(0x22c)]);if(0x1==_0x25e832[_0x1799d4(0x23c)]&&(_0xdcf641=MetaUiUtil['setGridColumnSearchOption'](_0x25e832,_0xdcf641)),_0x25e832['gridEmphasized']&&(_0x25e832[_0x1799d4(0x297)]&&_0x25e832[_0x1799d4(0x297)][_0x1799d4(0x22f)]&&_0x25e832['gridEmphasized']['row'][_0x1799d4(0x169)]>0x0&&(_0x51cfd1['classifier']=function(_0x42388f,_0x10bd28){const _0x1a59c7=_0x1799d4;let _0x37bd24=_0x25e832[_0x1a59c7(0x297)][_0x1a59c7(0x22f)];for(let _0x24e7ce=0x0;_0x24e7ce<_0x37bd24[_0x1a59c7(0x169)];_0x24e7ce++){let _0x38b0ff=_0x37bd24[_0x24e7ce][_0x1a59c7(0x1a0)][_0x1a59c7(0x198)](/record./g,_0x1a59c7(0x160))[_0x1a59c7(0x198)](/rowIndex/g,_0x1a59c7(0x285));if(eval(''+_0x38b0ff))return{'emphasized':[_0x37bd24[_0x24e7ce][_0x1a59c7(0x1c7)],_0x37bd24[_0x24e7ce][_0x1a59c7(0x164)]]};}}),_0x25e832[_0x1799d4(0x297)]&&_0x25e832[_0x1799d4(0x297)][_0x1799d4(0x213)])){let _0x13d61a=_0x25e832[_0x1799d4(0x297)]['column'];Object[_0x1799d4(0x17a)](_0x13d61a)[_0x1799d4(0x14d)](_0x21399b=>{const _0x36f991=_0x1799d4;let _0x174d6a=_0x13d61a[_0x21399b],_0x4e9e76=_0xdcf641[_0x36f991(0x203)](_0x13c140=>_0x13c140[_0x36f991(0x27b)]==_0x21399b);_0xdcf641[_0x4e9e76][_0x36f991(0x1de)]||(_0xdcf641[_0x4e9e76][_0x36f991(0x1de)]={}),_0xdcf641[_0x4e9e76][_0x36f991(0x1de)][_0x36f991(0x1e8)]=function(_0x2892d2,_0x18dbfc){const _0x461363=_0x36f991;for(let _0x2b09d3=0x0;_0x2b09d3<_0x174d6a[_0x461363(0x169)];_0x2b09d3++){let _0xe6cb2d=_0x174d6a[_0x2b09d3]['logic'][_0x461363(0x198)](/record./g,'arguments[0].')['replace'](/rowIndex/g,'arguments[1]');if(eval(''+_0xe6cb2d))return{'emphasized':[_0x174d6a[_0x2b09d3][_0x461363(0x1c7)],_0x174d6a[_0x2b09d3]['fontColor']]};}};});}return{'list':_0x2a58f8,'pagination':_0x50be9a[_0x1799d4(0x183)],'sorters':_0x50be9a[_0x1799d4(0x25f)],'rows':_0x51cfd1,'columns':[..._0x11a40c,..._0x3bc836,..._0xdcf641]};}static async['parseFormConfigSet'](_0x37fb8e){const _0x398f92=a0_0x5ca140;let _0x51e51f=_0x37fb8e[_0x398f92(0x206)],_0x7f800f=[],_0x25e391=Object[_0x398f92(0x17a)](getValueGenerators());for(let _0x152109=0x0;_0x152109<_0x51e51f[_0x398f92(0x169)];_0x152109++){let {type:_0x29a3b5=_0x398f92(0x21c),name:_0x15eb8d,header:_0xa33333,hidden:_0x5a02ff=!0x1,editable:_0xb5cdb4=!0x0,mandatory:_0x63657b=!0x1,align:_0x1f4aa7=_0x398f92(0x154),select_opt:_0x42da98,object_opt:_0x571888,default_value:_0xcef117}=_0x51e51f[_0x152109],_0x34d513={'type':_0x29a3b5,'name':_0x15eb8d,'header_txt':ValueUtil[_0x398f92(0x1f2)](_0xa33333)?TermsUtil[_0x398f92(0x23d)](_0x15eb8d):TermsUtil[_0x398f92(0x23d)](_0xa33333),'header':{'renderer':function(_0x1026df){const _0x2145e9=_0x398f92;return _0x1026df[_0x2145e9(0x188)];}},'hidden':_0x5a02ff,'record':{'editable':_0xb5cdb4,'mandatory':_0x63657b,'align':_0x1f4aa7,'classifier':function(){},'renderer':getRenderer(_0x29a3b5)}};_0xb5cdb4&&(_0x34d513[_0x398f92(0x1de)][_0x398f92(0x199)]=getEditor(_0x29a3b5)),_0xcef117&&(_0x25e391[_0x398f92(0x23e)](_0xcef117)?_0x34d513[_0x398f92(0x1de)][_0x398f92(0x27c)]=getValueGenerator(_0xcef117):_0x34d513[_0x398f92(0x1de)][_0x398f92(0x27c)]=_0xcef117),_0x29a3b5[_0x398f92(0x290)](_0x398f92(0x1f9))&&_0x571888&&_0x571888[_0x398f92(0x22e)]&&(_0x571888=await MetaUiUtil['getGristMetaObjectOptions'](_0x29a3b5,_0x571888)),'select'===_0x29a3b5&&ValueUtil[_0x398f92(0x244)](_0x42da98)&&(Array['isArray'](_0x42da98)?_0x34d513[_0x398f92(0x1de)][_0x398f92(0x209)]=_0x42da98:_0x398f92(0x172)===_0x42da98[_0x398f92(0x237)]?_0x34d513[_0x398f92(0x1de)][_0x398f92(0x209)]=await ServiceUtil[_0x398f92(0x1fd)](_0x42da98[_0x398f92(0x299)]?_0x42da98[_0x398f92(0x299)]:_0x42da98[_0x398f92(0x27b)]):_0x398f92(0x1eb)===_0x42da98['type']?_0x34d513[_0x398f92(0x1de)][_0x398f92(0x209)]=await ServiceUtil['getCodeByScenario'](_0x42da98['name'],_0x42da98['args']):_0x398f92(0x243)===_0x42da98[_0x398f92(0x237)]&&(_0x34d513[_0x398f92(0x1de)][_0x398f92(0x209)]=await ServiceUtil['getCodeByEntity'](_0x42da98[_0x398f92(0x147)]))),_0x398f92(0x1cb)===_0x29a3b5&&ValueUtil[_0x398f92(0x244)](_0x571888)?_0x34d513[_0x398f92(0x1de)][_0x398f92(0x209)]={..._0x571888}:_0x398f92(0x23b)===_0x29a3b5&&ValueUtil['isNotEmpty'](_0x571888)&&(_0x571888[_0x398f92(0x194)]&&(_0x571888[_0x398f92(0x14c)]=await ServiceUtil[_0x398f92(0x236)](_0x571888)),_0x34d513['record'][_0x398f92(0x209)]={..._0x571888}),_0x7f800f[_0x398f92(0x15d)](_0x34d513);}return _0x7f800f;}static[a0_0x5ca140(0x28a)](_0x264e0b){const _0x9d9211=a0_0x5ca140;let _0xc0dd=_0x264e0b[_0x9d9211(0x225)];_0x264e0b[_0x9d9211(0x23c)]=!_0xc0dd||null==_0xc0dd[_0x9d9211(0x171)]||_0xc0dd[_0x9d9211(0x171)];let {mobile_mode:_0x310812=_0x9d9211(0x1f7),desk_mode:_0x209733='GRID',view_mode:_0x544b20=[],use_row_checker:_0x3e13b8=!0x0,sorters:_0x5cb632=[],pages:_0x287b3f=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0x9d9211(0x1f2)](_0xc0dd[_0x9d9211(0x223)])?{}:_0xc0dd[_0x9d9211(0x223)];return _0x9d9211(0x24b)===_0x287b3f||'-1'===_0x287b3f?(_0x264e0b[_0x9d9211(0x229)]=!0x0,_0x287b3f={'infinite':!0x0}):(_0x264e0b['infinityPage']=!0x1,_0x287b3f['sort'](function(_0x432c5b,_0x5a572e){return _0x432c5b-_0x5a572e;}),_0x287b3f={'pages':_0x287b3f}),ValueUtil[_0x9d9211(0x244)](_0x544b20)&&(0x1==_0x544b20[_0x9d9211(0x169)]?(_0x209733=_0x544b20[0x0],_0x310812=_0x544b20[0x0]):_0x544b20[_0x9d9211(0x169)]>=0x2&&(_0x544b20[_0x9d9211(0x23e)](_0x310812)||(_0x310812=_0x544b20[0x1]),_0x544b20['includes'](_0x209733)||(_0x209733=_0x544b20[0x0]))),_0x264e0b[_0x9d9211(0x19b)]=_0x310812,_0x264e0b[_0x9d9211(0x143)]=_0x209733,_0x264e0b[_0x9d9211(0x1fb)]=_0x544b20,_0x264e0b['gridMode']=UiUtil['isMobileEnv']()?_0x264e0b[_0x9d9211(0x19b)]:_0x264e0b[_0x9d9211(0x143)],{'use_row_checker':_0x3e13b8,'sorters':_0x5cb632,'pages':_0x287b3f};}static['getGridListSet'](_0x1b06f2){const _0xb47ee0=a0_0x5ca140;let _0x75d0ca={'fields':[ValueUtil['getParams'](_0x1b06f2[_0xb47ee0(0x1ce)],_0xb47ee0(0x27b)),ValueUtil[_0xb47ee0(0x135)](_0x1b06f2[_0xb47ee0(0x1ce)],'desc')]};return _0x1b06f2[_0xb47ee0(0x225)][_0xb47ee0(0x274)]&&Object[_0xb47ee0(0x214)](_0x75d0ca,_0x1b06f2['gridConfig'][_0xb47ee0(0x274)]),_0x75d0ca;}static['getGridRowSet'](_0x5d43f1){const _0x62f727=a0_0x5ca140;let {multiple_select:_0x424c5b=!0x1,click:_0x5dcc4f}=ValueUtil['isEmpty'](_0x5d43f1['gridConfig'][_0x62f727(0x22f)])?{}:_0x5d43f1[_0x62f727(0x225)][_0x62f727(0x22f)],_0xb53a91={'selectable':{'multiple':_0x424c5b},'appendable':_0x5d43f1['useButtonAdd']};return ValueUtil[_0x62f727(0x244)](_0x5dcc4f)&&(_0xb53a91[_0x62f727(0x20f)]={'click':_0x5dcc4f}),_0xb53a91;}static[a0_0x5ca140(0x265)](_0x34d022){const _0x16baa0=a0_0x5ca140;let _0x16aee7=_0x34d022[_0x16baa0(0x225)]['button'];return ValueUtil[_0x16baa0(0x1f2)](_0x16aee7)?[]:_0x16aee7[_0x16baa0(0x1f4)](_0x206bbe=>{const _0x5086bf=_0x16baa0;let _0x3316a6={'type':'gutter','gutterName':_0x5086bf(0x1ed)};if(ValueUtil[_0x5086bf(0x244)](_0x206bbe[_0x5086bf(0x19a)])&&(Array[_0x5086bf(0x1af)](_0x206bbe[_0x5086bf(0x19a)])?_0x3316a6[_0x5086bf(0x19a)]=_0x25e4a3=>{const _0x2f52ef=_0x5086bf;if(ValueUtil[_0x2f52ef(0x244)](_0x25e4a3))for(let _0x251a05=0x0;_0x251a05<_0x206bbe['icon']['length'];_0x251a05++){let _0x4f17da=_0x206bbe[_0x2f52ef(0x19a)][_0x251a05];if(!0x0===ValueUtil['compareObjectValues'](_0x4f17da,_0x25e4a3,Object['keys'](_0x4f17da)[_0x2f52ef(0x1f3)](_0x2a1ef6=>_0x2f52ef(0x19a)!=_0x2a1ef6)))return _0x4f17da['icon'];}}:_0x3316a6[_0x5086bf(0x19a)]=_0x206bbe[_0x5086bf(0x19a)]),ValueUtil['isNotEmpty'](_0x206bbe[_0x5086bf(0x27b)])&&(_0x3316a6[_0x5086bf(0x27b)]=_0x206bbe[_0x5086bf(0x27b)]),ValueUtil[_0x5086bf(0x244)](_0x206bbe['label'])&&(_0x3316a6[_0x5086bf(0x1fa)]=TermsUtil[_0x5086bf(0x25d)](_0x206bbe[_0x5086bf(0x14f)])),_0x5086bf(0x186)===_0x206bbe['type']){let _0x40c335=ValueUtil[_0x5086bf(0x135)](_0x206bbe,_0x5086bf(0x1a0));[_0x5086bf(0x276),'history_json'][_0x5086bf(0x23e)](_0x40c335)?_0x3316a6[_0x5086bf(0x20f)]={'click':(_0x52c90e,_0x4c0fdc,_0xd0d226,_0x5344ac,_0x3869d3)=>{const _0x36e41e=_0x5086bf;if(_0x5344ac['id']){let _0x4c093c={'title':_0x36e41e(0x16b),'type':_0x36e41e(0x18e),'tagname':_0x36e41e(0x276)==_0x40c335?_0x36e41e(0x1dd):_0x36e41e(0x226),'location':_0x36e41e(0x276)==_0x40c335?_0x36e41e(0x170):_0x36e41e(0x29d),'menu':_0x34d022['currentRouting'],'size':_0x36e41e(0x295),'popup_field':_0x36e41e(0x141),'parent_field':'id'},_0x5967b7={..._0x5344ac,'gqlFunc':ValueUtil[_0x36e41e(0x135)](_0x34d022[_0x36e41e(0x1ae)],_0x36e41e(0x2a3),_0x36e41e(0x252)),'gristConfig':JSON[_0x36e41e(0x1d2)](JSON[_0x36e41e(0x155)](_0x34d022[_0x36e41e(0x1b2)][_0x36e41e(0x22b)]))};MetaUiUtil[_0x36e41e(0x288)](_0x34d022,{'logic':_0x4c093c},_0x5967b7);}}}:_0x3316a6[_0x5086bf(0x20f)]={'click':_0x40c335};}else _0x3316a6['handlers']={'click':(_0x4242cc,_0x13cda6,_0x458edb,_0x343040,_0x3fec4b)=>{const _0x3b8759=_0x5086bf;_0x343040['id']&&MetaUiUtil[_0x3b8759(0x288)](_0x34d022,_0x206bbe,_0x343040);}};return _0x3316a6;});}static async[a0_0x5ca140(0x29f)](_0x1f49a0){const _0x33c72e=a0_0x5ca140;let _0x3db589=_0x1f49a0[_0x33c72e(0x184)];if(ValueUtil[_0x33c72e(0x1f2)](_0x3db589))return[];let _0x5b041a=Object['keys'](getValueGenerators()),_0x55a2ee=[];for(let _0x4c8958=0x0;_0x4c8958<_0x3db589[_0x33c72e(0x169)];_0x4c8958++){let {type:_0x5e3b3d='string',name:_0x308093,header:_0x5ea061,hidden:_0x232def=!0x1,editable:_0x513c56=!0x0,mandatory:_0x4c3e77=!0x1,sortable:_0xa1a65=!0x1,align:_0x4d48f0=_0x33c72e(0x154),width:_0x4b2ff4=0x0,exportable:_0x52b21b=!0x1,select_opt:_0x44e600,object_opt:_0x23479a,format:_0x5c303e,default_value:_0x5824ea}=_0x3db589[_0x4c8958],_0x52d454={'type':_0x5e3b3d,'name':_0x308093,'header':ValueUtil[_0x33c72e(0x1f2)](_0x5ea061)?'':TermsUtil[_0x33c72e(0x23d)](_0x5ea061),'hidden':_0x232def,'sortable':_0xa1a65,'width':_0x4b2ff4,'record':{'editable':_0x513c56,'mandatory':_0x4c3e77,'align':_0x4d48f0,'format':_0x5c303e}};if(_0x5824ea&&(_0x5b041a[_0x33c72e(0x23e)](_0x5824ea)?_0x52d454[_0x33c72e(0x1de)]['defaultValue']=getValueGenerator(_0x5824ea):_0x52d454['record'][_0x33c72e(0x27c)]=_0x5824ea),_0x5e3b3d['startsWith']('meta-')&&_0x23479a&&_0x23479a[_0x33c72e(0x22e)]&&(_0x23479a=await MetaUiUtil[_0x33c72e(0x1d0)](_0x5e3b3d,_0x23479a)),_0x33c72e(0x277)===_0x5e3b3d&&ValueUtil['isNotEmpty'](_0x44e600)&&(Array[_0x33c72e(0x1af)](_0x44e600)?_0x52d454[_0x33c72e(0x1de)][_0x33c72e(0x209)]=_0x44e600:'code'===_0x44e600[_0x33c72e(0x237)]?_0x52d454['record'][_0x33c72e(0x209)]=await ServiceUtil['getCodeSelectorData'](_0x44e600[_0x33c72e(0x299)]?_0x44e600['values']:_0x44e600[_0x33c72e(0x27b)]):_0x33c72e(0x1eb)===_0x44e600[_0x33c72e(0x237)]?_0x52d454[_0x33c72e(0x1de)][_0x33c72e(0x209)]=await ServiceUtil[_0x33c72e(0x2a8)](_0x44e600[_0x33c72e(0x27b)],_0x44e600[_0x33c72e(0x147)]):_0x33c72e(0x243)===_0x44e600[_0x33c72e(0x237)]&&(_0x52d454['record']['options']=await ServiceUtil['getCodeByEntity'](_0x44e600[_0x33c72e(0x147)]))),_0x33c72e(0x1cb)===_0x5e3b3d&&ValueUtil[_0x33c72e(0x244)](_0x23479a)){let _0x4d542d;_0x52d454[_0x33c72e(0x1de)]['options']={..._0x23479a},_0x23479a[_0x33c72e(0x2a0)]&&_0x23479a[_0x33c72e(0x2a0)][_0x33c72e(0x296)]&&(_0x4d542d=[..._0x23479a['basicArgs'][_0x33c72e(0x296)]]),_0x4d542d&&JSON[_0x33c72e(0x155)](_0x4d542d)[_0x33c72e(0x23e)]('::')&&(_0x52d454[_0x33c72e(0x20f)]={'dblclick':(_0x1b0214,_0x3aa665,_0x1d7b7f,_0x367175,_0x4fc765)=>{const _0x54d37b=_0x33c72e;let _0x58a110=[];_0x4d542d[_0x54d37b(0x14d)](_0xf63472=>{const _0x8aa335=_0x54d37b;var {name:_0x7e0d98,value:_0x21549f,operator:_0x3ec6fa='eq'}=_0xf63472;_0x21549f[_0x8aa335(0x23e)]('::')&&(_0x21549f=ValueUtil[_0x8aa335(0x135)](_0x367175,..._0x21549f['replace']('::','')[_0x8aa335(0x1bc)]('.'))),_0x21549f||(_0x21549f=''),_0x58a110['push']({'name':_0x7e0d98,'operator':_0x3ec6fa,'value':_0x21549f});}),_0x1d7b7f[_0x54d37b(0x1de)][_0x54d37b(0x209)][_0x54d37b(0x2a0)][_0x54d37b(0x296)]=_0x58a110;}});}else _0x33c72e(0x23b)===_0x5e3b3d&&ValueUtil['isNotEmpty'](_0x23479a)&&(_0x23479a[_0x33c72e(0x194)]&&(_0x23479a[_0x33c72e(0x14c)]=await ServiceUtil[_0x33c72e(0x236)](_0x23479a)),_0x52d454['record'][_0x33c72e(0x209)]={..._0x23479a});!0x0===_0x1f49a0[_0x33c72e(0x177)]&&!0x0===_0x52b21b&&(_0x52d454[_0x33c72e(0x1d3)]={'header':_0x52d454[_0x33c72e(0x1df)],'key':_0x52d454[_0x33c72e(0x27b)],'width':_0x52d454['width']/0x6,'type':_0x52d454[_0x33c72e(0x237)]}),_0x55a2ee['push'](_0x52d454);}if(!0x0!==this[_0x33c72e(0x1b8)])return _0x55a2ee;let _0x3bd643=await MetaApi[_0x33c72e(0x17c)](this[_0x33c72e(0x1ad)]),{template:_0x543356={}}=_0x3bd643;if(!_0x543356[_0x33c72e(0x149)])return _0x55a2ee;let _0x5b059c=_0x543356['master'];return _0x55a2ee=_0x55a2ee[_0x33c72e(0x1f4)](_0xd61e5d=>('id'==_0xd61e5d[_0x33c72e(0x27b)]||(_0xd61e5d[_0x33c72e(0x1d4)]=!_0x5b059c['includes'](_0xd61e5d[_0x33c72e(0x27b)]),_0xd61e5d['rank']=_0x5b059c[_0x33c72e(0x254)](_0xd61e5d[_0x33c72e(0x27b)]),-0x1==_0xd61e5d[_0x33c72e(0x25e)]&&(_0xd61e5d[_0x33c72e(0x25e)]=0x1869f)),_0xd61e5d)),_0x55a2ee['sort']((_0x552017,_0x3f1612)=>_0x552017['rank']-_0x3f1612[_0x33c72e(0x25e)]),_0x55a2ee;}static async[a0_0x5ca140(0x1d0)](_0x3da50d,_0x40ec53){const _0x4082e1=a0_0x5ca140;let _0x48fcb7=await MetaUiUtil[_0x4082e1(0x16a)](_0x40ec53[_0x4082e1(0x22e)]);if(_0x48fcb7&&_0x48fcb7[_0x4082e1(0x224)]&&_0x48fcb7[_0x4082e1(0x224)][_0x4082e1(0x169)]>0x0&&_0x48fcb7['records'][0x0][_0x4082e1(0x1b0)]){let _0x3271ab=_0x48fcb7[_0x4082e1(0x224)][0x0],_0x5c7078=JSON[_0x4082e1(0x1d2)](MetaCrypto['dec'](_0x3271ab[_0x4082e1(0x1b0)]));_0x40ec53['queryName']||(_0x40ec53['queryName']=_0x5c7078[_0x4082e1(0x132)][_0x4082e1(0x2a3)]['list_func']),_0x40ec53[_0x4082e1(0x277)]||(_0x40ec53['select']=_0x5c7078[_0x4082e1(0x181)]),_0x40ec53['filterFields']&&0x0!=_0x40ec53[_0x4082e1(0x1b5)][_0x4082e1(0x169)]||(_0x40ec53[_0x4082e1(0x1b5)]=_0x5c7078['search']),_0x40ec53[_0x4082e1(0x2a2)]||(_0x40ec53[_0x4082e1(0x2a2)]=_0x5c7078[_0x4082e1(0x22e)]['title']),_0x40ec53[_0x4082e1(0x296)]||(_0x40ec53['filters']=_0x5c7078[_0x4082e1(0x132)][_0x4082e1(0x2a3)]['filters']||[]),_0x3da50d[_0x4082e1(0x23e)]('-object-')?_0x40ec53[_0x4082e1(0x144)]||(_0x40ec53['nameField']=_0x5c7078[_0x4082e1(0x22e)][_0x4082e1(0x27b)]||_0x4082e1(0x27b)):_0x3da50d[_0x4082e1(0x23e)]('-code-')&&(_0x40ec53[_0x4082e1(0x152)]||(_0x40ec53[_0x4082e1(0x152)]=_0x5c7078['menu']['name']||_0x4082e1(0x172)),_0x40ec53['dispField']||(_0x40ec53[_0x4082e1(0x194)]=_0x5c7078[_0x4082e1(0x22e)][_0x4082e1(0x287)]||void 0x0));}return _0x40ec53;}static[a0_0x5ca140(0x28f)](_0xcc0232,_0x548dc7){const _0x1d51f7=a0_0x5ca140;let _0x4d5371=_0xcc0232[_0x1d51f7(0x284)];return _0x4d5371&&_0x4d5371[_0x1d51f7(0x14d)](_0x19494a=>{const _0x3f908c=_0x1d51f7;_0x3f908c(0x21c)==typeof _0x19494a?_0x548dc7[_0x3f908c(0x1f3)](_0x209c05=>_0x209c05[_0x3f908c(0x27b)]==_0x19494a)['forEach'](_0x1f7fe4=>{const _0x2a8979=_0x3f908c;_0x1f7fe4[_0x2a8979(0x1f3)]=_0x2a8979(0x294);}):_0x3f908c(0x16c)==typeof _0x19494a&&_0x548dc7['filter'](_0x472a6b=>_0x472a6b[_0x3f908c(0x27b)]==_0x19494a[_0x3f908c(0x27b)])[_0x3f908c(0x14d)](_0x3c6956=>{const _0x171186=_0x3f908c;_0x3c6956[_0x171186(0x1f3)]=_0x19494a,_0x3c6956[_0x171186(0x1f3)][_0x171186(0x237)]=_0x171186(0x279)===_0x3c6956[_0x171186(0x237)]&&'eq'==_0x19494a[_0x171186(0x231)]?_0x171186(0x1bf):_0x3c6956[_0x171186(0x237)];let _0x56f55d=_0x3c6956[_0x171186(0x1f3)][_0x171186(0x136)],_0x495300=[_0x171186(0x1ec),_0x171186(0x1c2),_0x171186(0x187),_0x171186(0x25a),_0x171186(0x26c),_0x171186(0x131),_0x171186(0x208)];if(_0x56f55d&&_0x495300[_0x171186(0x1f3)](_0xb60b4c=>_0x56f55d[_0x171186(0x290)](_0xb60b4c))[_0x171186(0x169)]>0x0){let _0x29a55a=[],_0x59babc={'date':_0x171186(0x20a),'datetime':'YYYY-MM-DD\x20HH:mm:ss'},_0x48e629={'today':'day','year':_0x171186(0x1c2),'month':'month','date':_0x171186(0x195),'hour':_0x171186(0x26c),'min':_0x171186(0x142),'sec':_0x171186(0x298)};_0x56f55d[_0x171186(0x1bc)](',')['forEach'](_0x2747ff=>{const _0xa8d6c2=_0x171186,_0x2a73b5=a0_0x3afc50();if(_0x495300[_0xa8d6c2(0x23e)](_0x2747ff))_0x29a55a[_0xa8d6c2(0x15d)](_0x2a73b5[_0xa8d6c2(0x268)](_0x48e629[_0x2747ff])[_0xa8d6c2(0x1b4)](_0x59babc[_0x3c6956[_0xa8d6c2(0x237)]]));else{if(_0x2747ff[_0xa8d6c2(0x23e)]('-')){let _0x2eca10=_0x2747ff[_0xa8d6c2(0x1bc)]('-'),_0x2df26d=_0x2eca10[0x0],_0x2cf24e=_0x2eca10[0x1];_0x29a55a[_0xa8d6c2(0x15d)](_0x2a73b5[_0xa8d6c2(0x235)](_0x2cf24e,_0x48e629[_0x2df26d])[_0xa8d6c2(0x268)](_0x48e629[_0x2df26d])[_0xa8d6c2(0x1b4)](_0x59babc[_0x3c6956['type']]));}else{if(_0x2747ff[_0xa8d6c2(0x23e)]('+')){let _0x360c95=_0x2747ff[_0xa8d6c2(0x1bc)]('+'),_0x3eac7f=_0x360c95[0x0],_0x14aaf8=_0x360c95[0x1];_0x29a55a['push'](_0x2a73b5[_0xa8d6c2(0x24a)](_0x14aaf8,_0x48e629[_0x3eac7f])[_0xa8d6c2(0x268)](_0x48e629[_0x3eac7f])[_0xa8d6c2(0x1b4)](_0x59babc[_0x3c6956['type']]));}}}}),_0x29a55a[_0x171186(0x169)]>0x0&&(_0x3c6956[_0x171186(0x1f3)][_0x171186(0x136)]=0x1==_0x29a55a[_0x171186(0x169)]?_0x29a55a[0x0]:_0x29a55a);}});}),_0x548dc7;}static[a0_0x5ca140(0x1cf)](_0x4159bf){const _0x28fa3c=a0_0x5ca140;let _0x2dd3b3={'title':TermsUtil[_0x28fa3c(0x1f5)](_0x4159bf['menuInfo'][_0x28fa3c(0x1fa)]),'help':_0x4159bf['menuInfo']['help']||'','actions':[...MetaUiUtil[_0x28fa3c(0x2a1)](_0x4159bf)]};return _0x4159bf[_0x28fa3c(0x177)]&&(_0x2dd3b3[_0x28fa3c(0x2a7)]={'name':_0x2dd3b3[_0x28fa3c(0x1fa)],'data':_0x4159bf[_0x28fa3c(0x176)][_0x28fa3c(0x193)](_0x4159bf)}),_0x4159bf[_0x28fa3c(0x18d)]&&(_0x2dd3b3[_0x28fa3c(0x293)]={'handler':_0x4159bf[_0x28fa3c(0x228)][_0x28fa3c(0x193)](_0x4159bf)}),_0x2dd3b3;}static[a0_0x5ca140(0x2a1)](_0x17f710){const _0x361128=a0_0x5ca140;let _0x4fe7e7=_0x17f710['buttonConfig'];return ValueUtil[_0x361128(0x1f2)](_0x4fe7e7)?[]:_0x4fe7e7[_0x361128(0x1f3)](_0x324a15=>_0x361128(0x176)!=_0x324a15[_0x361128(0x27b)]&&_0x361128(0x228)!=_0x324a15[_0x361128(0x27b)]&&'add'!=_0x324a15[_0x361128(0x27b)])[_0x361128(0x1f4)](_0x35ed79=>{const _0x4045a2=_0x361128;let {name:_0x1dc41d,label:_0x1d5f83,style:_0x492a9d,type:_0x4c0fa4=_0x4045a2(0x186),action:_0x2b2a44,logic:_0x1ef677}=_0x35ed79;if(ValueUtil[_0x4045a2(0x1f2)](_0x1dc41d))return{'title':'-1'};ValueUtil[_0x4045a2(0x1f2)](_0x1d5f83)&&(_0x1d5f83=_0x1dc41d),ValueUtil['isEmpty'](_0x492a9d)&&(_0x492a9d=_0x1dc41d),ValueUtil['isEmpty'](_0x2b2a44)&&(_0x2b2a44=_0x1dc41d);let _0x2ddb17=ValueUtil['isNotEmpty'](_0x492a9d)?CommonButtonStyles[_0x492a9d]||{'icon':_0x492a9d,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x4045a2(0x25d)](_0x1d5f83),'action':MetaUiUtil[_0x4045a2(0x192)](_0x17f710,_0x4c0fa4,_0x2b2a44,_0x1ef677),..._0x2ddb17};})['filter'](_0x15008f=>'-1'!=_0x15008f[_0x361128(0x1fa)]);}static['getContainerButtons'](_0x5d2ba7){const _0x42c85a=a0_0x5ca140;let _0x1e72d4=_0x5d2ba7&&_0x5d2ba7[_0x42c85a(0x158)]?_0x5d2ba7[_0x42c85a(0x158)]:null;return _0x1e72d4?_0x1e72d4[_0x42c85a(0x1f3)](_0xb53c97=>_0x42c85a(0x24a)!=_0xb53c97[_0x42c85a(0x27b)])[_0x42c85a(0x1f4)](_0x5bfae2=>{const _0x3d2e7b=_0x42c85a;let {name:_0x1b279c,label:_0x53727c,style:_0x31f158,type:_0x337ac2=_0x3d2e7b(0x186),action:_0x24decb,logic:_0x44881c}=_0x5bfae2;ValueUtil[_0x3d2e7b(0x1f2)](_0x53727c)&&(_0x53727c=_0x1b279c),ValueUtil['isEmpty'](_0x31f158)&&(_0x31f158=_0x1b279c),ValueUtil[_0x3d2e7b(0x1f2)](_0x24decb)&&(_0x24decb=_0x1b279c);let _0x5ec0c4=MetaUiUtil[_0x3d2e7b(0x251)](TermsUtil[_0x3d2e7b(0x25d)](_0x53727c),_0x31f158);return _0x5ec0c4[_0x3d2e7b(0x175)]=MetaUiUtil[_0x3d2e7b(0x192)](_0x5d2ba7,_0x337ac2,_0x24decb,_0x44881c),_0x5ec0c4;}):[];}static['createButtonElement'](_0x362205,_0x3a8d0c){const _0x52136e=a0_0x5ca140;let _0x5e030d=CommonButtonStyles[_0x3a8d0c]||{'icon':_0x3a8d0c,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x388d2c=_0x52136e(0x145)+_0x362205+_0x52136e(0x190)+(_0x5e030d[_0x52136e(0x19a)]?_0x5e030d[_0x52136e(0x19a)]:'')+_0x52136e(0x1f1)+(_0x5e030d['emphasis'][_0x52136e(0x1d7)]?_0x52136e(0x1d7):'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5e030d['emphasis'][_0x52136e(0x1bd)]?_0x52136e(0x1bd):'')+_0x52136e(0x1e7)+(_0x5e030d[_0x52136e(0x1b9)][_0x52136e(0x205)]?_0x52136e(0x205):'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5e030d[_0x52136e(0x1b9)][_0x52136e(0x29c)]?_0x52136e(0x29c):'')+_0x52136e(0x1a2);return UiUtil[_0x52136e(0x157)](_0x388d2c);}static[a0_0x5ca140(0x192)](_0x28c89d,_0x287923,_0x2387f0,_0x2384ae){const _0x17b241=a0_0x5ca140;if(_0x17b241(0x186)==_0x287923){if(_0x28c89d[_0x2387f0])return _0x28c89d[_0x2387f0]['bind'](_0x28c89d);}else{if('custom'==_0x287923)return()=>MetaUiUtil[_0x17b241(0x23a)](_0x28c89d,_0x2384ae);}return()=>{const _0x3db2c4=_0x17b241;UiUtil[_0x3db2c4(0x220)](_0x3db2c4(0x14b),_0x3db2c4(0x139),'info',_0x3db2c4(0x217));};}static async['gristButtonHandler'](_0x3dfb29,_0x59bb5c,_0x3a277a){const _0xc45910=a0_0x5ca140;let _0x31e56c=ValueUtil[_0xc45910(0x135)](_0x59bb5c,_0xc45910(0x1a0)),_0x318576=ValueUtil[_0xc45910(0x135)](_0x31e56c,_0xc45910(0x237));if(_0xc45910(0x1db)===_0x318576)_0x31e56c[_0xc45910(0x13d)]=_0xc45910(0x17b),_0x31e56c['location']='pages/meta-form-element.js',_0x31e56c[_0xc45910(0x18f)]='id',await MetaUiUtil[_0xc45910(0x270)](_0x3dfb29,_0x31e56c,_0x3a277a);else{if('pass_param'===_0x318576)MetaUiUtil[_0xc45910(0x238)](_0x3dfb29,_0x31e56c,_0x3a277a);else{if(_0xc45910(0x248)===_0x318576){let _0x5babda;_0x31e56c[_0xc45910(0x1dc)]?(_0x5babda={},Object[_0xc45910(0x17a)](_0x3a277a)[_0xc45910(0x1f3)](_0x52f33c=>Object[_0xc45910(0x17a)](_0x31e56c[_0xc45910(0x1dc)])['includes'](_0x52f33c))[_0xc45910(0x1f4)](_0x2ef1da=>{const _0xbf47c3=_0xc45910;Object[_0xbf47c3(0x17a)](_0x31e56c[_0xbf47c3(0x1dc)])['includes'](_0x2ef1da)&&(_0xbf47c3(0x21c)==typeof _0x3a277a[_0x2ef1da]?_0x5babda[_0x31e56c[_0xbf47c3(0x1dc)][_0x2ef1da]]=_0x3a277a[_0x2ef1da]:_0x5babda[_0x31e56c[_0xbf47c3(0x1dc)][_0x2ef1da]]={'id':_0x3a277a[_0x2ef1da]['id']});})):_0x5babda=_0x3a277a,UiUtil[_0xc45910(0x1a8)](_0x31e56c['url'],[_0x5babda]);}else'popup'===_0x318576?await MetaUiUtil['commonButtonOpenPopup'](_0x3dfb29,_0x31e56c,_0x3a277a):_0xc45910(0x1eb)===_0x318576?await MetaUiUtil[_0xc45910(0x29b)](_0x3dfb29,_0x31e56c,_0x3a277a):_0xc45910(0x138)===_0x318576&&await MetaUiUtil[_0xc45910(0x1d1)](_0x3dfb29,_0x31e56c,_0x3a277a);}}}static async[a0_0x5ca140(0x23a)](_0xaa3862,_0x5852b0){const _0x3dc8d8=a0_0x5ca140;if(ValueUtil[_0x3dc8d8(0x1f2)](_0x5852b0))return;let _0x3bb138=_0xaa3862[_0x3dc8d8(0x1b2)],_0xd7f40b=_0xaa3862[_0x3dc8d8(0x134)],_0xa1fd9d=ValueUtil[_0x3dc8d8(0x135)](_0x5852b0,_0x3dc8d8(0x237)),_0x23ea7e=ValueUtil['getParams'](_0x5852b0,_0x3dc8d8(0x20c)),_0xa81a59=_0x23ea7e[_0x3dc8d8(0x1f3)](_0x227865=>_0x227865['startsWith'](_0x3dc8d8(0x1b2)));if(ValueUtil[_0x3dc8d8(0x244)](_0xa81a59)){if(!_0x3bb138)return void UiUtil['showAlertPopup']('title.info','text.grid_is_not_exist',_0x3dc8d8(0x13e),_0x3dc8d8(0x217));if(0x0==(_0x3bb138[_0x3dc8d8(0x210)]?_0x3bb138[_0x3dc8d8(0x210)][_0x3dc8d8(0x224)]:[])[_0x3dc8d8(0x169)])return void UiUtil[_0x3dc8d8(0x220)](_0x3dc8d8(0x258),_0x3dc8d8(0x273),'info',_0x3dc8d8(0x217));if(_0x23ea7e[_0x3dc8d8(0x23e)]('grist_one')||_0x23ea7e[_0x3dc8d8(0x23e)]('grist_selected')){let _0x5098bc=_0x3bb138['selected'];if(ValueUtil[_0x3dc8d8(0x1f2)](_0x5098bc))return void UiUtil[_0x3dc8d8(0x220)](_0x3dc8d8(0x137),_0x3dc8d8(0x1e1),_0x3dc8d8(0x13e),_0x3dc8d8(0x217));if(_0x23ea7e[_0x3dc8d8(0x23e)](_0x3dc8d8(0x1ac))&&_0x5098bc[_0x3dc8d8(0x169)]>0x1)return void UiUtil[_0x3dc8d8(0x220)](_0x3dc8d8(0x258),'text.please_select_only_one',_0x3dc8d8(0x13e),'confirm');}}let _0x5cc41e={};if(_0x23ea7e['includes']('filter')){if(!_0xd7f40b)return void UiUtil[_0x3dc8d8(0x220)](_0x3dc8d8(0x258),'text.search_form_is_not_exist',_0x3dc8d8(0x13e),_0x3dc8d8(0x217));let _0x1e1af9=_0xd7f40b?await _0xd7f40b[_0x3dc8d8(0x19d)]():[];_0x5cc41e[_0x3dc8d8(0x1f3)]=_0x1e1af9;}if(_0x23ea7e[_0x3dc8d8(0x23e)]('grist_all'))_0x5cc41e['grist']=_0x3bb138[_0x3dc8d8(0x210)][_0x3dc8d8(0x224)];else{if(_0x23ea7e[_0x3dc8d8(0x23e)](_0x3dc8d8(0x1ac)))_0x5cc41e['grist']=_0x3bb138[_0x3dc8d8(0x219)][0x0];else{if(_0x23ea7e['includes'](_0x3dc8d8(0x148)))_0x5cc41e[_0x3dc8d8(0x1b2)]=_0x3bb138[_0x3dc8d8(0x219)];else{if(_0x23ea7e['includes'](_0x3dc8d8(0x27e))&&(_0x5cc41e[_0x3dc8d8(0x1b2)]=ServiceUtil[_0x3dc8d8(0x174)](_0x3bb138),!_0x5cc41e[_0x3dc8d8(0x1b2)]))return;}}}if(_0x3dc8d8(0x248)===_0xa1fd9d){let _0x371826,_0x1c355a=Array[_0x3dc8d8(0x1af)](_0x5cc41e[_0x3dc8d8(0x1b2)])?_0x5cc41e[_0x3dc8d8(0x1b2)]:[_0x5cc41e[_0x3dc8d8(0x1b2)]];_0x371826=_0x5852b0[_0x3dc8d8(0x1dc)]?_0x1c355a[_0x3dc8d8(0x1f4)](_0x536f26=>{const _0x43e5a9=_0x3dc8d8;let _0x3b2efe={};return Object['keys'](_0x536f26)[_0x43e5a9(0x1f3)](_0x303f9c=>Object['keys'](_0x5852b0[_0x43e5a9(0x1dc)])['includes'](_0x303f9c))[_0x43e5a9(0x1f4)](_0x51836d=>{const _0x87e4c8=_0x43e5a9;Object[_0x87e4c8(0x17a)](_0x5852b0[_0x87e4c8(0x1dc)])[_0x87e4c8(0x23e)](_0x51836d)&&(_0x87e4c8(0x21c)==typeof _0x536f26[_0x51836d]?_0x3b2efe[_0x5852b0[_0x87e4c8(0x1dc)][_0x51836d]]=_0x536f26[_0x51836d]:_0x3b2efe[_0x5852b0[_0x87e4c8(0x1dc)][_0x51836d]]={'id':_0x536f26[_0x51836d]['id']});}),_0x3b2efe;}):_0x1c355a,UiUtil[_0x3dc8d8(0x1a8)](_0x5852b0['url'],_0x371826);}else{if(_0x3dc8d8(0x18e)===_0xa1fd9d){let _0x27e25a={..._0x5cc41e[_0x3dc8d8(0x1b2)]?_0x5cc41e[_0x3dc8d8(0x1b2)]:{},..._0x5cc41e[_0x3dc8d8(0x1f3)]?_0x5cc41e['filter']:{}};await MetaUiUtil[_0x3dc8d8(0x270)](_0xaa3862,_0x5852b0,_0x27e25a);}else _0x3dc8d8(0x1eb)===_0xa1fd9d&&await MetaUiUtil['commonButtonCallScenario'](_0xaa3862,_0x5852b0,_0x5cc41e);}}static[a0_0x5ca140(0x238)](_0x40b1d7,_0x50142d,_0x688740){const _0x3cc57a=a0_0x5ca140;let _0x1b8168=_0x50142d[_0x3cc57a(0x16d)],_0x3644c9={},_0x12199f=_0x40b1d7[_0x3cc57a(0x27d)]['toLowerCase'](),_0x39b7e4=_0x40b1d7;_0x3644c9=_0x12199f[_0x3cc57a(0x290)](_0x3cc57a(0x253))||_0x12199f[_0x3cc57a(0x290)](_0x3cc57a(0x1fc))?_0x1b8168[_0x3cc57a(0x249)]?{..._0x1b8168}:{'detail':{..._0x1b8168}}:{..._0x1b8168},Object['keys'](_0x3644c9)[_0x3cc57a(0x14d)](_0x542e7d=>{const _0x103f70=_0x3cc57a;if(_0x103f70(0x149)==_0x542e7d?_0x39b7e4=_0x40b1d7[_0x103f70(0x211)][_0x103f70(0x232)]:'detail'==_0x542e7d?_0x39b7e4=_0x40b1d7[_0x103f70(0x211)]?_0x40b1d7[_0x103f70(0x211)][_0x103f70(0x278)]:_0x40b1d7[_0x103f70(0x278)]:_0x103f70(0x221)==_0x542e7d&&(_0x39b7e4=_0x40b1d7),_0x39b7e4){if(_0x39b7e4[_0x103f70(0x27d)][_0x103f70(0x200)]()[_0x103f70(0x290)](_0x103f70(0x18a)))Object[_0x103f70(0x17a)](_0x3644c9[_0x542e7d])[_0x103f70(0x14d)](_0x1ae9a5=>{const _0x17234f=_0x103f70;let _0x1318a8=_0x39b7e4[_0x17234f(0x1a1)]['querySelector']('#'+_0x1ae9a5);_0x688740['id']&&_0x1318a8['setParentId'](_0x688740['id']);let _0x177259=_0x3644c9[_0x542e7d][_0x1ae9a5];Object[_0x17234f(0x17a)](_0x177259)[_0x17234f(0x14d)](_0x11c5d1=>{let _0x2fde2a=_0x177259[_0x11c5d1],_0x52549c='*'===_0x2fde2a?_0x688740:_0x688740[_0x2fde2a];_0x1318a8[_0x11c5d1]=_0x52549c;});});else{let _0x4ab3d9=_0x39b7e4;_0x688740['id']&&_0x4ab3d9[_0x103f70(0x14a)](_0x688740['id']);let _0x18ce4c=_0x3644c9[_0x542e7d];Object[_0x103f70(0x17a)](_0x18ce4c)[_0x103f70(0x14d)](_0x3b3041=>{let _0x55dde9=_0x18ce4c[_0x3b3041],_0x26eae4='*'===_0x55dde9?_0x688740:_0x688740[_0x55dde9];_0x4ab3d9[_0x3b3041]=_0x26eae4;});}}});}static async[a0_0x5ca140(0x270)](_0x500c92,_0x51a104,_0x577293){const _0x1a18c1=a0_0x5ca140;let _0x15efbf=TermsUtil['tTitle'](_0x51a104['title']);ValueUtil[_0x1a18c1(0x244)](_0x51a104[_0x1a18c1(0x13b)])&&(_0x15efbf=_0x15efbf+'('+ValueUtil['getParams'](_0x577293,..._0x51a104[_0x1a18c1(0x13b)][_0x1a18c1(0x1bc)]('.'))+')');let _0x529006=_0x51a104[_0x1a18c1(0x20d)]&&_0x1a18c1(0x21c)==typeof _0x51a104[_0x1a18c1(0x20d)]&&_0x1a18c1(0x1d6)===_0x51a104[_0x1a18c1(0x20d)]&&_0x500c92&&_0x500c92[_0x1a18c1(0x1d6)]?_0x500c92[_0x1a18c1(0x1d6)][_0x1a18c1(0x193)](_0x500c92):void 0x0;UiUtil['openDynamicPopup'](_0x15efbf,_0x51a104,_0x577293,_0x529006);}static async[a0_0x5ca140(0x29b)](_0x5206c9,_0x10b89a,_0x1a21fb){const _0xd7cc8b=a0_0x5ca140;let _0x550ae6=await ServiceUtil[_0xd7cc8b(0x156)](_0xd7cc8b(0x286),_0x10b89a[_0xd7cc8b(0x27b)],_0x1a21fb);if(!_0x550ae6[_0xd7cc8b(0x166)]&&!ValueUtil[_0xd7cc8b(0x1f2)](_0x10b89a['after'])&&_0x10b89a[_0xd7cc8b(0x20d)]){if(_0xd7cc8b(0x1d6)!==_0x10b89a[_0xd7cc8b(0x20d)]){if(_0xd7cc8b(0x16c)==typeof _0x10b89a[_0xd7cc8b(0x20d)]){let _0x45f744=_0x10b89a['after'],_0x37e3ff=ValueUtil[_0xd7cc8b(0x135)](_0x550ae6[_0xd7cc8b(0x210)][_0xd7cc8b(0x27f)][_0xd7cc8b(0x210)],..._0x45f744['result_name'][_0xd7cc8b(0x1bc)]('.'));if(0x0==Array[_0xd7cc8b(0x1af)](_0x37e3ff)&&(_0x37e3ff=[_0x37e3ff]),'form'===_0x45f744[_0xd7cc8b(0x237)])_0x45f744[_0xd7cc8b(0x13d)]=_0xd7cc8b(0x17b),_0x45f744[_0xd7cc8b(0x1e9)]='pages/meta-form-element.js',_0x45f744[_0xd7cc8b(0x18f)]='id',_0x37e3ff=_0x37e3ff[0x0],await MetaUiUtil[_0xd7cc8b(0x270)](_0x5206c9,_0x45f744,_0x37e3ff);else{if('page'===_0x45f744[_0xd7cc8b(0x237)]){let _0x131333,_0x49e720=_0x37e3ff;_0x131333=_0x45f744[_0xd7cc8b(0x1dc)]?_0x49e720[_0xd7cc8b(0x1f4)](_0x179e9d=>{const _0x215350=_0xd7cc8b;let _0x33c38d={};return Object['keys'](_0x179e9d)[_0x215350(0x1f3)](_0x622749=>Object[_0x215350(0x17a)](_0x45f744[_0x215350(0x1dc)])[_0x215350(0x23e)](_0x622749))['map'](_0x34324c=>{const _0x1a7d09=_0x215350;Object[_0x1a7d09(0x17a)](_0x45f744[_0x1a7d09(0x1dc)])[_0x1a7d09(0x23e)](_0x34324c)&&('string'==typeof _0x179e9d[_0x34324c]?_0x33c38d[_0x45f744['param_field'][_0x34324c]]=_0x179e9d[_0x34324c]:_0x33c38d[_0x45f744[_0x1a7d09(0x1dc)][_0x34324c]]={'id':_0x179e9d[_0x34324c]['id']});}),_0x33c38d;}):_0x49e720,UiUtil[_0xd7cc8b(0x1a8)](_0x45f744['url'],_0x131333);}else _0xd7cc8b(0x291)===_0x45f744[_0xd7cc8b(0x237)]?(_0x37e3ff=_0x37e3ff[0x0],MetaUiUtil['gristButtonPassParam'](_0x5206c9,_0x45f744,_0x37e3ff)):_0xd7cc8b(0x18e)===_0x45f744[_0xd7cc8b(0x237)]?(_0x37e3ff=_0x37e3ff[0x0],await MetaUiUtil[_0xd7cc8b(0x270)](_0x5206c9,_0x45f744,_0x37e3ff)):_0xd7cc8b(0x138)===_0x45f744[_0xd7cc8b(0x237)]&&(_0x37e3ff=_0x37e3ff[0x0],await MetaUiUtil['gristButtonValueReference'](_0x5206c9,_0x45f744,_0x37e3ff));}}}else _0x5206c9[_0xd7cc8b(0x1d6)]();}}static async[a0_0x5ca140(0x1d1)](_0x2a4187,_0x4caac7,_0x1e30d2){const _0x38a16d=a0_0x5ca140;for(let _0x36048f=0x0;_0x36048f<_0x4caac7[_0x38a16d(0x1be)][_0x38a16d(0x169)];_0x36048f++){let _0x107bac=_0x4caac7[_0x38a16d(0x1be)][_0x36048f];!0x0===ValueUtil['compareObjectValues'](_0x107bac,_0x1e30d2,Object[_0x38a16d(0x17a)](_0x107bac)[_0x38a16d(0x1f3)](_0x52f6f1=>_0x38a16d(0x1a0)!=_0x52f6f1))&&await MetaUiUtil['gristButtonHandler'](_0x2a4187,_0x107bac,_0x1e30d2);}}static[a0_0x5ca140(0x259)](_0x121dd0,_0x282f28){return{'type':_0x121dd0,'name':_0x282f28,'sortable':!0x1,'hidden':!0x0};}static[a0_0x5ca140(0x191)](_0x178399,_0x31940e,_0x26f2d4,_0x163ef6,_0x49b88e,_0x61996d){const _0x519b84=a0_0x5ca140;let _0x58878c=TermsUtil[_0x519b84(0x23d)](_0x31940e);return{'type':_0x178399,'name':_0x31940e,'header':_0x58878c,'record':{'align':_0x26f2d4,'editable':_0x163ef6},'sortable':_0x49b88e,'width':_0x61996d,'imex':{'width':Math[_0x519b84(0x281)](_0x61996d/0x6),'header':_0x58878c,'type':_0x178399,'key':_0x31940e}};}static[a0_0x5ca140(0x1ca)](_0x409a93,_0x474f5f,_0x57ad86,_0x2366fa,_0x9b7bba,_0x225f6b,_0x13bad2){let _0x28c06b=TermsUtil['tLabel'](_0x57ad86);return{'type':_0x409a93,'name':_0x474f5f,'header':_0x28c06b,'record':{'align':_0x2366fa,'editable':_0x9b7bba},'sortable':_0x225f6b,'width':_0x13bad2,'imex':{'width':Math['floor'](_0x13bad2/0x6),'header':_0x28c06b,'type':_0x409a93,'key':_0x474f5f}};}static['getGristColumnConfig3'](_0x33ea01,_0x4c08bc,_0x4aff5f,_0x503908,_0x2e7f94,_0x400868,_0x52fe28,_0xec1c26){const _0x2989ed=a0_0x5ca140;let _0x93e4e9=TermsUtil[_0x2989ed(0x23d)](_0x4aff5f);return{'type':_0x33ea01,'name':_0x4c08bc,'header':_0x93e4e9,'record':{'align':_0x503908,'editable':_0x2e7f94,'mandatory':_0x52fe28},'sortable':_0x400868,'width':_0xec1c26,'imex':{'width':Math[_0x2989ed(0x281)](_0xec1c26/0x6),'header':_0x93e4e9,'type':_0x33ea01,'key':_0x4c08bc}};}static[a0_0x5ca140(0x162)](_0x5c5821,_0x5c3693,_0x20f979,_0x2edcca,_0x336f6e,_0x3e3eab,_0x3ee46c){const _0x362ef5=a0_0x5ca140;let _0x552e79=TermsUtil[_0x362ef5(0x23d)](_0x5c3693);return{'type':'select','name':_0x5c5821,'header':_0x552e79,'record':{'align':_0x20f979,'editable':!0x0,'mandatory':_0x3e3eab,'options':_0x3ee46c},'sortable':_0x2edcca,'width':_0x336f6e,'imex':{'width':Math[_0x362ef5(0x281)](_0x336f6e/0x6),'header':_0x552e79,'type':_0x362ef5(0x21c),'key':_0x5c5821}};}static async[a0_0x5ca140(0x215)](_0xfaddbf,_0x277626,_0x41d59d,_0x3fc90a,_0x47d86d,_0x5aab4b,_0x3941a6){const _0x15d329=a0_0x5ca140;let _0x216bb3=await ServiceUtil[_0x15d329(0x1fd)](_0x3941a6);return MetaUiUtil[_0x15d329(0x162)](_0xfaddbf,_0x277626,_0x41d59d,_0x3fc90a,_0x47d86d,_0x5aab4b,_0x216bb3);}static[a0_0x5ca140(0x21e)](_0x11684c,_0x5cc1e6,_0x4af466,_0x340b7b,_0x15521c){const _0x491168=a0_0x5ca140;let _0x994881=TermsUtil[_0x491168(0x23d)](_0x4af466),_0x31d88c={'name':_0x11684c,'type':_0x5cc1e6,'label':_0x994881,'operator':_0x340b7b,'imex':{'width':0x10,'header':_0x994881,'type':_0x5cc1e6,'key':_0x11684c}};return _0x15521c&&(_0x31d88c['options']=_0x15521c),_0x31d88c;}static async[a0_0x5ca140(0x1fe)](_0x34e88e,_0x167334,_0x5762f5,_0x26c03b,_0x55d084){const _0x5a78f4=a0_0x5ca140;let _0x2d3f30=await ServiceUtil['getCodeSelectorData'](_0x55d084);return MetaUiUtil[_0x5a78f4(0x21e)](_0x34e88e,_0x167334,_0x5762f5,_0x26c03b,_0x2d3f30);}static[a0_0x5ca140(0x17f)](){return[css`
|
|
5
|
+
`,'variables':{'id':null}}))[_0x3b0cfa(0x120)])return;let _0x2a83f9=[{'name':'routing','operator':'eq','value':_0x24b6e1}];return await ServiceUtil[_0x3b0cfa(0x1b2)](_0x3b0cfa(0x110),_0x2a83f9,null,0x0,0x0,_0x3b0cfa(0x114));}static async[a0_0x1b6229(0x171)](_0x4ab45a,_0x2b1a96){const _0x2bc607=a0_0x1b6229;let _0x413418,_0x4c05ce=await MetaUiUtil[_0x2bc607(0x154)](_0x2b1a96);if(_0x4c05ce&&_0x4c05ce[_0x2bc607(0x239)]&&0x0!=_0x4c05ce['records'][_0x2bc607(0x24b)]?(_0x413418=_0x4c05ce[_0x2bc607(0x239)][0x0],!_0x413418[_0x2bc607(0x234)]&&_0x4ab45a['defaultPageConfig']&&(_0x413418[_0x2bc607(0x234)]=_0x4ab45a[_0x2bc607(0x16e)])):_0x4ab45a['defaultPageConfig']&&(_0x413418={'id':_0x2b1a96,'template':_0x4ab45a[_0x2bc607(0x16e)]}),!_0x413418)throw new Error(TermsUtil['tText'](_0x2bc607(0x244),{'value':TermsUtil[_0x2bc607(0x20b)](_0x2bc607(0x1f3))+'\x20'+_0x2b1a96}));if(!_0x413418['template'])throw new Error(TermsUtil['tText'](_0x2bc607(0x244),{'value':TermsUtil[_0x2bc607(0x20b)](_0x2bc607(0x1f3))+'\x20'+TermsUtil[_0x2bc607(0x23b)]('model')}));return this[_0x2bc607(0xf5)]=_0x413418['id'],JSON['parse'](MetaCrypto['dec'](_0x413418[_0x2bc607(0x234)]));}static['getBasicGristPageProperties'](){return{'menuInfo':Object,'gridConfig':Object,'gridColumnConfig':Array,'formColumnConfig':Array,'buttonConfig':Array,'searchConfig':Array,'gqlInfo':String,'gqlFetchField':String,'searchFormElement':String,'useFilterForm':Boolean,'gristConfigSet':Object,'formConfigSet':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':!0x0,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x5ef010=>Boolean(_0x5ef010)},'is_popup':{'type':Boolean,'converter':_0x1aab90=>Boolean(_0x1aab90)},'is_activity':{'type':Boolean,'converter':_0x2cff41=>Boolean(_0x2cff41)},'is_readonly':{'type':Boolean,'converter':_0x1b4ab0=>Boolean(_0x1b4ab0)}};}static async[a0_0x1b6229(0x11c)](_0x1733b8){const _0x536fe4=a0_0x1b6229;if(0x0==store[_0x536fe4(0x16f)]()[_0x536fe4(0x217)][_0x536fe4(0x1e5)])return void document['dispatchEvent'](new CustomEvent(_0x536fe4(0x246),{'detail':{'level':_0x536fe4(0x1f7),'message':TermsUtil[_0x536fe4(0x1aa)](_0x536fe4(0x13f))}}));let _0x2271fc=_0x1733b8[_0x536fe4(0x116)]?UiUtil['currentRouting']():_0x1733b8[_0x536fe4(0x21b)];_0x1733b8[_0x536fe4(0xe5)]=_0x2271fc;let _0x316d86=await MetaUiUtil[_0x536fe4(0x171)](_0x1733b8,_0x2271fc);return!0x0===_0x1733b8[_0x536fe4(0x137)]&&(_0x316d86[_0x536fe4(0x156)][_0x536fe4(0x229)][_0x536fe4(0x187)]=!0x1,_0x316d86[_0x536fe4(0x156)][_0x536fe4(0x229)][_0x536fe4(0x194)]=_0x536fe4(0x1eb),_0x316d86[_0x536fe4(0x156)][_0x536fe4(0x220)]=!0x1,_0x316d86['grid'][_0x536fe4(0x22e)]=[],_0x316d86[_0x536fe4(0x22e)]=_0x316d86[_0x536fe4(0x22e)][_0x536fe4(0x17b)](_0x385016=>_0x536fe4(0x20a)==_0x385016[_0x536fe4(0xdc)])),!0x0===_0x1733b8[_0x536fe4(0x1e9)]&&(_0x316d86['grid_column']['forEach'](_0x5ed960=>{const _0x192361=_0x536fe4;_0x5ed960[_0x192361(0x1ee)]=!0x1;}),_0x316d86[_0x536fe4(0x22e)]=_0x316d86[_0x536fe4(0x22e)][_0x536fe4(0x17b)](_0x2d5b83=>_0x536fe4(0x20a)!=_0x2d5b83[_0x536fe4(0xdc)])),!0x1===_0x1733b8[_0x536fe4(0x220)]&&(_0x316d86[_0x536fe4(0x156)][_0x536fe4(0x220)]=!0x1),_0x316d86[_0x536fe4(0xf0)][_0x536fe4(0x17b)](_0x440fc6=>_0x440fc6[_0x536fe4(0xfe)])[_0x536fe4(0x125)](_0x4df7fd=>{const _0x554c9a=_0x536fe4;_0x1733b8[_0x554c9a(0x21e)]||(_0x1733b8[_0x554c9a(0x21e)]={}),_0x1733b8[_0x554c9a(0x21e)][_0x4df7fd[_0x554c9a(0xdc)]]=_0x4df7fd[_0x554c9a(0xfe)];}),_0x316d86[_0x536fe4(0xf0)][_0x536fe4(0x125)](_0x16269d=>{const _0x5536cb=_0x536fe4;[_0x5536cb(0xd8),'object'][_0x5536cb(0x1b9)](_0x16269d[_0x5536cb(0x17a)])?_0x16269d['type']=_0x5536cb(0x22f):[_0x5536cb(0x24a)][_0x5536cb(0x1b9)](_0x16269d[_0x5536cb(0x17a)])&&(_0x16269d[_0x5536cb(0x17a)]=_0x5536cb(0x1b1));}),_0x316d86;}static[a0_0x1b6229(0x183)](..._0x3e317e){return{'pages':_0x3e317e};}static[a0_0x1b6229(0x135)](_0x4c48f0,_0x9f5e60){const _0x3b90d8=a0_0x1b6229;let _0x491a42=[{'type':_0x3b90d8(0xdf),'gutterName':'dirty'},{'type':_0x3b90d8(0xdf),'gutterName':_0x3b90d8(0x1f9)}];return _0x4c48f0&&_0x491a42[_0x3b90d8(0x14b)]({'type':_0x3b90d8(0xdf),'gutterName':_0x3b90d8(0x199),'multiple':_0x9f5e60}),_0x491a42;}static[a0_0x1b6229(0x112)](_0x379fdf){return{'selectable':{'multiple':_0x379fdf}};}static async[a0_0x1b6229(0x1f2)](_0x26107e){const _0xf7f3ac=a0_0x1b6229;_0x26107e['gqlInfo']||(_0x26107e[_0xf7f3ac(0x157)]={}),_0x26107e['gqlInfo'][_0xf7f3ac(0xe8)]||(_0x26107e[_0xf7f3ac(0x157)][_0xf7f3ac(0xe8)]={}),_0x26107e[_0xf7f3ac(0x157)]['query'][_0xf7f3ac(0x12a)]||(_0x26107e['gqlInfo'][_0xf7f3ac(0xe8)][_0xf7f3ac(0x12a)]={}),_0x26107e['gqlInfo'][_0xf7f3ac(0x14e)]||(_0x26107e['gqlInfo'][_0xf7f3ac(0x14e)]={}),_0x26107e[_0xf7f3ac(0x157)][_0xf7f3ac(0x14e)]['multiple']||(_0x26107e[_0xf7f3ac(0x157)]['mutation'][_0xf7f3ac(0xe6)]={}),_0x26107e[_0xf7f3ac(0x157)][_0xf7f3ac(0x14e)]['multiple'][_0xf7f3ac(0x126)]||(_0x26107e['gqlInfo'][_0xf7f3ac(0x14e)][_0xf7f3ac(0xe6)]['skip_fields']=[]);let _0x390b99=MetaUiUtil[_0xf7f3ac(0x1fb)](_0x26107e),_0x4a306e=MetaUiUtil[_0xf7f3ac(0x224)](_0x26107e),_0x45b21f=MetaUiUtil[_0xf7f3ac(0x1b8)](_0x26107e),_0x4509bf=MetaUiUtil['getGridButtonSet'](_0x26107e),_0x50db38=await MetaUiUtil['getGridColumnSet'](_0x26107e);_0x50db38['filter'](_0x92a4da=>[_0xf7f3ac(0x22f)][_0xf7f3ac(0x1b9)](_0x92a4da[_0xf7f3ac(0x17a)]))['forEach'](_0x3f4e03=>{const _0x85a2e0=_0xf7f3ac;_0x26107e['searchConfig'][_0x85a2e0(0x17b)](_0x5312e0=>_0x5312e0['name']==_0x3f4e03[_0x85a2e0(0xdc)])[_0x85a2e0(0x125)](_0x4db8e8=>{const _0x5d7fa6=_0x85a2e0,_0x1f90ef=_0x3f4e03['record'][_0x5d7fa6(0x149)],_0x17662e=_0x1f90ef[_0x5d7fa6(0x1a2)]?_0x1f90ef[_0x5d7fa6(0x1a2)]:_0x3f4e03[_0x5d7fa6(0xdc)]+'Id',_0x3a840d=_0x26107e[_0x5d7fa6(0x13b)]['findIndex'](_0x588981=>_0x588981[_0x5d7fa6(0xdc)]==_0x3f4e03[_0x5d7fa6(0xdc)]);_0x50db38[_0x5d7fa6(0x14b)]({'type':_0x5d7fa6(0x22f),'header':_0x3f4e03[_0x5d7fa6(0x1cf)],'name':_0x17662e,'hidden':!0x0,'record':{'editable':!0x1,'mandatory':!0x1,'options':_0x1f90ef}}),_0x26107e[_0x5d7fa6(0x157)][_0x5d7fa6(0xe8)][_0x5d7fa6(0x12a)][_0x17662e]='x',_0x26107e['gqlInfo'][_0x5d7fa6(0x14e)][_0x5d7fa6(0xe6)][_0x5d7fa6(0x126)]['push'](_0x17662e),_0x26107e['searchConfig'][_0x3a840d]['name']=_0x17662e,_0x26107e['searchConfig'][_0x3a840d][_0x5d7fa6(0x17a)]=_0x5d7fa6(0x22f);});});let _0x19649a=MetaUiUtil[_0xf7f3ac(0x135)](_0x390b99[_0xf7f3ac(0x187)],_0x45b21f[_0xf7f3ac(0x189)][_0xf7f3ac(0xe6)]);if(0x1==_0x26107e[_0xf7f3ac(0xe7)]&&(_0x50db38=MetaUiUtil[_0xf7f3ac(0xfd)](_0x26107e,_0x50db38)),_0x26107e['gridEmphasized']&&(_0x26107e[_0xf7f3ac(0x18e)]&&_0x26107e['gridEmphasized'][_0xf7f3ac(0x1a4)]&&_0x26107e['gridEmphasized'][_0xf7f3ac(0x1a4)]['length']>0x0&&(_0x45b21f[_0xf7f3ac(0x19e)]=function(_0x5a96ba,_0x86a3f9){const _0x2ad46e=_0xf7f3ac;let _0xa64d2b=_0x26107e[_0x2ad46e(0x18e)][_0x2ad46e(0x1a4)];for(let _0x27c55a=0x0;_0x27c55a<_0xa64d2b[_0x2ad46e(0x24b)];_0x27c55a++){let _0x3193c9=_0xa64d2b[_0x27c55a][_0x2ad46e(0x206)][_0x2ad46e(0x142)](/record./g,_0x2ad46e(0x191))[_0x2ad46e(0x142)](/rowIndex/g,_0x2ad46e(0x141));if(eval(''+_0x3193c9))return{'emphasized':[_0xa64d2b[_0x27c55a][_0x2ad46e(0x146)],_0xa64d2b[_0x27c55a][_0x2ad46e(0x1c3)]]};}}),_0x26107e[_0xf7f3ac(0x18e)]&&_0x26107e[_0xf7f3ac(0x18e)][_0xf7f3ac(0x1d9)])){let _0x1c474f=_0x26107e['gridEmphasized'][_0xf7f3ac(0x1d9)];Object['keys'](_0x1c474f)[_0xf7f3ac(0x125)](_0x3abfe8=>{const _0x318762=_0xf7f3ac;let _0x3457da=_0x1c474f[_0x3abfe8],_0x1c022e=_0x50db38[_0x318762(0x237)](_0x51b2a3=>_0x51b2a3['name']==_0x3abfe8);_0x50db38[_0x1c022e][_0x318762(0x1f6)]||(_0x50db38[_0x1c022e][_0x318762(0x1f6)]={}),_0x50db38[_0x1c022e][_0x318762(0x1f6)][_0x318762(0x19e)]=function(_0x37a6c6,_0xc4183e){const _0x370cba=_0x318762;for(let _0x3eaa77=0x0;_0x3eaa77<_0x3457da[_0x370cba(0x24b)];_0x3eaa77++){let _0x577e53=_0x3457da[_0x3eaa77]['logic'][_0x370cba(0x142)](/record./g,_0x370cba(0x191))[_0x370cba(0x142)](/rowIndex/g,_0x370cba(0x141));if(eval(''+_0x577e53))return{'emphasized':[_0x3457da[_0x3eaa77][_0x370cba(0x146)],_0x3457da[_0x3eaa77][_0x370cba(0x1c3)]]};}};});}return{'list':_0x4a306e,'pagination':_0x390b99['pages'],'sorters':_0x390b99[_0xf7f3ac(0x1d2)],'rows':_0x45b21f,'columns':[..._0x19649a,..._0x4509bf,..._0x50db38]};}static async[a0_0x1b6229(0x20e)](_0x35be87){const _0x2778c2=a0_0x1b6229;let _0x2bb60a=_0x35be87[_0x2778c2(0x1c2)],_0x3ec331=[],_0x2ffae3=Object[_0x2778c2(0x1c1)](getValueGenerators());for(let _0x583a31=0x0;_0x583a31<_0x2bb60a[_0x2778c2(0x24b)];_0x583a31++){let {type:_0x2ecbee=_0x2778c2(0x18a),name:_0x2e721c,header:_0x8081c9,hidden:_0x413b3a=!0x1,editable:_0x559181=!0x0,mandatory:_0x90c203=!0x1,align:_0x49f50b='left',select_opt:_0x536061,object_opt:_0x2fc7e7,default_value:_0x197673}=_0x2bb60a[_0x583a31],_0x2b08c8={'type':_0x2ecbee,'name':_0x2e721c,'header_txt':ValueUtil[_0x2778c2(0xfc)](_0x8081c9)?TermsUtil[_0x2778c2(0x23b)](_0x2e721c):TermsUtil[_0x2778c2(0x23b)](_0x8081c9),'header':{'renderer':function(_0x4cfc9a){const _0xc50dd=_0x2778c2;return _0x4cfc9a[_0xc50dd(0x150)];}},'hidden':_0x413b3a,'record':{'editable':_0x559181,'mandatory':_0x90c203,'align':_0x49f50b,'classifier':function(){},'renderer':getRenderer(_0x2ecbee)}};_0x559181&&(_0x2b08c8[_0x2778c2(0x1f6)][_0x2778c2(0x216)]=getEditor(_0x2ecbee)),_0x197673&&(_0x2ffae3['includes'](_0x197673)?_0x2b08c8[_0x2778c2(0x1f6)][_0x2778c2(0x134)]=getValueGenerator(_0x197673):_0x2b08c8[_0x2778c2(0x1f6)]['defaultValue']=_0x197673),_0x2ecbee['startsWith'](_0x2778c2(0x215))&&_0x2fc7e7&&_0x2fc7e7['menu']&&(_0x2fc7e7=await MetaUiUtil[_0x2778c2(0x1a9)](_0x2ecbee,_0x2fc7e7)),_0x2778c2(0x1a6)===_0x2ecbee&&ValueUtil[_0x2778c2(0x16b)](_0x536061)&&(Array['isArray'](_0x536061)?_0x2b08c8[_0x2778c2(0x1f6)][_0x2778c2(0x149)]=_0x536061:_0x2778c2(0x1c4)===_0x536061[_0x2778c2(0x17a)]?_0x2b08c8['record'][_0x2778c2(0x149)]=await ServiceUtil[_0x2778c2(0x1c6)](_0x536061[_0x2778c2(0x18d)]?_0x536061['values']:_0x536061[_0x2778c2(0xdc)]):_0x2778c2(0xef)===_0x536061['type']?_0x2b08c8[_0x2778c2(0x1f6)][_0x2778c2(0x149)]=await ServiceUtil[_0x2778c2(0x245)](_0x536061['name'],_0x536061['args']):_0x2778c2(0x1be)===_0x536061[_0x2778c2(0x17a)]&&(_0x2b08c8['record']['options']=await ServiceUtil[_0x2778c2(0x148)](_0x536061[_0x2778c2(0x129)]))),_0x2778c2(0x22f)===_0x2ecbee&&ValueUtil[_0x2778c2(0x16b)](_0x2fc7e7)?_0x2b08c8[_0x2778c2(0x1f6)][_0x2778c2(0x149)]={..._0x2fc7e7}:'meta-code-selector'===_0x2ecbee&&ValueUtil[_0x2778c2(0x16b)](_0x2fc7e7)&&(_0x2fc7e7[_0x2778c2(0x210)]&&(_0x2fc7e7[_0x2778c2(0x1ff)]=await ServiceUtil[_0x2778c2(0x148)](_0x2fc7e7)),_0x2b08c8['record'][_0x2778c2(0x149)]={..._0x2fc7e7}),_0x3ec331[_0x2778c2(0x14b)](_0x2b08c8);}return _0x3ec331;}static[a0_0x1b6229(0x1fb)](_0x46ee7a){const _0xcbe68e=a0_0x1b6229;let _0x3e42e4=_0x46ee7a[_0xcbe68e(0x1ac)];_0x46ee7a[_0xcbe68e(0xe7)]=!_0x3e42e4||null==_0x3e42e4[_0xcbe68e(0x220)]||_0x3e42e4[_0xcbe68e(0x220)];let {mobile_mode:_0x3a6650=_0xcbe68e(0x1b5),desk_mode:_0xca4bab=_0xcbe68e(0x212),view_mode:_0x3aaadc=[],use_row_checker:_0x2fd55f=!0x0,sorters:_0x591586=[],pages:_0x2ccf1d=[0x32,0x64,0x1f4,0x3e8]}=ValueUtil[_0xcbe68e(0xfc)](_0x3e42e4[_0xcbe68e(0x229)])?{}:_0x3e42e4[_0xcbe68e(0x229)];return _0xcbe68e(0x1eb)===_0x2ccf1d||'-1'===_0x2ccf1d?(_0x46ee7a[_0xcbe68e(0xdd)]=!0x0,_0x2ccf1d={'infinite':!0x0}):(_0x46ee7a[_0xcbe68e(0xdd)]=!0x1,_0x2ccf1d[_0xcbe68e(0x180)](function(_0xe062ff,_0x447f76){return _0xe062ff-_0x447f76;}),_0x2ccf1d={'pages':_0x2ccf1d}),ValueUtil[_0xcbe68e(0x16b)](_0x3aaadc)&&(0x1==_0x3aaadc['length']?(_0xca4bab=_0x3aaadc[0x0],_0x3a6650=_0x3aaadc[0x0]):_0x3aaadc[_0xcbe68e(0x24b)]>=0x2&&(_0x3aaadc[_0xcbe68e(0x1b9)](_0x3a6650)||(_0x3a6650=_0x3aaadc[0x1]),_0x3aaadc[_0xcbe68e(0x1b9)](_0xca4bab)||(_0xca4bab=_0x3aaadc[0x0]))),_0x46ee7a[_0xcbe68e(0x13c)]=_0x3a6650,_0x46ee7a[_0xcbe68e(0xfa)]=_0xca4bab,_0x46ee7a[_0xcbe68e(0x151)]=_0x3aaadc,_0x46ee7a['gridMode']=UiUtil['isMobileEnv']()?_0x46ee7a['gridMobileMode']:_0x46ee7a[_0xcbe68e(0xfa)],{'use_row_checker':_0x2fd55f,'sorters':_0x591586,'pages':_0x2ccf1d};}static['getGridListSet'](_0x2aace6){const _0x3245b1=a0_0x1b6229;let _0x5483c3={'fields':[ValueUtil[_0x3245b1(0x111)](_0x2aace6['menuInfo'],_0x3245b1(0xdc)),ValueUtil[_0x3245b1(0x111)](_0x2aace6[_0x3245b1(0x1a8)],_0x3245b1(0x221))]};return _0x2aace6['gridConfig'][_0x3245b1(0x1d0)]&&Object['assign'](_0x5483c3,_0x2aace6[_0x3245b1(0x1ac)][_0x3245b1(0x1d0)]),_0x5483c3;}static[a0_0x1b6229(0x1b8)](_0x392db1){const _0x4234b4=a0_0x1b6229;let {multiple_select:_0x1ceefd=!0x1,click:_0x448b74}=ValueUtil[_0x4234b4(0xfc)](_0x392db1[_0x4234b4(0x1ac)][_0x4234b4(0x1a4)])?{}:_0x392db1['gridConfig']['row'],_0xa0e333={'selectable':{'multiple':_0x1ceefd},'appendable':_0x392db1[_0x4234b4(0xff)]};return ValueUtil[_0x4234b4(0x16b)](_0x448b74)&&(_0xa0e333[_0x4234b4(0xee)]={'click':_0x448b74}),_0xa0e333;}static[a0_0x1b6229(0x15e)](_0x5190ab){const _0x5b3537=a0_0x1b6229;let _0x581e9c=_0x5190ab['gridConfig'][_0x5b3537(0x22e)];return ValueUtil['isEmpty'](_0x581e9c)?[]:_0x581e9c['map'](_0x42afc0=>{const _0xd15454=_0x5b3537;let _0x23b918={'type':_0xd15454(0xdf),'gutterName':'button'};if(ValueUtil[_0xd15454(0x16b)](_0x42afc0[_0xd15454(0x100)])&&(Array['isArray'](_0x42afc0['icon'])?_0x23b918[_0xd15454(0x100)]=_0x43d4f2=>{const _0x1fa959=_0xd15454;if(ValueUtil[_0x1fa959(0x16b)](_0x43d4f2))for(let _0x450200=0x0;_0x450200<_0x42afc0[_0x1fa959(0x100)]['length'];_0x450200++){let _0x2fe1cf=_0x42afc0[_0x1fa959(0x100)][_0x450200];if(!0x0===ValueUtil[_0x1fa959(0x1b7)](_0x2fe1cf,_0x43d4f2,Object[_0x1fa959(0x1c1)](_0x2fe1cf)[_0x1fa959(0x17b)](_0x14a804=>'icon'!=_0x14a804)))return _0x2fe1cf[_0x1fa959(0x100)];}}:_0x23b918[_0xd15454(0x100)]=_0x42afc0[_0xd15454(0x100)]),ValueUtil[_0xd15454(0x16b)](_0x42afc0[_0xd15454(0xdc)])&&(_0x23b918['name']=_0x42afc0[_0xd15454(0xdc)]),ValueUtil[_0xd15454(0x16b)](_0x42afc0[_0xd15454(0x243)])&&(_0x23b918['title']=TermsUtil[_0xd15454(0x161)](_0x42afc0[_0xd15454(0x243)])),_0xd15454(0xd9)===_0x42afc0[_0xd15454(0x17a)]){let _0x2c4911=ValueUtil[_0xd15454(0x111)](_0x42afc0,_0xd15454(0x206));[_0xd15454(0x201),'history_json'][_0xd15454(0x1b9)](_0x2c4911)?_0x23b918[_0xd15454(0xee)]={'click':(_0x108c78,_0x3cd956,_0x231bc1,_0x15c787,_0xa430ce)=>{const _0x4d433f=_0xd15454;if(_0x15c787['id']){let _0x806250={'title':_0x4d433f(0x1de),'type':'popup','tagname':_0x4d433f(0x201)==_0x2c4911?_0x4d433f(0x1c5):_0x4d433f(0x1a0),'location':_0x4d433f(0x201)==_0x2c4911?_0x4d433f(0x1c9):_0x4d433f(0x16a),'menu':_0x5190ab[_0x4d433f(0xe5)],'size':_0x4d433f(0x1e8),'popup_field':'open_param','parent_field':'id'},_0xb93ca3={..._0x15c787,'gqlFunc':ValueUtil[_0x4d433f(0x111)](_0x5190ab[_0x4d433f(0x157)],_0x4d433f(0xe8),_0x4d433f(0x242)),'gristConfig':JSON[_0x4d433f(0x109)](JSON['stringify'](_0x5190ab[_0x4d433f(0xed)][_0x4d433f(0x173)]))};MetaUiUtil[_0x4d433f(0x15a)](_0x5190ab,{'logic':_0x806250},_0xb93ca3);}}}:_0x23b918[_0xd15454(0xee)]={'click':_0x2c4911};}else _0x23b918[_0xd15454(0xee)]={'click':(_0x2f4fc7,_0x482892,_0x53f8c9,_0x1ed692,_0x324d2f)=>{const _0x308008=_0xd15454;_0x1ed692['id']&&MetaUiUtil[_0x308008(0x15a)](_0x5190ab,_0x42afc0,_0x1ed692);}};return _0x23b918;});}static async['getGridColumnSet'](_0x5de338){const _0x1f032f=a0_0x1b6229;let _0x54f88c=_0x5de338[_0x1f032f(0x228)];if(ValueUtil['isEmpty'](_0x54f88c))return[];let _0x21fb92=Object[_0x1f032f(0x1c1)](getValueGenerators()),_0x505efc=[];for(let _0x2acffb=0x0;_0x2acffb<_0x54f88c[_0x1f032f(0x24b)];_0x2acffb++){let {type:_0x439f58=_0x1f032f(0x18a),name:_0x36beed,header:_0x1604bb,hidden:_0x862762=!0x1,editable:_0x145807=!0x0,mandatory:_0x492df8=!0x1,sortable:_0x2daf6f=!0x1,align:_0x98ee58=_0x1f032f(0x1b4),width:_0x5d386d=0x0,exportable:_0x379852=!0x1,select_opt:_0x25e6a1,object_opt:_0xb999ee,format:_0x205def,default_value:_0x3068d1}=_0x54f88c[_0x2acffb],_0x35faf8={'type':_0x439f58,'name':_0x36beed,'header':ValueUtil[_0x1f032f(0xfc)](_0x1604bb)?'':TermsUtil[_0x1f032f(0x23b)](_0x1604bb),'hidden':_0x862762,'sortable':_0x2daf6f,'width':_0x5d386d,'record':{'editable':_0x145807,'mandatory':_0x492df8,'align':_0x98ee58,'format':_0x205def}};if(_0x3068d1&&(_0x21fb92['includes'](_0x3068d1)?_0x35faf8[_0x1f032f(0x1f6)][_0x1f032f(0x134)]=getValueGenerator(_0x3068d1):_0x35faf8[_0x1f032f(0x1f6)]['defaultValue']=_0x3068d1),_0x439f58[_0x1f032f(0x1d5)](_0x1f032f(0x215))&&_0xb999ee&&_0xb999ee[_0x1f032f(0x1f3)]&&(_0xb999ee=await MetaUiUtil['getGristMetaObjectOptions'](_0x439f58,_0xb999ee)),'select'===_0x439f58&&ValueUtil[_0x1f032f(0x16b)](_0x25e6a1)&&(Array['isArray'](_0x25e6a1)?_0x35faf8[_0x1f032f(0x1f6)][_0x1f032f(0x149)]=_0x25e6a1:_0x1f032f(0x1c4)===_0x25e6a1[_0x1f032f(0x17a)]?_0x35faf8['record'][_0x1f032f(0x149)]=await ServiceUtil[_0x1f032f(0x1c6)](_0x25e6a1[_0x1f032f(0x18d)]?_0x25e6a1[_0x1f032f(0x18d)]:_0x25e6a1[_0x1f032f(0xdc)]):_0x1f032f(0xef)===_0x25e6a1[_0x1f032f(0x17a)]?_0x35faf8['record'][_0x1f032f(0x149)]=await ServiceUtil[_0x1f032f(0x245)](_0x25e6a1[_0x1f032f(0xdc)],_0x25e6a1[_0x1f032f(0x129)]):_0x1f032f(0x1be)===_0x25e6a1['type']&&(_0x35faf8['record']['options']=await ServiceUtil[_0x1f032f(0x148)](_0x25e6a1['args']))),'meta-object-selector'===_0x439f58&&ValueUtil[_0x1f032f(0x16b)](_0xb999ee)){let _0x1536e0;_0x35faf8[_0x1f032f(0x1f6)][_0x1f032f(0x149)]={..._0xb999ee},_0xb999ee['basicArgs']&&_0xb999ee[_0x1f032f(0x197)]['filters']&&(_0x1536e0=[..._0xb999ee[_0x1f032f(0x197)][_0x1f032f(0x1a3)]]),_0x1536e0&&JSON[_0x1f032f(0x107)](_0x1536e0)['includes']('::')&&(_0x35faf8[_0x1f032f(0xee)]={'dblclick':(_0x3dd373,_0x1cc04f,_0x1d6cd4,_0x5aace6,_0x553805)=>{const _0x4776a1=_0x1f032f;let _0x14d476=[];_0x1536e0[_0x4776a1(0x125)](_0x5b6820=>{const _0x2875dc=_0x4776a1;var {name:_0x3e2ba9,value:_0x3cb1ca,operator:_0x5eeeb1='eq'}=_0x5b6820;_0x3cb1ca[_0x2875dc(0x1b9)]('::')&&(_0x3cb1ca=ValueUtil[_0x2875dc(0x111)](_0x5aace6,..._0x3cb1ca[_0x2875dc(0x142)]('::','')[_0x2875dc(0xe2)]('.'))),_0x3cb1ca||(_0x3cb1ca=''),_0x14d476[_0x2875dc(0x14b)]({'name':_0x3e2ba9,'operator':_0x5eeeb1,'value':_0x3cb1ca});}),_0x1d6cd4[_0x4776a1(0x1f6)][_0x4776a1(0x149)][_0x4776a1(0x197)][_0x4776a1(0x1a3)]=_0x14d476;}});}else _0x1f032f(0x1b1)===_0x439f58&&ValueUtil[_0x1f032f(0x16b)](_0xb999ee)&&(_0xb999ee[_0x1f032f(0x210)]&&(_0xb999ee[_0x1f032f(0x1ff)]=await ServiceUtil[_0x1f032f(0x148)](_0xb999ee)),_0x35faf8[_0x1f032f(0x1f6)][_0x1f032f(0x149)]={..._0xb999ee});!0x0===_0x5de338['useButtonExport']&&!0x0===_0x379852&&(_0x35faf8['imex']={'header':_0x35faf8[_0x1f032f(0x1cf)],'key':_0x35faf8[_0x1f032f(0xdc)],'width':_0x35faf8[_0x1f032f(0x18c)]/0x6,'type':_0x35faf8[_0x1f032f(0x17a)]}),_0x505efc[_0x1f032f(0x14b)](_0x35faf8);}if(!0x0!==this[_0x1f032f(0x137)])return _0x505efc;let _0x5b7307=await MetaApi['findMenuGridPersnalTemplate'](this[_0x1f032f(0xf5)]),{template:_0x28a566={}}=_0x5b7307;if(!_0x28a566[_0x1f032f(0x1ea)])return _0x505efc;let _0x4acfd4=_0x28a566[_0x1f032f(0x1ea)];return _0x505efc=_0x505efc[_0x1f032f(0x19f)](_0x22b1e5=>('id'==_0x22b1e5['name']||(_0x22b1e5[_0x1f032f(0x1c7)]=!_0x4acfd4['includes'](_0x22b1e5[_0x1f032f(0xdc)]),_0x22b1e5['rank']=_0x4acfd4[_0x1f032f(0x1af)](_0x22b1e5[_0x1f032f(0xdc)]),-0x1==_0x22b1e5[_0x1f032f(0x1fc)]&&(_0x22b1e5['rank']=0x1869f)),_0x22b1e5)),_0x505efc[_0x1f032f(0x180)]((_0xc82182,_0x4b7e07)=>_0xc82182['rank']-_0x4b7e07[_0x1f032f(0x1fc)]),_0x505efc;}static async[a0_0x1b6229(0x1a9)](_0x1929ef,_0x2d63b8){const _0x6dfb08=a0_0x1b6229;let _0x3b8cea=await MetaUiUtil[_0x6dfb08(0x154)](_0x2d63b8[_0x6dfb08(0x1f3)]);if(_0x3b8cea&&_0x3b8cea[_0x6dfb08(0x239)]&&_0x3b8cea[_0x6dfb08(0x239)]['length']>0x0&&_0x3b8cea[_0x6dfb08(0x239)][0x0][_0x6dfb08(0x234)]){let _0x175024=_0x3b8cea[_0x6dfb08(0x239)][0x0],_0x56f1cf=JSON[_0x6dfb08(0x109)](MetaCrypto['dec'](_0x175024[_0x6dfb08(0x234)]));_0x2d63b8[_0x6dfb08(0x1ad)]||(_0x2d63b8[_0x6dfb08(0x1ad)]=_0x56f1cf[_0x6dfb08(0x164)][_0x6dfb08(0xe8)]['list_func']),_0x2d63b8[_0x6dfb08(0x1a6)]||(_0x2d63b8[_0x6dfb08(0x1a6)]=_0x56f1cf['grid_column']),_0x2d63b8[_0x6dfb08(0x11e)]&&0x0!=_0x2d63b8[_0x6dfb08(0x11e)][_0x6dfb08(0x24b)]||(_0x2d63b8[_0x6dfb08(0x11e)]=_0x56f1cf[_0x6dfb08(0x233)]),_0x2d63b8['selectorName']||(_0x2d63b8[_0x6dfb08(0x143)]=_0x56f1cf[_0x6dfb08(0x1f3)][_0x6dfb08(0x1a7)]),_0x2d63b8[_0x6dfb08(0x1a3)]||(_0x2d63b8['filters']=_0x56f1cf[_0x6dfb08(0x164)]['query']['filters']||[]),_0x1929ef['includes'](_0x6dfb08(0xf9))?_0x2d63b8[_0x6dfb08(0x196)]||(_0x2d63b8[_0x6dfb08(0x196)]=_0x56f1cf[_0x6dfb08(0x1f3)][_0x6dfb08(0xdc)]||'name'):_0x1929ef['includes'](_0x6dfb08(0x207))&&(_0x2d63b8['codeField']||(_0x2d63b8[_0x6dfb08(0x247)]=_0x56f1cf[_0x6dfb08(0x1f3)][_0x6dfb08(0xdc)]||_0x6dfb08(0x1c4)),_0x2d63b8['dispField']||(_0x2d63b8[_0x6dfb08(0x210)]=_0x56f1cf['menu'][_0x6dfb08(0x221)]||void 0x0));}return _0x2d63b8;}static[a0_0x1b6229(0xfd)](_0x4c4e17,_0x3e4fb4){const _0x214bef=a0_0x1b6229;let _0x2d686e=_0x4c4e17[_0x214bef(0x13b)];return _0x2d686e&&_0x2d686e[_0x214bef(0x125)](_0x4796dd=>{const _0x16b5d7=_0x214bef;'string'==typeof _0x4796dd?_0x3e4fb4[_0x16b5d7(0x17b)](_0x46cd0b=>_0x46cd0b[_0x16b5d7(0xdc)]==_0x4796dd)[_0x16b5d7(0x125)](_0x1aff8b=>{_0x1aff8b['filter']='search';}):_0x16b5d7(0x223)==typeof _0x4796dd&&_0x3e4fb4[_0x16b5d7(0x17b)](_0x118f17=>_0x118f17[_0x16b5d7(0xdc)]==_0x4796dd[_0x16b5d7(0xdc)])[_0x16b5d7(0x125)](_0x9c28a4=>{const _0x369980=_0x16b5d7;_0x9c28a4[_0x369980(0x17b)]=_0x4796dd,_0x9c28a4[_0x369980(0x17b)][_0x369980(0x17a)]='datetime'===_0x9c28a4[_0x369980(0x17a)]&&'eq'==_0x4796dd[_0x369980(0x18b)]?_0x369980(0x23f):_0x9c28a4['type'];let _0x388a84=_0x9c28a4[_0x369980(0x17b)][_0x369980(0x23e)],_0x290797=[_0x369980(0x174),_0x369980(0x21f),_0x369980(0x158),'date','hour',_0x369980(0x1bb),'sec'];if(_0x388a84&&_0x290797[_0x369980(0x17b)](_0x3fee58=>_0x388a84['startsWith'](_0x3fee58))[_0x369980(0x24b)]>0x0){let _0x13d5e0=[],_0x273aee={'date':_0x369980(0x127),'datetime':_0x369980(0x1ed)},_0x309a2e={'today':_0x369980(0x22c),'year':_0x369980(0x21f),'month':_0x369980(0x158),'date':_0x369980(0x22c),'hour':'hour','min':_0x369980(0x166),'sec':_0x369980(0x186)};_0x388a84[_0x369980(0xe2)](',')[_0x369980(0x125)](_0x5cf0e7=>{const _0x295f62=_0x369980,_0x522d77=a0_0x4950a6();if(_0x290797[_0x295f62(0x1b9)](_0x5cf0e7))_0x13d5e0[_0x295f62(0x14b)](_0x522d77['startOf'](_0x309a2e[_0x5cf0e7])[_0x295f62(0x10e)](_0x273aee[_0x9c28a4[_0x295f62(0x17a)]]));else{if(_0x5cf0e7['includes']('-')){let _0x359817=_0x5cf0e7[_0x295f62(0xe2)]('-'),_0xbacb6f=_0x359817[0x0],_0x575d2f=_0x359817[0x1];_0x13d5e0['push'](_0x522d77[_0x295f62(0x195)](_0x575d2f,_0x309a2e[_0xbacb6f])[_0x295f62(0x11b)](_0x309a2e[_0xbacb6f])[_0x295f62(0x10e)](_0x273aee[_0x9c28a4[_0x295f62(0x17a)]]));}else{if(_0x5cf0e7['includes']('+')){let _0x4a0785=_0x5cf0e7['split']('+'),_0x1a7eec=_0x4a0785[0x0],_0x39aef6=_0x4a0785[0x1];_0x13d5e0[_0x295f62(0x14b)](_0x522d77[_0x295f62(0x20a)](_0x39aef6,_0x309a2e[_0x1a7eec])['startOf'](_0x309a2e[_0x1a7eec])['format'](_0x273aee[_0x9c28a4[_0x295f62(0x17a)]]));}}}}),_0x13d5e0['length']>0x0&&(_0x9c28a4[_0x369980(0x17b)][_0x369980(0x23e)]=0x1==_0x13d5e0['length']?_0x13d5e0[0x0]:_0x13d5e0);}});}),_0x3e4fb4;}static[a0_0x1b6229(0x139)](_0x498e2b){const _0x28a9ba=a0_0x1b6229;let _0x1d8e16={'title':TermsUtil['tTitle'](_0x498e2b[_0x28a9ba(0x1a8)][_0x28a9ba(0x1a7)]),'help':_0x498e2b[_0x28a9ba(0x1a8)][_0x28a9ba(0x12d)]||'','actions':[...MetaUiUtil[_0x28a9ba(0x124)](_0x498e2b)]};return _0x498e2b[_0x28a9ba(0x19a)]&&(_0x1d8e16[_0x28a9ba(0x23c)]={'name':_0x1d8e16[_0x28a9ba(0x1a7)],'data':_0x498e2b[_0x28a9ba(0x235)][_0x28a9ba(0x12e)](_0x498e2b)}),_0x498e2b[_0x28a9ba(0x1b0)]&&(_0x1d8e16[_0x28a9ba(0x16c)]={'handler':_0x498e2b[_0x28a9ba(0x241)]['bind'](_0x498e2b)}),_0x1d8e16;}static[a0_0x1b6229(0x124)](_0x1ebb0e){const _0xbc8522=a0_0x1b6229;let _0xa439e6=_0x1ebb0e[_0xbc8522(0x130)];return ValueUtil[_0xbc8522(0xfc)](_0xa439e6)?[]:_0xa439e6[_0xbc8522(0x17b)](_0x1e0965=>_0xbc8522(0x235)!=_0x1e0965[_0xbc8522(0xdc)]&&'import'!=_0x1e0965[_0xbc8522(0xdc)]&&_0xbc8522(0x20a)!=_0x1e0965[_0xbc8522(0xdc)])['map'](_0x58a985=>{const _0x569e67=_0xbc8522;let {name:_0x45314a,label:_0x2d29e7,style:_0x3e88fa,type:_0x5dffc7=_0x569e67(0xd9),action:_0x4bbd65,logic:_0x2140c7}=_0x58a985;if(ValueUtil[_0x569e67(0xfc)](_0x45314a))return{'title':'-1'};ValueUtil['isEmpty'](_0x2d29e7)&&(_0x2d29e7=_0x45314a),ValueUtil['isEmpty'](_0x3e88fa)&&(_0x3e88fa=_0x45314a),ValueUtil['isEmpty'](_0x4bbd65)&&(_0x4bbd65=_0x45314a);let _0x5eb359=ValueUtil[_0x569e67(0x16b)](_0x3e88fa)?CommonButtonStyles[_0x3e88fa]||{'icon':_0x3e88fa,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}:{};return{'title':TermsUtil[_0x569e67(0x161)](_0x2d29e7),'action':MetaUiUtil['getButtonActionHandler'](_0x1ebb0e,_0x5dffc7,_0x4bbd65,_0x2140c7),..._0x5eb359};})[_0xbc8522(0x17b)](_0x903ddf=>'-1'!=_0x903ddf[_0xbc8522(0x1a7)]);}static[a0_0x1b6229(0x1ce)](_0x447fe6){const _0x358f4e=a0_0x1b6229;let _0x525d32=_0x447fe6&&_0x447fe6[_0x358f4e(0x130)]?_0x447fe6[_0x358f4e(0x130)]:null;return _0x525d32?_0x525d32[_0x358f4e(0x17b)](_0x23b1af=>'add'!=_0x23b1af[_0x358f4e(0xdc)])[_0x358f4e(0x19f)](_0x551e45=>{const _0x5be37f=_0x358f4e;let {name:_0x2d4c81,label:_0xe86ad0,style:_0x2ae60d,type:_0x1af6cd=_0x5be37f(0xd9),action:_0x1fc53f,logic:_0x5ab2d6}=_0x551e45;ValueUtil['isEmpty'](_0xe86ad0)&&(_0xe86ad0=_0x2d4c81),ValueUtil[_0x5be37f(0xfc)](_0x2ae60d)&&(_0x2ae60d=_0x2d4c81),ValueUtil[_0x5be37f(0xfc)](_0x1fc53f)&&(_0x1fc53f=_0x2d4c81);let _0x23b0ed=MetaUiUtil[_0x5be37f(0x21c)](TermsUtil[_0x5be37f(0x161)](_0xe86ad0),_0x2ae60d);return _0x23b0ed['onclick']=MetaUiUtil['getButtonActionHandler'](_0x447fe6,_0x1af6cd,_0x1fc53f,_0x5ab2d6),_0x23b0ed;}):[];}static[a0_0x1b6229(0x21c)](_0x2c9ae2,_0x33fd4b){const _0x473a52=a0_0x1b6229;let _0x2fe2c5=CommonButtonStyles[_0x33fd4b]||{'icon':_0x33fd4b,'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}},_0x3492bf=_0x473a52(0x155)+_0x2c9ae2+'\x22\x20style=\x22margin-left:7px;margin-top:7px;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+(_0x2fe2c5['icon']?_0x2fe2c5[_0x473a52(0x100)]:'')+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2fe2c5['emphasis'][_0x473a52(0x211)]?'raised':'')+_0x473a52(0x10c)+(_0x2fe2c5['emphasis']['outlined']?_0x473a52(0x1ca):'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2fe2c5[_0x473a52(0x121)][_0x473a52(0x1cc)]?_0x473a52(0x1cc):'')+_0x473a52(0x10c)+(_0x2fe2c5[_0x473a52(0x121)][_0x473a52(0x165)]?_0x473a52(0x165):'')+_0x473a52(0x175);return UiUtil[_0x473a52(0x10f)](_0x3492bf);}static[a0_0x1b6229(0x1da)](_0x14379d,_0x4edcb0,_0x331d3a,_0x3a32ff){const _0x2e4863=a0_0x1b6229;if(_0x2e4863(0xd9)==_0x4edcb0){if(_0x14379d[_0x331d3a])return _0x14379d[_0x331d3a]['bind'](_0x14379d);}else{if(_0x2e4863(0x122)==_0x4edcb0)return()=>MetaUiUtil['customButtonHandler'](_0x14379d,_0x3a32ff);}return()=>{const _0x1f7d3a=_0x2e4863;UiUtil[_0x1f7d3a(0x113)]('title.warning',_0x1f7d3a(0x185),_0x1f7d3a(0x11d),_0x1f7d3a(0x24c));};}static async[a0_0x1b6229(0x15a)](_0xdeebb4,_0x42d0b9,_0x4a6942){const _0x1639d0=a0_0x1b6229;let _0x548a24=ValueUtil['getParams'](_0x42d0b9,_0x1639d0(0x206)),_0x4e7337=ValueUtil[_0x1639d0(0x111)](_0x548a24,'type');if(_0x1639d0(0xf3)===_0x4e7337)_0x548a24[_0x1639d0(0x214)]=_0x1639d0(0x13e),_0x548a24[_0x1639d0(0xfb)]=_0x1639d0(0x19d),_0x548a24[_0x1639d0(0x172)]='id',await MetaUiUtil['commonButtonOpenPopup'](_0xdeebb4,_0x548a24,_0x4a6942);else{if(_0x1639d0(0x182)===_0x4e7337)MetaUiUtil[_0x1639d0(0xf7)](_0xdeebb4,_0x548a24,_0x4a6942);else{if(_0x1639d0(0x1cd)===_0x4e7337){let _0x2acdb9;_0x548a24[_0x1639d0(0xda)]?(_0x2acdb9={},Object[_0x1639d0(0x1c1)](_0x4a6942)[_0x1639d0(0x17b)](_0x335765=>Object[_0x1639d0(0x1c1)](_0x548a24[_0x1639d0(0xda)])[_0x1639d0(0x1b9)](_0x335765))[_0x1639d0(0x19f)](_0x485fa8=>{const _0x41ba10=_0x1639d0;Object[_0x41ba10(0x1c1)](_0x548a24[_0x41ba10(0xda)])[_0x41ba10(0x1b9)](_0x485fa8)&&(_0x41ba10(0x18a)==typeof _0x4a6942[_0x485fa8]?_0x2acdb9[_0x548a24['param_field'][_0x485fa8]]=_0x4a6942[_0x485fa8]:_0x2acdb9[_0x548a24[_0x41ba10(0xda)][_0x485fa8]]={'id':_0x4a6942[_0x485fa8]['id']});})):_0x2acdb9=_0x4a6942,UiUtil[_0x1639d0(0x19c)](_0x548a24['url'],[_0x2acdb9]);}else _0x1639d0(0x184)===_0x4e7337?await MetaUiUtil[_0x1639d0(0x190)](_0xdeebb4,_0x548a24,_0x4a6942):_0x1639d0(0xef)===_0x4e7337?await MetaUiUtil[_0x1639d0(0x119)](_0xdeebb4,_0x548a24,_0x4a6942):'value_reference'===_0x4e7337&&await MetaUiUtil['gristButtonValueReference'](_0xdeebb4,_0x548a24,_0x4a6942);}}}static async['customButtonHandler'](_0x2b5f67,_0x46c722){const _0x3a4553=a0_0x1b6229;if(ValueUtil[_0x3a4553(0xfc)](_0x46c722))return;let _0x4b28e6=_0x2b5f67[_0x3a4553(0xed)],_0x503ec4=_0x2b5f67[_0x3a4553(0x1e7)],_0x4857e7=ValueUtil['getParams'](_0x46c722,'type'),_0x4f2144=ValueUtil['getParams'](_0x46c722,_0x3a4553(0x1bc)),_0x5749fc=_0x4f2144[_0x3a4553(0x17b)](_0x4fa9c8=>_0x4fa9c8['startsWith'](_0x3a4553(0xed)));if(ValueUtil[_0x3a4553(0x16b)](_0x5749fc)){if(!_0x4b28e6)return void UiUtil['showAlertPopup']('title.info','text.grid_is_not_exist',_0x3a4553(0x11d),_0x3a4553(0x24c));if(0x0==(_0x4b28e6[_0x3a4553(0x23a)]?_0x4b28e6[_0x3a4553(0x23a)][_0x3a4553(0x239)]:[])[_0x3a4553(0x24b)])return void UiUtil[_0x3a4553(0x113)](_0x3a4553(0x16d),_0x3a4553(0x10d),_0x3a4553(0x11d),'confirm');if(_0x4f2144[_0x3a4553(0x1b9)](_0x3a4553(0x13a))||_0x4f2144[_0x3a4553(0x1b9)](_0x3a4553(0x179))){let _0x18ca3f=_0x4b28e6[_0x3a4553(0x1fa)];if(ValueUtil[_0x3a4553(0xfc)](_0x18ca3f))return void UiUtil['showAlertPopup'](_0x3a4553(0x14a),_0x3a4553(0x1dc),_0x3a4553(0x11d),_0x3a4553(0x24c));if(_0x4f2144[_0x3a4553(0x1b9)](_0x3a4553(0x13a))&&_0x18ca3f[_0x3a4553(0x24b)]>0x1)return void UiUtil['showAlertPopup'](_0x3a4553(0x16d),_0x3a4553(0x17f),_0x3a4553(0x11d),_0x3a4553(0x24c));}}let _0x1a187b={};if(_0x4f2144[_0x3a4553(0x1b9)](_0x3a4553(0x17b))){if(!_0x503ec4)return void UiUtil[_0x3a4553(0x113)](_0x3a4553(0x16d),'text.search_form_is_not_exist','info','confirm');let _0x486fc3=_0x503ec4?await _0x503ec4[_0x3a4553(0x168)]():[];_0x1a187b[_0x3a4553(0x17b)]=_0x486fc3;}if(_0x4f2144[_0x3a4553(0x1b9)](_0x3a4553(0x203)))_0x1a187b[_0x3a4553(0xed)]=_0x4b28e6[_0x3a4553(0x23a)]['records'];else{if(_0x4f2144[_0x3a4553(0x1b9)](_0x3a4553(0x13a)))_0x1a187b[_0x3a4553(0xed)]=_0x4b28e6['selected'][0x0];else{if(_0x4f2144[_0x3a4553(0x1b9)]('grist_selected'))_0x1a187b['grist']=_0x4b28e6[_0x3a4553(0x1fa)];else{if(_0x4f2144[_0x3a4553(0x1b9)](_0x3a4553(0x14d))&&(_0x1a187b[_0x3a4553(0xed)]=ServiceUtil[_0x3a4553(0x169)](_0x4b28e6),!_0x1a187b[_0x3a4553(0xed)]))return;}}}if('page'===_0x4857e7){let _0x41023d,_0x38780a=Array[_0x3a4553(0x1b6)](_0x1a187b[_0x3a4553(0xed)])?_0x1a187b[_0x3a4553(0xed)]:[_0x1a187b[_0x3a4553(0xed)]];_0x41023d=_0x46c722[_0x3a4553(0xda)]?_0x38780a[_0x3a4553(0x19f)](_0x5f2784=>{const _0x26205e=_0x3a4553;let _0x3ae13b={};return Object['keys'](_0x5f2784)[_0x26205e(0x17b)](_0x217a2b=>Object[_0x26205e(0x1c1)](_0x46c722[_0x26205e(0xda)])[_0x26205e(0x1b9)](_0x217a2b))[_0x26205e(0x19f)](_0xae0253=>{const _0x163182=_0x26205e;Object[_0x163182(0x1c1)](_0x46c722[_0x163182(0xda)])['includes'](_0xae0253)&&(_0x163182(0x18a)==typeof _0x5f2784[_0xae0253]?_0x3ae13b[_0x46c722[_0x163182(0xda)][_0xae0253]]=_0x5f2784[_0xae0253]:_0x3ae13b[_0x46c722[_0x163182(0xda)][_0xae0253]]={'id':_0x5f2784[_0xae0253]['id']});}),_0x3ae13b;}):_0x38780a,UiUtil[_0x3a4553(0x19c)](_0x46c722[_0x3a4553(0x101)],_0x41023d);}else{if(_0x3a4553(0x184)===_0x4857e7){let _0x115cb0={..._0x1a187b[_0x3a4553(0xed)]?_0x1a187b[_0x3a4553(0xed)]:{},..._0x1a187b[_0x3a4553(0x17b)]?_0x1a187b[_0x3a4553(0x17b)]:{}};await MetaUiUtil['commonButtonOpenPopup'](_0x2b5f67,_0x46c722,_0x115cb0);}else'scenario'===_0x4857e7&&await MetaUiUtil[_0x3a4553(0x119)](_0x2b5f67,_0x46c722,_0x1a187b);}}static['gristButtonPassParam'](_0x97b0ff,_0x213bfe,_0x363021){const _0x21188e=a0_0x1b6229;let _0x1c23dd=_0x213bfe[_0x21188e(0x227)],_0x703001={},_0x416741=_0x97b0ff[_0x21188e(0x1f4)][_0x21188e(0x147)](),_0x21fd58=_0x97b0ff;_0x703001=_0x416741['startsWith'](_0x21188e(0x133))||_0x416741['startsWith'](_0x21188e(0xec))?_0x1c23dd[_0x21188e(0x1e6)]?{..._0x1c23dd}:{'detail':{..._0x1c23dd}}:{..._0x1c23dd},Object[_0x21188e(0x1c1)](_0x703001)['forEach'](_0x515d51=>{const _0x40c3ee=_0x21188e;if(_0x40c3ee(0x1ea)==_0x515d51?_0x21fd58=_0x97b0ff[_0x40c3ee(0x12c)][_0x40c3ee(0x17c)]:'detail'==_0x515d51?_0x21fd58=_0x97b0ff[_0x40c3ee(0x12c)]?_0x97b0ff['rootElement'][_0x40c3ee(0x226)]:_0x97b0ff[_0x40c3ee(0x226)]:_0x40c3ee(0x178)==_0x515d51&&(_0x21fd58=_0x97b0ff),_0x21fd58){if(_0x21fd58[_0x40c3ee(0x1f4)][_0x40c3ee(0x147)]()[_0x40c3ee(0x1d5)]('meta-tab-element'))Object['keys'](_0x703001[_0x515d51])[_0x40c3ee(0x125)](_0x526e4c=>{const _0xe8c7e7=_0x40c3ee;let _0x52dc31=_0x21fd58[_0xe8c7e7(0x1bd)][_0xe8c7e7(0x1d7)]('#'+_0x526e4c);_0x363021['id']&&_0x52dc31[_0xe8c7e7(0x1ab)](_0x363021['id']);let _0x5bbe8c=_0x703001[_0x515d51][_0x526e4c];Object['keys'](_0x5bbe8c)[_0xe8c7e7(0x125)](_0x2808e1=>{let _0x1b6999=_0x5bbe8c[_0x2808e1],_0x376724='*'===_0x1b6999?_0x363021:_0x363021[_0x1b6999];_0x52dc31[_0x2808e1]=_0x376724;});});else{let _0x2f21ca=_0x21fd58;_0x363021['id']&&_0x2f21ca[_0x40c3ee(0x1ab)](_0x363021['id']);let _0x361c52=_0x703001[_0x515d51];Object[_0x40c3ee(0x1c1)](_0x361c52)[_0x40c3ee(0x125)](_0x4c5625=>{let _0x69a55f=_0x361c52[_0x4c5625],_0x3391fc='*'===_0x69a55f?_0x363021:_0x363021[_0x69a55f];_0x2f21ca[_0x4c5625]=_0x3391fc;});}}});}static async[a0_0x1b6229(0x190)](_0x50a323,_0x4b5def,_0x4904ac){const _0x3009e3=a0_0x1b6229;let _0x4fb113=TermsUtil[_0x3009e3(0x144)](_0x4b5def['title']);ValueUtil[_0x3009e3(0x16b)](_0x4b5def[_0x3009e3(0x20f)])&&(_0x4fb113=_0x4fb113+'('+ValueUtil['getParams'](_0x4904ac,..._0x4b5def[_0x3009e3(0x20f)][_0x3009e3(0xe2)]('.'))+')');let _0x14ce65=_0x4b5def[_0x3009e3(0x15b)]&&_0x3009e3(0x18a)==typeof _0x4b5def[_0x3009e3(0x15b)]&&_0x3009e3(0x136)===_0x4b5def['after']&&_0x50a323&&_0x50a323['fetch']?_0x50a323[_0x3009e3(0x136)][_0x3009e3(0x12e)](_0x50a323):void 0x0;UiUtil[_0x3009e3(0x104)](_0x4fb113,_0x4b5def,_0x4904ac,_0x14ce65);}static async[a0_0x1b6229(0x119)](_0x1d2768,_0x1037af,_0x26d711){const _0x56965d=a0_0x1b6229;let _0x12f591=await ServiceUtil[_0x56965d(0x13d)]('service',_0x1037af[_0x56965d(0xdc)],_0x26d711);if(!_0x12f591[_0x56965d(0x120)]&&!ValueUtil[_0x56965d(0xfc)](_0x1037af[_0x56965d(0x15b)])&&_0x1037af[_0x56965d(0x15b)]){if(_0x56965d(0x136)!==_0x1037af[_0x56965d(0x15b)]){if(_0x56965d(0x223)==typeof _0x1037af[_0x56965d(0x15b)]){let _0x47fe8f=_0x1037af[_0x56965d(0x15b)],_0x530924=ValueUtil[_0x56965d(0x111)](_0x12f591[_0x56965d(0x23a)][_0x56965d(0xe9)]['data'],..._0x47fe8f[_0x56965d(0x1f1)]['split']('.'));if(0x0==Array[_0x56965d(0x1b6)](_0x530924)&&(_0x530924=[_0x530924]),'form'===_0x47fe8f['type'])_0x47fe8f[_0x56965d(0x214)]=_0x56965d(0x13e),_0x47fe8f[_0x56965d(0xfb)]='pages/meta-form-element.js',_0x47fe8f[_0x56965d(0x172)]='id',_0x530924=_0x530924[0x0],await MetaUiUtil[_0x56965d(0x190)](_0x1d2768,_0x47fe8f,_0x530924);else{if(_0x56965d(0x1cd)===_0x47fe8f[_0x56965d(0x17a)]){let _0x3edc20,_0x43b134=_0x530924;_0x3edc20=_0x47fe8f['param_field']?_0x43b134[_0x56965d(0x19f)](_0x49c2f3=>{const _0x1bbae6=_0x56965d;let _0x595188={};return Object[_0x1bbae6(0x1c1)](_0x49c2f3)[_0x1bbae6(0x17b)](_0x1bda26=>Object['keys'](_0x47fe8f[_0x1bbae6(0xda)])[_0x1bbae6(0x1b9)](_0x1bda26))[_0x1bbae6(0x19f)](_0x2ac2d3=>{const _0x294030=_0x1bbae6;Object['keys'](_0x47fe8f[_0x294030(0xda)])['includes'](_0x2ac2d3)&&(_0x294030(0x18a)==typeof _0x49c2f3[_0x2ac2d3]?_0x595188[_0x47fe8f[_0x294030(0xda)][_0x2ac2d3]]=_0x49c2f3[_0x2ac2d3]:_0x595188[_0x47fe8f[_0x294030(0xda)][_0x2ac2d3]]={'id':_0x49c2f3[_0x2ac2d3]['id']});}),_0x595188;}):_0x43b134,UiUtil[_0x56965d(0x19c)](_0x47fe8f['url'],_0x3edc20);}else _0x56965d(0x182)===_0x47fe8f[_0x56965d(0x17a)]?(_0x530924=_0x530924[0x0],MetaUiUtil['gristButtonPassParam'](_0x1d2768,_0x47fe8f,_0x530924)):_0x56965d(0x184)===_0x47fe8f[_0x56965d(0x17a)]?(_0x530924=_0x530924[0x0],await MetaUiUtil[_0x56965d(0x190)](_0x1d2768,_0x47fe8f,_0x530924)):_0x56965d(0x159)===_0x47fe8f[_0x56965d(0x17a)]&&(_0x530924=_0x530924[0x0],await MetaUiUtil['gristButtonValueReference'](_0x1d2768,_0x47fe8f,_0x530924));}}}else _0x1d2768[_0x56965d(0x136)]();}}static async[a0_0x1b6229(0x162)](_0x389164,_0x481185,_0x49952e){const _0x56c459=a0_0x1b6229;for(let _0x1b1972=0x0;_0x1b1972<_0x481185['relation'][_0x56c459(0x24b)];_0x1b1972++){let _0xa8ae8d=_0x481185[_0x56c459(0x108)][_0x1b1972];!0x0===ValueUtil[_0x56c459(0x1b7)](_0xa8ae8d,_0x49952e,Object[_0x56c459(0x1c1)](_0xa8ae8d)['filter'](_0x2a604b=>_0x56c459(0x206)!=_0x2a604b))&&await MetaUiUtil['gristButtonHandler'](_0x389164,_0xa8ae8d,_0x49952e);}}static[a0_0x1b6229(0x163)](_0x1cc254,_0xecd300){return{'type':_0x1cc254,'name':_0xecd300,'sortable':!0x1,'hidden':!0x0};}static[a0_0x1b6229(0x240)](_0x414174,_0x6d1a51,_0x170bdd,_0x335242,_0x53ddc6,_0x377cee){const _0x523097=a0_0x1b6229;let _0x3b1b39=TermsUtil['tLabel'](_0x6d1a51);return{'type':_0x414174,'name':_0x6d1a51,'header':_0x3b1b39,'record':{'align':_0x170bdd,'editable':_0x335242},'sortable':_0x53ddc6,'width':_0x377cee,'imex':{'width':Math[_0x523097(0x230)](_0x377cee/0x6),'header':_0x3b1b39,'type':_0x414174,'key':_0x6d1a51}};}static[a0_0x1b6229(0x102)](_0x19f9a4,_0x36a1d0,_0x34b963,_0x17c183,_0x5c72a5,_0x398a30,_0x341d9c){const _0x255f32=a0_0x1b6229;let _0x39de32=TermsUtil[_0x255f32(0x23b)](_0x34b963);return{'type':_0x19f9a4,'name':_0x36a1d0,'header':_0x39de32,'record':{'align':_0x17c183,'editable':_0x5c72a5},'sortable':_0x398a30,'width':_0x341d9c,'imex':{'width':Math[_0x255f32(0x230)](_0x341d9c/0x6),'header':_0x39de32,'type':_0x19f9a4,'key':_0x36a1d0}};}static[a0_0x1b6229(0x205)](_0x4780fb,_0x3336d7,_0x32ad9c,_0x5390a8,_0x3b86e5,_0x17f609,_0x1a0e95,_0x4da6f3){const _0x1e2fea=a0_0x1b6229;let _0x2a612e=TermsUtil[_0x1e2fea(0x23b)](_0x32ad9c);return{'type':_0x4780fb,'name':_0x3336d7,'header':_0x2a612e,'record':{'align':_0x5390a8,'editable':_0x3b86e5,'mandatory':_0x1a0e95},'sortable':_0x17f609,'width':_0x4da6f3,'imex':{'width':Math['floor'](_0x4da6f3/0x6),'header':_0x2a612e,'type':_0x4780fb,'key':_0x3336d7}};}static['getGristSelectorColumnConfig'](_0x152990,_0x1593e7,_0xf5c3e2,_0x3ab0e4,_0x7d4db8,_0x51df85,_0x33bc10){const _0x8deb5f=a0_0x1b6229;let _0xf82c62=TermsUtil[_0x8deb5f(0x23b)](_0x1593e7);return{'type':'select','name':_0x152990,'header':_0xf82c62,'record':{'align':_0xf5c3e2,'editable':!0x0,'mandatory':_0x51df85,'options':_0x33bc10},'sortable':_0x3ab0e4,'width':_0x7d4db8,'imex':{'width':Math[_0x8deb5f(0x230)](_0x7d4db8/0x6),'header':_0xf82c62,'type':_0x8deb5f(0x18a),'key':_0x152990}};}static async[a0_0x1b6229(0x140)](_0x9dec95,_0x77ac11,_0x5c07da,_0x462f43,_0xeea34a,_0x4eea6c,_0x53b2d5){const _0x300ee4=a0_0x1b6229;let _0x40f840=await ServiceUtil[_0x300ee4(0x1c6)](_0x53b2d5);return MetaUiUtil[_0x300ee4(0x105)](_0x9dec95,_0x77ac11,_0x5c07da,_0x462f43,_0xeea34a,_0x4eea6c,_0x40f840);}static['getGristSearchColumnConfig'](_0x1a0b0f,_0x44a57a,_0x45cfa3,_0x452b22,_0xa435c6){const _0x1785f2=a0_0x1b6229;let _0x3980cf=TermsUtil['tLabel'](_0x45cfa3),_0x18899d={'name':_0x1a0b0f,'type':_0x44a57a,'label':_0x3980cf,'operator':_0x452b22,'imex':{'width':0x10,'header':_0x3980cf,'type':_0x44a57a,'key':_0x1a0b0f}};return _0xa435c6&&(_0x18899d[_0x1785f2(0x149)]=_0xa435c6),_0x18899d;}static async[a0_0x1b6229(0xf6)](_0x23d167,_0x4726b6,_0x35d157,_0x1e72bd,_0x4cf35d){const _0xfa8b4=a0_0x1b6229;let _0x2e3a7c=await ServiceUtil[_0xfa8b4(0x1c6)](_0x4cf35d);return MetaUiUtil[_0xfa8b4(0x1d3)](_0x23d167,_0x4726b6,_0x35d157,_0x1e72bd,_0x2e3a7c);}static[a0_0x1b6229(0x1d1)](){return[css`
|
|
6
6
|
.button-container {
|
|
7
7
|
padding: var(--button-container-padding);
|
|
8
8
|
margin: var(--button-container-margin);
|
|
@@ -25,7 +25,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
25
25
|
:host {
|
|
26
26
|
--grid-record-emphasized-background-color: red;
|
|
27
27
|
--grid-record-emphasized-color: yellow;
|
|
28
|
-
}`];}static[
|
|
28
|
+
}`];}static[a0_0x1b6229(0x213)](){return[css`
|
|
29
29
|
#grist-personal{
|
|
30
30
|
padding:5px 6px 0px 0px;
|
|
31
31
|
margin:0px;
|
|
@@ -49,7 +49,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
49
49
|
#grist-personal > mwc-icon:hover{
|
|
50
50
|
background-color: var(--primary-color);
|
|
51
51
|
}
|
|
52
|
-
`];}static[
|
|
52
|
+
`];}static[a0_0x1b6229(0xdb)](){const _0x59a639=a0_0x1b6229;return[ScrollbarStyles,CommonGristStyles,css`
|
|
53
53
|
:host {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
@@ -59,7 +59,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
59
59
|
ox-grist {
|
|
60
60
|
overflow-y: auto;
|
|
61
61
|
flex: 1;
|
|
62
|
-
}`,...MetaUiUtil[
|
|
62
|
+
}`,...MetaUiUtil[_0x59a639(0x208)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x59a639(0x213)]()];}static['getBasicGristTabStyles'](){const _0x10ebfd=a0_0x1b6229;return[ScrollbarStyles,CommonGristStyles,css`
|
|
63
63
|
:host {
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
@@ -106,7 +106,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
106
106
|
ox-grist {
|
|
107
107
|
overflow-y: auto;
|
|
108
108
|
flex: 1;
|
|
109
|
-
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil[
|
|
109
|
+
}`,...MetaUiUtil['getGristEmphasizedStyles'](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x10ebfd(0x213)]()];}static['getBasicMasterDetailStyles'](){const _0x58ea19=a0_0x1b6229;return[ScrollbarStyles,CommonGristStyles,css`
|
|
110
110
|
:host {
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: column;
|
|
@@ -153,7 +153,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
153
153
|
ox-grist {
|
|
154
154
|
overflow-y: auto;
|
|
155
155
|
flex: 1;
|
|
156
|
-
}`,...MetaUiUtil[
|
|
156
|
+
}`,...MetaUiUtil[_0x58ea19(0x208)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x58ea19(0x213)]()];}static['getBasicTabDetailStyles'](){const _0x3eb79c=a0_0x1b6229;return[ScrollbarStyles,CommonGristStyles,css`
|
|
157
157
|
:host {
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
@@ -200,7 +200,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
200
200
|
ox-grist {
|
|
201
201
|
overflow-y: auto;
|
|
202
202
|
flex: 1;
|
|
203
|
-
}`,...MetaUiUtil[
|
|
203
|
+
}`,...MetaUiUtil[_0x3eb79c(0x208)](),...MetaUiUtil['getCustomButtonContainerStyles'](),...MetaUiUtil[_0x3eb79c(0x213)]()];}static[a0_0x1b6229(0xf1)](){const _0x55b7e1=a0_0x1b6229;return[ScrollbarStyles,CommonGristStyles,css`
|
|
204
204
|
:host {
|
|
205
205
|
display: flex;
|
|
206
206
|
flex-direction: column;
|
|
@@ -215,7 +215,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
215
215
|
ox-grist {
|
|
216
216
|
overflow-y: auto;
|
|
217
217
|
flex: 1;
|
|
218
|
-
}`,...MetaUiUtil[
|
|
218
|
+
}`,...MetaUiUtil[_0x55b7e1(0x208)](),...MetaUiUtil[_0x55b7e1(0x1d1)](),...MetaUiUtil[_0x55b7e1(0x213)]()];}static[a0_0x1b6229(0x1ae)](_0x1b4781){const _0x239713=a0_0x1b6229;return'top-down'==_0x1b4781?MetaUiUtil['getMasterDetailTopDownGristStyle']():MetaUiUtil[_0x239713(0x22b)]();}static[a0_0x1b6229(0xea)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
219
219
|
:host {
|
|
220
220
|
display: flex;
|
|
221
221
|
flex-direction: column;
|
|
@@ -282,7 +282,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
282
282
|
margin-left:7px;
|
|
283
283
|
margin-top:7px;
|
|
284
284
|
}
|
|
285
|
-
`];}static[
|
|
285
|
+
`];}static[a0_0x1b6229(0x22b)](){return[CommonGristStyles,ScrollbarStyles,css`
|
|
286
286
|
:host {
|
|
287
287
|
display: flex;
|
|
288
288
|
flex-direction: column;
|
|
@@ -349,7 +349,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
349
349
|
margin-left:7px;
|
|
350
350
|
margin-top:7px;
|
|
351
351
|
}
|
|
352
|
-
`];}static[
|
|
352
|
+
`];}static[a0_0x1b6229(0x12f)](){const _0x32809e=a0_0x1b6229;return[ScrollbarStyles,css`
|
|
353
353
|
:host {
|
|
354
354
|
display: flex;
|
|
355
355
|
flex: 1;
|
|
@@ -438,7 +438,7 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
438
438
|
border-bottom: var(--record-view-edit-border-bottom);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
`,...MetaUiUtil[
|
|
441
|
+
`,...MetaUiUtil[_0x32809e(0x1d1)]()];}static[a0_0x1b6229(0x1e1)](){return[css`
|
|
442
442
|
:host {
|
|
443
443
|
display: flex;
|
|
444
444
|
flex: 1;
|
|
@@ -493,204 +493,204 @@ const a0_0x5ca140=a0_0x2b9e;(function(_0x5c784b,_0x33de58){const _0x3e125e=a0_0x
|
|
|
493
493
|
overflow-x: overlay;
|
|
494
494
|
background-color: var(--main-section-background-color);
|
|
495
495
|
}
|
|
496
|
-
`];}static[
|
|
496
|
+
`];}static[a0_0x1b6229(0x1fd)](_0x318bcf,_0x1e004f){const _0x3b1547=a0_0x1b6229;return!!(_0x318bcf?_0x318bcf[_0x3b1547(0x1a5)](_0x10fffe=>_0x10fffe[_0x3b1547(0xdc)]==_0x1e004f):null);}static[a0_0x1b6229(0x12b)](_0x214d0c,_0x50b7d0){const _0x501723=a0_0x1b6229;return!!(_0x214d0c&&_0x214d0c[_0x501723(0x22e)]?_0x214d0c[_0x501723(0x22e)][_0x501723(0x1a5)](_0x224b0e=>_0x224b0e[_0x501723(0xdc)]==_0x50b7d0):null);}static['getSelectColumns'](_0x563196){const _0x112857=a0_0x1b6229;let _0x311971='';return _0x563196[_0x112857(0x17b)](_0x1fda51=>_0x112857(0xdf)!=_0x1fda51[_0x112857(0x17a)])[_0x112857(0x125)](_0xce9a4f=>{const _0x44fa62=_0x112857;_0x311971+='\x0a',_0x311971+=[_0x44fa62(0x22f),_0x44fa62(0x223),_0x44fa62(0xd8)]['includes'](_0xce9a4f['type'])?_0xce9a4f[_0x44fa62(0xdc)]+'\x0a{'+MetaUiUtil['getObjctColumnSelectFields'](_0xce9a4f)+'}':_0x44fa62(0x19b)==_0xce9a4f['type']?_0xce9a4f[_0x44fa62(0xdc)]+'\x0a{\x0aid\x0aname\x0athumbnail}':_0xce9a4f[_0x44fa62(0xdc)];}),_0x311971;}static[a0_0x1b6229(0x236)](_0x2a08e9){const _0x2faf6a=a0_0x1b6229;let _0xa20cc4='';return ValueUtil[_0x2faf6a(0x16b)](_0x2a08e9[_0x2faf6a(0x1f6)])&&ValueUtil[_0x2faf6a(0x16b)](_0x2a08e9[_0x2faf6a(0x1f6)][_0x2faf6a(0x149)])&&ValueUtil[_0x2faf6a(0x16b)](_0x2a08e9[_0x2faf6a(0x1f6)][_0x2faf6a(0x149)]['select'])&&_0x2a08e9[_0x2faf6a(0x1f6)][_0x2faf6a(0x149)][_0x2faf6a(0x1a6)][_0x2faf6a(0x125)](_0x203a33=>{const _0x5c0691=_0x2faf6a;_0x203a33[_0x5c0691(0xdc)]&&''!==_0x203a33[_0x5c0691(0xdc)]&&([_0x5c0691(0x22f),'object',_0x5c0691(0xd8)][_0x5c0691(0x1b9)](_0x203a33[_0x5c0691(0x17a)])?_0xa20cc4+='\x0a'+_0x203a33[_0x5c0691(0xdc)]+'\x20{\x20'+MetaUiUtil['getObjctColumnSelectFields'](_0x203a33)+'\x20\x0a\x20}':_0xa20cc4+='\x0a'+_0x203a33['name']);}),''==_0xa20cc4&&(_0xa20cc4+='\x0aid\x0aname\x0adescription'),_0xa20cc4;}static['getBasicGristHtml'](_0x20f1bb){const _0x41455a=a0_0x1b6229;let _0x4af5f5=_0x20f1bb[_0x41455a(0x15c)];if(_0x4af5f5){let _0xb9184a=_0x20f1bb[_0x41455a(0x1a1)]?_0x20f1bb['gristId']:_0x41455a(0x131),_0xc0ebfe=_0x20f1bb['gridMode'];return html`
|
|
497
497
|
<ox-grist
|
|
498
|
-
id=${
|
|
499
|
-
.config=${
|
|
500
|
-
.mode=${
|
|
498
|
+
id=${_0xb9184a}
|
|
499
|
+
.config=${_0x4af5f5}
|
|
500
|
+
.mode=${_0xc0ebfe}
|
|
501
501
|
auto-fetch
|
|
502
|
-
.fetchHandler=${
|
|
503
|
-
${MetaUiUtil[
|
|
502
|
+
.fetchHandler=${_0x20f1bb[_0x41455a(0x1e2)]['bind'](_0x20f1bb)}>
|
|
503
|
+
${MetaUiUtil[_0x41455a(0x219)](_0x20f1bb)}
|
|
504
504
|
</ox-grist>
|
|
505
|
-
`;}return html``;}static[
|
|
505
|
+
`;}return html``;}static[a0_0x1b6229(0x1ba)](_0x1a7b29){const _0x2d7550=a0_0x1b6229;if(!_0x1a7b29)return html``;if(!_0x1a7b29['formConfigSet'])return html``;let _0x40811d=_0x1a7b29[_0x2d7550(0x10b)],_0x21adc5=_0x1a7b29[_0x2d7550(0x1f6)]||{},_0x3f80d3=_0x40811d[_0x2d7550(0x17b)](_0x23213=>0x0==_0x23213[_0x2d7550(0x1c7)]);return ValueUtil[_0x2d7550(0xfc)](_0x1a7b29[_0x2d7550(0x115)])?MetaUiUtil[_0x2d7550(0x1dd)](_0x1a7b29,_0x3f80d3,_0x21adc5):MetaUiUtil[_0x2d7550(0x152)](_0x1a7b29,_0x3f80d3,_0x21adc5);}static['getBasicFormHtmlOnOption'](_0x5f9620,_0x267791,_0x57442d){const _0x54f252=a0_0x1b6229;let _0x4e9889=_0x5f9620['formRenderConfig'];return html`
|
|
506
506
|
<div class="root_container">
|
|
507
|
-
${
|
|
507
|
+
${_0x4e9889[_0x54f252(0x19f)](_0x390669=>{const _0x1b4407=_0x54f252;let _0x263946=[];_0x390669['column_list'][_0x1b4407(0x125)](_0x8c36ef=>{const _0xd71c08=_0x1b4407;let _0x2b5a58=_0x267791['filter'](_0x1c6a49=>_0x8c36ef==_0x1c6a49[_0xd71c08(0xdc)])||[];_0x2b5a58[_0xd71c08(0x24b)]>0x0&&_0x263946[_0xd71c08(0x14b)](_0x2b5a58[0x0]);});let _0x20c886=_0x1b4407(0x200);for(let _0x6ad2e1=0x0;_0x6ad2e1<_0x390669[_0x1b4407(0x1d9)];_0x6ad2e1++)_0x20c886+=_0x1b4407(0xe4);return _0x20c886+=';',html`
|
|
508
508
|
<h2>
|
|
509
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
509
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1b4407(0x144)](_0x390669[_0x1b4407(0x1c8)])}
|
|
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="${_0x20c886}">
|
|
512
|
+
${_0x263946[_0x1b4407(0x19f)](_0x5a9b40=>{const _0x61a93e=_0x1b4407;let {editable:_0x4a197c=!0x1,mandatory:_0x4d472b=!0x1}=_0x5a9b40[_0x61a93e(0x1f6)],_0x3779a2=_0x57442d['__dirtyfields__']||{};return html`
|
|
513
|
+
<label ?editable=${_0x4a197c}><span>${_0x4d472b?'*':''}${_0x5a9b40[_0x61a93e(0x150)]}</span>
|
|
514
|
+
${_0x4a197c?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=${_0x5a9b40}
|
|
519
|
+
.record=${_0x57442d}
|
|
520
|
+
.value=${_0x57442d[_0x5a9b40[_0x61a93e(0xdc)]]}
|
|
521
|
+
?dirty=${!!_0x3779a2[_0x5a9b40[_0x61a93e(0xdc)]]}
|
|
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
|
+
${_0x5f9620[_0x54f252(0x116)]?html``:MetaUiUtil[_0x54f252(0xf8)](_0x5f9620)}
|
|
528
|
+
`;}static[a0_0x1b6229(0x1dd)](_0x5c634c,_0x1f5dca,_0x141824){const _0x1517dc=a0_0x1b6229;let _0x42d7a5=_0x1517dc(0x21a);_0x5c634c[_0x1517dc(0x1d9)]&&0x0!=_0x5c634c[_0x1517dc(0x1d9)]||(_0x5c634c[_0x1517dc(0x1d9)]=0x1),_0x5c634c[_0x1517dc(0x1d9)]=parseInt((_0x5c634c[_0x1517dc(0x188)]||{})[_0x1517dc(0x128)]||_0x5c634c[_0x1517dc(0x1d9)]);for(let _0x4af774=0x0;_0x4af774<_0x5c634c[_0x1517dc(0x1d9)];_0x4af774++)_0x42d7a5+='\x201fr\x202fr';return _0x42d7a5+=';',html`
|
|
529
|
+
<div id="container" class="container" style="${_0x42d7a5}">
|
|
530
|
+
${_0x1f5dca[_0x1517dc(0x19f)](_0x413dfa=>{const _0x319675=_0x1517dc;let {editable:_0x113b62=!0x1,mandatory:_0x4f04fa=!0x1}=_0x413dfa[_0x319675(0x1f6)],_0x33eaad=_0x141824['__dirtyfields__']||{};return html`
|
|
531
|
+
<label ?editable=${_0x113b62}><span>${_0x4f04fa?'*':''}${_0x413dfa[_0x319675(0x150)]}</span>
|
|
532
|
+
${_0x113b62?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=${_0x413dfa}
|
|
537
|
+
.record=${_0x141824}
|
|
538
|
+
.value=${_0x141824[_0x413dfa['name']]}
|
|
539
|
+
?dirty=${!!_0x33eaad[_0x413dfa[_0x319675(0xdc)]]}
|
|
540
540
|
></ox-grid-field>
|
|
541
541
|
`;})}
|
|
542
542
|
</div>
|
|
543
|
-
${
|
|
544
|
-
`;}static[
|
|
543
|
+
${_0x5c634c[_0x1517dc(0x116)]?html``:MetaUiUtil[_0x1517dc(0xf8)](_0x5c634c)}
|
|
544
|
+
`;}static['getBasicTabHtml'](_0x2ba831){const _0x3b0b93=a0_0x1b6229;if(!_0x2ba831)return html``;if(!_0x2ba831[_0x3b0b93(0x222)])return html``;let _0x53bf13=_0x2ba831[_0x3b0b93(0x222)];return _0x2ba831[_0x3b0b93(0x20c)]||(_0x2ba831[_0x3b0b93(0x20c)]=_0x53bf13[0x0]?.[_0x3b0b93(0xdc)]||void 0x0),html`
|
|
545
545
|
<div class="tabs">
|
|
546
|
-
${
|
|
547
|
-
<div class="tab" ?activate="${
|
|
548
|
-
${
|
|
549
|
-
<span>${
|
|
546
|
+
${_0x53bf13[_0x3b0b93(0x19f)](_0x572bce=>{const _0x4c0d2f=_0x3b0b93;let _0x318d6e=TermsUtil[_0x4c0d2f(0x23b)](_0x572bce[_0x4c0d2f(0x1c8)]),_0x18da2e=_0x572bce[_0x4c0d2f(0xdc)];return html`
|
|
547
|
+
<div class="tab" ?activate="${_0x18da2e===_0x2ba831[_0x4c0d2f(0x20c)]}" @click="${()=>_0x2ba831[_0x4c0d2f(0x20c)]=_0x18da2e}">
|
|
548
|
+
${_0x572bce[_0x4c0d2f(0x100)]?html`<mwc-icon>${_0x572bce[_0x4c0d2f(0x100)]}</mwc-icon>`:html``}
|
|
549
|
+
<span>${_0x318d6e}</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
|
+
${_0x53bf13[_0x3b0b93(0x19f)](_0x5b1338=>{const _0x285e2b=_0x3b0b93;let _0x105bb7=_0x285e2b(0x17e);return _0x5b1338[_0x285e2b(0xdc)]==_0x2ba831[_0x285e2b(0x20c)]&&(_0x105bb7='display:flex'),html`
|
|
555
|
+
<div class='tab-contents' style="${_0x105bb7}">
|
|
556
|
+
${MetaUiUtil[_0x285e2b(0x249)](_0x2ba831,_0x5b1338)}
|
|
557
557
|
</div>
|
|
558
558
|
`;})}
|
|
559
559
|
</div>
|
|
560
|
-
`;}static[
|
|
561
|
-
${0x0==
|
|
560
|
+
`;}static[a0_0x1b6229(0x15d)](_0x3e38f8){const _0x21ea71=a0_0x1b6229;let _0x123451=(_0x3e38f8[_0x21ea71(0x188)]||{})[_0x21ea71(0x1f8)]||'top_bottom',_0x3ca08e=(_0x3e38f8[_0x21ea71(0x188)]||{})['master_detail_size']||_0x21ea71(0x23d),_0x4717a9=_0x21ea71(0x103)==_0x123451?'grid-template-columns:'+_0x3ca08e+';':_0x21ea71(0x18f)+_0x3ca08e+';',_0x4ec192=_0x3e38f8[_0x21ea71(0x116)]?UiUtil[_0x21ea71(0xe5)]():_0x3e38f8[_0x21ea71(0x21b)];return html`
|
|
561
|
+
${0x0==_0x3e38f8[_0x21ea71(0x14c)]?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=${_0x3e38f8[_0x21ea71(0x14f)]||[]}
|
|
567
|
+
.value=${_0x3e38f8[_0x21ea71(0x204)]||[]}
|
|
568
|
+
@filters-change=${_0x267a53=>{const _0x3d0ed6=_0x21ea71;_0x3e38f8[_0x3d0ed6(0xed)]?.[_0x3d0ed6(0x136)]();}}
|
|
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="${_0x4717a9}">
|
|
574
574
|
<div class="container_detail">
|
|
575
|
-
${MetaApi[
|
|
576
|
-
${MetaUiUtil[
|
|
575
|
+
${MetaApi[_0x21ea71(0x22a)](_0x3e38f8)}
|
|
576
|
+
${MetaUiUtil[_0x21ea71(0xf8)](_0x3e38f8)}
|
|
577
577
|
</div>
|
|
578
578
|
<div class="container_detail">
|
|
579
|
-
${!0x0===
|
|
579
|
+
${!0x0===_0x3e38f8[_0x21ea71(0x137)]?html`${!0x0===_0x3e38f8[_0x21ea71(0x1e9)]?html`<meta-tab-element
|
|
580
580
|
id="detail"
|
|
581
|
-
route_name="${
|
|
582
|
-
.activityDataSet=${(
|
|
581
|
+
route_name="${_0x4ec192}"
|
|
582
|
+
.activityDataSet=${(_0x3e38f8['activityDataSet']||{})[_0x21ea71(0x1e6)]}
|
|
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="${_0x4ec192}"
|
|
589
|
+
.activityDataSet=${(_0x3e38f8[_0x21ea71(0x167)]||{})[_0x21ea71(0x1e6)]}
|
|
590
590
|
is_activity=true
|
|
591
591
|
is_detail=true>
|
|
592
|
-
</meta-tab-element>`}`:html`${!0x0===
|
|
592
|
+
</meta-tab-element>`}`:html`${!0x0===_0x3e38f8[_0x21ea71(0x1e9)]?html`<meta-tab-element id="detail" route_name="${_0x4ec192}" is_readonly=true is_detail=true></meta-tab-element>`:html`<meta-tab-element id="detail" route_name="${_0x4ec192}" is_detail=true></meta-tab-element>`}`}
|
|
593
593
|
</div>
|
|
594
594
|
</div>
|
|
595
|
-
`;}static[
|
|
596
|
-
${0x0==
|
|
595
|
+
`;}static[a0_0x1b6229(0x1c0)](_0x6c9af0){const _0x4b8a17=a0_0x1b6229;let _0x36f9af=_0x6c9af0[_0x4b8a17(0x188)]['master_detail_type']||_0x4b8a17(0x1f0),_0xd7919=_0x6c9af0[_0x4b8a17(0x188)][_0x4b8a17(0x1d8)]||_0x4b8a17(0x23d),_0x5c5447=_0x6c9af0['etcConfig'][_0x4b8a17(0x232)],_0x1ea84b=JSON[_0x4b8a17(0x109)](_0x5c5447||'{}'),_0x5dcade=_0x4b8a17(0x103)==_0x36f9af?_0x4b8a17(0x21a)+_0xd7919+';':_0x4b8a17(0x18f)+_0xd7919+';';return MetaUiUtil['createMasterElement'](_0x6c9af0),MetaUiUtil['createDetailElement'](_0x6c9af0,_0x1ea84b),html`
|
|
596
|
+
${0x0==_0x6c9af0[_0x4b8a17(0x14c)]?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=${_0x6c9af0[_0x4b8a17(0x14f)]||[]}
|
|
602
|
+
.value=${_0x6c9af0['searchFieldValues']||[]}
|
|
603
|
+
@filters-change=${_0x4e3166=>{const _0x461824=_0x4b8a17;_0x6c9af0[_0x461824(0x136)]();}}
|
|
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="${_0x5dcade}">
|
|
609
609
|
<div class="container_detail">
|
|
610
|
-
${
|
|
610
|
+
${_0x6c9af0[_0x4b8a17(0x17c)]}
|
|
611
611
|
</div>
|
|
612
612
|
<div class="container_detail">
|
|
613
|
-
${''==
|
|
614
|
-
${
|
|
613
|
+
${''==_0x1ea84b[_0x4b8a17(0x214)]||'meta-tab-element'==_0x1ea84b[_0x4b8a17(0x214)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4b8a17(0x144)](''+_0x1ea84b[_0x4b8a17(0x1c8)])}</h2>`}
|
|
614
|
+
${_0x6c9af0[_0x4b8a17(0x226)]}
|
|
615
615
|
</div>
|
|
616
616
|
</div>
|
|
617
|
-
`;}static[
|
|
618
|
-
${0x0==
|
|
617
|
+
`;}static['getMainTabHtml'](_0x5219c3){const _0x4daa85=a0_0x1b6229;return MetaUiUtil[_0x4daa85(0x17d)](_0x5219c3),html`
|
|
618
|
+
${0x0==_0x5219c3[_0x4daa85(0x14c)]?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=${_0x5219c3[_0x4daa85(0x14f)]||[]}
|
|
624
|
+
.value=${_0x5219c3[_0x4daa85(0x204)]||[]}
|
|
625
|
+
@filters-change=${_0x3ed119=>{const _0x46fc8a=_0x4daa85;_0x5219c3[_0x46fc8a(0x136)]();}}
|
|
626
626
|
></ox-filters-form-base>
|
|
627
627
|
</div>
|
|
628
628
|
</div>
|
|
629
629
|
`}
|
|
630
630
|
<div id="container" class="container" >
|
|
631
|
-
${
|
|
631
|
+
${_0x5219c3[_0x4daa85(0x17c)]}
|
|
632
632
|
</div>
|
|
633
|
-
`;}static[
|
|
634
|
-
${0x0==
|
|
633
|
+
`;}static['getMasterDetailHtml'](_0x3e8fd2){const _0x322db7=a0_0x1b6229;let _0xe28913=_0x3e8fd2[_0x322db7(0x188)][_0x322db7(0x1f8)]||_0x322db7(0x1f0),_0x1afcd4=_0x3e8fd2[_0x322db7(0x188)]['master_detail_size']||_0x322db7(0x23d),_0x5d63bb=_0x3e8fd2[_0x322db7(0x188)][_0x322db7(0x232)],_0x5eb36d=JSON[_0x322db7(0x109)](_0x5d63bb||'{}'),_0xb70ca8=_0x322db7(0x103)==_0xe28913?_0x322db7(0x21a)+_0x1afcd4+';':_0x322db7(0x18f)+_0x1afcd4+';';return MetaUiUtil['createDetailElement'](_0x3e8fd2,_0x5eb36d),html`
|
|
634
|
+
${0x0==_0x3e8fd2[_0x322db7(0x14c)]?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=${_0x3e8fd2['searchFields']||[]}
|
|
640
|
+
.value=${_0x3e8fd2[_0x322db7(0x204)]||[]}
|
|
641
|
+
@filters-change=${_0x467f9f=>{const _0x53d281=_0x322db7;_0x3e8fd2[_0x53d281(0xed)]?.[_0x53d281(0x136)]();}}
|
|
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="${_0xb70ca8}">
|
|
647
647
|
<div class="container_detail">
|
|
648
|
-
${MetaApi[
|
|
649
|
-
${MetaUiUtil[
|
|
648
|
+
${MetaApi[_0x322db7(0x22a)](_0x3e8fd2)}
|
|
649
|
+
${MetaUiUtil['getButtonContainer'](_0x3e8fd2)}
|
|
650
650
|
</div>
|
|
651
651
|
<div class="container_detail">
|
|
652
|
-
${''==
|
|
653
|
-
${
|
|
652
|
+
${''==_0x5eb36d[_0x322db7(0x214)]||_0x322db7(0x1f5)==_0x5eb36d[_0x322db7(0x214)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x322db7(0x144)](''+_0x5eb36d[_0x322db7(0x1c8)])}</h2>`}
|
|
653
|
+
${_0x3e8fd2[_0x322db7(0x226)]}
|
|
654
654
|
</div>
|
|
655
655
|
</div>
|
|
656
|
-
`;}static[
|
|
656
|
+
`;}static[a0_0x1b6229(0x248)](_0x584498,_0x255eb5){const _0x27a226=a0_0x1b6229;if(!_0x584498['detailElement']){let _0x2c803d=_0x255eb5['name']?_0x255eb5[_0x27a226(0xdc)]:_0x27a226(0x1e6),_0x176d73='<'+_0x255eb5['tagname']+_0x27a226(0x202)+_0x2c803d+'\x22\x20name=\x22'+_0x2c803d+_0x27a226(0x1df)+_0x255eb5[_0x27a226(0x225)]+'\x22\x20'+(!0x0===_0x584498['is_activity']?'is_activity=true':'')+'\x20'+(!0x0===_0x584498[_0x27a226(0x1e9)]?_0x27a226(0x209):'')+_0x27a226(0x118)+_0x255eb5['tagname']+'>';_0x584498[_0x27a226(0x226)]=UiUtil[_0x27a226(0x10f)](_0x176d73),_0x584498[_0x27a226(0x226)][_0x27a226(0x167)]=(_0x584498[_0x27a226(0x167)]||{})[_0x27a226(0x1e6)],_0x584498[_0x27a226(0x1f4)]['toLowerCase']()['startsWith']('meta-tab-detail-')&&(_0x584498[_0x27a226(0x226)][_0x27a226(0x12c)]=_0x584498);}}static[a0_0x1b6229(0x17d)](_0x507aba){const _0x473714=a0_0x1b6229;if(!_0x507aba[_0x473714(0x17c)]&&_0x507aba[_0x473714(0x1e7)]){let _0x3c3ac1='master',_0x4a1f23=_0x473714(0x1bf)+_0x3c3ac1+_0x473714(0x1d4)+_0x3c3ac1+_0x473714(0x1df)+_0x507aba[_0x473714(0xe5)]+'\x22\x20'+(!0x0===_0x507aba[_0x473714(0x137)]?_0x473714(0x132):'')+'\x20'+(!0x0===_0x507aba[_0x473714(0x1e9)]?_0x473714(0x209):'')+_0x473714(0x193);_0x507aba['masterElement']=UiUtil[_0x473714(0x10f)](_0x4a1f23),_0x507aba[_0x473714(0x17c)][_0x473714(0x167)]=(_0x507aba['activityDataSet']||{})[_0x473714(0x1ea)],_0x507aba['masterElement'][_0x473714(0x138)]=!0x0,_0x507aba['masterElement'][_0x473714(0x170)]=_0x507aba[_0x473714(0x1e7)],_0x507aba[_0x473714(0x17c)]['rootElement']=_0x507aba;}}static[a0_0x1b6229(0x249)](_0x337deb,_0x771450){const _0x74e57e=a0_0x1b6229;if(_0x337deb[_0x74e57e(0x1cb)]||(_0x337deb[_0x74e57e(0x1cb)]={}),Object[_0x74e57e(0x1c1)](_0x337deb[_0x74e57e(0x1cb)])['filter'](_0x10341a=>_0x10341a==_0x771450[_0x74e57e(0xdc)])['length']>0x0)return _0x337deb['tabElements'][_0x771450[_0x74e57e(0xdc)]];let _0x1f17e9='<'+_0x771450[_0x74e57e(0x214)]+'\x20id=\x27'+_0x771450[_0x74e57e(0xdc)]+_0x74e57e(0x1e0)+_0x771450[_0x74e57e(0x1f3)]+'\x27\x20style=\x22flex:1;\x22\x20'+(!0x0===_0x337deb[_0x74e57e(0x137)]?_0x74e57e(0x132):'')+'\x20'+(!0x0===_0x337deb['is_readonly']?_0x74e57e(0x209):'')+_0x74e57e(0xe1)+_0x771450[_0x74e57e(0x214)]+'>',_0x4cc5c4=UiUtil[_0x74e57e(0x10f)](_0x1f17e9);return _0x4cc5c4[_0x74e57e(0x167)]=(_0x337deb[_0x74e57e(0x167)]||{})[_0x771450[_0x74e57e(0xdc)]],_0x337deb[_0x74e57e(0x153)]&&(_0x4cc5c4[_0x74e57e(0x153)]=_0x337deb['parent_id']),_0x337deb['rootElement']?_0x4cc5c4[_0x74e57e(0x12c)]=_0x337deb[_0x74e57e(0x12c)]:_0x4cc5c4['detailElement']=_0x337deb,!0x1===_0x771450[_0x74e57e(0x1fe)]&&(_0x4cc5c4[_0x74e57e(0x220)]=!0x1),_0x771450[_0x74e57e(0x177)]&&(_0x4cc5c4[_0x74e57e(0x170)]=_0x771450[_0x74e57e(0x177)]),_0x337deb[_0x74e57e(0x1cb)][_0x771450[_0x74e57e(0xdc)]]=_0x4cc5c4,_0x4cc5c4;}static[a0_0x1b6229(0x219)](_0x31b88a){const _0x2e07d2=a0_0x1b6229;let _0x4db222=_0x31b88a['useButtonAdd'],_0x75723a=_0x31b88a[_0x2e07d2(0xe7)],_0x5540e7=_0x31b88a[_0x2e07d2(0xf4)],_0x3d5a3f=JSON[_0x2e07d2(0x109)]((_0x31b88a[_0x2e07d2(0x188)]||{})[_0x2e07d2(0x1db)]||_0x2e07d2(0x176));return 0x0==_0x75723a?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[_0x2e07d2(0x198)](_0x31b88a)}
|
|
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
|
+
${_0x3d5a3f?html`
|
|
665
665
|
<div id="sorters">
|
|
666
|
-
<mwc-icon @click=${
|
|
666
|
+
<mwc-icon @click=${_0x10ec5f=>{const _0x2a232d=_0x2e07d2,_0x3e6abd=_0x10ec5f['currentTarget'];_0x3e6abd[_0x2a232d(0x22d)][_0x2a232d(0xeb)]({'right':0x0,'top':_0x3e6abd[_0x2a232d(0x238)]+_0x3e6abd[_0x2a232d(0xde)]});}}
|
|
667
667
|
>sort</mwc-icon>
|
|
668
668
|
<ox-popup id="sorter-control">
|
|
669
669
|
<ox-sorters-control></ox-sorters-control>
|
|
670
670
|
</ox-popup>
|
|
671
671
|
</div>
|
|
672
672
|
`:html``}
|
|
673
|
-
${MetaUiUtil[
|
|
673
|
+
${MetaUiUtil['getGridViewOption'](_0x31b88a)}
|
|
674
674
|
<ox-record-creator
|
|
675
675
|
id="add"
|
|
676
|
-
?hidden="${!
|
|
677
|
-
.callback=${
|
|
676
|
+
?hidden="${!_0x4db222}"
|
|
677
|
+
.callback=${_0x5540e7}>
|
|
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['getGridColumnPersonalizeButton'](_0x31b88a)}
|
|
684
684
|
</div>
|
|
685
|
-
`;}static[
|
|
685
|
+
`;}static[a0_0x1b6229(0x198)](_0x2ff1f9){const _0x2d986b=a0_0x1b6229;return _0x2d986b(0x212)!=_0x2ff1f9['gridMode']?html``:!0x0!==_0x2ff1f9[_0x2d986b(0x137)]?html`
|
|
686
686
|
<div id="grist-personal">
|
|
687
|
-
<mwc-icon @click=${
|
|
687
|
+
<mwc-icon @click=${_0x32a27b=>{const _0x21d7d5=_0x2d986b;let _0x2f00ce=MetaApi[_0x21d7d5(0x117)](_0x21d7d5(0x106),_0x21d7d5(0x106));_0x2f00ce[_0x21d7d5(0x11f)]=_0x32a27b[_0x21d7d5(0x1ef)][_0x21d7d5(0x21d)][_0x21d7d5(0x21d)][_0x21d7d5(0x21d)],_0x2f00ce['menuId']=_0x2ff1f9['menuId'],MetaApi[_0x21d7d5(0x1d6)](TermsUtil[_0x21d7d5(0x144)](_0x21d7d5(0x1e4)),_0x21d7d5(0x231),_0x2f00ce,!0x1);}}
|
|
688
688
|
>settings</mwc-icon>
|
|
689
689
|
</div>
|
|
690
|
-
`:html``;}static[
|
|
690
|
+
`:html``;}static[a0_0x1b6229(0xf2)](_0x1c45f4){const _0x14b420=a0_0x1b6229;return ValueUtil[_0x14b420(0xfc)](_0x1c45f4['gridViewOptions'])||0x1==_0x1c45f4[_0x14b420(0x151)][_0x14b420(0x24b)]?html``:html`
|
|
691
691
|
<div id="modes">
|
|
692
|
-
${
|
|
693
|
-
${
|
|
694
|
-
${
|
|
692
|
+
${_0x1c45f4[_0x14b420(0x151)][_0x14b420(0x1b9)](_0x14b420(0x212))?html`<mwc-icon @click="${()=>_0x1c45f4['gridMode']='GRID'}" ?active="${_0x14b420(0x212)==_0x1c45f4[_0x14b420(0x123)]}">grid_on</mwc-icon>`:''}
|
|
693
|
+
${_0x1c45f4[_0x14b420(0x151)][_0x14b420(0x1b9)](_0x14b420(0x1b5))?html`<mwc-icon @click="${()=>_0x1c45f4['gridMode']=_0x14b420(0x1b5)}" ?active="${_0x14b420(0x1b5)==_0x1c45f4[_0x14b420(0x123)]}">format_list_bulleted</mwc-icon>`:''}
|
|
694
|
+
${_0x1c45f4[_0x14b420(0x151)]['includes'](_0x14b420(0x145))?html`<mwc-icon @click="${()=>_0x1c45f4[_0x14b420(0x123)]=_0x14b420(0x145)}" ?active="${'CARD'==_0x1c45f4[_0x14b420(0x123)]}">apps</mwc-icon>`:''}
|
|
695
695
|
</div>
|
|
696
|
-
`;}static[
|
|
696
|
+
`;}static[a0_0x1b6229(0xf8)](_0x4bfc0a){return html`<div id="button-container" class="button-container">${MetaUiUtil['getContainerButtons'](_0x4bfc0a)}</div>`;}}
|