@things-factory/meta-ui 6.2.54 → 6.2.56

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.
Files changed (78) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +10 -10
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  7. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  8. package/client/component/grist/editor/grist-editor-meta-object-selector.js +8 -8
  9. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  10. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  12. package/client/component/popup/code-input-editor-popup.js +10 -10
  13. package/client/component/popup/file-upload-popup.js +11 -11
  14. package/client/component/popup/meta-object-selector-popup.js +11 -11
  15. package/client/component/popup/record-based-code-editor-popup.js +11 -11
  16. package/client/mixin/meta-base-mixin.js +1 -1
  17. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  18. package/client/mixin/meta-button-mixin.js +1 -1
  19. package/client/mixin/meta-form-mixin.js +1 -1
  20. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  21. package/client/mixin/meta-main-tab-mixin.js +1 -1
  22. package/client/mixin/meta-master-detail-mixin.js +1 -1
  23. package/client/mixin/meta-service-mixin.js +1 -1
  24. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  25. package/client/mixin/meta-tab-mixin.js +1 -1
  26. package/client/pages/activity/meta-activity-define-page.js +11 -11
  27. package/client/pages/activity/meta-activity-list-page.js +6 -6
  28. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  29. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  30. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  31. package/client/pages/button-role/button-role-detail.js +1 -1
  32. package/client/pages/button-role/button-role-page.js +1 -1
  33. package/client/pages/doc-number/doc-number-page.js +1 -1
  34. package/client/pages/doc-number/next-doc-number-popup.js +1 -1
  35. package/client/pages/entity/config-entity.js +29 -29
  36. package/client/pages/entity/main-menu-selector.js +8 -8
  37. package/client/pages/history/history-copy-list-popup.js +5 -5
  38. package/client/pages/history/history-json-list-popup.js +6 -6
  39. package/client/pages/loading-page.js +5 -5
  40. package/client/pages/menu/dynamic-menu-setting-let.js +6 -6
  41. package/client/pages/menu/dynamic-menu-template.js +7 -7
  42. package/client/pages/menu/dynamic-menu.js +16 -16
  43. package/client/pages/menu/export-menu-popup.js +7 -7
  44. package/client/pages/meta-form-element.js +1 -1
  45. package/client/pages/meta-grist-element.js +1 -1
  46. package/client/pages/meta-grist-page.js +1 -1
  47. package/client/pages/meta-grist-tab-element.js +1 -1
  48. package/client/pages/meta-grist-tab-page.js +1 -1
  49. package/client/pages/meta-main-tab-element.js +1 -1
  50. package/client/pages/meta-main-tab-page.js +1 -1
  51. package/client/pages/meta-master-detail-element.js +1 -1
  52. package/client/pages/meta-master-detail-page.js +1 -1
  53. package/client/pages/meta-tab-detail-element.js +1 -1
  54. package/client/pages/meta-tab-detail-page.js +1 -1
  55. package/client/pages/meta-tab-element.js +1 -1
  56. package/client/pages/personalize/personal-column-selector.js +11 -11
  57. package/client/pages/printer-device/printer-device-page.js +1 -1
  58. package/client/pages/template/doc-template-page.js +1 -1
  59. package/client/pages/template/template-file-page.js +1 -1
  60. package/client/pages/terms/config-terminology.js +5 -5
  61. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  62. package/client/pages/work-code/work-code-page.js +1 -1
  63. package/client/reducers/main.js +1 -1
  64. package/client/utils/grist-default-value.js +1 -1
  65. package/client/utils/meta-api.js +1 -1
  66. package/client/utils/meta-crypto.js +1 -1
  67. package/client/utils/meta-ui-util.js +107 -107
  68. package/client/utils/service-util.js +35 -35
  69. package/client/utils/terms-util.js +2 -2
  70. package/client/utils/ui-util.js +1 -1
  71. package/client/utils/value-util.js +1 -1
  72. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  73. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  74. package/client/viewparts/dynamic-menu-part.js +11 -11
  75. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  76. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  77. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  78. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- const a0_0x3dcf12=a0_0x42b7;(function(_0x3f5172,_0x3a8db0){const _0x552f49=a0_0x42b7,_0x43c072=_0x3f5172();while(!![]){try{const _0x144d65=parseInt(_0x552f49(0x12c))/0x1*(-parseInt(_0x552f49(0x140))/0x2)+parseInt(_0x552f49(0x132))/0x3*(parseInt(_0x552f49(0x122))/0x4)+-parseInt(_0x552f49(0x153))/0x5*(-parseInt(_0x552f49(0x13a))/0x6)+-parseInt(_0x552f49(0x14a))/0x7*(-parseInt(_0x552f49(0x12f))/0x8)+-parseInt(_0x552f49(0x137))/0x9*(parseInt(_0x552f49(0x14c))/0xa)+parseInt(_0x552f49(0x125))/0xb+-parseInt(_0x552f49(0x14d))/0xc;if(_0x144d65===_0x3a8db0)break;else _0x43c072['push'](_0x43c072['shift']());}catch(_0xc07d3a){_0x43c072['push'](_0x43c072['shift']());}}}(a0_0x394f,0x197a2));function a0_0x42b7(_0x1720a3,_0x39d49e){const _0x394f3c=a0_0x394f();return a0_0x42b7=function(_0x42b7ed,_0x51ce73){_0x42b7ed=_0x42b7ed-0x121;let _0x2efb35=_0x394f3c[_0x42b7ed];return _0x2efb35;},a0_0x42b7(_0x1720a3,_0x39d49e);}import{css,html,LitElement}from'lit-element';function a0_0x394f(){const _0x177034=['length','back','getGristCodeSelectorColumnConfig','parentId','menuType','items','getGristGuttersConfig','7dSJDKU','string','8320pejEeG','91248uMKTIX','title.info','create-menu','render','grist','is_null','89785REvHgb','getGristColumnConfig','selectCallback','define','tLabel','316aGlZGX','button.confirm','text.NOTHING_SELECTED','1410090hPuMqv','styles','properties','searchByPagination','tButton','info','showCustomAlert','49IzuowN','connectedCallback','gridConfig','112048IMWYFk','success','getGristSelectableConfig','7041MvSEwa','#ox-grist','rank','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20','fetchMainMenus','1359WjGuFe','GRID','title','24oyyjic','name','total','records','bind','#,###','6606Bddkmq','left','MENU_TYPE'];a0_0x394f=function(){return _0x177034;};return a0_0x394f();}import{i18next,localize}from'@things-factory/i18n-base';import{ScrollbarStyles,CommonGristStyles}from'@operato/styles';import{TermsUtil}from'./../../utils/terms-util';import{UiUtil}from'../../utils/ui-util';import{MetaApi}from'../../utils/meta-api';export class MainMenuSelector extends localize(i18next)(LitElement){static get[a0_0x3dcf12(0x126)](){return[ScrollbarStyles,CommonGristStyles,css`
1
+ function a0_0x1a91(_0x5dd401,_0x165cd6){const _0x25b297=a0_0x25b2();return a0_0x1a91=function(_0x1a9113,_0x11a5a2){_0x1a9113=_0x1a9113-0xbb;let _0x5568f6=_0x25b297[_0x1a9113];return _0x5568f6;},a0_0x1a91(_0x5dd401,_0x165cd6);}const a0_0x1c2411=a0_0x1a91;(function(_0x5b49fd,_0x1e57e0){const _0x3d14c7=a0_0x1a91,_0x6f82de=_0x5b49fd();while(!![]){try{const _0x4c4747=-parseInt(_0x3d14c7(0xd2))/0x1*(parseInt(_0x3d14c7(0xe1))/0x2)+parseInt(_0x3d14c7(0xf4))/0x3*(-parseInt(_0x3d14c7(0xf2))/0x4)+parseInt(_0x3d14c7(0xd1))/0x5*(-parseInt(_0x3d14c7(0xd6))/0x6)+parseInt(_0x3d14c7(0xc4))/0x7*(-parseInt(_0x3d14c7(0xf1))/0x8)+-parseInt(_0x3d14c7(0xd3))/0x9*(parseInt(_0x3d14c7(0xdb))/0xa)+-parseInt(_0x3d14c7(0xcc))/0xb+parseInt(_0x3d14c7(0xf6))/0xc;if(_0x4c4747===_0x1e57e0)break;else _0x6f82de['push'](_0x6f82de['shift']());}catch(_0x10fe46){_0x6f82de['push'](_0x6f82de['shift']());}}}(a0_0x25b2,0x3d875));import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{ScrollbarStyles,CommonGristStyles}from'@operato/styles';import{TermsUtil}from'./../../utils/terms-util';function a0_0x25b2(){const _0x577a28=['main-menu-selector','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20','define','#,###','parentId','tButton','name','button.confirm','success','7PVmbeX','bind','text.NOTHING_SELECTED','tLabel','records','getGristColumnConfig','is_null','left','1304864OqTfoi','string','properties','back','MENU_TYPE','5LyvYJw','50537vTmJqN','9LiZrBu','styles','create-menu','2138766WsEEkJ','searchByPagination','GRID','items','querySelector','4494520cfIVIi','tMenu','getGristCodeSelectorColumnConfig','menus','menu_type','shadowRoot','2UCwHbx','getGristGuttersConfig','title.info','title','total','selectMainMenu','showCustomAlert','selectCallback','getGristSelectableConfig','render','menuType','#ox-grist','length','rank','connectedCallback','fetchMainMenus','3402536OnenGI','4244IMdxEj','gridConfig','108GzhHZx','info','20287296oFGilK'];a0_0x25b2=function(){return _0x577a28;};return a0_0x25b2();}import{UiUtil}from'../../utils/ui-util';import{MetaApi}from'../../utils/meta-api';export class MainMenuSelector extends localize(i18next)(LitElement){static get[a0_0x1c2411(0xd4)](){return[ScrollbarStyles,CommonGristStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -57,19 +57,19 @@ const a0_0x3dcf12=a0_0x42b7;(function(_0x3f5172,_0x3a8db0){const _0x552f49=a0_0x
57
57
  height: var(--button-container-height);
58
58
  text-align: right;
59
59
  padding-right: 12px;
60
- }`];}static get[a0_0x3dcf12(0x127)](){return{'items':{'type':Array},'total':{'type':Number},'selectCallback':{'type':Function}};}async['connectedCallback'](){const _0x27896f=a0_0x3dcf12;this['gridConfig']={'rows':MetaApi[_0x27896f(0x131)](!0x1),'pagination':{'pages':[0x3e8]},'appendable':!0x0,'columns':[...MetaApi[_0x27896f(0x149)](!0x0,!0x1),{'name':_0x27896f(0x134),'header':TermsUtil[_0x27896f(0x121)]('rank'),'width':0x50,'record':{'editable':!0x1,'format':_0x27896f(0x13f),'align':_0x27896f(0x141)},'sortable':!0x0},MetaApi[_0x27896f(0x154)](_0x27896f(0x14b),_0x27896f(0x13b),'left',!0x0,!0x1,0x12c),{'type':_0x27896f(0x14b),'name':_0x27896f(0x139),'header':TermsUtil['tLabel'](_0x27896f(0x139)),'record':{'editable':!0x1,'align':_0x27896f(0x141),'renderer':(_0x437058,_0x37319c,_0x54a492,_0x52df6b,_0xaabaca)=>_0x54a492[_0x27896f(0x13b)]?TermsUtil['tMenu'](_0x54a492[_0x27896f(0x13b)]):''},'sortable':!0x1,'width':0x15e},await MetaApi[_0x27896f(0x145)](_0x27896f(0x147),'menu_type',_0x27896f(0x141),!0x1,0x64,!0x0,_0x27896f(0x142))]},super[_0x27896f(0x12d)]&&await super['connectedCallback']();}[a0_0x3dcf12(0x150)](){const _0x44a3ee=a0_0x3dcf12;return html`
60
+ }`];}static get[a0_0x1c2411(0xce)](){return{'items':{'type':Array},'total':{'type':Number},'selectCallback':{'type':Function}};}async[a0_0x1c2411(0xef)](){const _0x236737=a0_0x1c2411;this['gridConfig']={'rows':MetaApi[_0x236737(0xe9)](!0x1),'pagination':{'pages':[0x3e8]},'appendable':!0x0,'columns':[...MetaApi[_0x236737(0xe2)](!0x0,!0x1),{'name':_0x236737(0xee),'header':TermsUtil[_0x236737(0xc7)]('rank'),'width':0x50,'record':{'editable':!0x1,'format':_0x236737(0xbe),'align':_0x236737(0xcb)},'sortable':!0x0},MetaApi[_0x236737(0xc9)](_0x236737(0xcd),_0x236737(0xc1),'left',!0x0,!0x1,0x12c),{'type':_0x236737(0xcd),'name':_0x236737(0xe4),'header':TermsUtil[_0x236737(0xc7)](_0x236737(0xe4)),'record':{'editable':!0x1,'align':_0x236737(0xcb),'renderer':(_0x431d46,_0x3614fe,_0x4b8909,_0x45f09f,_0x4cf477)=>_0x4b8909[_0x236737(0xc1)]?TermsUtil[_0x236737(0xdc)](_0x4b8909['name']):''},'sortable':!0x1,'width':0x15e},await MetaApi[_0x236737(0xdd)](_0x236737(0xeb),_0x236737(0xdf),_0x236737(0xcb),!0x1,0x64,!0x0,_0x236737(0xd0))]},super[_0x236737(0xef)]&&await super[_0x236737(0xef)]();}[a0_0x1c2411(0xea)](){const _0x596a3c=a0_0x1c2411;return html`
61
61
  <div id="container" class="container">
62
62
  <div class="container_detail">
63
63
  <ox-grist
64
64
  id="ox-grist"
65
- .config=${this[_0x44a3ee(0x12e)]}
66
- .mode=${_0x44a3ee(0x138)} auto-fetch
67
- .fetchHandler=${this[_0x44a3ee(0x136)][_0x44a3ee(0x13e)](this)}>
65
+ .config=${this[_0x596a3c(0xf3)]}
66
+ .mode=${_0x596a3c(0xd8)} auto-fetch
67
+ .fetchHandler=${this[_0x596a3c(0xf0)][_0x596a3c(0xc5)](this)}>
68
68
  </ox-grist>
69
69
  <div id="button-container" class="button-container">
70
- <mwc-button raised hidden id="receive" label="${TermsUtil[_0x44a3ee(0x129)](_0x44a3ee(0x14f))}"
71
- style="margin-left:7px;margin-top:7px;" @click=${this['selectMainMenu']['bind'](this)}>
70
+ <mwc-button raised hidden id="receive" label="${TermsUtil[_0x596a3c(0xc0)](_0x596a3c(0xd5))}"
71
+ style="margin-left:7px;margin-top:7px;" @click=${this[_0x596a3c(0xe6)][_0x596a3c(0xc5)](this)}>
72
72
  </mwc-button>
73
73
  </div>
74
74
  </div>
75
- </div>`;}get[a0_0x3dcf12(0x151)](){const _0x5b5eea=a0_0x3dcf12;return this['shadowRoot']['querySelector'](_0x5b5eea(0x133));}async[a0_0x3dcf12(0x136)](){const _0x34b5ff=a0_0x3dcf12;let _0x12bed8=await MetaApi[_0x34b5ff(0x128)]('menus',[{'name':_0x34b5ff(0x146),'operator':_0x34b5ff(0x152),'value':''}],[{'name':'rank'}],0x0,0x0,_0x34b5ff(0x135));return this[_0x34b5ff(0x148)]=_0x12bed8[_0x34b5ff(0x13d)],this[_0x34b5ff(0x13c)]=_0x12bed8[_0x34b5ff(0x13c)],{'total':this['total'],'records':this[_0x34b5ff(0x148)]};}async['selectMainMenu'](_0x2cf559){const _0x407368=a0_0x3dcf12,_0x1e12cc=this[_0x407368(0x151)]['selected'];if(_0x1e12cc&&0x0!=_0x1e12cc[_0x407368(0x143)])this[_0x407368(0x155)]&&((await this['selectCallback'](_0x1e12cc[0x0]['id']))[_0x407368(0x130)]&&history[_0x407368(0x144)]());else UiUtil[_0x407368(0x12b)](_0x407368(0x14e),_0x407368(0x124),_0x407368(0x12a),_0x407368(0x123));}}customElements[a0_0x3dcf12(0x156)]('main-menu-selector',MainMenuSelector);
75
+ </div>`;}get['grist'](){const _0x3098c9=a0_0x1c2411;return this[_0x3098c9(0xe0)][_0x3098c9(0xda)](_0x3098c9(0xec));}async[a0_0x1c2411(0xf0)](){const _0x3851a4=a0_0x1c2411;let _0x2616fb=await MetaApi[_0x3851a4(0xd7)](_0x3851a4(0xde),[{'name':_0x3851a4(0xbf),'operator':_0x3851a4(0xca),'value':''}],[{'name':_0x3851a4(0xee)}],0x0,0x0,_0x3851a4(0xbc));return this[_0x3851a4(0xd9)]=_0x2616fb[_0x3851a4(0xc8)],this[_0x3851a4(0xe5)]=_0x2616fb[_0x3851a4(0xe5)],{'total':this['total'],'records':this[_0x3851a4(0xd9)]};}async[a0_0x1c2411(0xe6)](_0x373e35){const _0x45187e=a0_0x1c2411,_0x385c2f=this['grist']['selected'];if(_0x385c2f&&0x0!=_0x385c2f[_0x45187e(0xed)])this[_0x45187e(0xe8)]&&((await this[_0x45187e(0xe8)](_0x385c2f[0x0]['id']))[_0x45187e(0xc3)]&&history[_0x45187e(0xcf)]());else UiUtil[_0x45187e(0xe7)](_0x45187e(0xe3),_0x45187e(0xc6),_0x45187e(0xf5),_0x45187e(0xc2));}}customElements[a0_0x1c2411(0xbd)](a0_0x1c2411(0xbb),MainMenuSelector);
@@ -1,4 +1,4 @@
1
- function a0_0x2482(_0x3a177e,_0x4d0c82){const _0x1b1d40=a0_0x1b1d();return a0_0x2482=function(_0x24825b,_0x454a80){_0x24825b=_0x24825b-0x18f;let _0x1efd32=_0x1b1d40[_0x24825b];return _0x1efd32;},a0_0x2482(_0x3a177e,_0x4d0c82);}const a0_0x2072e3=a0_0x2482;(function(_0x377cef,_0x2beef0){const _0x3f81cb=a0_0x2482,_0x2072e8=_0x377cef();while(!![]){try{const _0x5d1e29=-parseInt(_0x3f81cb(0x1b8))/0x1*(parseInt(_0x3f81cb(0x192))/0x2)+-parseInt(_0x3f81cb(0x195))/0x3*(parseInt(_0x3f81cb(0x197))/0x4)+parseInt(_0x3f81cb(0x1a3))/0x5+parseInt(_0x3f81cb(0x1a7))/0x6*(parseInt(_0x3f81cb(0x1a9))/0x7)+parseInt(_0x3f81cb(0x1b7))/0x8+-parseInt(_0x3f81cb(0x196))/0x9+parseInt(_0x3f81cb(0x1ab))/0xa*(parseInt(_0x3f81cb(0x1b3))/0xb);if(_0x5d1e29===_0x2beef0)break;else _0x2072e8['push'](_0x2072e8['shift']());}catch(_0xdb74c5){_0x2072e8['push'](_0x2072e8['shift']());}}}(a0_0x1b1d,0x7f476));import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{ScrollbarStyles,CommonGristStyles}from'@operato/styles';import{TermsUtil}from'./../../utils/terms-util';import{UiUtil}from'../../utils/ui-util';function a0_0x1b1d(){const _0xec9e04=['getGristColumnConfig2','gridConfig','11HUlqeN','shadowRoot','type','columns','3562456llhLaQ','246168xgYgKs','history-copy-list-popup','gqlFunc','querySelector','connectedCallback','filter','dataRevisionNo','record','2nDOabe','unusable','searchByPagination','42EZQWwv','2735001UBTcrF','232132HhrGvn','bind','forEach','define','gristConfig','list','grist','parent_id','open_param','render','fetchHandler','Histories','3749330FOmRQA','dirty','integer','gutter','2550882FeNAIy','sortable','7LcGnPK','center','2635330pfGExN','editable','styles','data_revision_action','rows','string'];a0_0x1b1d=function(){return _0xec9e04;};return a0_0x1b1d();}import{MetaApi}from'../../utils/meta-api';export class HistoryCopyListPopup extends localize(i18next)(LitElement){static get[a0_0x2072e3(0x1ad)](){return[ScrollbarStyles,CommonGristStyles,css`
1
+ const a0_0x58394c=a0_0x4fd1;(function(_0x3e1b64,_0x7b1835){const _0x306ab3=a0_0x4fd1,_0x8d0524=_0x3e1b64();while(!![]){try{const _0x5eab8f=-parseInt(_0x306ab3(0x1a1))/0x1*(parseInt(_0x306ab3(0x183))/0x2)+-parseInt(_0x306ab3(0x186))/0x3+-parseInt(_0x306ab3(0x18d))/0x4+parseInt(_0x306ab3(0x196))/0x5+parseInt(_0x306ab3(0x19b))/0x6+parseInt(_0x306ab3(0x195))/0x7*(-parseInt(_0x306ab3(0x181))/0x8)+parseInt(_0x306ab3(0x192))/0x9;if(_0x5eab8f===_0x7b1835)break;else _0x8d0524['push'](_0x8d0524['shift']());}catch(_0x63e5e4){_0x8d0524['push'](_0x8d0524['shift']());}}}(a0_0x5e6a,0x8bbc3));function a0_0x5e6a(){const _0x569e39=['sortable','567060OTYvAx','properties','integer','dirty','render','15713667KWWuoF','querySelector','Histories','5133737OBcEkA','1564940HiWFdS','gridConfig','string','grist','bind','3495498wgBRvQ','parent_id','unusable','editable','dataRevisionNo','searchByPagination','161693ptsJat','getGristColumnConfig2','shadowRoot','list','center','#ox-grist','filter','record','open_param','getSelectColumns','8fOqFgv','dataRevisionAction','14XXHlBW','gristConfig','type','186516qhhJuf','fetchHandler','sorters','connectedCallback','gqlFunc','columns'];a0_0x5e6a=function(){return _0x569e39;};return a0_0x5e6a();}import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';function a0_0x4fd1(_0xb3b870,_0x41067f){const _0x5e6aaf=a0_0x5e6a();return a0_0x4fd1=function(_0x4fd14d,_0x12c5c6){_0x4fd14d=_0x4fd14d-0x17f;let _0x1490fd=_0x5e6aaf[_0x4fd14d];return _0x1490fd;},a0_0x4fd1(_0xb3b870,_0x41067f);}import{ScrollbarStyles,CommonGristStyles}from'@operato/styles';import{TermsUtil}from'./../../utils/terms-util';import{UiUtil}from'../../utils/ui-util';import{MetaApi}from'../../utils/meta-api';export class HistoryCopyListPopup extends localize(i18next)(LitElement){static get['styles'](){return[ScrollbarStyles,CommonGristStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -8,11 +8,11 @@ function a0_0x2482(_0x3a177e,_0x4d0c82){const _0x1b1d40=a0_0x1b1d();return a0_0x
8
8
  overflow-y: auto;
