@things-factory/meta-ui 6.1.28 → 6.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/bootstrap.js +1 -3
- package/client/component/filter/filter-form-meta-code-select.js +10 -10
- package/client/component/filter/filter-form-meta-object-select.js +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +6 -6
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
- package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
- package/client/component/popup/code-input-editor-popup.js +10 -10
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +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 +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +102 -102
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +11 -11
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
package/client/actions/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
(function(_0x375fbf,_0x36c0ad){const _0x37350e=a0_0xc1bd,_0x33a424=_0x375fbf();while(!![]){try{const _0x1056f1=parseInt(_0x37350e(0x97))/0x1*(-parseInt(_0x37350e(0x94))/0x2)+-parseInt(_0x37350e(0xa1))/0x3+parseInt(_0x37350e(0x93))/0x4+-parseInt(_0x37350e(0xac))/0x5*(-parseInt(_0x37350e(0xad))/0x6)+-parseInt(_0x37350e(0xa4))/0x7+-parseInt(_0x37350e(0xa2))/0x8*(-parseInt(_0x37350e(0x9f))/0x9)+parseInt(_0x37350e(0x9c))/0xa;if(_0x1056f1===_0x36c0ad)break;else _0x33a424['push'](_0x33a424['shift']());}catch(_0x200f48){_0x33a424['push'](_0x33a424['shift']());}}}(a0_0x2eb4,0xec421));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x3b244b from'graphql-tag';import{html}from'lit';function a0_0x2eb4(){const _0x4f0e78=['query','portrait','18726620WmHasq','querySelector','active','10647fiCpLB','content','3476061xeimVa','1912xPYNUa','appName','4550504AjwVLc','items','hamburger','landscape','FRONT_END','data','NAVBAR','dispatch','20PtTYrQ','594420OftuDU','HEADERBAR','5748968SoltAm','14ulzTQy','dynamic-menu','rank','173207YPDlxM','filter','get'];a0_0x2eb4=function(){return _0x4f0e78;};return a0_0x2eb4();}import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';function a0_0xc1bd(_0x537a4e,_0xf8ab7d){const _0x2eb490=a0_0x2eb4();return a0_0xc1bd=function(_0xc1bd44,_0x14dc35){_0xc1bd44=_0xc1bd44-0x92;let _0x3cc82b=_0x2eb490[_0xc1bd44];return _0x3cc82b;},a0_0xc1bd(_0x537a4e,_0xf8ab7d);}export const UPDATE_META_UI='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x23dfd9){const _0x29a5a2=a0_0xc1bd;var {hovering:_0x1be968=!!isMobileDevice(),slotTemplate:_0x374321,portraitSlotTemplate:_0xc6a901,landscapeSlotTemplate:_0xbd89ab,position:_0x15fcde=VIEWPART_POSITION[_0x29a5a2(0xaa)]}=_0x23dfd9||{};const {hovering:_0x486302}=(await clientSettingStore[_0x29a5a2(0x99)](_0x29a5a2(0x95)))?.['value']||{};void 0x0!==_0x486302&&(_0x1be968=_0x486302);const _0x5a5220=_0x15fcde==VIEWPART_POSITION[_0x29a5a2(0x92)]?_0x29a5a2(0xa7):_0x29a5a2(0x9b),_0x17df82=(_0x29a5a2(0xa7)==_0x5a5220?_0xbd89ab:_0xc6a901)||_0x374321||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x1be968,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x1be968,'template':html`<dynamic-menu-part .orientation=${_0x5a5220}>${_0x17df82}</dynamic-menu-part>`},'position':_0x15fcde}),_0x1be968&&_0x29a5a2(0x9b)==_0x5a5220?HAMBURGER||(HAMBURGER={'name':_0x29a5a2(0xa6),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0x228e46=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION[_0x29a5a2(0xa8)]},store[_0x29a5a2(0xab)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x29a5a2(0xab)]({'type':REMOVE_APP_TOOL,'name':_0x29a5a2(0xa6)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x152be9){const _0x4f86d1=a0_0xc1bd;var _0x5a70d8=document[_0x4f86d1(0x9d)]('meta[name=\x22application-name\x22]')?.[_0x4f86d1(0xa0)],_0x13bd22=(await client[_0x4f86d1(0x9a)]({'query':a0_0x3b244b`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ const a0_0x587ab5=a0_0x3e22;(function(_0x3557e4,_0x265d30){const _0x1e2732=a0_0x
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x4f86d1(0x9e),'operator':'eq','value':!0x0},{'name':_0x4f86d1(0xa3),'operator':'in','value':['',_0x5a70d8]}],'sortings':[{'name':_0x4f86d1(0x96),'desc':!0x1}]}}))[_0x4f86d1(0xa9)]['liteMenus'][_0x4f86d1(0xa5)];store[_0x4f86d1(0xab)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x13bd22[_0x4f86d1(0x98)](_0x58e6c5=>!_0x58e6c5['appName']||_0x58e6c5[_0x4f86d1(0xa3)]===_0x5a70d8),'template':_0x152be9});}
|
package/client/bootstrap.js
CHANGED
|
@@ -15,7 +15,7 @@ import { registerEditor as gristColumnRegisterEditor,
|
|
|
15
15
|
registerFilterRenderer as gristRegisterFilterRenderer,
|
|
16
16
|
getRenderer as gristGetRenderer,
|
|
17
17
|
getEditor as gristGetEditor,
|
|
18
|
-
getFilterRenderers as gristGetFilterRenderers} from '@operato/data-grist'
|
|
18
|
+
getFilterRenderers as gristGetFilterRenderers } from '@operato/data-grist'
|
|
19
19
|
import { registerFilterRenderer as formRegisterFilterRenderer,
|
|
20
20
|
getFilterRenderers as formGetFilterRenderers } from '@operato/form'
|
|
21
21
|
|
|
@@ -41,9 +41,7 @@ import { FilterFormMetaObjectSelect } from './component/filter/filter-form-meta-
|
|
|
41
41
|
// import '@operato/app/filter-renderer.js'
|
|
42
42
|
// import '@operato/app/filters-form.js'
|
|
43
43
|
|
|
44
|
-
|
|
45
44
|
export default function bootstrap() {
|
|
46
|
-
|
|
47
45
|
import(`./pages/activity/meta-activity-writer-element`)
|
|
48
46
|
import(`./pages/activity/meta-activity-viewer-element`)
|
|
49
47
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4fec00,_0x3a5d85){const _0x2c8831=a0_0x4ed9,_0x2b0355=_0x4fec00();while(!![]){try{const _0x306a15=-parseInt(_0x2c8831(0x107))/0x1+-parseInt(_0x2c8831(0x110))/0x2+parseInt(_0x2c8831(0x101))/0x3*(-parseInt(_0x2c8831(0x111))/0x4)+parseInt(_0x2c8831(0x103))/0x5+parseInt(_0x2c8831(0x10f))/0x6*(parseInt(_0x2c8831(0xfe))/0x7)+-parseInt(_0x2c8831(0xff))/0x8+-parseInt(_0x2c8831(0x10c))/0x9*(-parseInt(_0x2c8831(0x104))/0xa);if(_0x306a15===_0x3a5d85)break;else _0x2b0355['push'](_0x2b0355['shift']());}catch(_0x326833){_0x2b0355['push'](_0x2b0355['shift']());}}}(a0_0x4a9f,0x4de44));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x4ed9(_0x10a16a,_0x101ef1){const _0x4a9f9f=a0_0x4a9f();return a0_0x4ed9=function(_0x4ed94a,_0x5adbb2){_0x4ed94a=_0x4ed94a-0xed;let _0x465ab1=_0x4a9f9f[_0x4ed94a];return _0x465ab1;},a0_0x4ed9(_0x10a16a,_0x101ef1);}function openMetaCodeSelector(_0x5aefb3,_0x386ff8,_0x530063){const _0x562d01=a0_0x4ed9;var _0x327c20=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x386ff8}
|
|
4
|
+
.options=${_0x5aefb3['options']}
|
|
5
|
+
.confirmCallback=${_0x530063}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x327c20,{'backdrop':!0x0,'size':_0x562d01(0x10b),'title':_0x5aefb3[_0x562d01(0xf3)][_0x562d01(0x105)]?TermsUtil[_0x562d01(0x10d)](_0x5aefb3[_0x562d01(0xf3)][_0x562d01(0x105)]):TermsUtil[_0x562d01(0xfb)](_0x562d01(0xf1))});}export const FilterFormMetaCodeSelect=(_0x784793,_0x2617c8,_0x4bc723)=>{const _0xf2d7=a0_0x4ed9,_0x53ef18=_0x784793[_0xf2d7(0xf3)],_0x5336c1=_0x53ef18[_0xf2d7(0xfc)]&&_0x53ef18['codes'][_0xf2d7(0xfa)]>0x0?_0x53ef18['codes']:void 0x0,{operator:_0x49c721='eq'}=_0x784793;let _0x52fe1f=_0x2617c8||'',_0x1182d9=_0x2617c8||'';if(_0x53ef18[_0xf2d7(0x109)]&&_0x2617c8&&_0x5336c1){let _0x3ae46a=_0x5336c1['filter'](_0x2d3eb9=>_0x2d3eb9[_0xf2d7(0xfd)]==_0x2617c8);_0x3ae46a&&_0x3ae46a['length']>0x0&&(_0x1182d9=_0x3ae46a[0x0]['display']);}return'eq'===_0x49c721?html`
|
|
8
|
+
<input name='${_0x784793[_0xf2d7(0xf7)]}' .value=${_0x52fe1f} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x784793[_0xf2d7(0xf7)]}_disp'
|
|
13
|
+
.value=${_0x1182d9}
|
|
14
|
+
@click=${_0x4130dc=>{const _0x16e825=_0xf2d7;_0x4130dc[_0x16e825(0xf0)]();const _0x5a879c=_0x4130dc[_0x16e825(0xf6)];openMetaCodeSelector(_0x784793,_0x2617c8,_0x2d76d8=>{const _0xf28b44=_0x16e825;let _0x320a7e=_0x2d76d8?_0x2d76d8[_0x53ef18[_0xf28b44(0xf9)]]:'',_0x5ae505=_0x320a7e;_0x2d76d8&&_0x53ef18[_0xf28b44(0x109)]&&(_0x5ae505=_0x53ef18['dispField'][_0xf28b44(0x108)](',')[_0xf28b44(0xf4)](_0xb0ce0e=>_0x2d76d8[_0xb0ce0e])[_0xf28b44(0xed)]('-')),_0x5a879c[_0xf28b44(0xfd)]=_0x5ae505,(_0xf28b44(0xf8)==_0x4bc723[_0xf28b44(0x102)][_0xf28b44(0x106)]()?_0x4bc723['renderRoot'][_0xf28b44(0x10e)](_0xf28b44(0xf2)+_0x784793[_0xf28b44(0xf7)]+'\x22]'):_0x4bc723[_0xf28b44(0x100)][_0xf28b44(0x10e)](_0xf28b44(0x10a)+_0x784793[_0xf28b44(0xf7)]+'\x22]'))['value']=_0x320a7e,_0x5a879c['dispatchEvent'](new Event(_0xf28b44(0xee),{'bubbles':!0x0})),_0x5a879c[_0xf28b44(0xf5)](new CustomEvent(_0xf28b44(0xef),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x784793[_0xf28b44(0xf7)],'operator':_0x49c721,'value':_0x320a7e}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};function
|
|
16
|
+
`:html``;};function a0_0x4a9f(){const _0x299d8b=['codeField','length','tTitle','codes','value','3687418fWOIkd','3318568xwXURh','renderRoot','111CIoHJP','tagName','156180gfxypK','21810QUzmuV','selectorName','toLowerCase','530349mcCbxr','split','dispField','form\x20[name=\x22','large','5202swAOyO','tMenu','querySelector','6tSiHZu','294606EVgNlk','44012tUWUaZ','join','change','filter-change','stopPropagation','select_item','[name=\x22','options','map','dispatchEvent','target','name','ox-grid-header'];a0_0x4a9f=function(){return _0x299d8b;};return a0_0x4a9f();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x2b62(_0x3b1528,_0x2a258b){const _0xb86449=a0_0xb864();return a0_0x2b62=function(_0x2b62da,_0x2ea281){_0x2b62da=_0x2b62da-0xa2;let _0x33fdec=_0xb86449[_0x2b62da];return _0x33fdec;},a0_0x2b62(_0x3b1528,_0x2a258b);}(function(_0x5d1bd9,_0x42fbcf){const _0x551ecf=a0_0x2b62,_0x146879=_0x5d1bd9();while(!![]){try{const _0x4cbc7a=parseInt(_0x551ecf(0xb9))/0x1+-parseInt(_0x551ecf(0xaf))/0x2*(-parseInt(_0x551ecf(0xb3))/0x3)+parseInt(_0x551ecf(0xbc))/0x4+parseInt(_0x551ecf(0xac))/0x5*(parseInt(_0x551ecf(0xa8))/0x6)+-parseInt(_0x551ecf(0xb6))/0x7+-parseInt(_0x551ecf(0xa7))/0x8+-parseInt(_0x551ecf(0xa3))/0x9;if(_0x4cbc7a===_0x42fbcf)break;else _0x146879['push'](_0x146879['shift']());}catch(_0x2963e2){_0x146879['push'](_0x146879['shift']());}}}(a0_0xb864,0x64c26));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x225ccd,_0x3e9a9b,_0x3f7fe4){const _0x38add9=a0_0x2b62;var _0x2b0359=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x3e9a9b}
|
|
4
|
+
.options=${_0x225ccd['options']}
|
|
5
|
+
.confirmCallback=${_0x3f7fe4}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x2b0359,{'backdrop':!0x0,'size':_0x38add9(0xae),'title':_0x225ccd['options'][_0x38add9(0xb2)]?TermsUtil['tMenu'](_0x225ccd['options']['selectorName']):TermsUtil[_0x38add9(0xab)](_0x38add9(0xa5))});}function a0_0xb864(){const _0x37b609=['3125848UeFcBB','join','toLowerCase','nameField','9262827BdhYlH','name','select_item','target','5205976ZiaWdz','6eUestt','tagName','value','tTitle','1860645AaowCR','filter-change','large','4uxmgcA','dispatchEvent','change','selectorName','570669mDIrBX','ox-grid-header','renderRoot','206885kazwjA','map','querySelector','588178ZjolVG','[name=\x22','split'];a0_0xb864=function(){return _0x37b609;};return a0_0xb864();}export const FilterFormMetaObjectSelect=(_0x1674f0,_0x4c26f1,_0x344ec4)=>{const _0x6db800=a0_0x2b62,_0x71b93a=_0x1674f0['options'],{operator:_0x299beb='eq'}=_0x1674f0;let _0x5be41=_0x4c26f1?_0x4c26f1['id']:'',_0x121a3b=_0x4c26f1?_0x71b93a[_0x6db800(0xa2)][_0x6db800(0xbb)](',')[_0x6db800(0xb7)](_0x421441=>_0x4c26f1[_0x421441])[_0x6db800(0xbd)]('-'):'';return'eq'===_0x299beb?html`
|
|
8
|
+
<input name='${_0x1674f0[_0x6db800(0xa4)]}' .value=${_0x5be41} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x1674f0['name']}_disp'
|
|
13
|
+
.value=${_0x121a3b}
|
|
14
|
+
@click=${_0x5016b2=>{const _0x1b128a=_0x6db800;_0x5016b2['stopPropagation']();const _0x4e5af0=_0x5016b2[_0x1b128a(0xa6)];openMetaObjectSelector(_0x1674f0,_0x4c26f1,_0x410664=>{const _0x28a1a7=_0x1b128a;let _0x23e784=_0x410664?_0x410664['id']:'',_0x426d3e=_0x410664?_0x71b93a[_0x28a1a7(0xa2)][_0x28a1a7(0xbb)](',')[_0x28a1a7(0xb7)](_0x649cf2=>_0x410664[_0x649cf2])['join']('-'):'';_0x4e5af0['value']=_0x426d3e,(_0x28a1a7(0xb4)==_0x344ec4[_0x28a1a7(0xa9)][_0x28a1a7(0xbe)]()?_0x344ec4[_0x28a1a7(0xb5)]['querySelector'](_0x28a1a7(0xba)+_0x1674f0[_0x28a1a7(0xa4)]+'\x22]'):_0x344ec4[_0x28a1a7(0xb5)][_0x28a1a7(0xb8)]('form\x20[name=\x22'+_0x1674f0[_0x28a1a7(0xa4)]+'\x22]'))[_0x28a1a7(0xaa)]=_0x23e784,_0x4e5af0[_0x28a1a7(0xb0)](new Event(_0x28a1a7(0xb1),{'bubbles':!0x0})),_0x4e5af0[_0x28a1a7(0xb0)](new CustomEvent(_0x28a1a7(0xad),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1674f0['name'],'operator':_0x299beb,'value':_0x23e784}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x107589,_0x3783c6){const _0xaeae62=a0_0x41a8,_0x4bf4c1=_0x107589();while(!![]){try{const _0x3adaaf=-parseInt(_0xaeae62(0x1f9))/0x1*(parseInt(_0xaeae62(0x20f))/0x2)+-parseInt(_0xaeae62(0x20d))/0x3*(-parseInt(_0xaeae62(0x1f6))/0x4)+parseInt(_0xaeae62(0x1f4))/0x5+-parseInt(_0xaeae62(0x208))/0x6+-parseInt(_0xaeae62(0x1ee))/0x7*(-parseInt(_0xaeae62(0x204))/0x8)+-parseInt(_0xaeae62(0x20e))/0x9*(parseInt(_0xaeae62(0x1fc))/0xa)+-parseInt(_0xaeae62(0x1f1))/0xb;if(_0x3adaaf===_0x3783c6)break;else _0x4bf4c1['push'](_0x4bf4c1['shift']());}catch(_0x1e603a){_0x4bf4c1['push'](_0x4bf4c1['shift']());}}}(a0_0x3731,0x3d45b));import'../popup/meta-object-selector-popup';function a0_0x3731(){const _0x2fc653=['1135686xfTGbF','record','ox-grid-header','tMenu','querySelector','358014FopnMo','27oFVUfL','2bKMMlG','length','7pDCQea','toLowerCase','target','6899255TqgbIu','name','codes','1321995dFINti','display','16wEoxFJ','dispField','tagName','130469BeHQJy','split','large','80450thshHx','dispatchEvent','join','form\x20[name=\x22','options','value','selectorName','stopPropagation','3842480FSVWCE','tTitle','renderRoot','filter'];a0_0x3731=function(){return _0x2fc653;};return a0_0x3731();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x299474,_0x502819,_0x41421d){const _0x1607e3=a0_0x41a8;var _0x4b9c01=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x502819}
|
|
4
|
+
.options=${_0x299474[_0x1607e3(0x209)][_0x1607e3(0x200)]}
|
|
5
|
+
.confirmCallback=${_0x41421d}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x4b9c01,{'backdrop':!0x0,'size':_0x1607e3(0x1fb),'title':_0x299474['record'][_0x1607e3(0x200)][_0x1607e3(0x202)]?TermsUtil[_0x1607e3(0x20b)](_0x299474[_0x1607e3(0x209)][_0x1607e3(0x200)]['selectorName']):TermsUtil[_0x1607e3(0x205)]('select_item')});}function a0_0x41a8(_0x3cd855,_0x5f2007){const _0x37311d=a0_0x3731();return a0_0x41a8=function(_0x41a8d3,_0x1933d1){_0x41a8d3=_0x41a8d3-0x1ed;let _0x23662d=_0x37311d[_0x41a8d3];return _0x23662d;},a0_0x41a8(_0x3cd855,_0x5f2007);}export const FilterGristMetaCodeSelect=(_0x34ef0b,_0x16ddcd,_0x3bec62)=>{const _0x3c5646=a0_0x41a8,_0x1569cb=_0x34ef0b[_0x3c5646(0x207)],_0x4112ff=_0x34ef0b[_0x3c5646(0x209)][_0x3c5646(0x200)],_0x37fb92=_0x4112ff[_0x3c5646(0x1f3)]&&_0x4112ff[_0x3c5646(0x1f3)][_0x3c5646(0x1ed)]>0x0?_0x4112ff[_0x3c5646(0x1f3)]:void 0x0,{operator:_0x5d8c65='eq'}=_0x1569cb;let _0x94e6f2=_0x16ddcd||'',_0x4db14a=_0x16ddcd||'';if(_0x4112ff[_0x3c5646(0x1f7)]&&_0x16ddcd&&_0x37fb92){let _0x22842b=_0x37fb92[_0x3c5646(0x207)](_0x5d88fa=>_0x5d88fa['value']==_0x16ddcd);_0x22842b&&_0x22842b[_0x3c5646(0x1ed)]>0x0&&(_0x4db14a=_0x22842b[0x0][_0x3c5646(0x1f5)]);}return'eq'===_0x5d8c65?html`
|
|
8
|
+
<input name='${_0x34ef0b['name']}' .value=${_0x94e6f2} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x34ef0b[_0x3c5646(0x1f2)]}_disp'
|
|
13
|
+
.value=${_0x4db14a}
|
|
14
|
+
@click=${_0x1ef8a4=>{const _0x15451c=_0x3c5646;_0x1ef8a4[_0x15451c(0x203)]();const _0xcf98e7=_0x1ef8a4[_0x15451c(0x1f0)];openMetaCodeSelector(_0x34ef0b,_0x16ddcd,_0x95b4c1=>{const _0x4ad91e=_0x15451c;let _0x37cd14=_0x95b4c1?_0x95b4c1[_0x4112ff['codeField']]:'',_0x34921c=_0x37cd14;_0x95b4c1&&_0x4112ff[_0x4ad91e(0x1f7)]&&(_0x34921c=_0x4112ff['dispField'][_0x4ad91e(0x1fa)](',')['map'](_0x40245e=>_0x95b4c1[_0x40245e])[_0x4ad91e(0x1fe)]('-')),_0xcf98e7[_0x4ad91e(0x201)]=_0x34921c,(_0x4ad91e(0x20a)==_0x3bec62[_0x4ad91e(0x1f8)][_0x4ad91e(0x1ef)]()?_0x3bec62[_0x4ad91e(0x206)][_0x4ad91e(0x20c)]('[name=\x22'+_0x1569cb[_0x4ad91e(0x1f2)]+'\x22]'):_0x3bec62['renderRoot'][_0x4ad91e(0x20c)](_0x4ad91e(0x1ff)+_0x1569cb[_0x4ad91e(0x1f2)]+'\x22]'))[_0x4ad91e(0x201)]=_0x37cd14,_0xcf98e7[_0x4ad91e(0x1fd)](new Event('change',{'bubbles':!0x0})),_0xcf98e7['dispatchEvent'](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x34ef0b['name'],'operator':_0x5d8c65,'value':_0x37cd14}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x54a5(_0x5a5283,_0x3c5404){const _0x39b1fe=a0_0x39b1();return a0_0x54a5=function(_0x54a5cc,_0x1084b5){_0x54a5cc=_0x54a5cc-0x168;let _0x4161fe=_0x39b1fe[_0x54a5cc];return _0x4161fe;},a0_0x54a5(_0x5a5283,_0x3c5404);}(function(_0x4ff4de,_0x567b04){const _0x263a57=a0_0x54a5,_0x458add=_0x4ff4de();while(!![]){try{const _0x2d2bb8=parseInt(_0x263a57(0x186))/0x1+-parseInt(_0x263a57(0x170))/0x2+-parseInt(_0x263a57(0x184))/0x3*(parseInt(_0x263a57(0x177))/0x4)+-parseInt(_0x263a57(0x17a))/0x5+-parseInt(_0x263a57(0x16d))/0x6*(-parseInt(_0x263a57(0x16f))/0x7)+-parseInt(_0x263a57(0x181))/0x8+parseInt(_0x263a57(0x16c))/0x9*(parseInt(_0x263a57(0x176))/0xa);if(_0x2d2bb8===_0x567b04)break;else _0x458add['push'](_0x458add['shift']());}catch(_0x15f9da){_0x458add['push'](_0x458add['shift']());}}}(a0_0x39b1,0x2c405));import'../popup/meta-object-selector-popup';import{html}from'lit-html';function a0_0x39b1(){const _0x2c36a7=['268488XFpMRX','join','tMenu','ox-grid-header','record','[name=\x22','1125840cQpDIV','88HYaOWA','large','stopPropagation','985125mYvUcf','renderRoot','map','select_item','value','nameField','split','569656HsJrDa','dispatchEvent','filter-change','42492WIhtFw','options','284763BjXqdd','name','toLowerCase','form\x20[name=\x22','querySelector','tagName','target','27EEPsYp','818466oEcRmM','selectorName','14pHRPIA'];a0_0x39b1=function(){return _0x2c36a7;};return a0_0x39b1();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x1c6f6f,_0x9a2fbf,_0x201744){const _0x1f7de9=a0_0x54a5;var _0x2de2c8=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x9a2fbf}
|
|
4
|
+
.options=${_0x1c6f6f[_0x1f7de9(0x174)][_0x1f7de9(0x185)]}
|
|
5
|
+
.confirmCallback=${_0x201744}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x2de2c8,{'backdrop':!0x0,'size':_0x1f7de9(0x178),'title':_0x1c6f6f['record'][_0x1f7de9(0x185)][_0x1f7de9(0x16e)]?TermsUtil[_0x1f7de9(0x172)](_0x1c6f6f[_0x1f7de9(0x174)]['options'][_0x1f7de9(0x16e)]):TermsUtil['tTitle'](_0x1f7de9(0x17d))});}export const FilterGristMetaObjectSelect=(_0x4394ee,_0x39196d,_0x17a3b1)=>{const _0x51a1b1=a0_0x54a5,_0x38d002=_0x4394ee['filter'],{operator:_0x57d73a='eq'}=_0x38d002,_0x44a05f=_0x4394ee['record'][_0x51a1b1(0x185)];let _0x18d659=_0x39196d?_0x39196d['id']:'',_0x174ca0=_0x39196d?_0x44a05f[_0x51a1b1(0x17f)]['split'](',')['map'](_0x5c8b6f=>_0x39196d[_0x5c8b6f])[_0x51a1b1(0x171)]('-'):'';return'eq'===_0x57d73a?html`
|
|
8
|
+
<input name='${_0x4394ee['name']}' .value=${_0x18d659} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x4394ee[_0x51a1b1(0x187)]}_disp'
|
|
13
|
+
.value=${_0x174ca0}
|
|
14
|
+
@click=${_0x18d089=>{const _0x5ca8a4=_0x51a1b1;_0x18d089[_0x5ca8a4(0x179)]();const _0x3f4df9=_0x18d089[_0x5ca8a4(0x16b)];openMetaObjectSelector(_0x4394ee,_0x39196d,_0x25ff2a=>{const _0x166a13=_0x5ca8a4;let _0x154b32=_0x25ff2a?_0x25ff2a['id']:'',_0x4a3caa=_0x25ff2a?_0x44a05f[_0x166a13(0x17f)][_0x166a13(0x180)](',')[_0x166a13(0x17c)](_0x3db77c=>_0x25ff2a[_0x3db77c])['join']('-'):'';_0x3f4df9[_0x166a13(0x17e)]=_0x4a3caa,(_0x166a13(0x173)==_0x17a3b1[_0x166a13(0x16a)][_0x166a13(0x188)]()?_0x17a3b1['renderRoot']['querySelector'](_0x166a13(0x175)+_0x38d002[_0x166a13(0x187)]+'\x22]'):_0x17a3b1[_0x166a13(0x17b)][_0x166a13(0x169)](_0x166a13(0x168)+_0x38d002[_0x166a13(0x187)]+'\x22]'))[_0x166a13(0x17e)]=_0x154b32,_0x3f4df9[_0x166a13(0x182)](new Event('change',{'bubbles':!0x0})),_0x3f4df9[_0x166a13(0x182)](new CustomEvent(_0x166a13(0x183),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4394ee[_0x166a13(0x187)],'operator':_0x57d73a,'value':_0x154b32}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async['firstUpdated'](){super[
|
|
1
|
+
const a0_0x556b49=a0_0x3a65;(function(_0x22b0b8,_0x2562bb){const _0xffe38a=a0_0x3a65,_0x349c25=_0x22b0b8();while(!![]){try{const _0x3774ba=-parseInt(_0xffe38a(0x93))/0x1*(parseInt(_0xffe38a(0x9b))/0x2)+parseInt(_0xffe38a(0x86))/0x3*(parseInt(_0xffe38a(0x9a))/0x4)+parseInt(_0xffe38a(0x8a))/0x5*(parseInt(_0xffe38a(0x91))/0x6)+parseInt(_0xffe38a(0x96))/0x7+-parseInt(_0xffe38a(0x88))/0x8*(-parseInt(_0xffe38a(0x95))/0x9)+parseInt(_0xffe38a(0xa3))/0xa+-parseInt(_0xffe38a(0x99))/0xb;if(_0x3774ba===_0x2562bb)break;else _0x349c25['push'](_0x349c25['shift']());}catch(_0x3ce80a){_0x349c25['push'](_0x349c25['shift']());}}}(a0_0x5d8a,0x204f3));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x3a65(_0x857e5d,_0x6a0fbf){const _0x5d8a3f=a0_0x5d8a();return a0_0x3a65=function(_0x3a65d0,_0x1c060f){_0x3a65d0=_0x3a65d0-0x85;let _0x270823=_0x5d8a3f[_0x3a65d0];return _0x270823;},a0_0x3a65(_0x857e5d,_0x6a0fbf);}import{TermsUtil}from'../../../utils/terms-util';function a0_0x5d8a(){const _0x34e9e9=['stopPropagation','object','substring','field-change','Enter','1695440hKtknA','openEditor','grist-editor-code-input','3QfhhYW','value','1144936RuwbKe','popup','85720CMreWZ','define','_onclick','large','firstUpdated','properties','_onkeydown','18bETBIT','dispatchEvent','21755jwfRVl','bind','9sKkSup','1637153raAJbF','length','code-editor','5486580mtXysf','654708Eithnk','12bSVUui','tTitle','stringify'];a0_0x5d8a=function(){return _0x34e9e9;};return a0_0x5d8a();}import'../../popup/code-input-editor-popup';export class GristEditorCodeInput extends OxGristEditor{static get[a0_0x556b49(0x8f)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0x4b8f32=a0_0x556b49;let _0x1e2b72;return this[_0x4b8f32(0x87)]&&(_0x1e2b72='object'==typeof this[_0x4b8f32(0x87)]?JSON[_0x4b8f32(0x9d)](this['value'],0x0,0x2):this['value'],_0x1e2b72=_0x1e2b72[_0x4b8f32(0x97)]>0x14?_0x1e2b72[_0x4b8f32(0xa0)](0x0,0x14)+'...':_0x1e2b72),html`
|
|
2
|
+
${_0x1e2b72?html` <span tabindex="0" style="flex:1;">${_0x1e2b72}</span> `:html`<span tabindex="0" ></span>`}
|
|
3
|
+
`;}async['firstUpdated'](){const _0x44e7d1=a0_0x556b49;super[_0x44e7d1(0x8e)]();}[a0_0x556b49(0x8c)](_0x4b66ff){const _0xe4d9c7=a0_0x556b49;_0x4b66ff['stopPropagation'](),this[_0xe4d9c7(0xa4)]();}[a0_0x556b49(0x90)](_0x4d5997){const _0x5ed1aa=a0_0x556b49;_0x5ed1aa(0xa2)==_0x4d5997['key']&&(_0x4d5997[_0x5ed1aa(0x9e)](),this[_0x5ed1aa(0xa4)]());}[a0_0x556b49(0xa4)](){const _0x31912c=a0_0x556b49;this[_0x31912c(0x89)]&&delete this[_0x31912c(0x89)];var _0xbff823=html`
|
|
4
4
|
<code-input-editor-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x31912c(0x87)]}
|
|
6
|
+
.confirmCallback=${(_0x2e3b57=>{const _0x4b3fc8=_0x31912c;this[_0x4b3fc8(0x92)](new CustomEvent(_0x4b3fc8(0xa1),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4b3fc8(0x87)],'after':_0x2e3b57?_0x4b3fc8(0x9f)==typeof this[_0x4b3fc8(0x87)]?JSON['parse'](_0x2e3b57):_0x2e3b57:null,'record':this['record'],'column':this['column'],'row':this['row']}}));})[_0x31912c(0x94)](this)}
|
|
7
7
|
></code-input-editor-popup>
|
|
8
|
-
`;this[
|
|
8
|
+
`;this['popup']=openPopup(_0xbff823,{'backdrop':!0x0,'size':_0x31912c(0x8d),'title':TermsUtil[_0x31912c(0x9c)](_0x31912c(0x98))});}}customElements[a0_0x556b49(0x8b)](a0_0x556b49(0x85),GristEditorCodeInput);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
const a0_0x2aa901=a0_0x2855;(function(_0x1c725b,_0xad3244){const _0x2d9457=a0_0x2855,_0x2bfba5=_0x1c725b();while(!![]){try{const _0x3512b2=parseInt(_0x2d9457(0x197))/0x1+parseInt(_0x2d9457(0x1a5))/0x2+parseInt(_0x2d9457(0x19f))/0x3+parseInt(_0x2d9457(0x199))/0x4+-parseInt(_0x2d9457(0x19e))/0x5*(parseInt(_0x2d9457(0x1a3))/0x6)+parseInt(_0x2d9457(0x192))/0x7+-parseInt(_0x2d9457(0x18e))/0x8;if(_0x3512b2===_0xad3244)break;else _0x2bfba5['push'](_0x2bfba5['shift']());}catch(_0x98682e){_0x2bfba5['push'](_0x2bfba5['shift']());}}}(a0_0x5eac,0xe64fb));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x2855(_0x4ed607,_0x4f28d4){const _0x5eace7=a0_0x5eac();return a0_0x2855=function(_0x285541,_0x4064a1){_0x285541=_0x285541-0x181;let _0x3c3aea=_0x5eace7[_0x285541];return _0x3c3aea;},a0_0x2855(_0x4ed607,_0x4f28d4);}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';function a0_0x5eac(){const _0x1afa04=['large','1322604BLjijo','Enter','bind','key','codes','2900YqIDGT','4164909GVDIly','options','editorTemplate','codeField','18084TaScVH','openSelector','2651004SpaSUi','popup','dispatchEvent','firstUpdated','record','dispField','define','join','push','_onkeydown','column','value','stopPropagation','tMenu','25145096BIzMRM','map','field-change','_onclick','8216733awbHwP','properties','display','length','select_item','1616337YbWwpe'];a0_0x5eac=function(){return _0x1afa04;};return a0_0x5eac();}export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x2aa901(0x193)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x2aa901(0x1a1)](){const _0x3d1ffd=a0_0x2aa901;let _0x5022b5='';if(this[_0x3d1ffd(0x18a)][_0x3d1ffd(0x184)]&&this[_0x3d1ffd(0x18a)]['record'][_0x3d1ffd(0x1a0)]){if(this['column'][_0x3d1ffd(0x184)][_0x3d1ffd(0x1a0)][_0x3d1ffd(0x185)]){let _0x34934a=this[_0x3d1ffd(0x18a)][_0x3d1ffd(0x184)][_0x3d1ffd(0x1a0)][_0x3d1ffd(0x19d)]||[];if(this[_0x3d1ffd(0x18b)]&&this[_0x3d1ffd(0x18b)][_0x3d1ffd(0x195)]>0x0){let _0x31b7d2=_0x34934a['filter'](_0x53c146=>_0x53c146['value']===this[_0x3d1ffd(0x18b)]);_0x5022b5=_0x31b7d2&&_0x31b7d2['length']>0x0?_0x31b7d2[0x0][_0x3d1ffd(0x194)]:'';}}else _0x5022b5=this[_0x3d1ffd(0x18b)];}else _0x5022b5='';return html`
|
|
2
|
+
${_0x5022b5?html` <span tabindex="0" style="flex:1">${_0x5022b5}</span> `:html`<span tabindex="0"></span>`}
|
|
3
|
+
`;}async['firstUpdated'](){const _0x5f3a4e=a0_0x2aa901;super[_0x5f3a4e(0x183)]();}[a0_0x2aa901(0x191)](_0x4eee5e){const _0x2045c8=a0_0x2aa901;_0x4eee5e[_0x2045c8(0x18c)](),this[_0x2045c8(0x1a4)]();}[a0_0x2aa901(0x189)](_0x2b2f7c){const _0x491318=a0_0x2aa901;_0x491318(0x19a)==_0x2b2f7c[_0x491318(0x19c)]&&(_0x2b2f7c[_0x491318(0x18c)](),this[_0x491318(0x1a4)]());}[a0_0x2aa901(0x1a4)](){const _0x144dfa=a0_0x2aa901;this[_0x144dfa(0x181)]&&delete this[_0x144dfa(0x181)];var {selectorName:_0x27b428=TermsUtil['tTitle'](_0x144dfa(0x196))}=this[_0x144dfa(0x18a)][_0x144dfa(0x184)][_0x144dfa(0x1a0)]||{},_0xb6c7e4=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x144dfa(0x18b)]}
|
|
6
|
+
.options=${this[_0x144dfa(0x18a)]['record'][_0x144dfa(0x1a0)]}
|
|
7
|
+
.confirmCallback=${(_0x3dc722=>{const _0x545e08=_0x144dfa;let _0x2a4bdc=this[_0x545e08(0x18a)][_0x545e08(0x184)][_0x545e08(0x1a0)][_0x545e08(0x1a2)],_0x5074fa=this[_0x545e08(0x18a)][_0x545e08(0x184)][_0x545e08(0x1a0)][_0x545e08(0x185)],_0x16d29d=this[_0x545e08(0x18a)][_0x545e08(0x184)][_0x545e08(0x1a0)]['fieldMap']||{};if(this[_0x545e08(0x18a)][_0x545e08(0x184)][_0x545e08(0x1a0)][_0x545e08(0x19d)]||(this[_0x545e08(0x18a)]['record'][_0x545e08(0x1a0)]['codes']=[]),_0x3dc722){let _0x4c7cf9=this[_0x545e08(0x18a)]['record'][_0x545e08(0x1a0)]['codes']['filter'](_0x40ca51=>_0x40ca51[_0x545e08(0x18b)]==_0x3dc722[_0x2a4bdc]);_0x4c7cf9&&0x0!=_0x4c7cf9[_0x545e08(0x195)]||this[_0x545e08(0x18a)][_0x545e08(0x184)][_0x545e08(0x1a0)][_0x545e08(0x19d)][_0x545e08(0x188)]({'value':_0x3dc722[_0x2a4bdc],'display':_0x5074fa['split'](',')[_0x545e08(0x18f)](_0x4f7989=>_0x3dc722[_0x4f7989])[_0x545e08(0x187)]('-')});}this[_0x545e08(0x182)](new CustomEvent(_0x545e08(0x190),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x3dc722?_0x3dc722[_0x2a4bdc]:null,'record':this['record'],'column':this[_0x545e08(0x18a)],'row':this['row']}})),Object['keys'](_0x16d29d)['forEach'](_0x388f14=>{const _0x5b0eff=_0x545e08;this[_0x5b0eff(0x182)](new CustomEvent(_0x5b0eff(0x190),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x16d29d[_0x388f14]],'after':_0x3dc722?_0x3dc722[_0x388f14]:null,'record':this[_0x5b0eff(0x184)],'column':{'name':_0x16d29d[_0x388f14]},'row':this['row']}}));});})[_0x144dfa(0x19b)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this[_0x144dfa(0x181)]=openPopup(_0xb6c7e4,{'backdrop':!0x0,'size':_0x144dfa(0x198),'title':TermsUtil[_0x144dfa(0x18d)](_0x27b428)});}}customElements[a0_0x2aa901(0x186)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
${this[
|
|
3
|
-
`;}async[
|
|
1
|
+
var a0_0x2eb2f7=a0_0x5603;function a0_0x5603(_0x25cdf5,_0x19cdbd){var _0xeeb8a4=a0_0xeeb8();return a0_0x5603=function(_0x560325,_0xa21ae3){_0x560325=_0x560325-0xcd;var _0x55f654=_0xeeb8a4[_0x560325];return _0x55f654;},a0_0x5603(_0x25cdf5,_0x19cdbd);}(function(_0x156eb8,_0x6518da){var _0x236f3b=a0_0x5603,_0x9c998e=_0x156eb8();while(!![]){try{var _0x4cebfc=parseInt(_0x236f3b(0xde))/0x1+parseInt(_0x236f3b(0xdc))/0x2+parseInt(_0x236f3b(0xef))/0x3*(-parseInt(_0x236f3b(0xd1))/0x4)+-parseInt(_0x236f3b(0xd5))/0x5+-parseInt(_0x236f3b(0xdb))/0x6+parseInt(_0x236f3b(0xf0))/0x7+parseInt(_0x236f3b(0xec))/0x8*(-parseInt(_0x236f3b(0xe3))/0x9);if(_0x4cebfc===_0x6518da)break;else _0x9c998e['push'](_0x9c998e['shift']());}catch(_0xe51d36){_0x9c998e['push'](_0x9c998e['shift']());}}}(a0_0xeeb8,0xd6d26));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){var _0x56cddf=a0_0x5603;let _0x343c4f='';return this[_0x56cddf(0xdf)]&&this[_0x56cddf(0xd9)][_0x56cddf(0xe0)][_0x56cddf(0xd2)]&&(_0x343c4f=this[_0x56cddf(0xd9)]['record'][_0x56cddf(0xd2)][_0x56cddf(0xd0)][_0x56cddf(0xce)](',')[_0x56cddf(0xe5)](_0x52edcd=>this['value'][_0x52edcd])[_0x56cddf(0xe6)]('-')),html`
|
|
2
|
+
${this[_0x56cddf(0xdf)]?html` <span tabindex="0" style="flex:1">${_0x343c4f}</span> `:html`<span tabindex="0">${_0x343c4f}</span>`}
|
|
3
|
+
`;}async['firstUpdated'](){var _0x44db41=a0_0x5603;super[_0x44db41(0xd3)]();}[a0_0x2eb2f7(0xcf)](_0x3ad228){var _0x586740=a0_0x2eb2f7;_0x3ad228[_0x586740(0xd8)](),this[_0x586740(0xcd)]();}['_onkeydown'](_0x2ae15c){var _0x5c90a8=a0_0x2eb2f7;_0x5c90a8(0xd4)==_0x2ae15c[_0x5c90a8(0xdd)]&&(_0x2ae15c['stopPropagation'](),this['openSelector']());}[a0_0x2eb2f7(0xcd)](){var _0x5bd880=a0_0x2eb2f7;this[_0x5bd880(0xe4)]&&delete this[_0x5bd880(0xe4)];var {selectorName:_0x24c935=TermsUtil['tTitle'](_0x5bd880(0xe9))}=this[_0x5bd880(0xd9)]['record'][_0x5bd880(0xd2)]||{},_0x558bff=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x5bd880(0xdf)]}
|
|
6
|
+
.options=${this[_0x5bd880(0xd9)][_0x5bd880(0xe0)][_0x5bd880(0xd2)]}
|
|
7
|
+
.confirmCallback=${(_0x3ace72=>{var _0xd6d2ac=_0x5bd880;let _0x1e5a9b=this[_0xd6d2ac(0xd9)]['record'][_0xd6d2ac(0xd2)][_0xd6d2ac(0xee)]||{};this[_0xd6d2ac(0xd7)](new CustomEvent(_0xd6d2ac(0xed),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x3ace72||null,'record':this[_0xd6d2ac(0xe0)],'column':this['column'],'row':this[_0xd6d2ac(0xe2)]}})),Object[_0xd6d2ac(0xd6)](_0x1e5a9b)[_0xd6d2ac(0xda)](_0x5539b4=>{var _0x29171b=_0xd6d2ac;this[_0x29171b(0xd7)](new CustomEvent(_0x29171b(0xed),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x29171b(0xe0)][_0x1e5a9b[_0x5539b4]],'after':_0x3ace72?_0x3ace72[_0x5539b4]:null,'record':this[_0x29171b(0xe0)],'column':{'name':_0x1e5a9b[_0x5539b4]},'row':this[_0x29171b(0xe2)]}}));});})[_0x5bd880(0xe7)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this[_0x5bd880(0xe4)]=openPopup(_0x558bff,{'backdrop':!0x0,'size':_0x5bd880(0xeb),'title':TermsUtil[_0x5bd880(0xe1)](_0x24c935)});}}customElements[a0_0x2eb2f7(0xea)](a0_0x2eb2f7(0xe8),GristEditorMetaObjectSelector);function a0_0xeeb8(){var _0x252327=['options','firstUpdated','Enter','4544760nhHWbk','keys','dispatchEvent','stopPropagation','column','forEach','7342398UGcflT','3444988NscNlo','key','1028782ZDiNIR','value','record','tMenu','row','9OXYLdL','popup','map','join','bind','grist-editor-meta-object-selector','select_item','define','large','989936tYAMxx','field-change','fieldMap','6nPrOZN','9274545PaXDga','openSelector','split','_onclick','nameField','1879748VAFzXD'];a0_0xeeb8=function(){return _0x252327;};return a0_0xeeb8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3de536,_0x5e6915){const _0x538f1a=a0_0x3810,_0x2e7c27=_0x3de536();while(!![]){try{const _0x4c1974=parseInt(_0x538f1a(0x137))/0x1+parseInt(_0x538f1a(0x13b))/0x2*(-parseInt(_0x538f1a(0x13c))/0x3)+-parseInt(_0x538f1a(0x13e))/0x4*(parseInt(_0x538f1a(0x139))/0x5)+parseInt(_0x538f1a(0x13d))/0x6*(parseInt(_0x538f1a(0x13f))/0x7)+-parseInt(_0x538f1a(0x136))/0x8+parseInt(_0x538f1a(0x141))/0x9*(-parseInt(_0x538f1a(0x140))/0xa)+parseInt(_0x538f1a(0x133))/0xb;if(_0x4c1974===_0x5e6915)break;else _0x2e7c27['push'](_0x2e7c27['shift']());}catch(_0x119f3e){_0x2e7c27['push'](_0x2e7c27['shift']());}}}(a0_0x1f2c,0x7b9fd));import{html}from'lit';function a0_0x1f2c(){const _0x28132f=['84VmJnjL','28iBqUfs','311843dMYXcp','1565030KvtBnd','9kAyalm','data-tooltip','23370589ETMWsI','object','setAttribute','5035904CgmjLZ','176460kRfPDZ','stringify','598165IsnCBr','...','529972TvSrJY','9JXvUGK'];a0_0x1f2c=function(){return _0x28132f;};return a0_0x1f2c();}function a0_0x3810(_0x2e0898,_0x13778b){const _0x1f2cbd=a0_0x1f2c();return a0_0x3810=function(_0x3810eb,_0x2f5498){_0x3810eb=_0x3810eb-0x132;let _0x2f7329=_0x1f2cbd[_0x3810eb];return _0x2f7329;},a0_0x3810(_0x2e0898,_0x13778b);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x385c8f){const _0xf4d49=a0_0x3810,_0x3a5e60=_0x385c8f['target'];detectOverflow(_0x3a5e60)&&_0x3a5e60[_0xf4d49(0x135)](_0xf4d49(0x132),_0x3a5e60['textContent']);}function onmouseout(_0x55bd72){_0x55bd72['target']['removeAttribute']('data-tooltip');}export const GristRendererCodeInput=(_0x264300,_0x22e2e7,_0x5b8842,_0x585e8e,_0x19693b)=>{const _0x3cc0ea=a0_0x3810;let _0x30bb49='';return _0x264300&&(_0x30bb49=_0x3cc0ea(0x134)==typeof _0x264300?JSON[_0x3cc0ea(0x138)](_0x264300,0x0,0x2):_0x264300,_0x30bb49=_0x30bb49['length']>0x14?_0x30bb49['substring'](0x0,0x14)+_0x3cc0ea(0x13a):_0x30bb49),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x30bb49}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x456b(_0x593f0c,_0x5f4562){const _0x460b6a=a0_0x460b();return a0_0x456b=function(_0x456be4,_0x2002bb){_0x456be4=_0x456be4-0xdd;let _0x1c607b=_0x460b6a[_0x456be4];return _0x1c607b;},a0_0x456b(_0x593f0c,_0x5f4562);}(function(_0x2cb376,_0x5f2427){const _0x55b82d=a0_0x456b,_0x561317=_0x2cb376();while(!![]){try{const _0x3e61ec=-parseInt(_0x55b82d(0xee))/0x1+-parseInt(_0x55b82d(0xdf))/0x2*(parseInt(_0x55b82d(0xe0))/0x3)+-parseInt(_0x55b82d(0xed))/0x4*(-parseInt(_0x55b82d(0xf1))/0x5)+parseInt(_0x55b82d(0xe3))/0x6*(parseInt(_0x55b82d(0xf3))/0x7)+parseInt(_0x55b82d(0xe2))/0x8+parseInt(_0x55b82d(0xf0))/0x9+-parseInt(_0x55b82d(0xf4))/0xa*(parseInt(_0x55b82d(0xdd))/0xb);if(_0x3e61ec===_0x5f2427)break;else _0x561317['push'](_0x561317['shift']());}catch(_0x152f9a){_0x561317['push'](_0x561317['shift']());}}}(a0_0x460b,0x321a8));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x7aa753){const _0x33ea9b=a0_0x456b,_0x22edb1=_0x7aa753[_0x33ea9b(0xe9)];detectOverflow(_0x22edb1)&&_0x22edb1[_0x33ea9b(0xec)](_0x33ea9b(0xea),_0x22edb1[_0x33ea9b(0xde)]);}function a0_0x460b(){const _0x2aa5a3=['602187mRzILF','value','1918576MAXntz','6nrXrSL','removeAttribute','record','options','filter','dispField','target','data-tooltip','codes','setAttribute','8RlbTHE','391168NzKger','display','2947374mSesXz','401705uQWxiW','length','2125977aKQjTA','40ByNPbf','645095JOBuve','textContent','2dMREPi'];a0_0x460b=function(){return _0x2aa5a3;};return a0_0x460b();}function onmouseout(_0x5cae93){const _0x3a4306=a0_0x456b;_0x5cae93[_0x3a4306(0xe9)][_0x3a4306(0xe4)](_0x3a4306(0xea));}export const GristRendererMetaCodeSelector=(_0x35567a,_0x3ff0b6,_0xfd5d74,_0x2abe48,_0x461a96)=>{const _0x24843d=a0_0x456b;let _0x2cef3c='';if(_0x3ff0b6[_0x24843d(0xe5)]&&_0x3ff0b6[_0x24843d(0xe5)]['options']){if(_0x3ff0b6['record'][_0x24843d(0xe6)][_0x24843d(0xe8)]){if(_0x3ff0b6['record']['options'][_0x24843d(0xeb)]||(_0x3ff0b6[_0x24843d(0xe5)]['options'][_0x24843d(0xeb)]=[]),_0x35567a&&_0x35567a[_0x24843d(0xf2)]>0x0){let _0x1ef4d6=_0x3ff0b6['record'][_0x24843d(0xe6)][_0x24843d(0xeb)][_0x24843d(0xe7)](_0xcebe3b=>_0xcebe3b[_0x24843d(0xe1)]===_0x35567a);_0x2cef3c=_0x1ef4d6&&_0x1ef4d6[_0x24843d(0xf2)]>0x0?_0x1ef4d6[0x0][_0x24843d(0xef)]:_0x35567a;}}else _0x2cef3c=_0x35567a;}else _0x2cef3c='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2cef3c}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x4afb(){const _0x5a9b7f=['2785392kTVwwb','options','record','6kuwbKF','removeAttribute','5455HxbPNO','2509947JXUEhb','1132QSvPhe','419361QOCuOW','1vVBEeL','split','target','textContent','296198klSedS','setAttribute','1145291LMVSkY','9488530jiwKvM','join','data-tooltip'];a0_0x4afb=function(){return _0x5a9b7f;};return a0_0x4afb();}function a0_0x22b1(_0x3ad427,_0x34aa87){const _0x4afb05=a0_0x4afb();return a0_0x22b1=function(_0x22b120,_0x30c9ef){_0x22b120=_0x22b120-0x1e8;let _0x510c24=_0x4afb05[_0x22b120];return _0x510c24;},a0_0x22b1(_0x3ad427,_0x34aa87);}(function(_0x1b2259,_0x4c533e){const _0x525703=a0_0x22b1,_0x68367=_0x1b2259();while(!![]){try{const _0x4cf987=parseInt(_0x525703(0x1f3))/0x1*(-parseInt(_0x525703(0x1f7))/0x2)+-parseInt(_0x525703(0x1f2))/0x3+parseInt(_0x525703(0x1f1))/0x4*(parseInt(_0x525703(0x1ef))/0x5)+-parseInt(_0x525703(0x1ed))/0x6*(parseInt(_0x525703(0x1f9))/0x7)+-parseInt(_0x525703(0x1ea))/0x8+-parseInt(_0x525703(0x1f0))/0x9+parseInt(_0x525703(0x1fa))/0xa;if(_0x4cf987===_0x4c533e)break;else _0x68367['push'](_0x68367['shift']());}catch(_0x4b5154){_0x68367['push'](_0x68367['shift']());}}}(a0_0x4afb,0x2bb6a));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x32cf3e){const _0x36725d=a0_0x22b1,_0x1e4716=_0x32cf3e[_0x36725d(0x1f5)];detectOverflow(_0x1e4716)&&_0x1e4716[_0x36725d(0x1f8)](_0x36725d(0x1e9),_0x1e4716[_0x36725d(0x1f6)]);}function onmouseout(_0x2fbb59){const _0x14405f=a0_0x22b1;_0x2fbb59[_0x14405f(0x1f5)][_0x14405f(0x1ee)](_0x14405f(0x1e9));}export const GristRendererMetaObjectSelector=(_0x4e8176,_0x31b4a8,_0x44967d,_0x3409b9,_0x32d7ce)=>{const _0x10d55a=a0_0x22b1;let _0x44ee06='';return _0x4e8176&&_0x31b4a8[_0x10d55a(0x1ec)][_0x10d55a(0x1eb)]&&(_0x44ee06=_0x31b4a8[_0x10d55a(0x1ec)][_0x10d55a(0x1eb)]['nameField'][_0x10d55a(0x1f4)](',')['map'](_0x38729b=>_0x4e8176[_0x38729b])[_0x10d55a(0x1e8)]('-')),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x44ee06}</span>`;};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x577403=a0_0x438e;function a0_0x438e(_0x51ad6b,_0x323be1){var _0x20a297=a0_0x20a2();return a0_0x438e=function(_0x438e0e,_0x1c886d){_0x438e0e=_0x438e0e-0x6c;var _0x300f1f=_0x20a297[_0x438e0e];return _0x300f1f;},a0_0x438e(_0x51ad6b,_0x323be1);}(function(_0x48a261,_0x1583cf){var _0x4e0f2d=a0_0x438e,_0x241de1=_0x48a261();while(!![]){try{var _0x5d1ae0=parseInt(_0x4e0f2d(0x78))/0x1+-parseInt(_0x4e0f2d(0x8e))/0x2*(-parseInt(_0x4e0f2d(0x6d))/0x3)+-parseInt(_0x4e0f2d(0x79))/0x4+parseInt(_0x4e0f2d(0x77))/0x5*(-parseInt(_0x4e0f2d(0x88))/0x6)+parseInt(_0x4e0f2d(0x80))/0x7+parseInt(_0x4e0f2d(0x84))/0x8*(-parseInt(_0x4e0f2d(0x70))/0x9)+-parseInt(_0x4e0f2d(0x8a))/0xa;if(_0x5d1ae0===_0x1583cf)break;else _0x241de1['push'](_0x241de1['shift']());}catch(_0x4ad839){_0x241de1['push'](_0x241de1['shift']());}}}(a0_0x20a2,0xd15e3));function a0_0x20a2(){var _0x146f9c=['cancel','1213866JSqazC','styles','1351980wyuRuc','connectedCallback','render','clickConfirm','2924846HIkeJU','bind','define','3cSgLKl','NOTHING_CHANGED','confirmCallback','592461geyJFj','tButton','object','info','clickEmpty','codeVlaue','confirm','5EpnOao','1663158wDknVl','1584968RdRynQ','changedValue','firstUpdated','ox-input-code','codeEditor','clickCancel','shadowRoot','780262aajsRe','showToast','value','stringify','200EnQxnh','empty','querySelector'];a0_0x20a2=function(){return _0x146f9c;};return a0_0x20a2();}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 [a0_0x577403(0x89)]=[CommonGristStyles,ButtonContainerStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -19,17 +19,17 @@ var a0_0x8fd62e=a0_0xa0e5;function a0_0xa0e5(_0x3a1ee7,_0x2f65c3){var _0x31b20b=
|
|
|
19
19
|
display: flex;
|
|
20
20
|
margin-left: auto;
|
|
21
21
|
}
|
|
22
|
-
`];async[
|
|
23
|
-
<ox-input-code mode="javascript" value=${this[
|
|
22
|
+
`];async[a0_0x577403(0x8b)](){var _0x213dde=a0_0x577403;_0x213dde(0x72)==typeof this[_0x213dde(0x82)]?this[_0x213dde(0x75)]=JSON[_0x213dde(0x83)](this[_0x213dde(0x82)],0x0,0x2):this['codeVlaue']=this[_0x213dde(0x82)],await super[_0x213dde(0x8b)]();}async['firstUpdated'](){var _0x63f28a=a0_0x577403;await super[_0x63f28a(0x7b)]();}[a0_0x577403(0x8c)](){var _0x2c3b7a=a0_0x577403;return html`
|
|
23
|
+
<ox-input-code mode="javascript" value=${this[_0x2c3b7a(0x75)]} 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[_0x2c3b7a(0x71)](_0x2c3b7a(0x85))}" style="margin-left:7px;margin-top:7px;"
|
|
26
|
+
@click=${this['clickEmpty'][_0x2c3b7a(0x8f)](this)}>
|
|
27
27
|
</mwc-button>
|
|
28
|
-
<mwc-button raised label="${TermsUtil[
|
|
29
|
-
@click=${this[
|
|
28
|
+
<mwc-button raised label="${TermsUtil['tButton'](_0x2c3b7a(0x87))}" style="margin-left:7px;margin-top:7px;"
|
|
29
|
+
@click=${this[_0x2c3b7a(0x7e)]['bind'](this)}>
|
|
30
30
|
</mwc-button>
|
|
31
|
-
<mwc-button raised label="${TermsUtil['tButton'](
|
|
32
|
-
@click=${this[
|
|
31
|
+
<mwc-button raised label="${TermsUtil['tButton'](_0x2c3b7a(0x76))}" style="margin-left:7px;margin-top:7px;"
|
|
32
|
+
@click=${this[_0x2c3b7a(0x8d)][_0x2c3b7a(0x8f)](this)}>
|
|
33
33
|
</mwc-button>
|
|
34
34
|
</div>
|
|
35
|
-
`;}get[
|
|
35
|
+
`;}get[a0_0x577403(0x7d)](){var _0x166317=a0_0x577403;return this[_0x166317(0x7f)][_0x166317(0x86)](_0x166317(0x7c));}async[a0_0x577403(0x74)](_0x36f3b0){this['confirmCallback']&&this['confirmCallback'](null),closePopup(this);}async[a0_0x577403(0x7e)](_0x17c0e1){closePopup(this);}async[a0_0x577403(0x8d)](_0x17a251){var _0x266d3e=a0_0x577403;this[_0x266d3e(0x75)]!==this[_0x266d3e(0x7d)][_0x266d3e(0x82)]?this['changedValue'](this[_0x266d3e(0x7d)][_0x266d3e(0x82)]):MetaApi[_0x266d3e(0x81)](_0x266d3e(0x73),TermsUtil['tText'](_0x266d3e(0x6e)));}async[a0_0x577403(0x7a)](_0x15a75a){var _0x193f8a=a0_0x577403;this[_0x193f8a(0x6f)]&&this[_0x193f8a(0x6f)](_0x15a75a),closePopup(this);}}customElements[a0_0x577403(0x6c)]('code-input-editor-popup',CodeInputEditorPopup);
|