@things-factory/meta-ui 6.0.131 → 6.0.133
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-resource-code-select.js +9 -9
- package/client/component/filter/filter-grist-resource-code-select.js +10 -10
- package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
- package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
- package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +3 -3
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +5 -5
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +7 -7
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +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 +11 -11
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +5 -5
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/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/ja.json +75 -0
package/client/actions/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
const a0_0x1f4ec3=a0_0x6f80;(function(_0x8bae83,_0xe30283){const _0x395e32=a0_0x6f80,_0x74f3cf=_0x8bae83();while(!![]){try{const _0x37642f=-parseInt(_0x395e32(0xc4))/0x1+parseInt(_0x395e32(0xd5))/0x2+-parseInt(_0x395e32(0xd4))/0x3+-parseInt(_0x395e32(0xc8))/0x4*(-parseInt(_0x395e32(0xbf))/0x5)+-parseInt(_0x395e32(0xd2))/0x6*(parseInt(_0x395e32(0xc9))/0x7)+parseInt(_0x395e32(0xc7))/0x8+parseInt(_0x395e32(0xd6))/0x9*(parseInt(_0x395e32(0xc3))/0xa);if(_0x37642f===_0xe30283)break;else _0x74f3cf['push'](_0x74f3cf['shift']());}catch(_0x1055af){_0x74f3cf['push'](_0x74f3cf['shift']());}}}(a0_0x4123,0x9e9c1));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';function a0_0x4123(){const _0x24eb45=['dispatch','HEADERBAR','5SxtjeG','value','rank','get','3154860FViZxd','842773bqqKXw','liteMenus','FRONT_END','8079272BDJjBP','4366708NVgzpo','7voPmRS','meta[name=\x22application-name\x22]','appName','querySelector','landscape','UPDATE_META_UI','active','items','dynamic-menu-part','1315122JPwaHX','content','3006369BtPhew','593352ZDduap','9zTFsnt','dynamic-menu','portrait','hamburger','NAVBAR'];a0_0x4123=function(){return _0x24eb45;};return a0_0x4123();}import a0_0x1851da from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';function a0_0x6f80(_0x4a51d9,_0x16241f){const _0x41239a=a0_0x4123();return a0_0x6f80=function(_0x6f8023,_0x15ced7){_0x6f8023=_0x6f8023-0xbe;let _0x175042=_0x41239a[_0x6f8023];return _0x175042;},a0_0x6f80(_0x4a51d9,_0x16241f);}export const UPDATE_META_UI=a0_0x1f4ec3(0xce);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x18fcf3){const _0x920962=a0_0x1f4ec3;var {hovering:_0x6aceae=!!isMobileDevice(),slotTemplate:_0x5e0cfa,portraitSlotTemplate:_0x2a0459,landscapeSlotTemplate:_0x21bf63,position:_0x40522e=VIEWPART_POSITION[_0x920962(0xda)]}=_0x18fcf3||{};const {hovering:_0x4fa041}=(await clientSettingStore[_0x920962(0xc2)](_0x920962(0xd7)))?.[_0x920962(0xc0)]||{};void 0x0!==_0x4fa041&&(_0x6aceae=_0x4fa041);const _0x2aee43=_0x40522e==VIEWPART_POSITION[_0x920962(0xbe)]?'landscape':_0x920962(0xd8),_0x4e246f=(_0x920962(0xcd)==_0x2aee43?_0x21bf63:_0x2a0459)||_0x5e0cfa||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x6aceae,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x6aceae,'template':html`<dynamic-menu-part .orientation=${_0x2aee43}>${_0x4e246f}</dynamic-menu-part>`},'position':_0x40522e}),_0x6aceae&&'portrait'==_0x2aee43?HAMBURGER||(HAMBURGER={'name':_0x920962(0xd9),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0x113621=>toggleOverlay(_0x920962(0xd1),{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION[_0x920962(0xc6)]},store[_0x920962(0xdb)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x920962(0xdb)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x30aa2a){const _0x37d08f=a0_0x1f4ec3;var _0x264ef1=document[_0x37d08f(0xcc)](_0x37d08f(0xca))?.[_0x37d08f(0xd3)],_0x1ae6af=(await client['query']({'query':a0_0x1851da`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ const a0_0x5e3c9a=a0_0x11d0;(function(_0x244f03,_0x379e13){const _0xdaef14=a0_0x
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x37d08f(0xcf),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x264ef1]}],'sortings':[{'name':_0x37d08f(0xc1),'desc':!0x1}]}}))['data'][_0x37d08f(0xc5)][_0x37d08f(0xd0)];store[_0x37d08f(0xdb)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1ae6af['filter'](_0xae5ce0=>!_0xae5ce0[_0x37d08f(0xcb)]||_0xae5ce0[_0x37d08f(0xcb)]===_0x264ef1),'template':_0x30aa2a});}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2ddf8d,_0x604fb0){const _0xa44e94=a0_0x227b,_0x20b4bc=_0x2ddf8d();while(!![]){try{const _0x5cb6aa=-parseInt(_0xa44e94(0x14b))/0x1*(-parseInt(_0xa44e94(0x132))/0x2)+parseInt(_0xa44e94(0x143))/0x3*(-parseInt(_0xa44e94(0x13f))/0x4)+-parseInt(_0xa44e94(0x139))/0x5+-parseInt(_0xa44e94(0x14c))/0x6*(parseInt(_0xa44e94(0x14a))/0x7)+parseInt(_0xa44e94(0x138))/0x8+parseInt(_0xa44e94(0x14d))/0x9+-parseInt(_0xa44e94(0x13b))/0xa;if(_0x5cb6aa===_0x604fb0)break;else _0x20b4bc['push'](_0x20b4bc['shift']());}catch(_0x109909){_0x20b4bc['push'](_0x20b4bc['shift']());}}}(a0_0xafab,0x7805f));function a0_0xafab(){const _0x290be8=['5699570ywqekZ','tMenu','toLowerCase','options','172JRwPmM','change','querySelector','filter-change','27483QYgWYU','codeField','codes','tagName','name','selectorName','form\x20[name=\x22','896HsvRTt','11fgKHUg','25446IVdCiD','8821521mwOWwn','renderRoot','153990IJoLFu','large','stopPropagation','dispField','dispatchEvent','length','2704800OBGNZA','834355doyuZl','ox-grid-header'];a0_0xafab=function(){return _0x290be8;};return a0_0xafab();}function a0_0x227b(_0x3c503a,_0x1e00e6){const _0xafab74=a0_0xafab();return a0_0x227b=function(_0x227b95,_0xf25701){_0x227b95=_0x227b95-0x132;let _0x4a074b=_0xafab74[_0x227b95];return _0x4a074b;},a0_0x227b(_0x3c503a,_0x1e00e6);}import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x2fc3d6,_0x30fa62,_0x22398b){const _0x303cd9=a0_0x227b;var _0x3e715c=html`
|
|
2
2
|
<ox-resource-code-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x30fa62}
|
|
4
|
+
.options=${_0x2fc3d6[_0x303cd9(0x13e)]}
|
|
5
|
+
.confirmCallback=${_0x22398b}
|
|
6
6
|
></ox-resource-code-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x3e715c,{'backdrop':!0x0,'size':_0x303cd9(0x133),'title':TermsUtil[_0x303cd9(0x13c)](_0x2fc3d6[_0x303cd9(0x13e)][_0x303cd9(0x148)])});}export const FilterFormResourceCodeSelect=(_0x460120,_0x1fbbe4,_0x2258b5)=>{const _0x3dc622=a0_0x227b,_0xa0c67a=_0x460120[_0x3dc622(0x13e)],_0x1ed9e4=_0xa0c67a[_0x3dc622(0x145)]&&_0xa0c67a[_0x3dc622(0x145)][_0x3dc622(0x137)]>0x0?_0xa0c67a[_0x3dc622(0x145)]:void 0x0,{operator:_0x23f1ff='eq'}=_0x460120;let _0x139320=_0x1fbbe4?_0x1fbbe4[_0xa0c67a[_0x3dc622(0x144)]]:'',_0x397b98=_0x1fbbe4?_0x1fbbe4[_0xa0c67a[_0x3dc622(0x144)]]:'';if(_0xa0c67a['dispField']&&_0x1fbbe4&&_0x1ed9e4){let _0x15b812=_0x1ed9e4['filter'](_0x5e4fc6=>_0x5e4fc6['value']==_0x1fbbe4);_0x15b812&&_0x15b812['length']>0x0&&(_0x397b98=_0x15b812[0x0][_0xa0c67a[_0x3dc622(0x135)]]);}return'eq'===_0x23f1ff?html`
|
|
8
|
+
<input name='${_0x460120[_0x3dc622(0x147)]}' .value=${_0x139320} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x460120[_0x3dc622(0x147)]}_disp'
|
|
13
|
+
.value=${_0x397b98}
|
|
14
|
+
@click=${_0xdba475=>{const _0x24ac56=_0x3dc622;_0xdba475[_0x24ac56(0x134)]();const _0x146f47=_0xdba475['target'];openResourceCodeSelector(_0x460120,_0x1fbbe4,_0x4000bd=>{const _0x10184f=_0x24ac56;let _0x40e161=_0x4000bd?_0x4000bd[_0xa0c67a[_0x10184f(0x144)]]:'',_0x1728c6=_0x40e161;_0x4000bd&&_0xa0c67a['dispField']&&(_0x1728c6=_0x4000bd[_0xa0c67a[_0x10184f(0x135)]]),_0x146f47['value']=_0x1728c6,(_0x10184f(0x13a)==_0x2258b5[_0x10184f(0x146)][_0x10184f(0x13d)]()?_0x2258b5['renderRoot'][_0x10184f(0x141)]('[name=\x22'+_0x460120[_0x10184f(0x147)]+'\x22]'):_0x2258b5[_0x10184f(0x14e)][_0x10184f(0x141)](_0x10184f(0x149)+_0x460120['name']+'\x22]'))['value']=_0x40e161,_0x146f47[_0x10184f(0x136)](new Event(_0x10184f(0x140),{'bubbles':!0x0})),_0x146f47[_0x10184f(0x136)](new CustomEvent(_0x10184f(0x142),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x460120[_0x10184f(0x147)],'operator':_0x23f1ff,'value':_0x40e161}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3a5183,_0x3a284c){const _0x1310f7=a0_0x54d2,_0x13d5ce=_0x3a5183();while(!![]){try{const _0x9ba96a=-parseInt(_0x1310f7(0x20d))/0x1*(-parseInt(_0x1310f7(0x207))/0x2)+parseInt(_0x1310f7(0x1f7))/0x3+parseInt(_0x1310f7(0x20b))/0x4+-parseInt(_0x1310f7(0x201))/0x5+parseInt(_0x1310f7(0x200))/0x6*(-parseInt(_0x1310f7(0x1f5))/0x7)+-parseInt(_0x1310f7(0x1fa))/0x8*(-parseInt(_0x1310f7(0x1fb))/0x9)+parseInt(_0x1310f7(0x209))/0xa;if(_0x9ba96a===_0x3a284c)break;else _0x13d5ce['push'](_0x13d5ce['shift']());}catch(_0x16e0bd){_0x13d5ce['push'](_0x13d5ce['shift']());}}}(a0_0x12d6,0x3f5c4));function a0_0x54d2(_0x37fd94,_0x3a4445){const _0x12d627=a0_0x12d6();return a0_0x54d2=function(_0x54d2f1,_0xd9b979){_0x54d2f1=_0x54d2f1-0x1f4;let _0x2704ce=_0x12d627[_0x54d2f1];return _0x2704ce;},a0_0x54d2(_0x37fd94,_0x3a4445);}import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x12d6(){const _0x23afce=['filter','77307HfXKzT','options','codeField','184SxJhFL','128529tDIxuI','selectorName','codes','dispField','renderRoot','983772vkArGc','1676070mpwZXc','[name=\x22','value','length','change','large','94oYmIAv','record','1534660VxiMKh','querySelector','746740MLGzBP','toLowerCase','4857kutzyX','tagName','dispatchEvent','stopPropagation','tMenu','name','14stVUys'];a0_0x12d6=function(){return _0x23afce;};return a0_0x12d6();}import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x14feb3,_0x60046f,_0x109a44){const _0x28e48d=a0_0x54d2;var _0x43d249=html`
|
|
2
2
|
<ox-resource-code-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x60046f}
|
|
4
|
+
.options=${_0x14feb3[_0x28e48d(0x208)][_0x28e48d(0x1f8)]}
|
|
5
|
+
.confirmCallback=${_0x109a44}
|
|
6
6
|
></ox-resource-code-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x43d249,{'backdrop':!0x0,'size':_0x28e48d(0x206),'title':TermsUtil[_0x28e48d(0x211)](_0x14feb3['record'][_0x28e48d(0x1f8)][_0x28e48d(0x1fc)])});}export const FilterGristResourceCodeSelect=(_0x295020,_0xb30785,_0x16c28d)=>{const _0x30e5ac=a0_0x54d2,_0x5420e=_0x295020[_0x30e5ac(0x1f6)],_0x2718de=_0x295020[_0x30e5ac(0x208)][_0x30e5ac(0x1f8)],_0x48d276=_0x2718de['codes']&&_0x2718de[_0x30e5ac(0x1fd)][_0x30e5ac(0x204)]>0x0?_0x2718de[_0x30e5ac(0x1fd)]:void 0x0,{operator:_0x49f202='eq'}=_0x5420e;let _0xadbf72=_0xb30785?_0xb30785[_0x2718de[_0x30e5ac(0x1f9)]]:'',_0x465635=_0xb30785?_0xb30785[_0x2718de[_0x30e5ac(0x1f9)]]:'';if(_0x2718de[_0x30e5ac(0x1fe)]&&_0xb30785&&_0x48d276){let _0x5efa08=_0x48d276['filter'](_0x462dc9=>_0x462dc9[_0x30e5ac(0x203)]==_0xb30785);_0x5efa08&&_0x5efa08[_0x30e5ac(0x204)]>0x0&&(_0x465635=_0x5efa08[0x0][_0x2718de[_0x30e5ac(0x1fe)]]);}return'eq'===_0x49f202?html`
|
|
8
|
+
<input name='${_0x295020[_0x30e5ac(0x1f4)]}' .value=${_0xadbf72} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x295020[_0x30e5ac(0x1f4)]}_disp'
|
|
13
|
+
.value=${_0x465635}
|
|
14
|
+
@click=${_0x2f6657=>{const _0x45dc8d=_0x30e5ac;_0x2f6657[_0x45dc8d(0x210)]();const _0x128d72=_0x2f6657['target'];openResourceCodeSelector(_0x295020,_0xb30785,_0x3d2640=>{const _0x3f1d79=_0x45dc8d;let _0x410287=_0x3d2640?_0x3d2640[_0x2718de[_0x3f1d79(0x1f9)]]:'',_0x30d1ee=_0x410287;_0x3d2640&&_0x2718de[_0x3f1d79(0x1fe)]&&(_0x30d1ee=_0x3d2640[_0x2718de[_0x3f1d79(0x1fe)]]),_0x128d72[_0x3f1d79(0x203)]=_0x30d1ee,('ox-grid-header'==_0x16c28d[_0x3f1d79(0x20e)][_0x3f1d79(0x20c)]()?_0x16c28d[_0x3f1d79(0x1ff)][_0x3f1d79(0x20a)](_0x3f1d79(0x202)+_0x5420e[_0x3f1d79(0x1f4)]+'\x22]'):_0x16c28d[_0x3f1d79(0x1ff)]['querySelector']('form\x20[name=\x22'+_0x5420e[_0x3f1d79(0x1f4)]+'\x22]'))[_0x3f1d79(0x203)]=_0x410287,_0x128d72[_0x3f1d79(0x20f)](new Event(_0x3f1d79(0x205),{'bubbles':!0x0})),_0x128d72[_0x3f1d79(0x20f)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x295020[_0x3f1d79(0x1f4)],'operator':_0x49f202,'value':_0x410287}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
${this[
|
|
3
|
-
`;if(this[
|
|
4
|
-
${
|
|
5
|
-
`;}async[
|
|
1
|
+
const a0_0x5aac95=a0_0x5919;function a0_0x5919(_0x2c7091,_0x2355ef){const _0x50afb6=a0_0x50af();return a0_0x5919=function(_0x591969,_0x1e75f9){_0x591969=_0x591969-0x1b0;let _0x106299=_0x50afb6[_0x591969];return _0x106299;},a0_0x5919(_0x2c7091,_0x2355ef);}(function(_0x1439c3,_0x5acfd3){const _0x1ab392=a0_0x5919,_0x1a11d8=_0x1439c3();while(!![]){try{const _0x37d1ba=-parseInt(_0x1ab392(0x1b4))/0x1*(parseInt(_0x1ab392(0x1d2))/0x2)+-parseInt(_0x1ab392(0x1b2))/0x3+parseInt(_0x1ab392(0x1c2))/0x4*(-parseInt(_0x1ab392(0x1b0))/0x5)+-parseInt(_0x1ab392(0x1ce))/0x6*(parseInt(_0x1ab392(0x1d3))/0x7)+parseInt(_0x1ab392(0x1be))/0x8*(parseInt(_0x1ab392(0x1d1))/0x9)+parseInt(_0x1ab392(0x1cd))/0xa*(-parseInt(_0x1ab392(0x1c3))/0xb)+-parseInt(_0x1ab392(0x1c6))/0xc*(-parseInt(_0x1ab392(0x1cc))/0xd);if(_0x37d1ba===_0x5acfd3)break;else _0x1a11d8['push'](_0x1a11d8['shift']());}catch(_0x351a2e){_0x1a11d8['push'](_0x1a11d8['shift']());}}}(a0_0x50af,0x730de));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x50af(){const _0x2d3a09=['2388ScoNdP','value','dispField','popup','firstUpdated','openSelector','195754jLHCma','43370IJPWDk','6SPdTwj','codeField','push','9NjrRjr','1703386JYUqmj','3858603OFxKRG','column','30oHUZgg','options','513630qGRxQQ','Enter','1AWFzIR','define','dispatchEvent','display','ox-grist-editor-resource-code-selector','key','editorTemplate','row','length','field-change','3872832DTpCen','record','tMenu','filter','395916szkbtq','2134XSRjPL','bind','codes'];a0_0x50af=function(){return _0x2d3a09;};return a0_0x50af();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../selector/ox-resource-code-selector-popup';export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x5aac95(0x1ba)](){const _0x1744ca=a0_0x5aac95;let _0x21e0a1,_0x35b1b8=this[_0x1744ca(0x1d4)][_0x1744ca(0x1bf)]['options'][_0x1744ca(0x1c5)]||[];if(!this[_0x1744ca(0x1d4)][_0x1744ca(0x1bf)][_0x1744ca(0x1b1)][_0x1744ca(0x1c8)])return html`
|
|
2
|
+
${this['value']?html` <span tabindex="0" style="flex:1">${this[_0x1744ca(0x1c7)]}</span> `:html`<span tabindex="0"></span>`}
|
|
3
|
+
`;if(this[_0x1744ca(0x1c7)]&&this[_0x1744ca(0x1c7)][_0x1744ca(0x1bc)]>0x0){let _0x4130e6=_0x35b1b8[_0x1744ca(0x1c1)](_0x202a9c=>_0x202a9c[_0x1744ca(0x1c7)]===this[_0x1744ca(0x1c7)]);_0x21e0a1=_0x4130e6&&_0x4130e6[_0x1744ca(0x1bc)]>0x0?_0x4130e6[0x0][_0x1744ca(0x1b7)]:'';}return html`
|
|
4
|
+
${_0x21e0a1?html` <span tabindex="0" style="flex:1">${_0x21e0a1}</span> `:html`<span tabindex="0"></span>`}
|
|
5
|
+
`;}async[a0_0x5aac95(0x1ca)](){super['firstUpdated']();}['_onclick'](_0x3a2054){const _0xb5c8d2=a0_0x5aac95;_0x3a2054['stopPropagation'](),this[_0xb5c8d2(0x1cb)]();}['_onkeydown'](_0x3dcf3b){const _0x1b4407=a0_0x5aac95;_0x1b4407(0x1b3)==_0x3dcf3b[_0x1b4407(0x1b9)]&&(_0x3dcf3b['stopPropagation'](),this['openSelector']());}[a0_0x5aac95(0x1cb)](){const _0x5164d0=a0_0x5aac95;this[_0x5164d0(0x1c9)]&&delete this['popup'];var {selectorName:_0x17830c=''}=this[_0x5164d0(0x1d4)][_0x5164d0(0x1bf)][_0x5164d0(0x1b1)]||{},_0x105696=html`
|
|
6
6
|
<ox-resource-code-selector-popup
|
|
7
|
-
.value=${this[
|
|
8
|
-
.options=${this[
|
|
9
|
-
.confirmCallback=${(
|
|
7
|
+
.value=${this[_0x5164d0(0x1c7)]}
|
|
8
|
+
.options=${this[_0x5164d0(0x1d4)][_0x5164d0(0x1bf)][_0x5164d0(0x1b1)]}
|
|
9
|
+
.confirmCallback=${(_0x2a9708=>{const _0x3ef080=_0x5164d0;let _0x363282=this[_0x3ef080(0x1d4)]['record']['options'][_0x3ef080(0x1cf)],_0x177703=this['column'][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c8)];this[_0x3ef080(0x1d4)][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)]||(this[_0x3ef080(0x1d4)]['record'][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)]=[]);let _0x4e9435=this['column'][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)][_0x3ef080(0x1c1)](_0x2ac0c9=>_0x2ac0c9[_0x3ef080(0x1c7)]==_0x2a9708[_0x363282]);_0x4e9435&&0x0!=_0x4e9435[_0x3ef080(0x1bc)]||this[_0x3ef080(0x1d4)][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)][_0x3ef080(0x1d0)]({'value':_0x2a9708[_0x363282],'display':_0x2a9708[_0x177703]}),this[_0x3ef080(0x1b6)](new CustomEvent(_0x3ef080(0x1bd),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3ef080(0x1c7)],'after':_0x2a9708?_0x2a9708[_0x363282]:null,'record':this['record'],'column':this[_0x3ef080(0x1d4)],'row':this[_0x3ef080(0x1bb)]}}));})[_0x5164d0(0x1c4)](this)}
|
|
10
10
|
></ox-resource-code-selector-popup>
|
|
11
|
-
`;this[
|
|
11
|
+
`;this[_0x5164d0(0x1c9)]=openPopup(_0x105696,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x5164d0(0x1c0)](_0x17830c)});}}customElements[a0_0x5aac95(0x1b5)](a0_0x5aac95(0x1b8),OxGristEditorResourceCodeSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x4b63(){const _0x5ed650=['length','402189seydHK','textContent','2905931FEVfCQ','setAttribute','codes','options','2607696iHOtOH','data-tooltip','7565NHTpuo','558414kABJdM','dispField','record','8QTJKFv','641770vMcDhp','1948FVbwOx','target','675886oLEogi'];a0_0x4b63=function(){return _0x5ed650;};return a0_0x4b63();}(function(_0x18da68,_0x5d729a){const _0xf6ebea=a0_0x18c1,_0x41c53c=_0x18da68();while(!![]){try{const _0x5aa7c6=parseInt(_0xf6ebea(0x191))/0x1+-parseInt(_0xf6ebea(0x1a0))/0x2+parseInt(_0xf6ebea(0x193))/0x3+parseInt(_0xf6ebea(0x1a1))/0x4*(parseInt(_0xf6ebea(0x19b))/0x5)+-parseInt(_0xf6ebea(0x19c))/0x6+-parseInt(_0xf6ebea(0x195))/0x7*(parseInt(_0xf6ebea(0x19f))/0x8)+-parseInt(_0xf6ebea(0x199))/0x9;if(_0x5aa7c6===_0x5d729a)break;else _0x41c53c['push'](_0x41c53c['shift']());}catch(_0x1c0e31){_0x41c53c['push'](_0x41c53c['shift']());}}}(a0_0x4b63,0x687ad));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x42e1d5){const _0xae6806=a0_0x18c1,_0x34317c=_0x42e1d5[_0xae6806(0x1a2)];detectOverflow(_0x34317c)&&_0x34317c[_0xae6806(0x196)](_0xae6806(0x19a),_0x34317c[_0xae6806(0x194)]);}function a0_0x18c1(_0x23ead2,_0x9b7cc7){const _0x4b63ec=a0_0x4b63();return a0_0x18c1=function(_0x18c114,_0x41832b){_0x18c114=_0x18c114-0x191;let _0x2230fd=_0x4b63ec[_0x18c114];return _0x2230fd;},a0_0x18c1(_0x23ead2,_0x9b7cc7);}function onmouseout(_0x451f38){const _0xa2b810=a0_0x18c1;_0x451f38[_0xa2b810(0x1a2)]['removeAttribute'](_0xa2b810(0x19a));}export const OxGristRendererResourceCodeSelector=(_0x2fc31c,_0x2d48f6,_0x3de7c2,_0x52cbe2,_0x5d0057)=>{const _0x30cce6=a0_0x18c1;if(!_0x2d48f6[_0x30cce6(0x19e)][_0x30cce6(0x198)][_0x30cce6(0x19d)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2fc31c}</span>`;_0x2d48f6[_0x30cce6(0x19e)]['options'][_0x30cce6(0x197)]||(_0x2d48f6[_0x30cce6(0x19e)]['options'][_0x30cce6(0x197)]=[]);let _0x5643c3='';if(_0x2fc31c&&_0x2fc31c[_0x30cce6(0x192)]>0x0){let _0x1030e9=_0x2d48f6['record'][_0x30cce6(0x198)][_0x30cce6(0x197)]['filter'](_0x415e0c=>_0x415e0c['value']===_0x2fc31c);_0x5643c3=_0x1030e9&&_0x1030e9[_0x30cce6(0x192)]>0x0?_0x1030e9[0x0]['display']:_0x2fc31c;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5643c3}</span>`;};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x367b74=a0_0x39cc;(function(_0x59f9f4,_0x27e3f5){const _0x3fad56=a0_0x39cc,_0x261ae0=_0x59f9f4();while(!![]){try{const _0xbde195=parseInt(_0x3fad56(0x1ee))/0x1*(parseInt(_0x3fad56(0x1e3))/0x2)+parseInt(_0x3fad56(0x1cf))/0x3*(-parseInt(_0x3fad56(0x1f8))/0x4)+parseInt(_0x3fad56(0x1c6))/0x5+parseInt(_0x3fad56(0x1f7))/0x6+parseInt(_0x3fad56(0x1da))/0x7*(-parseInt(_0x3fad56(0x1d2))/0x8)+parseInt(_0x3fad56(0x1f2))/0x9+-parseInt(_0x3fad56(0x1df))/0xa*(-parseInt(_0x3fad56(0x1ea))/0xb);if(_0xbde195===_0x27e3f5)break;else _0x261ae0['push'](_0x261ae0['shift']());}catch(_0x363478){_0x261ae0['push'](_0x261ae0['shift']());}}}(a0_0x30d3,0x9d233));import{css,html,LitElement}from'lit';function a0_0x30d3(){const _0x3430ed=['3892572djDPir','forEach','code','filters','clickSelect','4072176wRJMRW','2479328kKRsVB','getGristColumnConfig2','codes','select','record','name','info','resource-object','define','grist','fetchHandler','empty','selectRecord','clickCancel','1389755ZTBDJJ','queryName','push','resource-code-selector','filter','getSelectColumns','length','getCodeByScenario','options','3tIduUt','confirmCallback','header','32DZJKtH','dispField','map','left','firstUpdated','clickEmpty','getGristPagination100Config','shadowRoot','958426NoLrTW','tText','gridConfig','filterFields','connectedCallback','10rLiuIn','values','object','bind','4zGzqqv','type','NOTHING_SELECTED','string','showToast','getCodeByEntity','codeField','3326466bNIwQj','searchByPagination','sorters','tLabel','59789CDBEKN','styles','isArray','tButton'];a0_0x30d3=function(){return _0x3430ed;};return a0_0x30d3();}import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../../utils/terms-util';function a0_0x39cc(_0x5afea2,_0x4b4e4e){const _0x30d3bd=a0_0x30d3();return a0_0x39cc=function(_0x39cc22,_0x1b92a3){_0x39cc22=_0x39cc22-0x1b9;let _0x5e5db5=_0x30d3bd[_0x39cc22];return _0x5e5db5;},a0_0x39cc(_0x5afea2,_0x4b4e4e);}import{ValueUtil}from'../../../utils/value-util';import{ServiceUtil}from'../../../utils/service-util';import{MetaApi}from'../../../utils/meta-api';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class OxResourceCodeSelectorPopup extends LitElement{static [a0_0x367b74(0x1ef)]=[CommonGristStyles,ButtonContainerStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -17,9 +17,9 @@ const a0_0x40ffc7=a0_0x569d;(function(_0x2e0c5c,_0x36e4e1){const _0x4c6bc0=a0_0x
|
|
|
17
17
|
display: flex;
|
|
18
18
|
margin-left: auto;
|
|
19
19
|
}
|
|
20
|
-
`];async[
|
|
21
|
-
<ox-grist id="ox-grist" .config=${this[
|
|
22
|
-
.fetchHandler=${this[
|
|
20
|
+
`];async[a0_0x367b74(0x1de)](){const _0x1e6200=a0_0x367b74;this['search_hidden_fields']=this[_0x1e6200(0x1ce)][_0x1e6200(0x1f5)]||[];let _0x33a792=[...MetaApi['getGristGuttersConfig'](!0x0,!0x1)],_0x235075=(this[_0x1e6200(0x1ce)]['filterFields']&&this['options'][_0x1e6200(0x1dd)]['length']>0x0?this['options'][_0x1e6200(0x1dd)]:[this[_0x1e6200(0x1ce)][_0x1e6200(0x1e9)]])[_0x1e6200(0x1d4)](_0x5f1504=>{const _0xe3bfb2=_0x1e6200;let {name:_0x4d286e,operator:_0x4b5a57='eq'}=_0xe3bfb2(0x1e1)==typeof _0x5f1504?_0x5f1504:{'name':_0x5f1504};return{'name':_0x4d286e,'operator':_0x4b5a57};});if(this[_0x1e6200(0x1ce)][_0x1e6200(0x1bb)]&&this['options']['select']['length']>0x0)for(let _0x2f2a32=0x0;_0x2f2a32<this['options'][_0x1e6200(0x1bb)]['length'];_0x2f2a32++){let {type:_0x436a20=_0x1e6200(0x1e6),name:_0x33173a,hidden:_0x71053b=!0x1,align:_0xec4cd3=_0x1e6200(0x1d5),header:_0x4ea902,sortable:_0x58f5bd=!0x1,width:_0x5b3dc0=0x87,options:_0x244cde}=this[_0x1e6200(0x1ce)][_0x1e6200(0x1bb)][_0x2f2a32];if(0x1==_0x71053b)_0x33a792[_0x1e6200(0x1c8)]({'type':'string','name':_0x33173a,'hidden':!0x0});else{let _0x35ce51=MetaApi[_0x1e6200(0x1b9)](_0x436a20,_0x33173a,_0x4ea902||_0x33173a,_0xec4cd3,!0x1,_0x58f5bd,_0x5b3dc0);_0x1e6200(0x1bb)===_0x436a20?Array[_0x1e6200(0x1f0)](_0x244cde)?_0x35ce51[_0x1e6200(0x1bc)][_0x1e6200(0x1ce)]=_0x244cde:_0x1e6200(0x1f4)===_0x244cde[_0x1e6200(0x1e4)]?_0x35ce51[_0x1e6200(0x1bc)][_0x1e6200(0x1ce)]=await ServiceUtil['getCodeSelectorData'](_0x244cde[_0x1e6200(0x1e0)]?_0x244cde[_0x1e6200(0x1e0)]:_0x244cde[_0x1e6200(0x1bd)]):'scenario'===_0x244cde[_0x1e6200(0x1e4)]?_0x35ce51[_0x1e6200(0x1bc)][_0x1e6200(0x1ce)]=await ServiceUtil[_0x1e6200(0x1cd)](_0x244cde['name'],_0x244cde['args']):'entity'===_0x244cde[_0x1e6200(0x1e4)]&&(_0x35ce51[_0x1e6200(0x1bc)][_0x1e6200(0x1ce)]=await ServiceUtil[_0x1e6200(0x1e8)](_0x244cde['args'])):_0x1e6200(0x1e1)===_0x436a20||_0x1e6200(0x1bf)===_0x436a20?(_0x244cde['select']&&_0x244cde['select'][_0x1e6200(0x1f3)](_0x31e3c1=>{const _0x5164d1=_0x1e6200;_0x31e3c1[_0x5164d1(0x1d1)]||(_0x31e3c1[_0x5164d1(0x1d1)]=_0x31e3c1[_0x5164d1(0x1bd)]),_0x31e3c1[_0x5164d1(0x1d1)]=TermsUtil[_0x5164d1(0x1ed)](_0x31e3c1[_0x5164d1(0x1d1)]);}),_0x35ce51[_0x1e6200(0x1bc)][_0x1e6200(0x1ce)]=_0x244cde):_0x1e6200(0x1c9)==_0x436a20&&(_0x35ce51[_0x1e6200(0x1bc)][_0x1e6200(0x1ce)]=object_opt,_0x35ce51[_0x1e6200(0x1bc)][_0x1e6200(0x1ce)][_0x1e6200(0x1ba)]=await ServiceUtil[_0x1e6200(0x1e8)](object_opt)),_0x33a792['push'](_0x35ce51);}}else _0x33a792[_0x1e6200(0x1c8)](MetaApi[_0x1e6200(0x1b9)](_0x1e6200(0x1e6),this[_0x1e6200(0x1ce)][_0x1e6200(0x1e9)],this['options'][_0x1e6200(0x1e9)],_0x1e6200(0x1d5),!0x1,!0x0,0xb4)),this[_0x1e6200(0x1ce)][_0x1e6200(0x1d3)]&&_0x33a792[_0x1e6200(0x1c8)](MetaApi[_0x1e6200(0x1b9)]('string',this['options']['dispField'],this['options'][_0x1e6200(0x1d3)],_0x1e6200(0x1d5),!0x1,!0x0,0x12c));_0x33a792[_0x1e6200(0x1f3)](_0x1614b5=>{const _0x3e432b=_0x1e6200;let _0x32bd55=_0x235075['filter'](_0x4e1253=>_0x1614b5['name']==_0x4e1253[_0x3e432b(0x1bd)]);_0x32bd55&&_0x32bd55[_0x3e432b(0x1cc)]>0x0&&(_0x1614b5[_0x3e432b(0x1ca)]=_0x32bd55);});let _0x48e008={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x1e6200(0x1d8)](),'appendable':!0x1,'columns':_0x33a792,'sorters':[...this[_0x1e6200(0x1ce)][_0x1e6200(0x1ec)]||[]]};_0x48e008['rows']['handlers']={'click':'select-row-toggle','dblclick':(_0x1a42a0,_0x5d1a06,_0x1707c9,_0x4157fa,_0xd62161,_0x552f06)=>{const _0x1b4464=_0x1e6200;this[_0x1b4464(0x1c4)](_0x4157fa);}},this[_0x1e6200(0x1dc)]=_0x48e008,await super[_0x1e6200(0x1de)]();}async['firstUpdated'](){const _0x17ffc5=a0_0x367b74;await super[_0x17ffc5(0x1d6)]();}['render'](){const _0x173ceb=a0_0x367b74;return html`
|
|
21
|
+
<ox-grist id="ox-grist" .config=${this[_0x173ceb(0x1dc)]} .mode=${isMobileDevice()?'LIST':'GRID'} auto-fetch
|
|
22
|
+
.fetchHandler=${this[_0x173ceb(0x1c2)]['bind'](this)}>
|
|
23
23
|
<div slot="headroom">
|
|
24
24
|
<div id="filters">
|
|
25
25
|
<ox-filters-form></ox-filters-form>
|
|
@@ -27,14 +27,14 @@ const a0_0x40ffc7=a0_0x569d;(function(_0x2e0c5c,_0x36e4e1){const _0x4c6bc0=a0_0x
|
|
|
27
27
|
</div>
|
|
28
28
|
</ox-grist>
|
|
29
29
|
<div id="button-container" class="button-container">
|
|
30
|
-
<mwc-button raised label="${TermsUtil[
|
|
31
|
-
@click=${this[
|
|
30
|
+
<mwc-button raised label="${TermsUtil['tButton'](_0x173ceb(0x1c3))}" style="margin-left:7px;margin-top:7px;"
|
|
31
|
+
@click=${this[_0x173ceb(0x1d7)][_0x173ceb(0x1e2)](this)}>
|
|
32
32
|
</mwc-button>
|
|
33
|
-
<mwc-button raised label="${TermsUtil[
|
|
34
|
-
@click=${this[
|
|
33
|
+
<mwc-button raised label="${TermsUtil[_0x173ceb(0x1f1)]('cancel')}" style="margin-left:7px;margin-top:7px;"
|
|
34
|
+
@click=${this[_0x173ceb(0x1c5)][_0x173ceb(0x1e2)](this)}>
|
|
35
35
|
</mwc-button>
|
|
36
|
-
<mwc-button raised label="${TermsUtil[
|
|
37
|
-
@click=${this[
|
|
36
|
+
<mwc-button raised label="${TermsUtil[_0x173ceb(0x1f1)](_0x173ceb(0x1bb))}" style="margin-left:7px;margin-top:7px;"
|
|
37
|
+
@click=${this[_0x173ceb(0x1f6)][_0x173ceb(0x1e2)](this)}>
|
|
38
38
|
</mwc-button>
|
|
39
39
|
</div>
|
|
40
|
-
`;}get[
|
|
40
|
+
`;}get[a0_0x367b74(0x1c1)](){const _0x4da763=a0_0x367b74;return this[_0x4da763(0x1d9)]['querySelector']('#ox-grist');}async[a0_0x367b74(0x1c2)]({page:_0x54b1e1=0x0,limit:_0x50fa3e=0x0,sorters:_0x48055d=[],filters:_0x4b3d0b=[]}){const _0x495165=a0_0x367b74;let _0x2e7d69=[...this['search_hidden_fields']];_0x4b3d0b[_0x495165(0x1f3)](_0x84b8ae=>{const _0x5c1b10=_0x495165;let _0x400423=_0x2e7d69['filter'](_0x2bac1b=>_0x84b8ae[_0x5c1b10(0x1bd)]==_0x2bac1b[_0x5c1b10(0x1bd)]);_0x400423&&_0x400423[_0x5c1b10(0x1cc)]>0x0&&delete _0x2e7d69[_0x84b8ae['name']],_0x2e7d69['push'](_0x84b8ae);});let _0x3ff6a3=MetaApi[_0x495165(0x1cb)](this[_0x495165(0x1dc)]['columns']);return await MetaApi[_0x495165(0x1eb)](this[_0x495165(0x1ce)][_0x495165(0x1c7)],_0x2e7d69,_0x48055d,_0x54b1e1,_0x50fa3e,_0x3ff6a3);}async[a0_0x367b74(0x1d7)](_0x49677c){const _0x203b18=a0_0x367b74;this[_0x203b18(0x1d0)]&&this[_0x203b18(0x1d0)](null),closePopup(this);}async[a0_0x367b74(0x1c5)](_0x4ca516){closePopup(this);}async['clickSelect'](_0x1b90b3){const _0x231d57=a0_0x367b74;let _0x4a76a3=this[_0x231d57(0x1c1)]['selected'];_0x4a76a3&&0x0!=_0x4a76a3[_0x231d57(0x1cc)]?this['selectRecord'](_0x4a76a3[0x0]):MetaApi[_0x231d57(0x1e7)](_0x231d57(0x1be),TermsUtil[_0x231d57(0x1db)](_0x231d57(0x1e5)));}async[a0_0x367b74(0x1c4)](_0x138eae){const _0x26fcbf=a0_0x367b74;this[_0x26fcbf(0x1d0)]&&this['confirmCallback'](_0x138eae),closePopup(this);}}customElements[a0_0x367b74(0x1c0)]('ox-resource-code-selector-popup',OxResourceCodeSelectorPopup);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2812c5=a0_0x5dd8;(function(_0x2043fc,_0x6148ba){const _0x54c2c8=a0_0x5dd8,_0x50133b=_0x2043fc();while(!![]){try{const _0x3eade7=-parseInt(_0x54c2c8(0x1cf))/0x1+-parseInt(_0x54c2c8(0x1cd))/0x2+-parseInt(_0x54c2c8(0x1cc))/0x3+-parseInt(_0x54c2c8(0x1d3))/0x4*(-parseInt(_0x54c2c8(0x1de))/0x5)+-parseInt(_0x54c2c8(0x1c1))/0x6+-parseInt(_0x54c2c8(0x1da))/0x7+parseInt(_0x54c2c8(0x1d7))/0x8;if(_0x3eade7===_0x6148ba)break;else _0x50133b['push'](_0x50133b['shift']());}catch(_0x426c90){_0x50133b['push'](_0x50133b['shift']());}}}(a0_0x384d,0xe7bd1));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x384d(){const _0x53d8cd=['1984941ghzApz','244430naGtGs','isDetail','681798ZpiDDh','lifecycle','after','excuteOpenPopupButtonClick','4SXzHOk','pageUpdated','parent_id','setParentId','26015064tWpJhZ','parseBasicServiceConfigs','parseBasicButtonConfigs','124187mlKaYu','params','fetch','filterForm','814945aoaVQe','name','parseBasicTabConfigs','grist','active','errors','is_detail','isPopup','getAndParseMenuMeta','parseBasicFormConfigs','is_popup','isPage','isNotEmpty','5893620PvOjRw','title_detail','openDynamicPopup','parseBasicGridConfigs','callScenario','fetchHandler','title','getParams','getMenuMeta','menuInfo','split'];a0_0x384d=function(){return _0x53d8cd;};return a0_0x384d();}function a0_0x5dd8(_0x33ada7,_0x45c5b8){const _0x384d29=a0_0x384d();return a0_0x5dd8=function(_0x5dd8d6,_0x4f2b94){_0x5dd8d6=_0x5dd8d6-0x1bf;let _0x2bd42c=_0x384d29[_0x5dd8d6];return _0x2bd42c;},a0_0x5dd8(_0x33ada7,_0x45c5b8);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x5b4573=>class extends _0x5b4573{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x139394=>Boolean(_0x139394)},'is_popup':{'type':Boolean,'converter':_0x406538=>Boolean(_0x406538)},'is_activity':{'type':Boolean,'converter':_0x2346a9=>Boolean(_0x2346a9)},'is_readonly':{'type':Boolean,'converter':_0x49e9c5=>Boolean(_0x49e9c5)}};}get['isElement'](){const _0x56cef6=a0_0x5dd8;return!0x0===this[_0x56cef6(0x1e4)]||!0x0===this[_0x56cef6(0x1e8)];}get[a0_0x2812c5(0x1ce)](){const _0x104379=a0_0x2812c5;return!ValueUtil['isEmpty'](this[_0x104379(0x1e4)])&&this[_0x104379(0x1e4)];}async[a0_0x2812c5(0x1d4)](_0x45d47b,_0x58de26,_0x4424a0){const _0x3c24c3=a0_0x2812c5;let _0x11c239=this[_0x3c24c3(0x1d0)]?.['params']?this[_0x3c24c3(0x1d0)][_0x3c24c3(0x1db)]:{};this['isPage']&&this[_0x3c24c3(0x1e2)]&&0x0==_0x4424a0['active']&&ValueUtil[_0x3c24c3(0x1c0)](_0x11c239)&&this[_0x3c24c3(0x1dc)]();}get[a0_0x2812c5(0x1e5)](){const _0x5848e4=a0_0x2812c5;return!ValueUtil['isEmpty'](this[_0x5848e4(0x1e8)])&&this[_0x5848e4(0x1e8)];}get[a0_0x2812c5(0x1bf)](){const _0x4d14af=a0_0x2812c5;return!this[_0x4d14af(0x1e4)]&&!this[_0x4d14af(0x1e8)];}async[a0_0x2812c5(0x1e6)](){const _0xfcf125=a0_0x2812c5;let _0x2430f3=await MetaApi[_0xfcf125(0x1c9)](this);_0x2430f3&&(this[_0xfcf125(0x1ca)]=_0x2430f3['menu'],this['etcConfig']=_0x2430f3['etc'],this[_0xfcf125(0x1c4)]&&this[_0xfcf125(0x1c4)](_0x2430f3),this[_0xfcf125(0x1d8)]&&this[_0xfcf125(0x1d8)](_0x2430f3),this[_0xfcf125(0x1e7)]&&this[_0xfcf125(0x1e7)](_0x2430f3),this['parseBasicTabConfigs']&&this[_0xfcf125(0x1e0)](_0x2430f3),this[_0xfcf125(0x1d9)]&&this[_0xfcf125(0x1d9)](_0x2430f3));}async[a0_0x2812c5(0x1dc)](){const _0x4d8295=a0_0x2812c5;ValueUtil[_0x4d8295(0x1c0)](this[_0x4d8295(0x1e1)])?this[_0x4d8295(0x1e1)][_0x4d8295(0x1dc)]():(ValueUtil['isNotEmpty'](this[_0x4d8295(0x1dd)])||this[_0x4d8295(0x1c6)])&&await this['fetchHandler']();}async[a0_0x2812c5(0x1d2)](_0x5857e6,_0x42785d,_0x17ea65){const _0x56de00=a0_0x2812c5;let _0x152ab9=TermsUtil['tTitle'](_0x5857e6[_0x56de00(0x1c7)]);ValueUtil[_0x56de00(0x1c0)](_0x5857e6[_0x56de00(0x1c2)])&&(_0x152ab9=_0x152ab9+'-'+ValueUtil[_0x56de00(0x1c8)](_0x42785d,..._0x5857e6['title_detail'][_0x56de00(0x1cb)]('.'))),MetaApi[_0x56de00(0x1c3)](_0x152ab9,_0x5857e6,_0x42785d,_0x17ea65);}async['executeCallScenarioButtonClick'](_0x34166f,_0x179f65,_0xf4d9d0){const _0x298566=a0_0x2812c5;let _0x4b9f9a=await MetaApi[_0x298566(0x1c5)](_0x34166f[_0x298566(0x1df)],_0x34166f[_0x298566(0x1df)],_0x179f65);!0x1!==_0x4b9f9a&&!_0x4b9f9a[_0x298566(0x1e3)]&&ValueUtil[_0x298566(0x1c0)](_0x34166f[_0x298566(0x1d1)])&&_0xf4d9d0();}[a0_0x2812c5(0x1d6)](_0x543cb3){const _0x4f53d8=a0_0x2812c5;this[_0x4f53d8(0x1d5)]=_0x543cb3,this[_0x4f53d8(0x1dc)]();}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x4ea7c2=a0_0x36df;(function(_0xcf24fd,_0x1b294a){const _0x28e638=a0_0x36df,_0x4673f4=_0xcf24fd();while(!![]){try{const _0x164c40=parseInt(_0x28e638(0xe6))/0x1*(parseInt(_0x28e638(0xce))/0x2)+parseInt(_0x28e638(0xc3))/0x3*(parseInt(_0x28e638(0xe8))/0x4)+-parseInt(_0x28e638(0xd9))/0x5*(parseInt(_0x28e638(0xc4))/0x6)+parseInt(_0x28e638(0xd5))/0x7+parseInt(_0x28e638(0xf0))/0x8+parseInt(_0x28e638(0xd8))/0x9+parseInt(_0x28e638(0xea))/0xa*(-parseInt(_0x28e638(0xb5))/0xb);if(_0x164c40===_0x1b294a)break;else _0x4673f4['push'](_0x4673f4['shift']());}catch(_0x599a58){_0x4673f4['push'](_0x4673f4['shift']());}}}(a0_0x4820,0x26648));function a0_0x36df(_0xe2d202,_0x3da2e2){const _0x48208c=a0_0x4820();return a0_0x36df=function(_0x36dffc,_0x2774ac){_0x36dffc=_0x36dffc-0xb0;let _0x22fd46=_0x48208c[_0x36dffc];return _0x22fd46;},a0_0x36df(_0xe2d202,_0x3da2e2);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4820(){const _0x57326f=['search','patchesForUpdateMultiple','dataSet','parseGristConfigs','gridConfig','filterFormId','gristConfigSet','isNotEmpty','5608FbdAhq','parse','forEach','export','firstUpdated','clear','connectedCallback','493570RoiEEl','delete','context','83115BrGsts','1462295uLXUIA','updateMultiple','exportableData','properties','isPage','getParams','grist','getData','getSelectedIdList','parseGridConfigSet','title','save','styles','79onxmEt','filterForm','16mhItsC','shadowRoot','23710sUdwJH','getContextObject','render','fetch','find','isElement','1696144LhOxmR','searchConfig','grid_column','grid','gristId','parseBasicGridConfigs','1320UEjQQr','import','activityDataSet','pageInitialized','renderRoot','gridColumnConfig','ox-grist','findOne','___data','menuInfo','keys','getAndParseMenuMeta','startsWith','querySelector','165717ndQkjK','6hsdZwu','stringify'];a0_0x4820=function(){return _0x57326f;};return a0_0x4820();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x307534=>class extends MetaButtonMixin(_0x307534){static get[a0_0x4ea7c2(0xe5)](){return MetaApi['getBasicGristStyles']();}static get[a0_0x4ea7c2(0xdc)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0x2260cc=a0_0x4ea7c2;return this[_0x2260cc(0xb9)]?.[_0x2260cc(0xc2)](this['gristId']);}get[a0_0x4ea7c2(0xe7)](){const _0xae09ca=a0_0x4ea7c2;return this[_0xae09ca(0xe9)]?.[_0xae09ca(0xc2)](this['filterFormId']);}get[a0_0x4ea7c2(0xd7)](){const _0x417a2f=a0_0x4ea7c2;return MetaUiUtil[_0x417a2f(0xeb)](this);}async[a0_0x4ea7c2(0xd4)](){const _0xdae477=a0_0x4ea7c2;this[_0xdae477(0xb3)]=_0xdae477(0xbb),this[_0xdae477(0xcb)]='ox-filters-form',await this[_0xdae477(0xc0)](),this['isElement']&&await this['parseGristConfigs'](),this[_0xdae477(0xb7)]&&(this[_0xdae477(0xc8)]=this['activityDataSet']),super[_0xdae477(0xd4)]&&await super[_0xdae477(0xd4)]();}async[a0_0x4ea7c2(0xd2)](){const _0xa30456=a0_0x4ea7c2;super[_0xa30456(0xd2)]&&await super[_0xa30456(0xd2)]();}async['pageInitialized'](){const _0x3a97b9=a0_0x4ea7c2;this[_0x3a97b9(0xdd)]&&await this['parseGristConfigs'](),super[_0x3a97b9(0xb8)]&&await super[_0x3a97b9(0xb8)]();}[a0_0x4ea7c2(0xec)](){return html`
|
|
2
2
|
${MetaApi['getBasicGristHtml'](this)}
|
|
3
|
-
${this[
|
|
4
|
-
`;}[
|
|
3
|
+
${this['isPage']?html``:MetaUiUtil['getButtonContainer'](this)}
|
|
4
|
+
`;}[a0_0x4ea7c2(0xb4)](_0x2b52b8){const _0x9be540=a0_0x4ea7c2;this[_0x9be540(0xca)]=_0x2b52b8[_0x9be540(0xb2)],this[_0x9be540(0xba)]=_0x2b52b8[_0x9be540(0xb1)],this[_0x9be540(0xb0)]=_0x2b52b8[_0x9be540(0xc6)];}async[a0_0x4ea7c2(0xc9)](){const _0x3ad85c=a0_0x4ea7c2;this[_0x3ad85c(0xcc)]=await MetaApi[_0x3ad85c(0xe2)](this);}async[a0_0x4ea7c2(0xed)](){await this['grist']['fetch']();}async[a0_0x4ea7c2(0xe4)](){const _0x2587f2=a0_0x4ea7c2;let _0x4ef1a5=MetaApi[_0x2587f2(0xc7)](this[_0x2587f2(0xdf)]);!!ValueUtil['isNotEmpty'](_0x4ef1a5)&&await this[_0x2587f2(0xda)](_0x4ef1a5)&&this['fetch']();}async[a0_0x4ea7c2(0xee)](){const _0x4a61a1=a0_0x4ea7c2;let _0x1e96c8=MetaApi[_0x4a61a1(0xe1)](this[_0x4a61a1(0xdf)],!0x0);return ValueUtil[_0x4a61a1(0xcd)](_0x1e96c8)?await this[_0x4a61a1(0xbc)](_0x1e96c8[0x0]):{};}async[a0_0x4ea7c2(0xd6)](){const _0x44eb22=a0_0x4ea7c2;let _0x59f7b7=MetaApi[_0x44eb22(0xe1)](this[_0x44eb22(0xdf)],!0x0);!!ValueUtil['isNotEmpty'](_0x59f7b7)&&await this['deleteByIds'](_0x59f7b7)&&this[_0x44eb22(0xed)]();}async[a0_0x4ea7c2(0xd1)](){const _0x33b999=a0_0x4ea7c2;let _0x48c4cc=TermsUtil['tTitle'](ValueUtil[_0x33b999(0xde)](this[_0x33b999(0xbe)],_0x33b999(0xe3)));return await MetaApi[_0x33b999(0xdb)](this[_0x33b999(0xef)],_0x48c4cc,this[_0x33b999(0xdf)]);}async[a0_0x4ea7c2(0xb6)](){}async[a0_0x4ea7c2(0xd3)](){const _0x28e246=a0_0x4ea7c2;this[_0x28e246(0xdf)]&&(this[_0x28e246(0xdf)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x4ea7c2(0xe0)](){const _0x4c3867=a0_0x4ea7c2;let _0x55c801=this[_0x4c3867(0xdf)][_0x4c3867(0xbd)]['records'];return _0x55c801=JSON[_0x4c3867(0xcf)](JSON[_0x4c3867(0xc5)](_0x55c801)),_0x55c801[_0x4c3867(0xd0)](_0x27ee71=>{const _0x4e6a29=_0x4c3867;Object[_0x4e6a29(0xbf)](_0x27ee71)[_0x4e6a29(0xd0)](_0x299471=>{const _0xb1c659=_0x4e6a29;_0x299471[_0xb1c659(0xc1)]('__')&&delete _0x27ee71[_0x299471];});}),_0x55c801;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0xd27405=a0_0x4987;(function(_0x3ec70c,_0x2b7607){const _0x38a5bb=a0_0x4987,_0x53814d=_0x3ec70c();while(!![]){try{const _0x56e8f1=-parseInt(_0x38a5bb(0x175))/0x1*(-parseInt(_0x38a5bb(0x182))/0x2)+parseInt(_0x38a5bb(0x178))/0x3*(-parseInt(_0x38a5bb(0x185))/0x4)+-parseInt(_0x38a5bb(0x17c))/0x5+parseInt(_0x38a5bb(0x17d))/0x6*(-parseInt(_0x38a5bb(0x173))/0x7)+-parseInt(_0x38a5bb(0x184))/0x8+-parseInt(_0x38a5bb(0x180))/0x9*(parseInt(_0x38a5bb(0x17a))/0xa)+parseInt(_0x38a5bb(0x172))/0xb;if(_0x56e8f1===_0x2b7607)break;else _0x53814d['push'](_0x53814d['shift']());}catch(_0x4af447){_0x53814d['push'](_0x53814d['shift']());}}}(a0_0x40b2,0xbd49f));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4987(_0x2ad7a6,_0x58836f){const _0x40b2f4=a0_0x40b2();return a0_0x4987=function(_0x49876c,_0x50164d){_0x49876c=_0x49876c-0x16f;let _0x10a1e9=_0x40b2f4[_0x49876c];return _0x10a1e9;},a0_0x4987(_0x2ad7a6,_0x58836f);}function a0_0x40b2(){const _0x1e19f0=['5627960HalNma','36Wshurd','button','gristButtonHandler','isButtonExist','add','isPage','42921769iVbCxF','154fzEcIJ','useButtonAdd','1LKZXFa','getCustomButtonContainerStyle','properties','96279jSKdiE','customButtonHandler','9639050psrbdf','buttonConfig','5030600JFOPBK','76068pRwhGV','getButtonContainer','parseBasicButtonConfigs','9bJvjbe','export','229242wVqTSK','getContextButtons'];a0_0x40b2=function(){return _0x1e19f0;};return a0_0x40b2();}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x61570e=>class extends MetaServiceMixin(_0x61570e){static get[a0_0xd27405(0x177)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0xd27405(0x176)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0xd27405(0x183)](){const _0x870780=a0_0xd27405;return MetaUiUtil[_0x870780(0x183)](this);}[a0_0xd27405(0x17e)](){const _0x598aa7=a0_0xd27405;return this[_0x598aa7(0x171)]?html``:MetaUiUtil[_0x598aa7(0x17e)](this);}async['getBasicButtonHandler'](_0x6d4882,_0x57b87a,_0x5f19e2){return await MetaUiUtil['getButtonActionHandler'](this,_0x6d4882,_0x57b87a,_0x5f19e2);}async[a0_0xd27405(0x179)](_0x14eaae){await MetaUiUtil['customButtonHandler'](this,_0x14eaae);}async['gristButtonHandler'](_0x34edfe,_0x4ef77f){const _0x2b364a=a0_0xd27405;await MetaUiUtil[_0x2b364a(0x187)](this,_0x34edfe,_0x4ef77f);}[a0_0xd27405(0x17f)](_0x17aa0c){const _0x538760=a0_0xd27405;this[_0x538760(0x17b)]=_0x17aa0c[_0x538760(0x186)],this['useButtonImport']=MetaUiUtil[_0x538760(0x16f)](this[_0x538760(0x17b)],'import'),this['useButtonExport']=MetaUiUtil[_0x538760(0x16f)](this['buttonConfig'],_0x538760(0x181)),this[_0x538760(0x174)]=MetaUiUtil[_0x538760(0x16f)](this['buttonConfig'],_0x538760(0x170));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x32ad3d=a0_0x2891;(function(_0x2da89a,_0x39d370){const _0x1ee081=a0_0x2891,_0x321fad=_0x2da89a();while(!![]){try{const _0x3d33ea=parseInt(_0x1ee081(0x1d0))/0x1*(-parseInt(_0x1ee081(0x1f8))/0x2)+parseInt(_0x1ee081(0x1d4))/0x3*(-parseInt(_0x1ee081(0x1b7))/0x4)+-parseInt(_0x1ee081(0x1ec))/0x5*(parseInt(_0x1ee081(0x1fa))/0x6)+-parseInt(_0x1ee081(0x1c3))/0x7+parseInt(_0x1ee081(0x1dc))/0x8*(-parseInt(_0x1ee081(0x1f4))/0x9)+parseInt(_0x1ee081(0x1b0))/0xa+parseInt(_0x1ee081(0x1f2))/0xb;if(_0x3d33ea===_0x39d370)break;else _0x321fad['push'](_0x321fad['shift']());}catch(_0x102bf0){_0x321fad['push'](_0x321fad['shift']());}}}(a0_0xa21c,0x1944d));function a0_0x2891(_0x10f061,_0x1b2036){const _0xa21c76=a0_0xa21c();return a0_0x2891=function(_0x2891ce,_0x5e6456){_0x2891ce=_0x2891ce-0x1af;let _0x105277=_0xa21c76[_0x2891ce];return _0x105277;},a0_0x2891(_0x10f061,_0x1b2036);}import{MetaApi}from'../utils/meta-api';function a0_0xa21c(){const _0x5e72f6=['connectedCallback','__dirty__','activity','addEventListener','key','setAttribute','cuFlag','8cCNMXj','function','updateMultiple','Enter','removeGarbageData','object','isElement','form','editing','getBasicFormStyles','text.NOTHING_CHANGED','currentData','formColumnConfig','__origin__','isNotEmpty','isEmpty','5PooXqe','formConfigSet','clear','startsWith','map','firstUpdated','3585109FPAMZk','Escape','84951EodGao','getAndParseMenuMeta','getData','patchData','350942lCpenQ','parseFormConfigs','628566jBAjzQ','field-change','before','record','detail','__dirtyfields__','true','renderRoot','assign','1923540BuRksW','keys','forEach','properties','isPage','column','name','3964uIOWrD','formRenderConfig','parent_id','removeAttribute','fetch','orgData','focus','button','currentTarget','getBasicFormHtml','parseFormConfigSet','save','716156XuMHRF','grid_column','after','OX-GRID-FIELD','dirtyData','activityDataSet','call','dataSet','title.info','pageInitialized','styles','entries','Esc','1rdRnLS','is_activity','getContextObject','tagName','69iLWiGm'];a0_0xa21c=function(){return _0x5e72f6;};return a0_0xa21c();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x43cf21=>class extends MetaButtonMixin(_0x43cf21){static get[a0_0x32ad3d(0x1cd)](){const _0x4363a6=a0_0x32ad3d;return MetaApi[_0x4363a6(0x1e5)]();}static get[a0_0x32ad3d(0x1b3)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x5d4bd6=a0_0x32ad3d;return MetaUiUtil[_0x5d4bd6(0x1d2)](this);}async[a0_0x32ad3d(0x1d5)](){const _0x20046b=a0_0x32ad3d;await this[_0x20046b(0x1f5)](),this[_0x20046b(0x1e2)]&&await this[_0x20046b(0x1f9)](),this['activityDataSet']&&(this[_0x20046b(0x1ca)]=this[_0x20046b(0x1c8)]),!0x0!==this[_0x20046b(0x1d1)]||this[_0x20046b(0x1b9)]||(this[_0x20046b(0x1b9)]=_0x20046b(0x1d7)),super[_0x20046b(0x1d5)]&&await super[_0x20046b(0x1d5)](),this[_0x20046b(0x1e2)]&&await this[_0x20046b(0x1bb)](),this[_0x20046b(0x201)][_0x20046b(0x1d8)]('keydown',_0x205cb3=>{const _0x134149=_0x20046b;switch(_0x205cb3[_0x134149(0x1d9)]){case _0x134149(0x1cf):case _0x134149(0x1f3):case _0x134149(0x1df):this[_0x134149(0x1bd)](),this[_0x134149(0x1bf)]&&this[_0x134149(0x1bf)]['removeAttribute'](_0x134149(0x1e4)),this[_0x134149(0x1bf)]=null;}}),this[_0x20046b(0x201)][_0x20046b(0x1d8)]('click',_0x266b80=>{const _0x3b9f2e=_0x20046b;_0x266b80['stopPropagation']();let _0x3e721b=_0x266b80['target'];if(this[_0x3b9f2e(0x1bf)]&&(this[_0x3b9f2e(0x1bd)](),this[_0x3b9f2e(0x1bf)][_0x3b9f2e(0x1ba)](_0x3b9f2e(0x1e4))),_0x3b9f2e(0x1c6)!==_0x3e721b[_0x3b9f2e(0x1d3)]||!_0x3e721b[_0x3b9f2e(0x1b5)][_0x3b9f2e(0x1fd)]['editable'])return this[_0x3b9f2e(0x1bd)](),void(this['currentTarget']=null);this['currentTarget']=_0x3e721b,_0x3e721b[_0x3b9f2e(0x1da)]('editing',_0x3b9f2e(0x200));}),this['addEventListener'](_0x20046b(0x1fb),_0x7e7ead=>{const _0x382ff7=_0x20046b;var {after:_0x268f73,before:_0x198aef,column:_0x49a641,record:_0x305aed,row:_0x4da704}=_0x7e7ead[_0x382ff7(0x1fe)];if(ValueUtil['isEquals'](_0x268f73,_0x198aef))return;var _0x4833b2=_0x49a641['validation'];if(_0x4833b2&&_0x382ff7(0x1dd)==typeof _0x4833b2&&!_0x4833b2[_0x382ff7(0x1c9)](this,_0x268f73,_0x198aef,_0x305aed,_0x49a641))return;let _0x312670=_0x49a641[_0x382ff7(0x1b6)];_0x305aed[_0x312670]=_0x268f73,_0x305aed[_0x382ff7(0x1ff)]=_0x305aed[_0x382ff7(0x1ff)]||{},_0x305aed[_0x382ff7(0x1e9)]=_0x305aed[_0x382ff7(0x1e9)]||{},_0x305aed[_0x382ff7(0x1ff)][_0x312670]={'before':_0x305aed['__origin__'][_0x312670],'after':_0x305aed[_0x312670]},ValueUtil['isEquals'](_0x305aed[_0x382ff7(0x1ff)][_0x312670][_0x382ff7(0x1fc)],_0x305aed[_0x382ff7(0x1ff)][_0x312670]['after'])&&delete _0x305aed[_0x382ff7(0x1ff)][_0x312670],ValueUtil['isNotEmpty'](_0x305aed[_0x382ff7(0x1ff)])?_0x305aed[_0x382ff7(0x1d6)]='M':_0x305aed['__dirty__']='',this[_0x382ff7(0x1fd)]={..._0x305aed};});}async[a0_0x32ad3d(0x1f1)](){const _0x47e5aa=a0_0x32ad3d;super[_0x47e5aa(0x1f1)]&&await super[_0x47e5aa(0x1f1)]();}async[a0_0x32ad3d(0x1cc)](){const _0x198d16=a0_0x32ad3d;this[_0x198d16(0x1b4)]&&await this[_0x198d16(0x1f9)](),super['pageInitialized']&&await super[_0x198d16(0x1cc)](),this['isPage']&&await this[_0x198d16(0x1bb)]();}['render'](){const _0x1e0edc=a0_0x32ad3d;return MetaApi[_0x1e0edc(0x1c0)](this);}['parseBasicFormConfigs'](_0x4ca373){const _0x43f59e=a0_0x32ad3d;this[_0x43f59e(0x1e8)]=_0x4ca373[_0x43f59e(0x1c4)],this[_0x43f59e(0x1b8)]=_0x4ca373[_0x43f59e(0x1e3)],_0x4ca373['button']=_0x4ca373[_0x43f59e(0x1be)]['filter'](_0x1fab38=>_0x43f59e(0x1c2)==_0x1fab38['name']);}async[a0_0x32ad3d(0x1f9)](){const _0x2ddb93=a0_0x32ad3d;this[_0x2ddb93(0x1ed)]=await MetaApi[_0x2ddb93(0x1c1)](this);}get[a0_0x32ad3d(0x1bc)](){const _0x215837=a0_0x32ad3d;return this[_0x215837(0x1e0)](this[_0x215837(0x1fd)][_0x215837(0x1e9)]);}get[a0_0x32ad3d(0x1c7)](){const _0x565c8a=a0_0x32ad3d;if(ValueUtil['isEmpty'](this[_0x565c8a(0x1fd)][_0x565c8a(0x1ff)]))return{};let _0x4fc6c6={};return Object[_0x565c8a(0x1ce)](this[_0x565c8a(0x1fd)][_0x565c8a(0x1ff)])[_0x565c8a(0x1f0)](([_0x2cedc2,_0x31b247])=>{const _0x3dbc38=_0x565c8a;0x0==_0x2cedc2[_0x3dbc38(0x1ef)]('__')&&(_0x4fc6c6[_0x2cedc2]=_0x31b247[_0x3dbc38(0x1c5)]);}),_0x4fc6c6;}get[a0_0x32ad3d(0x1e7)](){const _0x599d08=a0_0x32ad3d;return this[_0x599d08(0x1e0)](this[_0x599d08(0x1fd)]);}['removeGarbageData'](_0x51e55d){const _0x19c1b2=a0_0x32ad3d;let _0x1f50f5={};if(_0x51e55d)return Object[_0x19c1b2(0x1ce)](_0x51e55d)['map'](([_0x394d55,_0x1e998e])=>{const _0x9701ac=_0x19c1b2;0x0==_0x394d55[_0x9701ac(0x1ef)]('__')&&(_0x1f50f5[_0x394d55]=_0x1e998e);}),_0x1f50f5;}get[a0_0x32ad3d(0x1f7)](){const _0x2f9372=a0_0x32ad3d;let _0x344e29=this[_0x2f9372(0x1c7)],_0x143b47=this[_0x2f9372(0x1fd)];return ValueUtil[_0x2f9372(0x1eb)](_0x344e29)?[]:(ValueUtil[_0x2f9372(0x1ea)](_0x143b47['id'])?(_0x344e29['id']=_0x143b47['id'],_0x344e29[_0x2f9372(0x1db)]='M'):_0x344e29[_0x2f9372(0x1db)]='+',Object[_0x2f9372(0x1b1)](_0x344e29)[_0x2f9372(0x1b2)](_0xc0c0b9=>{const _0x585435=_0x2f9372;_0x585435(0x1e1)==typeof _0x344e29[_0xc0c0b9]&&(_0x344e29[_0xc0c0b9]={'id':_0x344e29[_0xc0c0b9]['id']});}),[_0x344e29]);}async[a0_0x32ad3d(0x1bb)](){const _0x126fdf=a0_0x32ad3d;if(ValueUtil[_0x126fdf(0x1eb)](this[_0x126fdf(0x1b9)]))return;let _0x243ca4=await this['findOne'](this['parent_id']);_0x243ca4['__seq__']=0x1;let _0x2d81ff={};Object[_0x126fdf(0x1af)](_0x2d81ff,_0x243ca4),_0x243ca4['__origin__']=_0x2d81ff,this[_0x126fdf(0x1fd)]={..._0x243ca4};}async[a0_0x32ad3d(0x1c2)](){const _0x326025=a0_0x32ad3d;let _0x586995=this[_0x326025(0x1f7)];if(ValueUtil[_0x326025(0x1eb)](_0x586995))return void MetaApi['showAlertPopup'](_0x326025(0x1cb),_0x326025(0x1e6));let _0xfc47af=await this[_0x326025(0x1de)](_0x586995);return _0xfc47af&&await this[_0x326025(0x1bb)](),_0xfc47af;}async[a0_0x32ad3d(0x1ee)](){const _0x3e89ce=a0_0x32ad3d;this[_0x3e89ce(0x1fd)]&&(this[_0x3e89ce(0x1fd)]={});}[a0_0x32ad3d(0x1f6)](){const _0x29decd=a0_0x32ad3d;return this[_0x29decd(0x1e7)]||{};}};
|