efficient-shell 15.6.0 → 15.9.0
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 +12 -6
- package/dist/{Browser-MBT76EKF.js → Browser-FEZ2X7B5.js} +13 -13
- package/dist/Calculator-MBHZSFJ6.js +29 -0
- package/dist/CurrencyConverter-7FPB7WJE.js +21 -0
- package/dist/{Files-G5VBN3GD.js → Files-DHTF6LGF.js} +61 -61
- package/dist/Notepad-KS37VSPL.js +24 -0
- package/dist/{PdfViewer-AIAVQYZ6.js → PdfViewer-KS2BCFSA.js} +1 -1
- package/dist/PomodoroTimer-TYSJOYDJ.js +91 -0
- package/dist/{Preview-4VKAQ4TY.js → Preview-NXCA3X4S.js} +24 -24
- package/dist/Sidebar-IU4EG3D3.js +44 -0
- package/dist/{Stock-6YYK6VWP.js → Stock-Y74YC25V.js} +6 -6
- package/dist/{Weather-2OU3LEWQ.js → Weather-EO4LYAPA.js} +22 -22
- package/dist/{WorldClock-PYJ4762U.js → WorldClock-3E3KLHSD.js} +7 -7
- package/dist/ai/index.js +35 -35
- package/dist/apps/ImageAnnotator.js +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/bin/browser-check.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/charts/FlowChart.js +1 -1
- package/dist/{chunk-LFUXWZV7.js → chunk-2EBHJGMM.js} +1 -1
- package/dist/chunk-37FQVY2O.js +2 -0
- package/dist/chunk-3AUPCKBR.js +1 -0
- package/dist/{chunk-VHBRVW5O.js → chunk-3OK5VZOU.js} +3 -3
- package/dist/{chunk-UYM7562M.js → chunk-43YU7YWL.js} +2 -2
- package/dist/{chunk-XYVFJLAU.js → chunk-452LT77I.js} +1 -1
- package/dist/chunk-4YH7U7WL.js +1 -0
- package/dist/{chunk-KERCZSIA.js → chunk-54WCVNJJ.js} +1 -1
- package/dist/{chunk-OK2J6WSC.js → chunk-6ZQC6XFU.js} +1 -1
- package/dist/{chunk-A3RD7AQ2.js → chunk-7AF5JGRM.js} +1 -1
- package/dist/{chunk-RIA6KKIB.js → chunk-7EPCBDS5.js} +6 -6
- package/dist/{chunk-4NTAZLT3.js → chunk-7KUHILEA.js} +3 -3
- package/dist/{chunk-N3T5BE2T.js → chunk-ATTQTQJI.js} +9 -9
- package/dist/chunk-AYTGYEOI.js +8 -0
- package/dist/{chunk-S6C7X6CR.js → chunk-AZANUXJT.js} +16 -16
- package/dist/{chunk-QSFQTMWV.js → chunk-BGLUOC7W.js} +1 -1
- package/dist/{chunk-D7MRZZVV.js → chunk-BYTQRQ5P.js} +1 -1
- package/dist/{chunk-DVKOVZJ2.js → chunk-DFI5EHSV.js} +12 -12
- package/dist/{chunk-GUUBFQ6L.js → chunk-DYJQIZX2.js} +2 -2
- package/dist/{chunk-KTI4ZJVX.js → chunk-GNB6KUCT.js} +1 -1
- package/dist/chunk-GURLMAZM.js +3 -0
- package/dist/{chunk-NICH2O4C.js → chunk-GYY7GS2I.js} +1 -1
- package/dist/chunk-GZ4AMXEU.js +1 -0
- package/dist/{chunk-GUOAPXUY.js → chunk-GZ57F6PN.js} +4 -4
- package/dist/{chunk-OQAGCYR7.js → chunk-HPDNKHIO.js} +3 -3
- package/dist/chunk-IDH323EU.js +6 -0
- package/dist/{chunk-5OXQ5M5S.js → chunk-JKO4JZPO.js} +1 -1
- package/dist/{chunk-YEDAXZYO.js → chunk-JU6VBLTU.js} +1 -1
- package/dist/{chunk-ZVKUOJNS.js → chunk-JUGRSO5J.js} +1 -1
- package/dist/{chunk-PCNFY6EK.js → chunk-LH7ZKPHJ.js} +12 -12
- package/dist/{chunk-5QHNDAZ6.js → chunk-LLXI57MB.js} +1 -1
- package/dist/chunk-LRASKGEZ.js +4 -0
- package/dist/chunk-LYGIOJ3J.js +1 -0
- package/dist/{chunk-V62FEHS4.js → chunk-MDXZ7YAC.js} +1 -1
- package/dist/{chunk-62UNBUTU.js → chunk-NO5BMPT5.js} +1 -1
- package/dist/{chunk-3AVXNZY5.js → chunk-NPBRNEMR.js} +1 -1
- package/dist/chunk-OHRKENEP.js +69 -0
- package/dist/{chunk-JRKD7SD3.js → chunk-OLXUMB2V.js} +16 -16
- package/dist/chunk-ONUNFTZD.js +11 -0
- package/dist/{chunk-KIIZNION.js → chunk-OX7Q5PPR.js} +5 -5
- package/dist/{chunk-ASNRA3ZL.js → chunk-P7X4PWJJ.js} +1 -1
- package/dist/chunk-PLJB4H3G.js +1 -0
- package/dist/{chunk-UMIRPFQJ.js → chunk-QD7IODP2.js} +1 -1
- package/dist/{chunk-NM7U42KL.js → chunk-QO2CN2ND.js} +8 -8
- package/dist/{chunk-QSOBETAI.js → chunk-QY2DGLCJ.js} +6 -6
- package/dist/chunk-R7OZ2AQD.js +6 -0
- package/dist/{chunk-U7PA4KNZ.js → chunk-RBOGLXMV.js} +8 -8
- package/dist/{chunk-OEWBWKKD.js → chunk-SWH3IEUT.js} +9 -9
- package/dist/{chunk-LGVVXYW7.js → chunk-SYASK4QG.js} +1 -1
- package/dist/{chunk-YXMXATYP.js → chunk-THVE54FN.js} +1 -1
- package/dist/{chunk-TEYG2W7A.js → chunk-TM5NQTFA.js} +2 -2
- package/dist/{chunk-FQ3SYDKI.js → chunk-US7F3NC3.js} +1 -1
- package/dist/{chunk-OZNCUWYB.js → chunk-V77UETV3.js} +1 -1
- package/dist/{chunk-I2NVBDKH.js → chunk-VLT4ZEHT.js} +1 -1
- package/dist/chunk-WUNZBM53.js +28 -0
- package/dist/chunk-XNPCOWOO.js +89 -0
- package/dist/{chunk-EULBBS5L.js → chunk-XOEYCDWT.js} +1 -1
- package/dist/{chunk-QJ3X2PHY.js → chunk-YCA2XXAB.js} +1 -1
- package/dist/{chunk-AKEED2BC.js → chunk-YQKNRT7L.js} +1 -1
- package/dist/{chunk-QYOIS4BN.js → chunk-ZKWAWQ74.js} +3 -3
- package/dist/chunk-ZLB5GRL6.js +1 -0
- package/dist/{chunk-3C2VY2VF.js → chunk-ZV2ZAHZV.js} +1 -1
- package/dist/data/EntityList.js +1 -1
- package/dist/data/ListLoadError.js +1 -1
- package/dist/format/index.d.ts +15 -1
- package/dist/format/index.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/BrandAssetEditor.js +1 -1
- package/dist/forms/Button.d.ts +1 -0
- package/dist/forms/Button.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/ComposerAttachments.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/DateRangePicker.js +1 -1
- package/dist/forms/IconButton.js +1 -1
- package/dist/forms/IconPicker.js +1 -1
- package/dist/forms/Input.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/MediaUsedInList.js +1 -1
- package/dist/forms/NumericKeypad.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/RenameField.js +1 -1
- package/dist/forms/SearchInput.js +1 -1
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/Snippet.js +1 -1
- package/dist/forms/SplitButton.js +1 -1
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/forms/buttonStyles.d.ts +8 -1
- package/dist/forms/buttonStyles.js +1 -1
- package/dist/hooks/index.d.ts +42 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.d.ts +117 -75
- package/dist/index.js +662 -662
- package/dist/map/index.js +3 -3
- package/dist/motion.css +9 -4
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/routine-index.json +1 -1
- package/dist/shell/AppUpdateBanner.js +1 -1
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/Dialog.js +1 -1
- package/dist/shell/Drawer.js +1 -1
- package/dist/shell/HelpCenter.js +1 -1
- package/dist/shell/ImageLightbox.js +1 -1
- package/dist/shell/Markdown.js +1 -1
- package/dist/shell/Popover.js +1 -1
- package/dist/shell/SearchableSelect.js +1 -1
- package/dist/shell/discardGuard.js +1 -1
- package/dist/shell/toast.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/AuthScreen.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DashboardTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/ErrorBoundary.js +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/templates/GalleryTemplate.js +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/value-index.json +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-PAMITD4N.js +0 -29
- package/dist/CurrencyConverter-UAZYLLHT.js +0 -21
- package/dist/Notepad-23YBRLDH.js +0 -24
- package/dist/PomodoroTimer-QFF2FTAG.js +0 -91
- package/dist/Sidebar-KAALEIIX.js +0 -44
- package/dist/chunk-345FP3IX.js +0 -4
- package/dist/chunk-5RCKE4X2.js +0 -6
- package/dist/chunk-6ZNJ6JU5.js +0 -28
- package/dist/chunk-A4ROXNUF.js +0 -2
- package/dist/chunk-APFDZ2HG.js +0 -1
- package/dist/chunk-DEV3ZHPP.js +0 -8
- package/dist/chunk-IN36HWJK.js +0 -1
- package/dist/chunk-MQNSKFZY.js +0 -11
- package/dist/chunk-QXEZBS3H.js +0 -6
- package/dist/chunk-R6YVKP6D.js +0 -3
- package/dist/chunk-TDUOBP55.js +0 -69
- package/dist/chunk-UQYNPYF4.js +0 -1
- package/dist/chunk-XRWUNOI3.js +0 -92
- /package/dist/{chunk-TEQ5ZPAL.js → chunk-NQWORKZD.js} +0 -0
package/dist/forms/IconPicker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{IconPicker as default}from"../chunk-
|
|
2
|
+
export{IconPicker as default}from"../chunk-ZKWAWQ74.js";import"../chunk-LRASKGEZ.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-BWJZTHZ6.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/forms/Input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{END_ACTIONS_PAD,INPUT_END_ACTION_SIZE,InputEndActionButton,InputEndActionSlot,Input_default as default}from"../chunk-
|
|
2
|
+
export{END_ACTIONS_PAD,INPUT_END_ACTION_SIZE,InputEndActionButton,InputEndActionSlot,Input_default as default}from"../chunk-BYTQRQ5P.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{InputNumber_default as default,stepRounding}from"../chunk-
|
|
2
|
+
export{InputNumber_default as default,stepRounding}from"../chunk-TM5NQTFA.js";import"../chunk-4MDSZSLC.js";import"../chunk-X3LMTOMA.js";import"../chunk-2NMW66P5.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/forms/LinkPicker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{TextLinkField,LinkPicker as default}from"../chunk-
|
|
2
|
+
export{TextLinkField,LinkPicker as default}from"../chunk-ATTQTQJI.js";import"../chunk-DFI5EHSV.js";import"../chunk-EQKUFYX6.js";import"../chunk-W7HTHKN2.js";import"../chunk-EO5RLFRX.js";import"../chunk-GML6FVPA.js";import"../chunk-2NMW66P5.js";import"../chunk-UJUTS6LJ.js";import"../chunk-Z5TE3MEG.js";import"../chunk-BYTQRQ5P.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-37FQVY2O.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary as default,readMediaFileDrag}from"../chunk-
|
|
2
|
+
export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary as default,readMediaFileDrag}from"../chunk-WUNZBM53.js";import"../chunk-BTMZ5MUY.js";import"../chunk-5B7CLXHC.js";import"../chunk-ONUNFTZD.js";import"../chunk-CGUMJZUB.js";import"../chunk-IC72MGON.js";import"../chunk-AYTGYEOI.js";import"../chunk-W3454ZES.js";import"../chunk-SACUSHVN.js";import"../chunk-WREUA43Q.js";import"../chunk-UFJR63AO.js";import"../chunk-GRAFJD3L.js";import"../chunk-6ZQC6XFU.js";import"../chunk-B4Y5NGHR.js";import"../chunk-XOEYCDWT.js";import"../chunk-W7HTHKN2.js";import"../chunk-EO5RLFRX.js";import"../chunk-GML6FVPA.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-VLKDWKVR.js";import"../chunk-OLFYNMTD.js";import"../chunk-LACL4MAR.js";import"../chunk-452LT77I.js";import"../chunk-CGZBDI6C.js";import"../chunk-TALQMTCE.js";import"../chunk-EFKJLUYP.js";import"../chunk-MF7OELXP.js";import"../chunk-OSMRYND3.js";import"../chunk-BYTQRQ5P.js";import"../chunk-AYZY3YNC.js";import"../chunk-TAIH2VIW.js";import"../chunk-TAB3K2WF.js";import"../chunk-TNGIXSTM.js";import"../chunk-EIFNESXS.js";import"../chunk-PO2KNVCC.js";import"../chunk-CJ4OEY3T.js";import"../chunk-LLXI57MB.js";import"../chunk-NQWORKZD.js";import"../chunk-VWGWZY7A.js";import"../chunk-DBQNYJZ6.js";import"../chunk-L2WQOJ3T.js";import"../chunk-UGTRSRIW.js";import"../chunk-F3ZOO23R.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-ABIWAS5K.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-37FQVY2O.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-BWJZTHZ6.js";import"../chunk-FAPZFMS3.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-VLT4ZEHT.js";import"../chunk-LYGIOJ3J.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-MAFUXCPZ.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{MediaUsedInList as default}from"../chunk-
|
|
2
|
+
export{MediaUsedInList as default}from"../chunk-XOEYCDWT.js";import"../chunk-L2WQOJ3T.js";import"../chunk-ABIWAS5K.js";import"../chunk-37FQVY2O.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-FAPZFMS3.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{NumericKeypad as default}from"../chunk-
|
|
2
|
+
export{NumericKeypad as default}from"../chunk-54WCVNJJ.js";import"../chunk-VEPVOHCV.js";import"../chunk-37FQVY2O.js";import"../chunk-TSZPGDU3.js";import"../chunk-R2VKEMZH.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{PositionInput as default}from"../chunk-
|
|
2
|
+
export{PositionInput as default}from"../chunk-JU6VBLTU.js";import"../chunk-TM5NQTFA.js";import"../chunk-4MDSZSLC.js";import"../chunk-X3LMTOMA.js";import"../chunk-2NMW66P5.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{RenameField as default}from"../chunk-
|
|
2
|
+
export{RenameField as default}from"../chunk-6ZQC6XFU.js";import"../chunk-BYTQRQ5P.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SearchInput_default as default}from"../chunk-
|
|
2
|
+
export{SearchInput_default as default}from"../chunk-YQKNRT7L.js";import"../chunk-BYTQRQ5P.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";
|
package/dist/forms/SidesInput.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SidesEachToggle,SidesInput as default,sidesStartEach}from"../chunk-
|
|
2
|
+
export{SidesEachToggle,SidesInput as default,sidesStartEach}from"../chunk-MDXZ7YAC.js";import"../chunk-TM5NQTFA.js";import"../chunk-4MDSZSLC.js";import"../chunk-X3LMTOMA.js";import"../chunk-2NMW66P5.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/forms/Slider.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SliderGroup,Slider as default,settleSliderValue,sliderBoxChars,stepDecimals}from"../chunk-
|
|
2
|
+
export{SliderGroup,Slider as default,settleSliderValue,sliderBoxChars,stepDecimals}from"../chunk-7EPCBDS5.js";import"../chunk-TM5NQTFA.js";import"../chunk-4MDSZSLC.js";import"../chunk-X3LMTOMA.js";import"../chunk-2NMW66P5.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/forms/Snippet.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{Snippet as default}from"../chunk-
|
|
2
|
+
export{Snippet as default}from"../chunk-QY2DGLCJ.js";import"../chunk-452LT77I.js";import"../chunk-4YH7U7WL.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-VLT4ZEHT.js";import"../chunk-LYGIOJ3J.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{SplitButton_default as default}from"../chunk-
|
|
2
|
+
export{SplitButton_default as default}from"../chunk-GURLMAZM.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-37FQVY2O.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{TextToolbar as default,textToolbarRows,textToolbarWindowColumns}from"../chunk-
|
|
2
|
+
export{TextToolbar as default,textToolbarRows,textToolbarWindowColumns}from"../chunk-IDH323EU.js";import"../chunk-72UHB4JU.js";import"../chunk-4YH7U7WL.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
package/dist/forms/WidthsBar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{WidthsBar as default}from"../chunk-
|
|
2
|
+
export{WidthsBar as default}from"../chunk-OX7Q5PPR.js";import"../chunk-PLGJOHEG.js";import"../chunk-TM5NQTFA.js";import"../chunk-4MDSZSLC.js";import"../chunk-X3LMTOMA.js";import"../chunk-2NMW66P5.js";import"../chunk-UVCMV2TL.js";import"../chunk-AYZY3YNC.js";import"../chunk-NJY4HPNB.js";import"../chunk-PM6HY5BH.js";import"../chunk-DWGYC7OD.js";import"../chunk-4YH7U7WL.js";import"../chunk-P56YLT73.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-TSZPGDU3.js";import"../chunk-ISVODSRP.js";import"../chunk-J75ZT2JQ.js";import"../chunk-CIZAUBWA.js";import"../chunk-PGN5ME7B.js";import"../chunk-5QRHQCRG.js";import"../chunk-62LW225J.js";import"../chunk-TAHHZGRH.js";import"../chunk-KEFNQEXZ.js";import"../chunk-PU2GJVMG.js";import"../chunk-3FININUU.js";import"../chunk-LYGIOJ3J.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-NRHG4R2Q.js";import"../chunk-C3QOHMR6.js";
|
|
@@ -37,8 +37,15 @@
|
|
|
37
37
|
* on hover the light red wash `ghost-danger` has. Pick by the row: quiet
|
|
38
38
|
* `ghost` buttons around it → `ghost-danger`; outlined ones → this; the one
|
|
39
39
|
* action a confirm dialog asks for → `danger`.
|
|
40
|
+
*
|
|
41
|
+
* `secondary-warning` is the step BACK (harness UI-56): Revert to Submitted,
|
|
42
|
+
* Reopen, Revert to draft. A Next step that moves the record to an earlier
|
|
43
|
+
* status sits beside the blue Primary that moves it forward, and the two must
|
|
44
|
+
* not look alike. The same `secondary` shape again, in amber: an amber
|
|
45
|
+
* border, amber text, and on hover a light amber wash. Solid `warning` would
|
|
46
|
+
* be a second filled button in the row, which UI-56 keeps for the Primary.
|
|
40
47
|
*/
|
|
41
|
-
type ButtonVariant = 'primary' | 'secondary' | 'secondary-danger' | 'ghost' | 'ghost-danger' | 'danger' | 'warning' | 'link';
|
|
48
|
+
type ButtonVariant = 'primary' | 'secondary' | 'secondary-danger' | 'secondary-warning' | 'ghost' | 'ghost-danger' | 'danger' | 'warning' | 'link';
|
|
42
49
|
/**
|
|
43
50
|
* `sm`/`md`/`lg` are the desktop scale. The `touch-*` rungs are for a finger on
|
|
44
51
|
* glass — a till, a warehouse tablet — and are a SEPARATE ladder on purpose:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{buttonClasses,iconButtonClasses}from"../chunk-
|
|
1
|
+
export{buttonClasses,iconButtonClasses}from"../chunk-LYGIOJ3J.js";
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -27,4 +27,45 @@ import { EffectCallback, DependencyList } from 'react';
|
|
|
27
27
|
*/
|
|
28
28
|
declare function useBrowserLayoutEffect(effect: EffectCallback, deps?: DependencyList): void;
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* A history that lives outside the shell's form stack — an editor's document
|
|
32
|
+
* store — answered by the shell's keys. Read at each key press, so the
|
|
33
|
+
* functions may close over live state and need not be stable.
|
|
34
|
+
*/
|
|
35
|
+
interface UndoSource {
|
|
36
|
+
undo: () => void;
|
|
37
|
+
redo: () => void;
|
|
38
|
+
/** False leaves the key alone (no `preventDefault`), as an empty stack does:
|
|
39
|
+
* nothing to step to, or the document may not be written right now. */
|
|
40
|
+
canUndo: () => boolean;
|
|
41
|
+
canRedo: () => boolean;
|
|
42
|
+
}
|
|
43
|
+
/** Something that dispatches `keydown`: a frame's `Document`, or an element. */
|
|
44
|
+
type KeyTarget = Pick<EventTarget, 'addEventListener' | 'removeEventListener'>;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Put a history the shell does not hold under the shell's undo keys.
|
|
48
|
+
*
|
|
49
|
+
* The shell is the one owner of ⌘Z / Ctrl+Z (undo) and ⇧⌘Z / Ctrl+Shift+Z /
|
|
50
|
+
* Ctrl+Y (redo), and undo has no buttons. An editor that keeps its own history
|
|
51
|
+
* (efficient-easel's document store) does not bind the keys itself; it hands
|
|
52
|
+
* the history over:
|
|
53
|
+
*
|
|
54
|
+
* useUndoHistory(
|
|
55
|
+
* { undo: history.back, redo: history.forward,
|
|
56
|
+
* canUndo: () => canWrite() && history.hasPast,
|
|
57
|
+
* canRedo: () => canWrite() && history.hasFuture },
|
|
58
|
+
* [canvasFrameDocument],
|
|
59
|
+
* );
|
|
60
|
+
*
|
|
61
|
+
* Inside a window, the window's stack answers the keys with this history while
|
|
62
|
+
* the caller is mounted. `keyTargets` are other places a key can be pressed
|
|
63
|
+
* that never reach `window` — an iframe's document — and they answer for the
|
|
64
|
+
* same window; pass the same number of them on every render. Outside any `UndoProvider` (a page with no shell windows) the
|
|
65
|
+
* hook binds `window` and the targets itself, with the same key rule
|
|
66
|
+
* (`matchUndoHotkey`), so there is still one rule. A press in a text field is
|
|
67
|
+
* that field's own undo either way.
|
|
68
|
+
*/
|
|
69
|
+
declare function useUndoHistory(source: UndoSource, keyTargets?: ReadonlyArray<KeyTarget | null | undefined>): void;
|
|
70
|
+
|
|
71
|
+
export { type KeyTarget, type UndoSource, useBrowserLayoutEffect, useUndoHistory };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{useBrowserLayoutEffect}from"../chunk-PU2GJVMG.js";
|
|
2
|
+
export{useUndoHistory}from"../chunk-ZLB5GRL6.js";export{useBrowserLayoutEffect}from"../chunk-PU2GJVMG.js";import"../chunk-3AUPCKBR.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -247,7 +247,7 @@ import * as _tanstack_query_core from '@tanstack/query-core';
|
|
|
247
247
|
export { A as AnonymousClientTelemetryConfig, C as ClientTelemetry, a as ClientTelemetryConfig, S as SignedInClientTelemetryConfig, s as startClientTelemetry } from './client-DZeDEyG1.js';
|
|
248
248
|
export { B as BORDER_LINE_STYLES, a as BorderLineStyle } from './borderLineStyles-C-W0uSzL.js';
|
|
249
249
|
export { B as BRAND_ICON_NAMES, a as BrandIconName, i as isBrandIconName } from './brand-icon-names-hvdry30t.js';
|
|
250
|
-
export { useBrowserLayoutEffect } from './hooks/index.js';
|
|
250
|
+
export { KeyTarget, UndoSource, useBrowserLayoutEffect, useUndoHistory } from './hooks/index.js';
|
|
251
251
|
import './optionItems-Cxd85rTy.js';
|
|
252
252
|
import './moveGrip-sB7jfCia.js';
|
|
253
253
|
import 'web-vitals';
|
|
@@ -869,6 +869,20 @@ declare class WindowErrorBoundary extends Component<WindowErrorBoundaryProps, {
|
|
|
869
869
|
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
870
870
|
}
|
|
871
871
|
|
|
872
|
+
interface Shortcut {
|
|
873
|
+
keys: string;
|
|
874
|
+
description: string;
|
|
875
|
+
}
|
|
876
|
+
interface ShortcutSection {
|
|
877
|
+
title: string;
|
|
878
|
+
shortcuts: Shortcut[];
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* The shell's shortcuts — the one list. A host that draws its own sheet (the
|
|
882
|
+
* admin portal adds its Windows and Help sections) starts from this rather
|
|
883
|
+
* than copying it, so a key the shell adds shows up there too.
|
|
884
|
+
*/
|
|
885
|
+
declare const SHELL_SHORTCUT_SECTIONS: ShortcutSection[];
|
|
872
886
|
declare function ShortcutHelp(): react_jsx_runtime.JSX.Element;
|
|
873
887
|
|
|
874
888
|
interface ShellContextMenuProps {
|
|
@@ -2192,33 +2206,23 @@ interface MergeBulkOptions<T extends BaseItem> {
|
|
|
2192
2206
|
declare function mergeBulkItems<T extends BaseItem>(options: MergeBulkOptions<T>): MergeBulkResult<T>;
|
|
2193
2207
|
|
|
2194
2208
|
interface UndoControlsProps {
|
|
2195
|
-
/**
|
|
2209
|
+
/** Ignored since undo became keys only. Kept so existing call sites compile. */
|
|
2196
2210
|
className?: string;
|
|
2197
|
-
/**
|
|
2198
|
-
* Set by the shell on the pair it mounts itself — the window footer's, or a
|
|
2199
|
-
* nested provider's. A form's own `<UndoControls />` leaves it unset and
|
|
2200
|
-
* claims the stack, and the shell then mounts nothing for it — so a form
|
|
2201
|
-
* written before the shell did this keeps its pair where it put it, and
|
|
2202
|
-
* shows one rather than two.
|
|
2203
|
-
*/
|
|
2211
|
+
/** Ignored since undo became keys only. */
|
|
2204
2212
|
auto?: boolean;
|
|
2205
2213
|
}
|
|
2206
2214
|
/**
|
|
2207
|
-
* Undo
|
|
2208
|
-
*
|
|
2209
|
-
* The shell mounts this pair itself, in the window footer's left slot, for any
|
|
2210
|
-
* window whose form has registered state and whose user may edit it — a form
|
|
2211
|
-
* has nothing to add for the buttons to appear. Mount it by hand only for a
|
|
2212
|
-
* place the footer is not: a section header, a toolbar of a page with no
|
|
2213
|
-
* window footer. The keys work without it; this is for discoverability and for
|
|
2214
|
-
* the mouse. Both buttons stay rendered and go disabled, so the row does not
|
|
2215
|
-
* reflow the moment there is something to undo.
|
|
2215
|
+
* @deprecated Undo and redo are keyboard only (⌘Z, ⇧⌘Z, Ctrl+Y), and the
|
|
2216
|
+
* shell owns the keys (`UndoProvider`). This renders nothing. Remove the call.
|
|
2216
2217
|
*
|
|
2217
|
-
*
|
|
2218
|
-
*
|
|
2219
|
-
*
|
|
2218
|
+
* It drew an Undo/Redo pair in a form's footer. On 2026-11-24 Victor Mau ruled
|
|
2219
|
+
* that undo needs no buttons and has one owner: the shell's per-window stack,
|
|
2220
|
+
* which every window already has through `WindowManager`. The export stays as
|
|
2221
|
+
* a no-op so the portals keep building while they drop their calls.
|
|
2222
|
+
* Delete by 2027-01-31, after admin, customer and supplier drop their calls
|
|
2223
|
+
* (the undo-hotkeys rollout owns that move).
|
|
2220
2224
|
*/
|
|
2221
|
-
declare function UndoControls(
|
|
2225
|
+
declare function UndoControls(_props: UndoControlsProps): null;
|
|
2222
2226
|
|
|
2223
2227
|
/** Result of a single health poll. `latencyMs` is optional; when omitted on
|
|
2224
2228
|
* an ok result the indicator simply shows no latency for that poll. */
|
|
@@ -2566,6 +2570,96 @@ interface UndoState {
|
|
|
2566
2570
|
past: UndoStep[];
|
|
2567
2571
|
future: UndoStep[];
|
|
2568
2572
|
}
|
|
2573
|
+
/** The parts of a keydown the matcher reads. */
|
|
2574
|
+
interface UndoHotkeyEvent {
|
|
2575
|
+
key: string;
|
|
2576
|
+
metaKey: boolean;
|
|
2577
|
+
ctrlKey: boolean;
|
|
2578
|
+
shiftKey: boolean;
|
|
2579
|
+
altKey: boolean;
|
|
2580
|
+
target: {
|
|
2581
|
+
tagName?: string;
|
|
2582
|
+
isContentEditable?: boolean;
|
|
2583
|
+
/** Present on an Element: the rule asks for an editable ancestor, which a
|
|
2584
|
+
* browser folds into `isContentEditable` and jsdom does not. */
|
|
2585
|
+
closest?: (selector: string) => {
|
|
2586
|
+
getAttribute: (name: string) => string | null;
|
|
2587
|
+
} | null;
|
|
2588
|
+
} | null;
|
|
2589
|
+
}
|
|
2590
|
+
/**
|
|
2591
|
+
* Which action a keydown asks for, or null for none.
|
|
2592
|
+
*
|
|
2593
|
+
* ⌘Z / Ctrl+Z undoes, ⇧⌘Z / Ctrl+Shift+Z / Ctrl+Y redoes — except while the
|
|
2594
|
+
* caret is in a field. Inside an input, a textarea, or a grid cell, ⌘Z means
|
|
2595
|
+
* "take back what I just typed", and the browser does that better than we
|
|
2596
|
+
* could. Leaving the field ends that run and turns it into one step here, so
|
|
2597
|
+
* the next ⌘Z outside the field takes the whole edit back.
|
|
2598
|
+
*/
|
|
2599
|
+
declare function matchUndoHotkey(e: UndoHotkeyEvent): 'undo' | 'redo' | null;
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* The slice hooks of the window undo stack, in a leaf module that reaches
|
|
2603
|
+
* React and the context and nothing else.
|
|
2604
|
+
*
|
|
2605
|
+
* Moved out of `UndoProvider.tsx` (2026-11-24) so a kit module — the image
|
|
2606
|
+
* annotator, which `efficient-shell/ui` ships — can put its state under the
|
|
2607
|
+
* window's stack without importing the provider, `Modal` and the window
|
|
2608
|
+
* manager behind it. `UndoProvider.tsx` re-exports both; import them from
|
|
2609
|
+
* there or the barrel as before.
|
|
2610
|
+
*/
|
|
2611
|
+
interface UndoableOptions {
|
|
2612
|
+
/** Names the step in a button title: `"qty"`, `"line items"`. */
|
|
2613
|
+
label: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* Consecutive changes sharing a key fold into one step — pass the field name
|
|
2616
|
+
* so a run of typing is one Undo rather than one per keystroke. Omit for a
|
|
2617
|
+
* change that is already whole, like a bulk import or a deleted row.
|
|
2618
|
+
*/
|
|
2619
|
+
coalesceKey?: string | null;
|
|
2620
|
+
}
|
|
2621
|
+
/**
|
|
2622
|
+
* Put one piece of the form's state under the window's undo stack.
|
|
2623
|
+
*
|
|
2624
|
+
* `value` is watched; when it changes, the form as it stood beforehand becomes
|
|
2625
|
+
* a step. `apply` puts a value back — the same setter the form already uses.
|
|
2626
|
+
*
|
|
2627
|
+
* const [items, setItems] = useState<Line[]>([]);
|
|
2628
|
+
* useUndoable(items, setItems, { label: 'line items' });
|
|
2629
|
+
*
|
|
2630
|
+
* Registering more than one slice is the point: a step snapshots all of them
|
|
2631
|
+
* together, so undoing restores a coherent form rather than one slice out of
|
|
2632
|
+
* step with the rest.
|
|
2633
|
+
*
|
|
2634
|
+
* `value` must be the state itself, not something derived from it on the way
|
|
2635
|
+
* in. A change is detected by identity, so `useUndoable(rows.filter(r => r.on),
|
|
2636
|
+
* ...)` hands over a new array on every render and reads as a change every
|
|
2637
|
+
* time — and since recording a step re-renders the provider, that closes a
|
|
2638
|
+
* loop at render speed. The provider trips a runaway guard and says so rather
|
|
2639
|
+
* than letting the tab hang, but the fix is at the call site: register the
|
|
2640
|
+
* state, and derive from it afterwards.
|
|
2641
|
+
*/
|
|
2642
|
+
declare function useUndoable<T>(value: T, apply: (next: T) => void, opts: UndoableOptions): void;
|
|
2643
|
+
/**
|
|
2644
|
+
* `useState`, with the value in the window's undo stack.
|
|
2645
|
+
*
|
|
2646
|
+
* Written to be a rename rather than an extra line, because the forms this is
|
|
2647
|
+
* for hold their state in dozens of separate `useState` calls — one of them has
|
|
2648
|
+
* forty-three. Adopting a form is then a per-line edit:
|
|
2649
|
+
*
|
|
2650
|
+
* const [supplier, setSupplier] = useState('');
|
|
2651
|
+
* const [supplier, setSupplier] = useUndoableState('', { label: 'supplier' });
|
|
2652
|
+
*
|
|
2653
|
+
* Which also makes the choice legible: state left as plain `useState` is state
|
|
2654
|
+
* deliberately kept out of the history. Keep it that way for anything that is
|
|
2655
|
+
* not the user's input — a search box, fetched data, validation output, an
|
|
2656
|
+
* initialisation guard. Undoing those puts stale results back on screen, and a
|
|
2657
|
+
* reverted guard can re-fire the effect it exists to suppress.
|
|
2658
|
+
*
|
|
2659
|
+
* Pass `coalesceKey` for anything typed into, so a run of keystrokes is one
|
|
2660
|
+
* Undo; the field's own name is the obvious key.
|
|
2661
|
+
*/
|
|
2662
|
+
declare function useUndoableState<T>(initial: T | (() => T), opts: UndoableOptions): [T, React.Dispatch<React.SetStateAction<T>>];
|
|
2569
2663
|
|
|
2570
2664
|
interface UndoProviderProps {
|
|
2571
2665
|
children: React.ReactNode;
|
|
@@ -2697,57 +2791,5 @@ declare function useUndo(): UndoControlsApi;
|
|
|
2697
2791
|
* the footer for the pair with it.
|
|
2698
2792
|
*/
|
|
2699
2793
|
declare function useUndoCanEdit(canEdit: boolean): void;
|
|
2700
|
-
interface UndoableOptions {
|
|
2701
|
-
/** Names the step in a button title: `"qty"`, `"line items"`. */
|
|
2702
|
-
label: string;
|
|
2703
|
-
/**
|
|
2704
|
-
* Consecutive changes sharing a key fold into one step — pass the field name
|
|
2705
|
-
* so a run of typing is one Undo rather than one per keystroke. Omit for a
|
|
2706
|
-
* change that is already whole, like a bulk import or a deleted row.
|
|
2707
|
-
*/
|
|
2708
|
-
coalesceKey?: string | null;
|
|
2709
|
-
}
|
|
2710
|
-
/**
|
|
2711
|
-
* Put one piece of the form's state under the window's undo stack.
|
|
2712
|
-
*
|
|
2713
|
-
* `value` is watched; when it changes, the form as it stood beforehand becomes
|
|
2714
|
-
* a step. `apply` puts a value back — the same setter the form already uses.
|
|
2715
|
-
*
|
|
2716
|
-
* const [items, setItems] = useState<Line[]>([]);
|
|
2717
|
-
* useUndoable(items, setItems, { label: 'line items' });
|
|
2718
|
-
*
|
|
2719
|
-
* Registering more than one slice is the point: a step snapshots all of them
|
|
2720
|
-
* together, so undoing restores a coherent form rather than one slice out of
|
|
2721
|
-
* step with the rest.
|
|
2722
|
-
*
|
|
2723
|
-
* `value` must be the state itself, not something derived from it on the way
|
|
2724
|
-
* in. A change is detected by identity, so `useUndoable(rows.filter(r => r.on),
|
|
2725
|
-
* ...)` hands over a new array on every render and reads as a change every
|
|
2726
|
-
* time — and since recording a step re-renders the provider, that closes a
|
|
2727
|
-
* loop at render speed. The provider trips a runaway guard and says so rather
|
|
2728
|
-
* than letting the tab hang, but the fix is at the call site: register the
|
|
2729
|
-
* state, and derive from it afterwards.
|
|
2730
|
-
*/
|
|
2731
|
-
declare function useUndoable<T>(value: T, apply: (next: T) => void, opts: UndoableOptions): void;
|
|
2732
|
-
/**
|
|
2733
|
-
* `useState`, with the value in the window's undo stack.
|
|
2734
|
-
*
|
|
2735
|
-
* Written to be a rename rather than an extra line, because the forms this is
|
|
2736
|
-
* for hold their state in dozens of separate `useState` calls — one of them has
|
|
2737
|
-
* forty-three. Adopting a form is then a per-line edit:
|
|
2738
|
-
*
|
|
2739
|
-
* const [supplier, setSupplier] = useState('');
|
|
2740
|
-
* const [supplier, setSupplier] = useUndoableState('', { label: 'supplier' });
|
|
2741
|
-
*
|
|
2742
|
-
* Which also makes the choice legible: state left as plain `useState` is state
|
|
2743
|
-
* deliberately kept out of the history. Keep it that way for anything that is
|
|
2744
|
-
* not the user's input — a search box, fetched data, validation output, an
|
|
2745
|
-
* initialisation guard. Undoing those puts stale results back on screen, and a
|
|
2746
|
-
* reverted guard can re-fire the effect it exists to suppress.
|
|
2747
|
-
*
|
|
2748
|
-
* Pass `coalesceKey` for anything typed into, so a run of keystrokes is one
|
|
2749
|
-
* Undo; the field's own name is the obvious key.
|
|
2750
|
-
*/
|
|
2751
|
-
declare function useUndoableState<T>(initial: T | (() => T), opts: UndoableOptions): [T, React.Dispatch<React.SetStateAction<T>>];
|
|
2752
2794
|
|
|
2753
|
-
export { type ActivityKind, type AsyncEnvironment, BLOCKED_PCT_CPU, type BatteryInfo, BehaviorPanel, type BottleneckKind, type BulkColumn, type BulkColumnKind, BulkImportGrid, type BulkImportGridProps, type BulkRow, CancelButton, ChangePasswordForm, type ChangePasswordFormProps, type ChangelogEntry, type ClockCalendarConfig, CopyButton, Customization, type CustomizationOmitSection, type CustomizationProps, type CustomizationSection, DEV_BANNER_TEXT, Desktop, type DesktopContextMenuItem, type DesktopHostConfig, DesktopHostProvider, DevIndicator, DocFavStar, DropdownMenuEntry, type DuplicateGroup, EditState, type EntityFetcher, type EntityRefetchIntervalOption, type EntityRefetchOnWindowFocusOption, EntityWindowFallback, type EntityWindowFallbackProps, EntityWindowLoading, EntityWindowState, type EntityWindowStateProps, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, IN_BROWSER, LOG_CAP, Layout, type LayoutMode, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, MODAL_SUBMIT_SELECTOR, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, type ModalEdit, ModalMoreActions, NotificationBell, type NotificationsConfig, type OpenPageOptions, PaginatedResponse, PdfActionButton, type PdfActionButtonProps, type PerfEnvironment, type PerfLogRecord, type PerfReading, type PerfReport, PerfStats, type PerfStatsProps, type PlatformHints, SMOOTH_FPS, SearchConfig, ServerStatusIndicator, type ServerStatusIndicatorProps, type ServerStatusUser, type ShellAuth, ShellAuthProvider, type ShellBranding, ShellContextMenu, type ShellContextMenuProps, ShellEntityFetcherProvider, type ShellNotification, ShortcutHelp, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, type TitleParts, type TitleRole, type TodoProvider, type TodoTask, UndoControls, type UndoControlsApi, type UndoControlsProps, UndoProvider, type UndoProviderProps, type UndoSnapshot, type UndoState, type UndoStep, type UndoableOptions, type Verdict, WidgetManager, type WindowControlsInset, WindowCrashedFallback, WindowEditSlot, WindowErrorBoundary, WindowManagerProvider, WindowRegistry, type WindowTarget, type WindowTargetOptions, WindowTitle, activateWindowById, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, copyToClipboard, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, installThemeIconSets, isDevEnv, isInteracting, layoutModeOf, markMenuOpen, mergeBulkItems, notificationRowParts, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, splitTitle, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useCurrentTabKey, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, usePageSearch, useSetLayoutMode, useShellAuth, useShellEntityFetcher, useUndo, useUndoCanEdit, useUndoable, useUndoableState, useWidgetSettings, useWindowControlsInset, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };
|
|
2795
|
+
export { type ActivityKind, type AsyncEnvironment, BLOCKED_PCT_CPU, type BatteryInfo, BehaviorPanel, type BottleneckKind, type BulkColumn, type BulkColumnKind, BulkImportGrid, type BulkImportGridProps, type BulkRow, CancelButton, ChangePasswordForm, type ChangePasswordFormProps, type ChangelogEntry, type ClockCalendarConfig, CopyButton, Customization, type CustomizationOmitSection, type CustomizationProps, type CustomizationSection, DEV_BANNER_TEXT, Desktop, type DesktopContextMenuItem, type DesktopHostConfig, DesktopHostProvider, DevIndicator, DocFavStar, DropdownMenuEntry, type DuplicateGroup, EditState, type EntityFetcher, type EntityRefetchIntervalOption, type EntityRefetchOnWindowFocusOption, EntityWindowFallback, type EntityWindowFallbackProps, EntityWindowLoading, EntityWindowState, type EntityWindowStateProps, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, IN_BROWSER, LOG_CAP, Layout, type LayoutMode, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, MODAL_SUBMIT_SELECTOR, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, type ModalEdit, ModalMoreActions, NotificationBell, type NotificationsConfig, type OpenPageOptions, PaginatedResponse, PdfActionButton, type PdfActionButtonProps, type PerfEnvironment, type PerfLogRecord, type PerfReading, type PerfReport, PerfStats, type PerfStatsProps, type PlatformHints, SHELL_SHORTCUT_SECTIONS, SMOOTH_FPS, SearchConfig, ServerStatusIndicator, type ServerStatusIndicatorProps, type ServerStatusUser, type ShellAuth, ShellAuthProvider, type ShellBranding, ShellContextMenu, type ShellContextMenuProps, ShellEntityFetcherProvider, type ShellNotification, type Shortcut, ShortcutHelp, type ShortcutSection, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, type TitleParts, type TitleRole, type TodoProvider, type TodoTask, UndoControls, type UndoControlsApi, type UndoControlsProps, UndoProvider, type UndoProviderProps, type UndoSnapshot, type UndoState, type UndoStep, type UndoableOptions, type Verdict, WidgetManager, type WindowControlsInset, WindowCrashedFallback, WindowEditSlot, WindowErrorBoundary, WindowManagerProvider, WindowRegistry, type WindowTarget, type WindowTargetOptions, WindowTitle, activateWindowById, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, copyToClipboard, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, installThemeIconSets, isDevEnv, isInteracting, layoutModeOf, markMenuOpen, matchUndoHotkey, mergeBulkItems, notificationRowParts, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, splitTitle, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useCurrentTabKey, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, usePageSearch, useSetLayoutMode, useShellAuth, useShellEntityFetcher, useUndo, useUndoCanEdit, useUndoable, useUndoableState, useWidgetSettings, useWindowControlsInset, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };
|