@things-factory/meta-ui 6.2.52 → 6.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/bootstrap.js +1 -1
- package/client/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- 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 +8 -8
- 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/file-upload-popup.js +11 -11
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- package/client/component/popup/record-based-code-editor-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-define-page.js +11 -11
- 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/button-role/button-role-detail.js +1 -1
- package/client/pages/button-role/button-role-page.js +1 -1
- package/client/pages/doc-number/doc-number-page.js +1 -1
- package/client/pages/doc-number/next-doc-number-popup.js +1 -1
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-setting-let.js +6 -6
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/menu/export-menu-popup.js +7 -7
- 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/printer-device/printer-device-page.js +1 -1
- package/client/pages/template/doc-template-page.js +1 -1
- package/client/pages/template/template-file-page.js +1 -1
- 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/grist-default-value.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 +107 -108
- package/client/utils/service-util.js +35 -35
- 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 +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +4 -4
package/client/actions/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
const a0_0x58b458=a0_0x251c;(function(_0x29ecac,_0x396f71){const _0x330c26=a0_0x251c,_0x2e9168=_0x29ecac();while(!![]){try{const _0x38916b=parseInt(_0x330c26(0x82))/0x1*(-parseInt(_0x330c26(0x89))/0x2)+-parseInt(_0x330c26(0x7b))/0x3+parseInt(_0x330c26(0x80))/0x4+parseInt(_0x330c26(0x7f))/0x5+-parseInt(_0x330c26(0x8a))/0x6+-parseInt(_0x330c26(0x79))/0x7*(-parseInt(_0x330c26(0x84))/0x8)+parseInt(_0x330c26(0x8e))/0x9*(-parseInt(_0x330c26(0x81))/0xa);if(_0x38916b===_0x396f71)break;else _0x2e9168['push'](_0x2e9168['shift']());}catch(_0x1b37c5){_0x2e9168['push'](_0x2e9168['shift']());}}}(a0_0x5f00,0xe7342));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x593fc1 from'graphql-tag';import{html}from'lit';function a0_0x251c(_0x153823,_0x4c7761){const _0x5f00f0=a0_0x5f00();return a0_0x251c=function(_0x251ccc,_0xb3ec11){_0x251ccc=_0x251ccc-0x73;let _0x4f6e66=_0x5f00f0[_0x251ccc];return _0x4f6e66;},a0_0x251c(_0x153823,_0x4c7761);}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';function a0_0x5f00(){const _0x5663eb=['UPDATE_META_UI','FRONT_END','content','dispatch','4RXDfNR','3454728HMJxGK','value','query','querySelector','9294759mePdim','UPDATE_META_MENU_TEMPLATE','dynamic-menu-part','NAVBAR','portrait','active','hamburger','12452216ghKwFg','landscape','738663chwVoM','appName','get','meta[name=\x22application-name\x22]','5149945tVfzEh','1971100SdfzVg','10lAZbIW','249941swxrdd','items','8sjfdzn'];a0_0x5f00=function(){return _0x5663eb;};return a0_0x5f00();}import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x58b458(0x85);export const UPDATE_META_MENU_TEMPLATE=a0_0x58b458(0x73);var HAMBURGER;export async function setupMenuPart(_0x8f6f31){const _0x3b18a2=a0_0x58b458;var {hovering:_0x9263c4=!!isMobileDevice(),slotTemplate:_0x2af785,portraitSlotTemplate:_0x6cf0,landscapeSlotTemplate:_0x3f1baf,position:_0x69621d=VIEWPART_POSITION[_0x3b18a2(0x75)]}=_0x8f6f31||{};const {hovering:_0x1844df}=(await clientSettingStore[_0x3b18a2(0x7d)]('dynamic-menu'))?.[_0x3b18a2(0x8b)]||{};void 0x0!==_0x1844df&&(_0x9263c4=_0x1844df);const _0x41d65d=_0x69621d==VIEWPART_POSITION['HEADERBAR']?_0x3b18a2(0x7a):_0x3b18a2(0x76),_0x2f1570=(_0x3b18a2(0x7a)==_0x41d65d?_0x3f1baf:_0x6cf0)||_0x2af785||html``;appendViewpart({'name':_0x3b18a2(0x74),'viewpart':{'show':!_0x9263c4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x9263c4,'template':html`<dynamic-menu-part .orientation=${_0x41d65d}>${_0x2f1570}</dynamic-menu-part>`},'position':_0x69621d}),_0x9263c4&&_0x3b18a2(0x76)==_0x41d65d?HAMBURGER||(HAMBURGER={'name':_0x3b18a2(0x78),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0xa070ef=>toggleOverlay(_0x3b18a2(0x74),{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION[_0x3b18a2(0x86)]},store[_0x3b18a2(0x88)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x3b18a2(0x88)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x43fe8){const _0x348d54=a0_0x58b458;var _0x5141b5=document[_0x348d54(0x8d)](_0x348d54(0x7e))?.[_0x348d54(0x87)],_0x5232ae=(await client[_0x348d54(0x8c)]({'query':a0_0x593fc1`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ const a0_0x4a5135=a0_0x5659;(function(_0x2e9c27,_0x1f5b7c){const _0x498506=a0_0x
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x348d54(0x77),'operator':'eq','value':!0x0},{'name':_0x348d54(0x7c),'operator':'in','value':['',_0x5141b5]}],'sortings':[{'name':'rank','desc':!0x1}]}}))['data']['liteMenus'][_0x348d54(0x83)];store[_0x348d54(0x88)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x5232ae['filter'](_0x2f9314=>!_0x2f9314['appName']||_0x2f9314['appName']===_0x5141b5),'template':_0x43fe8});}
|
package/client/bootstrap.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-html'
|
|
2
2
|
|
|
3
|
-
import { auth } from '@things-factory/auth-base
|
|
3
|
+
import { auth } from '@things-factory/auth-base'
|
|
4
4
|
import { ADD_MORENDA } from '@things-factory/more-base'
|
|
5
5
|
import { navigate, store } from '@things-factory/shell'
|
|
6
6
|
import { navigateWithSilence, UPDATE_MODULES } from '@operato/shell'
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4d8736,_0x3289d7){const _0x473e2b=a0_0xd6d7,_0x58c798=_0x4d8736();while(!![]){try{const _0x5c6a2c=-parseInt(_0x473e2b(0x14a))/0x1+-parseInt(_0x473e2b(0x15a))/0x2+-parseInt(_0x473e2b(0x15f))/0x3*(parseInt(_0x473e2b(0x160))/0x4)+parseInt(_0x473e2b(0x141))/0x5*(-parseInt(_0x473e2b(0x152))/0x6)+parseInt(_0x473e2b(0x154))/0x7+parseInt(_0x473e2b(0x14c))/0x8*(parseInt(_0x473e2b(0x148))/0x9)+parseInt(_0x473e2b(0x14e))/0xa*(parseInt(_0x473e2b(0x158))/0xb);if(_0x5c6a2c===_0x3289d7)break;else _0x58c798['push'](_0x58c798['shift']());}catch(_0x221d00){_0x58c798['push'](_0x58c798['shift']());}}}(a0_0x4d99,0x42dd8));import'../popup/meta-object-selector-popup';function a0_0x4d99(){const _0x5e2291=['codes','form\x20[name=\x22','split','187fMODAb','large','652202kPwszt','dispField','map','filter-change','tagName','5154tjHnkR','968exCnHl','ox-grid-header','select_item','selectorName','50gCpwfS','codeField','length','querySelector','toLowerCase','[name=\x22','filter','284679UuDWGn','tMenu','98223OnkdfZ','name','24HOCVbm','renderRoot','459010GfOEbv','options','display','dispatchEvent','101316tGfsgM','stopPropagation','2853270ectRsc'];a0_0x4d99=function(){return _0x5e2291;};return a0_0x4d99();}function a0_0xd6d7(_0xbb951b,_0xb9b99a){const _0x4d996c=a0_0x4d99();return a0_0xd6d7=function(_0xd6d75e,_0x4db100){_0xd6d75e=_0xd6d75e-0x13f;let _0x1d942e=_0x4d996c[_0xd6d75e];return _0x1d942e;},a0_0xd6d7(_0xbb951b,_0xb9b99a);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x4980a1,_0x5a19ff,_0x4c253c){const _0x1e0685=a0_0xd6d7;var _0x30e487=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x5a19ff}
|
|
4
|
+
.options=${_0x4980a1['options']}
|
|
5
|
+
.confirmCallback=${_0x4c253c}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x30e487,{'backdrop':!0x0,'size':_0x1e0685(0x159),'title':_0x4980a1[_0x1e0685(0x14f)]['selectorName']?TermsUtil[_0x1e0685(0x149)](_0x4980a1[_0x1e0685(0x14f)][_0x1e0685(0x140)]):TermsUtil['tTitle'](_0x1e0685(0x13f))});}export const FilterFormMetaCodeSelect=(_0x208cf1,_0x5a25ef,_0x559d57)=>{const _0x395ee7=a0_0xd6d7,_0x5641e2=_0x208cf1['options'],_0x2bf0ba=_0x5641e2[_0x395ee7(0x155)]&&_0x5641e2['codes'][_0x395ee7(0x143)]>0x0?_0x5641e2[_0x395ee7(0x155)]:void 0x0,{operator:_0x1803e8='eq'}=_0x208cf1;let _0x374f55=_0x5a25ef||'',_0x1db0ad=_0x5a25ef||'';if(_0x5641e2[_0x395ee7(0x15b)]&&_0x5a25ef&&_0x2bf0ba){let _0x142822=_0x2bf0ba[_0x395ee7(0x147)](_0x5f28ec=>_0x5f28ec['value']==_0x5a25ef);_0x142822&&_0x142822[_0x395ee7(0x143)]>0x0&&(_0x1db0ad=_0x142822[0x0][_0x395ee7(0x150)]);}return'eq'===_0x1803e8?html`
|
|
8
|
+
<input name='${_0x208cf1[_0x395ee7(0x14b)]}' .value=${_0x374f55} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x208cf1[_0x395ee7(0x14b)]}_disp'
|
|
13
|
+
.value=${_0x1db0ad}
|
|
14
|
+
@click=${_0x9fd715=>{const _0x4edd57=_0x395ee7;_0x9fd715[_0x4edd57(0x153)]();const _0x24407b=_0x9fd715['target'];openMetaCodeSelector(_0x208cf1,_0x5a25ef,_0x3787d4=>{const _0x391e3c=_0x4edd57;let _0x4840b3=_0x3787d4?_0x3787d4[_0x5641e2[_0x391e3c(0x142)]]:'',_0x59162d=_0x4840b3;if(_0x3787d4&&_0x5641e2[_0x391e3c(0x15b)]){let _0x3e7a9d=_0x5641e2[_0x391e3c(0x15b)][_0x391e3c(0x157)](',');_0x59162d=_0x3787d4[_0x3e7a9d[0x0]],_0x3e7a9d[_0x391e3c(0x143)]>0x1&&(_0x59162d+='('+_0x3e7a9d['splice'](0x1)[_0x391e3c(0x15c)](_0xa2e687=>_0x3787d4[_0xa2e687])['join'](',')+')');}_0x24407b['value']=_0x59162d,(_0x391e3c(0x161)==_0x559d57[_0x391e3c(0x15e)][_0x391e3c(0x145)]()?_0x559d57[_0x391e3c(0x14d)][_0x391e3c(0x144)](_0x391e3c(0x146)+_0x208cf1[_0x391e3c(0x14b)]+'\x22]'):_0x559d57[_0x391e3c(0x14d)][_0x391e3c(0x144)](_0x391e3c(0x156)+_0x208cf1['name']+'\x22]'))['value']=_0x4840b3,_0x24407b[_0x391e3c(0x151)](new Event('change',{'bubbles':!0x0})),_0x24407b[_0x391e3c(0x151)](new CustomEvent(_0x391e3c(0x15d),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x208cf1[_0x391e3c(0x14b)],'operator':_0x1803e8,'value':_0x4840b3}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xa08686,_0x475cf6){const _0xd0b892=a0_0x3b9e,_0x720594=_0xa08686();while(!![]){try{const _0x21aaf5=parseInt(_0xd0b892(0x11b))/0x1+parseInt(_0xd0b892(0x127))/0x2+-parseInt(_0xd0b892(0x12c))/0x3*(parseInt(_0xd0b892(0x11a))/0x4)+-parseInt(_0xd0b892(0x110))/0x5*(parseInt(_0xd0b892(0x12a))/0x6)+parseInt(_0xd0b892(0x11f))/0x7+-parseInt(_0xd0b892(0x115))/0x8+parseInt(_0xd0b892(0x11d))/0x9;if(_0x21aaf5===_0x475cf6)break;else _0x720594['push'](_0x720594['shift']());}catch(_0x2a32c4){_0x720594['push'](_0x720594['shift']());}}}(a0_0x1ebb,0x220e2));import'../popup/meta-object-selector-popup';import{html}from'lit-html';function a0_0x3b9e(_0x3edec8,_0x39e3f8){const _0x1ebb05=a0_0x1ebb();return a0_0x3b9e=function(_0x3b9e71,_0x1b0fd0){_0x3b9e71=_0x3b9e71-0x10e;let _0x38cfab=_0x1ebb05[_0x3b9e71];return _0x38cfab;},a0_0x3b9e(_0x3edec8,_0x39e3f8);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x483c6f,_0x3a0dd8,_0x13e15d){const _0x4c3bda=a0_0x3b9e;var _0x1f8c27=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x3a0dd8}
|
|
4
|
+
.options=${_0x483c6f[_0x4c3bda(0x112)]}
|
|
5
|
+
.confirmCallback=${_0x13e15d}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x1f8c27,{'backdrop':!0x0,'size':_0x4c3bda(0x118),'title':_0x483c6f[_0x4c3bda(0x112)][_0x4c3bda(0x122)]?TermsUtil[_0x4c3bda(0x128)](_0x483c6f[_0x4c3bda(0x112)][_0x4c3bda(0x122)]):TermsUtil['tTitle'](_0x4c3bda(0x120))});}export const FilterFormMetaObjectSelect=(_0x220040,_0x50a156,_0x2be987)=>{const _0x344034=a0_0x3b9e,_0x8664c1=_0x220040[_0x344034(0x112)],{operator:_0x1d04bc='eq'}=_0x220040;let _0x28f362=_0x50a156?_0x50a156['id']:'',_0x2573f0='';if(_0x50a156){let _0xad36e2=_0x8664c1[_0x344034(0x12b)][_0x344034(0x10f)](',');_0x2573f0=_0x50a156[_0xad36e2[0x0]],_0xad36e2[_0x344034(0x117)]>0x1&&(_0x2573f0+='('+_0xad36e2[_0x344034(0x124)](0x1)[_0x344034(0x119)](_0x4fe23e=>_0x50a156[_0x4fe23e])[_0x344034(0x113)](',')+')');}return'eq'===_0x1d04bc?html`
|
|
8
|
+
<input name='${_0x220040[_0x344034(0x114)]}' .value=${_0x28f362} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x220040[_0x344034(0x114)]}_disp'
|
|
13
|
+
.value=${_0x2573f0}
|
|
14
|
+
@click=${_0xb4024e=>{const _0x558141=_0x344034;_0xb4024e[_0x558141(0x111)]();const _0x56e2c8=_0xb4024e[_0x558141(0x125)];openMetaObjectSelector(_0x220040,_0x50a156,_0x53d668=>{const _0x5bc4fa=_0x558141;let _0x191314=_0x53d668?_0x53d668['id']:'',_0x103483='';if(_0x53d668){let _0xd9a971=_0x8664c1[_0x5bc4fa(0x12b)][_0x5bc4fa(0x10f)](',');_0x103483=_0x53d668[_0xd9a971[0x0]],_0xd9a971['length']>0x1&&(_0x103483+='('+_0xd9a971[_0x5bc4fa(0x124)](0x1)[_0x5bc4fa(0x119)](_0x14be01=>_0x53d668[_0x14be01])['join'](',')+')');}_0x56e2c8[_0x5bc4fa(0x10e)]=_0x103483,(_0x5bc4fa(0x123)==_0x2be987['tagName'][_0x5bc4fa(0x129)]()?_0x2be987[_0x5bc4fa(0x11c)][_0x5bc4fa(0x11e)]('[name=\x22'+_0x220040[_0x5bc4fa(0x114)]+'\x22]'):_0x2be987[_0x5bc4fa(0x11c)]['querySelector'](_0x5bc4fa(0x116)+_0x220040[_0x5bc4fa(0x114)]+'\x22]'))[_0x5bc4fa(0x10e)]=_0x191314,_0x56e2c8[_0x5bc4fa(0x126)](new Event(_0x5bc4fa(0x121),{'bubbles':!0x0})),_0x56e2c8[_0x5bc4fa(0x126)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x220040[_0x5bc4fa(0x114)],'operator':_0x1d04bc,'value':_0x191314}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};function a0_0x1ebb(){const _0x18e752=['target','dispatchEvent','298180XznSdA','tMenu','toLowerCase','90096gETVfm','nameField','3sVoKlh','value','split','80dXrSzX','stopPropagation','options','join','name','716912eeVpMD','form\x20[name=\x22','length','large','map','687044dbHgYn','112325QKIGHu','renderRoot','1812195OVwFGw','querySelector','1248457YhcygX','select_item','change','selectorName','ox-grid-header','splice'];a0_0x1ebb=function(){return _0x18e752;};return a0_0x1ebb();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xc98baf,_0x48a67f){const _0x48bcfd=a0_0x307d,_0x4fbea8=_0xc98baf();while(!![]){try{const _0x194d1c=parseInt(_0x48bcfd(0x127))/0x1+parseInt(_0x48bcfd(0x11a))/0x2+-parseInt(_0x48bcfd(0x123))/0x3*(parseInt(_0x48bcfd(0x11d))/0x4)+parseInt(_0x48bcfd(0x12f))/0x5+parseInt(_0x48bcfd(0x125))/0x6*(parseInt(_0x48bcfd(0x130))/0x7)+parseInt(_0x48bcfd(0x12b))/0x8+-parseInt(_0x48bcfd(0x118))/0x9;if(_0x194d1c===_0x48a67f)break;else _0x4fbea8['push'](_0x4fbea8['shift']());}catch(_0x1938fb){_0x4fbea8['push'](_0x4fbea8['shift']());}}}(a0_0x330d,0x1a90b));function a0_0x330d(){const _0x5295e4=['dispField','798UZGfUa','name','113526guaihh','value','dispatchEvent','change','837712qrbbSf','stopPropagation','tagName','selectorName','197605jUaNFV','9401yUJgrV','filter','tTitle','renderRoot','options','large','record','ox-grid-header','toLowerCase','codes','length','tMenu','3166623PUMwjy','select_item','209702SrsRxw','[name=\x22','form\x20[name=\x22','1636AwXUzx','filter-change','display','querySelector','split','splice','591xsAhWc'];a0_0x330d=function(){return _0x5295e4;};return a0_0x330d();}function a0_0x307d(_0x234cfa,_0x2f2c91){const _0x330dbb=a0_0x330d();return a0_0x307d=function(_0x307d40,_0x1527be){_0x307d40=_0x307d40-0x118;let _0x5611f0=_0x330dbb[_0x307d40];return _0x5611f0;},a0_0x307d(_0x234cfa,_0x2f2c91);}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0xa03042,_0x1598a3,_0x234585){const _0x2ab611=a0_0x307d;var _0x53729e=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x1598a3}
|
|
4
|
+
.options=${_0xa03042['record'][_0x2ab611(0x134)]}
|
|
5
|
+
.confirmCallback=${_0x234585}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x53729e,{'backdrop':!0x0,'size':_0x2ab611(0x135),'title':_0xa03042[_0x2ab611(0x136)][_0x2ab611(0x134)][_0x2ab611(0x12e)]?TermsUtil[_0x2ab611(0x13b)](_0xa03042[_0x2ab611(0x136)]['options'][_0x2ab611(0x12e)]):TermsUtil[_0x2ab611(0x132)](_0x2ab611(0x119))});}export const FilterGristMetaCodeSelect=(_0x4cbe9d,_0x330d8c,_0x3661cb)=>{const _0x57c890=a0_0x307d,_0x14c74f=_0x4cbe9d[_0x57c890(0x131)],_0x490c7b=_0x4cbe9d[_0x57c890(0x136)][_0x57c890(0x134)],_0x58602e=_0x490c7b[_0x57c890(0x139)]&&_0x490c7b['codes'][_0x57c890(0x13a)]>0x0?_0x490c7b['codes']:void 0x0,{operator:_0x4710b0='eq'}=_0x14c74f;let _0x5a5202=_0x330d8c||'',_0x3c48b9=_0x330d8c||'';if(_0x490c7b[_0x57c890(0x124)]&&_0x330d8c&&_0x58602e){let _0x24dc63=_0x58602e[_0x57c890(0x131)](_0xadba8e=>_0xadba8e[_0x57c890(0x128)]==_0x330d8c);_0x24dc63&&_0x24dc63['length']>0x0&&(_0x3c48b9=_0x24dc63[0x0][_0x57c890(0x11f)]);}return'eq'===_0x4710b0?html`
|
|
8
|
+
<input name='${_0x4cbe9d[_0x57c890(0x126)]}' .value=${_0x5a5202} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x4cbe9d[_0x57c890(0x126)]}_disp'
|
|
13
|
+
.value=${_0x3c48b9}
|
|
14
|
+
@click=${_0x4866b3=>{const _0x30ac9a=_0x57c890;_0x4866b3[_0x30ac9a(0x12c)]();const _0x25a008=_0x4866b3['target'];openMetaCodeSelector(_0x4cbe9d,_0x330d8c,_0x59513f=>{const _0x17fb62=_0x30ac9a;let _0x47b729=_0x59513f?_0x59513f[_0x490c7b['codeField']]:'',_0x32d8d1=_0x47b729;if(_0x59513f&&_0x490c7b[_0x17fb62(0x124)]){let _0x313bf2=_0x490c7b['dispField'][_0x17fb62(0x121)](',');_0x32d8d1=_0x59513f[_0x313bf2[0x0]],_0x313bf2[_0x17fb62(0x13a)]>0x1&&(_0x32d8d1+='('+_0x313bf2[_0x17fb62(0x122)](0x1)['map'](_0x108d34=>_0x59513f[_0x108d34])['join'](',')+')');}_0x25a008[_0x17fb62(0x128)]=_0x32d8d1,(_0x17fb62(0x137)==_0x3661cb[_0x17fb62(0x12d)][_0x17fb62(0x138)]()?_0x3661cb[_0x17fb62(0x133)][_0x17fb62(0x120)](_0x17fb62(0x11b)+_0x14c74f['name']+'\x22]'):_0x3661cb[_0x17fb62(0x133)]['querySelector'](_0x17fb62(0x11c)+_0x14c74f[_0x17fb62(0x126)]+'\x22]'))[_0x17fb62(0x128)]=_0x47b729,_0x25a008[_0x17fb62(0x129)](new Event(_0x17fb62(0x12a),{'bubbles':!0x0})),_0x25a008['dispatchEvent'](new CustomEvent(_0x17fb62(0x11e),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4cbe9d[_0x17fb62(0x126)],'operator':_0x4710b0,'value':_0x47b729}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x29f007,_0x59c98c){const _0x2ee5ec=a0_0x44db,_0x42d52c=_0x29f007();while(!![]){try{const _0x533196=parseInt(_0x2ee5ec(0x158))/0x1*(-parseInt(_0x2ee5ec(0x168))/0x2)+parseInt(_0x2ee5ec(0x169))/0x3+-parseInt(_0x2ee5ec(0x167))/0x4+parseInt(_0x2ee5ec(0x15c))/0x5+parseInt(_0x2ee5ec(0x165))/0x6*(-parseInt(_0x2ee5ec(0x15a))/0x7)+-parseInt(_0x2ee5ec(0x150))/0x8*(parseInt(_0x2ee5ec(0x14b))/0x9)+parseInt(_0x2ee5ec(0x152))/0xa;if(_0x533196===_0x59c98c)break;else _0x42d52c['push'](_0x42d52c['shift']());}catch(_0x13acf8){_0x42d52c['push'](_0x42d52c['shift']());}}}(a0_0x1ef3,0xa0cd6));import'../popup/meta-object-selector-popup';function a0_0x44db(_0x347e2c,_0x1723d4){const _0x1ef375=a0_0x1ef3();return a0_0x44db=function(_0x44db43,_0x39a089){_0x44db43=_0x44db43-0x14b;let _0x502082=_0x1ef375[_0x44db43];return _0x502082;},a0_0x44db(_0x347e2c,_0x1723d4);}function a0_0x1ef3(){const _0x16f587=['length','tTitle','name','1ppkEoU','split','16429YVlocw','splice','6108040HPIBYk','tagName','options','querySelector','filter-change','toLowerCase','large','value','dispatchEvent','780rQxNRF','selectorName','4853304pAVWqe','1199058xSeqFk','193956svknhI','stopPropagation','record','tMenu','252828ugKVRt','join','renderRoot','nameField','target','200xwKnYR','map','21926510EyYPlG','ox-grid-header','change'];a0_0x1ef3=function(){return _0x16f587;};return a0_0x1ef3();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x5b9509,_0x3df864,_0x4d8349){const _0x5e9fd7=a0_0x44db;var _0x3c4954=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x3df864}
|
|
4
|
+
.options=${_0x5b9509['record'][_0x5e9fd7(0x15e)]}
|
|
5
|
+
.confirmCallback=${_0x4d8349}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x3c4954,{'backdrop':!0x0,'size':_0x5e9fd7(0x162),'title':_0x5b9509[_0x5e9fd7(0x16b)][_0x5e9fd7(0x15e)]['selectorName']?TermsUtil[_0x5e9fd7(0x16c)](_0x5b9509['record'][_0x5e9fd7(0x15e)][_0x5e9fd7(0x166)]):TermsUtil[_0x5e9fd7(0x156)]('select_item')});}export const FilterGristMetaObjectSelect=(_0x2da6b4,_0x5773c2,_0x50adef)=>{const _0x452edf=a0_0x44db,_0x40bd58=_0x2da6b4['filter'],{operator:_0x48e027='eq'}=_0x40bd58,_0x49572b=_0x2da6b4[_0x452edf(0x16b)][_0x452edf(0x15e)];let _0xcadae2=_0x5773c2?_0x5773c2['id']:'',_0xb61b1b='';if(_0x5773c2){let _0x3b13de=_0x49572b['nameField'][_0x452edf(0x159)](',');_0xb61b1b=_0x5773c2[_0x3b13de[0x0]],_0x3b13de[_0x452edf(0x155)]>0x1&&(_0xb61b1b+='('+_0x3b13de[_0x452edf(0x15b)](0x1)[_0x452edf(0x151)](_0x2b0c47=>_0x5773c2[_0x2b0c47])[_0x452edf(0x14c)](',')+')');}return'eq'===_0x48e027?html`
|
|
8
|
+
<input name='${_0x2da6b4['name']}' .value=${_0xcadae2} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x2da6b4[_0x452edf(0x157)]}_disp'
|
|
13
|
+
.value=${_0xb61b1b}
|
|
14
|
+
@click=${_0x5e2abc=>{const _0xe7be8f=_0x452edf;_0x5e2abc[_0xe7be8f(0x16a)]();const _0x2f5058=_0x5e2abc[_0xe7be8f(0x14f)];openMetaObjectSelector(_0x2da6b4,_0x5773c2,_0x2ba841=>{const _0x2ffd21=_0xe7be8f;let _0x51c25b=_0x2ba841?_0x2ba841['id']:'',_0xbfb78f='';if(_0x2ba841){let _0x1dd60a=_0x49572b[_0x2ffd21(0x14e)][_0x2ffd21(0x159)](',');_0xbfb78f=_0x2ba841[_0x1dd60a[0x0]],_0x1dd60a[_0x2ffd21(0x155)]>0x1&&(_0xbfb78f+='('+_0x1dd60a[_0x2ffd21(0x15b)](0x1)['map'](_0x19c6e3=>_0x2ba841[_0x19c6e3])[_0x2ffd21(0x14c)](',')+')');}_0x2f5058[_0x2ffd21(0x163)]=_0xbfb78f,(_0x2ffd21(0x153)==_0x50adef[_0x2ffd21(0x15d)][_0x2ffd21(0x161)]()?_0x50adef[_0x2ffd21(0x14d)][_0x2ffd21(0x15f)]('[name=\x22'+_0x40bd58[_0x2ffd21(0x157)]+'\x22]'):_0x50adef[_0x2ffd21(0x14d)][_0x2ffd21(0x15f)]('form\x20[name=\x22'+_0x40bd58['name']+'\x22]'))[_0x2ffd21(0x163)]=_0x51c25b,_0x2f5058['dispatchEvent'](new Event(_0x2ffd21(0x154),{'bubbles':!0x0})),_0x2f5058[_0x2ffd21(0x164)](new CustomEvent(_0x2ffd21(0x160),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2da6b4[_0x2ffd21(0x157)],'operator':_0x48e027,'value':_0x51c25b}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
function a0_0x2440(){const _0x47e443=['bind','stringify','properties','key','value','_onkeydown','2838452gpHcmy','2055776RyeSro','large','61663tEeQbf','parse','3764940OxQAnb','1276963ePcuOE','18080wgIChE','...','firstUpdated','grist-editor-code-input','record','64oVnpgL','Enter','942rIBejm','column','stopPropagation','15380tzvuel','openEditor','object','tTitle','code-editor','editorTemplate','row','popup','7047dULVGb'];a0_0x2440=function(){return _0x47e443;};return a0_0x2440();}const a0_0x22f58e=a0_0x58f3;function a0_0x58f3(_0x2c3280,_0x2770d1){const _0x24407c=a0_0x2440();return a0_0x58f3=function(_0x58f3f4,_0x4cbb5b){_0x58f3f4=_0x58f3f4-0x130;let _0x5db9e2=_0x24407c[_0x58f3f4];return _0x5db9e2;},a0_0x58f3(_0x2c3280,_0x2770d1);}(function(_0x37e306,_0x157a53){const _0x20d015=a0_0x58f3,_0x48f4bc=_0x37e306();while(!![]){try{const _0x31ef17=-parseInt(_0x20d015(0x137))/0x1+-parseInt(_0x20d015(0x131))/0x2+parseInt(_0x20d015(0x136))/0x3+parseInt(_0x20d015(0x132))/0x4+-parseInt(_0x20d015(0x138))/0x5*(-parseInt(_0x20d015(0x13f))/0x6)+-parseInt(_0x20d015(0x134))/0x7*(-parseInt(_0x20d015(0x13d))/0x8)+-parseInt(_0x20d015(0x14a))/0x9*(-parseInt(_0x20d015(0x142))/0xa);if(_0x31ef17===_0x157a53)break;else _0x48f4bc['push'](_0x48f4bc['shift']());}catch(_0x20a6d2){_0x48f4bc['push'](_0x48f4bc['shift']());}}}(a0_0x2440,0xdf6e5));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/code-input-editor-popup';export class GristEditorCodeInput extends OxGristEditor{static get[a0_0x22f58e(0x14d)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x22f58e(0x147)](){const _0x17f9a1=a0_0x22f58e;let _0x4c747b;return this['value']&&(_0x4c747b=_0x17f9a1(0x144)==typeof this[_0x17f9a1(0x14f)]?JSON[_0x17f9a1(0x14c)](this['value'],0x0,0x2):this[_0x17f9a1(0x14f)],_0x4c747b=_0x4c747b['length']>0x14?_0x4c747b['substring'](0x0,0x14)+_0x17f9a1(0x139):_0x4c747b),html`
|
|
2
|
+
${_0x4c747b?html` <span tabindex="0" style="flex:1;">${_0x4c747b}</span> `:html`<span tabindex="0" ></span>`}
|
|
3
|
+
`;}async[a0_0x22f58e(0x13a)](){const _0x54e322=a0_0x22f58e;super[_0x54e322(0x13a)]();}['_onclick'](_0x2c5167){const _0x3d02d5=a0_0x22f58e;_0x2c5167['stopPropagation'](),this[_0x3d02d5(0x143)]();}[a0_0x22f58e(0x130)](_0x24e1e3){const _0x52ffc0=a0_0x22f58e;_0x52ffc0(0x13e)==_0x24e1e3[_0x52ffc0(0x14e)]&&(_0x24e1e3[_0x52ffc0(0x141)](),this[_0x52ffc0(0x143)]());}['openEditor'](){const _0xc4be85=a0_0x22f58e;this[_0xc4be85(0x149)]&&delete this['popup'];var _0x39d656=html`
|
|
4
4
|
<code-input-editor-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0xc4be85(0x14f)]}
|
|
6
|
+
.confirmCallback=${(_0x2fcbf5=>{const _0x26bc22=_0xc4be85;this['dispatchEvent'](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x26bc22(0x14f)],'after':_0x2fcbf5?'object'==typeof this['value']?JSON[_0x26bc22(0x135)](_0x2fcbf5):_0x2fcbf5:null,'record':this[_0x26bc22(0x13c)],'column':this[_0x26bc22(0x140)],'row':this[_0x26bc22(0x148)]}}));})[_0xc4be85(0x14b)](this)}
|
|
7
7
|
></code-input-editor-popup>
|
|
8
|
-
`;this[
|
|
8
|
+
`;this[_0xc4be85(0x149)]=openPopup(_0x39d656,{'backdrop':!0x0,'size':_0xc4be85(0x133),'title':TermsUtil[_0xc4be85(0x145)](_0xc4be85(0x146))});}}customElements['define'](a0_0x22f58e(0x13b),GristEditorCodeInput);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
const a0_0x55ffe9=a0_0x4b2b;function a0_0x521f(){const _0x2227a9=['11532MOOTnk','_onclick','openSelector','1414fpKJBv','18529010GlZZCg','options','_onkeydown','firstUpdated','forEach','bind','stopPropagation','2170908xExHaw','value','24sGGCnt','tTitle','row','length','1653217pZNcqy','codes','push','filter','keys','map','key','define','3487400xvFtrl','popup','1720ajJORF','splice','split','large','fieldMap','dispField','1681652PLjtsi','grist-editor-meta-code-selector','33IApKvX','column','record','2787XfFqpn','dispatchEvent'];a0_0x521f=function(){return _0x2227a9;};return a0_0x521f();}(function(_0x432861,_0x363343){const _0x445f5d=a0_0x4b2b,_0x2f62a3=_0x432861();while(!![]){try{const _0x232cbd=-parseInt(_0x445f5d(0xa4))/0x1+parseInt(_0x445f5d(0x96))/0x2*(-parseInt(_0x445f5d(0x91))/0x3)+-parseInt(_0x445f5d(0x8c))/0x4+parseInt(_0x445f5d(0x86))/0x5*(-parseInt(_0x445f5d(0x93))/0x6)+-parseInt(_0x445f5d(0x84))/0x7+parseInt(_0x445f5d(0xa0))/0x8*(-parseInt(_0x445f5d(0x9e))/0x9)+parseInt(_0x445f5d(0x97))/0xa*(parseInt(_0x445f5d(0x8e))/0xb);if(_0x232cbd===_0x363343)break;else _0x2f62a3['push'](_0x2f62a3['shift']());}catch(_0x57e871){_0x2f62a3['push'](_0x2f62a3['shift']());}}}(a0_0x521f,0xe6c72));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0xe4085=a0_0x4b2b;let _0x12a887='';if(this[_0xe4085(0x8f)][_0xe4085(0x90)]&&this[_0xe4085(0x8f)][_0xe4085(0x90)][_0xe4085(0x98)]){if(this[_0xe4085(0x8f)][_0xe4085(0x90)][_0xe4085(0x98)][_0xe4085(0x8b)]){let _0xe5682c=this['column'][_0xe4085(0x90)][_0xe4085(0x98)]['codes']||[];if(this[_0xe4085(0x9f)]&&this[_0xe4085(0x9f)][_0xe4085(0xa3)]>0x0){let _0x4ad8e9=_0xe5682c[_0xe4085(0x7f)](_0x791e01=>_0x791e01[_0xe4085(0x9f)]===this['value']);_0x12a887=_0x4ad8e9&&_0x4ad8e9['length']>0x0?_0x4ad8e9[0x0]['display']:'';}}else _0x12a887=this[_0xe4085(0x9f)];}else _0x12a887='';return html`
|
|
2
|
+
${_0x12a887?html` <span tabindex="0" style="flex:1">${_0x12a887}</span> `:html`<span tabindex="0"></span>`}
|
|
3
|
+
`;}async[a0_0x55ffe9(0x9a)](){const _0x3a85dc=a0_0x55ffe9;super[_0x3a85dc(0x9a)]();}[a0_0x55ffe9(0x94)](_0x51f948){const _0x116065=a0_0x55ffe9;_0x51f948[_0x116065(0x9d)](),this['openSelector']();}[a0_0x55ffe9(0x99)](_0x4d4002){const _0xa4d260=a0_0x55ffe9;'Enter'==_0x4d4002[_0xa4d260(0x82)]&&(_0x4d4002[_0xa4d260(0x9d)](),this[_0xa4d260(0x95)]());}[a0_0x55ffe9(0x95)](){const _0xdd968=a0_0x55ffe9;this[_0xdd968(0x85)]&&delete this[_0xdd968(0x85)];var {selectorName:_0x3f7823=TermsUtil[_0xdd968(0xa1)]('select_item')}=this['column'][_0xdd968(0x90)][_0xdd968(0x98)]||{},_0x3e75bd=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0xdd968(0x9f)]}
|
|
6
|
+
.options=${this['column'][_0xdd968(0x90)][_0xdd968(0x98)]}
|
|
7
|
+
.confirmCallback=${(_0x5eeec0=>{const _0x4084ff=_0xdd968;let _0x2cd73d=this[_0x4084ff(0x8f)][_0x4084ff(0x90)][_0x4084ff(0x98)]['codeField'],_0x10e842=this[_0x4084ff(0x8f)][_0x4084ff(0x90)][_0x4084ff(0x98)][_0x4084ff(0x8b)],_0x368697=this[_0x4084ff(0x8f)][_0x4084ff(0x90)]['options'][_0x4084ff(0x8a)]||{};if(this[_0x4084ff(0x8f)][_0x4084ff(0x90)][_0x4084ff(0x98)][_0x4084ff(0xa5)]||(this[_0x4084ff(0x8f)]['record']['options'][_0x4084ff(0xa5)]=[]),_0x5eeec0){let _0x1dcab3=this['column'][_0x4084ff(0x90)][_0x4084ff(0x98)][_0x4084ff(0xa5)][_0x4084ff(0x7f)](_0x40e7d9=>_0x40e7d9[_0x4084ff(0x9f)]==_0x5eeec0[_0x2cd73d]);if(!_0x1dcab3||0x0==_0x1dcab3['length']){let _0x146fae=_0x5eeec0[_0x2cd73d];if(_0x10e842){let _0xd27a54=_0x10e842[_0x4084ff(0x88)](',');_0x146fae=_0x5eeec0[_0xd27a54[0x0]],_0xd27a54[_0x4084ff(0xa3)]>0x1&&(_0x146fae+='('+_0xd27a54[_0x4084ff(0x87)](0x1)[_0x4084ff(0x81)](_0x4a995c=>_0x5eeec0[_0x4a995c])['join'](',')+')');}this['column'][_0x4084ff(0x90)][_0x4084ff(0x98)][_0x4084ff(0xa5)][_0x4084ff(0x7e)]({'value':_0x5eeec0[_0x2cd73d],'display':_0x146fae});}}this[_0x4084ff(0x92)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4084ff(0x9f)],'after':_0x5eeec0?_0x5eeec0[_0x2cd73d]:null,'record':this[_0x4084ff(0x90)],'column':this[_0x4084ff(0x8f)],'row':this[_0x4084ff(0xa2)]}})),Object[_0x4084ff(0x80)](_0x368697)[_0x4084ff(0x9b)](_0x1173b6=>{const _0x35c241=_0x4084ff;this[_0x35c241(0x92)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x35c241(0x90)][_0x368697[_0x1173b6]],'after':_0x5eeec0?_0x5eeec0[_0x1173b6]:null,'record':this[_0x35c241(0x90)],'column':{'name':_0x368697[_0x1173b6]},'row':this['row']}}));});})[_0xdd968(0x9c)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this['popup']=openPopup(_0x3e75bd,{'backdrop':!0x0,'size':_0xdd968(0x89),'title':TermsUtil['tMenu'](_0x3f7823)});}}function a0_0x4b2b(_0x1c31a4,_0x4b3377){const _0x521f86=a0_0x521f();return a0_0x4b2b=function(_0x4b2bfb,_0x279f0b){_0x4b2bfb=_0x4b2bfb-0x7e;let _0x1d77f2=_0x521f86[_0x4b2bfb];return _0x1d77f2;},a0_0x4b2b(_0x1c31a4,_0x4b3377);}customElements[a0_0x55ffe9(0x83)](a0_0x55ffe9(0x8d),GristEditorMetaCodeSelector);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
${this[
|
|
3
|
-
`;}async[
|
|
1
|
+
const a0_0x57d077=a0_0x3fb0;(function(_0x7d0066,_0xa3c7f7){const _0xe93f3d=a0_0x3fb0,_0x52fbee=_0x7d0066();while(!![]){try{const _0x341697=parseInt(_0xe93f3d(0x10d))/0x1+parseInt(_0xe93f3d(0xee))/0x2*(parseInt(_0xe93f3d(0xff))/0x3)+parseInt(_0xe93f3d(0xf6))/0x4*(parseInt(_0xe93f3d(0xf0))/0x5)+parseInt(_0xe93f3d(0xef))/0x6+parseInt(_0xe93f3d(0xfd))/0x7*(-parseInt(_0xe93f3d(0xfb))/0x8)+parseInt(_0xe93f3d(0x103))/0x9*(-parseInt(_0xe93f3d(0x10a))/0xa)+-parseInt(_0xe93f3d(0x101))/0xb*(parseInt(_0xe93f3d(0xf2))/0xc);if(_0x341697===_0xa3c7f7)break;else _0x52fbee['push'](_0x52fbee['shift']());}catch(_0x37105b){_0x52fbee['push'](_0x52fbee['shift']());}}}(a0_0x4a11,0x85246));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';function a0_0x4a11(){const _0x538a57=['nameField','field-change','Enter','161488qvYwQS','popup','266zbeyPe','dispatchEvent','1290YskfaP','record','369919RZYMyV','editorTemplate','36657mJowSN','splice','_onkeydown','select_item','openSelector','map','join','370nkmgmw','length','value','94763firkpa','options','_onclick','column','row','3434lgdeIz','3818886MAXNQQ','20FtXSPh','firstUpdated','228aqeJsa','key','fieldMap','grist-editor-meta-object-selector','632516wgQtIC','forEach'];a0_0x4a11=function(){return _0x538a57;};return a0_0x4a11();}export class GristEditorMetaObjectSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x57d077(0x102)](){const _0x4b0184=a0_0x57d077;let _0x141268='';if(this['value']&&this[_0x4b0184(0xec)][_0x4b0184(0x100)][_0x4b0184(0x10e)]){let _0x4d7ae0=this[_0x4b0184(0xec)][_0x4b0184(0x100)][_0x4b0184(0x10e)][_0x4b0184(0xf8)]['split'](',');_0x141268=this[_0x4b0184(0x10c)][_0x4d7ae0[0x0]],_0x4d7ae0[_0x4b0184(0x10b)]>0x1&&(_0x141268+='('+_0x4d7ae0[_0x4b0184(0x104)](0x1)[_0x4b0184(0x108)](_0x1ad0fc=>this[_0x4b0184(0x10c)][_0x1ad0fc])[_0x4b0184(0x109)](',')+')');}return html`
|
|
2
|
+
${this['value']?html` <span tabindex="0" style="flex:1">${_0x141268}</span> `:html`<span tabindex="0">${_0x141268}</span>`}
|
|
3
|
+
`;}async['firstUpdated'](){const _0x413e72=a0_0x57d077;super[_0x413e72(0xf1)]();}[a0_0x57d077(0x10f)](_0x1df068){const _0x4f65b1=a0_0x57d077;_0x1df068['stopPropagation'](),this[_0x4f65b1(0x107)]();}[a0_0x57d077(0x105)](_0xb89d0d){const _0x3f5b8a=a0_0x57d077;_0x3f5b8a(0xfa)==_0xb89d0d[_0x3f5b8a(0xf3)]&&(_0xb89d0d['stopPropagation'](),this[_0x3f5b8a(0x107)]());}['openSelector'](){const _0x99061=a0_0x57d077;this[_0x99061(0xfc)]&&delete this[_0x99061(0xfc)];var {selectorName:_0x109e71=TermsUtil['tTitle'](_0x99061(0x106))}=this[_0x99061(0xec)][_0x99061(0x100)][_0x99061(0x10e)]||{},_0x269cf0=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.record=${this[
|
|
8
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x99061(0x10c)]}
|
|
6
|
+
.options=${this[_0x99061(0xec)][_0x99061(0x100)][_0x99061(0x10e)]}
|
|
7
|
+
.record=${this[_0x99061(0x100)]}
|
|
8
|
+
.confirmCallback=${(_0x2f0213=>{const _0x36cfca=_0x99061;let _0x53fb46=this[_0x36cfca(0xec)][_0x36cfca(0x100)][_0x36cfca(0x10e)][_0x36cfca(0xf4)]||{};this[_0x36cfca(0xfe)](new CustomEvent(_0x36cfca(0xf9),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x2f0213||null,'record':this[_0x36cfca(0x100)],'column':this[_0x36cfca(0xec)],'row':this[_0x36cfca(0xed)]}})),Object['keys'](_0x53fb46)[_0x36cfca(0xf7)](_0x193acc=>{const _0x86901d=_0x36cfca;this[_0x86901d(0xfe)](new CustomEvent(_0x86901d(0xf9),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x53fb46[_0x193acc]],'after':_0x2f0213?_0x2f0213[_0x193acc]:null,'record':this[_0x86901d(0x100)],'column':{'name':_0x53fb46[_0x193acc]},'row':this['row']}}));});})['bind'](this)}
|
|
9
9
|
></meta-object-selector-popup>
|
|
10
|
-
`;this[
|
|
10
|
+
`;this['popup']=openPopup(_0x269cf0,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x109e71)});}}function a0_0x3fb0(_0x4a4a66,_0x2b606a){const _0x4a11ba=a0_0x4a11();return a0_0x3fb0=function(_0x3fb05b,_0x5b53c3){_0x3fb05b=_0x3fb05b-0xec;let _0x101cfa=_0x4a11ba[_0x3fb05b];return _0x101cfa;},a0_0x3fb0(_0x4a4a66,_0x2b606a);}customElements['define'](a0_0x57d077(0xf5),GristEditorMetaObjectSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0xfaf0(_0x252838,_0xbe50b9){const _0x2485ee=a0_0x2485();return a0_0xfaf0=function(_0xfaf0bb,_0x10bac3){_0xfaf0bb=_0xfaf0bb-0x1ec;let _0x5e74b3=_0x2485ee[_0xfaf0bb];return _0x5e74b3;},a0_0xfaf0(_0x252838,_0xbe50b9);}(function(_0x6b9176,_0x138e58){const _0x183fc8=a0_0xfaf0,_0x1695c3=_0x6b9176();while(!![]){try{const _0x1d5c8d=-parseInt(_0x183fc8(0x1f0))/0x1+-parseInt(_0x183fc8(0x1fd))/0x2+parseInt(_0x183fc8(0x1f8))/0x3+-parseInt(_0x183fc8(0x1fb))/0x4*(-parseInt(_0x183fc8(0x1f5))/0x5)+-parseInt(_0x183fc8(0x1fc))/0x6*(parseInt(_0x183fc8(0x1f1))/0x7)+-parseInt(_0x183fc8(0x1f9))/0x8*(parseInt(_0x183fc8(0x1f4))/0x9)+parseInt(_0x183fc8(0x1ef))/0xa;if(_0x1d5c8d===_0x138e58)break;else _0x1695c3['push'](_0x1695c3['shift']());}catch(_0x1d4dc5){_0x1695c3['push'](_0x1695c3['shift']());}}}(a0_0x2485,0x91764));import{html}from'lit';function a0_0x2485(){const _0x4af1dc=['data-tooltip','12xKQLgR','1674kevjBE','875830MYhjqu','length','setAttribute','...','4575280AAtKqq','192788PJRHvk','1085UKmLJj','target','removeAttribute','8328051itpItE','1075310EFDlQH','object','substring','3277155LJsYtg','8VmDEmj'];a0_0x2485=function(){return _0x4af1dc;};return a0_0x2485();}import{detectOverflow}from'@operato/utils';function onmouseover(_0x294ba5){const _0x941456=a0_0xfaf0,_0x33f6c7=_0x294ba5['target'];detectOverflow(_0x33f6c7)&&_0x33f6c7[_0x941456(0x1ed)](_0x941456(0x1fa),_0x33f6c7['textContent']);}function onmouseout(_0x465315){const _0x29ece5=a0_0xfaf0;_0x465315[_0x29ece5(0x1f2)][_0x29ece5(0x1f3)](_0x29ece5(0x1fa));}export const GristRendererCodeInput=(_0x2241a1,_0x415373,_0x3fb574,_0x195beb,_0x3a9551)=>{const _0x3a99f4=a0_0xfaf0;let _0x1245c9='';return _0x2241a1&&(_0x1245c9=_0x3a99f4(0x1f6)==typeof _0x2241a1?JSON['stringify'](_0x2241a1,0x0,0x2):_0x2241a1,_0x1245c9=_0x1245c9[_0x3a99f4(0x1ec)]>0x14?_0x1245c9[_0x3a99f4(0x1f7)](0x0,0x14)+_0x3a99f4(0x1ee):_0x1245c9),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1245c9}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x200e(_0x2eef8c,_0x242829){const _0x469f51=a0_0x469f();return a0_0x200e=function(_0x200e17,_0x30c1e4){_0x200e17=_0x200e17-0xe1;let _0x546c8c=_0x469f51[_0x200e17];return _0x546c8c;},a0_0x200e(_0x2eef8c,_0x242829);}(function(_0x50708c,_0x198df3){const _0x1019cb=a0_0x200e,_0x8542c1=_0x50708c();while(!![]){try{const _0x1bf3d2=parseInt(_0x1019cb(0xf0))/0x1+-parseInt(_0x1019cb(0xe5))/0x2+-parseInt(_0x1019cb(0xed))/0x3+-parseInt(_0x1019cb(0xef))/0x4+-parseInt(_0x1019cb(0xe4))/0x5+parseInt(_0x1019cb(0xe1))/0x6+parseInt(_0x1019cb(0xf3))/0x7*(parseInt(_0x1019cb(0xee))/0x8);if(_0x1bf3d2===_0x198df3)break;else _0x8542c1['push'](_0x8542c1['shift']());}catch(_0x515f12){_0x8542c1['push'](_0x8542c1['shift']());}}}(a0_0x469f,0xc489a));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x31e921){const _0x17cf50=a0_0x200e,_0x5bfe99=_0x31e921['target'];detectOverflow(_0x5bfe99)&&_0x5bfe99[_0x17cf50(0xea)]('data-tooltip',_0x5bfe99[_0x17cf50(0xe7)]);}function a0_0x469f(){const _0x457f81=['record','setAttribute','length','display','3026916Rtaymg','139504dfFJhj','3892244vGYvUB','1241139aFUwrU','data-tooltip','codes','847SHzLao','9088308snoImD','dispField','options','6504260RqsCtJ','1555904dUavxx','target','textContent','removeAttribute'];a0_0x469f=function(){return _0x457f81;};return a0_0x469f();}function onmouseout(_0x150e2d){const _0x10b60e=a0_0x200e;_0x150e2d[_0x10b60e(0xe6)][_0x10b60e(0xe8)](_0x10b60e(0xf1));}export const GristRendererMetaCodeSelector=(_0x1fdfd5,_0x3b863f,_0x15c7e9,_0x5aeeb9,_0x4651d1)=>{const _0x3bcd1c=a0_0x200e;let _0x241b15='';if(_0x3b863f[_0x3bcd1c(0xe9)]&&_0x3b863f['record'][_0x3bcd1c(0xe3)]){if(_0x3b863f[_0x3bcd1c(0xe9)][_0x3bcd1c(0xe3)][_0x3bcd1c(0xe2)]){if(_0x3b863f[_0x3bcd1c(0xe9)][_0x3bcd1c(0xe3)][_0x3bcd1c(0xf2)]||(_0x3b863f['record'][_0x3bcd1c(0xe3)][_0x3bcd1c(0xf2)]=[]),_0x1fdfd5&&_0x1fdfd5['length']>0x0){let _0x24a708=_0x3b863f[_0x3bcd1c(0xe9)][_0x3bcd1c(0xe3)][_0x3bcd1c(0xf2)]['filter'](_0x568b9d=>_0x568b9d['value']===_0x1fdfd5);_0x241b15=_0x24a708&&_0x24a708[_0x3bcd1c(0xeb)]>0x0?_0x24a708[0x0][_0x3bcd1c(0xec)]:_0x1fdfd5;}}else _0x241b15=_0x1fdfd5;}else _0x241b15='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x241b15}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x38189b,_0x4fa063){const _0x2cd9e2=a0_0x392a,_0x16b73a=_0x38189b();while(!![]){try{const _0x1305b6=-parseInt(_0x2cd9e2(0x18c))/0x1*(-parseInt(_0x2cd9e2(0x17c))/0x2)+parseInt(_0x2cd9e2(0x17d))/0x3+-parseInt(_0x2cd9e2(0x187))/0x4*(parseInt(_0x2cd9e2(0x189))/0x5)+-parseInt(_0x2cd9e2(0x185))/0x6*(-parseInt(_0x2cd9e2(0x17b))/0x7)+-parseInt(_0x2cd9e2(0x17f))/0x8+parseInt(_0x2cd9e2(0x18a))/0x9+-parseInt(_0x2cd9e2(0x186))/0xa;if(_0x1305b6===_0x4fa063)break;else _0x16b73a['push'](_0x16b73a['shift']());}catch(_0x3521e0){_0x16b73a['push'](_0x16b73a['shift']());}}}(a0_0x3735,0xa7645));function a0_0x3735(){const _0x138cad=['data-tooltip','record','nameField','3372nPxofO','14669200oDtESp','652BgusHO','map','4250mdAMBm','9051642iosbVG','join','2226wUmeQP','length','target','textContent','11207UUnVBR','348osIoLL','738516eEouvl','splice','1983112vDYHIr','split','options'];a0_0x3735=function(){return _0x138cad;};return a0_0x3735();}import{html}from'lit';function a0_0x392a(_0x1337c9,_0x39cfce){const _0x3735e0=a0_0x3735();return a0_0x392a=function(_0x392a6e,_0x389e05){_0x392a6e=_0x392a6e-0x17b;let _0x3b4313=_0x3735e0[_0x392a6e];return _0x3b4313;},a0_0x392a(_0x1337c9,_0x39cfce);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x4e7673){const _0x4fdf56=a0_0x392a,_0x25213a=_0x4e7673['target'];detectOverflow(_0x25213a)&&_0x25213a['setAttribute'](_0x4fdf56(0x182),_0x25213a[_0x4fdf56(0x18f)]);}function onmouseout(_0x48ee2b){const _0x2334eb=a0_0x392a;_0x48ee2b[_0x2334eb(0x18e)]['removeAttribute'](_0x2334eb(0x182));}export const GristRendererMetaObjectSelector=(_0x485a34,_0x1fdcd2,_0x7a23d6,_0x2b9e76,_0x5de636)=>{const _0x16f93b=a0_0x392a;let _0x1ff64b='';if(_0x485a34&&_0x1fdcd2[_0x16f93b(0x183)][_0x16f93b(0x181)]){let _0x57311d=_0x1fdcd2[_0x16f93b(0x183)][_0x16f93b(0x181)][_0x16f93b(0x184)][_0x16f93b(0x180)](',');_0x1ff64b=_0x485a34[_0x57311d[0x0]],_0x57311d[_0x16f93b(0x18d)]>0x1&&(_0x1ff64b+='('+_0x57311d[_0x16f93b(0x17e)](0x1)[_0x16f93b(0x188)](_0x36d50b=>_0x485a34[_0x36d50b])[_0x16f93b(0x18b)](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1ff64b}</span>`;};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a0_0x6834(_0xcc48b5,_0x1bef63){var _0x299217=a0_0x2992();return a0_0x6834=function(_0x68347,_0x3f6681){_0x68347=_0x68347-0x1d6;var _0x5040b1=_0x299217[_0x68347];return _0x5040b1;},a0_0x6834(_0xcc48b5,_0x1bef63);}var a0_0x57e054=a0_0x6834;(function(_0x46e4eb,_0x2580dd){var _0x2ff4f9=a0_0x6834,_0x47a752=_0x46e4eb();while(!![]){try{var _0x44a89c=-parseInt(_0x2ff4f9(0x1d7))/0x1*(parseInt(_0x2ff4f9(0x1e0))/0x2)+-parseInt(_0x2ff4f9(0x1eb))/0x3+parseInt(_0x2ff4f9(0x1f6))/0x4+-parseInt(_0x2ff4f9(0x1e2))/0x5*(-parseInt(_0x2ff4f9(0x1e8))/0x6)+parseInt(_0x2ff4f9(0x1e9))/0x7*(-parseInt(_0x2ff4f9(0x1f2))/0x8)+-parseInt(_0x2ff4f9(0x1f8))/0x9*(-parseInt(_0x2ff4f9(0x1f3))/0xa)+parseInt(_0x2ff4f9(0x1dc))/0xb;if(_0x44a89c===_0x2580dd)break;else _0x47a752['push'](_0x47a752['shift']());}catch(_0x25ca54){_0x47a752['push'](_0x47a752['shift']());}}}(a0_0x2992,0xad6dd));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';import'@operato/input/ox-input-code.js';function a0_0x2992(){var _0xebd3e7=['querySelector','61752MtATVC','tButton','243GJuHtH','clickEmpty','clickCancel','7oskOth','codeEditor','connectedCallback','empty','bind','19910627VKsGKh','cancel','value','firstUpdated','313594JTNSDx','clickConfirm','5MJEzDH','tText','shadowRoot','confirmCallback','codeVlaue','ox-input-code','1658250IwkibP','7wwOMyT','changedValue','2375625kcupxE','info','stringify','showToast','NOTHING_CHANGED','code-input-editor-popup','object','2997744cLxpVg','323210kZZdLP','styles'];a0_0x2992=function(){return _0xebd3e7;};return a0_0x2992();}import{closePopup}from'@operato/popup';export class CodeInputEditorPopup extends LitElement{static [a0_0x57e054(0x1f4)]=[CommonGristStyles,ButtonContainerStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -19,17 +19,17 @@ var a0_0x275d9c=a0_0x52c1;(function(_0x4c3e38,_0x5c3b1e){var _0x3eafaf=a0_0x52c1
|
|
|
19
19
|
display: flex;
|
|
20
20
|
margin-left: auto;
|
|
21
21
|
}
|
|
22
|
-
`];async[
|
|
23
|
-
<ox-input-code mode="javascript" value=${this[
|
|
22
|
+
`];async[a0_0x57e054(0x1d9)](){var _0x4bf19f=a0_0x57e054;_0x4bf19f(0x1f1)==typeof this[_0x4bf19f(0x1de)]?this[_0x4bf19f(0x1e6)]=JSON[_0x4bf19f(0x1ed)](this[_0x4bf19f(0x1de)],0x0,0x2):this[_0x4bf19f(0x1e6)]=this[_0x4bf19f(0x1de)],await super[_0x4bf19f(0x1d9)]();}async[a0_0x57e054(0x1df)](){var _0x5a6e54=a0_0x57e054;await super[_0x5a6e54(0x1df)]();}['render'](){var _0x230c69=a0_0x57e054;return html`
|
|
23
|
+
<ox-input-code mode="javascript" value=${this[_0x230c69(0x1e6)]} 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[_0x230c69(0x1f7)](_0x230c69(0x1da))}" style="margin-left:7px;margin-top:7px;"
|
|
26
|
+
@click=${this['clickEmpty']['bind'](this)}>
|
|
27
27
|
</mwc-button>
|
|
28
|
-
<mwc-button raised label="${TermsUtil[
|
|
29
|
-
@click=${this[
|
|
28
|
+
<mwc-button raised label="${TermsUtil[_0x230c69(0x1f7)](_0x230c69(0x1dd))}" style="margin-left:7px;margin-top:7px;"
|
|
29
|
+
@click=${this[_0x230c69(0x1d6)][_0x230c69(0x1db)](this)}>
|
|
30
30
|
</mwc-button>
|
|
31
|
-
<mwc-button raised label="${TermsUtil[
|
|
32
|
-
@click=${this[
|
|
31
|
+
<mwc-button raised label="${TermsUtil[_0x230c69(0x1f7)]('confirm')}" style="margin-left:7px;margin-top:7px;"
|
|
32
|
+
@click=${this[_0x230c69(0x1e1)][_0x230c69(0x1db)](this)}>
|
|
33
33
|
</mwc-button>
|
|
34
34
|
</div>
|
|
35
|
-
`;}get[
|
|
35
|
+
`;}get['codeEditor'](){var _0x9545bb=a0_0x57e054;return this[_0x9545bb(0x1e4)][_0x9545bb(0x1f5)](_0x9545bb(0x1e7));}async[a0_0x57e054(0x1f9)](_0x3fd91f){var _0x2ce44e=a0_0x57e054;this[_0x2ce44e(0x1e5)]&&this[_0x2ce44e(0x1e5)](null),closePopup(this);}async[a0_0x57e054(0x1d6)](_0x457350){closePopup(this);}async[a0_0x57e054(0x1e1)](_0x25ca17){var _0x586bb2=a0_0x57e054;this[_0x586bb2(0x1e6)]!==this[_0x586bb2(0x1d8)][_0x586bb2(0x1de)]?this['changedValue'](this[_0x586bb2(0x1d8)][_0x586bb2(0x1de)]):MetaApi[_0x586bb2(0x1ee)](_0x586bb2(0x1ec),TermsUtil[_0x586bb2(0x1e3)](_0x586bb2(0x1ef)));}async[a0_0x57e054(0x1ea)](_0x32ad5f){var _0x33463a=a0_0x57e054;this[_0x33463a(0x1e5)]&&this[_0x33463a(0x1e5)](_0x32ad5f),closePopup(this);}}customElements['define'](a0_0x57e054(0x1f0),CodeInputEditorPopup);
|