efficient-shell 10.16.0 → 10.17.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.
Files changed (394) hide show
  1. package/dist/{Browser-RI5X7GMK.js → Browser-4B76MFTG.js} +13 -13
  2. package/dist/Calculator-AXFKAC7G.js +29 -0
  3. package/dist/{CurrencyConverter-2GUEE7ZR.js → CurrencyConverter-36BFSFRS.js} +8 -8
  4. package/dist/{Documents-GI346UL5.js → Documents-VKAMBKSP.js} +15 -15
  5. package/dist/Files-NRYZG4KY.js +88 -0
  6. package/dist/{Notepad-HRZKLHO3.js → Notepad-AQXGH6VP.js} +10 -10
  7. package/dist/{PdfViewer-LU5JKHSG.js → PdfViewer-Y3SAVADX.js} +1 -1
  8. package/dist/{PomodoroTimer-QYCTTTPZ.js → PomodoroTimer-RHDLKJBY.js} +63 -63
  9. package/dist/{Preview-LSGN5GN7.js → Preview-DEBTZQP5.js} +47 -47
  10. package/dist/Sidebar-CB6KRPW2.js +44 -0
  11. package/dist/{Spreadsheet-7JBZY6KJ.js → Spreadsheet-FSHLWXYP.js} +13 -13
  12. package/dist/{Stock-ZVQT25IE.js → Stock-CV53A432.js} +3 -3
  13. package/dist/{Weather-RAUDLLVU.js → Weather-R4MCLH7F.js} +19 -19
  14. package/dist/{WorldClock-2XBWZ6SZ.js → WorldClock-CSFPCZHU.js} +6 -6
  15. package/dist/ai/index.d.ts +1 -1
  16. package/dist/ai/index.js +81 -80
  17. package/dist/ai.css +1 -1
  18. package/dist/apps/index.js +1 -1
  19. package/dist/bin/media-host-check.js +1 -1
  20. package/dist/bin/ui-check.js +1 -1
  21. package/dist/charts/BoxPlotChart.js +1 -1
  22. package/dist/charts/CandlestickChart.js +1 -1
  23. package/dist/charts/CartesianPlot.js +1 -1
  24. package/dist/charts/ChartBrush.js +1 -1
  25. package/dist/charts/ChartFrame.js +1 -1
  26. package/dist/charts/ChartSkeleton.js +1 -1
  27. package/dist/charts/ChartTooltip.js +1 -1
  28. package/dist/charts/ChordChart.js +1 -1
  29. package/dist/charts/ColumnChart.js +1 -1
  30. package/dist/charts/FunnelChart.js +1 -1
  31. package/dist/charts/HeatmapChart.js +1 -1
  32. package/dist/charts/HistogramChart.js +1 -1
  33. package/dist/charts/Meter.js +1 -1
  34. package/dist/charts/PieChart.js +1 -1
  35. package/dist/charts/RadarChart.js +1 -1
  36. package/dist/charts/RadialBarChart.js +1 -1
  37. package/dist/charts/RangeChart.js +1 -1
  38. package/dist/charts/RankedBars.js +1 -1
  39. package/dist/charts/SankeyChart.js +1 -1
  40. package/dist/charts/ScatterChart.js +1 -1
  41. package/dist/charts/SpecChart.js +1 -1
  42. package/dist/charts/StatTile.js +1 -1
  43. package/dist/charts/SunburstChart.js +1 -1
  44. package/dist/charts/TimeSeriesChart.js +1 -1
  45. package/dist/charts/TreemapChart.js +1 -1
  46. package/dist/charts/WaterfallChart.js +1 -1
  47. package/dist/chunk-26RTJKHD.js +2 -0
  48. package/dist/{chunk-F2R3UFNQ.js → chunk-2E2SUEEE.js} +1 -1
  49. package/dist/chunk-2EVTN26H.js +2 -0
  50. package/dist/{chunk-M22B3Y5Y.js → chunk-3IUPYCW3.js} +1 -1
  51. package/dist/{chunk-N3TOHWFF.js → chunk-3J2PO3KW.js} +1 -1
  52. package/dist/{chunk-X6BFVDB4.js → chunk-3PR7FLTZ.js} +2 -2
  53. package/dist/{chunk-PCFBDXLN.js → chunk-3TKMH5VR.js} +1 -1
  54. package/dist/{chunk-4WEFGKJL.js → chunk-3VLG6LR3.js} +4 -4
  55. package/dist/{chunk-CBEKJTXU.js → chunk-4D66DUU5.js} +5 -5
  56. package/dist/{chunk-XDBG4HPV.js → chunk-4EZIWLJJ.js} +1 -1
  57. package/dist/{chunk-FWVC4A2O.js → chunk-4MJA2SPJ.js} +13 -13
  58. package/dist/chunk-4Q25UHWB.js +22 -0
  59. package/dist/{chunk-EZEYKCI6.js → chunk-4ULRP4Y4.js} +1 -1
  60. package/dist/chunk-4V73LGZG.js +11 -0
  61. package/dist/{chunk-S6FBMSFU.js → chunk-5IPFQV34.js} +2 -2
  62. package/dist/{chunk-3ELLBQPS.js → chunk-5LCDCO46.js} +1 -1
  63. package/dist/{chunk-GISDIVFK.js → chunk-5N5AAYQV.js} +1 -1
  64. package/dist/{chunk-7HTRLRVO.js → chunk-5VAIVRK6.js} +62 -62
  65. package/dist/{chunk-RLJHRDDW.js → chunk-5W2OEDUD.js} +8 -8
  66. package/dist/chunk-6ACS4S4P.js +15 -0
  67. package/dist/{chunk-ULXCDM7Y.js → chunk-6V4INP7J.js} +10 -10
  68. package/dist/{chunk-LCJRTJXT.js → chunk-7AZAMDGG.js} +9 -9
  69. package/dist/{chunk-AKM6JBMD.js → chunk-7ELJQL7J.js} +1 -1
  70. package/dist/chunk-7RPYVQEV.js +2 -0
  71. package/dist/{chunk-UPQW4GCT.js → chunk-7TZV6G2F.js} +1 -1
  72. package/dist/{chunk-VTFZ6W2D.js → chunk-7X4QNWA7.js} +2 -2
  73. package/dist/{chunk-D7F442OZ.js → chunk-AEJYSUVQ.js} +1 -1
  74. package/dist/{chunk-QYSEYYV7.js → chunk-AFINCNY3.js} +1 -1
  75. package/dist/{chunk-DKGZPVLL.js → chunk-AFYLVV74.js} +1 -1
  76. package/dist/{chunk-H4HB5OET.js → chunk-AWKJZSTO.js} +1 -1
  77. package/dist/chunk-B3CN55UI.js +2 -0
  78. package/dist/{chunk-CQV3VSI2.js → chunk-B4HSNEBK.js} +1 -1
  79. package/dist/{chunk-57HN6MPC.js → chunk-BE777IO7.js} +2 -2
  80. package/dist/{chunk-K4ANB6AF.js → chunk-BVIOCAEU.js} +1 -1
  81. package/dist/{chunk-4UKGVLFP.js → chunk-BZUA5F33.js} +1 -1
  82. package/dist/{chunk-QP4UPCXQ.js → chunk-C764JODK.js} +1 -1
  83. package/dist/chunk-CCIGAU5Y.js +6 -0
  84. package/dist/{chunk-CKKUFDZ3.js → chunk-CF7BMDU3.js} +18 -18
  85. package/dist/{chunk-LEDUD23S.js → chunk-CLTRQ7AQ.js} +1 -1
  86. package/dist/{chunk-7TNAOZZ2.js → chunk-CNUHLJYD.js} +1 -1
  87. package/dist/chunk-CUKDQPEN.js +19 -0
  88. package/dist/{chunk-ISJPW2FZ.js → chunk-D6OYQM4V.js} +11 -11
  89. package/dist/{chunk-W6URVLQF.js → chunk-DOC52JBV.js} +17 -17
  90. package/dist/{chunk-IOJNSX4N.js → chunk-DQQKG46I.js} +7 -7
  91. package/dist/{chunk-INNIWRVU.js → chunk-E6GDAV5R.js} +2 -2
  92. package/dist/{chunk-TM33D3CE.js → chunk-EC527NE3.js} +1 -1
  93. package/dist/{chunk-RCPFUDPS.js → chunk-EDMDKQNO.js} +3 -3
  94. package/dist/{chunk-3EJ64VKE.js → chunk-EN5NXWT6.js} +1 -1
  95. package/dist/{chunk-MTEFYFUO.js → chunk-ENDCV7B3.js} +9 -9
  96. package/dist/{chunk-MCDM2G4W.js → chunk-EOWUUOVE.js} +1 -1
  97. package/dist/{chunk-4G2C6J4I.js → chunk-EQCFPRKJ.js} +1 -1
  98. package/dist/{chunk-TXDA7TTP.js → chunk-EQZZ4V5X.js} +1 -1
  99. package/dist/{chunk-WINNA7LS.js → chunk-EZUQ5NXE.js} +1 -1
  100. package/dist/chunk-F7Z47OIF.js +12 -0
  101. package/dist/{chunk-2SY76NFO.js → chunk-FEATDGFD.js} +4 -4
  102. package/dist/chunk-FX6DBXXD.js +1 -0
  103. package/dist/{chunk-7JGR7WPD.js → chunk-G4JTO5PB.js} +1 -1
  104. package/dist/{chunk-SG4LO2AN.js → chunk-G4PGEQOX.js} +10 -10
  105. package/dist/{chunk-W3OWPBQL.js → chunk-GD7ILVPF.js} +2 -2
  106. package/dist/chunk-GDQJBQ5B.js +1 -0
  107. package/dist/chunk-GLBLKHYA.js +5 -0
  108. package/dist/{chunk-WB4P4QE2.js → chunk-H7BKSATJ.js} +1 -1
  109. package/dist/{chunk-L4IW77TD.js → chunk-HJ2BDUO6.js} +4 -4
  110. package/dist/chunk-HJCUDXLV.js +1 -0
  111. package/dist/{chunk-SDQIXE5M.js → chunk-HLQVB7FG.js} +8 -8
  112. package/dist/chunk-HLVOHOBC.js +6 -0
  113. package/dist/{chunk-QHOBK35Y.js → chunk-HS2E7DVI.js} +1 -1
  114. package/dist/chunk-HXNMRJQ4.js +2 -0
  115. package/dist/chunk-HXZ5XPBS.js +3 -0
  116. package/dist/{chunk-3LDXURVU.js → chunk-HYDVHGVT.js} +2 -2
  117. package/dist/chunk-IDV32UV7.js +29 -0
  118. package/dist/chunk-IHFZ7OXO.js +14 -0
  119. package/dist/{chunk-MNSKGMVZ.js → chunk-ILP7QVW5.js} +8 -8
  120. package/dist/{chunk-KJ4CBZEQ.js → chunk-IMDGMUE3.js} +1 -1
  121. package/dist/{chunk-JGTGQGHY.js → chunk-IX7QXMNJ.js} +1 -1
  122. package/dist/chunk-JFH5HW2G.js +12 -0
  123. package/dist/{chunk-HNBGLF4B.js → chunk-JFV5CQN4.js} +1 -1
  124. package/dist/{chunk-7MSC3Z5H.js → chunk-JH4ZCPHW.js} +8 -8
  125. package/dist/{chunk-OOLPDASG.js → chunk-JSG2AKCG.js} +1 -1
  126. package/dist/{chunk-6RX4PVBU.js → chunk-JTMEFXRL.js} +1 -1
  127. package/dist/{chunk-YOSUCCHG.js → chunk-K7L3ZCPB.js} +3 -3
  128. package/dist/chunk-KLBJ646Z.js +8 -0
  129. package/dist/{chunk-7NBSBGLX.js → chunk-L2RS2UQM.js} +8 -8
  130. package/dist/{chunk-PYAJCN2Q.js → chunk-LAMRQE2P.js} +1 -1
  131. package/dist/{chunk-ULAGXDOL.js → chunk-LXL2UCUR.js} +1 -1
  132. package/dist/{chunk-O6JJIR4H.js → chunk-M5LR7ZZX.js} +1 -1
  133. package/dist/{chunk-UWIZX3RK.js → chunk-MAFSELZK.js} +1 -1
  134. package/dist/{chunk-N67QX3WW.js → chunk-MMQ6ETRD.js} +2 -2
  135. package/dist/{chunk-XTCXX5LJ.js → chunk-MS5APD3V.js} +1 -1
  136. package/dist/chunk-MUXGWDEH.js +2 -0
  137. package/dist/{chunk-GPJO34QP.js → chunk-N4ZEB4UD.js} +9 -9
  138. package/dist/{chunk-E3753CWP.js → chunk-NRI26RYC.js} +2 -2
  139. package/dist/{chunk-7HLC352T.js → chunk-NVFYLTJ6.js} +17 -17
  140. package/dist/chunk-NXVFY22L.js +9 -0
  141. package/dist/{chunk-QDQ347RL.js → chunk-NYEMGKAE.js} +1 -1
  142. package/dist/{chunk-5UYZ75F3.js → chunk-NZGNOMWX.js} +12 -12
  143. package/dist/{chunk-3NW5LD7D.js → chunk-NZQCDFDG.js} +3 -3
  144. package/dist/{chunk-BJXDOM2N.js → chunk-OBJGUJIE.js} +1 -1
  145. package/dist/{chunk-AUWTGM65.js → chunk-OH5L6HYW.js} +3 -3
  146. package/dist/{chunk-ZURB2DCM.js → chunk-OPN4I565.js} +1 -1
  147. package/dist/{chunk-7SMV6G4Z.js → chunk-ORIXCEKO.js} +1 -1
  148. package/dist/{chunk-FEQDZTZ7.js → chunk-OUIE2N2Z.js} +6 -6
  149. package/dist/{chunk-TOVKWNI2.js → chunk-P3RXXWXN.js} +6 -6
  150. package/dist/{chunk-ON67HF5K.js → chunk-PCTOL2FX.js} +8 -8
  151. package/dist/{chunk-6XBWM453.js → chunk-Q3IR5SKD.js} +1 -1
  152. package/dist/{chunk-7ZP64SC7.js → chunk-Q5QS5MFX.js} +1 -1
  153. package/dist/{chunk-4QJOEHM6.js → chunk-QEB2UTHO.js} +7 -7
  154. package/dist/{chunk-I2XGPTCN.js → chunk-QJLBBDX2.js} +1 -1
  155. package/dist/{chunk-AJO72CPB.js → chunk-QLVJ5W4G.js} +2 -2
  156. package/dist/chunk-QO5E33DH.js +8 -0
  157. package/dist/{chunk-LPXMHYTM.js → chunk-QVZKRROQ.js} +1 -1
  158. package/dist/{chunk-EXJXOKUU.js → chunk-QYL26AB4.js} +1 -1
  159. package/dist/chunk-RAAH4TQU.js +1 -0
  160. package/dist/{chunk-JJW43QPS.js → chunk-RBEI4CKX.js} +5 -5
  161. package/dist/{chunk-TVH7IZQ4.js → chunk-REWKL7MX.js} +2 -2
  162. package/dist/{chunk-MVZRZTQP.js → chunk-S5SRXI4V.js} +1 -1
  163. package/dist/{chunk-QYRMFGES.js → chunk-SAP4YI2Y.js} +1 -1
  164. package/dist/{chunk-KTA77U3P.js → chunk-SDATPJM2.js} +4 -4
  165. package/dist/{chunk-KEPJWZJZ.js → chunk-SL77N7VT.js} +3 -3
  166. package/dist/{chunk-UDRMZ22J.js → chunk-SOBGCIPF.js} +1 -1
  167. package/dist/{chunk-H32EQG5Z.js → chunk-SOJEQHZ2.js} +9 -9
  168. package/dist/{chunk-34URULVW.js → chunk-SQCUN2DX.js} +1 -1
  169. package/dist/chunk-SRWZE3WA.js +6 -0
  170. package/dist/{chunk-5RE6R3XC.js → chunk-SXNQHIBY.js} +1 -1
  171. package/dist/{chunk-GGK27H67.js → chunk-TGGUYAWA.js} +1 -1
  172. package/dist/chunk-TGXO3CDO.js +2 -0
  173. package/dist/{chunk-74OUAR6L.js → chunk-TIGTIT3L.js} +6 -6
  174. package/dist/{chunk-UYRITNQW.js → chunk-TLWGOQI3.js} +3 -3
  175. package/dist/{chunk-MQU3PZUS.js → chunk-TMMNCXQT.js} +1 -1
  176. package/dist/chunk-TNDRHHKN.js +14 -0
  177. package/dist/{chunk-SHKBDFSE.js → chunk-TXDBOSSB.js} +1 -1
  178. package/dist/{chunk-DRDYZ633.js → chunk-U32J7D4Q.js} +2 -2
  179. package/dist/{chunk-LDE5IV2M.js → chunk-UABVKJK7.js} +4 -4
  180. package/dist/{chunk-UTWJKSET.js → chunk-UEISJFZH.js} +5 -5
  181. package/dist/{chunk-B7UCXROE.js → chunk-UG6RI525.js} +1 -1
  182. package/dist/chunk-UXPBVRSE.js +7 -0
  183. package/dist/{chunk-W5CJD54C.js → chunk-VAK5FQXH.js} +1 -1
  184. package/dist/{chunk-O7DW2BKY.js → chunk-VHF3CJVO.js} +28 -28
  185. package/dist/{chunk-7X5FABQS.js → chunk-VHPT7ZS5.js} +5 -5
  186. package/dist/{chunk-MHB52H2Y.js → chunk-WON5GBJY.js} +12 -12
  187. package/dist/{chunk-D4I3U7UE.js → chunk-WS7XIJS6.js} +1 -1
  188. package/dist/{chunk-AOK3BHRT.js → chunk-WWLKVGV7.js} +4 -4
  189. package/dist/{chunk-G4GVLK44.js → chunk-WZ5QSSUM.js} +6 -6
  190. package/dist/{chunk-LO5T2K4B.js → chunk-X2KMUHBB.js} +3 -3
  191. package/dist/{chunk-CPZ42W2B.js → chunk-XCAO2F3H.js} +1 -1
  192. package/dist/chunk-XGJQVIEG.js +2 -0
  193. package/dist/{chunk-PVZGSCCB.js → chunk-XKJ7GEVA.js} +5 -5
  194. package/dist/chunk-XPTOKPUM.js +11 -0
  195. package/dist/{chunk-XZGGJHJC.js → chunk-XQMPLXGG.js} +15 -15
  196. package/dist/{chunk-VKKK4WLS.js → chunk-XQZL6JDD.js} +6 -6
  197. package/dist/{chunk-JEH5EVIG.js → chunk-XSJHN2GD.js} +1 -1
  198. package/dist/{chunk-2VGQS6CW.js → chunk-XTV3CAV7.js} +1 -1
  199. package/dist/{chunk-3AH524CN.js → chunk-XYECIBVX.js} +1 -1
  200. package/dist/{chunk-6C6TRDNI.js → chunk-YG2TWBDH.js} +1 -1
  201. package/dist/chunk-YG6Y5X7S.js +7 -0
  202. package/dist/chunk-YJ5IHIAI.js +2 -0
  203. package/dist/{chunk-NBVHJZVS.js → chunk-YQFGRYEF.js} +12 -12
  204. package/dist/chunk-YUECA3XB.js +8 -0
  205. package/dist/chunk-YYZ73H64.js +7 -0
  206. package/dist/{chunk-7UTPXU6K.js → chunk-ZF2MNQXY.js} +1 -1
  207. package/dist/{chunk-ZW3IDCP2.js → chunk-ZGOHRLXG.js} +1 -1
  208. package/dist/{chunk-6AS5PHHK.js → chunk-ZI3DGOW6.js} +17 -17
  209. package/dist/{chunk-TKJBZIHT.js → chunk-ZMRGHVKS.js} +1 -1
  210. package/dist/data/DataTable.js +1 -1
  211. package/dist/data/Kanban.js +1 -1
  212. package/dist/data/ListFooter.js +1 -1
  213. package/dist/data/ListLoadError.js +1 -1
  214. package/dist/data/Pagination.js +1 -1
  215. package/dist/file-intake/index.js +1 -1
  216. package/dist/forms/AlignmentGrid.js +1 -1
  217. package/dist/forms/BorderInput.js +1 -1
  218. package/dist/forms/BrandAssetEditor.js +1 -1
  219. package/dist/forms/Button.js +1 -1
  220. package/dist/forms/Calendar.js +1 -1
  221. package/dist/forms/ColorPicker.js +1 -1
  222. package/dist/forms/ComposerAttachments.js +1 -1
  223. package/dist/forms/CornersInput.js +1 -1
  224. package/dist/forms/DatePicker.js +1 -1
  225. package/dist/forms/DateRangePicker.js +1 -1
  226. package/dist/forms/DateTimePicker.js +1 -1
  227. package/dist/forms/DisplayChips.js +1 -1
  228. package/dist/forms/FilePicker.js +1 -1
  229. package/dist/forms/FormErrorSummary.js +1 -1
  230. package/dist/forms/IconButton.js +1 -1
  231. package/dist/forms/IconPicker.js +1 -1
  232. package/dist/forms/ImageFocusPoint.js +1 -1
  233. package/dist/forms/InputNumber.js +1 -1
  234. package/dist/forms/LinkPicker.js +1 -1
  235. package/dist/forms/MediaLibrary.js +1 -1
  236. package/dist/forms/MediaUploadField.js +1 -1
  237. package/dist/forms/MediaUploadGrid.js +1 -1
  238. package/dist/forms/MediaUsedInList.js +1 -1
  239. package/dist/forms/NumericKeypad.js +1 -1
  240. package/dist/forms/PictureTiles.js +1 -1
  241. package/dist/forms/PositionInput.js +1 -1
  242. package/dist/forms/Segmented.js +1 -1
  243. package/dist/forms/Select.d.ts +1 -1
  244. package/dist/forms/Select.js +1 -1
  245. package/dist/forms/SidesInput.js +1 -1
  246. package/dist/forms/Slider.js +1 -1
  247. package/dist/forms/Snippet.js +1 -1
  248. package/dist/forms/SplitButton.js +1 -1
  249. package/dist/forms/TagInput.js +1 -1
  250. package/dist/forms/TextToolbar.d.ts +1 -1
  251. package/dist/forms/TextToolbar.js +1 -1
  252. package/dist/forms/TimePicker.js +1 -1
  253. package/dist/forms/WidthsBar.js +1 -1
  254. package/dist/forms/mediaLibraryMenu.js +1 -1
  255. package/dist/forms/mediaMoveItems.js +1 -1
  256. package/dist/forms/textAlign.d.ts +1 -1
  257. package/dist/forms/textAlign.js +1 -1
  258. package/dist/forms/useFileIntake.js +1 -1
  259. package/dist/hooks/useTheme.d.ts +1 -1
  260. package/dist/icons/efficient-glyphs.d.ts +2 -0
  261. package/dist/icons/efficient-glyphs.js +1 -1
  262. package/dist/icons/efficient-looks.d.ts +4 -0
  263. package/dist/icons/efficient-looks.js +1 -1
  264. package/dist/icons/efficient-meanings.d.ts +2 -0
  265. package/dist/icons/efficient-meanings.js +1 -1
  266. package/dist/icons/efficient.d.ts +2 -0
  267. package/dist/icons/efficient.js +1 -1
  268. package/dist/icons/glyphs/SeparatorSlashIcon.d.ts +8 -0
  269. package/dist/icons/glyphs/SeparatorSlashIcon.js +1 -0
  270. package/dist/icons/glyphs/SeparatorTriangleIcon.d.ts +8 -0
  271. package/dist/icons/glyphs/SeparatorTriangleIcon.js +1 -0
  272. package/dist/icons/index.d.ts +2 -2
  273. package/dist/icons/index.js +1 -1
  274. package/dist/icons/looks/SeparatorSlashMiniIcon.d.ts +8 -0
  275. package/dist/icons/looks/SeparatorSlashMiniIcon.js +1 -0
  276. package/dist/icons/looks/SeparatorSlashSolidIcon.d.ts +8 -0
  277. package/dist/icons/looks/SeparatorSlashSolidIcon.js +1 -0
  278. package/dist/icons/looks/SeparatorTriangleMiniIcon.d.ts +8 -0
  279. package/dist/icons/looks/SeparatorTriangleMiniIcon.js +1 -0
  280. package/dist/icons/looks/SeparatorTriangleSolidIcon.d.ts +8 -0
  281. package/dist/icons/looks/SeparatorTriangleSolidIcon.js +1 -0
  282. package/dist/icons/looks/map.js +1 -1
  283. package/dist/icons/sets.js +1 -1
  284. package/dist/index.d.ts +4 -4
  285. package/dist/index.js +256 -256
  286. package/dist/locales/zh-Hans.js +1 -1
  287. package/dist/map/index.js +8 -8
  288. package/dist/{names-Bmx_9y41.d.ts → names-CkQuQ47O.d.ts} +1 -1
  289. package/dist/page-tabs/index.js +5 -5
  290. package/dist/pdf/index.js +1 -1
  291. package/dist/shell/Accordion.js +1 -1
  292. package/dist/shell/AppUpdateBanner.js +1 -1
  293. package/dist/shell/Avatar.js +1 -1
  294. package/dist/shell/Banner.js +1 -1
  295. package/dist/shell/Breadcrumbs.js +1 -1
  296. package/dist/shell/BudgetBar.js +1 -1
  297. package/dist/shell/Card.js +1 -1
  298. package/dist/shell/ColoredBadge.js +1 -1
  299. package/dist/shell/ConfirmDialog.js +1 -1
  300. package/dist/shell/ContainerFillChart.js +1 -1
  301. package/dist/shell/ContextMenu.js +1 -1
  302. package/dist/shell/CountBadge.js +1 -1
  303. package/dist/shell/Dialog.js +1 -1
  304. package/dist/shell/Drawer.js +1 -1
  305. package/dist/shell/DropdownMenu.js +1 -1
  306. package/dist/shell/EditableGrid.js +1 -1
  307. package/dist/shell/EmptyState.js +1 -1
  308. package/dist/shell/FloatingBar.js +1 -1
  309. package/dist/shell/GlobalSearch.js +1 -1
  310. package/dist/shell/HelpCenter.js +1 -1
  311. package/dist/shell/IconRail.js +1 -1
  312. package/dist/shell/ImageLightbox.js +1 -1
  313. package/dist/shell/ItemCount.js +1 -1
  314. package/dist/shell/LanguageSelect.js +1 -1
  315. package/dist/shell/Markdown.d.ts +1 -1
  316. package/dist/shell/Markdown.js +1 -1
  317. package/dist/shell/MetricBar.js +1 -1
  318. package/dist/shell/MetricBarLegend.js +1 -1
  319. package/dist/shell/MilestoneTimeline.js +1 -1
  320. package/dist/shell/PageHeader.js +1 -1
  321. package/dist/shell/Popover.js +1 -1
  322. package/dist/shell/PopupMenu.js +1 -1
  323. package/dist/shell/ProductionTimeline.js +1 -1
  324. package/dist/shell/ResizeHandle.js +1 -1
  325. package/dist/shell/Result.js +1 -1
  326. package/dist/shell/SearchableSelect.js +1 -1
  327. package/dist/shell/SettingReset.js +1 -1
  328. package/dist/shell/SettingRow.js +1 -1
  329. package/dist/shell/SidebarLayout.js +1 -1
  330. package/dist/shell/SidebarNav.js +1 -1
  331. package/dist/shell/SortableList.js +1 -1
  332. package/dist/shell/Statistic.js +1 -1
  333. package/dist/shell/StatusBadge.js +1 -1
  334. package/dist/shell/Tabs.js +1 -1
  335. package/dist/shell/TimeAgo.js +1 -1
  336. package/dist/shell/TimelineTrack.js +1 -1
  337. package/dist/shell/Tooltip.js +1 -1
  338. package/dist/shell/TopNav.js +1 -1
  339. package/dist/shell/TransferProgress.js +1 -1
  340. package/dist/shell/Tree.js +1 -1
  341. package/dist/shell/discardGuard.js +1 -1
  342. package/dist/shell/language.js +1 -1
  343. package/dist/shell/strings.d.ts +6 -0
  344. package/dist/shell/strings.js +1 -1
  345. package/dist/shell/toast.js +1 -1
  346. package/dist/telemetry/index.js +1 -1
  347. package/dist/templates/AuthScreen.js +1 -1
  348. package/dist/templates/ChatTemplate.js +1 -1
  349. package/dist/templates/CheckoutTemplate.js +1 -1
  350. package/dist/templates/DashboardTemplate.js +1 -1
  351. package/dist/templates/DataTablePage.js +1 -1
  352. package/dist/templates/EmailTemplate.js +1 -1
  353. package/dist/templates/ErrorBoundary.d.ts +1 -1
  354. package/dist/templates/ErrorBoundary.js +1 -1
  355. package/dist/templates/ErrorPage.js +1 -1
  356. package/dist/templates/FormLayoutPage.js +1 -1
  357. package/dist/templates/GalleryTemplate.js +1 -1
  358. package/dist/ui/index.d.ts +1 -1
  359. package/dist/ui/index.js +1 -1
  360. package/dist/version.js +1 -1
  361. package/package.json +1 -1
  362. package/dist/Calculator-Y566OMJZ.js +0 -29
  363. package/dist/Files-UA23KXN7.js +0 -88
  364. package/dist/Sidebar-2P26444H.js +0 -44
  365. package/dist/chunk-2JG5JU4M.js +0 -8
  366. package/dist/chunk-4PAWQEXM.js +0 -1
  367. package/dist/chunk-7XYTJPWW.js +0 -29
  368. package/dist/chunk-BNJWZAQE.js +0 -12
  369. package/dist/chunk-COJYPNKF.js +0 -2
  370. package/dist/chunk-DESWIPOZ.js +0 -3
  371. package/dist/chunk-DWR7MYQU.js +0 -7
  372. package/dist/chunk-EU3JZGV2.js +0 -14
  373. package/dist/chunk-I4VIEGCX.js +0 -2
  374. package/dist/chunk-IKNG7EFQ.js +0 -12
  375. package/dist/chunk-JSGQWVYH.js +0 -7
  376. package/dist/chunk-KTVXPGGB.js +0 -11
  377. package/dist/chunk-LU6NA4RU.js +0 -5
  378. package/dist/chunk-M4K6FLIY.js +0 -1
  379. package/dist/chunk-PJQGYKN6.js +0 -11
  380. package/dist/chunk-PN5FQVMB.js +0 -7
  381. package/dist/chunk-PN65IIYN.js +0 -8
  382. package/dist/chunk-PUF75SMJ.js +0 -1
  383. package/dist/chunk-Q6YNMNUH.js +0 -6
  384. package/dist/chunk-RPYFOQM2.js +0 -6
  385. package/dist/chunk-RRUHQLUY.js +0 -14
  386. package/dist/chunk-TMNAHOJ7.js +0 -9
  387. package/dist/chunk-UBMY23AG.js +0 -6
  388. package/dist/chunk-VNACNNCJ.js +0 -19
  389. package/dist/chunk-W35N7SL3.js +0 -8
  390. package/dist/chunk-W4OBVKN4.js +0 -1
  391. package/dist/chunk-WMEYNKXZ.js +0 -22
  392. package/dist/chunk-Y3R267FV.js +0 -15
  393. package/dist/chunk-ZZVE64OI.js +0 -2
  394. /package/dist/{chunk-6V6ANLHW.js → chunk-Y2AGVGOP.js} +0 -0
