@things-factory/meta-ui 6.1.32 → 6.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +10 -10
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +6 -6
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
- package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
- package/client/component/popup/code-input-editor-popup.js +10 -10
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +28 -28
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +16 -16
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +102 -102
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +10 -10
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
- package/translations/en.json +2 -0
- package/translations/ko.json +2 -0
- package/translations/ms.json +2 -0
- package/translations/zh.json +2 -0
package/client/actions/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
const a0_0x34c8df=a0_0x21a2;(function(_0x430f8a,_0x538b71){const _0x1afab5=a0_0x21a2,_0x5df6bf=_0x430f8a();while(!![]){try{const _0x1236d7=parseInt(_0x1afab5(0x9a))/0x1+-parseInt(_0x1afab5(0xaa))/0x2+-parseInt(_0x1afab5(0x94))/0x3*(-parseInt(_0x1afab5(0xae))/0x4)+parseInt(_0x1afab5(0xa8))/0x5*(parseInt(_0x1afab5(0x9c))/0x6)+parseInt(_0x1afab5(0x9e))/0x7+-parseInt(_0x1afab5(0xad))/0x8+-parseInt(_0x1afab5(0xac))/0x9;if(_0x1236d7===_0x538b71)break;else _0x5df6bf['push'](_0x5df6bf['shift']());}catch(_0xda1d30){_0x5df6bf['push'](_0x5df6bf['shift']());}}}(a0_0x53f9,0x9d711));import'../viewparts/dynamic-menu-part';function a0_0x21a2(_0x195797,_0x456231){const _0x53f930=a0_0x53f9();return a0_0x21a2=function(_0x21a254,_0x2a4624){_0x21a254=_0x21a254-0x93;let _0x2280eb=_0x53f930[_0x21a254];return _0x2280eb;},a0_0x21a2(_0x195797,_0x456231);}import'@material/mwc-icon';import a0_0x404389 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';export const UPDATE_META_UI=a0_0x34c8df(0xa4);export const UPDATE_META_MENU_TEMPLATE=a0_0x34c8df(0x93);function a0_0x53f9(){const _0x456048=['4202135dqCDqW','dispatch','landscape','data','FRONT_END','dynamic-menu','UPDATE_META_UI','content','querySelector','rank','585MtxXIC','query','1068762sMJZvC','filter','3477069PmYadg','4973200JOvUJC','1375832URLjjF','hamburger','UPDATE_META_MENU_TEMPLATE','9YuhuYj','portrait','value','active','HEADERBAR','liteMenus','398645wCeOOY','meta[name=\x22application-name\x22]','8022EQCahB','appName'];a0_0x53f9=function(){return _0x456048;};return a0_0x53f9();}var HAMBURGER;export async function setupMenuPart(_0x431cc2){const _0x2e4e97=a0_0x34c8df;var {hovering:_0x28542c=!!isMobileDevice(),slotTemplate:_0x2e0220,portraitSlotTemplate:_0x2ed374,landscapeSlotTemplate:_0x4ed01a,position:_0x4b0ff7=VIEWPART_POSITION['NAVBAR']}=_0x431cc2||{};const {hovering:_0x28714c}=(await clientSettingStore['get'](_0x2e4e97(0xa3)))?.[_0x2e4e97(0x96)]||{};void 0x0!==_0x28714c&&(_0x28542c=_0x28714c);const _0x18add7=_0x4b0ff7==VIEWPART_POSITION[_0x2e4e97(0x98)]?'landscape':_0x2e4e97(0x95),_0xa2cdde=(_0x2e4e97(0xa0)==_0x18add7?_0x4ed01a:_0x2ed374)||_0x2e0220||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x28542c,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x28542c,'template':html`<dynamic-menu-part .orientation=${_0x18add7}>${_0xa2cdde}</dynamic-menu-part>`},'position':_0x4b0ff7}),_0x28542c&&_0x2e4e97(0x95)==_0x18add7?HAMBURGER||(HAMBURGER={'name':_0x2e4e97(0xaf),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0xd073d=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION[_0x2e4e97(0xa2)]},store[_0x2e4e97(0x9f)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':_0x2e4e97(0xaf)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x541131){const _0xf7842c=a0_0x34c8df;var _0x37a8fc=document[_0xf7842c(0xa6)](_0xf7842c(0x9b))?.[_0xf7842c(0xa5)],_0x2e8074=(await client[_0xf7842c(0xa9)]({'query':a0_0x404389`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ const a0_0x4f81d6=a0_0x2fd5;(function(_0x33b18b,_0xf39941){const _0x1c5556=a0_0x
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0xf7842c(0x97),'operator':'eq','value':!0x0},{'name':_0xf7842c(0x9d),'operator':'in','value':['',_0x37a8fc]}],'sortings':[{'name':_0xf7842c(0xa7),'desc':!0x1}]}}))[_0xf7842c(0xa1)][_0xf7842c(0x99)]['items'];store[_0xf7842c(0x9f)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x2e8074[_0xf7842c(0xab)](_0x1785c8=>!_0x1785c8['appName']||_0x1785c8[_0xf7842c(0x9d)]===_0x37a8fc),'template':_0x541131});}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x164c(_0x59187e,_0x1cea6e){const _0x491c3c=a0_0x491c();return a0_0x164c=function(_0x164cea,_0x3c9b2f){_0x164cea=_0x164cea-0x19e;let _0x4783d1=_0x491c3c[_0x164cea];return _0x4783d1;},a0_0x164c(_0x59187e,_0x1cea6e);}(function(_0x2a86b4,_0x32166f){const _0x3b6655=a0_0x164c,_0x3b1e29=_0x2a86b4();while(!![]){try{const _0x55512a=parseInt(_0x3b6655(0x1bf))/0x1+-parseInt(_0x3b6655(0x1c0))/0x2*(-parseInt(_0x3b6655(0x1a7))/0x3)+-parseInt(_0x3b6655(0x1b1))/0x4*(-parseInt(_0x3b6655(0x1a5))/0x5)+-parseInt(_0x3b6655(0x19f))/0x6+-parseInt(_0x3b6655(0x1b4))/0x7*(-parseInt(_0x3b6655(0x1a6))/0x8)+parseInt(_0x3b6655(0x1a9))/0x9*(-parseInt(_0x3b6655(0x1af))/0xa)+-parseInt(_0x3b6655(0x1be))/0xb;if(_0x55512a===_0x32166f)break;else _0x3b1e29['push'](_0x3b1e29['shift']());}catch(_0x2d9ca7){_0x3b1e29['push'](_0x3b1e29['shift']());}}}(a0_0x491c,0x87a69));function a0_0x491c(){const _0x572ffa=['display','ox-grid-header','change','tagName','5zjfvEs','81912GrEPPy','117nAKdAT','large','9fGHVEI','renderRoot','tTitle','querySelector','options','codes','3690720kupVQw','selectorName','1413992sRPBGe','name','value','329cdZqNl','select_item','dispField','filter-change','join','length','dispatchEvent','toLowerCase','split','codeField','968781IhYmVR','728022QAQbYY','15806ZewYHo','tMenu','5149212Vkflbv','map'];a0_0x491c=function(){return _0x572ffa;};return a0_0x491c();}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x44d6de,_0x386ac9,_0x163db9){const _0x50c747=a0_0x164c;var _0x404a37=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x386ac9}
|
|
4
|
+
.options=${_0x44d6de[_0x50c747(0x1ad)]}
|
|
5
|
+
.confirmCallback=${_0x163db9}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x404a37,{'backdrop':!0x0,'size':_0x50c747(0x1a8),'title':_0x44d6de[_0x50c747(0x1ad)]['selectorName']?TermsUtil[_0x50c747(0x19e)](_0x44d6de[_0x50c747(0x1ad)][_0x50c747(0x1b0)]):TermsUtil[_0x50c747(0x1ab)](_0x50c747(0x1b5))});}export const FilterFormMetaCodeSelect=(_0x556abb,_0x11ba6e,_0x3c0019)=>{const _0x38214a=a0_0x164c,_0x2a58b6=_0x556abb[_0x38214a(0x1ad)],_0x5e4701=_0x2a58b6[_0x38214a(0x1ae)]&&_0x2a58b6[_0x38214a(0x1ae)]['length']>0x0?_0x2a58b6[_0x38214a(0x1ae)]:void 0x0,{operator:_0x417654='eq'}=_0x556abb;let _0x1dad43=_0x11ba6e||'',_0x4f12c4=_0x11ba6e||'';if(_0x2a58b6[_0x38214a(0x1b6)]&&_0x11ba6e&&_0x5e4701){let _0x3059b8=_0x5e4701['filter'](_0x5e5a1e=>_0x5e5a1e['value']==_0x11ba6e);_0x3059b8&&_0x3059b8[_0x38214a(0x1b9)]>0x0&&(_0x4f12c4=_0x3059b8[0x0][_0x38214a(0x1a1)]);}return'eq'===_0x417654?html`
|
|
8
|
+
<input name='${_0x556abb['name']}' .value=${_0x1dad43} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x556abb[_0x38214a(0x1b2)]}_disp'
|
|
13
|
+
.value=${_0x4f12c4}
|
|
14
|
+
@click=${_0x7b1d6f=>{_0x7b1d6f['stopPropagation']();const _0x4adb8b=_0x7b1d6f['target'];openMetaCodeSelector(_0x556abb,_0x11ba6e,_0xf74930=>{const _0x425756=a0_0x164c;let _0x44e511=_0xf74930?_0xf74930[_0x2a58b6[_0x425756(0x1bd)]]:'',_0x1c3ce6=_0x44e511;_0xf74930&&_0x2a58b6[_0x425756(0x1b6)]&&(_0x1c3ce6=_0x2a58b6[_0x425756(0x1b6)][_0x425756(0x1bc)](',')[_0x425756(0x1a0)](_0x591425=>_0xf74930[_0x591425])[_0x425756(0x1b8)]('-')),_0x4adb8b[_0x425756(0x1b3)]=_0x1c3ce6,(_0x425756(0x1a2)==_0x3c0019[_0x425756(0x1a4)][_0x425756(0x1bb)]()?_0x3c0019[_0x425756(0x1aa)][_0x425756(0x1ac)]('[name=\x22'+_0x556abb['name']+'\x22]'):_0x3c0019[_0x425756(0x1aa)][_0x425756(0x1ac)]('form\x20[name=\x22'+_0x556abb[_0x425756(0x1b2)]+'\x22]'))['value']=_0x44e511,_0x4adb8b[_0x425756(0x1ba)](new Event(_0x425756(0x1a3),{'bubbles':!0x0})),_0x4adb8b[_0x425756(0x1ba)](new CustomEvent(_0x425756(0x1b7),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x556abb['name'],'operator':_0x417654,'value':_0x44e511}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3fb5b3,_0x44e886){const _0x175baf=a0_0xd8dc,_0x4bb23e=_0x3fb5b3();while(!![]){try{const _0x50bd93=parseInt(_0x175baf(0x14f))/0x1*(parseInt(_0x175baf(0x154))/0x2)+-parseInt(_0x175baf(0x14c))/0x3*(-parseInt(_0x175baf(0x149))/0x4)+-parseInt(_0x175baf(0x144))/0x5*(parseInt(_0x175baf(0x156))/0x6)+parseInt(_0x175baf(0x147))/0x7+-parseInt(_0x175baf(0x155))/0x8*(-parseInt(_0x175baf(0x13a))/0x9)+-parseInt(_0x175baf(0x13f))/0xa+-parseInt(_0x175baf(0x157))/0xb*(-parseInt(_0x175baf(0x142))/0xc);if(_0x50bd93===_0x44e886)break;else _0x4bb23e['push'](_0x4bb23e['shift']());}catch(_0x4de42e){_0x4bb23e['push'](_0x4bb23e['shift']());}}}(a0_0x1893,0x9245f));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x10923d,_0x528933,_0x253485){const _0x54766f=a0_0xd8dc;var _0x1aaede=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x528933}
|
|
4
|
+
.options=${_0x10923d[_0x54766f(0x152)]}
|
|
5
|
+
.confirmCallback=${_0x253485}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x1aaede,{'backdrop':!0x0,'size':_0x54766f(0x146),'title':_0x10923d[_0x54766f(0x152)]['selectorName']?TermsUtil[_0x54766f(0x150)](_0x10923d[_0x54766f(0x152)][_0x54766f(0x14a)]):TermsUtil[_0x54766f(0x13b)](_0x54766f(0x13c))});}function a0_0xd8dc(_0x2c73cb,_0x24c11e){const _0x1893d7=a0_0x1893();return a0_0xd8dc=function(_0xd8dc0f,_0x2f6aed){_0xd8dc0f=_0xd8dc0f-0x139;let _0x443bd4=_0x1893d7[_0xd8dc0f];return _0x443bd4;},a0_0xd8dc(_0x2c73cb,_0x24c11e);}export const FilterFormMetaObjectSelect=(_0x4f94e3,_0x377f36,_0x32d852)=>{const _0x4f024a=a0_0xd8dc,_0x4bf7cd=_0x4f94e3[_0x4f024a(0x152)],{operator:_0x5e321d='eq'}=_0x4f94e3;let _0x34a8e9=_0x377f36?_0x377f36['id']:'',_0x5c7db7=_0x377f36?_0x4bf7cd[_0x4f024a(0x143)][_0x4f024a(0x151)](',')[_0x4f024a(0x140)](_0x15f2ec=>_0x377f36[_0x15f2ec])[_0x4f024a(0x141)]('-'):'';return'eq'===_0x5e321d?html`
|
|
8
|
+
<input name='${_0x4f94e3[_0x4f024a(0x139)]}' .value=${_0x34a8e9} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x4f94e3['name']}_disp'
|
|
13
|
+
.value=${_0x5c7db7}
|
|
14
|
+
@click=${_0x14a07c=>{const _0x5cfbaf=_0x4f024a;_0x14a07c['stopPropagation']();const _0x2d1596=_0x14a07c[_0x5cfbaf(0x148)];openMetaObjectSelector(_0x4f94e3,_0x377f36,_0x156c4d=>{const _0x51fb59=_0x5cfbaf;let _0x2095f1=_0x156c4d?_0x156c4d['id']:'',_0xfc68fd=_0x156c4d?_0x4bf7cd['nameField'][_0x51fb59(0x151)](',')[_0x51fb59(0x140)](_0x13cd74=>_0x156c4d[_0x13cd74])['join']('-'):'';_0x2d1596['value']=_0xfc68fd,('ox-grid-header'==_0x32d852[_0x51fb59(0x153)][_0x51fb59(0x14e)]()?_0x32d852[_0x51fb59(0x13d)][_0x51fb59(0x14d)](_0x51fb59(0x14b)+_0x4f94e3['name']+'\x22]'):_0x32d852[_0x51fb59(0x13d)][_0x51fb59(0x14d)](_0x51fb59(0x145)+_0x4f94e3['name']+'\x22]'))['value']=_0x2095f1,_0x2d1596['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x2d1596[_0x51fb59(0x13e)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4f94e3[_0x51fb59(0x139)],'operator':_0x5e321d,'value':_0x2095f1}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};function a0_0x1893(){const _0x46a47b=['534815KWRNiA','tMenu','split','options','tagName','2fmIFlr','536PdFGAg','6TmOEDE','6222491VyvCPE','name','69543EdpdeB','tTitle','select_item','renderRoot','dispatchEvent','6898690aRbGLC','map','join','12AjHOhC','nameField','5246465AdCEFs','form\x20[name=\x22','large','3429769YhyjZT','target','7364aKjkkI','selectorName','[name=\x22','375FHQoHc','querySelector','toLowerCase'];a0_0x1893=function(){return _0x46a47b;};return a0_0x1893();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x222a7b,_0x116d5a){const _0x402c4f=a0_0x5b24,_0x40f4d3=_0x222a7b();while(!![]){try{const _0x43baba=-parseInt(_0x402c4f(0x125))/0x1*(parseInt(_0x402c4f(0x126))/0x2)+parseInt(_0x402c4f(0x128))/0x3+-parseInt(_0x402c4f(0x141))/0x4+-parseInt(_0x402c4f(0x12d))/0x5*(-parseInt(_0x402c4f(0x133))/0x6)+-parseInt(_0x402c4f(0x130))/0x7+parseInt(_0x402c4f(0x129))/0x8*(-parseInt(_0x402c4f(0x140))/0x9)+parseInt(_0x402c4f(0x146))/0xa;if(_0x43baba===_0x116d5a)break;else _0x40f4d3['push'](_0x40f4d3['shift']());}catch(_0x5b53a9){_0x40f4d3['push'](_0x40f4d3['shift']());}}}(a0_0x18de,0xe2cbc));import'../popup/meta-object-selector-popup';function a0_0x5b24(_0x359e89,_0x479e67){const _0x18defe=a0_0x18de();return a0_0x5b24=function(_0x5b2410,_0x1c8b67){_0x5b2410=_0x5b2410-0x123;let _0x3d35e2=_0x18defe[_0x5b2410];return _0x3d35e2;},a0_0x5b24(_0x359e89,_0x479e67);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x25c118,_0x41c7c8,_0x25c8a6){const _0x7d4bb8=a0_0x5b24;var _0x2184f2=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x41c7c8}
|
|
4
|
+
.options=${_0x25c118[_0x7d4bb8(0x135)][_0x7d4bb8(0x12e)]}
|
|
5
|
+
.confirmCallback=${_0x25c8a6}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x2184f2,{'backdrop':!0x0,'size':_0x7d4bb8(0x12a),'title':_0x25c118['record'][_0x7d4bb8(0x12e)][_0x7d4bb8(0x127)]?TermsUtil[_0x7d4bb8(0x13b)](_0x25c118[_0x7d4bb8(0x135)][_0x7d4bb8(0x12e)][_0x7d4bb8(0x127)]):TermsUtil[_0x7d4bb8(0x145)](_0x7d4bb8(0x13e))});}export const FilterGristMetaCodeSelect=(_0x1fec40,_0x274625,_0x301a03)=>{const _0x8c7553=a0_0x5b24,_0x33ab9e=_0x1fec40[_0x8c7553(0x13f)],_0x4ae74e=_0x1fec40['record'][_0x8c7553(0x12e)],_0x4c6d61=_0x4ae74e['codes']&&_0x4ae74e[_0x8c7553(0x147)][_0x8c7553(0x12f)]>0x0?_0x4ae74e['codes']:void 0x0,{operator:_0x296088='eq'}=_0x33ab9e;let _0x51226e=_0x274625||'',_0x310db3=_0x274625||'';if(_0x4ae74e[_0x8c7553(0x131)]&&_0x274625&&_0x4c6d61){let _0x51f685=_0x4c6d61['filter'](_0x1b0945=>_0x1b0945[_0x8c7553(0x13a)]==_0x274625);_0x51f685&&_0x51f685[_0x8c7553(0x12f)]>0x0&&(_0x310db3=_0x51f685[0x0]['display']);}return'eq'===_0x296088?html`
|
|
8
|
+
<input name='${_0x1fec40['name']}' .value=${_0x51226e} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x1fec40['name']}_disp'
|
|
13
|
+
.value=${_0x310db3}
|
|
14
|
+
@click=${_0x4030c2=>{const _0x43a3e5=_0x8c7553;_0x4030c2[_0x43a3e5(0x136)]();const _0x3f3f24=_0x4030c2['target'];openMetaCodeSelector(_0x1fec40,_0x274625,_0x32fff5=>{const _0x53f266=_0x43a3e5;let _0x529d6c=_0x32fff5?_0x32fff5[_0x4ae74e[_0x53f266(0x12b)]]:'',_0x376add=_0x529d6c;_0x32fff5&&_0x4ae74e['dispField']&&(_0x376add=_0x4ae74e[_0x53f266(0x131)][_0x53f266(0x143)](',')[_0x53f266(0x13d)](_0x5e7ea2=>_0x32fff5[_0x5e7ea2])[_0x53f266(0x13c)]('-')),_0x3f3f24[_0x53f266(0x13a)]=_0x376add,(_0x53f266(0x124)==_0x301a03[_0x53f266(0x132)][_0x53f266(0x12c)]()?_0x301a03[_0x53f266(0x142)][_0x53f266(0x134)](_0x53f266(0x123)+_0x33ab9e[_0x53f266(0x144)]+'\x22]'):_0x301a03[_0x53f266(0x142)]['querySelector']('form\x20[name=\x22'+_0x33ab9e[_0x53f266(0x144)]+'\x22]'))[_0x53f266(0x13a)]=_0x529d6c,_0x3f3f24[_0x53f266(0x139)](new Event(_0x53f266(0x137),{'bubbles':!0x0})),_0x3f3f24[_0x53f266(0x139)](new CustomEvent(_0x53f266(0x138),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1fec40[_0x53f266(0x144)],'operator':_0x296088,'value':_0x529d6c}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};function a0_0x18de(){const _0x2e459b=['large','codeField','toLowerCase','913560VqbYFG','options','length','5347034lTSAaM','dispField','tagName','6lbNQsO','querySelector','record','stopPropagation','change','filter-change','dispatchEvent','value','tMenu','join','map','select_item','filter','9CSiNPr','3481920FCejsB','renderRoot','split','name','tTitle','23089270emTDqf','codes','[name=\x22','ox-grid-header','16134wHomPH','12vgnUnf','selectorName','1030392qKSAMK','1400008SVnzZl'];a0_0x18de=function(){return _0x2e459b;};return a0_0x18de();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3f7575,_0x3b8c17){const _0xf82182=a0_0x1ee5,_0x1757b8=_0x3f7575();while(!![]){try{const _0x233b56=-parseInt(_0xf82182(0x81))/0x1*(-parseInt(_0xf82182(0x83))/0x2)+-parseInt(_0xf82182(0x82))/0x3+-parseInt(_0xf82182(0x98))/0x4*(-parseInt(_0xf82182(0x80))/0x5)+-parseInt(_0xf82182(0x86))/0x6*(-parseInt(_0xf82182(0x8a))/0x7)+-parseInt(_0xf82182(0x99))/0x8*(parseInt(_0xf82182(0x95))/0x9)+-parseInt(_0xf82182(0x7f))/0xa*(-parseInt(_0xf82182(0x9b))/0xb)+-parseInt(_0xf82182(0x85))/0xc*(parseInt(_0xf82182(0x94))/0xd);if(_0x233b56===_0x3b8c17)break;else _0x1757b8['push'](_0x1757b8['shift']());}catch(_0x8fd589){_0x1757b8['push'](_0x1757b8['shift']());}}}(a0_0x5a73,0x7edff));function a0_0x1ee5(_0x494ed6,_0x5bd4ed){const _0x5a73af=a0_0x5a73();return a0_0x1ee5=function(_0x1ee580,_0x44c1e7){_0x1ee580=_0x1ee580-0x7f;let _0x4c8032=_0x5a73af[_0x1ee580];return _0x4c8032;},a0_0x1ee5(_0x494ed6,_0x5bd4ed);}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x5a73(){const _0x4a7f27=['stopPropagation','change','2595216UQAbpN','2166952PgibHC','value','15378TwAzRm','large','filter','selectorName','querySelector','3110YUinhp','5TiWBPy','181IQIDmT','679347LLcAiV','446UPmZtX','name','1038456MLlzFw','528hpONqY','options','toLowerCase','ox-grid-header','32795quxLgi','join','dispatchEvent','split','tTitle','nameField','renderRoot','record','map','select_item','78bWaIfB','9QWpmMC'];a0_0x5a73=function(){return _0x4a7f27;};return a0_0x5a73();}function openMetaObjectSelector(_0x108e58,_0x1b3e94,_0x1d9aa0){const _0x1d77f6=a0_0x1ee5;var _0x2a36ad=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x1b3e94}
|
|
4
|
+
.options=${_0x108e58['record']['options']}
|
|
5
|
+
.confirmCallback=${_0x1d9aa0}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x2a36ad,{'backdrop':!0x0,'size':_0x1d77f6(0x9c),'title':_0x108e58[_0x1d77f6(0x91)][_0x1d77f6(0x87)][_0x1d77f6(0x9e)]?TermsUtil['tMenu'](_0x108e58['record']['options'][_0x1d77f6(0x9e)]):TermsUtil[_0x1d77f6(0x8e)](_0x1d77f6(0x93))});}export const FilterGristMetaObjectSelect=(_0x520b71,_0x72e639,_0x508e8b)=>{const _0x515f15=a0_0x1ee5,_0x4b546b=_0x520b71[_0x515f15(0x9d)],{operator:_0x3dd45f='eq'}=_0x4b546b,_0x1ac6d8=_0x520b71[_0x515f15(0x91)][_0x515f15(0x87)];let _0x366e09=_0x72e639?_0x72e639['id']:'',_0x1aaa0b=_0x72e639?_0x1ac6d8[_0x515f15(0x8f)][_0x515f15(0x8d)](',')['map'](_0x67ab21=>_0x72e639[_0x67ab21])[_0x515f15(0x8b)]('-'):'';return'eq'===_0x3dd45f?html`
|
|
8
|
+
<input name='${_0x520b71[_0x515f15(0x84)]}' .value=${_0x366e09} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x520b71['name']}_disp'
|
|
13
|
+
.value=${_0x1aaa0b}
|
|
14
|
+
@click=${_0x1f3d17=>{const _0x3c5bba=_0x515f15;_0x1f3d17[_0x3c5bba(0x96)]();const _0x4ded14=_0x1f3d17['target'];openMetaObjectSelector(_0x520b71,_0x72e639,_0x4ae683=>{const _0x2456c2=_0x3c5bba;let _0x515a57=_0x4ae683?_0x4ae683['id']:'',_0x367c25=_0x4ae683?_0x1ac6d8['nameField'][_0x2456c2(0x8d)](',')[_0x2456c2(0x92)](_0x2ca33b=>_0x4ae683[_0x2ca33b])['join']('-'):'';_0x4ded14[_0x2456c2(0x9a)]=_0x367c25,(_0x2456c2(0x89)==_0x508e8b['tagName'][_0x2456c2(0x88)]()?_0x508e8b['renderRoot'][_0x2456c2(0x9f)]('[name=\x22'+_0x4b546b[_0x2456c2(0x84)]+'\x22]'):_0x508e8b[_0x2456c2(0x90)][_0x2456c2(0x9f)]('form\x20[name=\x22'+_0x4b546b['name']+'\x22]'))[_0x2456c2(0x9a)]=_0x515a57,_0x4ded14['dispatchEvent'](new Event(_0x2456c2(0x97),{'bubbles':!0x0})),_0x4ded14[_0x2456c2(0x8c)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x520b71['name'],'operator':_0x3dd45f,'value':_0x515a57}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
const a0_0x56614b=a0_0x37b5;function a0_0x16d1(){const _0x33c846=['length','dispatchEvent','Enter','object','2680863AtdCER','firstUpdated','key','grist-editor-code-input','906935WCVJrs','1bnCkjH','field-change','define','5212064ZPkWDB','12zeARhd','editorTemplate','_onkeydown','21062010xALaSO','value','1292254HpBlSb','substring','10270784CSxqJY','parse','3873060BETXAy','row','code-editor','bind','openEditor','popup','tTitle','stopPropagation','large','7voEidj','...'];a0_0x16d1=function(){return _0x33c846;};return a0_0x16d1();}(function(_0x10c97f,_0x577861){const _0xeca0ac=a0_0x37b5,_0x48684b=_0x10c97f();while(!![]){try{const _0xb917a7=-parseInt(_0xeca0ac(0x1ec))/0x1*(parseInt(_0xeca0ac(0x1f5))/0x2)+-parseInt(_0xeca0ac(0x208))/0x3+parseInt(_0xeca0ac(0x1ef))/0x4+-parseInt(_0xeca0ac(0x1eb))/0x5*(parseInt(_0xeca0ac(0x1f0))/0x6)+-parseInt(_0xeca0ac(0x202))/0x7*(parseInt(_0xeca0ac(0x1f7))/0x8)+parseInt(_0xeca0ac(0x1f9))/0x9+parseInt(_0xeca0ac(0x1f3))/0xa;if(_0xb917a7===_0x577861)break;else _0x48684b['push'](_0x48684b['shift']());}catch(_0xfaf732){_0x48684b['push'](_0x48684b['shift']());}}}(a0_0x16d1,0x9f783));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x37b5(_0x3c2602,_0x732e37){const _0x16d114=a0_0x16d1();return a0_0x37b5=function(_0x37b5d2,_0x343380){_0x37b5d2=_0x37b5d2-0x1e9;let _0x34f074=_0x16d114[_0x37b5d2];return _0x34f074;},a0_0x37b5(_0x3c2602,_0x732e37);}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/code-input-editor-popup';export class GristEditorCodeInput extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x56614b(0x1f1)](){const _0x5bfa9e=a0_0x56614b;let _0x5da0d3;return this['value']&&(_0x5da0d3=_0x5bfa9e(0x207)==typeof this[_0x5bfa9e(0x1f4)]?JSON['stringify'](this[_0x5bfa9e(0x1f4)],0x0,0x2):this[_0x5bfa9e(0x1f4)],_0x5da0d3=_0x5da0d3[_0x5bfa9e(0x204)]>0x14?_0x5da0d3[_0x5bfa9e(0x1f6)](0x0,0x14)+_0x5bfa9e(0x203):_0x5da0d3),html`
|
|
2
|
+
${_0x5da0d3?html` <span tabindex="0" style="flex:1;">${_0x5da0d3}</span> `:html`<span tabindex="0" ></span>`}
|
|
3
|
+
`;}async[a0_0x56614b(0x209)](){const _0x42b07a=a0_0x56614b;super[_0x42b07a(0x209)]();}['_onclick'](_0x28469f){const _0x353b88=a0_0x56614b;_0x28469f[_0x353b88(0x200)](),this[_0x353b88(0x1fd)]();}[a0_0x56614b(0x1f2)](_0x44a040){const _0xa990e8=a0_0x56614b;_0xa990e8(0x206)==_0x44a040[_0xa990e8(0x1e9)]&&(_0x44a040[_0xa990e8(0x200)](),this[_0xa990e8(0x1fd)]());}[a0_0x56614b(0x1fd)](){const _0x1420c1=a0_0x56614b;this[_0x1420c1(0x1fe)]&&delete this[_0x1420c1(0x1fe)];var _0xe20097=html`
|
|
4
4
|
<code-input-editor-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x1420c1(0x1f4)]}
|
|
6
|
+
.confirmCallback=${(_0x53d308=>{const _0x5b1039=_0x1420c1;this[_0x5b1039(0x205)](new CustomEvent(_0x5b1039(0x1ed),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x5b1039(0x1f4)],'after':_0x53d308?_0x5b1039(0x207)==typeof this['value']?JSON[_0x5b1039(0x1f8)](_0x53d308):_0x53d308:null,'record':this['record'],'column':this['column'],'row':this[_0x5b1039(0x1fa)]}}));})[_0x1420c1(0x1fc)](this)}
|
|
7
7
|
></code-input-editor-popup>
|
|
8
|
-
`;this[
|
|
8
|
+
`;this[_0x1420c1(0x1fe)]=openPopup(_0xe20097,{'backdrop':!0x0,'size':_0x1420c1(0x201),'title':TermsUtil[_0x1420c1(0x1ff)](_0x1420c1(0x1fb))});}}customElements[a0_0x56614b(0x1ee)](a0_0x56614b(0x1ea),GristEditorCodeInput);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
function a0_0x5dd9(){const _0x50441c=['options','_onkeydown','Enter','3963924vdwswA','stopPropagation','record','value','length','191888uBvtfx','5SjeNAD','row','filter','tTitle','display','1528455mWqlrW','field-change','push','552573HCvWuB','dispField','openSelector','57BAWtGl','select_item','popup','large','map','144DZtlyq','firstUpdated','properties','codes','3042786IFqBfg','forEach','dispatchEvent','59957440geNbqc','keys','grist-editor-meta-code-selector','tMenu','1190730dluDzZ','column'];a0_0x5dd9=function(){return _0x50441c;};return a0_0x5dd9();}const a0_0x5a9c5c=a0_0x1104;(function(_0x4fae38,_0x1b9efb){const _0x35ceb8=a0_0x1104,_0x30f4e2=_0x4fae38();while(!![]){try{const _0x1dc2cc=-parseInt(_0x35ceb8(0xa6))/0x1+-parseInt(_0x35ceb8(0xb5))/0x2+parseInt(_0x35ceb8(0xac))/0x3*(-parseInt(_0x35ceb8(0xa0))/0x4)+-parseInt(_0x35ceb8(0xa1))/0x5*(parseInt(_0x35ceb8(0xbc))/0x6)+-parseInt(_0x35ceb8(0xa9))/0x7*(parseInt(_0x35ceb8(0xb1))/0x8)+parseInt(_0x35ceb8(0x9b))/0x9+parseInt(_0x35ceb8(0xb8))/0xa;if(_0x1dc2cc===_0x1b9efb)break;else _0x30f4e2['push'](_0x30f4e2['shift']());}catch(_0x296971){_0x30f4e2['push'](_0x30f4e2['shift']());}}}(a0_0x5dd9,0xd0dd3));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x1104(_0x400815,_0xfc11da){const _0x5dd918=a0_0x5dd9();return a0_0x1104=function(_0x11043b,_0x18732f){_0x11043b=_0x11043b-0x97;let _0x31a83b=_0x5dd918[_0x11043b];return _0x31a83b;},a0_0x1104(_0x400815,_0xfc11da);}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x5a9c5c(0xb3)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0x5f3f82=a0_0x5a9c5c;let _0x1ae32b='';if(this[_0x5f3f82(0x97)][_0x5f3f82(0x9d)]&&this['column'][_0x5f3f82(0x9d)][_0x5f3f82(0x98)]){if(this[_0x5f3f82(0x97)][_0x5f3f82(0x9d)]['options'][_0x5f3f82(0xaa)]){let _0x31037e=this['column'][_0x5f3f82(0x9d)][_0x5f3f82(0x98)]['codes']||[];if(this[_0x5f3f82(0x9e)]&&this['value'][_0x5f3f82(0x9f)]>0x0){let _0x2c7046=_0x31037e[_0x5f3f82(0xa3)](_0x2e566a=>_0x2e566a[_0x5f3f82(0x9e)]===this[_0x5f3f82(0x9e)]);_0x1ae32b=_0x2c7046&&_0x2c7046[_0x5f3f82(0x9f)]>0x0?_0x2c7046[0x0][_0x5f3f82(0xa5)]:'';}}else _0x1ae32b=this[_0x5f3f82(0x9e)];}else _0x1ae32b='';return html`
|
|
2
|
+
${_0x1ae32b?html` <span tabindex="0" style="flex:1">${_0x1ae32b}</span> `:html`<span tabindex="0"></span>`}
|
|
3
|
+
`;}async[a0_0x5a9c5c(0xb2)](){const _0x1e3b6a=a0_0x5a9c5c;super[_0x1e3b6a(0xb2)]();}['_onclick'](_0x401c99){const _0x6dddb8=a0_0x5a9c5c;_0x401c99[_0x6dddb8(0x9c)](),this[_0x6dddb8(0xab)]();}[a0_0x5a9c5c(0x99)](_0x31b9e8){const _0x3af8cc=a0_0x5a9c5c;_0x3af8cc(0x9a)==_0x31b9e8['key']&&(_0x31b9e8[_0x3af8cc(0x9c)](),this[_0x3af8cc(0xab)]());}[a0_0x5a9c5c(0xab)](){const _0x376d0d=a0_0x5a9c5c;this['popup']&&delete this[_0x376d0d(0xae)];var {selectorName:_0x2efdc2=TermsUtil[_0x376d0d(0xa4)](_0x376d0d(0xad))}=this['column'][_0x376d0d(0x9d)][_0x376d0d(0x98)]||{},_0x143b38=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x376d0d(0x9e)]}
|
|
6
|
+
.options=${this[_0x376d0d(0x97)][_0x376d0d(0x9d)]['options']}
|
|
7
|
+
.confirmCallback=${(_0x154428=>{const _0x45cc4b=_0x376d0d;let _0x548dac=this[_0x45cc4b(0x97)][_0x45cc4b(0x9d)]['options']['codeField'],_0x555898=this['column'][_0x45cc4b(0x9d)][_0x45cc4b(0x98)]['dispField'],_0x39bec8=this[_0x45cc4b(0x97)][_0x45cc4b(0x9d)][_0x45cc4b(0x98)]['fieldMap']||{};if(this[_0x45cc4b(0x97)][_0x45cc4b(0x9d)][_0x45cc4b(0x98)][_0x45cc4b(0xb4)]||(this[_0x45cc4b(0x97)][_0x45cc4b(0x9d)][_0x45cc4b(0x98)][_0x45cc4b(0xb4)]=[]),_0x154428){let _0x4782f3=this[_0x45cc4b(0x97)][_0x45cc4b(0x9d)][_0x45cc4b(0x98)][_0x45cc4b(0xb4)]['filter'](_0x47f213=>_0x47f213[_0x45cc4b(0x9e)]==_0x154428[_0x548dac]);_0x4782f3&&0x0!=_0x4782f3[_0x45cc4b(0x9f)]||this['column'][_0x45cc4b(0x9d)][_0x45cc4b(0x98)][_0x45cc4b(0xb4)][_0x45cc4b(0xa8)]({'value':_0x154428[_0x548dac],'display':_0x555898['split'](',')[_0x45cc4b(0xb0)](_0x3c3ad6=>_0x154428[_0x3c3ad6])['join']('-')});}this[_0x45cc4b(0xb7)](new CustomEvent(_0x45cc4b(0xa7),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x45cc4b(0x9e)],'after':_0x154428?_0x154428[_0x548dac]:null,'record':this[_0x45cc4b(0x9d)],'column':this[_0x45cc4b(0x97)],'row':this[_0x45cc4b(0xa2)]}})),Object[_0x45cc4b(0xb9)](_0x39bec8)[_0x45cc4b(0xb6)](_0x54e37a=>{const _0x2a0977=_0x45cc4b;this[_0x2a0977(0xb7)](new CustomEvent(_0x2a0977(0xa7),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x2a0977(0x9d)][_0x39bec8[_0x54e37a]],'after':_0x154428?_0x154428[_0x54e37a]:null,'record':this['record'],'column':{'name':_0x39bec8[_0x54e37a]},'row':this['row']}}));});})['bind'](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this['popup']=openPopup(
|
|
9
|
+
`;this['popup']=openPopup(_0x143b38,{'backdrop':!0x0,'size':_0x376d0d(0xaf),'title':TermsUtil[_0x376d0d(0xbb)](_0x2efdc2)});}}customElements['define'](a0_0x5a9c5c(0xba),GristEditorMetaCodeSelector);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
${this[
|
|
3
|
-
`;}async[
|
|
1
|
+
var a0_0x545706=a0_0x8a00;(function(_0x3dea04,_0xfe3f94){var _0xc9b11b=a0_0x8a00,_0x4486f3=_0x3dea04();while(!![]){try{var _0xd57a36=-parseInt(_0xc9b11b(0xbe))/0x1*(-parseInt(_0xc9b11b(0xa5))/0x2)+parseInt(_0xc9b11b(0xab))/0x3*(-parseInt(_0xc9b11b(0xb4))/0x4)+parseInt(_0xc9b11b(0xa3))/0x5*(parseInt(_0xc9b11b(0xbb))/0x6)+parseInt(_0xc9b11b(0xbd))/0x7+-parseInt(_0xc9b11b(0xad))/0x8+-parseInt(_0xc9b11b(0xa9))/0x9*(parseInt(_0xc9b11b(0xba))/0xa)+-parseInt(_0xc9b11b(0xb0))/0xb*(-parseInt(_0xc9b11b(0xb3))/0xc);if(_0xd57a36===_0xfe3f94)break;else _0x4486f3['push'](_0x4486f3['shift']());}catch(_0x289d03){_0x4486f3['push'](_0x4486f3['shift']());}}}(a0_0x4a78,0x3883a));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x4a78(){var _0x4a8924=['_onkeydown','key','209cBjEpC','grist-editor-meta-object-selector','openSelector','216696kqbWFM','108376euGKCl','dispatchEvent','split','define','firstUpdated','properties','2298620QsvrbL','128526gyJwcH','column','710990bqGlus','7iZiRyM','editorTemplate','value','popup','options','fieldMap','Enter','55MuBvLm','row','103154zUeCSd','record','stopPropagation','select_item','18pMBDOC','keys','3QpeBtj','tTitle','2584336veiuwg'];a0_0x4a78=function(){return _0x4a8924;};return a0_0x4a78();}import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';function a0_0x8a00(_0x435e2d,_0x54beda){var _0x4a7806=a0_0x4a78();return a0_0x8a00=function(_0x8a0013,_0x35d65b){_0x8a0013=_0x8a0013-0x9f;var _0x37b7b3=_0x4a7806[_0x8a0013];return _0x37b7b3;},a0_0x8a00(_0x435e2d,_0x54beda);}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x545706(0xb9)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x545706(0xbf)](){var _0x53e40a=a0_0x545706;let _0x48763a='';return this[_0x53e40a(0xc0)]&&this[_0x53e40a(0xbc)][_0x53e40a(0xa6)]['options']&&(_0x48763a=this[_0x53e40a(0xbc)][_0x53e40a(0xa6)][_0x53e40a(0xa0)]['nameField'][_0x53e40a(0xb6)](',')['map'](_0x504e1f=>this[_0x53e40a(0xc0)][_0x504e1f])['join']('-')),html`
|
|
2
|
+
${this[_0x53e40a(0xc0)]?html` <span tabindex="0" style="flex:1">${_0x48763a}</span> `:html`<span tabindex="0">${_0x48763a}</span>`}
|
|
3
|
+
`;}async[a0_0x545706(0xb8)](){super['firstUpdated']();}['_onclick'](_0x11d06a){var _0x70eeb2=a0_0x545706;_0x11d06a[_0x70eeb2(0xa7)](),this[_0x70eeb2(0xb2)]();}[a0_0x545706(0xae)](_0x37a33a){var _0x325656=a0_0x545706;_0x325656(0xa2)==_0x37a33a[_0x325656(0xaf)]&&(_0x37a33a[_0x325656(0xa7)](),this['openSelector']());}[a0_0x545706(0xb2)](){var _0x23479c=a0_0x545706;this[_0x23479c(0x9f)]&&delete this[_0x23479c(0x9f)];var {selectorName:_0x3d7f79=TermsUtil[_0x23479c(0xac)](_0x23479c(0xa8))}=this['column'][_0x23479c(0xa6)][_0x23479c(0xa0)]||{},_0x2f6dd6=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this['
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x23479c(0xc0)]}
|
|
6
|
+
.options=${this[_0x23479c(0xbc)]['record'][_0x23479c(0xa0)]}
|
|
7
|
+
.confirmCallback=${(_0x36bb40=>{var _0x3e1715=_0x23479c;let _0x3c36e3=this[_0x3e1715(0xbc)][_0x3e1715(0xa6)][_0x3e1715(0xa0)][_0x3e1715(0xa1)]||{};this[_0x3e1715(0xb5)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3e1715(0xc0)],'after':_0x36bb40||null,'record':this[_0x3e1715(0xa6)],'column':this[_0x3e1715(0xbc)],'row':this[_0x3e1715(0xa4)]}})),Object[_0x3e1715(0xaa)](_0x3c36e3)['forEach'](_0x4abc94=>{var _0xe94bf2=_0x3e1715;this[_0xe94bf2(0xb5)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0xe94bf2(0xa6)][_0x3c36e3[_0x4abc94]],'after':_0x36bb40?_0x36bb40[_0x4abc94]:null,'record':this['record'],'column':{'name':_0x3c36e3[_0x4abc94]},'row':this[_0xe94bf2(0xa4)]}}));});})['bind'](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this[_0x23479c(0x9f)]=openPopup(_0x2f6dd6,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x3d7f79)});}}customElements[a0_0x545706(0xb7)](a0_0x545706(0xb1),GristEditorMetaObjectSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x317595,_0x5d7ab7){const _0xdc520e=a0_0xcc1b,_0x58328e=_0x317595();while(!![]){try{const _0x1e99f8=parseInt(_0xdc520e(0x1e7))/0x1+-parseInt(_0xdc520e(0x1ee))/0x2+-parseInt(_0xdc520e(0x1f0))/0x3+-parseInt(_0xdc520e(0x1ef))/0x4+-parseInt(_0xdc520e(0x1e5))/0x5*(parseInt(_0xdc520e(0x1f2))/0x6)+parseInt(_0xdc520e(0x1ed))/0x7*(parseInt(_0xdc520e(0x1f1))/0x8)+parseInt(_0xdc520e(0x1e4))/0x9;if(_0x1e99f8===_0x5d7ab7)break;else _0x58328e['push'](_0x58328e['shift']());}catch(_0x412ec4){_0x58328e['push'](_0x58328e['shift']());}}}(a0_0x2f95,0x4f84f));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0xcc1b(_0x12eeb8,_0x25805e){const _0x2f95d8=a0_0x2f95();return a0_0xcc1b=function(_0xcc1b62,_0x486b77){_0xcc1b62=_0xcc1b62-0x1e3;let _0x37eca5=_0x2f95d8[_0xcc1b62];return _0x37eca5;},a0_0xcc1b(_0x12eeb8,_0x25805e);}function a0_0x2f95(){const _0x3af27b=['475356hdeeZy','317754psnSfn','9104nrONFd','2276454HezNBD','target','removeAttribute','substring','6998832gGYjAo','5pqrxwK','setAttribute','76983iPzCSV','stringify','length','object','...','data-tooltip','2576wimtFN','687076NdGmIP'];a0_0x2f95=function(){return _0x3af27b;};return a0_0x2f95();}function onmouseover(_0x46cbf5){const _0x121d2b=a0_0xcc1b,_0x417207=_0x46cbf5['target'];detectOverflow(_0x417207)&&_0x417207[_0x121d2b(0x1e6)](_0x121d2b(0x1ec),_0x417207['textContent']);}function onmouseout(_0x164cab){const _0x4aeac9=a0_0xcc1b;_0x164cab[_0x4aeac9(0x1f3)][_0x4aeac9(0x1f4)](_0x4aeac9(0x1ec));}export const GristRendererCodeInput=(_0x5142a4,_0x1e5dcc,_0x42b898,_0x5a175b,_0x6d0cfa)=>{const _0x20bb6=a0_0xcc1b;let _0x3c23b8='';return _0x5142a4&&(_0x3c23b8=_0x20bb6(0x1ea)==typeof _0x5142a4?JSON[_0x20bb6(0x1e8)](_0x5142a4,0x0,0x2):_0x5142a4,_0x3c23b8=_0x3c23b8[_0x20bb6(0x1e9)]>0x14?_0x3c23b8[_0x20bb6(0x1e3)](0x0,0x14)+_0x20bb6(0x1eb):_0x3c23b8),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x3c23b8}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x40a1(_0x29b82a,_0x15010f){const _0x39e540=a0_0x39e5();return a0_0x40a1=function(_0x40a1e6,_0x301828){_0x40a1e6=_0x40a1e6-0x96;let _0xb3fc4b=_0x39e540[_0x40a1e6];return _0xb3fc4b;},a0_0x40a1(_0x29b82a,_0x15010f);}(function(_0x1df2ee,_0x1ad243){const _0x26fb6c=a0_0x40a1,_0x4e8df2=_0x1df2ee();while(!![]){try{const _0x2cf3b7=-parseInt(_0x26fb6c(0xa6))/0x1+-parseInt(_0x26fb6c(0xa2))/0x2+parseInt(_0x26fb6c(0x9f))/0x3*(-parseInt(_0x26fb6c(0x9e))/0x4)+-parseInt(_0x26fb6c(0x98))/0x5+parseInt(_0x26fb6c(0xa3))/0x6*(-parseInt(_0x26fb6c(0xa5))/0x7)+parseInt(_0x26fb6c(0x9a))/0x8+parseInt(_0x26fb6c(0xa0))/0x9;if(_0x2cf3b7===_0x1ad243)break;else _0x4e8df2['push'](_0x4e8df2['shift']());}catch(_0x46940b){_0x4e8df2['push'](_0x4e8df2['shift']());}}}(a0_0x39e5,0xb230a));import{html}from'lit';function a0_0x39e5(){const _0x455770=['dispField','length','538220OPfqVi','filter','8896696tWBqhu','textContent','options','codes','5128LxTOSO','831GXLtjy','8158536yFWlqf','display','904684FuIYGn','6CByvKM','data-tooltip','2050699OYBvdA','80668doaJjL','record'];a0_0x39e5=function(){return _0x455770;};return a0_0x39e5();}import{detectOverflow}from'@operato/utils';function onmouseover(_0x2e82a9){const _0x49ff4f=a0_0x40a1,_0x405f71=_0x2e82a9['target'];detectOverflow(_0x405f71)&&_0x405f71['setAttribute'](_0x49ff4f(0xa4),_0x405f71[_0x49ff4f(0x9b)]);}function onmouseout(_0x81096d){_0x81096d['target']['removeAttribute']('data-tooltip');}export const GristRendererMetaCodeSelector=(_0x948ba1,_0x1b9d8b,_0x35bc14,_0x274b26,_0x1b993e)=>{const _0x58fed3=a0_0x40a1;let _0x25c729='';if(_0x1b9d8b['record']&&_0x1b9d8b[_0x58fed3(0xa7)][_0x58fed3(0x9c)]){if(_0x1b9d8b[_0x58fed3(0xa7)][_0x58fed3(0x9c)][_0x58fed3(0x96)]){if(_0x1b9d8b['record'][_0x58fed3(0x9c)][_0x58fed3(0x9d)]||(_0x1b9d8b[_0x58fed3(0xa7)][_0x58fed3(0x9c)][_0x58fed3(0x9d)]=[]),_0x948ba1&&_0x948ba1[_0x58fed3(0x97)]>0x0){let _0x4bb5d0=_0x1b9d8b[_0x58fed3(0xa7)]['options']['codes'][_0x58fed3(0x99)](_0x4523bb=>_0x4523bb['value']===_0x948ba1);_0x25c729=_0x4bb5d0&&_0x4bb5d0[_0x58fed3(0x97)]>0x0?_0x4bb5d0[0x0][_0x58fed3(0xa1)]:_0x948ba1;}}else _0x25c729=_0x948ba1;}else _0x25c729='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x25c729}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x28fbcc,_0x2962b6){const _0x595b23=a0_0x1e15,_0x36f991=_0x28fbcc();while(!![]){try{const _0x5aca3e=-parseInt(_0x595b23(0x1e6))/0x1*(-parseInt(_0x595b23(0x1e4))/0x2)+-parseInt(_0x595b23(0x1db))/0x3+parseInt(_0x595b23(0x1e5))/0x4+parseInt(_0x595b23(0x1e3))/0x5+parseInt(_0x595b23(0x1e0))/0x6*(parseInt(_0x595b23(0x1df))/0x7)+-parseInt(_0x595b23(0x1e8))/0x8+parseInt(_0x595b23(0x1da))/0x9*(parseInt(_0x595b23(0x1e1))/0xa);if(_0x5aca3e===_0x2962b6)break;else _0x36f991['push'](_0x36f991['shift']());}catch(_0x4cd319){_0x36f991['push'](_0x36f991['shift']());}}}(a0_0x5f3c,0x7fde2));function a0_0x1e15(_0x79213e,_0x2a442c){const _0x5f3c37=a0_0x5f3c();return a0_0x1e15=function(_0x1e1516,_0x4350ff){_0x1e1516=_0x1e1516-0x1d8;let _0xf1190=_0x5f3c37[_0x1e1516];return _0xf1190;},a0_0x1e15(_0x79213e,_0x2a442c);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x595206){const _0x4dd46c=a0_0x1e15,_0x1d77b0=_0x595206[_0x4dd46c(0x1e2)];detectOverflow(_0x1d77b0)&&_0x1d77b0[_0x4dd46c(0x1e7)]('data-tooltip',_0x1d77b0[_0x4dd46c(0x1de)]);}function a0_0x5f3c(){const _0x1283d6=['5408pqzhtK','3608432dqoNVr','72tMlUBx','setAttribute','2908336YaEoZS','map','join','2385837rNdWCr','3123090eIHkYX','options','record','textContent','2261FaNFyD','3870rHuAkE','10uZpouS','target','1790470Ywcqle'];a0_0x5f3c=function(){return _0x1283d6;};return a0_0x5f3c();}function onmouseout(_0x40e2d2){const _0x32f4a4=a0_0x1e15;_0x40e2d2[_0x32f4a4(0x1e2)]['removeAttribute']('data-tooltip');}export const GristRendererMetaObjectSelector=(_0x343cda,_0x5a1e4f,_0x130c88,_0x2c298f,_0x5e15d2)=>{const _0x16ad0a=a0_0x1e15;let _0x2285cf='';return _0x343cda&&_0x5a1e4f[_0x16ad0a(0x1dd)]['options']&&(_0x2285cf=_0x5a1e4f[_0x16ad0a(0x1dd)][_0x16ad0a(0x1dc)]['nameField']['split'](',')[_0x16ad0a(0x1d8)](_0x32fb12=>_0x343cda[_0x32fb12])[_0x16ad0a(0x1d9)]('-')),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2285cf}</span>`;};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x36b9cd=a0_0x45b8;(function(_0x5e940f,_0x8d7008){var _0x13400f=a0_0x45b8,_0x238253=_0x5e940f();while(!![]){try{var _0xaddd86=-parseInt(_0x13400f(0x175))/0x1*(-parseInt(_0x13400f(0x17d))/0x2)+-parseInt(_0x13400f(0x172))/0x3*(-parseInt(_0x13400f(0x170))/0x4)+parseInt(_0x13400f(0x173))/0x5*(parseInt(_0x13400f(0x15d))/0x6)+parseInt(_0x13400f(0x169))/0x7*(parseInt(_0x13400f(0x17a))/0x8)+-parseInt(_0x13400f(0x17c))/0x9+parseInt(_0x13400f(0x16a))/0xa*(-parseInt(_0x13400f(0x174))/0xb)+parseInt(_0x13400f(0x177))/0xc;if(_0xaddd86===_0x8d7008)break;else _0x238253['push'](_0x238253['shift']());}catch(_0xd66cde){_0x238253['push'](_0x238253['shift']());}}}(a0_0x3716,0x45e8a));function a0_0x45b8(_0x85dc07,_0x5b9b9a){var _0x3716c1=a0_0x3716();return a0_0x45b8=function(_0x45b87e,_0x18bd0c){_0x45b87e=_0x45b87e-0x159;var _0x29c1fe=_0x3716c1[_0x45b87e];return _0x29c1fe;},a0_0x45b8(_0x85dc07,_0x5b9b9a);}import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x3716(){var _0x679570=['10vCfZhx','stringify','tButton','styles','bind','info','4HQZRZg','shadowRoot','281763jVDGNe','5TjCcQj','3713457XpXYyM','157031QQMtxy','firstUpdated','3128580QcXzcg','code-input-editor-popup','clickConfirm','88mCcZWj','NOTHING_CHANGED','2013849BscDmI','4VlkFtM','confirm','querySelector','changedValue','ox-input-code','codeEditor','38700vJilkz','codeVlaue','clickEmpty','showToast','empty','connectedCallback','value','define','confirmCallback','clickCancel','cancel','render','109802BEGvTi'];a0_0x3716=function(){return _0x679570;};return a0_0x3716();}import{TermsUtil}from'../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';import'@operato/input/ox-input-code.js';import{closePopup}from'@operato/popup';export class CodeInputEditorPopup extends LitElement{static [a0_0x36b9cd(0x16d)]=[CommonGristStyles,ButtonContainerStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -19,17 +19,17 @@ var a0_0x22c6ce=a0_0x50a3;(function(_0x25cb6f,_0x268621){var _0x79961=a0_0x50a3,
|
|
|
19
19
|
display: flex;
|
|
20
20
|
margin-left: auto;
|
|
21
21
|
}
|
|
22
|
-
`];async[
|
|
23
|
-
<ox-input-code mode="javascript" value=${this[
|
|
22
|
+
`];async[a0_0x36b9cd(0x162)](){var _0x436d48=a0_0x36b9cd;'object'==typeof this[_0x436d48(0x163)]?this['codeVlaue']=JSON[_0x436d48(0x16b)](this[_0x436d48(0x163)],0x0,0x2):this['codeVlaue']=this[_0x436d48(0x163)],await super[_0x436d48(0x162)]();}async[a0_0x36b9cd(0x176)](){await super['firstUpdated']();}[a0_0x36b9cd(0x168)](){var _0x886a81=a0_0x36b9cd;return html`
|
|
23
|
+
<ox-input-code mode="javascript" value=${this[_0x886a81(0x15e)]} tab-size="2" tab-as-space="true"></ox-input-code>
|
|
24
24
|
<div id="button-container" class="button-container">
|
|
25
|
-
<mwc-button raised label="${TermsUtil[
|
|
26
|
-
@click=${this[
|
|
25
|
+
<mwc-button raised label="${TermsUtil[_0x886a81(0x16c)](_0x886a81(0x161))}" style="margin-left:7px;margin-top:7px;"
|
|
26
|
+
@click=${this[_0x886a81(0x15f)][_0x886a81(0x16e)](this)}>
|
|
27
27
|
</mwc-button>
|
|
28
|
-
<mwc-button raised label="${TermsUtil[
|
|
29
|
-
@click=${this[
|
|
28
|
+
<mwc-button raised label="${TermsUtil[_0x886a81(0x16c)](_0x886a81(0x167))}" style="margin-left:7px;margin-top:7px;"
|
|
29
|
+
@click=${this[_0x886a81(0x166)][_0x886a81(0x16e)](this)}>
|
|
30
30
|
</mwc-button>
|
|
31
|
-
<mwc-button raised label="${TermsUtil['tButton'](
|
|
32
|
-
@click=${this[
|
|
31
|
+
<mwc-button raised label="${TermsUtil['tButton'](_0x886a81(0x17e))}" style="margin-left:7px;margin-top:7px;"
|
|
32
|
+
@click=${this['clickConfirm'][_0x886a81(0x16e)](this)}>
|
|
33
33
|
</mwc-button>
|
|
34
34
|
</div>
|
|
35
|
-
`;}get[
|
|
35
|
+
`;}get[a0_0x36b9cd(0x15c)](){var _0x505141=a0_0x36b9cd;return this[_0x505141(0x171)][_0x505141(0x159)](_0x505141(0x15b));}async[a0_0x36b9cd(0x15f)](_0x20c456){var _0x1201e6=a0_0x36b9cd;this[_0x1201e6(0x165)]&&this[_0x1201e6(0x165)](null),closePopup(this);}async[a0_0x36b9cd(0x166)](_0x88d7ed){closePopup(this);}async[a0_0x36b9cd(0x179)](_0x3c7996){var _0x285f6c=a0_0x36b9cd;this[_0x285f6c(0x15e)]!==this['codeEditor'][_0x285f6c(0x163)]?this[_0x285f6c(0x15a)](this['codeEditor'][_0x285f6c(0x163)]):MetaApi[_0x285f6c(0x160)](_0x285f6c(0x16f),TermsUtil['tText'](_0x285f6c(0x17b)));}async[a0_0x36b9cd(0x15a)](_0x726bca){var _0x4a0383=a0_0x36b9cd;this[_0x4a0383(0x165)]&&this[_0x4a0383(0x165)](_0x726bca),closePopup(this);}}customElements[a0_0x36b9cd(0x164)](a0_0x36b9cd(0x178),CodeInputEditorPopup);
|