9
9
  flex: 1;
10
10
  }
11
- `];}static get['properties'](){return{'parent_id':String};}async['connectedCallback'](){const _0x355261=a0_0x2072e3;let _0x11c01e=this[_0x355261(0x19f)][_0x355261(0x19b)];this[_0x355261(0x1ba)]=this[_0x355261(0x19f)][_0x355261(0x1ba)],delete _0x11c01e[_0x355261(0x19c)],delete _0x11c01e['rows'],_0x11c01e[_0x355261(0x1af)]={'appendable':!0x1,'selectable':!0x1},_0x11c01e['sorters']=[{'name':_0x355261(0x190),'desc':!0x0}];let _0x3c61cb=_0x11c01e[_0x355261(0x1b6)]['filter'](_0x8d971c=>'gutter'!=_0x8d971c[_0x355261(0x1b5)]&&!0x0!==_0x8d971c[_0x355261(0x193)]);_0x3c61cb[_0x355261(0x199)](_0x3a45e9=>{const _0x4d6992=_0x355261;_0x3a45e9['filter']&&delete _0x3a45e9[_0x4d6992(0x18f)],_0x3a45e9[_0x4d6992(0x191)]||(_0x3a45e9[_0x4d6992(0x191)]={}),_0x3a45e9[_0x4d6992(0x1a8)]=!0x1,_0x3a45e9['record'][_0x4d6992(0x1ac)]=!0x1;}),_0x11c01e[_0x355261(0x1b6)]=[{'type':_0x355261(0x1a6),'gutterName':_0x355261(0x1a4)},MetaApi['getGristColumnConfig2'](_0x355261(0x1a5),_0x355261(0x190),'data_revision_no',_0x355261(0x1aa),!0x1,!0x0,0x5a),MetaApi[_0x355261(0x1b1)](_0x355261(0x1b0),'dataRevisionAction',_0x355261(0x1ae),_0x355261(0x1aa),!0x1,!0x1,0x5a),..._0x3c61cb],this[_0x355261(0x1b2)]=_0x11c01e,super[_0x355261(0x1bc)]&&await super[_0x355261(0x1bc)]();}[a0_0x2072e3(0x1a0)](){const _0x199f8b=a0_0x2072e3;return html`
11
+ `];}static get[a0_0x58394c(0x18e)](){return{'parent_id':String};}async[a0_0x58394c(0x189)](){const _0x2aee41=a0_0x58394c;let _0x1059ab=this[_0x2aee41(0x17f)][_0x2aee41(0x184)];this['gqlFunc']=this[_0x2aee41(0x17f)][_0x2aee41(0x18a)],delete _0x1059ab[_0x2aee41(0x1a4)],delete _0x1059ab['rows'],_0x1059ab['rows']={'appendable':!0x1,'selectable':!0x1},_0x1059ab[_0x2aee41(0x188)]=[{'name':'dataRevisionNo','desc':!0x0}];let _0x53920a=_0x1059ab[_0x2aee41(0x18b)][_0x2aee41(0x1a7)](_0x4122b5=>'gutter'!=_0x4122b5[_0x2aee41(0x185)]&&!0x0!==_0x4122b5[_0x2aee41(0x19d)]);_0x53920a['forEach'](_0x9ead5e=>{const _0xebe3e4=_0x2aee41;_0x9ead5e[_0xebe3e4(0x1a7)]&&delete _0x9ead5e[_0xebe3e4(0x1a7)],_0x9ead5e[_0xebe3e4(0x1a8)]||(_0x9ead5e[_0xebe3e4(0x1a8)]={}),_0x9ead5e[_0xebe3e4(0x18c)]=!0x1,_0x9ead5e[_0xebe3e4(0x1a8)][_0xebe3e4(0x19e)]=!0x1;}),_0x1059ab['columns']=[{'type':'gutter','gutterName':_0x2aee41(0x190)},MetaApi[_0x2aee41(0x1a2)](_0x2aee41(0x18f),_0x2aee41(0x19f),'data_revision_no',_0x2aee41(0x1a5),!0x1,!0x0,0x5a),MetaApi[_0x2aee41(0x1a2)](_0x2aee41(0x198),_0x2aee41(0x182),'data_revision_action',_0x2aee41(0x1a5),!0x1,!0x1,0x5a),..._0x53920a],this['gridConfig']=_0x1059ab,super[_0x2aee41(0x189)]&&await super[_0x2aee41(0x189)]();}[a0_0x58394c(0x191)](){const _0x4ce982=a0_0x58394c;return html`
12
12
  <ox-grist
13
13
  id="ox-grist"
14
- .config=${this['gridConfig']}
14
+ .config=${this[_0x4ce982(0x197)]}
15
15
  .mode=${'GRID'} auto-fetch
16
- .fetchHandler=${this[_0x199f8b(0x1a1)][_0x199f8b(0x198)](this)}>
16
+ .fetchHandler=${this['fetchHandler'][_0x4ce982(0x19a)](this)}>
17
17
  </ox-grist>
