@things-factory/meta-ui 6.1.72 → 6.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +4 -4
- package/client/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +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 +9 -9
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- package/client/index.js +4 -0
- 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/button-role/config-button-roles.js +69 -0
- 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-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +16 -16
- package/client/pages/menu/export-menu-popup.js +6 -6
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/grist-default-value.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +103 -103
- 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 +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +12 -12
- 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/dynamic-menu/dynamic-menu-query.js +1 -1
- package/server/service/dynamic-menu/dynamic-menu-type.js +1 -1
- package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
- package/translations/en.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
package/client/actions/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
const a0_0x599c95=a0_0x36c2;(function(_0x281790,_0x3513b5){const _0x5d9ec9=a0_0x36c2,_0x4b5a93=_0x281790();while(!![]){try{const _0x5cf28c=parseInt(_0x5d9ec9(0x1ff))/0x1+-parseInt(_0x5d9ec9(0x1fd))/0x2*(parseInt(_0x5d9ec9(0x1fe))/0x3)+parseInt(_0x5d9ec9(0x1f9))/0x4+-parseInt(_0x5d9ec9(0x1e7))/0x5+parseInt(_0x5d9ec9(0x1f0))/0x6*(-parseInt(_0x5d9ec9(0x1f1))/0x7)+parseInt(_0x5d9ec9(0x1e6))/0x8*(-parseInt(_0x5d9ec9(0x1e4))/0x9)+-parseInt(_0x5d9ec9(0x1e8))/0xa*(-parseInt(_0x5d9ec9(0x1fb))/0xb);if(_0x5cf28c===_0x3513b5)break;else _0x4b5a93['push'](_0x4b5a93['shift']());}catch(_0x3d649e){_0x4b5a93['push'](_0x4b5a93['shift']());}}}(a0_0x224c,0x91346));function a0_0x224c(){const _0x337b14=['rank','2872oMMByk','753205ScObdX','8271210mbwvmi','querySelector','meta[name=\x22application-name\x22]','UPDATE_META_UI','landscape','UPDATE_META_MENU_TEMPLATE','data','get','42nwZHmS','33404iSzMPY','filter','dynamic-menu-part','dispatch','content','liteMenus','FRONT_END','appName','2206452hatlDo','hamburger','11TJXOFI','lite-menu-part','4334mvkFTI','99IfGAxM','156911FrJCkg','value','items','NAVBAR','active','query','17181fElyFu'];a0_0x224c=function(){return _0x337b14;};return a0_0x224c();}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x459cf0 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';function a0_0x36c2(_0x51c3ab,_0x5b246d){const _0x224ce9=a0_0x224c();return a0_0x36c2=function(_0x36c256,_0xb018db){_0x36c256=_0x36c256-0x1e2;let _0x3e119f=_0x224ce9[_0x36c256];return _0x3e119f;},a0_0x36c2(_0x51c3ab,_0x5b246d);}export const UPDATE_META_UI=a0_0x599c95(0x1eb);export const UPDATE_META_MENU_TEMPLATE=a0_0x599c95(0x1ed);var HAMBURGER;export async function setupMenuPart(_0x3acc9f){const _0x57762a=a0_0x599c95;var {hovering:_0x3e59cb=!!isMobileDevice(),slotTemplate:_0xc3ba26,portraitSlotTemplate:_0x2772b0,landscapeSlotTemplate:_0x862170,position:_0x26bc5a=VIEWPART_POSITION[_0x57762a(0x202)]}=_0x3acc9f||{};const {hovering:_0x18da13}=(await clientSettingStore[_0x57762a(0x1ef)]('dynamic-menu'))?.[_0x57762a(0x200)]||{};void 0x0!==_0x18da13&&(_0x3e59cb=_0x18da13);const _0x2f4612=_0x26bc5a==VIEWPART_POSITION['HEADERBAR']?_0x57762a(0x1ec):'portrait',_0xa2ed70=(_0x57762a(0x1ec)==_0x2f4612?_0x862170:_0x2772b0)||_0xc3ba26||html``;appendViewpart({'name':_0x57762a(0x1fc),'viewpart':{'show':!_0x3e59cb,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x3e59cb,'template':html`<dynamic-menu-part .orientation=${_0x2f4612}>${_0xa2ed70}</dynamic-menu-part>`},'position':_0x26bc5a}),_0x3e59cb&&'portrait'==_0x2f4612?HAMBURGER||(HAMBURGER={'name':_0x57762a(0x1fa),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0x611242=>toggleOverlay(_0x57762a(0x1f3),{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION[_0x57762a(0x1f7)]},store[_0x57762a(0x1f4)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x57762a(0x1f4)]({'type':REMOVE_APP_TOOL,'name':_0x57762a(0x1fa)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x34bd63){const _0x242d37=a0_0x599c95;var _0x29f669=document[_0x242d37(0x1e9)](_0x242d37(0x1ea))?.[_0x242d37(0x1f5)],_0x4d2285=(await client[_0x242d37(0x1e3)]({'query':a0_0x459cf0`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ const a0_0x199450=a0_0x2b19;function a0_0x2b19(_0xd8d30d,_0x325e4a){const _0x56f
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x242d37(0x1e2),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x29f669]}],'sortings':[{'name':_0x242d37(0x1e5),'desc':!0x1}]}}))[_0x242d37(0x1ee)][_0x242d37(0x1f6)][_0x242d37(0x201)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x4d2285[_0x242d37(0x1f2)](_0x300ee8=>!_0x300ee8[_0x242d37(0x1f8)]||_0x300ee8['appName']===_0x29f669),'template':_0x34bd63});}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x103a9c,_0x46d475){const _0x191615=a0_0x506f,_0x576d0c=_0x103a9c();while(!![]){try{const _0x9d03b7=-parseInt(_0x191615(0x7d))/0x1*(-parseInt(_0x191615(0x9e))/0x2)+parseInt(_0x191615(0x82))/0x3+-parseInt(_0x191615(0x8a))/0x4+-parseInt(_0x191615(0x7e))/0x5*(parseInt(_0x191615(0x89))/0x6)+-parseInt(_0x191615(0x84))/0x7*(parseInt(_0x191615(0x88))/0x8)+parseInt(_0x191615(0x8d))/0x9+parseInt(_0x191615(0x7f))/0xa;if(_0x9d03b7===_0x46d475)break;else _0x576d0c['push'](_0x576d0c['shift']());}catch(_0x535f54){_0x576d0c['push'](_0x576d0c['shift']());}}}(a0_0x8896,0x84975));import'../popup/meta-object-selector-popup';import{html}from'lit-html';function a0_0x506f(_0x2bcc2e,_0x3cc40e){const _0x8896ea=a0_0x8896();return a0_0x506f=function(_0x506f30,_0xabd9be){_0x506f30=_0x506f30-0x7c;let _0x17e5a9=_0x8896ea[_0x506f30];return _0x17e5a9;},a0_0x506f(_0x2bcc2e,_0x3cc40e);}function a0_0x8896(){const _0x27547f=['form\x20[name=\x22','stopPropagation','splice','tagName','querySelector','split','ox-grid-header','codeField','map','dispField','select_item','display','2YdiVhT','filter','140052CaacLM','51000UCnbRA','10541330ekpGMf','length','renderRoot','3103488PqbUTk','large','14sczyVh','toLowerCase','filter-change','tTitle','3550352UPyQEJ','276TQbwWq','3515628dKrHvB','options','tMenu','4950963QysjCm','codes','selectorName','name','value'];a0_0x8896=function(){return _0x27547f;};return a0_0x8896();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x86cb0d,_0x3336a8,_0x523f2d){const _0x14519b=a0_0x506f;var _0x1e182=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x3336a8}
|
|
4
|
+
.options=${_0x86cb0d[_0x14519b(0x8b)]}
|
|
5
|
+
.confirmCallback=${_0x523f2d}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x1e182,{'backdrop':!0x0,'size':_0x14519b(0x83),'title':_0x86cb0d['options'][_0x14519b(0x8f)]?TermsUtil[_0x14519b(0x8c)](_0x86cb0d[_0x14519b(0x8b)][_0x14519b(0x8f)]):TermsUtil[_0x14519b(0x87)](_0x14519b(0x9c))});}export const FilterFormMetaCodeSelect=(_0x71bb25,_0x238316,_0x204107)=>{const _0x3c7627=a0_0x506f,_0x2f36b9=_0x71bb25[_0x3c7627(0x8b)],_0x3dcccf=_0x2f36b9[_0x3c7627(0x8e)]&&_0x2f36b9[_0x3c7627(0x8e)][_0x3c7627(0x80)]>0x0?_0x2f36b9[_0x3c7627(0x8e)]:void 0x0,{operator:_0x38ce26='eq'}=_0x71bb25;let _0x29b164=_0x238316||'',_0x1bbec0=_0x238316||'';if(_0x2f36b9[_0x3c7627(0x9b)]&&_0x238316&&_0x3dcccf){let _0x56b358=_0x3dcccf[_0x3c7627(0x7c)](_0x1746a8=>_0x1746a8[_0x3c7627(0x91)]==_0x238316);_0x56b358&&_0x56b358['length']>0x0&&(_0x1bbec0=_0x56b358[0x0][_0x3c7627(0x9d)]);}return'eq'===_0x38ce26?html`
|
|
8
|
+
<input name='${_0x71bb25['name']}' .value=${_0x29b164} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x71bb25[_0x3c7627(0x90)]}_disp'
|
|
13
|
+
.value=${_0x1bbec0}
|
|
14
|
+
@click=${_0x5355c5=>{const _0x23141e=_0x3c7627;_0x5355c5[_0x23141e(0x93)]();const _0x2ec475=_0x5355c5['target'];openMetaCodeSelector(_0x71bb25,_0x238316,_0x1f487f=>{const _0x33d251=_0x23141e;let _0x128495=_0x1f487f?_0x1f487f[_0x2f36b9[_0x33d251(0x99)]]:'',_0xcebb7a=_0x128495;if(_0x1f487f&&_0x2f36b9[_0x33d251(0x9b)]){let _0x27818c=_0x2f36b9[_0x33d251(0x9b)][_0x33d251(0x97)](',');_0xcebb7a=_0x1f487f[_0x27818c[0x0]],_0x27818c[_0x33d251(0x80)]>0x1&&(_0xcebb7a+='('+_0x27818c[_0x33d251(0x94)](0x1)[_0x33d251(0x9a)](_0x387b19=>_0x1f487f[_0x387b19])['join'](',')+')');}_0x2ec475[_0x33d251(0x91)]=_0xcebb7a,(_0x33d251(0x98)==_0x204107[_0x33d251(0x95)][_0x33d251(0x85)]()?_0x204107[_0x33d251(0x81)][_0x33d251(0x96)]('[name=\x22'+_0x71bb25['name']+'\x22]'):_0x204107[_0x33d251(0x81)]['querySelector'](_0x33d251(0x92)+_0x71bb25['name']+'\x22]'))[_0x33d251(0x91)]=_0x128495,_0x2ec475['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x2ec475['dispatchEvent'](new CustomEvent(_0x33d251(0x86),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x71bb25[_0x33d251(0x90)],'operator':_0x38ce26,'value':_0x128495}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x32a86b,_0x3132cc){const _0x201cb8=a0_0x2c37,_0x4dda5a=_0x32a86b();while(!![]){try{const _0x1a2535=parseInt(_0x201cb8(0x10a))/0x1*(parseInt(_0x201cb8(0x113))/0x2)+-parseInt(_0x201cb8(0x10e))/0x3+-parseInt(_0x201cb8(0x118))/0x4*(-parseInt(_0x201cb8(0xfb))/0x5)+-parseInt(_0x201cb8(0x116))/0x6+parseInt(_0x201cb8(0x10f))/0x7*(-parseInt(_0x201cb8(0x119))/0x8)+parseInt(_0x201cb8(0x11f))/0x9*(-parseInt(_0x201cb8(0x10b))/0xa)+-parseInt(_0x201cb8(0xfa))/0xb*(-parseInt(_0x201cb8(0x11e))/0xc);if(_0x1a2535===_0x3132cc)break;else _0x4dda5a['push'](_0x4dda5a['shift']());}catch(_0x3c3a20){_0x4dda5a['push'](_0x4dda5a['shift']());}}}(a0_0x33e9,0x81e2c));import'../popup/meta-object-selector-popup';function a0_0x2c37(_0x31be2c,_0x4374f5){const _0x33e9bc=a0_0x33e9();return a0_0x2c37=function(_0x2c3701,_0x3f3bc8){_0x2c3701=_0x2c3701-0xfa;let _0x2a7e14=_0x33e9bc[_0x2c3701];return _0x2a7e14;},a0_0x2c37(_0x31be2c,_0x4374f5);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x42a87c,_0x23dbea,_0x367a6e){const _0x44e088=a0_0x2c37;var _0x33cf1c=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x23dbea}
|
|
4
|
+
.options=${_0x42a87c[_0x44e088(0x109)]}
|
|
5
|
+
.confirmCallback=${_0x367a6e}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x33cf1c,{'backdrop':!0x0,'size':_0x44e088(0x110),'title':_0x42a87c['options']['selectorName']?TermsUtil[_0x44e088(0x10c)](_0x42a87c[_0x44e088(0x109)][_0x44e088(0xff)]):TermsUtil[_0x44e088(0x11d)](_0x44e088(0x105))});}export const FilterFormMetaObjectSelect=(_0x3206ec,_0x6a25e,_0xd2dc5)=>{const _0x28341e=a0_0x2c37,_0x34cfa4=_0x3206ec['options'],{operator:_0x57532b='eq'}=_0x3206ec;let _0x346333=_0x6a25e?_0x6a25e['id']:'',_0x15b070='';if(_0x6a25e){let _0x4cd7ce=_0x34cfa4['nameField'][_0x28341e(0x117)](',');_0x15b070=_0x6a25e[_0x4cd7ce[0x0]],_0x4cd7ce[_0x28341e(0x111)]>0x1&&(_0x15b070+='('+_0x4cd7ce[_0x28341e(0x102)](0x1)[_0x28341e(0xfe)](_0x571582=>_0x6a25e[_0x571582])[_0x28341e(0x101)](',')+')');}return'eq'===_0x57532b?html`
|
|
8
|
+
<input name='${_0x3206ec['name']}' .value=${_0x346333} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x3206ec[_0x28341e(0x104)]}_disp'
|
|
13
|
+
.value=${_0x15b070}
|
|
14
|
+
@click=${_0x2aba32=>{const _0x637072=_0x28341e;_0x2aba32[_0x637072(0x11a)]();const _0x5c91c1=_0x2aba32[_0x637072(0x107)];openMetaObjectSelector(_0x3206ec,_0x6a25e,_0x52bff2=>{const _0x137807=_0x637072;let _0x934d11=_0x52bff2?_0x52bff2['id']:'',_0x455a04='';if(_0x52bff2){let _0xaa5351=_0x34cfa4[_0x137807(0x103)][_0x137807(0x117)](',');_0x455a04=_0x52bff2[_0xaa5351[0x0]],_0xaa5351[_0x137807(0x111)]>0x1&&(_0x455a04+='('+_0xaa5351[_0x137807(0x102)](0x1)['map'](_0x1c84f6=>_0x52bff2[_0x1c84f6])[_0x137807(0x101)](',')+')');}_0x5c91c1[_0x137807(0x11b)]=_0x455a04,(_0x137807(0x108)==_0xd2dc5[_0x137807(0x100)][_0x137807(0x10d)]()?_0xd2dc5[_0x137807(0x112)][_0x137807(0xfd)](_0x137807(0xfc)+_0x3206ec[_0x137807(0x104)]+'\x22]'):_0xd2dc5['renderRoot']['querySelector'](_0x137807(0x11c)+_0x3206ec['name']+'\x22]'))[_0x137807(0x11b)]=_0x934d11,_0x5c91c1[_0x137807(0x106)](new Event(_0x137807(0x114),{'bubbles':!0x0})),_0x5c91c1[_0x137807(0x106)](new CustomEvent(_0x137807(0x115),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3206ec[_0x137807(0x104)],'operator':_0x57532b,'value':_0x934d11}}));});}}
|
|
15
15
|
/>
|
|
16
|
-
`:html``;};
|
|
16
|
+
`:html``;};function a0_0x33e9(){const _0x227749=['options','545BxuQrl','3549110WfcQJG','tMenu','toLowerCase','1878885Dlbozy','554624hclJbs','large','length','renderRoot','874VqSrmp','change','filter-change','1600338pXpBPR','split','4saUSXi','80chyAHf','stopPropagation','value','form\x20[name=\x22','tTitle','470280hTaYdq','18xNGNvC','473kaktEe','5019185lWrRNf','[name=\x22','querySelector','map','selectorName','tagName','join','splice','nameField','name','select_item','dispatchEvent','target','ox-grid-header'];a0_0x33e9=function(){return _0x227749;};return a0_0x33e9();}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x21eb4c,_0x5a2962){const _0x1cad29=a0_0x48de,_0xf9014d=_0x21eb4c();while(!![]){try{const _0x2b68b5=-parseInt(_0x1cad29(0x1a7))/0x1*(parseInt(_0x1cad29(0x1af))/0x2)+-parseInt(_0x1cad29(0x197))/0x3+-parseInt(_0x1cad29(0x1a3))/0x4+parseInt(_0x1cad29(0x1a1))/0x5*(parseInt(_0x1cad29(0x1a8))/0x6)+parseInt(_0x1cad29(0x1b0))/0x7*(parseInt(_0x1cad29(0x1b4))/0x8)+-parseInt(_0x1cad29(0x1b5))/0x9*(parseInt(_0x1cad29(0x19a))/0xa)+-parseInt(_0x1cad29(0x1a5))/0xb*(-parseInt(_0x1cad29(0x19c))/0xc);if(_0x2b68b5===_0x5a2962)break;else _0xf9014d['push'](_0xf9014d['shift']());}catch(_0x375f9e){_0xf9014d['push'](_0xf9014d['shift']());}}}(a0_0x3240,0x8928d));import'../popup/meta-object-selector-popup';import{html}from'lit-html';function a0_0x3240(){const _0x397a4f=['154bOZlyl','ox-grid-header','record','map','221936BMcSWS','9udFJvc','options','tMenu','toLowerCase','renderRoot','codeField','tagName','large','91335yhpkqa','value','name','5742140zSxDMj','dispField','12fRZNQk','codes','form\x20[name=\x22','filter-change','selectorName','15eoTkFC','querySelector','3862604hfZlEN','change','9874381FTxtpZ','split','87903iiqOZb','1775658dPkQxM','length','target','select_item','display','dispatchEvent','filter','6ClWwHq'];a0_0x3240=function(){return _0x397a4f;};return a0_0x3240();}function a0_0x48de(_0x71382e,_0x27c56a){const _0x32403f=a0_0x3240();return a0_0x48de=function(_0x48de5b,_0x15952a){_0x48de5b=_0x48de5b-0x195;let _0x30c8e1=_0x32403f[_0x48de5b];return _0x30c8e1;},a0_0x48de(_0x71382e,_0x27c56a);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x54253f,_0x2ec9fa,_0x18e8a1){const _0x40cfa5=a0_0x48de;var _0x788b86=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x2ec9fa}
|
|
4
|
+
.options=${_0x54253f[_0x40cfa5(0x1b2)][_0x40cfa5(0x1b6)]}
|
|
5
|
+
.confirmCallback=${_0x18e8a1}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x788b86,{'backdrop':!0x0,'size':_0x40cfa5(0x196),'title':_0x54253f[_0x40cfa5(0x1b2)][_0x40cfa5(0x1b6)][_0x40cfa5(0x1a0)]?TermsUtil[_0x40cfa5(0x1b7)](_0x54253f['record']['options'][_0x40cfa5(0x1a0)]):TermsUtil['tTitle'](_0x40cfa5(0x1ab))});}export const FilterGristMetaCodeSelect=(_0x223994,_0xb02ddc,_0x3cda55)=>{const _0x516e60=a0_0x48de,_0x19611b=_0x223994['filter'],_0x26dc43=_0x223994['record']['options'],_0x54e6a0=_0x26dc43[_0x516e60(0x19d)]&&_0x26dc43[_0x516e60(0x19d)][_0x516e60(0x1a9)]>0x0?_0x26dc43['codes']:void 0x0,{operator:_0x3c673a='eq'}=_0x19611b;let _0x5b0db7=_0xb02ddc||'',_0x2f8ba4=_0xb02ddc||'';if(_0x26dc43[_0x516e60(0x19b)]&&_0xb02ddc&&_0x54e6a0){let _0x354684=_0x54e6a0[_0x516e60(0x1ae)](_0xa1634c=>_0xa1634c[_0x516e60(0x198)]==_0xb02ddc);_0x354684&&_0x354684['length']>0x0&&(_0x2f8ba4=_0x354684[0x0][_0x516e60(0x1ac)]);}return'eq'===_0x3c673a?html`
|
|
8
|
+
<input name='${_0x223994[_0x516e60(0x199)]}' .value=${_0x5b0db7} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x223994['name']}_disp'
|
|
13
|
+
.value=${_0x2f8ba4}
|
|
14
|
+
@click=${_0x505df6=>{const _0x278204=_0x516e60;_0x505df6['stopPropagation']();const _0x35520f=_0x505df6[_0x278204(0x1aa)];openMetaCodeSelector(_0x223994,_0xb02ddc,_0x205d54=>{const _0x5edfa9=_0x278204;let _0x1859d7=_0x205d54?_0x205d54[_0x26dc43[_0x5edfa9(0x1ba)]]:'',_0x369b55=_0x1859d7;if(_0x205d54&&_0x26dc43[_0x5edfa9(0x19b)]){let _0x352e0c=_0x26dc43['dispField'][_0x5edfa9(0x1a6)](',');_0x369b55=_0x205d54[_0x352e0c[0x0]],_0x352e0c[_0x5edfa9(0x1a9)]>0x1&&(_0x369b55+='('+_0x352e0c['splice'](0x1)[_0x5edfa9(0x1b3)](_0x5a65bf=>_0x205d54[_0x5a65bf])['join'](',')+')');}_0x35520f[_0x5edfa9(0x198)]=_0x369b55,(_0x5edfa9(0x1b1)==_0x3cda55[_0x5edfa9(0x195)][_0x5edfa9(0x1b8)]()?_0x3cda55[_0x5edfa9(0x1b9)][_0x5edfa9(0x1a2)]('[name=\x22'+_0x19611b[_0x5edfa9(0x199)]+'\x22]'):_0x3cda55['renderRoot'][_0x5edfa9(0x1a2)](_0x5edfa9(0x19e)+_0x19611b[_0x5edfa9(0x199)]+'\x22]'))[_0x5edfa9(0x198)]=_0x1859d7,_0x35520f[_0x5edfa9(0x1ad)](new Event(_0x5edfa9(0x1a4),{'bubbles':!0x0})),_0x35520f[_0x5edfa9(0x1ad)](new CustomEvent(_0x5edfa9(0x19f),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x223994[_0x5edfa9(0x199)],'operator':_0x3c673a,'value':_0x1859d7}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x493843,_0x12d08f){const _0x1966a3=a0_0xaee7,_0x38e43b=_0x493843();while(!![]){try{const _0x16c41b=-parseInt(_0x1966a3(0xd6))/0x1*(parseInt(_0x1966a3(0xc4))/0x2)+parseInt(_0x1966a3(0xca))/0x3+parseInt(_0x1966a3(0xcd))/0x4+parseInt(_0x1966a3(0xc5))/0x5*(parseInt(_0x1966a3(0xd4))/0x6)+-parseInt(_0x1966a3(0xe2))/0x7+parseInt(_0x1966a3(0xc7))/0x8*(-parseInt(_0x1966a3(0xc9))/0x9)+parseInt(_0x1966a3(0xd8))/0xa;if(_0x16c41b===_0x12d08f)break;else _0x38e43b['push'](_0x38e43b['shift']());}catch(_0x4a1412){_0x38e43b['push'](_0x38e43b['shift']());}}}(a0_0x4afd,0x5f6bb));function a0_0xaee7(_0x3f46a9,_0x18bd07){const _0x4afd0c=a0_0x4afd();return a0_0xaee7=function(_0xaee784,_0x7dbb70){_0xaee784=_0xaee784-0xc3;let _0x28ae3c=_0x4afd0c[_0xaee784];return _0x28ae3c;},a0_0xaee7(_0x3f46a9,_0x18bd07);}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x4afd(){const _0x5bb9b6=['tagName','large','2561748KwOWtM','renderRoot','split','options','filter','selectorName','splice','143742JWxPdq','value','4249dgvLxL','filter-change','2223180fqLRLl','select_item','toLowerCase','[name=\x22','target','record','stopPropagation','name','join','dispatchEvent','5407402KsoCZh','querySelector','length','10qGacuK','135hEesew','change','403552ZuzjFm','nameField','135JlmeLI','1294920CHzPAX'];a0_0x4afd=function(){return _0x5bb9b6;};return a0_0x4afd();}function openMetaObjectSelector(_0xa1610d,_0x4807ba,_0x510694){const _0x3d5aec=a0_0xaee7;var _0x258daf=html`
|
|
2
2
|
<meta-object-selector-popup
|
|
3
|
-
.value=${
|
|
4
|
-
.options=${
|
|
5
|
-
.confirmCallback=${
|
|
3
|
+
.value=${_0x4807ba}
|
|
4
|
+
.options=${_0xa1610d[_0x3d5aec(0xdd)]['options']}
|
|
5
|
+
.confirmCallback=${_0x510694}
|
|
6
6
|
></meta-object-selector-popup>
|
|
7
|
-
`;openPopup(
|
|
8
|
-
<input name='${
|
|
7
|
+
`;openPopup(_0x258daf,{'backdrop':!0x0,'size':_0x3d5aec(0xcc),'title':_0xa1610d[_0x3d5aec(0xdd)][_0x3d5aec(0xd0)][_0x3d5aec(0xd2)]?TermsUtil['tMenu'](_0xa1610d['record'][_0x3d5aec(0xd0)][_0x3d5aec(0xd2)]):TermsUtil['tTitle'](_0x3d5aec(0xd9))});}export const FilterGristMetaObjectSelect=(_0x1f9320,_0x12961f,_0x3ffc07)=>{const _0x4ed125=a0_0xaee7,_0x572e0d=_0x1f9320[_0x4ed125(0xd1)],{operator:_0x5e55a5='eq'}=_0x572e0d,_0x4e120c=_0x1f9320[_0x4ed125(0xdd)]['options'];let _0x5bf242=_0x12961f?_0x12961f['id']:'',_0x159eff='';if(_0x12961f){let _0x4738bd=_0x4e120c[_0x4ed125(0xc8)][_0x4ed125(0xcf)](',');_0x159eff=_0x12961f[_0x4738bd[0x0]],_0x4738bd[_0x4ed125(0xc3)]>0x1&&(_0x159eff+='('+_0x4738bd['splice'](0x1)['map'](_0x2a63fa=>_0x12961f[_0x2a63fa])[_0x4ed125(0xe0)](',')+')');}return'eq'===_0x5e55a5?html`
|
|
8
|
+
<input name='${_0x1f9320[_0x4ed125(0xdf)]}' .value=${_0x5bf242} type="text" hidden></input>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
readonly
|
|
12
|
-
name='${
|
|
13
|
-
.value=${
|
|
14
|
-
@click=${
|
|
12
|
+
name='${_0x1f9320[_0x4ed125(0xdf)]}_disp'
|
|
13
|
+
.value=${_0x159eff}
|
|
14
|
+
@click=${_0x2bc5bd=>{const _0x5995bb=_0x4ed125;_0x2bc5bd[_0x5995bb(0xde)]();const _0x2f1c33=_0x2bc5bd[_0x5995bb(0xdc)];openMetaObjectSelector(_0x1f9320,_0x12961f,_0x331b81=>{const _0x4a874f=_0x5995bb;let _0x4a7b33=_0x331b81?_0x331b81['id']:'',_0x9249fc='';if(_0x331b81){let _0x4afd1c=_0x4e120c['nameField'][_0x4a874f(0xcf)](',');_0x9249fc=_0x331b81[_0x4afd1c[0x0]],_0x4afd1c[_0x4a874f(0xc3)]>0x1&&(_0x9249fc+='('+_0x4afd1c[_0x4a874f(0xd3)](0x1)['map'](_0x45e8bb=>_0x331b81[_0x45e8bb])[_0x4a874f(0xe0)](',')+')');}_0x2f1c33[_0x4a874f(0xd5)]=_0x9249fc,('ox-grid-header'==_0x3ffc07[_0x4a874f(0xcb)][_0x4a874f(0xda)]()?_0x3ffc07[_0x4a874f(0xce)][_0x4a874f(0xe3)](_0x4a874f(0xdb)+_0x572e0d[_0x4a874f(0xdf)]+'\x22]'):_0x3ffc07[_0x4a874f(0xce)][_0x4a874f(0xe3)]('form\x20[name=\x22'+_0x572e0d[_0x4a874f(0xdf)]+'\x22]'))[_0x4a874f(0xd5)]=_0x4a7b33,_0x2f1c33[_0x4a874f(0xe1)](new Event(_0x4a874f(0xc6),{'bubbles':!0x0})),_0x2f1c33[_0x4a874f(0xe1)](new CustomEvent(_0x4a874f(0xd7),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1f9320[_0x4a874f(0xdf)],'operator':_0x5e55a5,'value':_0x4a7b33}}));});}}
|
|
15
15
|
/>
|
|
16
16
|
`:html``;};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
${
|
|
3
|
-
`;}async['firstUpdated'](){const
|
|
1
|
+
function a0_0x2632(_0x4dc435,_0x2c7989){const _0x1066ed=a0_0x1066();return a0_0x2632=function(_0x2632c7,_0x3eebf6){_0x2632c7=_0x2632c7-0x133;let _0x44618e=_0x1066ed[_0x2632c7];return _0x44618e;},a0_0x2632(_0x4dc435,_0x2c7989);}const a0_0x17cc2d=a0_0x2632;function a0_0x1066(){const _0x4da98f=['popup','stringify','275xhFuxn','bind','grist-editor-code-input','object','dispatchEvent','7396veNnuu','11658688fsAVEe','6435657WDxvCi','value','large','row','stopPropagation','key','record','define','3319185zrfCia','code-editor','Enter','114NJwSLI','10kwAtNW','1430ajFgXS','_onclick','_onkeydown','3514sEygmw','15938FRiLWp','112668GDCuKR','editorTemplate','parse','substring','length','tTitle','firstUpdated','330IKmfQg','openEditor','properties'];a0_0x1066=function(){return _0x4da98f;};return a0_0x1066();}(function(_0x109348,_0x28e8d0){const _0x511a82=a0_0x2632,_0x1684c2=_0x109348();while(!![]){try{const _0x2ad8e6=parseInt(_0x511a82(0x151))/0x1*(parseInt(_0x511a82(0x14b))/0x2)+parseInt(_0x511a82(0x148))/0x3+parseInt(_0x511a82(0x13e))/0x4*(-parseInt(_0x511a82(0x139))/0x5)+parseInt(_0x511a82(0x134))/0x6*(-parseInt(_0x511a82(0x150))/0x7)+-parseInt(_0x511a82(0x13f))/0x8+-parseInt(_0x511a82(0x140))/0x9*(parseInt(_0x511a82(0x14c))/0xa)+-parseInt(_0x511a82(0x14d))/0xb*(-parseInt(_0x511a82(0x152))/0xc);if(_0x2ad8e6===_0x28e8d0)break;else _0x1684c2['push'](_0x1684c2['shift']());}catch(_0x245ba4){_0x1684c2['push'](_0x1684c2['shift']());}}}(a0_0x1066,0xe3f55));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_0x17cc2d(0x136)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x17cc2d(0x153)](){const _0x55e724=a0_0x17cc2d;let _0x535bff;return this[_0x55e724(0x141)]&&(_0x535bff=_0x55e724(0x13c)==typeof this[_0x55e724(0x141)]?JSON[_0x55e724(0x138)](this[_0x55e724(0x141)],0x0,0x2):this[_0x55e724(0x141)],_0x535bff=_0x535bff[_0x55e724(0x156)]>0x14?_0x535bff[_0x55e724(0x155)](0x0,0x14)+'...':_0x535bff),html`
|
|
2
|
+
${_0x535bff?html` <span tabindex="0" style="flex:1;">${_0x535bff}</span> `:html`<span tabindex="0" ></span>`}
|
|
3
|
+
`;}async['firstUpdated'](){const _0x5c34f3=a0_0x17cc2d;super[_0x5c34f3(0x133)]();}[a0_0x17cc2d(0x14e)](_0x579afc){const _0x4ae02d=a0_0x17cc2d;_0x579afc['stopPropagation'](),this[_0x4ae02d(0x135)]();}[a0_0x17cc2d(0x14f)](_0xa10d5c){const _0x5285dc=a0_0x17cc2d;_0x5285dc(0x14a)==_0xa10d5c[_0x5285dc(0x145)]&&(_0xa10d5c[_0x5285dc(0x144)](),this[_0x5285dc(0x135)]());}[a0_0x17cc2d(0x135)](){const _0x3f6c22=a0_0x17cc2d;this[_0x3f6c22(0x137)]&&delete this[_0x3f6c22(0x137)];var _0x112f31=html`
|
|
4
4
|
<code-input-editor-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this[_0x3f6c22(0x141)]}
|
|
6
|
+
.confirmCallback=${(_0x413601=>{const _0x4a1bc7=_0x3f6c22;this[_0x4a1bc7(0x13d)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4a1bc7(0x141)],'after':_0x413601?'object'==typeof this[_0x4a1bc7(0x141)]?JSON[_0x4a1bc7(0x154)](_0x413601):_0x413601:null,'record':this[_0x4a1bc7(0x146)],'column':this['column'],'row':this[_0x4a1bc7(0x143)]}}));})[_0x3f6c22(0x13a)](this)}
|
|
7
7
|
></code-input-editor-popup>
|
|
8
|
-
`;this[
|
|
8
|
+
`;this[_0x3f6c22(0x137)]=openPopup(_0x112f31,{'backdrop':!0x0,'size':_0x3f6c22(0x142),'title':TermsUtil[_0x3f6c22(0x157)](_0x3f6c22(0x149))});}}customElements[a0_0x17cc2d(0x147)](a0_0x17cc2d(0x13b),GristEditorCodeInput);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
${
|
|
3
|
-
`;}async[
|
|
1
|
+
function a0_0x5875(){const _0x28bcac=['join','filter','6IlIlqH','key','push','editorTemplate','value','firstUpdated','bind','splice','openSelector','large','display','stopPropagation','record','266SfhyoW','788652FLECDZ','dispatchEvent','tMenu','72464pYMxlT','5003190XNAkmK','field-change','codes','define','_onclick','20oGSVzJ','648382MYQSEg','options','row','keys','codeField','forEach','properties','dispField','popup','633060bqPsNk','map','3606205MpTWyL','_onkeydown','1775148czDQMa','column','select_item','length','split'];a0_0x5875=function(){return _0x28bcac;};return a0_0x5875();}const a0_0x4585a3=a0_0x5eb6;(function(_0x3f0fe1,_0xb27477){const _0x5553ca=a0_0x5eb6,_0x358d5c=_0x3f0fe1();while(!![]){try{const _0x2b466e=-parseInt(_0x5553ca(0x15c))/0x1+parseInt(_0x5553ca(0x169))/0x2+parseInt(_0x5553ca(0x170))/0x3*(parseInt(_0x5553ca(0x165))/0x4)+-parseInt(_0x5553ca(0x167))/0x5+parseInt(_0x5553ca(0x156))/0x6+-parseInt(_0x5553ca(0x151))/0x7*(-parseInt(_0x5553ca(0x155))/0x8)+parseInt(_0x5553ca(0x152))/0x9*(-parseInt(_0x5553ca(0x15b))/0xa);if(_0x2b466e===_0xb27477)break;else _0x358d5c['push'](_0x358d5c['shift']());}catch(_0x12634d){_0x358d5c['push'](_0x358d5c['shift']());}}}(a0_0x5875,0xcc6ae));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x4585a3(0x162)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x4585a3(0x173)](){const _0x403b3e=a0_0x4585a3;let _0x21ed07='';if(this[_0x403b3e(0x16a)][_0x403b3e(0x150)]&&this[_0x403b3e(0x16a)][_0x403b3e(0x150)]['options']){if(this[_0x403b3e(0x16a)][_0x403b3e(0x150)][_0x403b3e(0x15d)][_0x403b3e(0x163)]){let _0x5c5ab3=this[_0x403b3e(0x16a)][_0x403b3e(0x150)][_0x403b3e(0x15d)][_0x403b3e(0x158)]||[];if(this[_0x403b3e(0x148)]&&this[_0x403b3e(0x148)][_0x403b3e(0x16c)]>0x0){let _0x371ce4=_0x5c5ab3[_0x403b3e(0x16f)](_0x40f1e5=>_0x40f1e5[_0x403b3e(0x148)]===this[_0x403b3e(0x148)]);_0x21ed07=_0x371ce4&&_0x371ce4['length']>0x0?_0x371ce4[0x0][_0x403b3e(0x14e)]:'';}}else _0x21ed07=this['value'];}else _0x21ed07='';return html`
|
|
2
|
+
${_0x21ed07?html` <span tabindex="0" style="flex:1">${_0x21ed07}</span> `:html`<span tabindex="0"></span>`}
|
|
3
|
+
`;}async[a0_0x4585a3(0x149)](){super['firstUpdated']();}[a0_0x4585a3(0x15a)](_0x5ab29d){const _0x4fba70=a0_0x4585a3;_0x5ab29d[_0x4fba70(0x14f)](),this['openSelector']();}[a0_0x4585a3(0x168)](_0x5feb95){const _0x5d0b1a=a0_0x4585a3;'Enter'==_0x5feb95[_0x5d0b1a(0x171)]&&(_0x5feb95[_0x5d0b1a(0x14f)](),this[_0x5d0b1a(0x14c)]());}[a0_0x4585a3(0x14c)](){const _0x479668=a0_0x4585a3;this[_0x479668(0x164)]&&delete this[_0x479668(0x164)];var {selectorName:_0x4f2400=TermsUtil['tTitle'](_0x479668(0x16b))}=this['column'][_0x479668(0x150)][_0x479668(0x15d)]||{},_0xf6b125=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this['value']}
|
|
6
|
+
.options=${this['column'][_0x479668(0x150)]['options']}
|
|
7
|
+
.confirmCallback=${(_0x18f94b=>{const _0x490ba0=_0x479668;let _0x274492=this[_0x490ba0(0x16a)]['record'][_0x490ba0(0x15d)][_0x490ba0(0x160)],_0x20999e=this[_0x490ba0(0x16a)]['record']['options'][_0x490ba0(0x163)],_0x13a10f=this[_0x490ba0(0x16a)][_0x490ba0(0x150)][_0x490ba0(0x15d)]['fieldMap']||{};if(this['column'][_0x490ba0(0x150)][_0x490ba0(0x15d)][_0x490ba0(0x158)]||(this[_0x490ba0(0x16a)]['record'][_0x490ba0(0x15d)][_0x490ba0(0x158)]=[]),_0x18f94b){let _0x53fd97=this[_0x490ba0(0x16a)][_0x490ba0(0x150)][_0x490ba0(0x15d)][_0x490ba0(0x158)]['filter'](_0x30d0d4=>_0x30d0d4[_0x490ba0(0x148)]==_0x18f94b[_0x274492]);if(!_0x53fd97||0x0==_0x53fd97['length']){let _0x4a0f5f=_0x18f94b[_0x274492];if(_0x20999e){let _0x4f9a45=_0x20999e[_0x490ba0(0x16d)](',');_0x4a0f5f=_0x18f94b[_0x4f9a45[0x0]],_0x4f9a45[_0x490ba0(0x16c)]>0x1&&(_0x4a0f5f+='('+_0x4f9a45[_0x490ba0(0x14b)](0x1)[_0x490ba0(0x166)](_0x48e090=>_0x18f94b[_0x48e090])[_0x490ba0(0x16e)](',')+')');}this[_0x490ba0(0x16a)]['record']['options'][_0x490ba0(0x158)][_0x490ba0(0x172)]({'value':_0x18f94b[_0x274492],'display':_0x4a0f5f});}}this[_0x490ba0(0x153)](new CustomEvent(_0x490ba0(0x157),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x490ba0(0x148)],'after':_0x18f94b?_0x18f94b[_0x274492]:null,'record':this[_0x490ba0(0x150)],'column':this['column'],'row':this['row']}})),Object[_0x490ba0(0x15f)](_0x13a10f)[_0x490ba0(0x161)](_0x8aacdb=>{const _0xd2efd1=_0x490ba0;this[_0xd2efd1(0x153)](new CustomEvent(_0xd2efd1(0x157),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0xd2efd1(0x150)][_0x13a10f[_0x8aacdb]],'after':_0x18f94b?_0x18f94b[_0x8aacdb]:null,'record':this[_0xd2efd1(0x150)],'column':{'name':_0x13a10f[_0x8aacdb]},'row':this[_0xd2efd1(0x15e)]}}));});})[_0x479668(0x14a)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this[_0x479668(0x164)]=openPopup(_0xf6b125,{'backdrop':!0x0,'size':_0x479668(0x14d),'title':TermsUtil[_0x479668(0x154)](_0x4f2400)});}}function a0_0x5eb6(_0x9da753,_0x35b309){const _0x58759c=a0_0x5875();return a0_0x5eb6=function(_0x5eb673,_0x343bf4){_0x5eb673=_0x5eb673-0x148;let _0x1dd0c7=_0x58759c[_0x5eb673];return _0x1dd0c7;},a0_0x5eb6(_0x9da753,_0x35b309);}customElements[a0_0x4585a3(0x159)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
${this[
|
|
3
|
-
`;}async[
|
|
1
|
+
function a0_0x3468(_0x30814a,_0xfa5656){const _0x518b1a=a0_0x518b();return a0_0x3468=function(_0x34688f,_0x4dc8f5){_0x34688f=_0x34688f-0x1bb;let _0x4a452d=_0x518b1a[_0x34688f];return _0x4a452d;},a0_0x3468(_0x30814a,_0xfa5656);}const a0_0x18ba22=a0_0x3468;(function(_0x36cb6c,_0x163e7b){const _0x390966=a0_0x3468,_0x596ce7=_0x36cb6c();while(!![]){try{const _0x255b65=-parseInt(_0x390966(0x1c7))/0x1+-parseInt(_0x390966(0x1d2))/0x2+parseInt(_0x390966(0x1c5))/0x3+parseInt(_0x390966(0x1d1))/0x4*(-parseInt(_0x390966(0x1bc))/0x5)+parseInt(_0x390966(0x1c6))/0x6+-parseInt(_0x390966(0x1da))/0x7+parseInt(_0x390966(0x1d5))/0x8*(parseInt(_0x390966(0x1bf))/0x9);if(_0x255b65===_0x163e7b)break;else _0x596ce7['push'](_0x596ce7['shift']());}catch(_0x10aebd){_0x596ce7['push'](_0x596ce7['shift']());}}}(a0_0x518b,0x41717));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x518b(){const _0x4f063f=['stopPropagation','_onclick','40RLPgZT','properties','large','tTitle','keys','2232839oPvpGJ','field-change','length','join','1055sCgLHG','dispatchEvent','column','1424043fwpZoG','forEach','bind','select_item','firstUpdated','editorTemplate','1459005hudvVP','3330SzrpaP','73959anNLyy','map','popup','value','options','nameField','record','fieldMap','openSelector','grist-editor-meta-object-selector','1684peEiIe','1056406xWkKEN'];a0_0x518b=function(){return _0x4f063f;};return a0_0x518b();}import'../../popup/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x18ba22(0x1d6)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x18ba22(0x1c4)](){const _0x6f977d=a0_0x18ba22;let _0x98b4bc='';if(this[_0x6f977d(0x1ca)]&&this[_0x6f977d(0x1be)]['record'][_0x6f977d(0x1cb)]){let _0x4857f7=this[_0x6f977d(0x1be)][_0x6f977d(0x1cd)]['options'][_0x6f977d(0x1cc)]['split'](',');_0x98b4bc=this[_0x6f977d(0x1ca)][_0x4857f7[0x0]],_0x4857f7[_0x6f977d(0x1dc)]>0x1&&(_0x98b4bc+='('+_0x4857f7['splice'](0x1)[_0x6f977d(0x1c8)](_0x384f89=>this[_0x6f977d(0x1ca)][_0x384f89])[_0x6f977d(0x1bb)](',')+')');}return html`
|
|
2
|
+
${this['value']?html` <span tabindex="0" style="flex:1">${_0x98b4bc}</span> `:html`<span tabindex="0">${_0x98b4bc}</span>`}
|
|
3
|
+
`;}async[a0_0x18ba22(0x1c3)](){const _0x5e836c=a0_0x18ba22;super[_0x5e836c(0x1c3)]();}[a0_0x18ba22(0x1d4)](_0x2706fb){const _0x5d2017=a0_0x18ba22;_0x2706fb[_0x5d2017(0x1d3)](),this['openSelector']();}['_onkeydown'](_0x525cc9){const _0x460b31=a0_0x18ba22;'Enter'==_0x525cc9['key']&&(_0x525cc9[_0x460b31(0x1d3)](),this[_0x460b31(0x1cf)]());}[a0_0x18ba22(0x1cf)](){const _0x5ea063=a0_0x18ba22;this[_0x5ea063(0x1c9)]&&delete this[_0x5ea063(0x1c9)];var {selectorName:_0x23e9a2=TermsUtil[_0x5ea063(0x1d8)](_0x5ea063(0x1c2))}=this[_0x5ea063(0x1be)][_0x5ea063(0x1cd)][_0x5ea063(0x1cb)]||{},_0x5566b6=html`
|
|
4
4
|
<meta-object-selector-popup
|
|
5
|
-
.value=${this[
|
|
6
|
-
.options=${this[
|
|
7
|
-
.confirmCallback=${(
|
|
5
|
+
.value=${this['value']}
|
|
6
|
+
.options=${this[_0x5ea063(0x1be)][_0x5ea063(0x1cd)]['options']}
|
|
7
|
+
.confirmCallback=${(_0x3cc4bd=>{const _0x5cf5d9=_0x5ea063;let _0x47b6cf=this[_0x5cf5d9(0x1be)]['record'][_0x5cf5d9(0x1cb)][_0x5cf5d9(0x1ce)]||{};this['dispatchEvent'](new CustomEvent(_0x5cf5d9(0x1db),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x5cf5d9(0x1ca)],'after':_0x3cc4bd||null,'record':this['record'],'column':this['column'],'row':this['row']}})),Object[_0x5cf5d9(0x1d9)](_0x47b6cf)[_0x5cf5d9(0x1c0)](_0x550949=>{const _0x39d36a=_0x5cf5d9;this[_0x39d36a(0x1bd)](new CustomEvent(_0x39d36a(0x1db),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x39d36a(0x1cd)][_0x47b6cf[_0x550949]],'after':_0x3cc4bd?_0x3cc4bd[_0x550949]:null,'record':this['record'],'column':{'name':_0x47b6cf[_0x550949]},'row':this['row']}}));});})[_0x5ea063(0x1c1)](this)}
|
|
8
8
|
></meta-object-selector-popup>
|
|
9
|
-
`;this[
|
|
9
|
+
`;this[_0x5ea063(0x1c9)]=openPopup(_0x5566b6,{'backdrop':!0x0,'size':_0x5ea063(0x1d7),'title':TermsUtil['tMenu'](_0x23e9a2)});}}customElements['define'](a0_0x18ba22(0x1d0),GristEditorMetaObjectSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a0_0x1bee(){const _0x1094c2=['328Funvsg','603buLLnD','1281595SIPwFw','target','488640iWGoRx','setAttribute','14476vEkYpB','2EiQcoW','textContent','144VmLerQ','46194OLrhOm','189mYQZbY','data-tooltip','43400IZSxrw','object','73915PuymWm','length','substring','3109944wPQIYq'];a0_0x1bee=function(){return _0x1094c2;};return a0_0x1bee();}(function(_0x37b15b,_0x199a50){const _0x4e12ed=a0_0xf3de,_0x374a3c=_0x37b15b();while(!![]){try{const _0x3ba948=-parseInt(_0x4e12ed(0x1c3))/0x1*(-parseInt(_0x4e12ed(0x1c8))/0x2)+-parseInt(_0x4e12ed(0x1c5))/0x3+parseInt(_0x4e12ed(0x1c1))/0x4*(-parseInt(_0x4e12ed(0x1bd))/0x5)+parseInt(_0x4e12ed(0x1cb))/0x6*(parseInt(_0x4e12ed(0x1cc))/0x7)+parseInt(_0x4e12ed(0x1c0))/0x8+parseInt(_0x4e12ed(0x1c2))/0x9*(parseInt(_0x4e12ed(0x1ce))/0xa)+-parseInt(_0x4e12ed(0x1c7))/0xb*(-parseInt(_0x4e12ed(0x1ca))/0xc);if(_0x3ba948===_0x199a50)break;else _0x374a3c['push'](_0x374a3c['shift']());}catch(_0x200911){_0x374a3c['push'](_0x374a3c['shift']());}}}(a0_0x1bee,0xc5ae1));function a0_0xf3de(_0x1ba2f4,_0x49acf5){const _0x1bee06=a0_0x1bee();return a0_0xf3de=function(_0xf3deba,_0x4880c2){_0xf3deba=_0xf3deba-0x1bd;let _0x105d7d=_0x1bee06[_0xf3deba];return _0x105d7d;},a0_0xf3de(_0x1ba2f4,_0x49acf5);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x5be3e2){const _0x39a615=a0_0xf3de,_0x424ee4=_0x5be3e2[_0x39a615(0x1c4)];detectOverflow(_0x424ee4)&&_0x424ee4[_0x39a615(0x1c6)](_0x39a615(0x1cd),_0x424ee4[_0x39a615(0x1c9)]);}function onmouseout(_0x17436b){const _0x598c31=a0_0xf3de;_0x17436b[_0x598c31(0x1c4)]['removeAttribute'](_0x598c31(0x1cd));}export const GristRendererCodeInput=(_0x3f34c6,_0x42069f,_0x1f7499,_0x34e03f,_0x4779a7)=>{const _0x5daf23=a0_0xf3de;let _0x28f28e='';return _0x3f34c6&&(_0x28f28e=_0x5daf23(0x1cf)==typeof _0x3f34c6?JSON['stringify'](_0x3f34c6,0x0,0x2):_0x3f34c6,_0x28f28e=_0x28f28e[_0x5daf23(0x1be)]>0x14?_0x28f28e[_0x5daf23(0x1bf)](0x0,0x14)+'...':_0x28f28e),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x28f28e}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x37b50b,_0xe2d084){const _0x11e65d=a0_0x220a,_0x378ddf=_0x37b50b();while(!![]){try{const _0x359e0c=-parseInt(_0x11e65d(0xcc))/0x1+-parseInt(_0x11e65d(0xc0))/0x2+-parseInt(_0x11e65d(0xc5))/0x3*(parseInt(_0x11e65d(0xcb))/0x4)+parseInt(_0x11e65d(0xcf))/0x5+parseInt(_0x11e65d(0xd4))/0x6+parseInt(_0x11e65d(0xc6))/0x7*(parseInt(_0x11e65d(0xc2))/0x8)+parseInt(_0x11e65d(0xc3))/0x9;if(_0x359e0c===_0xe2d084)break;else _0x378ddf['push'](_0x378ddf['shift']());}catch(_0x548b13){_0x378ddf['push'](_0x378ddf['shift']());}}}(a0_0x1ab7,0xb06a2));function a0_0x1ab7(){const _0x364ed6=['textContent','value','filter','setAttribute','8MJxQdT','1167976DZgNRs','options','record','449715rXwTfu','codes','target','data-tooltip','length','1347588rfvvsg','383724GIPgCZ','display','6712FSQeRF','16569576cLUPYh','removeAttribute','1583463EUVxIt','8197AQZUTX'];a0_0x1ab7=function(){return _0x364ed6;};return a0_0x1ab7();}import{html}from'lit';function a0_0x220a(_0x23605c,_0x5e4065){const _0x1ab720=a0_0x1ab7();return a0_0x220a=function(_0x220abd,_0x3ef48a){_0x220abd=_0x220abd-0xc0;let _0x39bc76=_0x1ab720[_0x220abd];return _0x39bc76;},a0_0x220a(_0x23605c,_0x5e4065);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x3320e2){const _0x410569=a0_0x220a,_0x15acc3=_0x3320e2[_0x410569(0xd1)];detectOverflow(_0x15acc3)&&_0x15acc3[_0x410569(0xca)](_0x410569(0xd2),_0x15acc3[_0x410569(0xc7)]);}function onmouseout(_0x4e1991){const _0x32960d=a0_0x220a;_0x4e1991['target'][_0x32960d(0xc4)](_0x32960d(0xd2));}export const GristRendererMetaCodeSelector=(_0x883b6d,_0x37eeb4,_0x4c35ec,_0x363017,_0x332554)=>{const _0x126f70=a0_0x220a;let _0x22063b='';if(_0x37eeb4[_0x126f70(0xce)]&&_0x37eeb4['record'][_0x126f70(0xcd)]){if(_0x37eeb4[_0x126f70(0xce)][_0x126f70(0xcd)]['dispField']){if(_0x37eeb4[_0x126f70(0xce)][_0x126f70(0xcd)]['codes']||(_0x37eeb4['record'][_0x126f70(0xcd)][_0x126f70(0xd0)]=[]),_0x883b6d&&_0x883b6d[_0x126f70(0xd3)]>0x0){let _0x6d7e0f=_0x37eeb4[_0x126f70(0xce)]['options'][_0x126f70(0xd0)][_0x126f70(0xc9)](_0x4a0ebf=>_0x4a0ebf[_0x126f70(0xc8)]===_0x883b6d);_0x22063b=_0x6d7e0f&&_0x6d7e0f['length']>0x0?_0x6d7e0f[0x0][_0x126f70(0xc1)]:_0x883b6d;}}else _0x22063b=_0x883b6d;}else _0x22063b='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x22063b}</span>`;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x561399,_0x4cf22a){const _0x240482=a0_0x3a61,_0x5a7f3c=_0x561399();while(!![]){try{const _0x3304b7=parseInt(_0x240482(0xd3))/0x1+-parseInt(_0x240482(0xde))/0x2+parseInt(_0x240482(0xe2))/0x3+parseInt(_0x240482(0xdd))/0x4*(parseInt(_0x240482(0xda))/0x5)+-parseInt(_0x240482(0xd8))/0x6*(parseInt(_0x240482(0xd2))/0x7)+-parseInt(_0x240482(0xd0))/0x8*(-parseInt(_0x240482(0xe1))/0x9)+-parseInt(_0x240482(0xdf))/0xa*(parseInt(_0x240482(0xe4))/0xb);if(_0x3304b7===_0x4cf22a)break;else _0x5a7f3c['push'](_0x5a7f3c['shift']());}catch(_0x3d4a2a){_0x5a7f3c['push'](_0x5a7f3c['shift']());}}}(a0_0x19f3,0x28516));function a0_0x19f3(){const _0x3e557a=['data-tooltip','textContent','map','198138zEtqNL','join','770555YwFOWg','length','splice','4MSBddX','484130aMKyDl','955810Ezcbhz','setAttribute','1161972ySvTPh','429786TecmAU','split','11zMAaSF','nameField','16hHhWGn','target','70QcHRZe','277429uENBlI','record'];a0_0x19f3=function(){return _0x3e557a;};return a0_0x19f3();}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x2fa52f){const _0x5c377d=a0_0x3a61,_0x24df95=_0x2fa52f[_0x5c377d(0xd1)];detectOverflow(_0x24df95)&&_0x24df95[_0x5c377d(0xe0)]('data-tooltip',_0x24df95[_0x5c377d(0xd6)]);}function a0_0x3a61(_0x1dfd59,_0x5bb827){const _0x19f39d=a0_0x19f3();return a0_0x3a61=function(_0x3a6161,_0x40c3e1){_0x3a6161=_0x3a6161-0xcf;let _0x33c4a3=_0x19f39d[_0x3a6161];return _0x33c4a3;},a0_0x3a61(_0x1dfd59,_0x5bb827);}function onmouseout(_0x4fe697){const _0x41284f=a0_0x3a61;_0x4fe697[_0x41284f(0xd1)]['removeAttribute'](_0x41284f(0xd5));}export const GristRendererMetaObjectSelector=(_0x5d5406,_0x5a8436,_0xf90f9e,_0x3d6385,_0x576629)=>{const _0x2f91b3=a0_0x3a61;let _0x1af5d2='';if(_0x5d5406&&_0x5a8436[_0x2f91b3(0xd4)]['options']){let _0xd88a98=_0x5a8436[_0x2f91b3(0xd4)]['options'][_0x2f91b3(0xcf)][_0x2f91b3(0xe3)](',');_0x1af5d2=_0x5d5406[_0xd88a98[0x0]],_0xd88a98[_0x2f91b3(0xdb)]>0x1&&(_0x1af5d2+='('+_0xd88a98[_0x2f91b3(0xdc)](0x1)[_0x2f91b3(0xd7)](_0x3bbc23=>_0x5d5406[_0x3bbc23])[_0x2f91b3(0xd9)](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1af5d2}</span>`;};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x3a7e70=a0_0x5025;function a0_0x3a6c(){var _0x7cc324=['styles','264085YNlHMf','2731176hSqWJN','8037704KrQHRo','querySelector','tButton','render','showToast','bind','codeVlaue','tText','692787yUAGOB','clickCancel','52NVjSyT','object','cancel','4983570BcSAfL','clickConfirm','confirm','firstUpdated','clickEmpty','connectedCallback','codeEditor','changedValue','confirmCallback','empty','ox-input-code','1150598afHrIa','value','370575hZfGde','stringify','shadowRoot'];a0_0x3a6c=function(){return _0x7cc324;};return a0_0x3a6c();}(function(_0x25b8f4,_0x2aba91){var _0x5bcc66=a0_0x5025,_0x573895=_0x25b8f4();while(!![]){try{var _0x46748a=parseInt(_0x5bcc66(0x123))/0x1+-parseInt(_0x5bcc66(0x113))/0x2+-parseInt(_0x5bcc66(0x115))/0x3+parseInt(_0x5bcc66(0x125))/0x4*(parseInt(_0x5bcc66(0x119))/0x5)+-parseInt(_0x5bcc66(0x128))/0x6+-parseInt(_0x5bcc66(0x11a))/0x7+parseInt(_0x5bcc66(0x11b))/0x8;if(_0x46748a===_0x2aba91)break;else _0x573895['push'](_0x573895['shift']());}catch(_0x573ba4){_0x573895['push'](_0x573895['shift']());}}}(a0_0x3a6c,0x71696));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';function a0_0x5025(_0x316a21,_0x53580d){var _0x3a6c95=a0_0x3a6c();return a0_0x5025=function(_0x50255f,_0x3b3af9){_0x50255f=_0x50255f-0x10d;var _0x5ab572=_0x3a6c95[_0x50255f];return _0x5ab572;},a0_0x5025(_0x316a21,_0x53580d);}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_0x3a7e70(0x118)]=[CommonGristStyles,ButtonContainerStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -19,17 +19,17 @@ var a0_0x1d039c=a0_0x311d;(function(_0x556371,_0x4c551f){var _0x329ccc=a0_0x311d
|
|
|
19
19
|
display: flex;
|
|
20
20
|
margin-left: auto;
|
|
21
21
|
}
|
|
22
|
-
`];async[
|
|
22
|
+
`];async[a0_0x3a7e70(0x10d)](){var _0x3dd479=a0_0x3a7e70;_0x3dd479(0x126)==typeof this['value']?this[_0x3dd479(0x121)]=JSON[_0x3dd479(0x116)](this['value'],0x0,0x2):this[_0x3dd479(0x121)]=this[_0x3dd479(0x114)],await super[_0x3dd479(0x10d)]();}async['firstUpdated'](){var _0x1d7fdd=a0_0x3a7e70;await super[_0x1d7fdd(0x12b)]();}[a0_0x3a7e70(0x11e)](){var _0x1574da=a0_0x3a7e70;return html`
|
|
23
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['tButton'](_0x1574da(0x111))}" style="margin-left:7px;margin-top:7px;"
|
|
26
|
+
@click=${this[_0x1574da(0x12c)][_0x1574da(0x120)](this)}>
|
|
27
27
|
</mwc-button>
|
|
28
|
-
<mwc-button raised label="${TermsUtil[
|
|
29
|
-
@click=${this[
|
|
28
|
+
<mwc-button raised label="${TermsUtil[_0x1574da(0x11d)](_0x1574da(0x127))}" style="margin-left:7px;margin-top:7px;"
|
|
29
|
+
@click=${this[_0x1574da(0x124)][_0x1574da(0x120)](this)}>
|
|
30
30
|
</mwc-button>
|
|
31
|
-
<mwc-button raised label="${TermsUtil[
|
|
32
|
-
@click=${this[
|
|
31
|
+
<mwc-button raised label="${TermsUtil[_0x1574da(0x11d)](_0x1574da(0x12a))}" style="margin-left:7px;margin-top:7px;"
|
|
32
|
+
@click=${this[_0x1574da(0x129)][_0x1574da(0x120)](this)}>
|
|
33
33
|
</mwc-button>
|
|
34
34
|
</div>
|
|
35
|
-
`;}get[
|
|
35
|
+
`;}get['codeEditor'](){var _0x2784b9=a0_0x3a7e70;return this[_0x2784b9(0x117)][_0x2784b9(0x11c)](_0x2784b9(0x112));}async['clickEmpty'](_0x470405){var _0x4c9a66=a0_0x3a7e70;this[_0x4c9a66(0x110)]&&this[_0x4c9a66(0x110)](null),closePopup(this);}async['clickCancel'](_0x41e227){closePopup(this);}async[a0_0x3a7e70(0x129)](_0x464b4f){var _0x336ea7=a0_0x3a7e70;this[_0x336ea7(0x121)]!==this[_0x336ea7(0x10e)][_0x336ea7(0x114)]?this['changedValue'](this['codeEditor'][_0x336ea7(0x114)]):MetaApi[_0x336ea7(0x11f)]('info',TermsUtil[_0x336ea7(0x122)]('NOTHING_CHANGED'));}async[a0_0x3a7e70(0x10f)](_0x5de049){var _0x2bb16b=a0_0x3a7e70;this[_0x2bb16b(0x110)]&&this['confirmCallback'](_0x5de049),closePopup(this);}}customElements['define']('code-input-editor-popup',CodeInputEditorPopup);
|