@things-factory/meta-ui 6.1.46 → 6.1.48
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 +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +5 -5
- 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 +2 -2
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +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/menu/export-menu-popup.js +6 -6
- 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/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 +102 -102
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +11 -11
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +5 -5
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/dynamic-menu/dynamic-menu-query.js +1 -1
- package/server/service/dynamic-menu/dynamic-menu-type.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/client/actions/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
const a0_0x95ecf9=a0_0x363f;(function(_0x501779,_0x3d8ef5){const _0xd309a5=a0_0x363f,_0x39ea57=_0x501779();while(!![]){try{const _0x32b6a4=-parseInt(_0xd309a5(0x152))/0x1*(parseInt(_0xd309a5(0x157))/0x2)+-parseInt(_0xd309a5(0x161))/0x3*(parseInt(_0xd309a5(0x15d))/0x4)+-parseInt(_0xd309a5(0x159))/0x5+-parseInt(_0xd309a5(0x165))/0x6*(-parseInt(_0xd309a5(0x15b))/0x7)+parseInt(_0xd309a5(0x154))/0x8*(-parseInt(_0xd309a5(0x158))/0x9)+-parseInt(_0xd309a5(0x163))/0xa+parseInt(_0xd309a5(0x164))/0xb;if(_0x32b6a4===_0x3d8ef5)break;else _0x39ea57['push'](_0x39ea57['shift']());}catch(_0x10adb3){_0x39ea57['push'](_0x39ea57['shift']());}}}(a0_0x25ba,0x5d153));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x45a97c from'graphql-tag';function a0_0x25ba(){const _0xf383ef=['1989dYIQSN','2671595ydvHNA','active','1561iWLJGg','portrait','1355204EhnONE','rank','UPDATE_META_MENU_TEMPLATE','NAVBAR','3fCIglw','landscape','345920EhSkZb','19520292OjEcwc','9474wzNYwM','meta[name=\x22application-name\x22]','lite-menu-part','query','FRONT_END','filter','liteMenus','UPDATE_META_UI','dynamic-menu','value','get','dispatch','appName','224877GMKwry','HEADERBAR','22184gGncsk','hamburger','items','2SSzQhP'];a0_0x25ba=function(){return _0xf383ef;};return a0_0x25ba();}import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';function a0_0x363f(_0x375f37,_0x17b2e1){const _0x25baf1=a0_0x25ba();return a0_0x363f=function(_0x363f6f,_0x2636af){_0x363f6f=_0x363f6f-0x14f;let _0x52dcce=_0x25baf1[_0x363f6f];return _0x52dcce;},a0_0x363f(_0x375f37,_0x17b2e1);}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_0x95ecf9(0x16c);export const UPDATE_META_MENU_TEMPLATE=a0_0x95ecf9(0x15f);var HAMBURGER;export async function setupMenuPart(_0x556abd){const _0x5ed558=a0_0x95ecf9;var {hovering:_0x4c57ff=!!isMobileDevice(),slotTemplate:_0x2d6da8,portraitSlotTemplate:_0x44d02a,landscapeSlotTemplate:_0x2cdd7a,position:_0x2687c1=VIEWPART_POSITION[_0x5ed558(0x160)]}=_0x556abd||{};const {hovering:_0x632c2a}=(await clientSettingStore[_0x5ed558(0x14f)](_0x5ed558(0x16d)))?.[_0x5ed558(0x16e)]||{};void 0x0!==_0x632c2a&&(_0x4c57ff=_0x632c2a);const _0x578f27=_0x2687c1==VIEWPART_POSITION[_0x5ed558(0x153)]?_0x5ed558(0x162):_0x5ed558(0x15c),_0x4eedce=(_0x5ed558(0x162)==_0x578f27?_0x2cdd7a:_0x44d02a)||_0x2d6da8||html``;appendViewpart({'name':_0x5ed558(0x167),'viewpart':{'show':!_0x4c57ff,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4c57ff,'template':html`<dynamic-menu-part .orientation=${_0x578f27}>${_0x4eedce}</dynamic-menu-part>`},'position':_0x2687c1}),_0x4c57ff&&_0x5ed558(0x15c)==_0x578f27?HAMBURGER||(HAMBURGER={'name':_0x5ed558(0x155),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0x4bb8ca=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION[_0x5ed558(0x169)]},store[_0x5ed558(0x150)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x5ed558(0x150)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x106818){const _0x2cf9cc=a0_0x95ecf9;var _0x3c760b=document['querySelector'](_0x2cf9cc(0x166))?.['content'],_0x1037c1=(await client[_0x2cf9cc(0x168)]({'query':a0_0x45a97c`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ const a0_0x5e78ad=a0_0x2cb6;(function(_0x4fb6b3,_0x2de324){const _0x3ee31a=a0_0x
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x2cf9cc(0x15a),'operator':'eq','value':!0x0},{'name':_0x2cf9cc(0x151),'operator':'in','value':['',_0x3c760b]}],'sortings':[{'name':_0x2cf9cc(0x15e),'desc':!0x1}]}}))['data'][_0x2cf9cc(0x16b)][_0x2cf9cc(0x156)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1037c1[_0x2cf9cc(0x16a)](_0x46ed3c=>!_0x46ed3c[_0x2cf9cc(0x151)]||_0x46ed3c['appName']===_0x3c760b),'template':_0x106818});}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x3fa0(){const _0x16e0b1=['dispField','9fTbKVB','6CKrqbn','codeField','1jwmGkF','414609YwATeu','options','name','renderRoot','1683395hMEqjX','selectorName','9910505dZxwSs','toLowerCase','map','large','codes','tMenu','16vGJPkA','tTitle','filter-change','[name=\x22','6526184ccQDoe','querySelector','stopPropagation','5500579aKKsSK','671618YYLrvo','target','display','dispatchEvent','form\x20[name=\x22','select_item','length','818570CzaAHZ','ox-grid-header','value'];a0_0x3fa0=function(){return _0x16e0b1;};return a0_0x3fa0();}function a0_0x111d(_0x523f34,_0x539aab){const _0x3fa0c8=a0_0x3fa0();return a0_0x111d=function(_0x111d24,_0xda4eb0){_0x111d24=_0x111d24-0x6b;let _0x35af7f=_0x3fa0c8[_0x111d24];return _0x35af7f;},a0_0x111d(_0x523f34,_0x539aab);}(function(_0x413ced,_0xf4c8a9){const _0x3753b8=a0_0x111d,_0x5d29a6=_0x413ced();while(!![]){try{const _0x235139=-parseInt(_0x3753b8(0x76))/0x1*(-parseInt(_0x3753b8(0x8b))/0x2)+-parseInt(_0x3753b8(0x77))/0x3*(-parseInt(_0x3753b8(0x83))/0x4)+-parseInt(_0x3753b8(0x7b))/0x5*(-parseInt(_0x3753b8(0x74))/0x6)+-parseInt(_0x3753b8(0x8a))/0x7+parseInt(_0x3753b8(0x87))/0x8+-parseInt(_0x3753b8(0x73))/0x9*(-parseInt(_0x3753b8(0x6f))/0xa)+-parseInt(_0x3753b8(0x7d))/0xb;if(_0x235139===_0xf4c8a9)break;else _0x5d29a6['push'](_0x5d29a6['shift']());}catch(_0xa8356e){_0x5d29a6['push'](_0x5d29a6['shift']());}}}(a0_0x3fa0,0x6a7d2));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3fe494,_0x33105f,_0x2ff03c){const _0x54a42c=a0_0x111d;var _0xc24844=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x33105f}
|
|
4
|
+
.options=${_0x3fe494[_0x54a42c(0x78)]}
|
|
5
|
+
.confirmCallback=${_0x2ff03c}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0xc24844,{'backdrop':!0x0,'size':_0x54a42c(0x80),'title':_0x3fe494[_0x54a42c(0x78)][_0x54a42c(0x7c)]?TermsUtil[_0x54a42c(0x82)](_0x3fe494[_0x54a42c(0x78)][_0x54a42c(0x7c)]):TermsUtil[_0x54a42c(0x84)](_0x54a42c(0x6d))});}export const FilterFormMetaCodeSelect=(_0x17f42c,_0x4a4c86,_0x5f581d)=>{const _0x25a542=a0_0x111d,_0x239e92=_0x17f42c['options'],_0x40688=_0x239e92[_0x25a542(0x81)]&&_0x239e92[_0x25a542(0x81)]['length']>0x0?_0x239e92[_0x25a542(0x81)]:void 0x0,{operator:_0xa7f9c5='eq'}=_0x17f42c;let _0x1fe950=_0x4a4c86||'',_0x2888da=_0x4a4c86||'';if(_0x239e92[_0x25a542(0x72)]&&_0x4a4c86&&_0x40688){let _0x39497f=_0x40688['filter'](_0x702d14=>_0x702d14['value']==_0x4a4c86);_0x39497f&&_0x39497f[_0x25a542(0x6e)]>0x0&&(_0x2888da=_0x39497f[0x0][_0x25a542(0x8d)]);}return'eq'===_0xa7f9c5?html`
|
|
8
|
+
<input name='${_0x17f42c['name']}' .value=${_0x1fe950} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x17f42c[_0x25a542(0x79)]}_disp'
|
|
13
|
+
.value=${_0x2888da}
|
|
14
|
+
@click=${_0x2e5cb0=>{const _0x10d9f1=_0x25a542;_0x2e5cb0[_0x10d9f1(0x89)]();const _0x2fc39c=_0x2e5cb0[_0x10d9f1(0x8c)];openMetaCodeSelector(_0x17f42c,_0x4a4c86,_0x5253b6=>{const _0x58308f=_0x10d9f1;let _0x4a428d=_0x5253b6?_0x5253b6[_0x239e92[_0x58308f(0x75)]]:'',_0x20e9f7=_0x4a428d;if(_0x5253b6&&_0x239e92[_0x58308f(0x72)]){let _0x35d6cc=_0x239e92[_0x58308f(0x72)]['split'](',');_0x20e9f7=_0x5253b6[_0x35d6cc[0x0]],_0x35d6cc[_0x58308f(0x6e)]>0x1&&(_0x20e9f7+='('+_0x35d6cc['splice'](0x1)[_0x58308f(0x7f)](_0x2f778b=>_0x5253b6[_0x2f778b])['join'](',')+')');}_0x2fc39c[_0x58308f(0x71)]=_0x20e9f7,(_0x58308f(0x70)==_0x5f581d['tagName'][_0x58308f(0x7e)]()?_0x5f581d[_0x58308f(0x7a)][_0x58308f(0x88)](_0x58308f(0x86)+_0x17f42c[_0x58308f(0x79)]+'\x22]'):_0x5f581d['renderRoot'][_0x58308f(0x88)](_0x58308f(0x6c)+_0x17f42c[_0x58308f(0x79)]+'\x22]'))['value']=_0x4a428d,_0x2fc39c['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x2fc39c[_0x58308f(0x6b)](new CustomEvent(_0x58308f(0x85),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x17f42c[_0x58308f(0x79)],'operator':_0xa7f9c5,'value':_0x4a428d}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1237de,_0x1fb847){const _0x20f11d=a0_0x1e7b,_0x561a2f=_0x1237de();while(!![]){try{const _0x4955c4=parseInt(_0x20f11d(0xc7))/0x1*(parseInt(_0x20f11d(0xcb))/0x2)+parseInt(_0x20f11d(0xdb))/0x3*(parseInt(_0x20f11d(0xce))/0x4)+-parseInt(_0x20f11d(0xc1))/0x5*(parseInt(_0x20f11d(0xd2))/0x6)+-parseInt(_0x20f11d(0xd9))/0x7*(parseInt(_0x20f11d(0xbc))/0x8)+-parseInt(_0x20f11d(0xd0))/0x9+parseInt(_0x20f11d(0xd4))/0xa+parseInt(_0x20f11d(0xd5))/0xb*(parseInt(_0x20f11d(0xc4))/0xc);if(_0x4955c4===_0x1fb847)break;else _0x561a2f['push'](_0x561a2f['shift']());}catch(_0x11651a){_0x561a2f['push'](_0x561a2f['shift']());}}}(a0_0x5957,0x251d5));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x1e7b(_0x37b3eb,_0x1cbc92){const _0x595750=a0_0x5957();return a0_0x1e7b=function(_0x1e7b1d,_0x1653c2){_0x1e7b1d=_0x1e7b1d-0xb9;let _0x30aa0f=_0x595750[_0x1e7b1d];return _0x30aa0f;},a0_0x1e7b(_0x37b3eb,_0x1cbc92);}function openMetaObjectSelector(_0x5ad972,_0x115d4f,_0x2a7a87){const _0x54688b=a0_0x1e7b;var _0x4696da=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x115d4f}
|
|
4
|
+
.options=${_0x5ad972[_0x54688b(0xbd)]}
|
|
5
|
+
.confirmCallback=${_0x2a7a87}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x4696da,{'backdrop':!0x0,'size':_0x54688b(0xcf),'title':_0x5ad972['options']['selectorName']?TermsUtil[_0x54688b(0xda)](_0x5ad972['options']['selectorName']):TermsUtil[_0x54688b(0xd1)](_0x54688b(0xc5))});}export const FilterFormMetaObjectSelect=(_0x2bb065,_0xe26422,_0x2260ce)=>{const _0x36ba48=a0_0x1e7b,_0x56c023=_0x2bb065[_0x36ba48(0xbd)],{operator:_0x13ff50='eq'}=_0x2bb065;let _0x2ee6fb=_0xe26422?_0xe26422['id']:'',_0x5dffd9='';if(_0xe26422){let _0x441f57=_0x56c023[_0x36ba48(0xc9)]['split'](',');_0x5dffd9=_0xe26422[_0x441f57[0x0]],_0x441f57['length']>0x1&&(_0x5dffd9+='('+_0x441f57[_0x36ba48(0xd6)](0x1)[_0x36ba48(0xd8)](_0x8ce766=>_0xe26422[_0x8ce766])[_0x36ba48(0xb9)](',')+')');}return'eq'===_0x13ff50?html`
|
|
8
|
+
<input name='${_0x2bb065[_0x36ba48(0xca)]}' .value=${_0x2ee6fb} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x2bb065[_0x36ba48(0xca)]}_disp'
|
|
13
|
+
.value=${_0x5dffd9}
|
|
14
|
+
@click=${_0x37d867=>{const _0x3317b9=_0x36ba48;_0x37d867[_0x3317b9(0xba)]();const _0x23dba3=_0x37d867['target'];openMetaObjectSelector(_0x2bb065,_0xe26422,_0x257634=>{const _0x1e7d73=_0x3317b9;let _0x462376=_0x257634?_0x257634['id']:'',_0x36ad46='';if(_0x257634){let _0x5ccece=_0x56c023[_0x1e7d73(0xc9)][_0x1e7d73(0xcd)](',');_0x36ad46=_0x257634[_0x5ccece[0x0]],_0x5ccece[_0x1e7d73(0xc3)]>0x1&&(_0x36ad46+='('+_0x5ccece[_0x1e7d73(0xd6)](0x1)[_0x1e7d73(0xd8)](_0x26bf68=>_0x257634[_0x26bf68])[_0x1e7d73(0xb9)](',')+')');}_0x23dba3[_0x1e7d73(0xc2)]=_0x36ad46,(_0x1e7d73(0xc6)==_0x2260ce[_0x1e7d73(0xd3)][_0x1e7d73(0xbb)]()?_0x2260ce['renderRoot'][_0x1e7d73(0xd7)](_0x1e7d73(0xbe)+_0x2bb065[_0x1e7d73(0xca)]+'\x22]'):_0x2260ce[_0x1e7d73(0xbf)][_0x1e7d73(0xd7)](_0x1e7d73(0xc8)+_0x2bb065[_0x1e7d73(0xca)]+'\x22]'))['value']=_0x462376,_0x23dba3[_0x1e7d73(0xcc)](new Event(_0x1e7d73(0xc0),{'bubbles':!0x0})),_0x23dba3['dispatchEvent'](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2bb065[_0x1e7d73(0xca)],'operator':_0x13ff50,'value':_0x462376}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};function a0_0x5957(){const _0x38d56f=['stopPropagation','toLowerCase','112KiiFqZ','options','[name=\x22','renderRoot','change','15WFzrYW','value','length','98652khhPHE','select_item','ox-grid-header','16HwZJiq','form\x20[name=\x22','nameField','name','10760OWAeVa','dispatchEvent','split','4CgOuai','large','98136kiKgMA','tTitle','451626dDVLLK','tagName','2582780dXztTt','143TKGauT','splice','querySelector','map','95627sdUkFR','tMenu','386283QmEeFT','join'];a0_0x5957=function(){return _0x38d56f;};return a0_0x5957();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x34ba59,_0x119b23){const _0x526284=a0_0x550e,_0x1be724=_0x34ba59();while(!![]){try{const _0x106de2=-parseInt(_0x526284(0x12a))/0x1+parseInt(_0x526284(0x12e))/0x2+-parseInt(_0x526284(0x131))/0x3+-parseInt(_0x526284(0x130))/0x4*(parseInt(_0x526284(0x11b))/0x5)+parseInt(_0x526284(0x11a))/0x6*(parseInt(_0x526284(0x126))/0x7)+parseInt(_0x526284(0x129))/0x8+parseInt(_0x526284(0x120))/0x9;if(_0x106de2===_0x119b23)break;else _0x1be724['push'](_0x1be724['shift']());}catch(_0x1ed9a6){_0x1be724['push'](_0x1be724['shift']());}}}(a0_0x595a,0x4d9d3));import'../popup/meta-object-selector-popup';function a0_0x550e(_0x515b12,_0x9e2831){const _0x595a93=a0_0x595a();return a0_0x550e=function(_0x550e80,_0x44bfe7){_0x550e80=_0x550e80-0x117;let _0x1743b2=_0x595a93[_0x550e80];return _0x1743b2;},a0_0x550e(_0x515b12,_0x9e2831);}import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x595a(){const _0x3eebd0=['join','selectorName','tTitle','map','stopPropagation','[name=\x22','change','toLowerCase','querySelector','33492BJrvKH','1554730ZuIJLl','options','codeField','length','filter','5640588VpEhwr','dispatchEvent','record','display','ox-grid-header','filter-change','378bsRGjq','target','codes','3672744sZBSSx','348967KDiGUS','renderRoot','form\x20[name=\x22','name','588432AgQQAP','dispField','8uAtDNN','1178109YJQqvI','select_item'];a0_0x595a=function(){return _0x3eebd0;};return a0_0x595a();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x60c46c,_0x5bf09e,_0x3b7fc1){const _0x4b875d=a0_0x550e;var _0x3f0bf3=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x5bf09e}
|
|
4
|
+
.options=${_0x60c46c[_0x4b875d(0x122)][_0x4b875d(0x11c)]}
|
|
5
|
+
.confirmCallback=${_0x3b7fc1}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x3f0bf3,{'backdrop':!0x0,'size':'large','title':_0x60c46c[_0x4b875d(0x122)][_0x4b875d(0x11c)][_0x4b875d(0x134)]?TermsUtil['tMenu'](_0x60c46c[_0x4b875d(0x122)][_0x4b875d(0x11c)]['selectorName']):TermsUtil[_0x4b875d(0x135)](_0x4b875d(0x132))});}export const FilterGristMetaCodeSelect=(_0x584e10,_0x3b5495,_0x2e804e)=>{const _0x10f026=a0_0x550e,_0x46a3c4=_0x584e10[_0x10f026(0x11f)],_0x480992=_0x584e10[_0x10f026(0x122)][_0x10f026(0x11c)],_0x1b0a5a=_0x480992[_0x10f026(0x128)]&&_0x480992[_0x10f026(0x128)][_0x10f026(0x11e)]>0x0?_0x480992[_0x10f026(0x128)]:void 0x0,{operator:_0x124405='eq'}=_0x46a3c4;let _0x13a67c=_0x3b5495||'',_0x57ed56=_0x3b5495||'';if(_0x480992[_0x10f026(0x12f)]&&_0x3b5495&&_0x1b0a5a){let _0x34d39f=_0x1b0a5a['filter'](_0x173ba3=>_0x173ba3['value']==_0x3b5495);_0x34d39f&&_0x34d39f[_0x10f026(0x11e)]>0x0&&(_0x57ed56=_0x34d39f[0x0][_0x10f026(0x123)]);}return'eq'===_0x124405?html`
|
|
8
|
+
<input name='${_0x584e10['name']}' .value=${_0x13a67c} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x584e10[_0x10f026(0x12d)]}_disp'
|
|
13
|
+
.value=${_0x57ed56}
|
|
14
|
+
@click=${_0x24ecd9=>{const _0x1279b9=_0x10f026;_0x24ecd9[_0x1279b9(0x137)]();const _0x4f8ad6=_0x24ecd9[_0x1279b9(0x127)];openMetaCodeSelector(_0x584e10,_0x3b5495,_0x3cd8ca=>{const _0x1c1a3a=_0x1279b9;let _0x4ff45b=_0x3cd8ca?_0x3cd8ca[_0x480992[_0x1c1a3a(0x11d)]]:'',_0x46383f=_0x4ff45b;if(_0x3cd8ca&&_0x480992[_0x1c1a3a(0x12f)]){let _0x2c564e=_0x480992[_0x1c1a3a(0x12f)]['split'](',');_0x46383f=_0x3cd8ca[_0x2c564e[0x0]],_0x2c564e[_0x1c1a3a(0x11e)]>0x1&&(_0x46383f+='('+_0x2c564e['splice'](0x1)[_0x1c1a3a(0x136)](_0x3cd2b9=>_0x3cd8ca[_0x3cd2b9])[_0x1c1a3a(0x133)](',')+')');}_0x4f8ad6['value']=_0x46383f,(_0x1c1a3a(0x124)==_0x2e804e['tagName'][_0x1c1a3a(0x118)]()?_0x2e804e[_0x1c1a3a(0x12b)][_0x1c1a3a(0x119)](_0x1c1a3a(0x138)+_0x46a3c4[_0x1c1a3a(0x12d)]+'\x22]'):_0x2e804e[_0x1c1a3a(0x12b)][_0x1c1a3a(0x119)](_0x1c1a3a(0x12c)+_0x46a3c4['name']+'\x22]'))['value']=_0x4ff45b,_0x4f8ad6['dispatchEvent'](new Event(_0x1c1a3a(0x117),{'bubbles':!0x0})),_0x4f8ad6[_0x1c1a3a(0x121)](new CustomEvent(_0x1c1a3a(0x125),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x584e10[_0x1c1a3a(0x12d)],'operator':_0x124405,'value':_0x4ff45b}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x3bf8(_0x2e296f,_0x5931ba){const _0x4c4901=a0_0x4c49();return a0_0x3bf8=function(_0x3bf84c,_0x311230){_0x3bf84c=_0x3bf84c-0x1cd;let _0x3d8f0d=_0x4c4901[_0x3bf84c];return _0x3d8f0d;},a0_0x3bf8(_0x2e296f,_0x5931ba);}(function(_0xb19460,_0x50dfe9){const _0x104d84=a0_0x3bf8,_0x21f711=_0xb19460();while(!![]){try{const _0x2b9974=-parseInt(_0x104d84(0x1ee))/0x1+parseInt(_0x104d84(0x1ed))/0x2*(parseInt(_0x104d84(0x1d7))/0x3)+parseInt(_0x104d84(0x1e1))/0x4*(-parseInt(_0x104d84(0x1ec))/0x5)+parseInt(_0x104d84(0x1ce))/0x6+parseInt(_0x104d84(0x1d8))/0x7+parseInt(_0x104d84(0x1cf))/0x8*(-parseInt(_0x104d84(0x1ea))/0x9)+parseInt(_0x104d84(0x1d5))/0xa*(parseInt(_0x104d84(0x1e3))/0xb);if(_0x2b9974===_0x50dfe9)break;else _0x21f711['push'](_0x21f711['shift']());}catch(_0x29092b){_0x21f711['push'](_0x21f711['shift']());}}}(a0_0x4c49,0x8a5c1));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0xd60bdb,_0x13327c,_0x51f81e){const _0x182fbb=a0_0x3bf8;var _0x5d8fb3=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x13327c}
|
|
4
|
+
.options=${_0xd60bdb[_0x182fbb(0x1db)][_0x182fbb(0x1e4)]}
|
|
5
|
+
.confirmCallback=${_0x51f81e}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x5d8fb3,{'backdrop':!0x0,'size':_0x182fbb(0x1e5),'title':_0xd60bdb[_0x182fbb(0x1db)][_0x182fbb(0x1e4)][_0x182fbb(0x1e2)]?TermsUtil[_0x182fbb(0x1d9)](_0xd60bdb[_0x182fbb(0x1db)]['options'][_0x182fbb(0x1e2)]):TermsUtil[_0x182fbb(0x1dd)](_0x182fbb(0x1d6))});}function a0_0x4c49(){const _0x3b92c5=['tagName','querySelector','value','10eaBqtq','select_item','719553mJMCrO','4651073ZfaHfG','tMenu','form\x20[name=\x22','record','map','tTitle','split','[name=\x22','dispatchEvent','588hrILUs','selectorName','14986367hxrUGj','options','large','filter','ox-grid-header','length','stopPropagation','333JGpvwP','splice','37210jufCSH','4YmjyRa','637334YhuQjy','nameField','join','140664Kcakht','50152iTfKFs','name','renderRoot'];a0_0x4c49=function(){return _0x3b92c5;};return a0_0x4c49();}export const FilterGristMetaObjectSelect=(_0x4e9857,_0x181887,_0x3b0516)=>{const _0x14ff23=a0_0x3bf8,_0x104b75=_0x4e9857[_0x14ff23(0x1e6)],{operator:_0x282d2e='eq'}=_0x104b75,_0x339652=_0x4e9857[_0x14ff23(0x1db)]['options'];let _0xc92f98=_0x181887?_0x181887['id']:'',_0x29e779='';if(_0x181887){let _0x5be0d9=_0x339652[_0x14ff23(0x1ef)][_0x14ff23(0x1de)](',');_0x29e779=_0x181887[_0x5be0d9[0x0]],_0x5be0d9['length']>0x1&&(_0x29e779+='('+_0x5be0d9[_0x14ff23(0x1eb)](0x1)[_0x14ff23(0x1dc)](_0x24bc5a=>_0x181887[_0x24bc5a])[_0x14ff23(0x1cd)](',')+')');}return'eq'===_0x282d2e?html`
|
|
8
|
+
<input name='${_0x4e9857[_0x14ff23(0x1d0)]}' .value=${_0xc92f98} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x4e9857[_0x14ff23(0x1d0)]}_disp'
|
|
13
|
+
.value=${_0x29e779}
|
|
14
|
+
@click=${_0x38c335=>{const _0x2de3a5=_0x14ff23;_0x38c335[_0x2de3a5(0x1e9)]();const _0x786f14=_0x38c335['target'];openMetaObjectSelector(_0x4e9857,_0x181887,_0x3968bf=>{const _0x5f5184=_0x2de3a5;let _0x350baf=_0x3968bf?_0x3968bf['id']:'',_0x3a1886='';if(_0x3968bf){let _0x3c7081=_0x339652[_0x5f5184(0x1ef)][_0x5f5184(0x1de)](',');_0x3a1886=_0x3968bf[_0x3c7081[0x0]],_0x3c7081[_0x5f5184(0x1e8)]>0x1&&(_0x3a1886+='('+_0x3c7081[_0x5f5184(0x1eb)](0x1)[_0x5f5184(0x1dc)](_0x10f51d=>_0x3968bf[_0x10f51d])[_0x5f5184(0x1cd)](',')+')');}_0x786f14[_0x5f5184(0x1d4)]=_0x3a1886,(_0x5f5184(0x1e7)==_0x3b0516[_0x5f5184(0x1d2)]['toLowerCase']()?_0x3b0516[_0x5f5184(0x1d1)][_0x5f5184(0x1d3)](_0x5f5184(0x1df)+_0x104b75[_0x5f5184(0x1d0)]+'\x22]'):_0x3b0516[_0x5f5184(0x1d1)]['querySelector'](_0x5f5184(0x1da)+_0x104b75[_0x5f5184(0x1d0)]+'\x22]'))[_0x5f5184(0x1d4)]=_0x350baf,_0x786f14[_0x5f5184(0x1e0)](new Event('change',{'bubbles':!0x0})),_0x786f14[_0x5f5184(0x1e0)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4e9857[_0x5f5184(0x1d0)],'operator':_0x282d2e,'value':_0x350baf}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async['firstUpdated'](){
|
|
1
|
+
const a0_0x542bd5=a0_0x1f2c;(function(_0x37e269,_0x48c447){const _0x4eca8e=a0_0x1f2c,_0x2053de=_0x37e269();while(!![]){try{const _0x5f3df8=-parseInt(_0x4eca8e(0xfd))/0x1+-parseInt(_0x4eca8e(0xff))/0x2+-parseInt(_0x4eca8e(0x104))/0x3+parseInt(_0x4eca8e(0xfc))/0x4+parseInt(_0x4eca8e(0x117))/0x5+parseInt(_0x4eca8e(0x105))/0x6*(parseInt(_0x4eca8e(0x116))/0x7)+parseInt(_0x4eca8e(0x101))/0x8;if(_0x5f3df8===_0x48c447)break;else _0x2053de['push'](_0x2053de['shift']());}catch(_0xaac884){_0x2053de['push'](_0x2053de['shift']());}}}(a0_0x57b7,0xeeac2));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x57b7(){const _0x24bf37=['key','field-change','860292CqGfFo','274602ZxqByp','stringify','3838370YwvgLc','editorTemplate','5087096wTzRQi','length','grist-editor-code-input','849177gLMInB','8982YOUImL','dispatchEvent','parse','tTitle','...','_onkeydown','define','object','code-editor','stopPropagation','column','large','substring','openEditor','properties','popup','value','7609LohXvZ','4881245BbitRT'];a0_0x57b7=function(){return _0x24bf37;};return a0_0x57b7();}function a0_0x1f2c(_0x127de6,_0x202fe8){const _0x57b798=a0_0x57b7();return a0_0x1f2c=function(_0x1f2ccb,_0x561659){_0x1f2ccb=_0x1f2ccb-0xfa;let _0x2e79a4=_0x57b798[_0x1f2ccb];return _0x2e79a4;},a0_0x1f2c(_0x127de6,_0x202fe8);}import'../../popup/code-input-editor-popup';export class GristEditorCodeInput extends OxGristEditor{static get[a0_0x542bd5(0x113)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x542bd5(0x100)](){const _0x138456=a0_0x542bd5;let _0x2f32cf;return this[_0x138456(0x115)]&&(_0x2f32cf='object'==typeof this[_0x138456(0x115)]?JSON[_0x138456(0xfe)](this[_0x138456(0x115)],0x0,0x2):this['value'],_0x2f32cf=_0x2f32cf[_0x138456(0x102)]>0x14?_0x2f32cf[_0x138456(0x111)](0x0,0x14)+_0x138456(0x109):_0x2f32cf),html`
|
|
2
|
+
${_0x2f32cf?html` <span tabindex="0" style="flex:1;">${_0x2f32cf}</span> `:html`<span tabindex="0" ></span>`}
|
|
3
|
+
`;}async['firstUpdated'](){super['firstUpdated']();}['_onclick'](_0x53a7c6){const _0x4448f7=a0_0x542bd5;_0x53a7c6[_0x4448f7(0x10e)](),this[_0x4448f7(0x112)]();}[a0_0x542bd5(0x10a)](_0x2a64dd){const _0x36ecaa=a0_0x542bd5;'Enter'==_0x2a64dd[_0x36ecaa(0xfa)]&&(_0x2a64dd[_0x36ecaa(0x10e)](),this['openEditor']());}[a0_0x542bd5(0x112)](){const _0x39faea=a0_0x542bd5;this[_0x39faea(0x114)]&&delete this[_0x39faea(0x114)];var _0x3d0df3=html`
|
|
4
4
|
<code-input-editor-popup
|
|
5
5
|
.value=${this['value']}
|
|
6
|
-
.confirmCallback=${(
|
|
6
|
+
.confirmCallback=${(_0x2c70da=>{const _0x59460b=_0x39faea;this[_0x59460b(0x106)](new CustomEvent(_0x59460b(0xfb),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x59460b(0x115)],'after':_0x2c70da?_0x59460b(0x10c)==typeof this[_0x59460b(0x115)]?JSON[_0x59460b(0x107)](_0x2c70da):_0x2c70da:null,'record':this['record'],'column':this[_0x59460b(0x10f)],'row':this['row']}}));})['bind'](this)}
|
|
7
7
|
></code-input-editor-popup>
|
|
8
|
-
`;this[
|
|
8
|
+
`;this[_0x39faea(0x114)]=openPopup(_0x3d0df3,{'backdrop':!0x0,'size':_0x39faea(0x110),'title':TermsUtil[_0x39faea(0x108)](_0x39faea(0x10d))});}}customElements[a0_0x542bd5(0x10b)](a0_0x542bd5(0x103),GristEditorCodeInput);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
const a0_0x1e2c8a=a0_0x3da1;(function(_0x5946a6,_0x496563){const _0x4150a9=a0_0x3da1,_0x1e278f=_0x5946a6();while(!![]){try{const _0x2d6301=parseInt(_0x4150a9(0x10e))/0x1+-parseInt(_0x4150a9(0xea))/0x2*(-parseInt(_0x4150a9(0x10f))/0x3)+-parseInt(_0x4150a9(0x103))/0x4+parseInt(_0x4150a9(0xed))/0x5+parseInt(_0x4150a9(0xe5))/0x6+-parseInt(_0x4150a9(0xe6))/0x7*(parseInt(_0x4150a9(0x102))/0x8)+parseInt(_0x4150a9(0x10b))/0x9*(parseInt(_0x4150a9(0xf7))/0xa);if(_0x2d6301===_0x496563)break;else _0x1e278f['push'](_0x1e278f['shift']());}catch(_0x791a76){_0x1e278f['push'](_0x1e278f['shift']());}}}(a0_0x283d,0x35d1c));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x283d(){const _0x3d0521=['map','2144943eUHHZR','bind','dispatchEvent','104349jfMdue','9nTGXbz','_onclick','1105374RmqGHs','2340863HalOXb','editorTemplate','field-change','select_item','127344WnqMHS','large','split','1196025sLwZvU','push','firstUpdated','fieldMap','openSelector','codeField','row','value','record','properties','10IwUKXx','key','codes','dispField','grist-editor-meta-code-selector','filter','length','join','Enter','column','_onkeydown','8IlHMYm','1609092azVdBd','popup','options','define','keys','forEach','stopPropagation'];a0_0x283d=function(){return _0x3d0521;};return a0_0x283d();}function a0_0x3da1(_0x9ed994,_0x341764){const _0x283d46=a0_0x283d();return a0_0x3da1=function(_0x3da1a7,_0x51aa7f){_0x3da1a7=_0x3da1a7-0xe5;let _0x4d4ed1=_0x283d46[_0x3da1a7];return _0x4d4ed1;},a0_0x3da1(_0x9ed994,_0x341764);}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_0x1e2c8a(0xf6)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x1e2c8a(0xe7)](){const _0x427453=a0_0x1e2c8a;let _0x53578a='';if(this['column'][_0x427453(0xf5)]&&this['column'][_0x427453(0xf5)][_0x427453(0x105)]){if(this[_0x427453(0x100)][_0x427453(0xf5)][_0x427453(0x105)][_0x427453(0xfa)]){let _0x564629=this[_0x427453(0x100)]['record']['options'][_0x427453(0xf9)]||[];if(this[_0x427453(0xf4)]&&this[_0x427453(0xf4)][_0x427453(0xfd)]>0x0){let _0x4cf2f9=_0x564629['filter'](_0x2aa5aa=>_0x2aa5aa[_0x427453(0xf4)]===this['value']);_0x53578a=_0x4cf2f9&&_0x4cf2f9[_0x427453(0xfd)]>0x0?_0x4cf2f9[0x0]['display']:'';}}else _0x53578a=this['value'];}else _0x53578a='';return html`
|
|
2
|
+
${_0x53578a?html` <span tabindex="0" style="flex:1">${_0x53578a}</span> `:html`<span tabindex="0"></span>`}
|
|
3
|
+
`;}async[a0_0x1e2c8a(0xef)](){super['firstUpdated']();}[a0_0x1e2c8a(0x110)](_0x598d22){const _0x173856=a0_0x1e2c8a;_0x598d22[_0x173856(0x109)](),this[_0x173856(0xf1)]();}[a0_0x1e2c8a(0x101)](_0x1d75d0){const _0x5a33e1=a0_0x1e2c8a;_0x5a33e1(0xff)==_0x1d75d0[_0x5a33e1(0xf8)]&&(_0x1d75d0[_0x5a33e1(0x109)](),this[_0x5a33e1(0xf1)]());}['openSelector'](){const _0x2d0ca7=a0_0x1e2c8a;this[_0x2d0ca7(0x104)]&&delete this[_0x2d0ca7(0x104)];var {selectorName:_0x20a44e=TermsUtil['tTitle'](_0x2d0ca7(0xe9))}=this[_0x2d0ca7(0x100)][_0x2d0ca7(0xf5)][_0x2d0ca7(0x105)]||{},_0x563c14=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this['value']}
|
|
6
|
+
.options=${this[_0x2d0ca7(0x100)]['record'][_0x2d0ca7(0x105)]}
|
|
7
|
+
.confirmCallback=${(_0x5a1c81=>{const _0x1dc25b=_0x2d0ca7;let _0x393d82=this[_0x1dc25b(0x100)][_0x1dc25b(0xf5)][_0x1dc25b(0x105)][_0x1dc25b(0xf2)],_0x412f0f=this[_0x1dc25b(0x100)][_0x1dc25b(0xf5)][_0x1dc25b(0x105)][_0x1dc25b(0xfa)],_0x298f27=this['column'][_0x1dc25b(0xf5)][_0x1dc25b(0x105)][_0x1dc25b(0xf0)]||{};if(this[_0x1dc25b(0x100)][_0x1dc25b(0xf5)][_0x1dc25b(0x105)][_0x1dc25b(0xf9)]||(this[_0x1dc25b(0x100)]['record'][_0x1dc25b(0x105)]['codes']=[]),_0x5a1c81){let _0x1c8ead=this['column']['record'][_0x1dc25b(0x105)][_0x1dc25b(0xf9)][_0x1dc25b(0xfc)](_0x2f6fad=>_0x2f6fad[_0x1dc25b(0xf4)]==_0x5a1c81[_0x393d82]);if(!_0x1c8ead||0x0==_0x1c8ead[_0x1dc25b(0xfd)]){let _0x5bba79=_0x5a1c81[_0x393d82];if(_0x412f0f){let _0x43ac73=_0x412f0f[_0x1dc25b(0xec)](',');_0x5bba79=_0x5a1c81[_0x43ac73[0x0]],_0x43ac73['length']>0x1&&(_0x5bba79+='('+_0x43ac73['splice'](0x1)[_0x1dc25b(0x10a)](_0x2b6564=>_0x5a1c81[_0x2b6564])[_0x1dc25b(0xfe)](',')+')');}this[_0x1dc25b(0x100)][_0x1dc25b(0xf5)][_0x1dc25b(0x105)][_0x1dc25b(0xf9)][_0x1dc25b(0xee)]({'value':_0x5a1c81[_0x393d82],'display':_0x5bba79});}}this[_0x1dc25b(0x10d)](new CustomEvent(_0x1dc25b(0xe8),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x1dc25b(0xf4)],'after':_0x5a1c81?_0x5a1c81[_0x393d82]:null,'record':this[_0x1dc25b(0xf5)],'column':this[_0x1dc25b(0x100)],'row':this[_0x1dc25b(0xf3)]}})),Object[_0x1dc25b(0x107)](_0x298f27)[_0x1dc25b(0x108)](_0xf21566=>{const _0x34d562=_0x1dc25b;this['dispatchEvent'](new CustomEvent(_0x34d562(0xe8),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x34d562(0xf5)][_0x298f27[_0xf21566]],'after':_0x5a1c81?_0x5a1c81[_0xf21566]:null,'record':this[_0x34d562(0xf5)],'column':{'name':_0x298f27[_0xf21566]},'row':this[_0x34d562(0xf3)]}}));});})[_0x2d0ca7(0x10c)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this['popup']=openPopup(_0x563c14,{'backdrop':!0x0,'size':_0x2d0ca7(0xeb),'title':TermsUtil['tMenu'](_0x20a44e)});}}customElements[a0_0x1e2c8a(0x106)](a0_0x1e2c8a(0xfb),GristEditorMetaCodeSelector);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
${this[
|
|
3
|
-
`;}async[
|
|
1
|
+
const a0_0xa389b2=a0_0x37a9;(function(_0x253fe9,_0x42d82f){const _0x4b3595=a0_0x37a9,_0x5ea38b=_0x253fe9();while(!![]){try{const _0x389f59=parseInt(_0x4b3595(0x1ee))/0x1+-parseInt(_0x4b3595(0x1e4))/0x2*(parseInt(_0x4b3595(0x202))/0x3)+-parseInt(_0x4b3595(0x1e8))/0x4*(-parseInt(_0x4b3595(0x1e1))/0x5)+parseInt(_0x4b3595(0x1f8))/0x6*(-parseInt(_0x4b3595(0x206))/0x7)+parseInt(_0x4b3595(0x1f2))/0x8*(-parseInt(_0x4b3595(0x1de))/0x9)+parseInt(_0x4b3595(0x1f5))/0xa*(-parseInt(_0x4b3595(0x1e3))/0xb)+parseInt(_0x4b3595(0x1f7))/0xc;if(_0x389f59===_0x42d82f)break;else _0x5ea38b['push'](_0x5ea38b['shift']());}catch(_0x752bf7){_0x5ea38b['push'](_0x5ea38b['shift']());}}}(a0_0x2664,0xc541b));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_0x2664(){const _0x4b7798=['row','split','field-change','keys','tTitle','splice','properties','nameField','3453SlUXMH','record','editorTemplate','options','7Cmnorz','column','7509681AWUlMF','openSelector','value','615vhgkrC','join','88myeita','1526hVzKlP','dispatchEvent','stopPropagation','grist-editor-meta-object-selector','9872cpMyBA','select_item','key','bind','_onclick','fieldMap','1142416lAowgC','Enter','tMenu','firstUpdated','8WiIcLh','_onkeydown','length','1318970jkQgYu','forEach','27159384FaGlGs','801006CDNdRb','popup'];a0_0x2664=function(){return _0x4b7798;};return a0_0x2664();}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0xa389b2(0x200)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0xa389b2(0x204)](){const _0x27cf16=a0_0xa389b2;let _0x52e2c2='';if(this['value']&&this[_0x27cf16(0x207)][_0x27cf16(0x203)][_0x27cf16(0x205)]){let _0x10e819=this[_0x27cf16(0x207)]['record'][_0x27cf16(0x205)][_0x27cf16(0x201)][_0x27cf16(0x1fb)](',');_0x52e2c2=this[_0x27cf16(0x1e0)][_0x10e819[0x0]],_0x10e819[_0x27cf16(0x1f4)]>0x1&&(_0x52e2c2+='('+_0x10e819[_0x27cf16(0x1ff)](0x1)['map'](_0x4c7cfc=>this['value'][_0x4c7cfc])[_0x27cf16(0x1e2)](',')+')');}return html`
|
|
2
|
+
${this[_0x27cf16(0x1e0)]?html` <span tabindex="0" style="flex:1">${_0x52e2c2}</span> `:html`<span tabindex="0">${_0x52e2c2}</span>`}
|
|
3
|
+
`;}async[a0_0xa389b2(0x1f1)](){super['firstUpdated']();}[a0_0xa389b2(0x1ec)](_0x30edfd){const _0x45e229=a0_0xa389b2;_0x30edfd[_0x45e229(0x1e6)](),this[_0x45e229(0x1df)]();}[a0_0xa389b2(0x1f3)](_0x5922be){const _0x33bda2=a0_0xa389b2;_0x33bda2(0x1ef)==_0x5922be[_0x33bda2(0x1ea)]&&(_0x5922be['stopPropagation'](),this[_0x33bda2(0x1df)]());}[a0_0xa389b2(0x1df)](){const _0x40791=a0_0xa389b2;this[_0x40791(0x1f9)]&&delete this[_0x40791(0x1f9)];var {selectorName:_0x87d80f=TermsUtil[_0x40791(0x1fe)](_0x40791(0x1e9))}=this[_0x40791(0x207)][_0x40791(0x203)][_0x40791(0x205)]||{},_0x3fd372=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this['
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this['value']}
|
|
6
|
+
.options=${this[_0x40791(0x207)]['record'][_0x40791(0x205)]}
|
|
7
|
+
.confirmCallback=${(_0x1c118d=>{const _0x97f4a6=_0x40791;let _0x23c3b1=this[_0x97f4a6(0x207)][_0x97f4a6(0x203)][_0x97f4a6(0x205)][_0x97f4a6(0x1ed)]||{};this[_0x97f4a6(0x1e5)](new CustomEvent(_0x97f4a6(0x1fc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x97f4a6(0x1e0)],'after':_0x1c118d||null,'record':this[_0x97f4a6(0x203)],'column':this['column'],'row':this[_0x97f4a6(0x1fa)]}})),Object[_0x97f4a6(0x1fd)](_0x23c3b1)[_0x97f4a6(0x1f6)](_0xc02a69=>{const _0x3b4c67=_0x97f4a6;this['dispatchEvent'](new CustomEvent(_0x3b4c67(0x1fc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3b4c67(0x203)][_0x23c3b1[_0xc02a69]],'after':_0x1c118d?_0x1c118d[_0xc02a69]:null,'record':this[_0x3b4c67(0x203)],'column':{'name':_0x23c3b1[_0xc02a69]},'row':this[_0x3b4c67(0x1fa)]}}));});})[_0x40791(0x1eb)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this[_0x40791(0x1f9)]=openPopup(_0x3fd372,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x40791(0x1f0)](_0x87d80f)});}}function a0_0x37a9(_0xa43388,_0x2be691){const _0x26647d=a0_0x2664();return a0_0x37a9=function(_0x37a962,_0x2ec908){_0x37a962=_0x37a962-0x1de;let _0x426551=_0x26647d[_0x37a962];return _0x426551;},a0_0x37a9(_0xa43388,_0x2be691);}customElements['define'](a0_0xa389b2(0x1e7),GristEditorMetaObjectSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x3f6e(_0x5c548b,_0x31b49d){const _0xf3177b=a0_0xf317();return a0_0x3f6e=function(_0x3f6e31,_0x3e6664){_0x3f6e31=_0x3f6e31-0x172;let _0x1dcd7e=_0xf3177b[_0x3f6e31];return _0x1dcd7e;},a0_0x3f6e(_0x5c548b,_0x31b49d);}(function(_0x4c8d08,_0x28d998){const _0x3ed392=a0_0x3f6e,_0x1df29a=_0x4c8d08();while(!![]){try{const _0x4e859f=-parseInt(_0x3ed392(0x17d))/0x1*(-parseInt(_0x3ed392(0x176))/0x2)+-parseInt(_0x3ed392(0x178))/0x3+-parseInt(_0x3ed392(0x180))/0x4+-parseInt(_0x3ed392(0x17e))/0x5+-parseInt(_0x3ed392(0x17f))/0x6*(parseInt(_0x3ed392(0x17c))/0x7)+parseInt(_0x3ed392(0x175))/0x8+parseInt(_0x3ed392(0x17a))/0x9;if(_0x4e859f===_0x28d998)break;else _0x1df29a['push'](_0x1df29a['shift']());}catch(_0x570e73){_0x1df29a['push'](_0x1df29a['shift']());}}}(a0_0xf317,0xd7073));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0xf317(){const _0x5aacd2=['422924RquOwB','removeAttribute','742260gOFflh','stringify','23994657czpKDK','length','796901ZIigKy','4mvYdiU','5506665iXGtCb','12JUbLwn','6967208WkXTkU','object','data-tooltip','setAttribute','target','...','5496600ZZzjUe'];a0_0xf317=function(){return _0x5aacd2;};return a0_0xf317();}function onmouseover(_0x4c3462){const _0x2a2b37=a0_0x3f6e,_0x1d5e12=_0x4c3462[_0x2a2b37(0x173)];detectOverflow(_0x1d5e12)&&_0x1d5e12[_0x2a2b37(0x172)](_0x2a2b37(0x182),_0x1d5e12['textContent']);}function onmouseout(_0x4e73e6){const _0x14f246=a0_0x3f6e;_0x4e73e6[_0x14f246(0x173)][_0x14f246(0x177)](_0x14f246(0x182));}export const GristRendererCodeInput=(_0x53804c,_0x55864f,_0x333934,_0x2d487f,_0x20d1c9)=>{const _0x54e3e7=a0_0x3f6e;let _0x1247dd='';return _0x53804c&&(_0x1247dd=_0x54e3e7(0x181)==typeof _0x53804c?JSON[_0x54e3e7(0x179)](_0x53804c,0x0,0x2):_0x53804c,_0x1247dd=_0x1247dd[_0x54e3e7(0x17b)]>0x14?_0x1247dd['substring'](0x0,0x14)+_0x54e3e7(0x174):_0x1247dd),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1247dd}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x1fae(){const _0x3c5c85=['10jYpLzU','169373ZFZEyi','9hLRrJh','data-tooltip','value','length','25296997LnYMAf','167090rWifej','record','display','1568024VGPfhz','68GEuEAE','codes','options','target','setAttribute','741945GNlLLp','dispField','133966bBjtux','filter','4PNsMlL','removeAttribute','991218CpwNGB'];a0_0x1fae=function(){return _0x3c5c85;};return a0_0x1fae();}(function(_0x26f212,_0x4a1eaa){const _0xe73e25=a0_0x8799,_0x2762ba=_0x26f212();while(!![]){try{const _0x5a893a=-parseInt(_0xe73e25(0x135))/0x1+parseInt(_0xe73e25(0x131))/0x2*(-parseInt(_0xe73e25(0x144))/0x3)+parseInt(_0xe73e25(0x13f))/0x4*(-parseInt(_0xe73e25(0x13b))/0x5)+-parseInt(_0xe73e25(0x133))/0x6+parseInt(_0xe73e25(0x12f))/0x7+parseInt(_0xe73e25(0x13e))/0x8*(-parseInt(_0xe73e25(0x136))/0x9)+parseInt(_0xe73e25(0x134))/0xa*(parseInt(_0xe73e25(0x13a))/0xb);if(_0x5a893a===_0x4a1eaa)break;else _0x2762ba['push'](_0x2762ba['shift']());}catch(_0xa406a6){_0x2762ba['push'](_0x2762ba['shift']());}}}(a0_0x1fae,0xb122e));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x237ab0){const _0x3b470f=a0_0x8799,_0x425f27=_0x237ab0[_0x3b470f(0x142)];detectOverflow(_0x425f27)&&_0x425f27[_0x3b470f(0x143)]('data-tooltip',_0x425f27['textContent']);}function a0_0x8799(_0x34f189,_0x5d298d){const _0x1faeca=a0_0x1fae();return a0_0x8799=function(_0x8799f3,_0x3c217a){_0x8799f3=_0x8799f3-0x12f;let _0x84fdc1=_0x1faeca[_0x8799f3];return _0x84fdc1;},a0_0x8799(_0x34f189,_0x5d298d);}function onmouseout(_0x2ba960){const _0x51baf4=a0_0x8799;_0x2ba960[_0x51baf4(0x142)][_0x51baf4(0x132)](_0x51baf4(0x137));}export const GristRendererMetaCodeSelector=(_0x155206,_0x1d4bda,_0x202569,_0x2eb1d0,_0x4e5a80)=>{const _0x2f6745=a0_0x8799;let _0x4efca9='';if(_0x1d4bda[_0x2f6745(0x13c)]&&_0x1d4bda['record'][_0x2f6745(0x141)]){if(_0x1d4bda[_0x2f6745(0x13c)][_0x2f6745(0x141)][_0x2f6745(0x145)]){if(_0x1d4bda[_0x2f6745(0x13c)][_0x2f6745(0x141)]['codes']||(_0x1d4bda['record']['options'][_0x2f6745(0x140)]=[]),_0x155206&&_0x155206[_0x2f6745(0x139)]>0x0){let _0x407e54=_0x1d4bda[_0x2f6745(0x13c)][_0x2f6745(0x141)][_0x2f6745(0x140)][_0x2f6745(0x130)](_0x23b499=>_0x23b499[_0x2f6745(0x138)]===_0x155206);_0x4efca9=_0x407e54&&_0x407e54['length']>0x0?_0x407e54[0x0][_0x2f6745(0x13d)]:_0x155206;}}else _0x4efca9=_0x155206;}else _0x4efca9='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x4efca9}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x55a1(_0x5a3043,_0x3c9550){const _0x399e6c=a0_0x399e();return a0_0x55a1=function(_0x55a1a2,_0x381432){_0x55a1a2=_0x55a1a2-0x1e2;let _0x2acc47=_0x399e6c[_0x55a1a2];return _0x2acc47;},a0_0x55a1(_0x5a3043,_0x3c9550);}(function(_0x1bfaa7,_0x519d22){const _0x35e7b5=a0_0x55a1,_0x5bd716=_0x1bfaa7();while(!![]){try{const _0x2f69a6=parseInt(_0x35e7b5(0x1f6))/0x1+-parseInt(_0x35e7b5(0x1f7))/0x2+parseInt(_0x35e7b5(0x1e6))/0x3*(parseInt(_0x35e7b5(0x1ec))/0x4)+-parseInt(_0x35e7b5(0x1e8))/0x5+-parseInt(_0x35e7b5(0x1e9))/0x6*(-parseInt(_0x35e7b5(0x1f2))/0x7)+parseInt(_0x35e7b5(0x1e4))/0x8+parseInt(_0x35e7b5(0x1f4))/0x9*(parseInt(_0x35e7b5(0x1e3))/0xa);if(_0x2f69a6===_0x519d22)break;else _0x5bd716['push'](_0x5bd716['shift']());}catch(_0x5ca584){_0x5bd716['push'](_0x5bd716['shift']());}}}(a0_0x399e,0x5c5b9));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x378ee5){const _0x4d57d9=a0_0x55a1,_0x16f3c5=_0x378ee5[_0x4d57d9(0x1f1)];detectOverflow(_0x16f3c5)&&_0x16f3c5[_0x4d57d9(0x1ea)](_0x4d57d9(0x1e2),_0x16f3c5[_0x4d57d9(0x1ef)]);}function onmouseout(_0x481bd2){const _0x1971ef=a0_0x55a1;_0x481bd2[_0x1971ef(0x1f1)][_0x1971ef(0x1f0)](_0x1971ef(0x1e2));}export const GristRendererMetaObjectSelector=(_0x3e1fb6,_0x58c914,_0x3da6e0,_0x1dd967,_0x2b9d5c)=>{const _0x407b70=a0_0x55a1;let _0x1b1ab3='';if(_0x3e1fb6&&_0x58c914['record'][_0x407b70(0x1f8)]){let _0x125486=_0x58c914[_0x407b70(0x1e7)][_0x407b70(0x1f8)][_0x407b70(0x1f5)][_0x407b70(0x1ed)](',');_0x1b1ab3=_0x3e1fb6[_0x125486[0x0]],_0x125486[_0x407b70(0x1f3)]>0x1&&(_0x1b1ab3+='('+_0x125486[_0x407b70(0x1e5)](0x1)[_0x407b70(0x1eb)](_0x21b45f=>_0x3e1fb6[_0x21b45f])[_0x407b70(0x1ee)](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1b1ab3}</span>`;};function a0_0x399e(){const _0x4c0c3b=['3539485IWNplJ','1920JMGcMG','setAttribute','map','472NplWIy','split','join','textContent','removeAttribute','target','2471ScjkHb','length','2713743bahKcw','nameField','159886IqJgee','563064VwLLiX','options','data-tooltip','10TWTCEz','2352760wmrXtT','splice','12693ITILPe','record'];a0_0x399e=function(){return _0x4c0c3b;};return a0_0x399e();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x45bb22=a0_0x23ce;function a0_0x3e60(){var _0x3b423e=['changedValue','1073804dWizos','stringify','1988438gFfudL','73716MVgBuo','codeEditor','value','ox-input-code','showToast','5489145qdmqEe','90NlaOvf','bind','1409949OFiaDX','clickConfirm','confirm','603274HUYNMI','define','35OwirjE','firstUpdated','confirmCallback','clickEmpty','cancel','styles','codeVlaue','tButton','connectedCallback','querySelector','shadowRoot','render','1858976yVXtYw'];a0_0x3e60=function(){return _0x3b423e;};return a0_0x3e60();}(function(_0x463694,_0x4c80b3){var _0x262248=a0_0x23ce,_0x1b6b4c=_0x463694();while(!![]){try{var _0x1a2052=parseInt(_0x262248(0x182))/0x1+-parseInt(_0x262248(0x176))/0x2+-parseInt(_0x262248(0x17f))/0x3+parseInt(_0x262248(0x174))/0x4+-parseInt(_0x262248(0x17c))/0x5+parseInt(_0x262248(0x177))/0x6*(-parseInt(_0x262248(0x184))/0x7)+-parseInt(_0x262248(0x172))/0x8*(-parseInt(_0x262248(0x17d))/0x9);if(_0x1a2052===_0x4c80b3)break;else _0x1b6b4c['push'](_0x1b6b4c['shift']());}catch(_0x2f8ad5){_0x1b6b4c['push'](_0x1b6b4c['shift']());}}}(a0_0x3e60,0x8ba50));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';import{closePopup}from'@operato/popup';function a0_0x23ce(_0x49acc2,_0xdcef72){var _0x3e6049=a0_0x3e60();return a0_0x23ce=function(_0x23cec,_0x1e2b40){_0x23cec=_0x23cec-0x16e;var _0x59c51d=_0x3e6049[_0x23cec];return _0x59c51d;},a0_0x23ce(_0x49acc2,_0xdcef72);}export class CodeInputEditorPopup extends LitElement{static [a0_0x45bb22(0x189)]=[CommonGristStyles,ButtonContainerStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -19,17 +19,17 @@ var a0_0x46eb80=a0_0x2f0a;(function(_0x4762e6,_0x43cb9a){var _0x57bc35=a0_0x2f0a
|
|
|
19
19
|
display: flex;
|
|
20
20
|
margin-left: auto;
|
|
21
21
|
}
|
|
22
|
-
`];async[
|
|
23
|
-
<ox-input-code mode="javascript" value=${this[
|
|
22
|
+
`];async[a0_0x45bb22(0x16e)](){var _0x48af73=a0_0x45bb22;'object'==typeof this[_0x48af73(0x179)]?this[_0x48af73(0x18a)]=JSON[_0x48af73(0x175)](this[_0x48af73(0x179)],0x0,0x2):this['codeVlaue']=this[_0x48af73(0x179)],await super[_0x48af73(0x16e)]();}async[a0_0x45bb22(0x185)](){var _0x525189=a0_0x45bb22;await super[_0x525189(0x185)]();}[a0_0x45bb22(0x171)](){var _0x321c96=a0_0x45bb22;return html`
|
|
23
|
+
<ox-input-code mode="javascript" value=${this[_0x321c96(0x18a)]} 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['tButton']('empty')}" style="margin-left:7px;margin-top:7px;"
|
|
26
|
+
@click=${this[_0x321c96(0x187)][_0x321c96(0x17e)](this)}>
|
|
27
27
|
</mwc-button>
|
|
28
|
-
<mwc-button raised label="${TermsUtil[
|
|
29
|
-
@click=${this[
|
|
28
|
+
<mwc-button raised label="${TermsUtil[_0x321c96(0x18b)](_0x321c96(0x188))}" style="margin-left:7px;margin-top:7px;"
|
|
29
|
+
@click=${this['clickCancel']['bind'](this)}>
|
|
30
30
|
</mwc-button>
|
|
31
|
-
<mwc-button raised label="${TermsUtil[
|
|
32
|
-
@click=${this[
|
|
31
|
+
<mwc-button raised label="${TermsUtil[_0x321c96(0x18b)](_0x321c96(0x181))}" style="margin-left:7px;margin-top:7px;"
|
|
32
|
+
@click=${this[_0x321c96(0x180)][_0x321c96(0x17e)](this)}>
|
|
33
33
|
</mwc-button>
|
|
34
34
|
</div>
|
|
35
|
-
`;}get[
|
|
35
|
+
`;}get[a0_0x45bb22(0x178)](){var _0x3ae8a9=a0_0x45bb22;return this[_0x3ae8a9(0x170)][_0x3ae8a9(0x16f)](_0x3ae8a9(0x17a));}async[a0_0x45bb22(0x187)](_0x224d4f){var _0x37bdb9=a0_0x45bb22;this[_0x37bdb9(0x186)]&&this[_0x37bdb9(0x186)](null),closePopup(this);}async['clickCancel'](_0x352805){closePopup(this);}async[a0_0x45bb22(0x180)](_0x260f51){var _0x4173f8=a0_0x45bb22;this[_0x4173f8(0x18a)]!==this[_0x4173f8(0x178)][_0x4173f8(0x179)]?this[_0x4173f8(0x173)](this[_0x4173f8(0x178)][_0x4173f8(0x179)]):MetaApi[_0x4173f8(0x17b)]('info',TermsUtil['tText']('NOTHING_CHANGED'));}async[a0_0x45bb22(0x173)](_0x278b45){var _0x1c7be9=a0_0x45bb22;this[_0x1c7be9(0x186)]&&this[_0x1c7be9(0x186)](_0x278b45),closePopup(this);}}customElements[a0_0x45bb22(0x183)]('code-input-editor-popup',CodeInputEditorPopup);
|