18
- `;}get[a0_0x2072e3(0x19d)](){const _0x4cb882=a0_0x2072e3;return this[_0x4cb882(0x1b4)][_0x4cb882(0x1bb)]('#ox-grist');}async[a0_0x2072e3(0x1a1)]({page:_0x3ecedb=0x0,limit:_0x57a657=0x0,sortings:_0x1f7d88=[],filters:_0x288782=[]}){const _0x3c683e=a0_0x2072e3;let _0x9aad23=[{'name':'originalId','operator':'eq','value':this[_0x3c683e(0x19e)]},..._0x288782],_0x6a14f3=MetaApi['getSelectColumns'](this[_0x3c683e(0x1b2)][_0x3c683e(0x1b6)]);return await MetaApi[_0x3c683e(0x194)](this['gqlFunc']+_0x3c683e(0x1a2),_0x9aad23,_0x1f7d88,_0x3ecedb,_0x57a657,_0x6a14f3);}}customElements[a0_0x2072e3(0x19a)](a0_0x2072e3(0x1b9),HistoryCopyListPopup);
18
+ `;}get[a0_0x58394c(0x199)](){const _0x30d649=a0_0x58394c;return this[_0x30d649(0x1a3)][_0x30d649(0x193)](_0x30d649(0x1a6));}async[a0_0x58394c(0x187)]({page:_0x396891=0x0,limit:_0x5623cf=0x0,sortings:_0x3cae7c=[],filters:_0x549a28=[]}){const _0x30eec7=a0_0x58394c;let _0x54c192=[{'name':'originalId','operator':'eq','value':this[_0x30eec7(0x19c)]},..._0x549a28],_0x27a76e=MetaApi[_0x30eec7(0x180)](this[_0x30eec7(0x197)][_0x30eec7(0x18b)]);return await MetaApi[_0x30eec7(0x1a0)](this[_0x30eec7(0x18a)]+_0x30eec7(0x194),_0x54c192,_0x3cae7c,_0x396891,_0x5623cf,_0x27a76e);}}customElements['define']('history-copy-list-popup',HistoryCopyListPopup);
@@ -1,4 +1,4 @@
1
- const a0_0x18d591=a0_0x3154;function a0_0x3154(_0x22fba8,_0x5db416){const _0x1372d4=a0_0x1372();return a0_0x3154=function(_0x315452,_0x14c9f1){_0x315452=_0x315452-0x1d0;let _0x37a82b=_0x1372d4[_0x315452];return _0x37a82b;},a0_0x3154(_0x22fba8,_0x5db416);}(function(_0x51b4b5,_0x22be5f){const _0x37b12f=a0_0x3154,_0x411d9f=_0x51b4b5();while(!![]){try{const _0x3563d3=-parseInt(_0x37b12f(0x1d7))/0x1*(parseInt(_0x37b12f(0x1f6))/0x2)+-parseInt(_0x37b12f(0x1d8))/0x3*(-parseInt(_0x37b12f(0x1ea))/0x4)+-parseInt(_0x37b12f(0x1f3))/0x5+parseInt(_0x37b12f(0x1f2))/0x6+parseInt(_0x37b12f(0x1eb))/0x7*(parseInt(_0x37b12f(0x1e4))/0x8)+-parseInt(_0x37b12f(0x1e3))/0x9*(parseInt(_0x37b12f(0x1e1))/0xa)+parseInt(_0x37b12f(0x1e5))/0xb;if(_0x3563d3===_0x22be5f)break;else _0x411d9f['push'](_0x411d9f['shift']());}catch(_0x362128){_0x411d9f['push'](_0x411d9f['shift']());}}}(a0_0x1372,0xa00ee));import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{ScrollbarStyles,CommonGristStyles}from'@operato/styles';import{TermsUtil}from'./../../utils/terms-util';import{UiUtil}from'../../utils/ui-util';function a0_0x1372(){const _0x4149ac=['filter','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20originalId\x0a\x20\x20\x20\x20\x20\x20dataRevisionNo\x0a\x20\x20\x20\x20\x20\x20dataRevisionAction\x0a\x20\x20\x20\x20\x20\x20historyJson\x0a\x20\x20\x20\x20','fetchHandler','10qBnJTw','shadowRoot','5631669MveJWQ','344OmCxNg','9268655yPRlBp','searchByPagination','integer','bind','rows','1888ABqhhM','20846sZRavy','sorters','connectedCallback','dirty','dataRevisionNo','getGristColumnConfig2','grist','1068858bDgOWx','3056705QnddPy','unusable','properties','4rJyeyj','gutter','list','parse','records','Histories','render','center','parent_id','data_revision_action','gristConfig','open_param','215465KMDNXb','7467nEQqYg','record','dataRevisionAction','columns','forEach','originalId'];a0_0x1372=function(){return _0x4149ac;};return a0_0x1372();}import{MetaApi}from'../../utils/meta-api';export class HistoryJsonListPopup extends localize(i18next)(LitElement){static get['styles'](){return[ScrollbarStyles,CommonGristStyles,css`
1
+ function a0_0x2830(_0x22e87f,_0x5ef905){const _0x2449aa=a0_0x2449();return a0_0x2830=function(_0x283015,_0x1a2416){_0x283015=_0x283015-0x12c;let _0x45a786=_0x2449aa[_0x283015];return _0x45a786;},a0_0x2830(_0x22e87f,_0x5ef905);}const a0_0x2a598e=a0_0x2830;function a0_0x2449(){const _0x1414e6=['center','dataRevisionAction','11PVZWpw','type','searchByPagination','15BYBUBR','415UZjhyK','979959eZtUFJ','63UnmdUq','styles','fetchHandler','columns','dirty','gristConfig','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20originalId\x0a\x20\x20\x20\x20\x20\x20dataRevisionNo\x0a\x20\x20\x20\x20\x20\x20dataRevisionAction\x0a\x20\x20\x20\x20\x20\x20historyJson\x0a\x20\x20\x20\x20','define','data_revision_action','data_revision_no','originalId','history-json-list-popup','11138UivmSS','integer','#ox-grist','gqlFunc','rows','55696AkodEq','open_param','historyJson','dataRevisionNo','record','sorters','string','editable','16UTZfav','shadowRoot','gridConfig','402997NWQVej','gutter','properties','Histories','bind','filter','render','1079350MiWjzU','getGristColumnConfig2','GRID','connectedCallback','parent_id','querySelector','sortable','2100564tPPGbS','610080qbAVWZ'];a0_0x2449=function(){return _0x1414e6;};return a0_0x2449();}(function(_0xe5cb37,_0x4a3236){const _0x13c061=a0_0x2830,_0x3e8f0c=_0xe5cb37();while(!![]){try{const _0x2aa96f=-parseInt(_0x13c061(0x149))/0x1+parseInt(_0x13c061(0x156))/0x2*(-parseInt(_0x13c061(0x147))/0x3)+-parseInt(_0x13c061(0x15b))/0x4*(-parseInt(_0x13c061(0x148))/0x5)+-parseInt(_0x13c061(0x140))/0x6+-parseInt(_0x13c061(0x132))/0x7*(-parseInt(_0x13c061(0x12f))/0x8)+-parseInt(_0x13c061(0x14a))/0x9*(-parseInt(_0x13c061(0x139))/0xa)+-parseInt(_0x13c061(0x144))/0xb*(-parseInt(_0x13c061(0x141))/0xc);if(_0x2aa96f===_0x4a3236)break;else _0x3e8f0c['push'](_0x3e8f0c['shift']());}catch(_0x289d16){_0x3e8f0c['push'](_0x3e8f0c['shift']());}}}(a0_0x2449,0xaf9d9));import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{ScrollbarStyles,CommonGristStyles}from'@operato/styles';import{TermsUtil}from'./../../utils/terms-util';import{UiUtil}from'../../utils/ui-util';import{MetaApi}from'../../utils/meta-api';export class HistoryJsonListPopup extends localize(i18next)(LitElement){static get[a0_0x2a598e(0x14b)](){return[ScrollbarStyles,CommonGristStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -8,11 +8,11 @@ const a0_0x18d591=a0_0x3154;function a0_0x3154(_0x22fba8,_0x5db416){const _0x137
8
8
  overflow-y: auto;
9
9
  flex: 1;
10
10
  }
11
- `];}static get[a0_0x18d591(0x1f5)](){return{'parent_id':String};}async[a0_0x18d591(0x1ed)](){const _0x3b2ad4=a0_0x18d591;let _0x2c241c=this[_0x3b2ad4(0x1d6)][_0x3b2ad4(0x1d5)];this['gqlFunc']=this[_0x3b2ad4(0x1d6)]['gqlFunc'],delete _0x2c241c[_0x3b2ad4(0x1f8)],delete _0x2c241c[_0x3b2ad4(0x1e9)],_0x2c241c['rows']={'appendable':!0x1,'selectable':!0x1},_0x2c241c[_0x3b2ad4(0x1ec)]=[{'name':_0x3b2ad4(0x1ef),'desc':!0x0}];let _0x457682=_0x2c241c[_0x3b2ad4(0x1db)][_0x3b2ad4(0x1de)](_0xf35cd7=>'gutter'!=_0xf35cd7['type']&&!0x0!==_0xf35cd7[_0x3b2ad4(0x1f4)]);_0x457682[_0x3b2ad4(0x1dc)](_0x5852ca=>{const _0x367c60=_0x3b2ad4;_0x5852ca[_0x367c60(0x1de)]&&delete _0x5852ca[_0x367c60(0x1de)],_0x5852ca[_0x367c60(0x1d9)]||(_0x5852ca[_0x367c60(0x1d9)]={}),_0x5852ca['sortable']=!0x1,_0x5852ca['record']['editable']=!0x1;}),_0x2c241c[_0x3b2ad4(0x1db)]=[{'type':_0x3b2ad4(0x1f7),'gutterName':_0x3b2ad4(0x1ee)},MetaApi['getGristColumnConfig2'](_0x3b2ad4(0x1e7),_0x3b2ad4(0x1ef),'data_revision_no',_0x3b2ad4(0x1d2),!0x1,!0x0,0x5a),MetaApi[_0x3b2ad4(0x1f0)]('string',_0x3b2ad4(0x1da),_0x3b2ad4(0x1d4),_0x3b2ad4(0x1d2),!0x1,!0x1,0x5a),..._0x457682],this['gridConfig']=_0x2c241c,super[_0x3b2ad4(0x1ed)]&&await super[_0x3b2ad4(0x1ed)]();}[a0_0x18d591(0x1d1)](){const _0xffd5bd=a0_0x18d591;return html`
11
+ `];}static get[a0_0x2a598e(0x134)](){return{'parent_id':String};}async[a0_0x2a598e(0x13c)](){const _0x5e9457=a0_0x2a598e;let _0x480d64=this[_0x5e9457(0x15c)][_0x5e9457(0x14f)];this[_0x5e9457(0x159)]=this[_0x5e9457(0x15c)][_0x5e9457(0x159)],delete _0x480d64['list'],delete _0x480d64[_0x5e9457(0x15a)],_0x480d64['rows']={'appendable':!0x1,'selectable':!0x1},_0x480d64[_0x5e9457(0x12c)]=[{'name':'dataRevisionNo','desc':!0x0}];let _0x515960=_0x480d64[_0x5e9457(0x14d)][_0x5e9457(0x137)](_0x2e55d6=>_0x5e9457(0x133)!=_0x2e55d6[_0x5e9457(0x145)]&&!0x0!==_0x2e55d6['unusable']);_0x515960['forEach'](_0xc6f8e7=>{const _0x29386f=_0x5e9457;_0xc6f8e7['filter']&&delete _0xc6f8e7[_0x29386f(0x137)],_0xc6f8e7[_0x29386f(0x15f)]||(_0xc6f8e7['record']={}),_0xc6f8e7[_0x29386f(0x13f)]=!0x1,_0xc6f8e7[_0x29386f(0x15f)][_0x29386f(0x12e)]=!0x1;}),_0x480d64[_0x5e9457(0x14d)]=[{'type':_0x5e9457(0x133),'gutterName':_0x5e9457(0x14e)},MetaApi[_0x5e9457(0x13a)](_0x5e9457(0x157),_0x5e9457(0x15e),_0x5e9457(0x153),_0x5e9457(0x142),!0x1,!0x0,0x5a),MetaApi[_0x5e9457(0x13a)](_0x5e9457(0x12d),_0x5e9457(0x143),_0x5e9457(0x152),_0x5e9457(0x142),!0x1,!0x1,0x5a),..._0x515960],this[_0x5e9457(0x131)]=_0x480d64,super[_0x5e9457(0x13c)]&&await super[_0x5e9457(0x13c)]();}[a0_0x2a598e(0x138)](){const _0x51abaf=a0_0x2a598e;return html`
12
12
  <ox-grist
13
13
  id="ox-grist"
14
- .config=${this['gridConfig']}
15
- .mode=${'GRID'} auto-fetch
16
- .fetchHandler=${this[_0xffd5bd(0x1e0)][_0xffd5bd(0x1e8)](this)}>
14
+ .config=${this[_0x51abaf(0x131)]}
15
+ .mode=${_0x51abaf(0x13b)} auto-fetch
16
+ .fetchHandler=${this['fetchHandler'][_0x51abaf(0x136)](this)}>
17
17
  </ox-grist>
18
- `;}get[a0_0x18d591(0x1f1)](){const _0x5c34b5=a0_0x18d591;return this[_0x5c34b5(0x1e2)]['querySelector']('#ox-grist');}async[a0_0x18d591(0x1e0)]({page:_0x109b17=0x0,limit:_0xda87b0=0x0,sortings:_0x5460e3=[],filters:_0x2401f3=[]}){const _0x48a2e7=a0_0x18d591;let _0x2a12b9=[{'name':_0x48a2e7(0x1dd),'operator':'eq','value':this[_0x48a2e7(0x1d3)]},..._0x2401f3],_0x591143=await MetaApi[_0x48a2e7(0x1e6)](this['gqlFunc']+_0x48a2e7(0x1d0),_0x2a12b9,_0x5460e3,_0x109b17,_0xda87b0,_0x48a2e7(0x1df));return _0x591143[_0x48a2e7(0x1fa)]=_0x591143[_0x48a2e7(0x1fa)]['map'](_0x3ad4f1=>({...JSON[_0x48a2e7(0x1f9)](_0x3ad4f1['historyJson']),..._0x3ad4f1})),_0x591143;}}customElements['define']('history-json-list-popup',HistoryJsonListPopup);
18
+ `;}get['grist'](){const _0x45e025=a0_0x2a598e;return this[_0x45e025(0x130)][_0x45e025(0x13e)](_0x45e025(0x158));}async[a0_0x2a598e(0x14c)]({page:_0x39a471=0x0,limit:_0x40c00c=0x0,sortings:_0x2390a4=[],filters:_0x405aa2=[]}){const _0x2d8363=a0_0x2a598e;let _0x325e72=[{'name':_0x2d8363(0x154),'operator':'eq','value':this[_0x2d8363(0x13d)]},..._0x405aa2],_0x571b67=await MetaApi[_0x2d8363(0x146)](this[_0x2d8363(0x159)]+_0x2d8363(0x135),_0x325e72,_0x2390a4,_0x39a471,_0x40c00c,_0x2d8363(0x150));return _0x571b67['records']=_0x571b67['records']['map'](_0x389c64=>({...JSON['parse'](_0x389c64[_0x2d8363(0x15d)]),..._0x389c64})),_0x571b67;}}customElements[a0_0x2a598e(0x151)](a0_0x2a598e(0x155),HistoryJsonListPopup);
@@ -1,4 +1,4 @@
1
- function a0_0x1916(_0x40d46f,_0xe2b5ee){var _0xa78e31=a0_0xa78e();return a0_0x1916=function(_0x191666,_0x46299a){_0x191666=_0x191666-0x175;var _0x75a31b=_0xa78e31[_0x191666];return _0x75a31b;},a0_0x1916(_0x40d46f,_0xe2b5ee);}function a0_0xa78e(){var _0x3296a8=['define','styles','305547zYRRLe','3588hfvjiI','1540968RwOZci','render','2213638ubPMFb','tText','935ywGKmv','34yLIUyN','79713iQjhtw','16029xGeOyE','424FPjTRR','customElements','2290pcfzuZ','11770ZJetIs','loading-page'];a0_0xa78e=function(){return _0x3296a8;};return a0_0xa78e();}var a0_0x1adc0b=a0_0x1916;(function(_0x5851aa,_0x3c9d9a){var _0x43261e=a0_0x1916,_0x5600c1=_0x5851aa();while(!![]){try{var _0x357422=parseInt(_0x43261e(0x185))/0x1+parseInt(_0x43261e(0x17b))/0x2*(-parseInt(_0x43261e(0x17d))/0x3)+parseInt(_0x43261e(0x175))/0x4*(-parseInt(_0x43261e(0x17a))/0x5)+-parseInt(_0x43261e(0x176))/0x6+parseInt(_0x43261e(0x178))/0x7+-parseInt(_0x43261e(0x17e))/0x8*(-parseInt(_0x43261e(0x17c))/0x9)+parseInt(_0x43261e(0x180))/0xa*(-parseInt(_0x43261e(0x181))/0xb);if(_0x357422===_0x3c9d9a)break;else _0x5600c1['push'](_0x5600c1['shift']());}catch(_0x16a80b){_0x5600c1['push'](_0x5600c1['shift']());}}}(a0_0xa78e,0x50c16));import{css,html}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{TermsUtil}from'../utils/terms-util';class LoadingPage extends localize(i18next)(PageView){static get[a0_0x1adc0b(0x184)](){return[css`
1
+ var a0_0x52535d=a0_0xef15;(function(_0x387074,_0xc7b4d8){var _0x27bb65=a0_0xef15,_0x53a0d9=_0x387074();while(!![]){try{var _0x208986=parseInt(_0x27bb65(0x1ef))/0x1*(parseInt(_0x27bb65(0x1f3))/0x2)+-parseInt(_0x27bb65(0x1fe))/0x3*(parseInt(_0x27bb65(0x1fc))/0x4)+-parseInt(_0x27bb65(0x1f8))/0x5+parseInt(_0x27bb65(0x1ed))/0x6+parseInt(_0x27bb65(0x1f0))/0x7*(-parseInt(_0x27bb65(0x1f9))/0x8)+parseInt(_0x27bb65(0x1fd))/0x9+parseInt(_0x27bb65(0x1f5))/0xa*(parseInt(_0x27bb65(0x1f7))/0xb);if(_0x208986===_0xc7b4d8)break;else _0x53a0d9['push'](_0x53a0d9['shift']());}catch(_0x5cf559){_0x53a0d9['push'](_0x53a0d9['shift']());}}}(a0_0x4cbb,0xe7a10));function a0_0xef15(_0x598199,_0x1df4d3){var _0x4cbbbc=a0_0x4cbb();return a0_0xef15=function(_0xef151c,_0x1841c4){_0xef151c=_0xef151c-0x1ed;var _0x2e0854=_0x4cbbbc[_0xef151c];return _0x2e0854;},a0_0xef15(_0x598199,_0x1df4d3);}function a0_0x4cbb(){var _0x9ebfa=['loading\x20page','please\x20wait','2866220BzbIHU','6171633iHKgFs','6EgVkCH','2208882DrXNhA','loading-page','581478FwlOvZ','84MJltpq','tText','define','2RJOTmZ','context','390470LTKShH','styles','693Odnarb','6898825FuByHV','222464DrwYZZ'];a0_0x4cbb=function(){return _0x9ebfa;};return a0_0x4cbb();}import{css,html}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{TermsUtil}from'../utils/terms-util';class LoadingPage extends localize(i18next)(PageView){static get[a0_0x52535d(0x1f6)](){return[css`
2
2
  :host {
3
3
  display: block;
4
4
  background-color: var(--main-section-background-color);
@@ -41,11 +41,11 @@ function a0_0x1916(_0x40d46f,_0xe2b5ee){var _0xa78e31=a0_0xa78e();return a0_0x19
41
41
  display: none;
42
42
  }
43
43
  }
44
- `];}get['context'](){return{'title':'Loading\x20...','actions':[]};}[a0_0x1adc0b(0x177)](){var _0x347bc1=a0_0x1adc0b;return html`
45
- <h2>${TermsUtil[_0x347bc1(0x179)]('loading\x20page')}</h2>
44
+ `];}get[a0_0x52535d(0x1f4)](){return{'title':'Loading\x20...','actions':[]};}['render'](){var _0x508e83=a0_0x52535d;return html`
45
+ <h2>${TermsUtil[_0x508e83(0x1f1)](_0x508e83(0x1fa))}</h2>
46
46
  <p page-description>
47
- ${TermsUtil[_0x347bc1(0x179)]('please\x20wait')}
47
+ ${TermsUtil[_0x508e83(0x1f1)](_0x508e83(0x1fb))}
48
48
  </p>
49
49
 
50
50
  <img src="/assets/images/loading-page.png" />
51
- `;}}window[a0_0x1adc0b(0x17f)][a0_0x1adc0b(0x183)](a0_0x1adc0b(0x182),LoadingPage);
51
+ `;}}window['customElements'][a0_0x52535d(0x1f2)](a0_0x52535d(0x1ee),LoadingPage);
@@ -1,10 +1,10 @@
1
- const a0_0x57f12a=a0_0x4af9;(function(_0x494ecd,_0x222e9b){const _0x4c0189=a0_0x4af9,_0xd81a9=_0x494ecd();while(!![]){try{const _0x42d4cf=-parseInt(_0x4c0189(0xdb))/0x1+-parseInt(_0x4c0189(0xd3))/0x2+parseInt(_0x4c0189(0xca))/0x3+-parseInt(_0x4c0189(0xcd))/0x4*(-parseInt(_0x4c0189(0xdc))/0x5)+-parseInt(_0x4c0189(0xd0))/0x6+-parseInt(_0x4c0189(0xd9))/0x7+-parseInt(_0x4c0189(0xd4))/0x8*(-parseInt(_0x4c0189(0xd1))/0x9);if(_0x42d4cf===_0x222e9b)break;else _0xd81a9['push'](_0xd81a9['shift']());}catch(_0x402ec5){_0xd81a9['push'](_0xd81a9['shift']());}}}(a0_0x224c,0x36112));import'@material/mwc-formfield';import'@material/mwc-checkbox';function a0_0x224c(){const _0x12f140=['get','value','firstUpdated','hovering','2903005BBRiOn','dynamic-menu','313092moGDbk','100rxFIZq','onchange','361527HOReaF','styles','define','10516OxdzxQ','properties','put','2501772YWnPJt','125487omhvRN','error','569640GhNhCF','848BNuoKf'];a0_0x224c=function(){return _0x12f140;};return a0_0x224c();}import'@operato/i18n/ox-i18n.js';import{css,html,LitElement}from'lit';import{i18next,localize}from'@things-factory/i18n-base';function a0_0x4af9(_0x37113c,_0x31316a){const _0x224caf=a0_0x224c();return a0_0x4af9=function(_0x4af933,_0x3f01cb){_0x4af933=_0x4af933-0xc9;let _0x3b5125=_0x224caf[_0x4af933];return _0x3b5125;},a0_0x4af9(_0x37113c,_0x31316a);}import{clientSettingStore}from'@things-factory/shell';import{setupMenuPart}from'@things-factory/meta-ui';export class DynamicMenuSettingLet extends localize(i18next)(LitElement){static get[a0_0x57f12a(0xcb)](){return[css`
1
+ const a0_0x4c68ce=a0_0x202b;(function(_0x4851d1,_0x21e2b3){const _0x58a64b=a0_0x202b,_0x3480c5=_0x4851d1();while(!![]){try{const _0x5f44ce=-parseInt(_0x58a64b(0x13d))/0x1+-parseInt(_0x58a64b(0x13a))/0x2*(-parseInt(_0x58a64b(0x142))/0x3)+-parseInt(_0x58a64b(0x14c))/0x4*(-parseInt(_0x58a64b(0x146))/0x5)+-parseInt(_0x58a64b(0x144))/0x6+parseInt(_0x58a64b(0x14b))/0x7+parseInt(_0x58a64b(0x148))/0x8+-parseInt(_0x58a64b(0x13f))/0x9;if(_0x5f44ce===_0x21e2b3)break;else _0x3480c5['push'](_0x3480c5['shift']());}catch(_0x30f846){_0x3480c5['push'](_0x3480c5['shift']());}}}(a0_0x12b1,0x987a1));import'@material/mwc-formfield';function a0_0x202b(_0xffebc9,_0x2cd479){const _0x12b104=a0_0x12b1();return a0_0x202b=function(_0x202b12,_0x1e35e3){_0x202b12=_0x202b12-0x139;let _0x4a1e9d=_0x12b104[_0x202b12];return _0x4a1e9d;},a0_0x202b(_0xffebc9,_0x2cd479);}import'@material/mwc-checkbox';import'@operato/i18n/ox-i18n.js';import{css,html,LitElement}from'lit';import{i18next,localize}from'@things-factory/i18n-base';import{clientSettingStore}from'@things-factory/shell';import{setupMenuPart}from'@things-factory/meta-ui';export class DynamicMenuSettingLet extends localize(i18next)(LitElement){static get[a0_0x4c68ce(0x14a)](){return[css`
2
2
  label {
3
3
  font: var(--label-font);
4
4
  color: var(--label-color);
5
5
  text-transform: var(--label-text-transform);
6
6
  }
7
- `];}static get[a0_0x57f12a(0xce)](){return{'hovering':Boolean};}['render'](){const _0x3c89a=a0_0x57f12a,_0x42d037=!0x0===this['hovering'],_0x4acb9e=void 0x0===this['hovering'];return html`
7
+ `];}static get[a0_0x4c68ce(0x140)](){return{'hovering':Boolean};}[a0_0x4c68ce(0x13e)](){const _0x49fb26=a0_0x4c68ce,_0x4c4e41=!0x0===this[_0x49fb26(0x145)],_0x3fba12=void 0x0===this['hovering'];return html`
8
8
  <setting-let>
9
9
  <ox-i18n slot="title" msgid="title.lite-menu-setting"></ox-i18n>
10
10
 
@@ -12,11 +12,11 @@ const a0_0x57f12a=a0_0x4af9;(function(_0x494ecd,_0x222e9b){const _0x4c0189=a0_0x
12
12
  <mwc-formfield label="hovering">
13
13
  <mwc-checkbox
14
14
  id="hovering"
15
- @change=${_0x2433ff=>this[_0x3c89a(0xc9)](_0x2433ff)}
16
- ?checked=${_0x42d037}
17
- ?indeterminate=${_0x4acb9e}
15
+ @change=${_0x1cabbd=>this[_0x49fb26(0x149)](_0x1cabbd)}
16
+ ?checked=${_0x4c4e41}
17
+ ?indeterminate=${_0x3fba12}
18
18
  ></mwc-checkbox>
19
19
  </mwc-formfield>
20
20
  </div>
21
21
  </setting-let>
22
- `;}async[a0_0x57f12a(0xd7)](){const _0x4b5e8b=a0_0x57f12a;this[_0x4b5e8b(0xd8)]=((await clientSettingStore['get'](_0x4b5e8b(0xda)))?.[_0x4b5e8b(0xd6)]||{})[_0x4b5e8b(0xd8)];}async[a0_0x57f12a(0xc9)](_0x1904fc){const _0x4f0e05=a0_0x57f12a;!0x0===this[_0x4f0e05(0xd8)]?this['hovering']=!0x1:!0x1===this[_0x4f0e05(0xd8)]?this['hovering']=void 0x0:this['hovering']=!0x0;const {hovering:_0x486a5f}=(await clientSettingStore[_0x4f0e05(0xd5)](_0x4f0e05(0xda)))?.[_0x4f0e05(0xd6)]||{};if(this['hovering']!==_0x486a5f){try{await clientSettingStore[_0x4f0e05(0xcf)]({'key':_0x4f0e05(0xda),'value':{'hovering':this['hovering']}});}catch(_0x441709){console[_0x4f0e05(0xd2)](_0x441709);}setupMenuPart({'hovering':this[_0x4f0e05(0xd8)]});}}}customElements[a0_0x57f12a(0xcc)]('dynamic-menu-setting-let',DynamicMenuSettingLet);
22
+ `;}async[a0_0x4c68ce(0x141)](){const _0xf105d9=a0_0x4c68ce;this[_0xf105d9(0x145)]=((await clientSettingStore[_0xf105d9(0x143)](_0xf105d9(0x13c)))?.['value']||{})[_0xf105d9(0x145)];}async['onchange'](_0x5dc693){const _0x284eb6=a0_0x4c68ce;!0x0===this[_0x284eb6(0x145)]?this[_0x284eb6(0x145)]=!0x1:!0x1===this[_0x284eb6(0x145)]?this[_0x284eb6(0x145)]=void 0x0:this[_0x284eb6(0x145)]=!0x0;const {hovering:_0x20b72d}=(await clientSettingStore['get'](_0x284eb6(0x13c)))?.[_0x284eb6(0x13b)]||{};if(this['hovering']!==_0x20b72d){try{await clientSettingStore[_0x284eb6(0x139)]({'key':_0x284eb6(0x13c),'value':{'hovering':this[_0x284eb6(0x145)]}});}catch(_0x1f5dcf){console[_0x284eb6(0x147)](_0x1f5dcf);}setupMenuPart({'hovering':this['hovering']});}}}function a0_0x12b1(){const _0x20f719=['hovering','5ezIstR','error','4250328MyseaU','onchange','styles','2105824jaeDnf','3744536vHsVvD','put','176644unNDMa','value','dynamic-menu','654936KRuQGW','render','3601530tTfhiI','properties','firstUpdated','33KffbCv','get','6360888oLHxap'];a0_0x12b1=function(){return _0x20f719;};return a0_0x12b1();}customElements['define']('dynamic-menu-setting-let',DynamicMenuSettingLet);
@@ -1,4 +1,4 @@
1
- const a0_0x2f1f31=a0_0x2346;function a0_0x2346(_0x547dfd,_0xef0e0d){const _0x5b62ad=a0_0x5b62();return a0_0x2346=function(_0x2346c5,_0xd16377){_0x2346c5=_0x2346c5-0x77;let _0x24699e=_0x5b62ad[_0x2346c5];return _0x24699e;},a0_0x2346(_0x547dfd,_0xef0e0d);}(function(_0x4e5769,_0x5005c5){const _0x26d1e0=a0_0x2346,_0x1d14db=_0x4e5769();while(!![]){try{const _0xf9c842=-parseInt(_0x26d1e0(0x81))/0x1+parseInt(_0x26d1e0(0x7e))/0x2*(-parseInt(_0x26d1e0(0x9a))/0x3)+-parseInt(_0x26d1e0(0x7d))/0x4+parseInt(_0x26d1e0(0x99))/0x5*(parseInt(_0x26d1e0(0x7a))/0x6)+parseInt(_0x26d1e0(0x97))/0x7+parseInt(_0x26d1e0(0x7b))/0x8+parseInt(_0x26d1e0(0x94))/0x9;if(_0xf9c842===_0x5005c5)break;else _0x1d14db['push'](_0x1d14db['shift']());}catch(_0x1cb69b){_0x1d14db['push'](_0x1d14db['shift']());}}}(a0_0x5b62,0x96cb6));import a0_0x21e4e9 from'graphql-tag';import{store}from'@operato/shell';function a0_0x5b62(){const _0xca2d58=['firstUpdated','save','querySelector','error.invalid\x20license\x20key','codeEditor','menu','tButton','12257262yBhCUX','back','updateMultipleMenu','225183YGHqfn','metaUI','15JlNBJk','6OEHcZU','recordId','errors','query','studioPermission','dispatchEvent','1218162zvsYvX','6011984TcBJwd','updateMultiple','888852ctZKjW','1026546NktPVl','ox-input-code','bind','888253lTrSUC','value','orgValue','notify','confirm','define','title','showAlertPopup','text.nothing_changed','template','text.there_is_nothing_to_save','dynamic-menu-template'];a0_0x5b62=function(){return _0xca2d58;};return a0_0x5b62();}import{client}from'@operato/graphql';import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@operato/i18n';import{ScrollbarStyles}from'@operato/styles';import'@operato/input/ox-input-code.js';import{TermsUtil}from'./../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';class DynamicMenuTemplate extends localize(i18next)(LitElement){static get['properties'](){return{'title':String,'recordId':String};}static get['styles'](){return[ScrollbarStyles,css`
1
+ const a0_0x19e070=a0_0x45a6;(function(_0x1d30fb,_0x372818){const _0x4f82ae=a0_0x45a6,_0x19e482=_0x1d30fb();while(!![]){try{const _0x46acdd=parseInt(_0x4f82ae(0xbd))/0x1*(parseInt(_0x4f82ae(0xbe))/0x2)+-parseInt(_0x4f82ae(0xbf))/0x3*(parseInt(_0x4f82ae(0xac))/0x4)+-parseInt(_0x4f82ae(0xba))/0x5*(parseInt(_0x4f82ae(0xc6))/0x6)+-parseInt(_0x4f82ae(0xa5))/0x7+-parseInt(_0x4f82ae(0xb1))/0x8+-parseInt(_0x4f82ae(0xb5))/0x9+parseInt(_0x4f82ae(0xb3))/0xa*(parseInt(_0x4f82ae(0xb2))/0xb);if(_0x46acdd===_0x372818)break;else _0x19e482['push'](_0x19e482['shift']());}catch(_0x16b364){_0x19e482['push'](_0x19e482['shift']());}}}(a0_0x2431,0xefe08));function a0_0x45a6(_0x24169c,_0x162018){const _0x2431a7=a0_0x2431();return a0_0x45a6=function(_0x45a600,_0x2ce6e5){_0x45a600=_0x45a600-0xa1;let _0x2d5fd0=_0x2431a7[_0x45a600];return _0x2d5fd0;},a0_0x45a6(_0x24169c,_0x162018);}function a0_0x2431(){const _0x5cbb8a=['39799030oJikyk','text.nothing_changed','7231320GKTMVi','info','recordId','findOne','render','4162665sbsuGZ','showAlertPopup','codeValueNew','2Vabavd','1956346FwClwJ','60AjSMnI','save','metaUI','shadowRoot','menu','confirm','bind','6SyAHWy','codeEditor','querySelector','updateMultipleMenu','firstUpdated','13193999VVNyuB','define','title','error','value','template','orgValue','103724ytqLyh','text.there_is_nothing_to_save','tButton','errors','back','7313784bMiYYU','11IRfDpL'];a0_0x2431=function(){return _0x5cbb8a;};return a0_0x2431();}import a0_0x16020a from'graphql-tag';import{store}from'@operato/shell';import{client}from'@operato/graphql';import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@operato/i18n';import{ScrollbarStyles}from'@operato/styles';import'@operato/input/ox-input-code.js';import{TermsUtil}from'./../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';class DynamicMenuTemplate extends localize(i18next)(LitElement){static get['properties'](){return{'title':String,'recordId':String};}static get['styles'](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -26,13 +26,13 @@ const a0_0x2f1f31=a0_0x2346;function a0_0x2346(_0x547dfd,_0xef0e0d){const _0x5b6
26
26
  height: var(--button-container-height);