@@ -1,91 +1,91 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-TM33D3CE.js";import{subscribePomo as o,getPomoSnapshot as a,setPomoDurations as n,setPomoAlarm as r,setPomoAlarmConfig as s,setPomoBehaviour as l,setPomoFocusSound as i,useTodoTasks as c,migratePomodoroTasksOnce as d,pomoSwitchMode as u,pomoPause as m,pomoStart as h,ALARM_OPTIONS as p,playAlarm as g,FOCUS_SOUND_OPTIONS as f,previewFocusSound as k}from"./chunk-TVH7IZQ4.js";import{PLACEHOLDER_INK as b}from"./chunk-AYZY3YNC.js";import{pad2 as x}from"./chunk-LF27WIN2.js";import{useWidgetSettings as v}from"./chunk-7HTRLRVO.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-EXJXOKUU.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-F2R3UFNQ.js";import"./chunk-XZGGJHJC.js";import"./chunk-LU6NA4RU.js";import{useShellPrefs as y}from"./chunk-KC3EX26K.js";import"./chunk-QHOBK35Y.js";import"./chunk-3DVNXNTF.js";import"./chunk-N3TOHWFF.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-AKM6JBMD.js";import"./chunk-UGTRSRIW.js";import"./chunk-7TNAOZZ2.js";import"./chunk-CDAJKLGL.js";import"./chunk-4WEFGKJL.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-TXDA7TTP.js";import"./chunk-I4VIEGCX.js";import"./chunk-UQYNPYF4.js";import"./chunk-34URULVW.js";import{Icon as N}from"./chunk-2UO47XB4.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-MVZRZTQP.js";import"./chunk-6XBWM453.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-F27JJHNJ.js";import"./chunk-TWVUQUUD.js";import"./chunk-4PAWQEXM.js";import"./chunk-C3QOHMR6.js";import{useSyncExternalStore as C,useEffect as w,useMemo as S,useState as j,useRef as B,useCallback as M}from"react";import{jsxs as T,Fragment as P,jsx as A}from"react/jsx-runtime";var I="pomodoro_appearance",D="pomodoro_active_task_id",V={focus:"Pomodoro",short:"Short Break",long:"Long Break"},L={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var W=25,R=5,$=15,U=!1,F=!1,J=4,E=!0,H=!0,O="bell",X=100,Z=1,G="none",K=50,Q=(e,t,o,a)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):a;function _(){const t=C(o,a,a),{prefs:g,save:k}=y(),b=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:Q(t.focusMinutes,1,120,W),shortBreakMinutes:Q(t.shortBreakMinutes,1,120,R),longBreakMinutes:Q(t.longBreakMinutes,1,120,$),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:U,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:F,longBreakInterval:Q(t.longBreakInterval,1,20,J),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:E,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:H,alarmSound:p.some(e=>e.id===t.alarmSound)?t.alarmSound:O,alarmVolume:Q(t.alarmVolume,0,100,X),alarmRepeat:Q(t.alarmRepeat,1,5,Z),focusSound:f.some(e=>e.id===t.focusSound)?t.focusSound:G,focusVolume:Q(t.focusVolume,0,100,K)}}(g.pomodoro_settings);w(()=>{n({focus:60*b.focusMinutes,short:60*b.shortBreakMinutes,long:60*b.longBreakMinutes})},[b.focusMinutes,b.shortBreakMinutes,b.longBreakMinutes]),w(()=>{r(b.alarmSound),s(b.alarmVolume,b.alarmRepeat)},[b.alarmSound,b.alarmVolume,b.alarmRepeat]),w(()=>{l({autoStartBreaks:b.autoStartBreaks,autoStartPomodoros:b.autoStartPomodoros,longBreakInterval:b.longBreakInterval})},[b.autoStartBreaks,b.autoStartPomodoros,b.longBreakInterval]),w(()=>{i(b.focusSound,b.focusVolume)},[b.focusSound,b.focusVolume]),w(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const _=c(),z=_.tasks,q=S(()=>/* @__PURE__ */(new Date).toISOString().slice(0,10),[]),ee=function(e,t){return S(()=>t?(e=>{const t=[],o=[];for(const a of e)(a.done?o:t).push(a);return[...t,...o]})(e):e,[e,t])}(S(()=>z.filter(e=>!!e.dueDate&&(e.dueDate===q||e.dueDate<q&&!e.done)),[z,q]),b.checkToBottom),[te,oe]=j(()=>localStorage.getItem(D)),[ae,ne]=j(!1),[re,se]=j(null),le=B(!1);w(()=>{le.current||(le.current=!0,d(z,_.setAllTasks))},[]),w(()=>{try{te?localStorage.setItem(D,te):localStorage.removeItem(D)}catch{}},[te]),w(()=>{if(!re)return;const e=()=>se(null),t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[re]);const ie=B(t.streak);w(()=>{if(t.streak>ie.current&&te){const e=z.find(e=>e.id===te);if(e){const t=(e.completed??0)+1,o=e.estimated??0,a=b.autoCheckTasks&&o>0&&t>=o;_.updateTask(te,{completed:t,done:e.done||a})}}ie.current=t.streak},[t.streak,te,b.autoCheckTasks,z,_]);const de=ee.reduce((e,t)=>e+(t.completed??0),0),ue=ee.reduce((e,t)=>e+Math.max(t.estimated??0,t.completed??0),0),me=ee.reduce((e,t)=>t.done?e:e+Math.max(0,(t.estimated??0)-(t.completed??0)),0),he=t.running&&"focus"===t.mode?t.remaining:0,pe=me*b.focusMinutes*60+he,ge=new Date(Date.now()+1e3*pe).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1}),fe=(pe/3600).toFixed(1),ke=te?z.find(e=>e.id===te)??null:null,be=x(Math.floor(t.remaining/60)),xe=x(t.remaining%60),[ve,ye]=j(()=>e(I)),[Ne,Ce]=j(!1),[we,Se]=j(ve),[je,Be]=j(b);v(M(()=>{Se({...ve}),Be({...b}),Ce(!0)},[ve,b]));const Me="focus"!==t.mode,Te=L[t.mode],Pe=Me?(Ae=Te,Ie=ve.activeOpacity/100,`rgba(${parseInt(Ae.slice(1,3),16)}, ${parseInt(Ae.slice(3,5),16)}, ${parseInt(Ae.slice(5,7),16)}, ${Ie})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${ve.activeOpacity/100})`;var Ae,Ie;const De={primary:Me?"text-white":"text-gray-900",secondary:Me?"text-white/85":"text-gray-700",muted:Me?"text-white/65":"text-gray-500",tabActive:Me?"bg-white/15 text-white":"bg-gray-200 text-gray-900",tabInactive:Me?"text-white/75 hover:bg-white/10":"text-gray-500 hover:bg-gray-200",divider:Me?"border-white/30":"border-gray-200",softDivider:Me?"border-white/20":"border-gray-200",iconBtn:Me?"bg-black/15 hover:bg-black/25 text-white/85":"bg-gray-200 hover:bg-gray-300 text-gray-600",addTaskBtn:Me?"border-white/45 text-white/90 hover:bg-white/[0.06]":"border-gray-300 text-gray-500 hover:bg-gray-200/50"},Ve=Me?Te:"#0f172a";/* @__PURE__ */
1
+ import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-EC527NE3.js";import{subscribePomo as o,getPomoSnapshot as a,setPomoDurations as n,setPomoAlarm as r,setPomoAlarmConfig as s,setPomoBehaviour as l,setPomoFocusSound as i,useTodoTasks as c,migratePomodoroTasksOnce as d,pomoSwitchMode as u,pomoPause as m,pomoStart as h,ALARM_OPTIONS as p,playAlarm as g,FOCUS_SOUND_OPTIONS as f,previewFocusSound as k}from"./chunk-REWKL7MX.js";import{PLACEHOLDER_INK as b}from"./chunk-AYZY3YNC.js";import{pad2 as x}from"./chunk-LF27WIN2.js";import{useWidgetSettings as v}from"./chunk-5VAIVRK6.js";import"./chunk-CY5N5OA3.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-QYL26AB4.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-2E2SUEEE.js";import"./chunk-XQMPLXGG.js";import"./chunk-GLBLKHYA.js";import{useShellPrefs as y}from"./chunk-KC3EX26K.js";import"./chunk-HS2E7DVI.js";import"./chunk-3DVNXNTF.js";import"./chunk-3J2PO3KW.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-7ELJQL7J.js";import"./chunk-UGTRSRIW.js";import"./chunk-CNUHLJYD.js";import"./chunk-CDAJKLGL.js";import"./chunk-3VLG6LR3.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EQZZ4V5X.js";import"./chunk-HXNMRJQ4.js";import"./chunk-UQYNPYF4.js";import"./chunk-SQCUN2DX.js";import{Icon as N}from"./chunk-2UO47XB4.js";import"./chunk-J75ZT2JQ.js";import"./chunk-S5SRXI4V.js";import"./chunk-Q3IR5SKD.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-F27JJHNJ.js";import"./chunk-TWVUQUUD.js";import"./chunk-D65T4H6J.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-GDQJBQ5B.js";import"./chunk-C3QOHMR6.js";import{useSyncExternalStore as C,useEffect as S,useMemo as w,useState as j,useRef as B,useCallback as M}from"react";import{jsxs as T,Fragment as P,jsx as I}from"react/jsx-runtime";var L="pomodoro_appearance",D="pomodoro_active_task_id",A={focus:"Pomodoro",short:"Short Break",long:"Long Break"},V={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var E=25,R=5,$=15,W=!1,J=!1,Q=4,U=!0,X=!0,G="bell",H=100,K=1,F="none",_=50,O=(e,t,o,a)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):a;function Y(){const t=C(o,a,a),{prefs:g,save:k}=y(),b=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:O(t.focusMinutes,1,120,E),shortBreakMinutes:O(t.shortBreakMinutes,1,120,R),longBreakMinutes:O(t.longBreakMinutes,1,120,$),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:W,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:J,longBreakInterval:O(t.longBreakInterval,1,20,Q),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:U,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:X,alarmSound:p.some(e=>e.id===t.alarmSound)?t.alarmSound:G,alarmVolume:O(t.alarmVolume,0,100,H),alarmRepeat:O(t.alarmRepeat,1,5,K),focusSound:f.some(e=>e.id===t.focusSound)?t.focusSound:F,focusVolume:O(t.focusVolume,0,100,_)}}(g.pomodoro_settings);S(()=>{n({focus:60*b.focusMinutes,short:60*b.shortBreakMinutes,long:60*b.longBreakMinutes})},[b.focusMinutes,b.shortBreakMinutes,b.longBreakMinutes]),S(()=>{r(b.alarmSound),s(b.alarmVolume,b.alarmRepeat)},[b.alarmSound,b.alarmVolume,b.alarmRepeat]),S(()=>{l({autoStartBreaks:b.autoStartBreaks,autoStartPomodoros:b.autoStartPomodoros,longBreakInterval:b.longBreakInterval})},[b.autoStartBreaks,b.autoStartPomodoros,b.longBreakInterval]),S(()=>{i(b.focusSound,b.focusVolume)},[b.focusSound,b.focusVolume]),S(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const Y=c(),z=Y.tasks,q=w(()=>/* @__PURE__ */(new Date).toISOString().slice(0,10),[]),ee=function(e,t){return w(()=>t?(e=>{const t=[],o=[];for(const a of e)(a.done?o:t).push(a);return[...t,...o]})(e):e,[e,t])}(w(()=>z.filter(e=>!!e.dueDate&&(e.dueDate===q||e.dueDate<q&&!e.done)),[z,q]),b.checkToBottom),[te,oe]=j(()=>localStorage.getItem(D)),[ae,ne]=j(!1),[re,se]=j(null),le=B(!1);S(()=>{le.current||(le.current=!0,d(z,Y.setAllTasks))},[]),S(()=>{try{te?localStorage.setItem(D,te):localStorage.removeItem(D)}catch{}},[te]),S(()=>{if(!re)return;const e=()=>se(null),t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[re]);const ie=B(t.streak);S(()=>{if(t.streak>ie.current&&te){const e=z.find(e=>e.id===te);if(e){const t=(e.completed??0)+1,o=e.estimated??0,a=b.autoCheckTasks&&o>0&&t>=o;Y.updateTask(te,{completed:t,done:e.done||a})}}ie.current=t.streak},[t.streak,te,b.autoCheckTasks,z,Y]);const de=ee.reduce((e,t)=>e+(t.completed??0),0),ue=ee.reduce((e,t)=>e+Math.max(t.estimated??0,t.completed??0),0),me=ee.reduce((e,t)=>t.done?e:e+Math.max(0,(t.estimated??0)-(t.completed??0)),0),he=t.running&&"focus"===t.mode?t.remaining:0,pe=me*b.focusMinutes*60+he,ge=new Date(Date.now()+1e3*pe).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1}),fe=(pe/3600).toFixed(1),ke=te?z.find(e=>e.id===te)??null:null,be=x(Math.floor(t.remaining/60)),xe=x(t.remaining%60),[ve,ye]=j(()=>e(L)),[Ne,Ce]=j(!1),[Se,we]=j(ve),[je,Be]=j(b);v(M(()=>{we({...ve}),Be({...b}),Ce(!0)},[ve,b]));const Me="focus"!==t.mode,Te=V[t.mode],Pe=Me?(Ie=Te,Le=ve.activeOpacity/100,`rgba(${parseInt(Ie.slice(1,3),16)}, ${parseInt(Ie.slice(3,5),16)}, ${parseInt(Ie.slice(5,7),16)}, ${Le})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${ve.activeOpacity/100})`;var Ie,Le;const De={primary:Me?"text-white":"text-gray-900",secondary:Me?"text-white/85":"text-gray-700",muted:Me?"text-white/65":"text-gray-500",tabActive:Me?"bg-white/15 text-white":"bg-gray-200 text-gray-900",tabInactive:Me?"text-white/75 hover:bg-white/10":"text-gray-500 hover:bg-gray-200",divider:Me?"border-white/30":"border-gray-200",softDivider:Me?"border-white/20":"border-gray-200",iconBtn:Me?"bg-black/15 hover:bg-black/25 text-white/85":"bg-gray-200 hover:bg-gray-300 text-gray-600",addTaskBtn:Me?"border-white/45 text-white/90 hover:bg-white/[0.06]":"border-gray-300 text-gray-500 hover:bg-gray-200/50"},Ae=Me?Te:"#0f172a";/* @__PURE__ */
2
2
  return T(P,{children:[
3
3
  /* @__PURE__ */T("div",{className:`flex flex-col h-full select-none transition-colors duration-300 ${De.primary}`,style:{backgroundColor:Pe,backdropFilter:ve.activeBlur>0?`blur(${ve.activeBlur}px)`:void 0},children:[
4
- /* @__PURE__ */A("div",{className:"px-3 pt-3 flex justify-center gap-2",children:["focus","short","long"].map(e=>/* @__PURE__ */A("button",{onClick:()=>u(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?De.tabActive:De.tabInactive}`,children:V[e]},e))}),
4
+ /* @__PURE__ */I("div",{className:"px-3 pt-3 flex justify-center gap-2",children:["focus","short","long"].map(e=>/* @__PURE__ */I("button",{onClick:()=>u(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?De.tabActive:De.tabInactive}`,children:A[e]},e))}),
5
5
  /* @__PURE__ */T("div",{className:"text-center font-bold tabular-nums leading-none tracking-tight mt-3",style:{fontSize:"4.5rem"},children:[be,":",xe]}),
6
- /* @__PURE__ */A("div",{className:"flex justify-center mt-3 mb-2",children:/* @__PURE__ */A("button",{onClick:()=>t.running?m():h(),className:"bg-surface px-12 py-3 rounded-md font-bold text-base shadow-[0_4px_0_rgba(0,0,0,0.12)] hover:shadow-[0_3px_0_rgba(0,0,0,0.12)] active:translate-y-1 active:shadow-none transition-all",style:{color:Ve,letterSpacing:"0.08em"},children:t.running?"PAUSE":"START"})}),
7
- /* @__PURE__ */A("div",{className:"px-3 py-3 text-center",children:ke?/* @__PURE__ */T(P,{children:[
6
+ /* @__PURE__ */I("div",{className:"flex justify-center mt-3 mb-2",children:/* @__PURE__ */I("button",{onClick:()=>t.running?m():h(),className:"bg-surface px-12 py-3 rounded-md font-bold text-base shadow-[0_4px_0_rgba(0,0,0,0.12)] hover:shadow-[0_3px_0_rgba(0,0,0,0.12)] active:translate-y-1 active:shadow-none transition-all",style:{color:Ae,letterSpacing:"0.08em"},children:t.running?"PAUSE":"START"})}),
7
+ /* @__PURE__ */I("div",{className:"px-3 py-3 text-center",children:ke?/* @__PURE__ */T(P,{children:[
8
8
  /* @__PURE__ */T("div",{className:`text-xs leading-tight ${De.muted}`,children:["#",(ke.completed??0)+1]}),
9
- /* @__PURE__ */A("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${De.primary}`,children:ke.name})]}):/* @__PURE__ */A("div",{className:`text-xs italic ${De.muted}`,children:"No task selected"})}),
9
+ /* @__PURE__ */I("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${De.primary}`,children:ke.name})]}):/* @__PURE__ */I("div",{className:`text-xs italic ${De.muted}`,children:"No task selected"})}),
10
10
  /* @__PURE__ */T("div",{className:"px-3 mt-1 flex items-center justify-between",children:[
11
- /* @__PURE__ */A("h3",{className:`text-base font-bold tracking-tight ${De.primary}`,children:"Tasks"}),
12
- /* @__PURE__ */A("button",{className:`rounded p-1 transition-colors ${De.iconBtn}`,"aria-label":"Tasks menu",tabIndex:-1,children:/* @__PURE__ */A(N,{name:"more-vertical",look:"solid",className:"h-4 w-4"})})]}),
13
- /* @__PURE__ */A("div",{className:`border-t mx-3 mt-2 ${De.divider}`}),
11
+ /* @__PURE__ */I("h3",{className:`text-base font-bold tracking-tight ${De.primary}`,children:"Tasks"}),
12
+ /* @__PURE__ */I("button",{className:`rounded p-1 transition-colors ${De.iconBtn}`,"aria-label":"Tasks menu",tabIndex:-1,children:/* @__PURE__ */I(N,{name:"more-vertical",look:"solid",className:"h-4 w-4"})})]}),
13
+ /* @__PURE__ */I("div",{className:`border-t mx-3 mt-2 ${De.divider}`}),
14
14
  /* @__PURE__ */T("div",{className:"flex-1 px-3 py-3 space-y-2 overflow-y-auto",children:[ee.map(e=>{const t=e.id===te;/* @__PURE__ */
15
15
  return T("div",{onClick:()=>oe(e.id),className:"bg-surface text-ink-strong rounded-md flex items-center pr-2 py-3 shadow-sm cursor-pointer transition-shadow hover:shadow-(--elevation-panel) "+(t?"border-l-4 border-gray-700 pl-2":"pl-3 border-l-4 border-transparent"),children:[
16
- /* @__PURE__ */A("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,_.toggleDone(o)},className:"shrink-0",children:e.done?/* @__PURE__ */A("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",style:{color:Ve},children:/* @__PURE__ */A("path",{d:"M10 0a10 10 0 100 20 10 10 0 000-20zm-1 14.5l-4.5-4.5 1.4-1.4 3.1 3.1 6.1-6.1 1.4 1.4z"})}):/* @__PURE__ */A("svg",{className:"h-5 w-5 text-gray-300",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:/* @__PURE__ */A("circle",{cx:"12",cy:"12",r:"10"})})}),
17
- /* @__PURE__ */A("span",{className:"ml-3 flex-1 font-semibold truncate "+(e.done?"line-through text-gray-400":"text-gray-800"),children:e.name}),
16
+ /* @__PURE__ */I("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,Y.toggleDone(o)},className:"shrink-0",children:e.done?/* @__PURE__ */I("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",style:{color:Ae},children:/* @__PURE__ */I("path",{d:"M10 0a10 10 0 100 20 10 10 0 000-20zm-1 14.5l-4.5-4.5 1.4-1.4 3.1 3.1 6.1-6.1 1.4 1.4z"})}):/* @__PURE__ */I("svg",{className:"h-5 w-5 text-gray-300",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:/* @__PURE__ */I("circle",{cx:"12",cy:"12",r:"10"})})}),
17
+ /* @__PURE__ */I("span",{className:"ml-3 flex-1 font-semibold truncate "+(e.done?"line-through text-gray-400":"text-gray-800"),children:e.name}),
18
18
  /* @__PURE__ */T("span",{className:"text-sm tabular-nums mr-2 shrink-0",children:[
19
- /* @__PURE__ */A("span",{className:"font-bold text-gray-500",children:e.completed??0}),
20
- /* @__PURE__ */A("span",{className:"text-gray-400",children:" / "}),
21
- /* @__PURE__ */A("span",{className:"text-gray-400",children:e.estimated??"–"})]}),
19
+ /* @__PURE__ */I("span",{className:"font-bold text-gray-500",children:e.completed??0}),
20
+ /* @__PURE__ */I("span",{className:"text-gray-400",children:" / "}),
21
+ /* @__PURE__ */I("span",{className:"text-gray-400",children:e.estimated??"–"})]}),
22
22
  /* @__PURE__ */T("div",{className:"relative",children:[
23
- /* @__PURE__ */A("button",{onClick:t=>{t.stopPropagation(),se(re===e.id?null:e.id)},className:"rounded p-1 bg-gray-100 hover:bg-gray-200",children:/* @__PURE__ */A(N,{name:"more-vertical",look:"solid",className:"h-4 w-4 text-ink-faint"})}),re===e.id&&/* @__PURE__ */A("div",{className:"absolute right-0 top-full mt-1 bg-white text-gray-800 rounded shadow-lg border border-gray-200 z-10 min-w-[110px] overflow-hidden",onClick:e=>e.stopPropagation(),children:/* @__PURE__ */A("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,_.removeTask(o),te===o&&oe(null),se(null)},className:"block w-full px-3 h-8 text-sm text-left hover:bg-red-50 text-red-600",children:"Delete"})})]})]},e.id)}),ae?/* @__PURE__ */A(ce,{onSubmit:(e,t)=>{const o=e.trim();if(!o)return;const a=_.addTask({name:o,estimated:t,completed:0,dueDate:q});te||oe(a),ne(!1)},onCancel:()=>ne(!1),accentColor:Ve}):/* @__PURE__ */T("button",{onClick:()=>ne(!0),className:`w-full border-2 border-dashed rounded-md py-3 font-semibold flex items-center justify-center gap-2 transition-colors ${De.addTaskBtn}`,children:[
24
- /* @__PURE__ */A(N,{name:"add-circle",className:"h-5 w-5",strokeWidth:2}),"Add Task"]})]}),
23
+ /* @__PURE__ */I("button",{onClick:t=>{t.stopPropagation(),se(re===e.id?null:e.id)},className:"rounded p-1 bg-gray-100 hover:bg-gray-200",children:/* @__PURE__ */I(N,{name:"more-vertical",look:"solid",className:"h-4 w-4 text-ink-faint"})}),re===e.id&&/* @__PURE__ */I("div",{className:"absolute right-0 top-full mt-1 bg-white text-gray-800 rounded shadow-lg border border-gray-200 z-10 min-w-[110px] overflow-hidden",onClick:e=>e.stopPropagation(),children:/* @__PURE__ */I("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,Y.removeTask(o),te===o&&oe(null),se(null)},className:"block w-full px-3 h-8 text-sm text-left hover:bg-red-50 text-red-600",children:"Delete"})})]})]},e.id)}),ae?/* @__PURE__ */I(ce,{onSubmit:(e,t)=>{const o=e.trim();if(!o)return;const a=Y.addTask({name:o,estimated:t,completed:0,dueDate:q});te||oe(a),ne(!1)},onCancel:()=>ne(!1),accentColor:Ae}):/* @__PURE__ */T("button",{onClick:()=>ne(!0),className:`w-full border-2 border-dashed rounded-md py-3 font-semibold flex items-center justify-center gap-2 transition-colors ${De.addTaskBtn}`,children:[
24
+ /* @__PURE__ */I(N,{name:"add-circle",className:"h-5 w-5",strokeWidth:2}),"Add Task"]})]}),
25
25
  /* @__PURE__ */T("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${De.softDivider}`,children:[
26
26
  /* @__PURE__ */T("span",{className:De.secondary,children:["Pomos: ",
27
- /* @__PURE__ */A("span",{className:`font-bold ${De.primary}`,children:de}),
28
- /* @__PURE__ */A("span",{className:De.muted,children:" / "}),
29
- /* @__PURE__ */A("span",{className:`font-bold ${De.primary}`,children:ue})]}),pe>0&&/* @__PURE__ */T("span",{className:De.secondary,children:["Finish At: ",
30
- /* @__PURE__ */A("span",{className:`font-bold ${De.primary}`,children:ge}),
27
+ /* @__PURE__ */I("span",{className:`font-bold ${De.primary}`,children:de}),
28
+ /* @__PURE__ */I("span",{className:De.muted,children:" / "}),
29
+ /* @__PURE__ */I("span",{className:`font-bold ${De.primary}`,children:ue})]}),pe>0&&/* @__PURE__ */T("span",{className:De.secondary,children:["Finish At: ",
30
+ /* @__PURE__ */I("span",{className:`font-bold ${De.primary}`,children:ge}),
31
31
  /* @__PURE__ */T("span",{className:De.muted,children:[" (",fe,"h)"]})]})]})]}),
32
- /* @__PURE__ */A(Y,{open:Ne,onClose:()=>Ce(!1),onSave:()=>{ye(we),localStorage.setItem(I,JSON.stringify(we)),k({pomodoro_settings:je}),Ce(!1)},configAppearance:we,setConfigAppearance:Se,configPrefs:je,setConfigPrefs:Be})]})}function Y({open:e,onClose:o,onSave:a,configAppearance:n,setConfigAppearance:r,configPrefs:s,setConfigPrefs:l}){const i=(e,t)=>l(o=>({...o,[e]:t}));/* @__PURE__ */
32
+ /* @__PURE__ */I(Z,{open:Ne,onClose:()=>Ce(!1),onSave:()=>{ye(Se),localStorage.setItem(L,JSON.stringify(Se)),k({pomodoro_settings:je}),Ce(!1)},configAppearance:Se,setConfigAppearance:we,configPrefs:je,setConfigPrefs:Be})]})}function Z({open:e,onClose:o,onSave:a,configAppearance:n,setConfigAppearance:r,configPrefs:s,setConfigPrefs:l}){const i=(e,t)=>l(o=>({...o,[e]:t}));/* @__PURE__ */
33
33
  return T(t,{open:e,onClose:o,title:"Pomodoro Settings",appearance:n,onAppearanceChange:r,onSave:a,children:[
34
- /* @__PURE__ */T(z,{icon:/* @__PURE__ */A(se,{}),label:"TIMER",children:[
34
+ /* @__PURE__ */T(z,{icon:/* @__PURE__ */I(se,{}),label:"TIMER",children:[
35
35
  /* @__PURE__ */T("div",{children:[
36
- /* @__PURE__ */A("p",{className:"text-sm font-bold text-gray-800 mb-2",children:"Time (minutes)"}),
36
+ /* @__PURE__ */I("p",{className:"text-sm font-bold text-gray-800 mb-2",children:"Time (minutes)"}),
37
37
  /* @__PURE__ */T("div",{className:"grid grid-cols-3 gap-3",children:[
38
- /* @__PURE__ */A(te,{label:"Pomodoro",value:s.focusMinutes,onChange:e=>i("focusMinutes",e),max:120}),
39
- /* @__PURE__ */A(te,{label:"Short Break",value:s.shortBreakMinutes,onChange:e=>i("shortBreakMinutes",e),max:120}),
40
- /* @__PURE__ */A(te,{label:"Long Break",value:s.longBreakMinutes,onChange:e=>i("longBreakMinutes",e),max:120})]})]}),
41
- /* @__PURE__ */A(q,{label:"Auto Start Breaks",children:/* @__PURE__ */A(ne,{checked:s.autoStartBreaks,onChange:e=>i("autoStartBreaks",e)})}),
42
- /* @__PURE__ */A(q,{label:"Auto Start Pomodoros",children:/* @__PURE__ */A(ne,{checked:s.autoStartPomodoros,onChange:e=>i("autoStartPomodoros",e)})}),
43
- /* @__PURE__ */A(q,{label:"Long Break interval",children:/* @__PURE__ */A(oe,{value:s.longBreakInterval,onChange:e=>i("longBreakInterval",e),min:1,max:20,className:"w-14 text-center"})})]}),
44
- /* @__PURE__ */T(z,{icon:/* @__PURE__ */A(le,{}),label:"TASK",children:[
45
- /* @__PURE__ */A(q,{label:"Auto Check Tasks",info:'If you enable "Auto Check Tasks", the active task will be automatically checked when the actual pomodoro count reaches the estimated count.',children:/* @__PURE__ */A(ne,{checked:s.autoCheckTasks,onChange:e=>i("autoCheckTasks",e)})}),
46
- /* @__PURE__ */A(q,{label:"Check to Bottom",info:'If you enable "Check to Bottom", the checked task will be automatically moved to the bottom of the task list.',children:/* @__PURE__ */A(ne,{checked:s.checkToBottom,onChange:e=>i("checkToBottom",e)})})]}),
47
- /* @__PURE__ */T(z,{icon:/* @__PURE__ */A(ie,{}),label:"SOUND",children:[
48
- /* @__PURE__ */A(q,{label:"Alarm Sound",children:/* @__PURE__ */T("div",{className:"flex items-center gap-2",children:[
49
- /* @__PURE__ */A(ae,{value:s.alarmSound,onChange:e=>i("alarmSound",e),options:p.map(e=>({id:e.id,label:e.label}))}),"off"!==s.alarmSound&&/* @__PURE__ */A("button",{type:"button",onClick:()=>g(s.alarmSound,{volume:s.alarmVolume,repeat:1}),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
50
- /* @__PURE__ */A(ee,{value:s.alarmVolume,onChange:e=>i("alarmVolume",e)}),
51
- /* @__PURE__ */A(q,{label:"repeat",children:/* @__PURE__ */A(oe,{value:s.alarmRepeat,onChange:e=>i("alarmRepeat",e),min:1,max:5,className:"w-14 text-center"})}),
52
- /* @__PURE__ */A(q,{label:"Focus Sound",children:/* @__PURE__ */T("div",{className:"flex items-center gap-2",children:[
53
- /* @__PURE__ */A(ae,{value:s.focusSound,onChange:e=>i("focusSound",e),options:f}),"none"!==s.focusSound&&/* @__PURE__ */A("button",{type:"button",onClick:()=>k(s.focusSound,s.focusVolume),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
54
- /* @__PURE__ */A(ee,{value:s.focusVolume,onChange:e=>i("focusVolume",e)})]})]})}function z({icon:e,label:t,children:o}){/* @__PURE__ */
38
+ /* @__PURE__ */I(te,{label:"Pomodoro",value:s.focusMinutes,onChange:e=>i("focusMinutes",e),max:120}),
39
+ /* @__PURE__ */I(te,{label:"Short Break",value:s.shortBreakMinutes,onChange:e=>i("shortBreakMinutes",e),max:120}),
40
+ /* @__PURE__ */I(te,{label:"Long Break",value:s.longBreakMinutes,onChange:e=>i("longBreakMinutes",e),max:120})]})]}),
41
+ /* @__PURE__ */I(q,{label:"Auto Start Breaks",children:/* @__PURE__ */I(ne,{checked:s.autoStartBreaks,onChange:e=>i("autoStartBreaks",e)})}),
42
+ /* @__PURE__ */I(q,{label:"Auto Start Pomodoros",children:/* @__PURE__ */I(ne,{checked:s.autoStartPomodoros,onChange:e=>i("autoStartPomodoros",e)})}),
43
+ /* @__PURE__ */I(q,{label:"Long Break interval",children:/* @__PURE__ */I(oe,{value:s.longBreakInterval,onChange:e=>i("longBreakInterval",e),min:1,max:20,className:"w-14 text-center"})})]}),
44
+ /* @__PURE__ */T(z,{icon:/* @__PURE__ */I(le,{}),label:"TASK",children:[
45
+ /* @__PURE__ */I(q,{label:"Auto Check Tasks",info:'If you enable "Auto Check Tasks", the active task will be automatically checked when the actual pomodoro count reaches the estimated count.',children:/* @__PURE__ */I(ne,{checked:s.autoCheckTasks,onChange:e=>i("autoCheckTasks",e)})}),
46
+ /* @__PURE__ */I(q,{label:"Check to Bottom",info:'If you enable "Check to Bottom", the checked task will be automatically moved to the bottom of the task list.',children:/* @__PURE__ */I(ne,{checked:s.checkToBottom,onChange:e=>i("checkToBottom",e)})})]}),
47
+ /* @__PURE__ */T(z,{icon:/* @__PURE__ */I(ie,{}),label:"SOUND",children:[
48
+ /* @__PURE__ */I(q,{label:"Alarm Sound",children:/* @__PURE__ */T("div",{className:"flex items-center gap-2",children:[
49
+ /* @__PURE__ */I(ae,{value:s.alarmSound,onChange:e=>i("alarmSound",e),options:p.map(e=>({id:e.id,label:e.label}))}),"off"!==s.alarmSound&&/* @__PURE__ */I("button",{type:"button",onClick:()=>g(s.alarmSound,{volume:s.alarmVolume,repeat:1}),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
50
+ /* @__PURE__ */I(ee,{value:s.alarmVolume,onChange:e=>i("alarmVolume",e)}),
51
+ /* @__PURE__ */I(q,{label:"repeat",children:/* @__PURE__ */I(oe,{value:s.alarmRepeat,onChange:e=>i("alarmRepeat",e),min:1,max:5,className:"w-14 text-center"})}),
52
+ /* @__PURE__ */I(q,{label:"Focus Sound",children:/* @__PURE__ */T("div",{className:"flex items-center gap-2",children:[
53
+ /* @__PURE__ */I(ae,{value:s.focusSound,onChange:e=>i("focusSound",e),options:f}),"none"!==s.focusSound&&/* @__PURE__ */I("button",{type:"button",onClick:()=>k(s.focusSound,s.focusVolume),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
54
+ /* @__PURE__ */I(ee,{value:s.focusVolume,onChange:e=>i("focusVolume",e)})]})]})}function z({icon:e,label:t,children:o}){/* @__PURE__ */
55
55
  return T("div",{className:"border-t border-gray-200 pt-3 first:border-0 first:pt-0",children:[
56
56
  /* @__PURE__ */T("div",{className:"flex items-center gap-2 mb-3 text-ink-faintest",children:[e,
57
- /* @__PURE__ */A("span",{className:"text-xs font-bold tracking-[0.15em]",children:t})]}),
58
- /* @__PURE__ */A("div",{className:"space-y-3",children:o})]})}function q({label:e,info:t,children:o}){/* @__PURE__ */
57
+ /* @__PURE__ */I("span",{className:"text-xs font-bold tracking-[0.15em]",children:t})]}),
58
+ /* @__PURE__ */I("div",{className:"space-y-3",children:o})]})}function q({label:e,info:t,children:o}){/* @__PURE__ */
59
59
  return T("div",{className:"flex items-center justify-between gap-3",children:[
60
60
  /* @__PURE__ */T("div",{className:"flex items-center gap-2 min-w-0",children:[
61
- /* @__PURE__ */A("span",{className:"text-sm font-semibold text-gray-800",children:e}),t&&/* @__PURE__ */A(re,{title:t})]}),
62
- /* @__PURE__ */A("div",{className:"shrink-0",children:o})]})}function ee({value:e,onChange:t}){/* @__PURE__ */
61
+ /* @__PURE__ */I("span",{className:"text-sm font-semibold text-gray-800",children:e}),t&&/* @__PURE__ */I(re,{title:t})]}),
62
+ /* @__PURE__ */I("div",{className:"shrink-0",children:o})]})}function ee({value:e,onChange:t}){/* @__PURE__ */
63
63
  return T("div",{className:"flex items-center justify-end gap-3",children:[
64
- /* @__PURE__ */A("span",{className:"text-xs text-gray-400 w-7 text-right tabular-nums",children:e}),
65
- /* @__PURE__ */A("input",{type:"range",min:0,max:100,value:e,onChange:e=>t(parseInt(e.target.value,10)),className:"w-40 accent-blue-500"})]})}function te({label:e,value:t,onChange:o,min:a=1,max:n=99}){/* @__PURE__ */
64
+ /* @__PURE__ */I("span",{className:"text-xs text-gray-400 w-7 text-right tabular-nums",children:e}),
65
+ /* @__PURE__ */I("input",{type:"range",min:0,max:100,value:e,onChange:e=>t(parseInt(e.target.value,10)),className:"w-40 accent-blue-500"})]})}function te({label:e,value:t,onChange:o,min:a=1,max:n=99}){/* @__PURE__ */
66
66
  return T("label",{className:"flex flex-col",children:[
67
- /* @__PURE__ */A("span",{className:"text-xs font-semibold text-gray-500 mb-1",children:e}),
68
- /* @__PURE__ */A(oe,{value:t,onChange:o,min:a,max:n})]})}function oe({value:e,onChange:t,min:o=1,max:a=99,className:n=""}){/* @__PURE__ */
69
- return A("input",{type:"number",min:o,max:a,value:e,onChange:e=>t(Math.max(o,Math.min(a,parseInt(e.target.value,10)||o))),className:`bg-gray-100 border-0 rounded-md px-2 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 w-full ${n}`})}function ae({value:e,onChange:t,options:o}){/* @__PURE__ */
67
+ /* @__PURE__ */I("span",{className:"text-xs font-semibold text-gray-500 mb-1",children:e}),
68
+ /* @__PURE__ */I(oe,{value:t,onChange:o,min:a,max:n})]})}function oe({value:e,onChange:t,min:o=1,max:a=99,className:n=""}){/* @__PURE__ */
69
+ return I("input",{type:"number",min:o,max:a,value:e,onChange:e=>t(Math.max(o,Math.min(a,parseInt(e.target.value,10)||o))),className:`bg-gray-100 border-0 rounded-md px-2 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 w-full ${n}`})}function ae({value:e,onChange:t,options:o}){/* @__PURE__ */
70
70
  return T("div",{className:"relative",children:[
71
- /* @__PURE__ */A("select",{value:e,onChange:e=>t(e.target.value),className:"appearance-none bg-gray-100 border-0 rounded-md pl-3 pr-8 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer",children:o.map(e=>/* @__PURE__ */A("option",{value:e.id,children:e.label},e.id))}),
72
- /* @__PURE__ */A(N,{name:"chevron-down",className:`absolute right-2 top-1/2 -translate-y-1/2 h-3.5 w-3.5 pointer-events-none ${b}`,strokeWidth:2.5})]})}function ne({checked:e,onChange:t}){/* @__PURE__ */
73
- return A("button",{type:"button",role:"switch","aria-checked":e,onClick:()=>t(!e),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors "+(e?"bg-emerald-500":"bg-gray-300"),children:/* @__PURE__ */A("span",{className:"absolute h-5 w-5 rounded-full bg-white shadow transition-transform "+(e?"translate-x-[22px]":"translate-x-0.5")})})}function re({title:e}){/* @__PURE__ */
74
- return A("span",{title:e,className:"inline-flex items-center justify-center w-4 h-4 rounded-full bg-gray-300 text-on-accent text-3xs font-bold cursor-help",children:"i"})}function se(){/* @__PURE__ */
71
+ /* @__PURE__ */I("select",{value:e,onChange:e=>t(e.target.value),className:"appearance-none bg-gray-100 border-0 rounded-md pl-3 pr-8 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer",children:o.map(e=>/* @__PURE__ */I("option",{value:e.id,children:e.label},e.id))}),
72
+ /* @__PURE__ */I(N,{name:"chevron-down",className:`absolute right-2 top-1/2 -translate-y-1/2 h-3.5 w-3.5 pointer-events-none ${b}`,strokeWidth:2.5})]})}function ne({checked:e,onChange:t}){/* @__PURE__ */
73
+ return I("button",{type:"button",role:"switch","aria-checked":e,onClick:()=>t(!e),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors "+(e?"bg-emerald-500":"bg-gray-300"),children:/* @__PURE__ */I("span",{className:"absolute h-5 w-5 rounded-full bg-white shadow transition-transform "+(e?"translate-x-[22px]":"translate-x-0.5")})})}function re({title:e}){/* @__PURE__ */
74
+ return I("span",{title:e,className:"inline-flex items-center justify-center w-4 h-4 rounded-full bg-gray-300 text-on-accent text-3xs font-bold cursor-help",children:"i"})}function se(){/* @__PURE__ */
75
75
  return T("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
76
- /* @__PURE__ */A("circle",{cx:"12",cy:"12",r:"9"}),
77
- /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7v5l3 2"})]})}function le(){/* @__PURE__ */
76
+ /* @__PURE__ */I("circle",{cx:"12",cy:"12",r:"9"}),
77
+ /* @__PURE__ */I("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7v5l3 2"})]})}function le(){/* @__PURE__ */
78
78
  return T("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
79
- /* @__PURE__ */A("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),
80
- /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4"})]})}function ie(){/* @__PURE__ */
79
+ /* @__PURE__ */I("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),
80
+ /* @__PURE__ */I("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4"})]})}function ie(){/* @__PURE__ */
81
81
  return T("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
82
- /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 5L6 9H2v6h4l5 4V5z"}),
83
- /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 8.5a5 5 0 010 7M19 5a9 9 0 010 14"})]})}function ce({onSubmit:e,onCancel:t,accentColor:o}){const[a,n]=j(""),[r,s]=j(1),l=()=>e(a,r);/* @__PURE__ */
82
+ /* @__PURE__ */I("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 5L6 9H2v6h4l5 4V5z"}),
83
+ /* @__PURE__ */I("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 8.5a5 5 0 010 7M19 5a9 9 0 010 14"})]})}function ce({onSubmit:e,onCancel:t,accentColor:o}){const[a,n]=j(""),[r,s]=j(1),l=()=>e(a,r);/* @__PURE__ */
84
84
  return T("div",{className:"bg-surface text-ink-strong rounded-md p-3 shadow-(--elevation-panel)",children:[
85
- /* @__PURE__ */A("input",{autoFocus:!0,value:a,onChange:e=>n(e.target.value),placeholder:"What are you working on?",onKeyDown:e=>{"Enter"===e.key&&l(),"Escape"===e.key&&t()},className:"w-full text-base font-medium bg-transparent border-0 outline-none placeholder-gray-400"}),
85
+ /* @__PURE__ */I("input",{autoFocus:!0,value:a,onChange:e=>n(e.target.value),placeholder:"What are you working on?",onKeyDown:e=>{"Enter"===e.key&&l(),"Escape"===e.key&&t()},className:"w-full text-base font-medium bg-transparent border-0 outline-none placeholder-gray-400"}),
86
86
  /* @__PURE__ */T("div",{className:"flex items-center justify-between mt-2",children:[
87
- /* @__PURE__ */A("span",{className:"text-xs font-semibold text-gray-500",children:"Est Pomodoros"}),
88
- /* @__PURE__ */A("input",{type:"number",min:1,max:20,value:r,onChange:e=>s(Math.max(1,Math.min(20,parseInt(e.target.value,10)||1))),className:"w-16 bg-gray-100 rounded px-2 py-1 text-sm text-right border-0 focus:outline-none focus:ring-2 focus:ring-blue-500"})]}),
87
+ /* @__PURE__ */I("span",{className:"text-xs font-semibold text-gray-500",children:"Est Pomodoros"}),
88
+ /* @__PURE__ */I("input",{type:"number",min:1,max:20,value:r,onChange:e=>s(Math.max(1,Math.min(20,parseInt(e.target.value,10)||1))),className:"w-16 bg-gray-100 rounded px-2 py-1 text-sm text-right border-0 focus:outline-none focus:ring-2 focus:ring-blue-500"})]}),
89
89
  /* @__PURE__ */T("div",{className:"flex gap-2 mt-3 justify-end",children:[
90
- /* @__PURE__ */A("button",{onClick:t,className:"px-3 py-1 text-sm text-gray-500 hover:bg-gray-100 rounded",children:"Cancel"}),
91
- /* @__PURE__ */A("button",{onClick:l,className:"px-4 py-1 text-sm font-semibold text-white rounded shadow-sm",style:{backgroundColor:o},children:"Save"})]})]})}export{_ as default};
90
+ /* @__PURE__ */I("button",{onClick:t,className:"px-3 py-1 text-sm text-gray-500 hover:bg-gray-100 rounded",children:"Cancel"}),
91
+ /* @__PURE__ */I("button",{onClick:l,className:"px-4 py-1 text-sm font-semibold text-white rounded shadow-sm",style:{backgroundColor:o},children:"Save"})]})]})}export{Y as default};