@mxstage/mxstage 0.2.10 → 0.3.1

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/README.md CHANGED
@@ -20,7 +20,7 @@ Website: https://mxstage.tsunagi.app · Contact: mxstage@tsunagi.app
20
20
  - **Your AI works on a staging sheet, not on Maximo.** The AI assistant loads Maximo data into a sheet in the *work screen* (a browser tab), analyses it and proposes changes with reasons. You see every changed cell. The sheets live only in the work screen tab and the bridge's memory; loaded tables are never written to disk.
21
21
  - **Only a person can commit.** The AI's tools cannot write to Maximo. Changes are written only when you press **Commit to Maximo** in the work screen. MX Stage writes one record first and lets you check it before it sends the rest. Records that someone else changed after you loaded them are skipped and listed; it stops on an error or a result it cannot confirm. Any batch of changes can be undone before you commit. You choose in the commit panel how many records one commit sends (all of them, or a number; 200 by default).
22
22
  - **Keep a record of what was approved.** The commit panel saves a diff report (Excel): one row per changed cell with the old value, the new value, who changed it (the AI assistant or a person) and why. After a commit, it also holds the write log of that commit.
23
- - **Nothing leaves your PC except calls to your Maximo and your AI assistant.** There is no MX Stage cloud and no telemetry. There are two optional exceptions: if you turn on **Settings → Updates → Update automatically** (off by default), the bridge asks GitHub once a day for the latest version number; and if you choose **Settings → Demo → Download data and connect**, it downloads fictional sample data once from `mxstage-demo.pages.dev` (nothing is sent). Installs made with the setup script then update themselves while no work is open (the new version from GitHub, its packages from the npm registry); the Claude Desktop extension downloads the new file from GitHub and checks it for you to install. A small local process (the *bridge*) serves the work screen, talks MCP to your AI assistant and relays requests to Maximo, so Maximo needs no CORS settings. Your Maximo API key is saved on this PC by the bridge, encrypted with Windows data protection (DPAPI), and is not sent to the browser (on macOS, untested, the Keychain protects it; on Linux, a file only your user can read). Every window of the work screen — the installed app, a browser tab, or the browser inside your AI assistant — connects automatically, even after a restart, and you can switch between saved Maximo environments in Settings. (You can also connect without saving; the key then stays only in the tab's memory.)
23
+ - **Nothing leaves your PC except calls to your Maximo and your AI assistant.** There is no MX Stage cloud and no telemetry. There are two optional exceptions: if you turn on **Settings → Updates → Update automatically** (off by default), the bridge asks GitHub for the latest version (installs made with the setup script: at start and every 6 hours; the Claude Desktop extension: once a day); and if you choose **Settings → Demo → Download data and connect**, it downloads fictional sample data once from `mxstage-demo.pages.dev` (nothing is sent). Installs made with the setup script then prepare the new version in a separate folder without stopping the running one (the new version from GitHub, its packages from the npm registry) and switch to it the next time you restart your assistant; the Claude Desktop extension downloads the new file from GitHub and checks it for you to install. A small local process (the *bridge*) serves the work screen, talks MCP to your AI assistant and relays requests to Maximo, so Maximo needs no CORS settings. Your Maximo API key is saved on this PC by the bridge, encrypted with Windows data protection (DPAPI), and is not sent to the browser (on macOS, untested, the Keychain protects it; on Linux, a file only your user can read). Every window of the work screen — the installed app, a browser tab, or the browser inside your AI assistant — connects automatically, even after a restart, and you can switch between saved Maximo environments in Settings. (You can also connect without saving; the key then stays only in the tab's memory.)
24
24
  - **Teach it your procedures.** Save a procedure worked out in a conversation as a *Skill*; the AI follows it next time.
25
25
  - **Keep the customer's way of writing.** *Customer dictionaries* hold how a customer writes names, the words that mean a failure code, and how values such as maker or department names are written. The AI adds entries and the work screen applies them as rules (matching, codes from text, value replacement), so the next month's files need less reading. You check and save them in the work screen. Each connection keeps its dictionaries and Skills in its own folder (Documents\MX Stage\<connection> by default); choose a shared folder (OneDrive, SharePoint, a network folder…) in Settings → Skills & dictionaries, and saved entries reach every member through your own file sync. MX Stage itself sends them nowhere.
26
26
 
@@ -51,8 +51,10 @@ Several Maximo MCP servers let the AI call the REST API. That is fine for readin
51
51
 
52
52
  1. Download `mxstage-<version>.mcpb` from the [latest release](https://github.com/mxstage/mxstage/releases/latest).
53
53
  2. In Claude Desktop, open **Settings → Extensions**, then **Advanced settings → Install Extension…** and choose the file (or double-click the file, or drag it onto the Extensions page). Choose **Install**.
54
- 3. Open `http://127.0.0.1:8788/app` in Chrome or Edge and **enter your Maximo URL and API key in Settings.** Never paste the API key into the chat.
55
- 4. In a new chat, ask "show the MX Stage status".
54
+ 3. In a new chat, ask "show the MX Stage status". When the work screen is not open yet, MX Stage opens it (`http://127.0.0.1:8788/app`) the way the desktop shortcut does: in a Chrome or Edge app window, or in your default browser when neither is installed.
55
+ 4. **Enter your Maximo URL and API key in Settings** of the work screen. Never paste the API key into the chat.
56
+
57
+ The work screen opens by itself only when a tool needs it and no work screen tab is connected; it is not opened again within 60 seconds, and never while a tab is open. To turn this off, turn off **Open the work screen automatically** in the extension's settings (Settings → Extensions → MX Stage → Configure); MX Stage then asks you to open the URL instead.
56
58
 
57
59
  The extension needs no Node.js or Git: Claude Desktop runs it. To use MX Stage from other assistants as well (ChatGPT desktop, IBM Bob, Claude Code in the terminal, Antigravity), use the installer below; it detects the extension and does not register MX Stage twice.
58
60
 
@@ -82,7 +84,9 @@ In Settings, also choose for each Maximo whether it is **production** or **test*
82
84
 
83
85
  MCP clients that start servers with npm can also run the server alone with `npx -y @mxstage/mxstage` (Node.js 20 or later; the Skills and shortcuts come only with the installer).
84
86
 
85
- To update, say "update MX Stage"; to remove it, say "uninstall MX Stage" (see [Uninstall](#uninstall)).
87
+ When a tool needs the work screen and no work screen tab is connected, the server opens it the way the desktop shortcut does (a Chrome or Edge app window on Windows, otherwise the default browser; once; not again within 60 seconds, never while a tab is open). Add `--no-open` to the server's arguments to turn this off; the AI then gives the user the URL instead.
88
+
89
+ To update, say "update MX Stage" in the chat of any assistant, the Claude Desktop chat included: the AI checks GitHub, prepares the new version in a separate folder without stopping the running one, and asks you to restart the assistant to switch to it (in Claude Desktop, quit from the tray icon). To remove it, say "uninstall MX Stage" (see [Uninstall](#uninstall)).
86
90
 
87
91
  ## Where it is registered
88
92
 
@@ -153,7 +157,7 @@ When the user asks to install MX Stage, follow these steps and get the user's ap
153
157
  4. **Read the result**: success if no item in `steps` has `"level": "error"`. For `error` or `warn`, tell the user its `message` and `hint` and follow the `hint`. Do not edit settings files by guesswork.
154
158
  5. **Tell the user** to restart the assistant they use, to enter the Maximo URL and API key in the work screen settings (`http://127.0.0.1:8788/app`), and never to paste the API key into the chat.
155
159
 
156
- **Update**: steps 2 to 4. Ask the user to restart their assistant afterwards so the new bridge is used. **Uninstall**: `node scripts/setup-local.mjs --uninstall --json`. **Status**: `node scripts/setup-local.mjs --status --json` (changes nothing).
160
+ **Update**: use the `mxstage_update` tool (action `check`, then `prepare` once the user agrees, then `check` until prepared) and ask the user to restart their assistant; do not run git or npm yourself. Only when the tool says it is a development copy or an install made before this tool, use steps 2 to 4 and ask the user to restart their assistant afterwards. **Uninstall**: `node scripts/setup-local.mjs --uninstall --json`. **Status**: `node scripts/setup-local.mjs --status --json` (changes nothing).
157
161
 
158
162
  ## What the installer does
159
163
 
@@ -161,6 +165,7 @@ When the user asks to install MX Stage, follow these steps and get the user's ap
161
165
  |---|---|
162
166
  | Bridge | Starts on port `8788` (fixed, never shifted). There is one per PC; bridges started by AI assistants relay to it |
163
167
  | MCP and Skills | Registers them as in [Where it is registered](#where-it-is-registered). To leave some out: `--no-claude-desktop`, `--no-antigravity`, `--no-codex`, `--no-bob`, `--no-skills` |
168
+ | Launcher | `~/.config/mxstage/launch.mjs` is what the assistants and the sign-in shortcut start. It starts the version prepared by an update (in `~/.config/mxstage/v/<commit>`) or this folder, and switches versions only when it starts. `--bridge <path>` registers that entry directly instead |
164
169
  | Startup and shortcuts | A shortcut that starts the bridge at sign-in, and `mxstage` on the desktop |
165
170
 
166
171
  Running it again is safe. See [docs/local.md](docs/local.md) (in Japanese) for details.
@@ -5584,6 +5584,118 @@ Documentation in this project (excluding specifications) is licensed under
5584
5584
  CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
5585
5585
  the full license text.
5586
5586
 
5587
+ ==============================================================================
5588
+ @mxstage/eam-connectors@0.1.0
5589
+ License: BUSL-1.1
5590
+ Homepage: https://github.com/mxstage/eam-connectors#readme
5591
+ ------------------------------------------------------------------------------
5592
+ Business Source License 1.1
5593
+
5594
+ Parameters
5595
+
5596
+ Licensor: TSUNAGI
5597
+ Licensed Work: @mxstage/eam-connectors 0.1.0 or later.
5598
+ The Licensed Work is (c) 2026 TSUNAGI.
5599
+ Additional Use Grant: You may make production use of the Licensed Work,
5600
+ provided that you do not use it to create, change or
5601
+ delete data held in a Production Maximo Environment.
5602
+ Reading data from a Production Maximo Environment is
5603
+ permitted.
5604
+
5605
+ A "Production Maximo Environment" is an instance of
5606
+ IBM Maximo or IBM Maximo Application Suite (including
5607
+ Maximo Manage) that an organization uses to record its
5608
+ day-to-day operations, or that is being prepared to
5609
+ replace such an instance (for example, the target of a
5610
+ migration or upgrade before go-live). Any other
5611
+ instance, such as one used only for development,
5612
+ testing, training, demonstration or migration
5613
+ rehearsals, is not a Production Maximo Environment,
5614
+ even if it holds a copy of production data.
5615
+ Change Date: Four years from the date on which each version of the
5616
+ Licensed Work is first publicly distributed.
5617
+ Change License: Apache License, Version 2.0
5618
+
5619
+ Notice
5620
+
5621
+ The Business Source License (this document, or the “License”) is not an Open
5622
+ Source license. However, the Licensed Work will eventually be made available
5623
+ under an Open Source License, as stated in this License.
5624
+
5625
+ License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
5626
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5627
+
5628
+ -----------------------------------------------------------------------------
5629
+
5630
+ Business Source License 1.1
5631
+
5632
+ Terms
5633
+
5634
+ The Licensor hereby grants you the right to copy, modify, create derivative
5635
+ works, redistribute, and make non-production use of the Licensed Work. The
5636
+ Licensor may make an Additional Use Grant, above, permitting limited
5637
+ production use.
5638
+
5639
+ Effective on the Change Date, or the fourth anniversary of the first publicly
5640
+ available distribution of a specific version of the Licensed Work under this
5641
+ License, whichever comes first, the Licensor hereby grants you rights under
5642
+ the terms of the Change License, and the rights granted in the paragraph
5643
+ above terminate.
5644
+
5645
+ If your use of the Licensed Work does not comply with the requirements
5646
+ currently in effect as described in this License, you must purchase a
5647
+ commercial license from the Licensor, its affiliated entities, or authorized
5648
+ resellers, or you must refrain from using the Licensed Work.
5649
+
5650
+ All copies of the original and modified Licensed Work, and derivative works
5651
+ of the Licensed Work, are subject to this License. This License applies
5652
+ separately for each version of the Licensed Work and the Change Date may vary
5653
+ for each version of the Licensed Work released by Licensor.
5654
+
5655
+ You must conspicuously display this License on each original or modified copy
5656
+ of the Licensed Work. If you receive the Licensed Work in original or
5657
+ modified form from a third party, the terms and conditions set forth in this
5658
+ License apply to your use of that work.
5659
+
5660
+ Any use of the Licensed Work in violation of this License will automatically
5661
+ terminate your rights under this License for the current and all other
5662
+ versions of the Licensed Work.
5663
+
5664
+ This License does not grant you any right in any trademark or logo of
5665
+ Licensor or its affiliates (provided that you may use a trademark or logo of
5666
+ Licensor as expressly required by this License).
5667
+
5668
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
5669
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
5670
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
5671
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
5672
+ TITLE.
5673
+
5674
+ MariaDB hereby grants you permission to use this License’s text to license
5675
+ your works, and to refer to it using the trademark “Business Source License”,
5676
+ as long as you comply with the Covenants of Licensor below.
5677
+
5678
+ Covenants of Licensor
5679
+
5680
+ In consideration of the right to use this License’s text and the “Business
5681
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
5682
+ other recipients of the licensed work to be provided by Licensor:
5683
+
5684
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
5685
+ or a license that is compatible with GPL Version 2.0 or a later version,
5686
+ where “compatible” means that software provided under the Change License can
5687
+ be included in a program with software provided under GPL Version 2.0 or a
5688
+ later version. Licensor may specify additional Change Licenses without
5689
+ limitation.
5690
+
5691
+ 2. To either: (a) specify an additional grant of rights to use that does not
5692
+ impose any additional restriction on the right granted in this License, as
5693
+ the Additional Use Grant; or (b) insert the text “None”.
5694
+
5695
+ 3. To specify a Change Date.
5696
+
5697
+ 4. Not to modify this License in any other way.
5698
+
5587
5699
  ==============================================================================
5588
5700
  @parcel/watcher@2.6.0
5589
5701
  License: MIT
@@ -1 +1 @@
1
- import{s as L,r,i as D,a as $,b as z,c as J,T as Q,C as U,m as Z}from"./index-C-UH0S2T.js";const ee=()=>t=>t.targetX,te=()=>t=>t.targetY,re=()=>t=>t.targetWidth,ne=()=>t=>t.targetHeight,ie=()=>t=>t.targetY+10,se=()=>t=>Math.max(0,(t.targetHeight-28)/2),ae=L("div")({name:"DataGridOverlayEditorStyle",class:"gdg-d19meir1",propsAsIs:!1,vars:{"d19meir1-0":[te(),"px"],"d19meir1-1":[ee(),"px"],"d19meir1-2":[re(),"px"],"d19meir1-3":[ne(),"px"],"d19meir1-4":[ie(),"px"],"d19meir1-5":[se(),"px"]}});function oe(){const[t,s]=r.useState();return[t??void 0,s]}function de(){const[t,s]=oe(),[n,p]=r.useState(0),[f,b]=r.useState(!0);r.useLayoutEffect(()=>{if(t===void 0||!("IntersectionObserver"in window))return;const a=new IntersectionObserver(o=>{o.length!==0&&b(o[0].isIntersecting)},{threshold:1});return a.observe(t),()=>a.disconnect()},[t]),r.useEffect(()=>{if(f||t===void 0)return;let a;const o=()=>{const{right:v}=t.getBoundingClientRect();p(g=>Math.min(g+window.innerWidth-v-10,0)),a=requestAnimationFrame(o)};return a=requestAnimationFrame(o),()=>{a!==void 0&&cancelAnimationFrame(a)}},[t,f]);const C=r.useMemo(()=>({transform:`translateX(${n}px)`}),[n]);return{ref:s,style:C}}const ue=t=>{const{target:s,content:n,onFinishEditing:p,forceEditMode:f,initialValue:b,imageEditorOverride:C,markdownDivCreateNode:a,highlight:o,className:v,theme:g,id:G,cell:x,bloom:I,validateCell:m,getCellRenderer:w,provideEditor:F,isOutsideClick:H}=t,[d,X]=r.useState(f?n:void 0),O=r.useRef(d??n);O.current=d??n;const[y,S]=r.useState(()=>m===void 0?!0:!(D(n)&&m?.(x,n,O.current)===!1)),u=r.useCallback((e,i)=>{p(y?e:void 0,i)},[y,p]),A=r.useCallback(e=>{if(m!==void 0&&e!==void 0&&D(e)){const i=m(x,e,O.current);i===!1?S(!1):(typeof i=="object"&&(e=i),S(!0))}X(e)},[x,m]),h=r.useRef(!1),c=r.useRef(void 0),K=r.useCallback(()=>{u(d,[0,0]),h.current=!0},[d,u]),W=r.useCallback((e,i)=>{u(e,i??c.current??[0,0]),h.current=!0},[u]),Y=r.useCallback(async e=>{let i=!1;e.key==="Escape"?(e.stopPropagation(),e.preventDefault(),c.current=[0,0]):e.key==="Enter"&&!e.shiftKey?(e.stopPropagation(),e.preventDefault(),c.current=[0,1],i=!0):e.key==="Tab"&&(e.stopPropagation(),e.preventDefault(),c.current=[e.shiftKey?-1:1,0],i=!0),window.setTimeout(()=>{!h.current&&c.current!==void 0&&(u(i?d:void 0,c.current),h.current=!0)},0)},[u,d]),k=d??n,[l,j]=r.useMemo(()=>{if($(n))return[];const e=F?.(n);return e!==void 0?[e,!1]:[w(n)?.provideEditor?.(n),!1]},[n,w,F]),{ref:q,style:B}=de();let P=!0,M,_=!0,E;if(l!==void 0){P=l.disablePadding!==!0,_=l.disableStyling!==!0;const e=z(l);e&&(E=l.styleOverride);const i=e?l.editor:l;M=r.createElement(i,{isHighlighted:o,onChange:A,value:k,initialValue:b,onFinishedEditing:W,validatedSelection:D(k)?k.selectionRange:void 0,forceEditMode:f,target:s,imageEditorOverride:C,markdownDivCreateNode:a,isValid:y,theme:g})}E={...E,...B};const N=document.getElementById("portal");if(N===null)return console.error('Cannot open Data Grid overlay editor, because portal not found. Please add `<div id="portal" />` as the last child of your `<body>`.'),null;let R=_?"gdg-style":"gdg-unstyle";y||(R+=" gdg-invalid"),P&&(R+=" gdg-pad");const T=I?.[0]??1,V=I?.[1]??1;return J.createPortal(r.createElement(Q.Provider,{value:g},r.createElement(U,{style:Z(g),className:v,onClickOutside:K,isOutsideClick:H},r.createElement(ae,{ref:q,id:G,className:R,style:E,as:j===!0?"label":void 0,targetX:s.x-T,targetY:s.y-V,targetWidth:s.width+T*2,targetHeight:s.height+V*2},r.createElement("div",{className:"gdg-clip-region",onKeyDown:Y},M)))),N)};export{ue as default};
1
+ import{s as L,r,i as D,a as $,b as z,c as J,T as Q,C as U,m as Z}from"./index-DjfpzCB_.js";const ee=()=>t=>t.targetX,te=()=>t=>t.targetY,re=()=>t=>t.targetWidth,ne=()=>t=>t.targetHeight,ie=()=>t=>t.targetY+10,se=()=>t=>Math.max(0,(t.targetHeight-28)/2),ae=L("div")({name:"DataGridOverlayEditorStyle",class:"gdg-d19meir1",propsAsIs:!1,vars:{"d19meir1-0":[te(),"px"],"d19meir1-1":[ee(),"px"],"d19meir1-2":[re(),"px"],"d19meir1-3":[ne(),"px"],"d19meir1-4":[ie(),"px"],"d19meir1-5":[se(),"px"]}});function oe(){const[t,s]=r.useState();return[t??void 0,s]}function de(){const[t,s]=oe(),[n,p]=r.useState(0),[f,b]=r.useState(!0);r.useLayoutEffect(()=>{if(t===void 0||!("IntersectionObserver"in window))return;const a=new IntersectionObserver(o=>{o.length!==0&&b(o[0].isIntersecting)},{threshold:1});return a.observe(t),()=>a.disconnect()},[t]),r.useEffect(()=>{if(f||t===void 0)return;let a;const o=()=>{const{right:v}=t.getBoundingClientRect();p(g=>Math.min(g+window.innerWidth-v-10,0)),a=requestAnimationFrame(o)};return a=requestAnimationFrame(o),()=>{a!==void 0&&cancelAnimationFrame(a)}},[t,f]);const C=r.useMemo(()=>({transform:`translateX(${n}px)`}),[n]);return{ref:s,style:C}}const ue=t=>{const{target:s,content:n,onFinishEditing:p,forceEditMode:f,initialValue:b,imageEditorOverride:C,markdownDivCreateNode:a,highlight:o,className:v,theme:g,id:G,cell:x,bloom:I,validateCell:m,getCellRenderer:w,provideEditor:F,isOutsideClick:H}=t,[d,X]=r.useState(f?n:void 0),O=r.useRef(d??n);O.current=d??n;const[y,S]=r.useState(()=>m===void 0?!0:!(D(n)&&m?.(x,n,O.current)===!1)),u=r.useCallback((e,i)=>{p(y?e:void 0,i)},[y,p]),A=r.useCallback(e=>{if(m!==void 0&&e!==void 0&&D(e)){const i=m(x,e,O.current);i===!1?S(!1):(typeof i=="object"&&(e=i),S(!0))}X(e)},[x,m]),h=r.useRef(!1),c=r.useRef(void 0),K=r.useCallback(()=>{u(d,[0,0]),h.current=!0},[d,u]),W=r.useCallback((e,i)=>{u(e,i??c.current??[0,0]),h.current=!0},[u]),Y=r.useCallback(async e=>{let i=!1;e.key==="Escape"?(e.stopPropagation(),e.preventDefault(),c.current=[0,0]):e.key==="Enter"&&!e.shiftKey?(e.stopPropagation(),e.preventDefault(),c.current=[0,1],i=!0):e.key==="Tab"&&(e.stopPropagation(),e.preventDefault(),c.current=[e.shiftKey?-1:1,0],i=!0),window.setTimeout(()=>{!h.current&&c.current!==void 0&&(u(i?d:void 0,c.current),h.current=!0)},0)},[u,d]),k=d??n,[l,j]=r.useMemo(()=>{if($(n))return[];const e=F?.(n);return e!==void 0?[e,!1]:[w(n)?.provideEditor?.(n),!1]},[n,w,F]),{ref:q,style:B}=de();let P=!0,M,_=!0,E;if(l!==void 0){P=l.disablePadding!==!0,_=l.disableStyling!==!0;const e=z(l);e&&(E=l.styleOverride);const i=e?l.editor:l;M=r.createElement(i,{isHighlighted:o,onChange:A,value:k,initialValue:b,onFinishedEditing:W,validatedSelection:D(k)?k.selectionRange:void 0,forceEditMode:f,target:s,imageEditorOverride:C,markdownDivCreateNode:a,isValid:y,theme:g})}E={...E,...B};const N=document.getElementById("portal");if(N===null)return console.error('Cannot open Data Grid overlay editor, because portal not found. Please add `<div id="portal" />` as the last child of your `<body>`.'),null;let R=_?"gdg-style":"gdg-unstyle";y||(R+=" gdg-invalid"),P&&(R+=" gdg-pad");const T=I?.[0]??1,V=I?.[1]??1;return J.createPortal(r.createElement(Q.Provider,{value:g},r.createElement(U,{style:Z(g),className:v,onClickOutside:K,isOutsideClick:H},r.createElement(ae,{ref:q,id:G,className:R,style:E,as:j===!0?"label":void 0,targetX:s.x-T,targetY:s.y-V,targetWidth:s.width+T*2,targetHeight:s.height+V*2},r.createElement("div",{className:"gdg-clip-region",onKeyDown:Y},M)))),N)};export{ue as default};