27
27
  text-align: right;
28
28
  padding-right: 12px;
29
- }`];}async[a0_0x2f1f31(0x8d)](){const _0x4eb84e=a0_0x2f1f31;super[_0x4eb84e(0x8d)]&&await super[_0x4eb84e(0x8d)]();let _0x311e78=await MetaApi['findOne'](_0x4eb84e(0x92),this[_0x4eb84e(0x9b)],_0x4eb84e(0x8a)),_0x2672dd=_0x311e78&&_0x311e78['template']||'';this[_0x4eb84e(0x91)][_0x4eb84e(0x82)]=_0x2672dd,this[_0x4eb84e(0x91)][_0x4eb84e(0x83)]=this[_0x4eb84e(0x91)][_0x4eb84e(0x82)];}['render'](){const _0x4a33da=a0_0x2f1f31;return html`
30
- <legend>${this[_0x4a33da(0x87)]}</legend>
31
- <ox-input-code mode="javascript" value=${this['codeValueNew']} tab-size="2" tab-as-space="true"></ox-input-code>
29
+ }`];}async[a0_0x19e070(0xa4)](){const _0x274d02=a0_0x19e070;super[_0x274d02(0xa4)]&&await super[_0x274d02(0xa4)]();let _0x483c21=await MetaApi[_0x274d02(0xb8)](_0x274d02(0xc3),this[_0x274d02(0xb7)],'template'),_0x4a4cae=_0x483c21&&_0x483c21[_0x274d02(0xaa)]||'';this[_0x274d02(0xa1)][_0x274d02(0xa9)]=_0x4a4cae,this[_0x274d02(0xa1)]['orgValue']=this[_0x274d02(0xa1)][_0x274d02(0xa9)];}[a0_0x19e070(0xb9)](){const _0x211319=a0_0x19e070;return html`
30
+ <legend>${this[_0x211319(0xa7)]}</legend>
31
+ <ox-input-code mode="javascript" value=${this[_0x211319(0xbc)]} tab-size="2" tab-as-space="true"></ox-input-code>
32
32
  <div id="button-container" class="button-container">
