@things-factory/meta-ui 6.1.137 → 6.1.139
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 +10 -10
- package/client/component/filter/filter-form-meta-object-select.js +9 -9
- package/client/component/filter/filter-grist-meta-code-select.js +10 -10
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +6 -6
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +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 +5 -5
- 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 +16 -16
- 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 +106 -106
- 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 +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +11 -11
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/button-role/button-role-mutation.js +1 -1
- package/server/service/button-role/button-role-query.js +1 -1
- package/server/service/button-role/button-role-type.js +1 -1
- package/server/service/button-role/button-role.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/menu-button-auth/menu-button-auth-mutation.js +1 -1
- package/server/service/menu-button-auth/menu-button-auth-query.js +1 -1
- package/server/service/menu-button-auth/menu-button-auth-type.js +1 -1
- package/server/service/menu-button-auth/menu-button-auth.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_0x28510a=a0_0x31b3;(function(_0x2317da,_0xd38685){const _0x577414=a0_0x31b3,_0x963681=_0x2317da();while(!![]){try{const _0x53d62d=parseInt(_0x577414(0x15d))/0x1*(-parseInt(_0x577414(0x15f))/0x2)+parseInt(_0x577414(0x162))/0x3*(-parseInt(_0x577414(0x16c))/0x4)+parseInt(_0x577414(0x165))/0x5*(parseInt(_0x577414(0x15c))/0x6)+parseInt(_0x577414(0x15b))/0x7*(parseInt(_0x577414(0x158))/0x8)+-parseInt(_0x577414(0x16a))/0x9+parseInt(_0x577414(0x167))/0xa*(parseInt(_0x577414(0x157))/0xb)+parseInt(_0x577414(0x166))/0xc;if(_0x53d62d===_0xd38685)break;else _0x963681['push'](_0x963681['shift']());}catch(_0x1a6b7e){_0x963681['push'](_0x963681['shift']());}}}(a0_0x5cec,0xe1bb1));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';function a0_0x5cec(){const _0x3263da=['6cLfeKr','1UnGGiJ','appName','3045396BfzWOA','landscape','dynamic-menu-part','18liWXaz','filter','FRONT_END','7553615cYSVuA','7039056PHlkol','934280Rhpkyl','rank','query','7217271kSkIRk','active','397940IlbHHs','content','items','HEADERBAR','hamburger','154oguMVA','39624ZZsEBl','UPDATE_META_UI','portrait','623CKecYs'];a0_0x5cec=function(){return _0x3263da;};return a0_0x5cec();}import a0_0x2c3b23 from'graphql-tag';import{html}from'lit';function a0_0x31b3(_0x36d91a,_0x2dc8f6){const _0x5cec1b=a0_0x5cec();return a0_0x31b3=function(_0x31b3c2,_0x17b9a6){_0x31b3c2=_0x31b3c2-0x154;let _0x16872c=_0x5cec1b[_0x31b3c2];return _0x16872c;},a0_0x31b3(_0x36d91a,_0x2dc8f6);}import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x28510a(0x159);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x14b09c){const _0x474811=a0_0x28510a;var {hovering:_0x18b58d=!!isMobileDevice(),slotTemplate:_0x303125,portraitSlotTemplate:_0x264921,landscapeSlotTemplate:_0x95f651,position:_0x2f9470=VIEWPART_POSITION['NAVBAR']}=_0x14b09c||{};const {hovering:_0x1cd0f0}=(await clientSettingStore['get']('dynamic-menu'))?.['value']||{};void 0x0!==_0x1cd0f0&&(_0x18b58d=_0x1cd0f0);const _0x3de54b=_0x2f9470==VIEWPART_POSITION[_0x474811(0x155)]?_0x474811(0x160):_0x474811(0x15a),_0x47e5d1=(_0x474811(0x160)==_0x3de54b?_0x95f651:_0x264921)||_0x303125||html``;appendViewpart({'name':_0x474811(0x161),'viewpart':{'show':!_0x18b58d,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x18b58d,'template':html`<dynamic-menu-part .orientation=${_0x3de54b}>${_0x47e5d1}</dynamic-menu-part>`},'position':_0x2f9470}),_0x18b58d&&'portrait'==_0x3de54b?HAMBURGER||(HAMBURGER={'name':_0x474811(0x156),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0x512949=>toggleOverlay(_0x474811(0x161),{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION[_0x474811(0x164)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':_0x474811(0x156)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x1822d9){const _0x840fb1=a0_0x28510a;var _0x41da4b=document['querySelector']('meta[name=\x22application-name\x22]')?.[_0x840fb1(0x16d)],_0x528166=(await client[_0x840fb1(0x169)]({'query':a0_0x2c3b23`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ const a0_0x13d524=a0_0x29ce;(function(_0x478f72,_0x217c33){const _0x26ba93=a0_0x
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x840fb1(0x16b),'operator':'eq','value':!0x0},{'name':_0x840fb1(0x15e),'operator':'in','value':['',_0x41da4b]}],'sortings':[{'name':_0x840fb1(0x168),'desc':!0x1}]}}))['data']['liteMenus'][_0x840fb1(0x154)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x528166[_0x840fb1(0x163)](_0x1c3623=>!_0x1c3623[_0x840fb1(0x15e)]||_0x1c3623[_0x840fb1(0x15e)]===_0x41da4b),'template':_0x1822d9});}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x12edf9,_0x2d8105){const _0x4fecce=a0_0x5417,_0x364948=_0x12edf9();while(!![]){try{const _0x3065b9=parseInt(_0x4fecce(0x15e))/0x1*(parseInt(_0x4fecce(0x15c))/0x2)+-parseInt(_0x4fecce(0x16c))/0x3*(-parseInt(_0x4fecce(0x171))/0x4)+-parseInt(_0x4fecce(0x176))/0x5*(-parseInt(_0x4fecce(0x15d))/0x6)+parseInt(_0x4fecce(0x156))/0x7*(-parseInt(_0x4fecce(0x166))/0x8)+-parseInt(_0x4fecce(0x16e))/0x9+-parseInt(_0x4fecce(0x163))/0xa*(parseInt(_0x4fecce(0x16d))/0xb)+parseInt(_0x4fecce(0x177))/0xc;if(_0x3065b9===_0x2d8105)break;else _0x364948['push'](_0x364948['shift']());}catch(_0x143d62){_0x364948['push'](_0x364948['shift']());}}}(a0_0xe398,0x3ce28));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x5417(_0x219377,_0x4ea22c){const _0xe398e6=a0_0xe398();return a0_0x5417=function(_0x5417c7,_0x3c9332){_0x5417c7=_0x5417c7-0x156;let _0x47ec6c=_0xe398e6[_0x5417c7];return _0x47ec6c;},a0_0x5417(_0x219377,_0x4ea22c);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x9b2163,_0x156897,_0x367fa6){const _0x4b0a87=a0_0x5417;var _0x2907ae=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x156897}
|
|
4
|
+
.options=${_0x9b2163['options']}
|
|
5
|
+
.confirmCallback=${_0x367fa6}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x2907ae,{'backdrop':!0x0,'size':'large','title':_0x9b2163[_0x4b0a87(0x160)]['selectorName']?TermsUtil[_0x4b0a87(0x173)](_0x9b2163['options']['selectorName']):TermsUtil['tTitle'](_0x4b0a87(0x168))});}export const FilterFormMetaCodeSelect=(_0x2ac442,_0x12b094,_0x212a01)=>{const _0x48bd45=a0_0x5417,_0x45c074=_0x2ac442[_0x48bd45(0x160)],_0x4266c9=_0x45c074[_0x48bd45(0x16b)]&&_0x45c074[_0x48bd45(0x16b)][_0x48bd45(0x16a)]>0x0?_0x45c074[_0x48bd45(0x16b)]:void 0x0,{operator:_0x407725='eq'}=_0x2ac442;let _0x3cad68=_0x12b094||'',_0x555056=_0x12b094||'';if(_0x45c074[_0x48bd45(0x174)]&&_0x12b094&&_0x4266c9){let _0x577af3=_0x4266c9[_0x48bd45(0x15b)](_0x12dd81=>_0x12dd81['value']==_0x12b094);_0x577af3&&_0x577af3[_0x48bd45(0x16a)]>0x0&&(_0x555056=_0x577af3[0x0][_0x48bd45(0x167)]);}return'eq'===_0x407725?html`
|
|
8
|
+
<input name='${_0x2ac442['name']}' .value=${_0x3cad68} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x2ac442[_0x48bd45(0x175)]}_disp'
|
|
13
|
+
.value=${_0x555056}
|
|
14
|
+
@click=${_0x2031a2=>{const _0x134279=_0x48bd45;_0x2031a2[_0x134279(0x159)]();const _0x117e86=_0x2031a2[_0x134279(0x15a)];openMetaCodeSelector(_0x2ac442,_0x12b094,_0x33b3a7=>{const _0x11bac0=_0x134279;let _0x5bd8ef=_0x33b3a7?_0x33b3a7[_0x45c074[_0x11bac0(0x157)]]:'',_0xbe33dd=_0x5bd8ef;if(_0x33b3a7&&_0x45c074[_0x11bac0(0x174)]){let _0x3538b9=_0x45c074[_0x11bac0(0x174)]['split'](',');_0xbe33dd=_0x33b3a7[_0x3538b9[0x0]],_0x3538b9[_0x11bac0(0x16a)]>0x1&&(_0xbe33dd+='('+_0x3538b9[_0x11bac0(0x162)](0x1)['map'](_0xf1c4a0=>_0x33b3a7[_0xf1c4a0])['join'](',')+')');}_0x117e86[_0x11bac0(0x172)]=_0xbe33dd,(_0x11bac0(0x169)==_0x212a01[_0x11bac0(0x16f)][_0x11bac0(0x170)]()?_0x212a01[_0x11bac0(0x165)]['querySelector'](_0x11bac0(0x161)+_0x2ac442[_0x11bac0(0x175)]+'\x22]'):_0x212a01[_0x11bac0(0x165)]['querySelector']('form\x20[name=\x22'+_0x2ac442[_0x11bac0(0x175)]+'\x22]'))[_0x11bac0(0x172)]=_0x5bd8ef,_0x117e86[_0x11bac0(0x158)](new Event(_0x11bac0(0x164),{'bubbles':!0x0})),_0x117e86[_0x11bac0(0x158)](new CustomEvent(_0x11bac0(0x15f),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2ac442[_0x11bac0(0x175)],'operator':_0x407725,'value':_0x5bd8ef}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};function a0_0xe398(){const _0x5a23ff=['value','tMenu','dispField','name','29270cPxgNs','9756720amMmtf','259uEadeU','codeField','dispatchEvent','stopPropagation','target','filter','46PySWSj','12QJMALG','1099KjSXWX','filter-change','options','[name=\x22','splice','26380ISHNBm','change','renderRoot','97704wcqxng','display','select_item','ox-grid-header','length','codes','147351HEjwsX','1331fhodwf','2002662TUYpYv','tagName','toLowerCase','32MwMlrq'];a0_0xe398=function(){return _0x5a23ff;};return a0_0xe398();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x3f6f(_0x2647f7,_0x3ffbf8){const _0x26e45f=a0_0x26e4();return a0_0x3f6f=function(_0x3f6f5b,_0x364723){_0x3f6f5b=_0x3f6f5b-0x1c6;let _0x46e6f7=_0x26e45f[_0x3f6f5b];return _0x46e6f7;},a0_0x3f6f(_0x2647f7,_0x3ffbf8);}(function(_0x1a9977,_0x80297f){const _0x380e0b=a0_0x3f6f,_0x322761=_0x1a9977();while(!![]){try{const _0x24f272=parseInt(_0x380e0b(0x1d9))/0x1*(parseInt(_0x380e0b(0x1e0))/0x2)+-parseInt(_0x380e0b(0x1e1))/0x3+parseInt(_0x380e0b(0x1cb))/0x4+-parseInt(_0x380e0b(0x1d5))/0x5+-parseInt(_0x380e0b(0x1d6))/0x6+-parseInt(_0x380e0b(0x1df))/0x7+parseInt(_0x380e0b(0x1c7))/0x8;if(_0x24f272===_0x80297f)break;else _0x322761['push'](_0x322761['shift']());}catch(_0x190037){_0x322761['push'](_0x322761['shift']());}}}(a0_0x26e4,0x6bfad));import'../popup/meta-object-selector-popup';function a0_0x26e4(){const _0xcab94a=['toLowerCase','13640480CCHHLf','options','dispatchEvent','change','660720ebqtcd','renderRoot','stopPropagation','tagName','join','selectorName','select_item','ox-grid-header','splice','large','1966735AxBSYe','4849152iHuWbD','[name=\x22','split','48myECgQ','querySelector','length','value','map','name','1912274dNozvD','23432qVlNXD','1546806PqcolZ','nameField'];a0_0x26e4=function(){return _0xcab94a;};return a0_0x26e4();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x249a34,_0x359df1,_0x22b867){const _0x3eeb3c=a0_0x3f6f;var _0x4f6813=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x359df1}
|
|
4
|
+
.options=${_0x249a34[_0x3eeb3c(0x1c8)]}
|
|
5
|
+
.confirmCallback=${_0x22b867}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x4f6813,{'backdrop':!0x0,'size':_0x3eeb3c(0x1d4),'title':_0x249a34[_0x3eeb3c(0x1c8)][_0x3eeb3c(0x1d0)]?TermsUtil['tMenu'](_0x249a34['options'][_0x3eeb3c(0x1d0)]):TermsUtil['tTitle'](_0x3eeb3c(0x1d1))});}export const FilterFormMetaObjectSelect=(_0x324c09,_0x48ed50,_0x26b54f)=>{const _0x390c45=a0_0x3f6f,_0x28a911=_0x324c09['options'],{operator:_0x21aecc='eq'}=_0x324c09;let _0x129990=_0x48ed50?_0x48ed50['id']:'',_0x580bf4='';if(_0x48ed50){let _0x5f3615=_0x28a911[_0x390c45(0x1e2)][_0x390c45(0x1d8)](',');_0x580bf4=_0x48ed50[_0x5f3615[0x0]],_0x5f3615[_0x390c45(0x1db)]>0x1&&(_0x580bf4+='('+_0x5f3615['splice'](0x1)[_0x390c45(0x1dd)](_0x367f94=>_0x48ed50[_0x367f94])[_0x390c45(0x1cf)](',')+')');}return'eq'===_0x21aecc?html`
|
|
8
|
+
<input name='${_0x324c09[_0x390c45(0x1de)]}' .value=${_0x129990} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x324c09[_0x390c45(0x1de)]}_disp'
|
|
13
|
+
.value=${_0x580bf4}
|
|
14
|
+
@click=${_0x29086b=>{const _0x41162d=_0x390c45;_0x29086b[_0x41162d(0x1cd)]();const _0xb2e21a=_0x29086b['target'];openMetaObjectSelector(_0x324c09,_0x48ed50,_0x1e25b0=>{const _0x4233e9=_0x41162d;let _0x3abe37=_0x1e25b0?_0x1e25b0['id']:'',_0x500a6e='';if(_0x1e25b0){let _0x4b5136=_0x28a911['nameField'][_0x4233e9(0x1d8)](',');_0x500a6e=_0x1e25b0[_0x4b5136[0x0]],_0x4b5136['length']>0x1&&(_0x500a6e+='('+_0x4b5136[_0x4233e9(0x1d3)](0x1)[_0x4233e9(0x1dd)](_0x11fbc9=>_0x1e25b0[_0x11fbc9])[_0x4233e9(0x1cf)](',')+')');}_0xb2e21a[_0x4233e9(0x1dc)]=_0x500a6e,(_0x4233e9(0x1d2)==_0x26b54f[_0x4233e9(0x1ce)][_0x4233e9(0x1c6)]()?_0x26b54f[_0x4233e9(0x1cc)][_0x4233e9(0x1da)](_0x4233e9(0x1d7)+_0x324c09[_0x4233e9(0x1de)]+'\x22]'):_0x26b54f['renderRoot'][_0x4233e9(0x1da)]('form\x20[name=\x22'+_0x324c09[_0x4233e9(0x1de)]+'\x22]'))[_0x4233e9(0x1dc)]=_0x3abe37,_0xb2e21a[_0x4233e9(0x1c9)](new Event(_0x4233e9(0x1ca),{'bubbles':!0x0})),_0xb2e21a['dispatchEvent'](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x324c09[_0x4233e9(0x1de)],'operator':_0x21aecc,'value':_0x3abe37}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x371f57,_0x5e1565){const _0x50439f=a0_0x2c71,_0x9dcecd=_0x371f57();while(!![]){try{const _0x13b779=-parseInt(_0x50439f(0xe9))/0x1*(parseInt(_0x50439f(0xea))/0x2)+-parseInt(_0x50439f(0xd6))/0x3+parseInt(_0x50439f(0xe7))/0x4+-parseInt(_0x50439f(0xde))/0x5+-parseInt(_0x50439f(0xdb))/0x6+-parseInt(_0x50439f(0xd0))/0x7*(-parseInt(_0x50439f(0xd7))/0x8)+parseInt(_0x50439f(0xcf))/0x9*(parseInt(_0x50439f(0xed))/0xa);if(_0x13b779===_0x5e1565)break;else _0x9dcecd['push'](_0x9dcecd['shift']());}catch(_0x235546){_0x9dcecd['push'](_0x9dcecd['shift']());}}}(a0_0x3930,0x41574));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x4a95b8,_0x54742e,_0x8a2f46){const _0x35173e=a0_0x2c71;var _0x1bf247=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x54742e}
|
|
4
|
+
.options=${_0x4a95b8[_0x35173e(0xe0)][_0x35173e(0xda)]}
|
|
5
|
+
.confirmCallback=${_0x8a2f46}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x1bf247,{'backdrop':!0x0,'size':_0x35173e(0xcd),'title':_0x4a95b8['record'][_0x35173e(0xda)][_0x35173e(0xe5)]?TermsUtil[_0x35173e(0xd8)](_0x4a95b8[_0x35173e(0xe0)][_0x35173e(0xda)]['selectorName']):TermsUtil['tTitle']('select_item')});}export const FilterGristMetaCodeSelect=(_0x3542b6,_0xa7136b,_0x2acf22)=>{const _0xa21a49=a0_0x2c71,_0x829427=_0x3542b6[_0xa21a49(0xd4)],_0x190236=_0x3542b6['record']['options'],_0x2db16c=_0x190236[_0xa21a49(0xcc)]&&_0x190236[_0xa21a49(0xcc)][_0xa21a49(0xdf)]>0x0?_0x190236['codes']:void 0x0,{operator:_0x1ae89f='eq'}=_0x829427;let _0x200a98=_0xa7136b||'',_0x39a910=_0xa7136b||'';if(_0x190236[_0xa21a49(0xeb)]&&_0xa7136b&&_0x2db16c){let _0x4bab61=_0x2db16c[_0xa21a49(0xd4)](_0x8eff58=>_0x8eff58['value']==_0xa7136b);_0x4bab61&&_0x4bab61['length']>0x0&&(_0x39a910=_0x4bab61[0x0][_0xa21a49(0xce)]);}return'eq'===_0x1ae89f?html`
|
|
8
|
+
<input name='${_0x3542b6[_0xa21a49(0xd3)]}' .value=${_0x200a98} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x3542b6[_0xa21a49(0xd3)]}_disp'
|
|
13
|
+
.value=${_0x39a910}
|
|
14
|
+
@click=${_0x3b61c0=>{const _0x40372c=_0xa21a49;_0x3b61c0[_0x40372c(0xe6)]();const _0x5e73e6=_0x3b61c0['target'];openMetaCodeSelector(_0x3542b6,_0xa7136b,_0x347911=>{const _0x270973=_0x40372c;let _0x4e7ad2=_0x347911?_0x347911[_0x190236['codeField']]:'',_0xd3783c=_0x4e7ad2;if(_0x347911&&_0x190236[_0x270973(0xeb)]){let _0x1bb684=_0x190236[_0x270973(0xeb)]['split'](',');_0xd3783c=_0x347911[_0x1bb684[0x0]],_0x1bb684[_0x270973(0xdf)]>0x1&&(_0xd3783c+='('+_0x1bb684[_0x270973(0xdc)](0x1)[_0x270973(0xd1)](_0x41e0b6=>_0x347911[_0x41e0b6])['join'](',')+')');}_0x5e73e6[_0x270973(0xdd)]=_0xd3783c,(_0x270973(0xe4)==_0x2acf22[_0x270973(0xe2)]['toLowerCase']()?_0x2acf22[_0x270973(0xd2)][_0x270973(0xe3)](_0x270973(0xec)+_0x829427['name']+'\x22]'):_0x2acf22[_0x270973(0xd2)][_0x270973(0xe3)](_0x270973(0xd9)+_0x829427[_0x270973(0xd3)]+'\x22]'))['value']=_0x4e7ad2,_0x5e73e6[_0x270973(0xe1)](new Event(_0x270973(0xd5),{'bubbles':!0x0})),_0x5e73e6['dispatchEvent'](new CustomEvent(_0x270973(0xe8),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3542b6[_0x270973(0xd3)],'operator':_0x1ae89f,'value':_0x4e7ad2}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};function a0_0x2c71(_0x3bfd9c,_0x35a605){const _0x39301d=a0_0x3930();return a0_0x2c71=function(_0x2c71af,_0x45a0a0){_0x2c71af=_0x2c71af-0xcc;let _0x4e2797=_0x39301d[_0x2c71af];return _0x4e2797;},a0_0x2c71(_0x3bfd9c,_0x35a605);}function a0_0x3930(){const _0x18cd53=['change','199071bgpWba','280LJMIRr','tMenu','form\x20[name=\x22','options','2090568SeEeqd','splice','value','1410865jFGNVu','length','record','dispatchEvent','tagName','querySelector','ox-grid-header','selectorName','stopPropagation','2121520GGfufL','filter-change','354zigwJg','464emSmkK','dispField','[name=\x22','10wSWBeG','codes','large','display','2482713rqPRjp','48097QKNFcR','map','renderRoot','name','filter'];a0_0x3930=function(){return _0x18cd53;};return a0_0x3930();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x42e0(){const _0x3139be=['splice','select_item','4586580qoceZo','name','8AcKtJJ','filter-change','tagName','map','369eXkDnA','23336TbDgCh','change','options','36676xOmYfR','form\x20[name=\x22','dispatchEvent','selectorName','stopPropagation','record','querySelector','join','11219796qpLDkL','tTitle','990288xDlErs','length','large','nameField','1142401tlxIhz','710MJCQde','value','923475xgQKlj','target','[name=\x22'];a0_0x42e0=function(){return _0x3139be;};return a0_0x42e0();}(function(_0x587320,_0x538e37){const _0x27fd01=a0_0x5879,_0x42fa64=_0x587320();while(!![]){try{const _0xccce90=-parseInt(_0x27fd01(0x144))/0x1+-parseInt(_0x27fd01(0x133))/0x2*(-parseInt(_0x27fd01(0x132))/0x3)+parseInt(_0x27fd01(0x136))/0x4*(-parseInt(_0x27fd01(0x145))/0x5)+parseInt(_0x27fd01(0x140))/0x6+-parseInt(_0x27fd01(0x127))/0x7*(parseInt(_0x27fd01(0x12e))/0x8)+parseInt(_0x27fd01(0x13e))/0x9+parseInt(_0x27fd01(0x12c))/0xa;if(_0xccce90===_0x538e37)break;else _0x42fa64['push'](_0x42fa64['shift']());}catch(_0x338fd8){_0x42fa64['push'](_0x42fa64['shift']());}}}(a0_0x42e0,0xb2066));function a0_0x5879(_0x58473c,_0x1cbd38){const _0x42e04d=a0_0x42e0();return a0_0x5879=function(_0x587936,_0x15dc96){_0x587936=_0x587936-0x126;let _0x5a6b56=_0x42e04d[_0x587936];return _0x5a6b56;},a0_0x5879(_0x58473c,_0x1cbd38);}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x1b106a,_0x125071,_0x3e6477){const _0x37724d=a0_0x5879;var _0x31b4b6=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x125071}
|
|
4
|
+
.options=${_0x1b106a['record'][_0x37724d(0x135)]}
|
|
5
|
+
.confirmCallback=${_0x3e6477}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x31b4b6,{'backdrop':!0x0,'size':_0x37724d(0x142),'title':_0x1b106a[_0x37724d(0x13b)][_0x37724d(0x135)]['selectorName']?TermsUtil['tMenu'](_0x1b106a['record'][_0x37724d(0x135)][_0x37724d(0x139)]):TermsUtil[_0x37724d(0x13f)](_0x37724d(0x12b))});}export const FilterGristMetaObjectSelect=(_0x2f348e,_0x17ed28,_0x4b5c91)=>{const _0x1ccf34=a0_0x5879,_0x1e5a70=_0x2f348e['filter'],{operator:_0x46d61a='eq'}=_0x1e5a70,_0x4c3dad=_0x2f348e[_0x1ccf34(0x13b)][_0x1ccf34(0x135)];let _0x39c670=_0x17ed28?_0x17ed28['id']:'',_0x18fa0f='';if(_0x17ed28){let _0x58e87b=_0x4c3dad['nameField']['split'](',');_0x18fa0f=_0x17ed28[_0x58e87b[0x0]],_0x58e87b[_0x1ccf34(0x141)]>0x1&&(_0x18fa0f+='('+_0x58e87b['splice'](0x1)[_0x1ccf34(0x131)](_0x59c8d7=>_0x17ed28[_0x59c8d7])[_0x1ccf34(0x13d)](',')+')');}return'eq'===_0x46d61a?html`
|
|
8
|
+
<input name='${_0x2f348e['name']}' .value=${_0x39c670} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x2f348e['name']}_disp'
|
|
13
|
+
.value=${_0x18fa0f}
|
|
14
|
+
@click=${_0x58453f=>{const _0x5922a5=_0x1ccf34;_0x58453f[_0x5922a5(0x13a)]();const _0x222503=_0x58453f[_0x5922a5(0x128)];openMetaObjectSelector(_0x2f348e,_0x17ed28,_0x13e2e4=>{const _0x310f98=_0x5922a5;let _0x398ab1=_0x13e2e4?_0x13e2e4['id']:'',_0x278855='';if(_0x13e2e4){let _0x501933=_0x4c3dad[_0x310f98(0x143)]['split'](',');_0x278855=_0x13e2e4[_0x501933[0x0]],_0x501933['length']>0x1&&(_0x278855+='('+_0x501933[_0x310f98(0x12a)](0x1)['map'](_0x11e4d4=>_0x13e2e4[_0x11e4d4])[_0x310f98(0x13d)](',')+')');}_0x222503[_0x310f98(0x126)]=_0x278855,('ox-grid-header'==_0x4b5c91[_0x310f98(0x130)]['toLowerCase']()?_0x4b5c91['renderRoot'][_0x310f98(0x13c)](_0x310f98(0x129)+_0x1e5a70[_0x310f98(0x12d)]+'\x22]'):_0x4b5c91['renderRoot'][_0x310f98(0x13c)](_0x310f98(0x137)+_0x1e5a70[_0x310f98(0x12d)]+'\x22]'))[_0x310f98(0x126)]=_0x398ab1,_0x222503[_0x310f98(0x138)](new Event(_0x310f98(0x134),{'bubbles':!0x0})),_0x222503[_0x310f98(0x138)](new CustomEvent(_0x310f98(0x12f),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2f348e[_0x310f98(0x12d)],'operator':_0x46d61a,'value':_0x398ab1}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
function a0_0xd77d(_0x4d6cac,_0x22dc99){const _0x3fd0c4=a0_0x3fd0();return a0_0xd77d=function(_0xd77d22,_0x32825f){_0xd77d22=_0xd77d22-0x7c;let _0x35715c=_0x3fd0c4[_0xd77d22];return _0x35715c;},a0_0xd77d(_0x4d6cac,_0x22dc99);}const a0_0x132c57=a0_0xd77d;(function(_0x43c232,_0x1f888d){const _0x25dcbe=a0_0xd77d,_0x4031b3=_0x43c232();while(!![]){try{const _0x533fc7=parseInt(_0x25dcbe(0x8d))/0x1*(-parseInt(_0x25dcbe(0x7d))/0x2)+parseInt(_0x25dcbe(0x8e))/0x3*(-parseInt(_0x25dcbe(0x85))/0x4)+parseInt(_0x25dcbe(0x89))/0x5+parseInt(_0x25dcbe(0x9c))/0x6+-parseInt(_0x25dcbe(0x82))/0x7*(-parseInt(_0x25dcbe(0x88))/0x8)+parseInt(_0x25dcbe(0x9d))/0x9*(-parseInt(_0x25dcbe(0x9b))/0xa)+parseInt(_0x25dcbe(0x86))/0xb;if(_0x533fc7===_0x1f888d)break;else _0x4031b3['push'](_0x4031b3['shift']());}catch(_0x1554dc){_0x4031b3['push'](_0x4031b3['shift']());}}}(a0_0x3fd0,0x2b48e));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_0x132c57(0x90)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x132c57(0x8b)](){const _0x23ab98=a0_0x132c57;let _0x10acd5;return this['value']&&(_0x10acd5=_0x23ab98(0x91)==typeof this[_0x23ab98(0x7e)]?JSON['stringify'](this[_0x23ab98(0x7e)],0x0,0x2):this[_0x23ab98(0x7e)],_0x10acd5=_0x10acd5['length']>0x14?_0x10acd5[_0x23ab98(0x97)](0x0,0x14)+_0x23ab98(0x95):_0x10acd5),html`
|
|
2
|
+
${_0x10acd5?html` <span tabindex="0" style="flex:1;">${_0x10acd5}</span> `:html`<span tabindex="0" ></span>`}
|
|
3
|
+
`;}async[a0_0x132c57(0x8c)](){super['firstUpdated']();}[a0_0x132c57(0x83)](_0x425e78){const _0x386063=a0_0x132c57;_0x425e78['stopPropagation'](),this[_0x386063(0x99)]();}[a0_0x132c57(0x87)](_0x176bc8){const _0x314d28=a0_0x132c57;_0x314d28(0x94)==_0x176bc8[_0x314d28(0x9a)]&&(_0x176bc8[_0x314d28(0x7f)](),this[_0x314d28(0x99)]());}[a0_0x132c57(0x99)](){const _0x1fbf44=a0_0x132c57;this[_0x1fbf44(0x98)]&&delete this[_0x1fbf44(0x98)];var _0x1afd85=html`
|
|
4
4
|
<code-input-editor-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x1fbf44(0x7e)]}
|
|
6
|
+
.confirmCallback=${(_0x2b57cd=>{const _0x3fc419=_0x1fbf44;this[_0x3fc419(0x92)](new CustomEvent(_0x3fc419(0x7c),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x2b57cd?'object'==typeof this[_0x3fc419(0x7e)]?JSON[_0x3fc419(0x8f)](_0x2b57cd):_0x2b57cd:null,'record':this[_0x3fc419(0x93)],'column':this['column'],'row':this[_0x3fc419(0x84)]}}));})[_0x1fbf44(0x96)](this)}
|
|
7
7
|
></code-input-editor-popup>
|
|
8
|
-
`;this['popup']=openPopup(
|
|
8
|
+
`;this['popup']=openPopup(_0x1afd85,{'backdrop':!0x0,'size':'large','title':TermsUtil['tTitle'](_0x1fbf44(0x8a))});}}function a0_0x3fd0(){const _0x52c080=['2750vAMmBa','616416cbppCR','8298wdyUvU','field-change','26UfuuVn','value','stopPropagation','define','grist-editor-code-input','2275553DlmCns','_onclick','row','209004lVEjdD','2534455ANVCtJ','_onkeydown','8daqEuw','200750xAWVUZ','code-editor','editorTemplate','firstUpdated','8521fjOnsp','9ZZgwBl','parse','properties','object','dispatchEvent','record','Enter','...','bind','substring','popup','openEditor','key'];a0_0x3fd0=function(){return _0x52c080;};return a0_0x3fd0();}customElements[a0_0x132c57(0x80)](a0_0x132c57(0x81),GristEditorCodeInput);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
function a0_0x47ae(){const _0x5db67f=['24glARpB','filter','options','openSelector','stopPropagation','keys','display','1056692fviNPh','dispatchEvent','grist-editor-meta-code-selector','Enter','_onclick','column','1007239envpAI','row','tMenu','2481675HqFnMH','codes','20499csoTtE','select_item','dispField','length','forEach','field-change','621UpqrMw','firstUpdated','bind','properties','editorTemplate','118eakXJt','448330zRZCSk','define','value','_onkeydown','4275536azCFxX','record','fieldMap','codeField','1529353ulQejU','popup'];a0_0x47ae=function(){return _0x5db67f;};return a0_0x47ae();}const a0_0x552661=a0_0x131d;(function(_0x4ed2c0,_0x524d96){const _0x2672cd=a0_0x131d,_0x4dcbcf=_0x4ed2c0();while(!![]){try{const _0x7ef665=-parseInt(_0x2672cd(0x121))/0x1+parseInt(_0x2672cd(0x131))/0x2*(-parseInt(_0x2672cd(0x126))/0x3)+-parseInt(_0x2672cd(0x11b))/0x4+parseInt(_0x2672cd(0x124))/0x5+-parseInt(_0x2672cd(0x114))/0x6*(parseInt(_0x2672cd(0x112))/0x7)+-parseInt(_0x2672cd(0x10e))/0x8+-parseInt(_0x2672cd(0x12c))/0x9*(-parseInt(_0x2672cd(0x132))/0xa);if(_0x7ef665===_0x524d96)break;else _0x4dcbcf['push'](_0x4dcbcf['shift']());}catch(_0x4cffea){_0x4dcbcf['push'](_0x4dcbcf['shift']());}}}(a0_0x47ae,0x7bc0f));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x131d(_0x2ae41d,_0x308d81){const _0x47ae1c=a0_0x47ae();return a0_0x131d=function(_0x131d78,_0x24255d){_0x131d78=_0x131d78-0x10b;let _0x2b2494=_0x47ae1c[_0x131d78];return _0x2b2494;},a0_0x131d(_0x2ae41d,_0x308d81);}import'../../popup/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x552661(0x12f)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x552661(0x130)](){const _0x5b4efc=a0_0x552661;let _0xadc319='';if(this[_0x5b4efc(0x120)][_0x5b4efc(0x10f)]&&this[_0x5b4efc(0x120)]['record'][_0x5b4efc(0x116)]){if(this[_0x5b4efc(0x120)][_0x5b4efc(0x10f)][_0x5b4efc(0x116)][_0x5b4efc(0x128)]){let _0x57b341=this[_0x5b4efc(0x120)]['record'][_0x5b4efc(0x116)][_0x5b4efc(0x125)]||[];if(this[_0x5b4efc(0x10c)]&&this[_0x5b4efc(0x10c)][_0x5b4efc(0x129)]>0x0){let _0x193efa=_0x57b341[_0x5b4efc(0x115)](_0x1de581=>_0x1de581[_0x5b4efc(0x10c)]===this[_0x5b4efc(0x10c)]);_0xadc319=_0x193efa&&_0x193efa[_0x5b4efc(0x129)]>0x0?_0x193efa[0x0][_0x5b4efc(0x11a)]:'';}}else _0xadc319=this['value'];}else _0xadc319='';return html`
|
|
2
|
+
${_0xadc319?html` <span tabindex="0" style="flex:1">${_0xadc319}</span> `:html`<span tabindex="0"></span>`}
|
|
3
|
+
`;}async[a0_0x552661(0x12d)](){const _0x1915d6=a0_0x552661;super[_0x1915d6(0x12d)]();}[a0_0x552661(0x11f)](_0x42a907){const _0x241ab8=a0_0x552661;_0x42a907[_0x241ab8(0x118)](),this['openSelector']();}[a0_0x552661(0x10d)](_0x30e61e){const _0x299d78=a0_0x552661;_0x299d78(0x11e)==_0x30e61e['key']&&(_0x30e61e[_0x299d78(0x118)](),this['openSelector']());}[a0_0x552661(0x117)](){const _0x25cdd3=a0_0x552661;this['popup']&&delete this[_0x25cdd3(0x113)];var {selectorName:_0xe99b9f=TermsUtil['tTitle'](_0x25cdd3(0x127))}=this[_0x25cdd3(0x120)][_0x25cdd3(0x10f)][_0x25cdd3(0x116)]||{},_0x2be0d6=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x25cdd3(0x10c)]}
|
|
6
|
+
.options=${this['column'][_0x25cdd3(0x10f)]['options']}
|
|
7
|
+
.confirmCallback=${(_0x1e5306=>{const _0x38e6f2=_0x25cdd3;let _0x40810b=this['column'][_0x38e6f2(0x10f)][_0x38e6f2(0x116)][_0x38e6f2(0x111)],_0x190dfa=this[_0x38e6f2(0x120)]['record'][_0x38e6f2(0x116)]['dispField'],_0x5abc5d=this[_0x38e6f2(0x120)]['record'][_0x38e6f2(0x116)][_0x38e6f2(0x110)]||{};if(this[_0x38e6f2(0x120)]['record'][_0x38e6f2(0x116)][_0x38e6f2(0x125)]||(this[_0x38e6f2(0x120)][_0x38e6f2(0x10f)][_0x38e6f2(0x116)][_0x38e6f2(0x125)]=[]),_0x1e5306){let _0x46095e=this[_0x38e6f2(0x120)][_0x38e6f2(0x10f)][_0x38e6f2(0x116)][_0x38e6f2(0x125)][_0x38e6f2(0x115)](_0xedf8f7=>_0xedf8f7[_0x38e6f2(0x10c)]==_0x1e5306[_0x40810b]);if(!_0x46095e||0x0==_0x46095e[_0x38e6f2(0x129)]){let _0x2464e1=_0x1e5306[_0x40810b];if(_0x190dfa){let _0x5e6705=_0x190dfa['split'](',');_0x2464e1=_0x1e5306[_0x5e6705[0x0]],_0x5e6705['length']>0x1&&(_0x2464e1+='('+_0x5e6705['splice'](0x1)['map'](_0x828165=>_0x1e5306[_0x828165])['join'](',')+')');}this['column'][_0x38e6f2(0x10f)][_0x38e6f2(0x116)][_0x38e6f2(0x125)]['push']({'value':_0x1e5306[_0x40810b],'display':_0x2464e1});}}this[_0x38e6f2(0x11c)](new CustomEvent(_0x38e6f2(0x12b),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1e5306?_0x1e5306[_0x40810b]:null,'record':this[_0x38e6f2(0x10f)],'column':this[_0x38e6f2(0x120)],'row':this[_0x38e6f2(0x122)]}})),Object[_0x38e6f2(0x119)](_0x5abc5d)[_0x38e6f2(0x12a)](_0x5bf58d=>{const _0x87e5f3=_0x38e6f2;this[_0x87e5f3(0x11c)](new CustomEvent(_0x87e5f3(0x12b),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x87e5f3(0x10f)][_0x5abc5d[_0x5bf58d]],'after':_0x1e5306?_0x1e5306[_0x5bf58d]:null,'record':this[_0x87e5f3(0x10f)],'column':{'name':_0x5abc5d[_0x5bf58d]},'row':this['row']}}));});})[_0x25cdd3(0x12e)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this[_0x25cdd3(0x113)]=openPopup(_0x2be0d6,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x25cdd3(0x123)](_0xe99b9f)});}}customElements[a0_0x552661(0x10b)](a0_0x552661(0x11d),GristEditorMetaCodeSelector);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
${this[
|
|
3
|
-
`;}async[
|
|
1
|
+
const a0_0x4c8ce6=a0_0x6ad9;(function(_0x315d4a,_0x5ee90a){const _0x1c35ff=a0_0x6ad9,_0x1cc17b=_0x315d4a();while(!![]){try{const _0x359dad=parseInt(_0x1c35ff(0x167))/0x1*(parseInt(_0x1c35ff(0x176))/0x2)+-parseInt(_0x1c35ff(0x170))/0x3+-parseInt(_0x1c35ff(0x175))/0x4+-parseInt(_0x1c35ff(0x182))/0x5+parseInt(_0x1c35ff(0x18c))/0x6*(-parseInt(_0x1c35ff(0x183))/0x7)+-parseInt(_0x1c35ff(0x17e))/0x8*(parseInt(_0x1c35ff(0x16f))/0x9)+parseInt(_0x1c35ff(0x16e))/0xa;if(_0x359dad===_0x5ee90a)break;else _0x1cc17b['push'](_0x1cc17b['shift']());}catch(_0x4c485f){_0x1cc17b['push'](_0x1cc17b['shift']());}}}(a0_0x8107,0x690e9));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x8107(){const _0x2e8b4f=['454166yDkwFO','join','value','key','tMenu','_onkeydown','column','20578450csrFvZ','9waQeUG','113106nIAlWD','record','row','stopPropagation','select_item','2890928FOCNRM','2CkwrxG','grist-editor-meta-object-selector','dispatchEvent','length','forEach','keys','fieldMap','splice','2971424xinEob','Enter','large','options','3849585IWDhKf','1259433yabJHu','firstUpdated','popup','editorTemplate','define','bind','map','_onclick','field-change','6YFvkTA','openSelector'];a0_0x8107=function(){return _0x2e8b4f;};return a0_0x8107();}import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';function a0_0x6ad9(_0x5b1ecf,_0x33bd9e){const _0x8107e8=a0_0x8107();return a0_0x6ad9=function(_0x6ad94e,_0x1716b6){_0x6ad94e=_0x6ad94e-0x166;let _0x3fc01d=_0x8107e8[_0x6ad94e];return _0x3fc01d;},a0_0x6ad9(_0x5b1ecf,_0x33bd9e);}export class GristEditorMetaObjectSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x4c8ce6(0x186)](){const _0x4dca3a=a0_0x4c8ce6;let _0x4c8db5='';if(this['value']&&this[_0x4dca3a(0x16d)][_0x4dca3a(0x171)][_0x4dca3a(0x181)]){let _0x295e95=this['column'][_0x4dca3a(0x171)][_0x4dca3a(0x181)]['nameField']['split'](',');_0x4c8db5=this['value'][_0x295e95[0x0]],_0x295e95[_0x4dca3a(0x179)]>0x1&&(_0x4c8db5+='('+_0x295e95[_0x4dca3a(0x17d)](0x1)[_0x4dca3a(0x189)](_0x30d798=>this[_0x4dca3a(0x169)][_0x30d798])[_0x4dca3a(0x168)](',')+')');}return html`
|
|
2
|
+
${this[_0x4dca3a(0x169)]?html` <span tabindex="0" style="flex:1">${_0x4c8db5}</span> `:html`<span tabindex="0">${_0x4c8db5}</span>`}
|
|
3
|
+
`;}async[a0_0x4c8ce6(0x184)](){super['firstUpdated']();}[a0_0x4c8ce6(0x18a)](_0x2d09d1){const _0x485676=a0_0x4c8ce6;_0x2d09d1[_0x485676(0x173)](),this[_0x485676(0x166)]();}[a0_0x4c8ce6(0x16c)](_0x1e049d){const _0x577fac=a0_0x4c8ce6;_0x577fac(0x17f)==_0x1e049d[_0x577fac(0x16a)]&&(_0x1e049d[_0x577fac(0x173)](),this[_0x577fac(0x166)]());}[a0_0x4c8ce6(0x166)](){const _0x340de5=a0_0x4c8ce6;this[_0x340de5(0x185)]&&delete this[_0x340de5(0x185)];var {selectorName:_0x13f7f3=TermsUtil['tTitle'](_0x340de5(0x174))}=this[_0x340de5(0x16d)]['record']['options']||{},_0x1638c4=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.record=${this[
|
|
8
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x340de5(0x169)]}
|
|
6
|
+
.options=${this['column']['record']['options']}
|
|
7
|
+
.record=${this[_0x340de5(0x171)]}
|
|
8
|
+
.confirmCallback=${(_0x4365a7=>{const _0x354dd9=_0x340de5;let _0xb8bcaa=this[_0x354dd9(0x16d)][_0x354dd9(0x171)]['options'][_0x354dd9(0x17c)]||{};this[_0x354dd9(0x178)](new CustomEvent(_0x354dd9(0x18b),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x354dd9(0x169)],'after':_0x4365a7||null,'record':this[_0x354dd9(0x171)],'column':this[_0x354dd9(0x16d)],'row':this[_0x354dd9(0x172)]}})),Object[_0x354dd9(0x17b)](_0xb8bcaa)[_0x354dd9(0x17a)](_0x5ecb37=>{const _0x455218=_0x354dd9;this[_0x455218(0x178)](new CustomEvent(_0x455218(0x18b),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x455218(0x171)][_0xb8bcaa[_0x5ecb37]],'after':_0x4365a7?_0x4365a7[_0x5ecb37]:null,'record':this[_0x455218(0x171)],'column':{'name':_0xb8bcaa[_0x5ecb37]},'row':this[_0x455218(0x172)]}}));});})[_0x340de5(0x188)](this)}
|
|
9
9
|
></meta-object-selector-popup>
|
|
10
|
-
`;this[
|
|
10
|
+
`;this['popup']=openPopup(_0x1638c4,{'backdrop':!0x0,'size':_0x340de5(0x180),'title':TermsUtil[_0x340de5(0x16b)](_0x13f7f3)});}}customElements[a0_0x4c8ce6(0x187)](a0_0x4c8ce6(0x177),GristEditorMetaObjectSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x16eb(){const _0x2aaffe=['48aBWVeC','substring','104ZXnAJR','textContent','183VGMqIm','object','1645000ZUzjMS','93842ZMptEv','831010pBOCYW','20jxPIfC','15655222izJPWz','target','792206rJYtoT','data-tooltip','length','...','32752LYElpd','9730242aPRFgE','stringify'];a0_0x16eb=function(){return _0x2aaffe;};return a0_0x16eb();}(function(_0x527ec5,_0x4b79ff){const _0x6bb108=a0_0x3872,_0x5a86c1=_0x527ec5();while(!![]){try{const _0x198ecd=parseInt(_0x6bb108(0xb3))/0x1+parseInt(_0x6bb108(0xb9))/0x2+parseInt(_0x6bb108(0xb1))/0x3*(-parseInt(_0x6bb108(0xbd))/0x4)+parseInt(_0x6bb108(0xb5))/0x5*(parseInt(_0x6bb108(0xc0))/0x6)+-parseInt(_0x6bb108(0xb4))/0x7*(parseInt(_0x6bb108(0xc2))/0x8)+parseInt(_0x6bb108(0xbe))/0x9+-parseInt(_0x6bb108(0xb6))/0xa*(parseInt(_0x6bb108(0xb7))/0xb);if(_0x198ecd===_0x4b79ff)break;else _0x5a86c1['push'](_0x5a86c1['shift']());}catch(_0x3cd717){_0x5a86c1['push'](_0x5a86c1['shift']());}}}(a0_0x16eb,0xe377b));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3872(_0xb2d27d,_0x366f68){const _0x16eb51=a0_0x16eb();return a0_0x3872=function(_0x387284,_0xf7ccf2){_0x387284=_0x387284-0xb0;let _0x428520=_0x16eb51[_0x387284];return _0x428520;},a0_0x3872(_0xb2d27d,_0x366f68);}function onmouseover(_0x2e6ed8){const _0x51c6cd=a0_0x3872,_0x10e767=_0x2e6ed8['target'];detectOverflow(_0x10e767)&&_0x10e767['setAttribute']('data-tooltip',_0x10e767[_0x51c6cd(0xb0)]);}function onmouseout(_0x220217){const _0x53fcfd=a0_0x3872;_0x220217[_0x53fcfd(0xb8)]['removeAttribute'](_0x53fcfd(0xba));}export const GristRendererCodeInput=(_0x174113,_0x443a04,_0x2bc7d1,_0x35db3e,_0x439bb9)=>{const _0x57c756=a0_0x3872;let _0x47f3b1='';return _0x174113&&(_0x47f3b1=_0x57c756(0xb2)==typeof _0x174113?JSON[_0x57c756(0xbf)](_0x174113,0x0,0x2):_0x174113,_0x47f3b1=_0x47f3b1[_0x57c756(0xbb)]>0x14?_0x47f3b1[_0x57c756(0xc1)](0x0,0x14)+_0x57c756(0xbc):_0x47f3b1),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x47f3b1}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xc17549,_0x34c624){const _0x1db69e=a0_0x2701,_0x120f42=_0xc17549();while(!![]){try{const _0x51f989=parseInt(_0x1db69e(0x1ad))/0x1+-parseInt(_0x1db69e(0x19d))/0x2+-parseInt(_0x1db69e(0x19b))/0x3*(parseInt(_0x1db69e(0x19f))/0x4)+parseInt(_0x1db69e(0x1a2))/0x5*(-parseInt(_0x1db69e(0x1a1))/0x6)+parseInt(_0x1db69e(0x1a9))/0x7+-parseInt(_0x1db69e(0x1a7))/0x8+parseInt(_0x1db69e(0x1ac))/0x9;if(_0x51f989===_0x34c624)break;else _0x120f42['push'](_0x120f42['shift']());}catch(_0x17f0f0){_0x120f42['push'](_0x120f42['shift']());}}}(a0_0x1b7e,0x87e08));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0xf5d6db){const _0x4a3f5e=a0_0x2701,_0x14386e=_0xf5d6db[_0x4a3f5e(0x1a8)];detectOverflow(_0x14386e)&&_0x14386e[_0x4a3f5e(0x1a6)]('data-tooltip',_0x14386e[_0x4a3f5e(0x1ab)]);}function onmouseout(_0x32c53c){const _0x34f77d=a0_0x2701;_0x32c53c[_0x34f77d(0x1a8)]['removeAttribute'](_0x34f77d(0x1a4));}function a0_0x2701(_0x3f8375,_0x31093b){const _0x1b7e79=a0_0x1b7e();return a0_0x2701=function(_0x2701a3,_0x5eac85){_0x2701a3=_0x2701a3-0x19b;let _0x2c3987=_0x1b7e79[_0x2701a3];return _0x2c3987;},a0_0x2701(_0x3f8375,_0x31093b);}export const GristRendererMetaCodeSelector=(_0x393af3,_0x2db8b0,_0x12a390,_0x2a4f6b,_0x5f06e1)=>{const _0x526f5f=a0_0x2701;let _0x1937ab='';if(_0x2db8b0[_0x526f5f(0x1aa)]&&_0x2db8b0[_0x526f5f(0x1aa)][_0x526f5f(0x1a5)]){if(_0x2db8b0[_0x526f5f(0x1aa)][_0x526f5f(0x1a5)]['dispField']){if(_0x2db8b0[_0x526f5f(0x1aa)][_0x526f5f(0x1a5)]['codes']||(_0x2db8b0['record'][_0x526f5f(0x1a5)][_0x526f5f(0x19c)]=[]),_0x393af3&&_0x393af3['length']>0x0){let _0x555157=_0x2db8b0[_0x526f5f(0x1aa)][_0x526f5f(0x1a5)][_0x526f5f(0x19c)][_0x526f5f(0x19e)](_0x4be2f8=>_0x4be2f8[_0x526f5f(0x1ae)]===_0x393af3);_0x1937ab=_0x555157&&_0x555157[_0x526f5f(0x1a0)]>0x0?_0x555157[0x0][_0x526f5f(0x1a3)]:_0x393af3;}}else _0x1937ab=_0x393af3;}else _0x1937ab='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1937ab}</span>`;};function a0_0x1b7e(){const _0x7bf071=['codes','1949130XvADze','filter','20OjMQuz','length','36cNZIyN','887535klNOQY','display','data-tooltip','options','setAttribute','1043072dPmPGi','target','577395WrwsCZ','record','textContent','22224456KZOlcE','417144yWaFUG','value','145482XQTQdp'];a0_0x1b7e=function(){return _0x7bf071;};return a0_0x1b7e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x2577(){const _0x1d35d5=['55gokpvP','7704CJqjVL','target','removeAttribute','3362988JyPZyP','length','setAttribute','296iPQpwH','split','9PNSMtd','options','record','textContent','data-tooltip','280PJOgYK','44dPfHes','splice','36442zplWgN','285enEWgs','473211EhCcnc','19973759keQfhp','58037bAwFsD','map','1555396EoAaZR'];a0_0x2577=function(){return _0x1d35d5;};return a0_0x2577();}function a0_0x5316(_0x348125,_0x24ff95){const _0x257753=a0_0x2577();return a0_0x5316=function(_0x531666,_0xa5053c){_0x531666=_0x531666-0x7f;let _0x43108f=_0x257753[_0x531666];return _0x43108f;},a0_0x5316(_0x348125,_0x24ff95);}(function(_0x31f9e3,_0x6a70f){const _0x6d17b1=a0_0x5316,_0x4f404e=_0x31f9e3();while(!![]){try{const _0x3ee4a3=parseInt(_0x6d17b1(0x8c))/0x1*(-parseInt(_0x6d17b1(0x85))/0x2)+parseInt(_0x6d17b1(0x95))/0x3*(parseInt(_0x6d17b1(0x8b))/0x4)+parseInt(_0x6d17b1(0x86))/0x5*(-parseInt(_0x6d17b1(0x8d))/0x6)+-parseInt(_0x6d17b1(0x89))/0x7*(parseInt(_0x6d17b1(0x93))/0x8)+parseInt(_0x6d17b1(0x87))/0x9*(-parseInt(_0x6d17b1(0x82))/0xa)+parseInt(_0x6d17b1(0x83))/0xb*(parseInt(_0x6d17b1(0x90))/0xc)+parseInt(_0x6d17b1(0x88))/0xd;if(_0x3ee4a3===_0x6a70f)break;else _0x4f404e['push'](_0x4f404e['shift']());}catch(_0x235c61){_0x4f404e['push'](_0x4f404e['shift']());}}}(a0_0x2577,0xecbc0));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x4ba1a2){const _0x35676d=a0_0x5316,_0x20274f=_0x4ba1a2[_0x35676d(0x8e)];detectOverflow(_0x20274f)&&_0x20274f[_0x35676d(0x92)](_0x35676d(0x81),_0x20274f[_0x35676d(0x80)]);}function onmouseout(_0x37a3a8){const _0x4267ee=a0_0x5316;_0x37a3a8['target'][_0x4267ee(0x8f)](_0x4267ee(0x81));}export const GristRendererMetaObjectSelector=(_0x358e5d,_0x41a4f8,_0x746cb6,_0x1d4951,_0x34a643)=>{const _0x2e3044=a0_0x5316;let _0x1fa1dc='';if(_0x358e5d&&_0x41a4f8[_0x2e3044(0x7f)][_0x2e3044(0x96)]){let _0x1d99bb=_0x41a4f8['record'][_0x2e3044(0x96)]['nameField'][_0x2e3044(0x94)](',');_0x1fa1dc=_0x358e5d[_0x1d99bb[0x0]],_0x1d99bb[_0x2e3044(0x91)]>0x1&&(_0x1fa1dc+='('+_0x1d99bb[_0x2e3044(0x84)](0x1)[_0x2e3044(0x8a)](_0x963940=>_0x358e5d[_0x963940])['join'](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1fa1dc}</span>`;};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a0_0x2036(){var _0x3428ef=['11832bhlFVB','define','tButton','155279wrobye','firstUpdated','changedValue','codeVlaue','value','bind','confirm','confirmCallback','object','596448vuGQdL','clickConfirm','25758FFzqbz','435484rijEiM','info','empty','clickEmpty','clickCancel','ox-input-code','codeEditor','115VEOkML','connectedCallback','cancel','609093axZzfj','445440iZCbpJ','shadowRoot','querySelector','render','stringify'];a0_0x2036=function(){return _0x3428ef;};return a0_0x2036();}var a0_0x1a1352=a0_0x611a;function a0_0x611a(_0x144a67,_0x4c21df){var _0x20361c=a0_0x2036();return a0_0x611a=function(_0x611a81,_0x1d7506){_0x611a81=_0x611a81-0xda;var _0x20928f=_0x20361c[_0x611a81];return _0x20928f;},a0_0x611a(_0x144a67,_0x4c21df);}(function(_0xbd8c8,_0x2db36d){var _0xd8c6f1=a0_0x611a,_0x2f242c=_0xbd8c8();while(!![]){try{var _0x232042=-parseInt(_0xd8c6f1(0xf6))/0x1+-parseInt(_0xd8c6f1(0xf3))/0x2+parseInt(_0xd8c6f1(0xed))/0x3+-parseInt(_0xd8c6f1(0xe0))/0x4+-parseInt(_0xd8c6f1(0xea))/0x5*(-parseInt(_0xd8c6f1(0xe2))/0x6)+parseInt(_0xd8c6f1(0xe3))/0x7+parseInt(_0xd8c6f1(0xee))/0x8;if(_0x232042===_0x2db36d)break;else _0x2f242c['push'](_0x2f242c['shift']());}catch(_0xb53686){_0x2f242c['push'](_0x2f242c['shift']());}}}(a0_0x2036,0x1ab2b));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';export class CodeInputEditorPopup extends LitElement{static ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -19,17 +19,17 @@ var a0_0x3f135a=a0_0x35ef;(function(_0x354aac,_0x4e5523){var _0x310c51=a0_0x35ef
|
|
|
19
19
|
display: flex;
|
|
20
20
|
margin-left: auto;
|
|
21
21
|
}
|
|
22
|
-
`];async['connectedCallback'](){var
|
|
23
|
-
<ox-input-code mode="javascript" value=${this[
|
|
22
|
+
`];async['connectedCallback'](){var _0x17e850=a0_0x611a;_0x17e850(0xdf)==typeof this[_0x17e850(0xdb)]?this[_0x17e850(0xda)]=JSON[_0x17e850(0xf2)](this[_0x17e850(0xdb)],0x0,0x2):this[_0x17e850(0xda)]=this[_0x17e850(0xdb)],await super[_0x17e850(0xeb)]();}async['firstUpdated'](){var _0x588942=a0_0x611a;await super[_0x588942(0xf7)]();}[a0_0x1a1352(0xf1)](){var _0x56886e=a0_0x1a1352;return html`
|
|
23
|
+
<ox-input-code mode="javascript" value=${this['codeVlaue']} 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[_0x56886e(0xf5)](_0x56886e(0xe5))}" style="margin-left:7px;margin-top:7px;"
|
|
26
|
+
@click=${this[_0x56886e(0xe6)][_0x56886e(0xdc)](this)}>
|
|
27
27
|
</mwc-button>
|
|
28
|
-
<mwc-button raised label="${TermsUtil[
|
|
29
|
-
@click=${this[
|
|
28
|
+
<mwc-button raised label="${TermsUtil[_0x56886e(0xf5)](_0x56886e(0xec))}" style="margin-left:7px;margin-top:7px;"
|
|
29
|
+
@click=${this[_0x56886e(0xe7)][_0x56886e(0xdc)](this)}>
|
|
30
30
|
</mwc-button>
|
|
31
|
-
<mwc-button raised label="${TermsUtil[
|
|
32
|
-
@click=${this[
|
|
31
|
+
<mwc-button raised label="${TermsUtil[_0x56886e(0xf5)](_0x56886e(0xdd))}" style="margin-left:7px;margin-top:7px;"
|
|
32
|
+
@click=${this[_0x56886e(0xe1)][_0x56886e(0xdc)](this)}>
|
|
33
33
|
</mwc-button>
|
|
34
34
|
</div>
|
|
35
|
-
`;}get[
|
|
35
|
+
`;}get[a0_0x1a1352(0xe9)](){var _0x2f0e3b=a0_0x1a1352;return this[_0x2f0e3b(0xef)][_0x2f0e3b(0xf0)](_0x2f0e3b(0xe8));}async[a0_0x1a1352(0xe6)](_0x57f774){var _0x34a860=a0_0x1a1352;this['confirmCallback']&&this[_0x34a860(0xde)](null),closePopup(this);}async[a0_0x1a1352(0xe7)](_0x45e89b){closePopup(this);}async[a0_0x1a1352(0xe1)](_0x52e243){var _0x5d4114=a0_0x1a1352;this['codeVlaue']!==this[_0x5d4114(0xe9)][_0x5d4114(0xdb)]?this[_0x5d4114(0xf8)](this[_0x5d4114(0xe9)][_0x5d4114(0xdb)]):MetaApi['showToast'](_0x5d4114(0xe4),TermsUtil['tText']('NOTHING_CHANGED'));}async[a0_0x1a1352(0xf8)](_0x2fb97d){var _0x5014e5=a0_0x1a1352;this['confirmCallback']&&this[_0x5014e5(0xde)](_0x2fb97d),closePopup(this);}}customElements[a0_0x1a1352(0xf4)]('code-input-editor-popup',CodeInputEditorPopup);
|