33
- <!-- <mwc-button raised label="${TermsUtil[_0x4a33da(0x93)]('save')}" @click=${this['save'][_0x4a33da(0x80)](this)}></mwc-button> -->
34
- </div>`;}get['codeEditor'](){const _0x3f86a4=a0_0x2f1f31;return this['shadowRoot'][_0x3f86a4(0x8f)](_0x3f86a4(0x7f));}async[a0_0x2f1f31(0x8e)](){const _0x3f25a5=a0_0x2f1f31;if(this[_0x3f25a5(0x91)]['orgValue']==this['codeEditor'][_0x3f25a5(0x82)])return void MetaApi[_0x3f25a5(0x88)](_0x3f25a5(0x89),_0x3f25a5(0x8b),'info',_0x3f25a5(0x85));if(0x0==store['getState']()[_0x3f25a5(0x98)][_0x3f25a5(0x78)])return void document[_0x3f25a5(0x79)](new CustomEvent(_0x3f25a5(0x84),{'detail':{'level':'error','message':i18next['t'](_0x3f25a5(0x90))}}));if((await client[_0x3f25a5(0x77)]({'query':a0_0x21e4e9`
33
+ <!-- <mwc-button raised label="${TermsUtil[_0x211319(0xae)]('save')}" @click=${this[_0x211319(0xc0)][_0x211319(0xc5)](this)}></mwc-button> -->
34
+ </div>`;}get[a0_0x19e070(0xa1)](){const _0xec9bf7=a0_0x19e070;return this[_0xec9bf7(0xc2)][_0xec9bf7(0xa2)]('ox-input-code');}async[a0_0x19e070(0xc0)](){const _0x3cf413=a0_0x19e070;if(this['codeEditor'][_0x3cf413(0xab)]==this['codeEditor'][_0x3cf413(0xa9)])return void MetaApi[_0x3cf413(0xbb)](_0x3cf413(0xb4),_0x3cf413(0xad),_0x3cf413(0xb6),_0x3cf413(0xc4));if(0x0==store['getState']()[_0x3cf413(0xc1)]['studioPermission'])return void document['dispatchEvent'](new CustomEvent('notify',{'detail':{'level':_0x3cf413(0xa8),'message':i18next['t']('error.invalid\x20license\x20key')}}));if((await client['query']({'query':a0_0x16020a`
35
35
  query ($id: String!) {
36
36
  metaUITemplateIsOverLimit(id: $id)
37
37
  }
38
- `,'variables':{'id':this[_0x3f25a5(0x9b)]}}))[_0x3f25a5(0x9c)])return;let _0x1b9057=this[_0x3f25a5(0x91)]['value'],_0x5517e8=[{'id':this[_0x3f25a5(0x9b)],'template':_0x1b9057,'cuFlag':'M'}];await MetaApi[_0x3f25a5(0x7c)](_0x3f25a5(0x96),_0x5517e8)&&history[_0x3f25a5(0x95)]();}}customElements[a0_0x2f1f31(0x86)](a0_0x2f1f31(0x8c),DynamicMenuTemplate);
38
+ `,'variables':{'id':this[_0x3cf413(0xb7)]}}))[_0x3cf413(0xaf)])return;let _0x527d63=this[_0x3cf413(0xa1)]['value'],_0x5e3059=[{'id':this[_0x3cf413(0xb7)],'template':_0x527d63,'cuFlag':'M'}];await MetaApi['updateMultiple'](_0x3cf413(0xa3),_0x5e3059)&&history[_0x3cf413(0xb0)]();}}customElements[a0_0x19e070(0xa6)]('dynamic-menu-template',DynamicMenuTemplate);
@@ -1,9 +1,9 @@
1
- const a0_0x4603ee=a0_0x308c;(function(_0x4aa4f2,_0x3c1482){const _0x43b185=a0_0x308c,_0x4e2761=_0x4aa4f2();while(!![]){try{const _0x5ca1b8=parseInt(_0x43b185(0x75))/0x1*(parseInt(_0x43b185(0x7d))/0x2)+-parseInt(_0x43b185(0x93))/0x3+parseInt(_0x43b185(0xe0))/0x4*(parseInt(_0x43b185(0xb7))/0x5)+parseInt(_0x43b185(0x89))/0x6+-parseInt(_0x43b185(0xa4))/0x7+parseInt(_0x43b185(0xce))/0x8*(-parseInt(_0x43b185(0xc8))/0x9)+-parseInt(_0x43b185(0xbe))/0xa;if(_0x5ca1b8===_0x3c1482)break;else _0x4e2761['push'](_0x4e2761['shift']());}catch(_0x179b0f){_0x4e2761['push'](_0x4e2761['shift']());}}}(a0_0x4e42,0x3ca96));import{html}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import'@things-factory/form-ui';import{TermsUtil}from'./../../utils/terms-util';function a0_0x4e42(){const _0x49a635=['meta-generator?menuId=','routingType','groupMenuQuery','delete','fetch','deleteGroup','338730hbJVRj','filter','MENU_TYPE','copy','title','length','getGristCodeSelectorColumnConfig','gutter','integer','info','templateCode','GRID','copyMenu','saveGroup','navigateMetaGenerator','includes','records','166530tMFsIK','context','confirm','parent-menu','querySelector','menu_open','resource-object','save','tMenu','shadowRoot','exportMenu','searchForm','tTitle','iconPath','menu_type','saveMenu','openMenuTemplatePopup','detailGrist','large','5JHDfcO','menuType','center','deleteMenu','top-down','render','icon','2227500gxNPFI','left','is_null','updateMultiple','getGristSelectableConfig','tButton','groupGrist','menuGroupId','searchByPagination','\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20','9OPOVRf','dynamicMenus','startsWith','-copy','select','#,###','2404096YFIZqv','detailConfig','rank','createCustomElement','pageInitialized','category','findOne','isNotEmpty','text.there_is_no_selected_items','tLabel','page_type','text.nothing_selected','forEach','data','checkbox','menus','boolean','routing','998044mOUimm','export','tag','fetchGroupHandler','resourceUrl','dynamic-menu','MENU_PAGE_ROUTING_TYPE','updateMultipleMenu','#master-grist','string','name','hidden','getGristSearchColumnConfig','groupConfig','template','menu_group','selected','getQueryFilters','deleteMenus','deleteListByGristSelected','download','isMobileEnv','parent','1RNwbNJ','searchFields','properties','MENU_PAGE_TYPE','templateText','patchesForUpdateMultiple','getGristSearchCodeColumnConfig','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','373018IyTTUi','parentId','pageNavigate','getGristColumnConfig2','getGristGuttersConfig','export-menu-popup','dynamic_menu','fetchDetailHandler','getBasicMasterDetailGristStyle','button','recordName','openPopupByElement','2834472WtOcgO','page_location','hiddenFlag','LIST'];a0_0x4e42=function(){return _0x49a635;};return a0_0x4e42();}import{MetaApi}from'../../utils/meta-api';import'./dynamic-menu-template.js';import'./export-menu-popup.js';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class DynamicMenu extends localize(i18next)(PageView){static get[a0_0x4603ee(0x77)](){return{'searchFields':Array,'groupConfig':Object,'detailConfig':Object,'menuGroupId':String};}static get['styles'](){const _0x4440d1=a0_0x4603ee;return MetaApi[_0x4440d1(0x85)](_0x4440d1(0xbb));}[a0_0x4603ee(0xbc)](){const _0x3f0fb1=a0_0x4603ee;return html`
1
+ const a0_0x2e2043=a0_0x53ff;(function(_0x43a9fc,_0xfc77ec){const _0x215974=a0_0x53ff,_0x654dc8=_0x43a9fc();while(!![]){try{const _0x2b1e04=-parseInt(_0x215974(0x114))/0x1*(-parseInt(_0x215974(0x136))/0x2)+parseInt(_0x215974(0x11e))/0x3+parseInt(_0x215974(0x16e))/0x4*(-parseInt(_0x215974(0x139))/0x5)+-parseInt(_0x215974(0x13b))/0x6*(parseInt(_0x215974(0xea))/0x7)+parseInt(_0x215974(0x11f))/0x8+-parseInt(_0x215974(0x12b))/0x9+parseInt(_0x215974(0x102))/0xa*(parseInt(_0x215974(0x111))/0xb);if(_0x2b1e04===_0xfc77ec)break;else _0x654dc8['push'](_0x654dc8['shift']());}catch(_0x3267dc){_0x654dc8['push'](_0x654dc8['shift']());}}}(a0_0x13b6,0x91dd8));function a0_0x13b6(){const _0x1eaa06=['1144rWbBFe','searchFields','properties','groupConfig','#detail-grist','dynamicMenus','21mBJvws','tag','parent-menu','updateMultiple','page_type','deleteMenus','template','tTitle','select','description','searchByPagination','getGristColumnConfig2','LIST','detailGrist','navigateMetaGenerator','routing_type','copyMenu','resource-object','string','page_location','groupMenuQuery','menuType','large','hiddenFlag','195240vMhgCq','dynamic-menu','shadowRoot','records','isMobileEnv','define','\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20','menuGroupId','saveGroup','menus','tMenu','deleteGroup','selected','#,###','boolean','792HOPiHx','getGristSearchCodeColumnConfig','pageNavigate','62GhWBHs','parent','confirm','export','openPopupByElement','pageInitialized','resourceUrl','gutter','searchForm','category','3125724EoaaBT','3764736lUZTDx','MENU_PAGE_TYPE','createCustomElement','tButton','text.there_is_no_selected_items','isNotEmpty','getGristSelectableConfig','save','code','getGristSearchColumnConfig','left','startsWith','8308611gaPDMh','recordId','SCREEN','bind','hidden','integer','MENU_TYPE','rank','menu_type','parentId','is_null','23622PIrFgK','render','name','19930wMLuDs','menu_template_search_code','1979742Vuthcg','getGristCodeSelectorColumnConfig','dynamic_menu','recordName','updateMultipleMenu','detailConfig','i_like','keys','context','getQueryFilters','#master-grist','data','GRID','patchesForUpdateMultiple','getGristGuttersConfig','exportMenu','groupGrist','templateText','menu_group','-copy','deleteListByGristSelected','tLabel','cuFlag','filter','openMenuTemplatePopup','getGristColumnConfig','button','routing','dynamic-menu-template','construction','text.nothing_selected','fetchGroupHandler','top-down','menu','styles','deleteMenu','querySelector','showAlertPopup','export-menu-popup','routingType','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','center','forEach','templateCode','delete','copy','info','fetch','search','title','findOne'];a0_0x13b6=function(){return _0x1eaa06;};return a0_0x13b6();}import{html}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';function a0_0x53ff(_0x2cc1b0,_0x20a7d7){const _0x13b60b=a0_0x13b6();return a0_0x53ff=function(_0x53ff92,_0x34e56d){_0x53ff92=_0x53ff92-0xe5;let _0xb64217=_0x13b60b[_0x53ff92];return _0xb64217;},a0_0x53ff(_0x2cc1b0,_0x20a7d7);}import{PageView}from'@things-factory/shell';import'@things-factory/form-ui';import{TermsUtil}from'./../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';import'./dynamic-menu-template.js';import'./export-menu-popup.js';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class DynamicMenu extends localize(i18next)(PageView){static get[a0_0x2e2043(0xe6)](){return{'searchFields':Array,'groupConfig':Object,'detailConfig':Object,'menuGroupId':String};}static get[a0_0x2e2043(0x15d)](){const _0x103da1=a0_0x2e2043;return MetaApi['getBasicMasterDetailGristStyle'](_0x103da1(0x15b));}[a0_0x2e2043(0x137)](){const _0x13ba54=a0_0x2e2043;return html`
2
2
  <div slot="headroom">
3
3
  <div id="filters">
4
4
  <ox-filters-form-base
5
- .filters=${this[_0x3f0fb1(0x76)]||[]}
6
- @filters-change=${_0x40504b=>{const _0x37d3d6=_0x3f0fb1;this[_0x37d3d6(0xc4)]?.['fetch']();}}
5
+ .filters=${this[_0x13ba54(0xe5)]||[]}
6
+ @filters-change=${_0x2009f3=>{const _0x3f582e=_0x13ba54;this[_0x3f582e(0x14b)]?.[_0x3f582e(0x16a)]();}}
7
7
  ></ox-filters-form-base>
8
8
  </div>
9
9
  </div>
@@ -11,34 +11,34 @@ const a0_0x4603ee=a0_0x308c;(function(_0x4aa4f2,_0x3c1482){const _0x43b185=a0_0x
11
11
  <div class='container'>
12
12
  <div class="container_detail">
13
13
  <!--h2>
14
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3f0fb1(0xb0)](_0x3f0fb1(0xef))}
14
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x13ba54(0xf1)](_0x13ba54(0x14d))}
15
15
  </h2-->
16
16
  <ox-grist
17
17
  id="master-grist"
18
- .config=${this[_0x3f0fb1(0xed)]}
19
- .mode=${MetaApi['isMobileEnv']()?_0x3f0fb1(0x8c):_0x3f0fb1(0x9e)}
18
+ .config=${this['groupConfig']}
19
+ .mode=${MetaApi['isMobileEnv']()?_0x13ba54(0xf6):_0x13ba54(0x147)}
20
20
  auto-fetch
21
- .fetchHandler=${this[_0x3f0fb1(0xe3)]['bind'](this)}>
21
+ .fetchHandler=${this[_0x13ba54(0x15a)][_0x13ba54(0x12e)](this)}>
22
22
  </ox-grist>
23
23
  <div id="button-container" class="button-container">
24
- <mwc-button raised label="${TermsUtil[_0x3f0fb1(0xc3)](_0x3f0fb1(0xab))}" @click=${_0x2b9205=>this[_0x3f0fb1(0xa0)]()}></mwc-button>
25
- <mwc-button raised label="${TermsUtil[_0x3f0fb1(0xc3)](_0x3f0fb1(0x90))}" @click=${_0x966dc=>this[_0x3f0fb1(0x92)]()}></mwc-button>
24
+ <mwc-button raised label="${TermsUtil[_0x13ba54(0x122)](_0x13ba54(0x126))}" @click=${_0x4fe55f=>this[_0x13ba54(0x10a)]()}></mwc-button>
25
+ <mwc-button raised label="${TermsUtil[_0x13ba54(0x122)](_0x13ba54(0x167))}" @click=${_0xe972ce=>this['deleteGroup']()}></mwc-button>
26
26
  </div>
27
27
  </div>
28
28
 
29
29
  <div class="container_detail">
30
30
  <ox-grist
31
31
  id="detail-grist"
32
- .config=${this[_0x3f0fb1(0xcf)]}
33
- .mode=${MetaApi[_0x3f0fb1(0x73)]()?'LIST':_0x3f0fb1(0x9e)}
32
+ .config=${this[_0x13ba54(0x140)]}
33
+ .mode=${MetaApi[_0x13ba54(0x106)]()?_0x13ba54(0xf6):_0x13ba54(0x147)}
34
34
  explcit-fetch
35
- .fetchHandler=${this[_0x3f0fb1(0x84)]['bind'](this)}>
35
+ .fetchHandler=${this['fetchDetailHandler'][_0x13ba54(0x12e)](this)}>
36
36
  </ox-grist>
37
37
  <div id="button-container" class="button-container">
38
- <mwc-button raised label="${TermsUtil[_0x3f0fb1(0xc3)](_0x3f0fb1(0x96))}" @click=${_0x34826b=>this[_0x3f0fb1(0x9f)]()}></mwc-button>
39
- <mwc-button raised label="${TermsUtil[_0x3f0fb1(0xc3)](_0x3f0fb1(0xab))}" @click=${_0x225d91=>this[_0x3f0fb1(0xb3)]()}></mwc-button>
40
- <mwc-button raised label="${TermsUtil[_0x3f0fb1(0xc3)](_0x3f0fb1(0x90))}" @click=${_0x1936b7=>this[_0x3f0fb1(0xba)]()}></mwc-button>
38
+ <mwc-button raised label="${TermsUtil[_0x13ba54(0x122)](_0x13ba54(0x168))}" @click=${_0x2675fa=>this[_0x13ba54(0xfa)]()}></mwc-button>
39
+ <mwc-button raised label="${TermsUtil[_0x13ba54(0x122)]('save')}" @click=${_0x116860=>this['saveMenu']()}></mwc-button>
40
+ <mwc-button raised label="${TermsUtil[_0x13ba54(0x122)](_0x13ba54(0x167))}" @click=${_0x26c111=>this['deleteMenu']()}></mwc-button>
41
41
  </div>
42
42
  </div>
43
43
  </div>
44
- `;}get[a0_0x4603ee(0xa5)](){const _0x516b7e=a0_0x4603ee;return{'title':TermsUtil['tTitle'](_0x516b7e(0x83))};}get['searchForm'](){const _0x5f1458=a0_0x4603ee;return this[_0x5f1458(0xad)][_0x5f1458(0xa8)]('ox-filters-form-base');}get['groupGrist'](){const _0x5b4ccc=a0_0x4603ee;return this[_0x5b4ccc(0xad)][_0x5b4ccc(0xa8)](_0x5b4ccc(0xe8));}get['detailGrist'](){const _0xd40940=a0_0x4603ee;return this[_0xd40940(0xad)]['querySelector']('#detail-grist');}async[a0_0x4603ee(0x84)]({page:_0x4f580a,limit:_0x5af1b0=0xf423f,sorters:_0x157767=[{'name':a0_0x4603ee(0xd0)},{'name':a0_0x4603ee(0xea)}]}){const _0x259013=a0_0x4603ee;if(this['menuGroupId']){let _0x46ce9c=[{'name':_0x259013(0x7e),'operator':'eq','value':this[_0x259013(0xc5)]},...(await this[_0x259013(0xaf)]['getQueryFilters']())[_0x259013(0x94)](_0x19f8bc=>[_0x259013(0x9d),_0x259013(0x79)][_0x259013(0xa2)](_0x19f8bc['name']))],_0x1caa1a=_0x259013(0xc7);0xf423f;let _0x5bf377=await MetaApi[_0x259013(0xc6)](_0x259013(0xc9),_0x46ce9c,_0x157767,_0x4f580a,0xf423f,_0x1caa1a);return _0x5bf377&&_0x5bf377[_0x259013(0xa3)]&&_0x5bf377[_0x259013(0xa3)][_0x259013(0xda)](_0xc616d=>{_0xc616d['parentId']=this['menuGroupId'];}),_0x5bf377;}}async['fetchGroupHandler']({page:_0x38c42d,limit:_0x580f7e=0xf423f,sorters:_0x151c7a=[{'name':a0_0x4603ee(0xd0)},{'name':a0_0x4603ee(0xea)}]}){const _0x932b24=a0_0x4603ee;this[_0x932b24(0xc5)]=null,this[_0x932b24(0xb5)]&&this['detailGrist']['data']&&(this[_0x932b24(0xb5)][_0x932b24(0xdb)]={});let _0xb51fc7=[...await this['searchForm'][_0x932b24(0xf1)](),{'name':_0x932b24(0x7e),'operator':'is_null','value':''}];return 0xf423f,await MetaApi['searchByPagination'](_0x932b24(0xc9),_0xb51fc7,_0x151c7a,_0x38c42d,0xf423f,_0x932b24(0x7c));}async[a0_0x4603ee(0xa0)](){const _0x764dbd=a0_0x4603ee;let _0x149a77=MetaApi['patchesForUpdateMultiple'](this[_0x764dbd(0xc4)]);ValueUtil[_0x764dbd(0xd5)](_0x149a77)&&(_0x149a77[_0x764dbd(0xda)](_0x527535=>{const _0x45f97d=_0x764dbd;void 0x0!==_0x527535['hiddenFlag']&&null!=_0x527535[_0x45f97d(0x8b)]||(_0x527535[_0x45f97d(0x8b)]=!0x1);}),await MetaApi[_0x764dbd(0xc1)](_0x764dbd(0xe7),_0x149a77)&&this[_0x764dbd(0xc4)][_0x764dbd(0x91)]());}async['deleteGroup'](){const _0x2873dc=a0_0x4603ee;await MetaApi[_0x2873dc(0xf3)](this['groupGrist'],_0x2873dc(0xf2));}async[a0_0x4603ee(0xb3)](){const _0x4f5e8a=a0_0x4603ee;let _0x5bbc89=MetaApi[_0x4f5e8a(0x7a)](this[_0x4f5e8a(0xb5)]);ValueUtil['isNotEmpty'](_0x5bbc89)&&(_0x5bbc89['forEach'](_0x49f13f=>{const _0x24518f=_0x4f5e8a;_0x49f13f[_0x24518f(0xb8)]=_0x49f13f['menuType']||'SCREEN',_0x49f13f[_0x24518f(0x7e)]?(_0x49f13f[_0x24518f(0x74)]={'id':_0x49f13f[_0x24518f(0x7e)]},delete _0x49f13f[_0x24518f(0x7e)]):_0x49f13f[_0x24518f(0x74)]={'id':this[_0x24518f(0xc5)]},void 0x0!==_0x49f13f[_0x24518f(0x8b)]&&null!=_0x49f13f['hiddenFlag']||(_0x49f13f['hiddenFlag']=!0x1);}),await MetaApi[_0x4f5e8a(0xc1)](_0x4f5e8a(0xe7),_0x5bbc89)&&this['detailGrist'][_0x4f5e8a(0x91)]());}async[a0_0x4603ee(0xae)](_0x4f4c15){const _0x143701=a0_0x4603ee;let _0x430c9d=MetaApi[_0x143701(0xd1)](_0x143701(0x82),_0x143701(0x82));_0x430c9d[_0x143701(0x97)]=TermsUtil[_0x143701(0xd7)](_0x143701(0xe1)),_0x430c9d['recordId']=_0x4f4c15['id'],_0x430c9d[_0x143701(0x87)]=_0x4f4c15[_0x143701(0xea)],await MetaApi['openPopupByElement'](_0x4f4c15[_0x143701(0xea)],_0x143701(0xb6),_0x430c9d,!0x0);}async[a0_0x4603ee(0xba)](){const _0x5771ab=a0_0x4603ee;await MetaApi[_0x5771ab(0xf3)](this[_0x5771ab(0xb5)],_0x5771ab(0xf2));}async[a0_0x4603ee(0x9f)](){const _0x11e6c9=a0_0x4603ee;let _0x523242=this[_0x11e6c9(0xb5)][_0x11e6c9(0xf0)];if(!_0x523242||0x0==_0x523242[_0x11e6c9(0x98)])return void UiUtil['showAlertPopup'](_0x11e6c9(0xd9),_0x11e6c9(0xd6),_0x11e6c9(0x9c),_0x11e6c9(0xa6));let _0x59ab6b=_0x523242[0x0];if(!_0x59ab6b['id'])return;Object['keys'](_0x59ab6b)[_0x11e6c9(0xda)](_0x1de2cd=>{const _0x201c52=_0x11e6c9;_0x1de2cd[_0x201c52(0xca)]('__')&&delete _0x59ab6b[_0x1de2cd];});let _0x3e4933=await MetaApi[_0x11e6c9(0xd4)]('menu',_0x59ab6b['id'],_0x11e6c9(0xee));_0x59ab6b[_0x11e6c9(0xee)]=_0x3e4933&&_0x3e4933['template']||'',_0x59ab6b[_0x11e6c9(0xd0)]=0x1869f,_0x59ab6b['cuFlag']='+',_0x59ab6b[_0x11e6c9(0xea)]=_0x59ab6b[_0x11e6c9(0xea)]+_0x11e6c9(0xcb),_0x59ab6b[_0x11e6c9(0xdf)]=_0x59ab6b[_0x11e6c9(0xdf)]+_0x11e6c9(0xcb),_0x59ab6b[_0x11e6c9(0x74)]={'id':_0x59ab6b[_0x11e6c9(0x7e)]},delete _0x59ab6b['id'],delete _0x59ab6b[_0x11e6c9(0x7e)],await MetaApi['updateMultiple'](_0x11e6c9(0xe7),[_0x59ab6b])&&this[_0x11e6c9(0xb5)][_0x11e6c9(0x91)]();}[a0_0x4603ee(0x8f)](_0x45be45){const _0x3902a9=a0_0x4603ee;this[_0x3902a9(0xc5)]=_0x45be45['id'],this[_0x3902a9(0xb5)]['fetch']();}async[a0_0x4603ee(0xb4)](_0x333869){const _0x2d2300=a0_0x4603ee;let _0x354ff6=MetaApi['createCustomElement']('dynamic-menu-template','dynamic-menu-template');_0x354ff6[_0x2d2300(0x97)]=TermsUtil[_0x2d2300(0xd7)]('template'),_0x354ff6['recordId']=_0x333869['id'],await MetaApi[_0x2d2300(0x88)](_0x333869['name'],_0x2d2300(0xb6),_0x354ff6,!0x0);}[a0_0x4603ee(0xa1)](_0x1e4ac6){const _0xe43425=a0_0x4603ee;MetaApi[_0xe43425(0x7f)](_0xe43425(0x8d)+_0x1e4ac6['id']);}async[a0_0x4603ee(0xd2)](){const _0xdf0018=a0_0x4603ee;this[_0xdf0018(0x76)]=[MetaApi[_0xdf0018(0xec)](_0xdf0018(0xea),_0xdf0018(0xe9),'name','i_like'),await MetaApi[_0xdf0018(0x7b)](_0xdf0018(0xb8),_0xdf0018(0xcc),_0xdf0018(0xb2),'eq',_0xdf0018(0x95)),MetaApi[_0xdf0018(0xec)](_0xdf0018(0x8b),_0xdf0018(0xdc),_0xdf0018(0xeb),'eq'),await MetaApi[_0xdf0018(0x7b)](_0xdf0018(0x9d),_0xdf0018(0xcc),'menu_template_search_code','eq','MENU_TEXT_SEARCH_TYPE'),MetaApi[_0xdf0018(0xec)](_0xdf0018(0x79),'string','menu_template_search_text','i_like')],this[_0xdf0018(0xed)]={'rows':MetaApi[_0xdf0018(0xc2)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0xdf0018(0x81)](!0x0,!0x1),{'type':_0xdf0018(0x9a),'gutterName':_0xdf0018(0x86),'icon':_0xdf0018(0xa9),'handlers':{'click':(_0x1ad02a,_0x1a4458,_0x3f77ae,_0x263017,_0x46cb81)=>{_0x263017['id']&&this['groupMenuQuery'](_0x263017);}}},{'type':_0xdf0018(0x9b),'name':_0xdf0018(0xd0),'header':TermsUtil[_0xdf0018(0xd7)]('rank'),'record':{'align':_0xdf0018(0xbf),'editable':!0x0,'format':_0xdf0018(0xcd)},'sortable':!0x1,'width':0x3c},MetaApi['getGristColumnConfig']('string',_0xdf0018(0xea),_0xdf0018(0xbf),!0x0,!0x1,0xaf),{'type':_0xdf0018(0xe9),'name':_0xdf0018(0x97),'header':TermsUtil[_0xdf0018(0xd7)](_0xdf0018(0x97)),'record':{'editable':!0x1,'align':_0xdf0018(0xbf),'renderer':(_0x23f0ef,_0x179aca,_0x512984,_0x3bbcb0,_0x508ac5)=>_0x512984[_0xdf0018(0xea)]?TermsUtil[_0xdf0018(0xac)](_0x512984[_0xdf0018(0xea)]):''},'sortable':!0x1,'width':0xaf},await MetaApi['getGristCodeSelectorColumnConfig'](_0xdf0018(0xb8),_0xdf0018(0xb2),'left',!0x1,0x5a,!0x0,_0xdf0018(0x95)),MetaApi['getGristColumnConfig2'](_0xdf0018(0xe9),_0xdf0018(0xb1),_0xdf0018(0xbd),_0xdf0018(0xbf),!0x0,!0x1,0x64),MetaApi[_0xdf0018(0x80)](_0xdf0018(0xde),_0xdf0018(0x8b),_0xdf0018(0xeb),_0xdf0018(0xb9),!0x0,!0x1,0x37),MetaApi[_0xdf0018(0x80)](_0xdf0018(0xe9),_0xdf0018(0xdf),_0xdf0018(0xdf),'left',!0x0,!0x1,0x78),MetaApi[_0xdf0018(0x80)]('string',_0xdf0018(0xd3),_0xdf0018(0xe2),_0xdf0018(0xbf),!0x0,!0x1,0x78),MetaApi[_0xdf0018(0x80)](_0xdf0018(0xe9),_0xdf0018(0xe4),'page_location',_0xdf0018(0xbf),!0x0,!0x1,0x109)]},this[_0xdf0018(0xcf)]={'rows':MetaApi[_0xdf0018(0xc2)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0xdf0018(0x81)](!0x0,!0x1),{'type':_0xdf0018(0x9a),'gutterName':_0xdf0018(0x86),'icon':_0xdf0018(0x72),'handlers':{'click':(_0x51acd0,_0x417f4c,_0x73e2f,_0x294d4a,_0x2274dc)=>{const _0x1ad82f=_0xdf0018;_0x294d4a['id']&&this[_0x1ad82f(0xae)](_0x294d4a);}}},{'type':_0xdf0018(0x9a),'gutterName':_0xdf0018(0x86),'icon':'code','handlers':{'click':(_0x455904,_0x51dcd7,_0x5129bd,_0x15aa26,_0x59d621)=>{_0x15aa26['id']&&this['openMenuTemplatePopup'](_0x15aa26);}}},{'type':_0xdf0018(0x9a),'gutterName':_0xdf0018(0x86),'icon':'construction','handlers':{'click':(_0x57eb56,_0x5f07eb,_0x5e3e26,_0x391f34,_0x255ce4)=>{const _0x1049e1=_0xdf0018;_0x391f34['id']&&this[_0x1049e1(0xa1)](_0x391f34);}}},{'type':'integer','name':_0xdf0018(0xd0),'header':TermsUtil[_0xdf0018(0xd7)]('rank'),'record':{'align':'left','editable':!0x0,'format':_0xdf0018(0xcd)},'sortable':!0x1,'width':0x3c},MetaApi['getGristColumnConfig'](_0xdf0018(0xe9),_0xdf0018(0xea),_0xdf0018(0xbf),!0x0,!0x1,0xaf),{'type':_0xdf0018(0xe9),'name':_0xdf0018(0x97),'header':TermsUtil[_0xdf0018(0xd7)](_0xdf0018(0x97)),'record':{'editable':!0x1,'align':_0xdf0018(0xbf),'renderer':(_0x5bf3fc,_0x24d818,_0x4508d4,_0x190627,_0x10d87f)=>_0x4508d4[_0xdf0018(0xea)]?TermsUtil[_0xdf0018(0xac)](_0x4508d4[_0xdf0018(0xea)]):''},'sortable':!0x1,'width':0xaf},await MetaApi[_0xdf0018(0x99)]('menuType',_0xdf0018(0xd8),'left',!0x1,0x5a,!0x0,_0xdf0018(0x78)),await MetaApi[_0xdf0018(0x99)](_0xdf0018(0x8e),'routing_type','left',!0x1,0x0,!0x1,_0xdf0018(0xe6)),MetaApi[_0xdf0018(0x80)]('string','routing',_0xdf0018(0xdf),_0xdf0018(0xbf),!0x0,!0x1,0xaf),MetaApi[_0xdf0018(0x80)](_0xdf0018(0xe9),_0xdf0018(0xd3),'tag',_0xdf0018(0xbf),!0x0,!0x1,0xaf),MetaApi[_0xdf0018(0x80)](_0xdf0018(0xe9),_0xdf0018(0xe4),_0xdf0018(0x8a),_0xdf0018(0xbf),!0x0,!0x1,0x1c2),MetaApi[_0xdf0018(0x80)](_0xdf0018(0xe9),'iconPath','icon',_0xdf0018(0xbf),!0x0,!0x1,0x64),MetaApi[_0xdf0018(0x80)](_0xdf0018(0xde),_0xdf0018(0x8b),_0xdf0018(0xeb),_0xdf0018(0xb9),!0x0,!0x1,0x37),{'type':_0xdf0018(0xaa),'name':_0xdf0018(0x74),'header':TermsUtil[_0xdf0018(0xd7)](_0xdf0018(0xa7)),'record':{'renderer':(_0x121ace,_0x1dec29,_0x23f480,_0x16ba43,_0x3b1c4f)=>_0x121ace?_0x121ace['name']+'\x20('+TermsUtil[_0xdf0018(0xac)](_0x121ace['name'])+')':'','editable':!0x0,'options':{'title':TermsUtil[_0xdf0018(0xd7)](_0xdf0018(0xa7)),'queryName':_0xdf0018(0xdd),'pagination':{'pages':[0x3e8]},'basicArgs':{'filters':[{'name':_0xdf0018(0x7e),'operator':_0xdf0018(0xc0)}],'sortings':[{'name':_0xdf0018(0xd0),'desc':!0x1}]},'list':{'fields':['id',_0xdf0018(0xea)]},'columns':[{'name':'id','hidden':!0x0},{'name':_0xdf0018(0xd0),'header':TermsUtil[_0xdf0018(0xd7)]('rank'),'width':0x4b,'record':{'editable':!0x1,'format':'#,###','align':'left'},'sortable':!0x0},{'name':_0xdf0018(0xea),'width':0x12c,'header':TermsUtil[_0xdf0018(0xd7)]('name'),'filter':'search'},{'name':'description','width':0x15e,'header':TermsUtil[_0xdf0018(0xd7)](_0xdf0018(0x97)),'record':{'editable':!0x1,'renderer':function(_0x2192cb,_0x69255d,_0x396ea8,_0x5b30dd,_0x22d238){const _0xb64b87=_0xdf0018;return TermsUtil[_0xb64b87(0xac)](_0x396ea8[_0xb64b87(0xea)]);}}},{'type':'code','name':_0xdf0018(0xb8),'width':0x78,'header':TermsUtil['tLabel'](_0xdf0018(0xb2)),'record':{'editable':!0x1,'codeName':'MENU_TYPE'}},{'name':'routing','width':0x96,'header':TermsUtil[_0xdf0018(0xd7)](_0xdf0018(0xdf)),'record':{'editable':!0x1}}],'valueField':'id','nameField':_0xdf0018(0xea),'descriptionField':'routing'}},'width':0xc8}]};}}function a0_0x308c(_0x30a7e1,_0x345d34){const _0x4e4220=a0_0x4e42();return a0_0x308c=function(_0x308cac,_0x5a0362){_0x308cac=_0x308cac-0x72;let _0x486812=_0x4e4220[_0x308cac];return _0x486812;},a0_0x308c(_0x30a7e1,_0x345d34);}customElements['define'](a0_0x4603ee(0xe5),DynamicMenu);
44
+ `;}get[a0_0x2e2043(0x143)](){const _0x11dc4e=a0_0x2e2043;return{'title':TermsUtil[_0x11dc4e(0xf1)](_0x11dc4e(0x13d))};}get[a0_0x2e2043(0x11c)](){const _0x5683c3=a0_0x2e2043;return this[_0x5683c3(0x104)][_0x5683c3(0x15f)]('ox-filters-form-base');}get['groupGrist'](){const _0x465799=a0_0x2e2043;return this[_0x465799(0x104)][_0x465799(0x15f)](_0x465799(0x145));}get['detailGrist'](){const _0x2c1247=a0_0x2e2043;return this[_0x2c1247(0x104)][_0x2c1247(0x15f)](_0x2c1247(0xe8));}async['fetchDetailHandler']({page:_0x1950fd,limit:_0x35e3a3=0xf423f,sorters:_0x358527=[{'name':a0_0x2e2043(0x132)},{'name':a0_0x2e2043(0x138)}]}){const _0x421aeb=a0_0x2e2043;if(this[_0x421aeb(0x109)]){let _0x10ab05=[{'name':_0x421aeb(0x134),'operator':'eq','value':this['menuGroupId']},...(await this[_0x421aeb(0x11c)][_0x421aeb(0x144)]())[_0x421aeb(0x152)](_0x3d5ddc=>[_0x421aeb(0x166),_0x421aeb(0x14c)]['includes'](_0x3d5ddc[_0x421aeb(0x138)]))],_0x4d0a9a=_0x421aeb(0x108);0xf423f;let _0x46cb4b=await MetaApi[_0x421aeb(0xf4)]('dynamicMenus',_0x10ab05,_0x358527,_0x1950fd,0xf423f,_0x4d0a9a);return _0x46cb4b&&_0x46cb4b[_0x421aeb(0x105)]&&_0x46cb4b[_0x421aeb(0x105)][_0x421aeb(0x165)](_0x55b92b=>{const _0x2da32f=_0x421aeb;_0x55b92b[_0x2da32f(0x134)]=this[_0x2da32f(0x109)];}),_0x46cb4b;}}async[a0_0x2e2043(0x15a)]({page:_0x28e738,limit:_0x29448c=0xf423f,sorters:_0x289864=[{'name':a0_0x2e2043(0x132)},{'name':'name'}]}){const _0xeba504=a0_0x2e2043;this[_0xeba504(0x109)]=null,this['detailGrist']&&this[_0xeba504(0xf7)][_0xeba504(0x146)]&&(this[_0xeba504(0xf7)][_0xeba504(0x146)]={});let _0x5f4cb5=[...await this[_0xeba504(0x11c)][_0xeba504(0x144)](),{'name':'parentId','operator':'is_null','value':''}];return 0xf423f,await MetaApi[_0xeba504(0xf4)](_0xeba504(0xe9),_0x5f4cb5,_0x289864,_0x28e738,0xf423f,_0xeba504(0x163));}async['saveGroup'](){const _0x1edb97=a0_0x2e2043;let _0x1059ce=MetaApi[_0x1edb97(0x148)](this[_0x1edb97(0x14b)]);ValueUtil[_0x1edb97(0x124)](_0x1059ce)&&(_0x1059ce[_0x1edb97(0x165)](_0x1010ef=>{const _0xb5fcd5=_0x1edb97;void 0x0!==_0x1010ef[_0xb5fcd5(0x101)]&&null!=_0x1010ef[_0xb5fcd5(0x101)]||(_0x1010ef['hiddenFlag']=!0x1);}),await MetaApi[_0x1edb97(0xed)](_0x1edb97(0x13f),_0x1059ce)&&this[_0x1edb97(0x14b)][_0x1edb97(0x16a)]());}async[a0_0x2e2043(0x10d)](){const _0x26333b=a0_0x2e2043;await MetaApi[_0x26333b(0x14f)](this['groupGrist'],_0x26333b(0xef));}async['saveMenu'](){const _0x358766=a0_0x2e2043;let _0x37d75b=MetaApi[_0x358766(0x148)](this['detailGrist']);ValueUtil[_0x358766(0x124)](_0x37d75b)&&(_0x37d75b['forEach'](_0x247920=>{const _0x699578=_0x358766;_0x247920['menuType']=_0x247920[_0x699578(0xff)]||_0x699578(0x12d),_0x247920[_0x699578(0x134)]?(_0x247920[_0x699578(0x115)]={'id':_0x247920['parentId']},delete _0x247920[_0x699578(0x134)]):_0x247920[_0x699578(0x115)]={'id':this[_0x699578(0x109)]},void 0x0!==_0x247920[_0x699578(0x101)]&&null!=_0x247920[_0x699578(0x101)]||(_0x247920[_0x699578(0x101)]=!0x1);}),await MetaApi[_0x358766(0xed)]('updateMultipleMenu',_0x37d75b)&&this['detailGrist'][_0x358766(0x16a)]());}async['exportMenu'](_0x58d97d){const _0x2471d1=a0_0x2e2043;let _0x751ef7=MetaApi[_0x2471d1(0x121)](_0x2471d1(0x161),_0x2471d1(0x161));_0x751ef7[_0x2471d1(0x16c)]=TermsUtil[_0x2471d1(0x150)](_0x2471d1(0x117)),_0x751ef7[_0x2471d1(0x12c)]=_0x58d97d['id'],_0x751ef7[_0x2471d1(0x13e)]=_0x58d97d[_0x2471d1(0x138)],await MetaApi[_0x2471d1(0x118)](_0x58d97d[_0x2471d1(0x138)],_0x2471d1(0x100),_0x751ef7,!0x0);}async[a0_0x2e2043(0x15e)](){const _0x3acd9b=a0_0x2e2043;await MetaApi[_0x3acd9b(0x14f)](this[_0x3acd9b(0xf7)],_0x3acd9b(0xef));}async[a0_0x2e2043(0xfa)](){const _0x44dc4a=a0_0x2e2043;let _0x4d09ba=this[_0x44dc4a(0xf7)][_0x44dc4a(0x10e)];if(!_0x4d09ba||0x0==_0x4d09ba['length'])return void UiUtil[_0x44dc4a(0x160)](_0x44dc4a(0x159),_0x44dc4a(0x123),_0x44dc4a(0x169),_0x44dc4a(0x116));let _0x37db3f=_0x4d09ba[0x0];if(!_0x37db3f['id'])return;Object[_0x44dc4a(0x142)](_0x37db3f)[_0x44dc4a(0x165)](_0x3bb9fa=>{const _0x117381=_0x44dc4a;_0x3bb9fa[_0x117381(0x12a)]('__')&&delete _0x37db3f[_0x3bb9fa];});let _0x3e2337=await MetaApi[_0x44dc4a(0x16d)](_0x44dc4a(0x15c),_0x37db3f['id'],_0x44dc4a(0xf0));_0x37db3f[_0x44dc4a(0xf0)]=_0x3e2337&&_0x3e2337[_0x44dc4a(0xf0)]||'',_0x37db3f[_0x44dc4a(0x132)]=0x1869f,_0x37db3f[_0x44dc4a(0x151)]='+',_0x37db3f[_0x44dc4a(0x138)]=_0x37db3f[_0x44dc4a(0x138)]+_0x44dc4a(0x14e),_0x37db3f[_0x44dc4a(0x156)]=_0x37db3f[_0x44dc4a(0x156)]+_0x44dc4a(0x14e),_0x37db3f[_0x44dc4a(0x115)]={'id':_0x37db3f[_0x44dc4a(0x134)]},delete _0x37db3f['id'],delete _0x37db3f[_0x44dc4a(0x134)],await MetaApi[_0x44dc4a(0xed)](_0x44dc4a(0x13f),[_0x37db3f])&&this['detailGrist'][_0x44dc4a(0x16a)]();}[a0_0x2e2043(0xfe)](_0x29ae95){const _0x7e4092=a0_0x2e2043;this[_0x7e4092(0x109)]=_0x29ae95['id'],this[_0x7e4092(0xf7)]['fetch']();}async[a0_0x2e2043(0x153)](_0xbc4b8d){const _0x2d92e2=a0_0x2e2043;let _0x38914f=MetaApi[_0x2d92e2(0x121)](_0x2d92e2(0x157),_0x2d92e2(0x157));_0x38914f['title']=TermsUtil['tLabel'](_0x2d92e2(0xf0)),_0x38914f['recordId']=_0xbc4b8d['id'],await MetaApi[_0x2d92e2(0x118)](_0xbc4b8d['name'],_0x2d92e2(0x100),_0x38914f,!0x0);}['navigateMetaGenerator'](_0xc7f520){const _0x312ab6=a0_0x2e2043;MetaApi[_0x312ab6(0x113)]('meta-generator?menuId='+_0xc7f520['id']);}async[a0_0x2e2043(0x119)](){const _0x4ed32b=a0_0x2e2043;this[_0x4ed32b(0xe5)]=[MetaApi['getGristSearchColumnConfig']('name',_0x4ed32b(0xfc),'name',_0x4ed32b(0x141)),await MetaApi[_0x4ed32b(0x112)]('menuType',_0x4ed32b(0xf2),_0x4ed32b(0x133),'eq',_0x4ed32b(0x131)),MetaApi[_0x4ed32b(0x128)](_0x4ed32b(0x101),'checkbox',_0x4ed32b(0x12f),'eq'),await MetaApi[_0x4ed32b(0x112)](_0x4ed32b(0x166),_0x4ed32b(0xf2),_0x4ed32b(0x13a),'eq','MENU_TEXT_SEARCH_TYPE'),MetaApi[_0x4ed32b(0x128)](_0x4ed32b(0x14c),_0x4ed32b(0xfc),'menu_template_search_text',_0x4ed32b(0x141))],this[_0x4ed32b(0xe7)]={'rows':MetaApi[_0x4ed32b(0x125)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x4ed32b(0x149)](!0x0,!0x1),{'type':_0x4ed32b(0x11b),'gutterName':_0x4ed32b(0x155),'icon':'menu_open','handlers':{'click':(_0x3b747b,_0x39a92d,_0x20116e,_0x4c7de4,_0x5d6477)=>{const _0x1968a8=_0x4ed32b;_0x4c7de4['id']&&this[_0x1968a8(0xfe)](_0x4c7de4);}}},{'type':_0x4ed32b(0x130),'name':_0x4ed32b(0x132),'header':TermsUtil[_0x4ed32b(0x150)]('rank'),'record':{'align':'left','editable':!0x0,'format':_0x4ed32b(0x10f)},'sortable':!0x1,'width':0x3c},MetaApi[_0x4ed32b(0x154)](_0x4ed32b(0xfc),_0x4ed32b(0x138),_0x4ed32b(0x129),!0x0,!0x1,0xaf),{'type':'string','name':_0x4ed32b(0x16c),'header':TermsUtil[_0x4ed32b(0x150)]('title'),'record':{'editable':!0x1,'align':_0x4ed32b(0x129),'renderer':(_0x1161c1,_0x377f67,_0x5a2199,_0xc4ff54,_0x31f714)=>_0x5a2199['name']?TermsUtil['tMenu'](_0x5a2199[_0x4ed32b(0x138)]):''},'sortable':!0x1,'width':0xaf},await MetaApi[_0x4ed32b(0x13c)](_0x4ed32b(0xff),_0x4ed32b(0x133),'left',!0x1,0x5a,!0x0,_0x4ed32b(0x131)),MetaApi[_0x4ed32b(0xf5)](_0x4ed32b(0xfc),'iconPath','icon',_0x4ed32b(0x129),!0x0,!0x1,0x64),MetaApi[_0x4ed32b(0xf5)](_0x4ed32b(0x110),_0x4ed32b(0x101),_0x4ed32b(0x12f),_0x4ed32b(0x164),!0x0,!0x1,0x37),MetaApi[_0x4ed32b(0xf5)](_0x4ed32b(0xfc),'routing',_0x4ed32b(0x156),_0x4ed32b(0x129),!0x0,!0x1,0x78),MetaApi[_0x4ed32b(0xf5)](_0x4ed32b(0xfc),'category',_0x4ed32b(0xeb),_0x4ed32b(0x129),!0x0,!0x1,0x78),MetaApi[_0x4ed32b(0xf5)]('string',_0x4ed32b(0x11a),_0x4ed32b(0xfd),_0x4ed32b(0x129),!0x0,!0x1,0x109)]},this['detailConfig']={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x4ed32b(0x149)](!0x0,!0x1),{'type':_0x4ed32b(0x11b),'gutterName':_0x4ed32b(0x155),'icon':'download','handlers':{'click':(_0x1e26b7,_0x5744cf,_0x3fed0d,_0x1ef9e6,_0x478233)=>{const _0x4c1835=_0x4ed32b;_0x1ef9e6['id']&&this[_0x4c1835(0x14a)](_0x1ef9e6);}}},{'type':_0x4ed32b(0x11b),'gutterName':_0x4ed32b(0x155),'icon':'code','handlers':{'click':(_0x1112c2,_0x140ab5,_0x574d6b,_0x1a5ca6,_0x193a2f)=>{const _0x472e3e=_0x4ed32b;_0x1a5ca6['id']&&this[_0x472e3e(0x153)](_0x1a5ca6);}}},{'type':_0x4ed32b(0x11b),'gutterName':'button','icon':_0x4ed32b(0x158),'handlers':{'click':(_0x2fcf93,_0x2cbe79,_0x369f4c,_0x208797,_0x202cc3)=>{const _0x3f5f55=_0x4ed32b;_0x208797['id']&&this[_0x3f5f55(0xf8)](_0x208797);}}},{'type':'integer','name':_0x4ed32b(0x132),'header':TermsUtil[_0x4ed32b(0x150)](_0x4ed32b(0x132)),'record':{'align':_0x4ed32b(0x129),'editable':!0x0,'format':_0x4ed32b(0x10f)},'sortable':!0x1,'width':0x3c},MetaApi[_0x4ed32b(0x154)]('string',_0x4ed32b(0x138),_0x4ed32b(0x129),!0x0,!0x1,0xaf),{'type':'string','name':_0x4ed32b(0x16c),'header':TermsUtil[_0x4ed32b(0x150)](_0x4ed32b(0x16c)),'record':{'editable':!0x1,'align':_0x4ed32b(0x129),'renderer':(_0xa2fb1d,_0x3a1d6e,_0x34ec06,_0x34ed13,_0x172755)=>_0x34ec06['name']?TermsUtil['tMenu'](_0x34ec06['name']):''},'sortable':!0x1,'width':0xaf},await MetaApi[_0x4ed32b(0x13c)](_0x4ed32b(0xff),_0x4ed32b(0xee),_0x4ed32b(0x129),!0x1,0x5a,!0x0,_0x4ed32b(0x120)),await MetaApi['getGristCodeSelectorColumnConfig'](_0x4ed32b(0x162),_0x4ed32b(0xf9),_0x4ed32b(0x129),!0x1,0x0,!0x1,'MENU_PAGE_ROUTING_TYPE'),MetaApi[_0x4ed32b(0xf5)]('string','routing',_0x4ed32b(0x156),_0x4ed32b(0x129),!0x0,!0x1,0xaf),MetaApi[_0x4ed32b(0xf5)]('string',_0x4ed32b(0x11d),_0x4ed32b(0xeb),_0x4ed32b(0x129),!0x0,!0x1,0xaf),MetaApi[_0x4ed32b(0xf5)]('string','resourceUrl',_0x4ed32b(0xfd),_0x4ed32b(0x129),!0x0,!0x1,0x1c2),MetaApi[_0x4ed32b(0xf5)]('string','iconPath','icon','left',!0x0,!0x1,0x64),MetaApi[_0x4ed32b(0xf5)](_0x4ed32b(0x110),_0x4ed32b(0x101),_0x4ed32b(0x12f),_0x4ed32b(0x164),!0x0,!0x1,0x37),{'type':_0x4ed32b(0xfb),'name':'parent','header':TermsUtil['tLabel']('parent-menu'),'record':{'renderer':(_0x59d382,_0x3e7653,_0x4e1624,_0x18acac,_0x1b77a9)=>_0x59d382?_0x59d382[_0x4ed32b(0x138)]+'\x20('+TermsUtil[_0x4ed32b(0x10c)](_0x59d382[_0x4ed32b(0x138)])+')':'','editable':!0x0,'options':{'title':TermsUtil[_0x4ed32b(0x150)](_0x4ed32b(0xec)),'queryName':_0x4ed32b(0x10b),'pagination':{'pages':[0x3e8]},'basicArgs':{'filters':[{'name':_0x4ed32b(0x134),'operator':_0x4ed32b(0x135)}],'sortings':[{'name':_0x4ed32b(0x132),'desc':!0x1}]},'list':{'fields':['id','name']},'columns':[{'name':'id','hidden':!0x0},{'name':_0x4ed32b(0x132),'header':TermsUtil[_0x4ed32b(0x150)](_0x4ed32b(0x132)),'width':0x4b,'record':{'editable':!0x1,'format':_0x4ed32b(0x10f),'align':_0x4ed32b(0x129)},'sortable':!0x0},{'name':_0x4ed32b(0x138),'width':0x12c,'header':TermsUtil[_0x4ed32b(0x150)](_0x4ed32b(0x138)),'filter':_0x4ed32b(0x16b)},{'name':_0x4ed32b(0xf3),'width':0x15e,'header':TermsUtil[_0x4ed32b(0x150)](_0x4ed32b(0x16c)),'record':{'editable':!0x1,'renderer':function(_0x44ba18,_0x45610a,_0x5a1ef1,_0x550dac,_0x4ce956){const _0x406c22=_0x4ed32b;return TermsUtil[_0x406c22(0x10c)](_0x5a1ef1[_0x406c22(0x138)]);}}},{'type':_0x4ed32b(0x127),'name':'menuType','width':0x78,'header':TermsUtil['tLabel'](_0x4ed32b(0x133)),'record':{'editable':!0x1,'codeName':_0x4ed32b(0x131)}},{'name':_0x4ed32b(0x156),'width':0x96,'header':TermsUtil[_0x4ed32b(0x150)](_0x4ed32b(0x156)),'record':{'editable':!0x1}}],'valueField':'id','nameField':_0x4ed32b(0x138),'descriptionField':'routing'}},'width':0xc8}]};}}customElements[a0_0x2e2043(0x107)](a0_0x2e2043(0x103),DynamicMenu);