efficient-shell 12.0.0 → 12.1.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.
Files changed (343) hide show
  1. package/README.md +43 -0
  2. package/dist/{Browser-CXZAXF55.js → Browser-U3SO6PSV.js} +17 -17
  3. package/dist/Calculator-6XGTP5OQ.js +29 -0
  4. package/dist/{CurrencyConverter-WFC3TAL4.js → CurrencyConverter-XNWE5MQW.js} +11 -11
  5. package/dist/Files-S4AFZX4N.js +121 -0
  6. package/dist/{Notepad-B7CKQ54M.js → Notepad-YYNH67EN.js} +10 -10
  7. package/dist/PdfViewer-ZI3QOG4G.js +1 -0
  8. package/dist/{PomodoroTimer-JMJORKWZ.js → PomodoroTimer-SBV43YX6.js} +68 -68
  9. package/dist/{Preview-OELV5X55.js → Preview-KV3L22LT.js} +27 -27
  10. package/dist/Sidebar-XVVZJ7PR.js +44 -0
  11. package/dist/{Stock-R3436P6X.js → Stock-GODZPUR3.js} +3 -3
  12. package/dist/{Weather-6N3ZPO2Q.js → Weather-2IIV4CFT.js} +20 -20
  13. package/dist/{WorldClock-BJKYHGLS.js → WorldClock-JW4MLMCB.js} +7 -7
  14. package/dist/ai/index.js +57 -57
  15. package/dist/apps/index.d.ts +125 -1
  16. package/dist/apps/index.js +1 -1
  17. package/dist/bin/media-host-check.js +1 -1
  18. package/dist/bin/ui-check.js +1 -1
  19. package/dist/brand.css +1 -1
  20. package/dist/charts/BoxPlotChart.js +1 -1
  21. package/dist/charts/CandlestickChart.js +1 -1
  22. package/dist/charts/CartesianPlot.js +1 -1
  23. package/dist/charts/ChartBrush.js +1 -1
  24. package/dist/charts/ChartFrame.js +1 -1
  25. package/dist/charts/ChartSkeleton.js +1 -1
  26. package/dist/charts/ChordChart.js +1 -1
  27. package/dist/charts/ColumnChart.js +1 -1
  28. package/dist/charts/FunnelChart.js +1 -1
  29. package/dist/charts/HeatmapChart.js +1 -1
  30. package/dist/charts/HistogramChart.js +1 -1
  31. package/dist/charts/Meter.js +1 -1
  32. package/dist/charts/PieChart.js +1 -1
  33. package/dist/charts/RadarChart.js +1 -1
  34. package/dist/charts/RadialBarChart.js +1 -1
  35. package/dist/charts/RangeChart.js +1 -1
  36. package/dist/charts/RankedBars.js +1 -1
  37. package/dist/charts/SankeyChart.js +1 -1
  38. package/dist/charts/ScatterChart.js +1 -1
  39. package/dist/charts/SpecChart.js +1 -1
  40. package/dist/charts/StatTile.js +1 -1
  41. package/dist/charts/SunburstChart.js +1 -1
  42. package/dist/charts/TimeSeriesChart.js +1 -1
  43. package/dist/charts/TreemapChart.js +1 -1
  44. package/dist/charts/WaterfallChart.js +1 -1
  45. package/dist/{chunk-YIV7CFBG.js → chunk-27XV4TAU.js} +5 -5
  46. package/dist/{chunk-YXOFUY4J.js → chunk-2DOMIOYR.js} +1 -1
  47. package/dist/{chunk-JAQO3TNE.js → chunk-2OMM2AG3.js} +1 -1
  48. package/dist/chunk-2T7MZ77B.js +3 -0
  49. package/dist/{chunk-3LGPZAVU.js → chunk-2XQOK3CT.js} +2 -2
  50. package/dist/{chunk-E47TNYYE.js → chunk-2YBJQUYQ.js} +1 -1
  51. package/dist/{chunk-RPFONHXQ.js → chunk-32WEY6O5.js} +1 -1
  52. package/dist/{chunk-X3NYVMXJ.js → chunk-3CMCGOOV.js} +4 -4
  53. package/dist/{chunk-NK5RRBXY.js → chunk-3WFJ4PYV.js} +6 -6
  54. package/dist/{chunk-MBY5JIGB.js → chunk-43MCNASD.js} +1 -1
  55. package/dist/{chunk-CRO56LVN.js → chunk-4H5NTMOF.js} +1 -1
  56. package/dist/{chunk-MOBJVNLF.js → chunk-4KJ7MLWO.js} +10 -10
  57. package/dist/{chunk-LPJGF6LK.js → chunk-4RTDZSGH.js} +17 -17
  58. package/dist/{chunk-PLDMQNKD.js → chunk-4UGFNTZ3.js} +8 -8
  59. package/dist/{chunk-HCKCQIWA.js → chunk-53EW4M5S.js} +5 -5
  60. package/dist/{chunk-HNUKXGYP.js → chunk-56ESGDIC.js} +1 -1
  61. package/dist/{chunk-OXVRXWJL.js → chunk-5F6KJAF3.js} +11 -11
  62. package/dist/{chunk-VI4NLOVJ.js → chunk-5N6AC3LN.js} +11 -11
  63. package/dist/{chunk-KSHNA6W2.js → chunk-5NDONLH5.js} +3 -3
  64. package/dist/chunk-5THF6BJS.js +6 -0
  65. package/dist/{chunk-DD2ZGHCG.js → chunk-5V6SA77P.js} +6 -6
  66. package/dist/{chunk-JSUL7UON.js → chunk-63QLZYMN.js} +5 -5
  67. package/dist/{chunk-GEQC4ABV.js → chunk-6XC3XX7F.js} +6 -6
  68. package/dist/{chunk-BUHTLO2K.js → chunk-7EK7JNR4.js} +1 -1
  69. package/dist/{chunk-SCPPW3ZC.js → chunk-7F4U43YN.js} +4 -4
  70. package/dist/{chunk-4MERJIJJ.js → chunk-7FBAZLBX.js} +1 -1
  71. package/dist/{chunk-WRRMZAKK.js → chunk-7H7U3HC6.js} +1 -1
  72. package/dist/{chunk-LBGRLG3Y.js → chunk-7KIDOIPY.js} +1 -1
  73. package/dist/{chunk-MQXZZBR6.js → chunk-7ZYEDXZX.js} +1 -1
  74. package/dist/chunk-A2ZEGD2S.js +11 -0
  75. package/dist/{chunk-U24GFE5L.js → chunk-ACNDPAAT.js} +1 -1
  76. package/dist/{chunk-ZKYBLZPT.js → chunk-AJ5NU7UH.js} +8 -8
  77. package/dist/chunk-AJO55X66.js +6 -0
  78. package/dist/{chunk-RBINX62X.js → chunk-ANSQT5ZS.js} +1 -1
  79. package/dist/{chunk-OAZX7ZGB.js → chunk-AQULCKKZ.js} +11 -11
  80. package/dist/{chunk-DV4B26FJ.js → chunk-B5OYS65L.js} +1 -1
  81. package/dist/chunk-BD4OHYQB.js +13 -0
  82. package/dist/{chunk-6KGIHI6X.js → chunk-BFA5U5JF.js} +11 -11
  83. package/dist/{chunk-CFJL6MML.js → chunk-BFO72WQB.js} +1 -1
  84. package/dist/{chunk-4ALGGYHV.js → chunk-BPECY7I7.js} +9 -9
  85. package/dist/{chunk-CCA4LQNB.js → chunk-BXZNMSTZ.js} +1 -1
  86. package/dist/{chunk-UDVUVFRS.js → chunk-BXZSLRNO.js} +12 -12
  87. package/dist/{chunk-YAZENY3X.js → chunk-C4XV42QP.js} +1 -1
  88. package/dist/chunk-CC42UKIT.js +1 -0
  89. package/dist/{chunk-W4UYDSTI.js → chunk-CD7P34VC.js} +7 -7
  90. package/dist/{chunk-OMCM3SIE.js → chunk-CENTHUBD.js} +7 -7
  91. package/dist/{chunk-IS7C6OWZ.js → chunk-CF4YOJUQ.js} +10 -10
  92. package/dist/{chunk-TF6DYDNQ.js → chunk-CNVYM3HP.js} +1 -1
  93. package/dist/{chunk-46EBZ7YI.js → chunk-COMV3Z2U.js} +1 -1
  94. package/dist/chunk-CQCMJHDM.js +9 -0
  95. package/dist/{chunk-HKPVHSZ3.js → chunk-CRB5GM4W.js} +1 -1
  96. package/dist/{chunk-PB6XGDLJ.js → chunk-CRU2BNEM.js} +8 -8
  97. package/dist/{chunk-3YQICVUP.js → chunk-CTW2OKYS.js} +2 -2
  98. package/dist/chunk-CWTY4GTU.js +5 -0
  99. package/dist/{chunk-33F35NNM.js → chunk-DKUF7BD5.js} +1 -1
  100. package/dist/{chunk-EFBWQWUS.js → chunk-DSHEOC2O.js} +1 -1
  101. package/dist/{chunk-KABXUBIH.js → chunk-DU5IBIZQ.js} +1 -1
  102. package/dist/{chunk-QTNMALBN.js → chunk-DZBGJ6X4.js} +1 -1
  103. package/dist/{chunk-YESTUDOK.js → chunk-E227NVFX.js} +1 -1
  104. package/dist/{chunk-P75R4EYJ.js → chunk-EEVKJJ5S.js} +4 -4
  105. package/dist/{chunk-NPTHHWXZ.js → chunk-EOGXCGQF.js} +5 -5
  106. package/dist/{chunk-DW5Y57I2.js → chunk-ESDWHHQY.js} +2 -2
  107. package/dist/{chunk-EM6VZSNJ.js → chunk-FAIHSCOG.js} +1 -1
  108. package/dist/chunk-FEJFGFPF.js +8 -0
  109. package/dist/{chunk-EO3IKZCP.js → chunk-FLYOI6EW.js} +1 -1
  110. package/dist/{chunk-AQ3LCE2U.js → chunk-FOTDGSY5.js} +1 -1
  111. package/dist/{chunk-NZISMTQE.js → chunk-FUUJJ7OH.js} +5 -5
  112. package/dist/chunk-FWUXYNWF.js +13 -0
  113. package/dist/{chunk-ZYJAZ5HH.js → chunk-G2X5YYIQ.js} +2 -2
  114. package/dist/chunk-GEZ45J4Z.js +2 -0
  115. package/dist/{chunk-LJN77RG6.js → chunk-GFBQ53WN.js} +1 -1
  116. package/dist/chunk-GGSPY3Q4.js +23 -0
  117. package/dist/{chunk-XNFZLSWW.js → chunk-GIUX7WUS.js} +6 -6
  118. package/dist/{chunk-ZU432XW4.js → chunk-GJ23UZDQ.js} +1 -1
  119. package/dist/{chunk-YJOJ5MUZ.js → chunk-GJJKWGBX.js} +6 -6
  120. package/dist/chunk-GMLGR4R6.js +8 -0
  121. package/dist/chunk-GRB4LKZC.js +9 -0
  122. package/dist/chunk-GZJ5F7SB.js +12 -0
  123. package/dist/chunk-HB2XXIQG.js +6 -0
  124. package/dist/chunk-HGZZXA2N.js +9 -0
  125. package/dist/chunk-HICNRXYB.js +11 -0
  126. package/dist/{chunk-46VLN6KC.js → chunk-HNQKXOFU.js} +4 -4
  127. package/dist/{chunk-AIJ6OR6X.js → chunk-HS4EWT6L.js} +2 -2
  128. package/dist/{chunk-GWDTGCQB.js → chunk-HTDZ3XAJ.js} +8 -8
  129. package/dist/{chunk-A34PD3XT.js → chunk-HY3JYAUH.js} +14 -14
  130. package/dist/{chunk-S262RGL6.js → chunk-I3QFYBOP.js} +1 -1
  131. package/dist/{chunk-DSKROZST.js → chunk-I7H3OIYX.js} +1 -1
  132. package/dist/{chunk-T6BGS26U.js → chunk-IRZ6XM5A.js} +1 -1
  133. package/dist/{chunk-LISPTWW3.js → chunk-IYPRFUTT.js} +1 -1
  134. package/dist/{chunk-CRILBBSU.js → chunk-J5ISQYVM.js} +1 -1
  135. package/dist/{chunk-WPCNJ4UL.js → chunk-JCTOQOVO.js} +1 -1
  136. package/dist/{chunk-ED5D2O6E.js → chunk-JCUG572K.js} +1 -1
  137. package/dist/chunk-KHVECW4M.js +7 -0
  138. package/dist/{chunk-KRH7UAD2.js → chunk-L75RBQFH.js} +1 -1
  139. package/dist/{chunk-T4WDJ7IB.js → chunk-LJJSFJA2.js} +28 -28
  140. package/dist/{chunk-4DDL6NXB.js → chunk-LLBH6PHE.js} +1 -1
  141. package/dist/{chunk-FGWHTNC3.js → chunk-LOEOCZCN.js} +1 -1
  142. package/dist/{chunk-NIBYHQLT.js → chunk-LTESFDTF.js} +1 -1
  143. package/dist/{chunk-7P2WKDGB.js → chunk-LUSIZ2BK.js} +15 -15
  144. package/dist/{chunk-AICGATHE.js → chunk-M7DFM2N7.js} +58 -58
  145. package/dist/{chunk-2UO47XB4.js → chunk-MRFNJZRR.js} +2 -1
  146. package/dist/{chunk-XZ2WQNOX.js → chunk-NC36LJCA.js} +10 -10
  147. package/dist/{chunk-UNJWYV6V.js → chunk-NHBDLW52.js} +2 -2
  148. package/dist/{chunk-TVRKONNH.js → chunk-NHWDB7R6.js} +1 -1
  149. package/dist/{chunk-63ZLF7LS.js → chunk-NJTFI7AA.js} +1 -1
  150. package/dist/chunk-NPQBJJLP.js +9 -0
  151. package/dist/{chunk-CJ4U4C4A.js → chunk-NZYI4XV5.js} +5 -5
  152. package/dist/{chunk-JQHL4B4C.js → chunk-ONYPN3JY.js} +12 -12
  153. package/dist/{chunk-4K7BA3PD.js → chunk-ORLQUGIN.js} +6 -6
  154. package/dist/{chunk-THSKCKAQ.js → chunk-PH3P54QQ.js} +1 -1
  155. package/dist/chunk-PKNHSZWK.js +8 -0
  156. package/dist/{chunk-ZU3BD75E.js → chunk-PXIP246B.js} +1 -1
  157. package/dist/{chunk-5EWKVVUD.js → chunk-QBD7V4TK.js} +1 -1
  158. package/dist/{chunk-UIOKWFT4.js → chunk-QN56R4V4.js} +1 -1
  159. package/dist/{chunk-QMTYILTT.js → chunk-QTMRW6DK.js} +1 -1
  160. package/dist/{chunk-H3IGNWT7.js → chunk-R3JKZXII.js} +4 -4
  161. package/dist/{chunk-ZHFKBWBU.js → chunk-R3K3LVVS.js} +1 -1
  162. package/dist/{chunk-IK37Q6LY.js → chunk-RIXX6NRV.js} +1 -1
  163. package/dist/{chunk-DWYCSJ6O.js → chunk-RM74EAMV.js} +2 -2
  164. package/dist/{chunk-TOSUM2OI.js → chunk-RXHTIJ64.js} +1 -1
  165. package/dist/chunk-S3C3XJG7.js +1 -0
  166. package/dist/{chunk-6MWLOLLP.js → chunk-SCCAMJB4.js} +1 -1
  167. package/dist/{chunk-6HO7244M.js → chunk-SCGBCBXP.js} +1 -1
  168. package/dist/chunk-SX5CSXZO.js +8 -0
  169. package/dist/{chunk-YQEGMCSX.js → chunk-TBBG2AWY.js} +3 -3
  170. package/dist/{chunk-A3AKJDLI.js → chunk-TRWHVG3A.js} +1 -1
  171. package/dist/{chunk-O53EQODF.js → chunk-TTSZSLQL.js} +1 -1
  172. package/dist/{chunk-RDYFZHT3.js → chunk-UDJLRTQB.js} +1 -1
  173. package/dist/chunk-UDL2A2GT.js +4 -0
  174. package/dist/chunk-UE54EN4C.js +2 -0
  175. package/dist/{chunk-VNAOZVSM.js → chunk-VFBBGLRA.js} +12 -12
  176. package/dist/{chunk-B7WTHCTF.js → chunk-VGWYAYHB.js} +3 -3
  177. package/dist/chunk-VPYD7UJM.js +22 -0
  178. package/dist/{chunk-MSAQGUGU.js → chunk-VQPZDZ3R.js} +4 -4
  179. package/dist/{chunk-RSPCCVN4.js → chunk-VW7W6LCV.js} +1 -1
  180. package/dist/{chunk-34AHFST2.js → chunk-VZLYB5LX.js} +1 -1
  181. package/dist/chunk-WD3I7AEZ.js +14 -0
  182. package/dist/{chunk-RLTTAH46.js → chunk-WMLBMR4E.js} +4 -4
  183. package/dist/{chunk-GCRPI3AL.js → chunk-XARBHOEZ.js} +1 -1
  184. package/dist/{chunk-62RAGXWK.js → chunk-XBDHRMQI.js} +7 -7
  185. package/dist/{chunk-VPGQMNW3.js → chunk-XQUXL75F.js} +1 -1
  186. package/dist/{chunk-ZYDRBF3H.js → chunk-XZH5PEML.js} +5 -5
  187. package/dist/{chunk-GHMDLZH4.js → chunk-Y46WPTKY.js} +7 -7
  188. package/dist/chunk-YAD7TML2.js +28 -0
  189. package/dist/{chunk-LXHTCLNX.js → chunk-YKHAI5IZ.js} +1 -1
  190. package/dist/{chunk-C4T4APD6.js → chunk-YRZP7JN4.js} +22 -22
  191. package/dist/{chunk-BYLGKRIT.js → chunk-Z43XVU2P.js} +1 -1
  192. package/dist/{chunk-L6OPXIZN.js → chunk-ZACNIKIQ.js} +1 -1
  193. package/dist/{chunk-H34KI3HV.js → chunk-ZG3RF2VE.js} +9 -9
  194. package/dist/{chunk-VOXX4LNC.js → chunk-ZUBTNUVE.js} +1 -1
  195. package/dist/{chunk-HK4QAI2A.js → chunk-ZYFBV4C7.js} +2 -2
  196. package/dist/data/DataTable.js +1 -1
  197. package/dist/data/EntityList.js +1 -1
  198. package/dist/data/Kanban.js +1 -1
  199. package/dist/data/ListFooter.js +1 -1
  200. package/dist/data/ListLoadError.js +1 -1
  201. package/dist/data/Pagination.js +1 -1
  202. package/dist/data/ResizableTable.js +1 -1
  203. package/dist/file-intake/index.js +1 -1
  204. package/dist/forms/BorderInput.js +1 -1
  205. package/dist/forms/BrandAssetEditor.js +1 -1
  206. package/dist/forms/Calendar.js +1 -1
  207. package/dist/forms/ColorPicker.js +1 -1
  208. package/dist/forms/ComposerAttachments.js +1 -1
  209. package/dist/forms/CornersInput.js +1 -1
  210. package/dist/forms/DatePicker.js +1 -1
  211. package/dist/forms/DateRangePicker.js +1 -1
  212. package/dist/forms/DateTimePicker.js +1 -1
  213. package/dist/forms/DisplayChips.js +1 -1
  214. package/dist/forms/FilePicker.js +1 -1
  215. package/dist/forms/FormErrorSummary.js +1 -1
  216. package/dist/forms/IconPicker.js +1 -1
  217. package/dist/forms/ImageFocusPoint.js +1 -1
  218. package/dist/forms/Input.js +1 -1
  219. package/dist/forms/InputNumber.js +1 -1
  220. package/dist/forms/LinkPicker.js +1 -1
  221. package/dist/forms/MediaLibrary.js +1 -1
  222. package/dist/forms/MediaUploadField.js +1 -1
  223. package/dist/forms/MediaUploadGrid.js +1 -1
  224. package/dist/forms/MediaUsedInList.js +1 -1
  225. package/dist/forms/NumericKeypad.js +1 -1
  226. package/dist/forms/PositionInput.js +1 -1
  227. package/dist/forms/RenameField.js +1 -1
  228. package/dist/forms/Select.js +1 -1
  229. package/dist/forms/SidesInput.js +1 -1
  230. package/dist/forms/Slider.js +1 -1
  231. package/dist/forms/Snippet.js +1 -1
  232. package/dist/forms/SplitButton.js +1 -1
  233. package/dist/forms/TagInput.js +1 -1
  234. package/dist/forms/TextToolbar.js +1 -1
  235. package/dist/forms/TimePicker.js +1 -1
  236. package/dist/forms/WidthsBar.js +1 -1
  237. package/dist/forms/mediaLibraryMenu.js +1 -1
  238. package/dist/forms/mediaMoveItems.js +1 -1
  239. package/dist/forms/textAlign.js +1 -1
  240. package/dist/forms/useFileIntake.js +1 -1
  241. package/dist/icons/index.js +1 -1
  242. package/dist/index.js +666 -666
  243. package/dist/locales/zh-Hans.js +1 -1
  244. package/dist/map/index.js +3 -3
  245. package/dist/markdown/index.js +1 -1
  246. package/dist/page-tabs/index.js +5 -5
  247. package/dist/pdf/index.js +1 -1
  248. package/dist/shell/Accordion.js +1 -1
  249. package/dist/shell/AppUpdateBanner.js +1 -1
  250. package/dist/shell/Avatar.js +1 -1
  251. package/dist/shell/Banner.js +1 -1
  252. package/dist/shell/Breadcrumbs.js +1 -1
  253. package/dist/shell/BudgetBar.js +1 -1
  254. package/dist/shell/Card.js +1 -1
  255. package/dist/shell/ColoredBadge.js +1 -1
  256. package/dist/shell/ConfirmDialog.js +1 -1
  257. package/dist/shell/ContainerFillChart.js +1 -1
  258. package/dist/shell/ContextMenu.js +1 -1
  259. package/dist/shell/CountBadge.js +1 -1
  260. package/dist/shell/Dialog.js +1 -1
  261. package/dist/shell/Drawer.js +1 -1
  262. package/dist/shell/DropdownMenu.js +1 -1
  263. package/dist/shell/EditableGrid.js +1 -1
  264. package/dist/shell/EmptyState.js +1 -1
  265. package/dist/shell/GlobalSearch.js +1 -1
  266. package/dist/shell/HelpCenter.js +1 -1
  267. package/dist/shell/IconRail.js +1 -1
  268. package/dist/shell/ImageLightbox.js +1 -1
  269. package/dist/shell/ItemCount.js +1 -1
  270. package/dist/shell/LanguageSelect.js +1 -1
  271. package/dist/shell/Markdown.js +1 -1
  272. package/dist/shell/MetricBar.js +1 -1
  273. package/dist/shell/MetricBarLegend.js +1 -1
  274. package/dist/shell/MilestoneTimeline.js +1 -1
  275. package/dist/shell/PageHeader.js +1 -1
  276. package/dist/shell/PopupMenu.js +1 -1
  277. package/dist/shell/ProductionTimeline.js +1 -1
  278. package/dist/shell/ResizeHandle.js +1 -1
  279. package/dist/shell/Result.js +1 -1
  280. package/dist/shell/SearchableSelect.js +1 -1
  281. package/dist/shell/SettingReset.js +1 -1
  282. package/dist/shell/SettingRow.js +1 -1
  283. package/dist/shell/SidebarLayout.js +1 -1
  284. package/dist/shell/SidebarNav.js +1 -1
  285. package/dist/shell/SortableList.js +1 -1
  286. package/dist/shell/Statistic.js +1 -1
  287. package/dist/shell/StepChain.js +1 -1
  288. package/dist/shell/Stepper.js +1 -1
  289. package/dist/shell/TimeAgo.js +1 -1
  290. package/dist/shell/TimelineTrack.js +1 -1
  291. package/dist/shell/TopNav.js +1 -1
  292. package/dist/shell/TransferProgress.js +1 -1
  293. package/dist/shell/Tree.js +1 -1
  294. package/dist/shell/discardGuard.js +1 -1
  295. package/dist/shell/language.js +1 -1
  296. package/dist/shell/strings.js +1 -1
  297. package/dist/shell/toast.js +1 -1
  298. package/dist/telemetry/index.js +1 -1
  299. package/dist/templates/AuthScreen.js +1 -1
  300. package/dist/templates/ChatTemplate.js +1 -1
  301. package/dist/templates/CheckoutTemplate.js +1 -1
  302. package/dist/templates/DashboardTemplate.js +1 -1
  303. package/dist/templates/DataTablePage.js +1 -1
  304. package/dist/templates/EmailTemplate.js +1 -1
  305. package/dist/templates/ErrorBoundary.js +1 -1
  306. package/dist/templates/ErrorPage.js +1 -1
  307. package/dist/templates/FormLayoutPage.js +1 -1
  308. package/dist/templates/GalleryTemplate.js +1 -1
  309. package/dist/ui/index.js +1 -1
  310. package/dist/version.js +1 -1
  311. package/package.json +1 -1
  312. package/dist/Calculator-TKQRQGTI.js +0 -29
  313. package/dist/Files-QM5PW6BX.js +0 -88
  314. package/dist/PdfViewer-3UEC5TNN.js +0 -1
  315. package/dist/Sidebar-SZ5OGL6C.js +0 -44
  316. package/dist/chunk-4LNO444F.js +0 -11
  317. package/dist/chunk-56YJIKVI.js +0 -11
  318. package/dist/chunk-5PDHKH2A.js +0 -3
  319. package/dist/chunk-6E47JSLM.js +0 -22
  320. package/dist/chunk-AEMAGYIZ.js +0 -8
  321. package/dist/chunk-ATURDO2C.js +0 -14
  322. package/dist/chunk-D7DRZKUI.js +0 -1
  323. package/dist/chunk-EJBR5Y4X.js +0 -9
  324. package/dist/chunk-EZBE3H2W.js +0 -9
  325. package/dist/chunk-HTB5AEZU.js +0 -9
  326. package/dist/chunk-IJXMWWTM.js +0 -9
  327. package/dist/chunk-JINTE3G4.js +0 -1
  328. package/dist/chunk-K46DLEIX.js +0 -23
  329. package/dist/chunk-N7GFQZ2J.js +0 -12
  330. package/dist/chunk-N7LDQZTL.js +0 -8
  331. package/dist/chunk-NDP2I5HK.js +0 -8
  332. package/dist/chunk-OMUC6TZT.js +0 -6
  333. package/dist/chunk-SOWRW647.js +0 -6
  334. package/dist/chunk-SZC35EYE.js +0 -28
  335. package/dist/chunk-TLE6VHMJ.js +0 -8
  336. package/dist/chunk-UMFEOZ75.js +0 -4
  337. package/dist/chunk-UYNFTF6L.js +0 -2
  338. package/dist/chunk-WRJP33DN.js +0 -6
  339. package/dist/chunk-WVIUU4BZ.js +0 -13
  340. package/dist/chunk-XZU24YKP.js +0 -13
  341. package/dist/chunk-Y3SVPBUT.js +0 -7
  342. package/dist/chunk-YN5K72D6.js +0 -5
  343. package/dist/chunk-ZITMPMUT.js +0 -2
@@ -1,91 +1,91 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-HKPVHSZ3.js";import{subscribePomo as o,getPomoSnapshot as a,setPomoDurations as n,setPomoAlarm as r,setPomoAlarmConfig as s,setPomoBehaviour as i,setPomoFocusSound as l,useTodoTasks as c,migratePomodoroTasksOnce as u,pomoSwitchMode as d,pomoPause as m,pomoStart as h,ALARM_OPTIONS as p,playAlarm as g,FOCUS_SOUND_OPTIONS as k,previewFocusSound as f}from"./chunk-DWYCSJ6O.js";import{PLACEHOLDER_INK as b}from"./chunk-AYZY3YNC.js";import{pad2 as x}from"./chunk-LF27WIN2.js";import{useWidgetSettings as v}from"./chunk-AICGATHE.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-FGWHTNC3.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-6MWLOLLP.js";import"./chunk-LPJGF6LK.js";import"./chunk-YN5K72D6.js";import"./chunk-TOSUM2OI.js";import"./chunk-3DVNXNTF.js";import"./chunk-YAZENY3X.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-KRH7UAD2.js";import"./chunk-6HO7244M.js";import"./chunk-A3AKJDLI.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as y}from"./chunk-KC3EX26K.js";import"./chunk-F3ZOO23R.js";import"./chunk-FZM3ZPW3.js";import"./chunk-CDAJKLGL.js";import"./chunk-6KGIHI6X.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EOVXFXVV.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as N}from"./chunk-2UO47XB4.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-WGLHB6WE.js";import"./chunk-NJN5IKWO.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-TWVUQUUD.js";import"./chunk-MBY5JIGB.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 I}from"react/jsx-runtime";var A="pomodoro_appearance",D="pomodoro_active_task_id",L={focus:"Pomodoro",short:"Short Break",long:"Long Break"},V={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var W=25,$=5,R=15,F=!1,H=!1,K=4,O=!0,E=!0,J="bell",Y=100,G=1,U="none",X=50,Z=(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:f}=y(),b=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:Z(t.focusMinutes,1,120,W),shortBreakMinutes:Z(t.shortBreakMinutes,1,120,$),longBreakMinutes:Z(t.longBreakMinutes,1,120,R),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:F,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:H,longBreakInterval:Z(t.longBreakInterval,1,20,K),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:O,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:E,alarmSound:p.some(e=>e.id===t.alarmSound)?t.alarmSound:J,alarmVolume:Z(t.alarmVolume,0,100,Y),alarmRepeat:Z(t.alarmRepeat,1,5,G),focusSound:k.some(e=>e.id===t.focusSound)?t.focusSound:U,focusVolume:Z(t.focusVolume,0,100,X)}}(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(()=>{i({autoStartBreaks:b.autoStartBreaks,autoStartPomodoros:b.autoStartPomodoros,longBreakInterval:b.longBreakInterval})},[b.autoStartBreaks,b.autoStartPomodoros,b.longBreakInterval]),w(()=>{l(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),ie=B(!1);w(()=>{ie.current||(ie.current=!0,u(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 le=B(t.streak);w(()=>{if(t.streak>le.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})}}le.current=t.streak},[t.streak,te,b.autoCheckTasks,z,_]);const ue=ee.reduce((e,t)=>e+(t.completed??0),0),de=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}),ke=(pe/3600).toFixed(1),fe=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(A)),[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=V[t.mode],Pe=Me?(Ie=Te,Ae=ve.activeOpacity/100,`rgba(${parseInt(Ie.slice(1,3),16)}, ${parseInt(Ie.slice(3,5),16)}, ${parseInt(Ie.slice(5,7),16)}, ${Ae})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${ve.activeOpacity/100})`;var Ie,Ae;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"},Le=Me?Te:"#0f172a";/* @__PURE__ */
1
+ import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-CRB5GM4W.js";import{subscribePomo as o,getPomoSnapshot as a,setPomoDurations as n,setPomoAlarm as r,setPomoAlarmConfig as s,setPomoBehaviour as i,setPomoFocusSound as l,useTodoTasks as c,migratePomodoroTasksOnce as u,pomoSwitchMode as d,pomoPause as m,pomoStart as h,ALARM_OPTIONS as p,playAlarm as g,FOCUS_SOUND_OPTIONS as k,previewFocusSound as f}from"./chunk-RM74EAMV.js";import{PLACEHOLDER_INK as b}from"./chunk-AYZY3YNC.js";import{pad2 as x}from"./chunk-LF27WIN2.js";import{useWidgetSettings as v}from"./chunk-M7DFM2N7.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-LOEOCZCN.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-SCCAMJB4.js";import"./chunk-4RTDZSGH.js";import"./chunk-CWTY4GTU.js";import"./chunk-RXHTIJ64.js";import"./chunk-3DVNXNTF.js";import"./chunk-C4XV42QP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-L75RBQFH.js";import"./chunk-SCGBCBXP.js";import"./chunk-TRWHVG3A.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as y}from"./chunk-KC3EX26K.js";import"./chunk-F3ZOO23R.js";import"./chunk-FZM3ZPW3.js";import"./chunk-CDAJKLGL.js";import"./chunk-BFA5U5JF.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EOVXFXVV.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as N}from"./chunk-MRFNJZRR.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-WGLHB6WE.js";import"./chunk-NJN5IKWO.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-TWVUQUUD.js";import"./chunk-43MCNASD.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 D="pomodoro_appearance",I="pomodoro_active_task_id",V={focus:"Pomodoro",short:"Short Break",long:"Long Break"},L={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var R=25,W=5,$=15,F=!1,E=!1,J=4,G=!0,H=!0,Z="bell",O=100,U=1,X="none",_=50,K=(e,t,o,a)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):a;function Q(){const t=C(o,a,a),{prefs:g,save:f}=y(),b=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:K(t.focusMinutes,1,120,R),shortBreakMinutes:K(t.shortBreakMinutes,1,120,W),longBreakMinutes:K(t.longBreakMinutes,1,120,$),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:F,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:E,longBreakInterval:K(t.longBreakInterval,1,20,J),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:G,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:H,alarmSound:p.some(e=>e.id===t.alarmSound)?t.alarmSound:Z,alarmVolume:K(t.alarmVolume,0,100,O),alarmRepeat:K(t.alarmRepeat,1,5,U),focusSound:k.some(e=>e.id===t.focusSound)?t.focusSound:X,focusVolume:K(t.focusVolume,0,100,_)}}(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(()=>{i({autoStartBreaks:b.autoStartBreaks,autoStartPomodoros:b.autoStartPomodoros,longBreakInterval:b.longBreakInterval})},[b.autoStartBreaks,b.autoStartPomodoros,b.longBreakInterval]),w(()=>{l(b.focusSound,b.focusVolume)},[b.focusSound,b.focusVolume]),w(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const Q=c(),z=Q.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(I)),[ae,ne]=j(!1),[re,se]=j(null),ie=B(!1);w(()=>{ie.current||(ie.current=!0,u(z,Q.setAllTasks))},[]),w(()=>{try{te?localStorage.setItem(I,te):localStorage.removeItem(I)}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 le=B(t.streak);w(()=>{if(t.streak>le.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;Q.updateTask(te,{completed:t,done:e.done||a})}}le.current=t.streak},[t.streak,te,b.autoCheckTasks,z,Q]);const ue=ee.reduce((e,t)=>e+(t.completed??0),0),de=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}),ke=(pe/3600).toFixed(1),fe=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(D)),[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,De=ve.activeOpacity/100,`rgba(${parseInt(Ae.slice(1,3),16)}, ${parseInt(Ae.slice(3,5),16)}, ${parseInt(Ae.slice(5,7),16)}, ${De})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${ve.activeOpacity/100})`;var Ae,De;const Ie={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__ */
2
2
  return T(P,{children:[
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__ */I("div",{className:"px-3 pt-3 flex justify-center gap-2",children:["focus","short","long"].map(e=>/* @__PURE__ */I("button",{onClick:()=>d(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?De.tabActive:De.tabInactive}`,children:L[e]},e))}),
3
+ /* @__PURE__ */T("div",{className:`flex flex-col h-full select-none transition-colors duration-300 ${Ie.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:()=>d(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?Ie.tabActive:Ie.tabInactive}`,children:V[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__ */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:Le,letterSpacing:"0.08em"},children:t.running?"PAUSE":"START"})}),
7
- /* @__PURE__ */I("div",{className:"px-3 py-3 text-center",children:fe?/* @__PURE__ */T(P,{children:[
8
- /* @__PURE__ */T("div",{className:`text-xs leading-tight ${De.muted}`,children:["#",(fe.completed??0)+1]}),
9
- /* @__PURE__ */I("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${De.primary}`,children:fe.name})]}):/* @__PURE__ */I("div",{className:`text-xs italic ${De.muted}`,children:"No task selected"})}),
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:fe?/* @__PURE__ */T(P,{children:[
8
+ /* @__PURE__ */T("div",{className:`text-xs leading-tight ${Ie.muted}`,children:["#",(fe.completed??0)+1]}),
9
+ /* @__PURE__ */A("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${Ie.primary}`,children:fe.name})]}):/* @__PURE__ */A("div",{className:`text-xs italic ${Ie.muted}`,children:"No task selected"})}),
10
10
  /* @__PURE__ */T("div",{className:"px-3 mt-1 flex items-center justify-between",children:[
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}`}),
11
+ /* @__PURE__ */A("h3",{className:`text-base font-bold tracking-tight ${Ie.primary}`,children:"Tasks"}),
12
+ /* @__PURE__ */A("button",{className:`rounded p-1 transition-colors ${Ie.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 ${Ie.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__ */I("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,_.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:Le},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}),
16
+ /* @__PURE__ */A("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,Q.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}),
18
18
  /* @__PURE__ */T("span",{className:"text-sm tabular-nums mr-2 shrink-0",children:[
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??"–"})]}),
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??"–"})]}),
22
22
  /* @__PURE__ */T("div",{className:"relative",children:[
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,_.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=_.addTask({name:o,estimated:t,completed:0,dueDate:q});te||oe(a),ne(!1)},onCancel:()=>ne(!1),accentColor:Le}):/* @__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
- /* @__PURE__ */T("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${De.softDivider}`,children:[
26
- /* @__PURE__ */T("span",{className:De.secondary,children:["Pomos: ",
27
- /* @__PURE__ */I("span",{className:`font-bold ${De.primary}`,children:ue}),
28
- /* @__PURE__ */I("span",{className:De.muted,children:" / "}),
29
- /* @__PURE__ */I("span",{className:`font-bold ${De.primary}`,children:de})]}),pe>0&&/* @__PURE__ */T("span",{className:De.secondary,children:["Finish At: ",
30
- /* @__PURE__ */I("span",{className:`font-bold ${De.primary}`,children:ge}),
31
- /* @__PURE__ */T("span",{className:De.muted,children:[" (",ke,"h)"]})]})]})]}),
32
- /* @__PURE__ */I(Q,{open:Ne,onClose:()=>Ce(!1),onSave:()=>{ye(we),localStorage.setItem(A,JSON.stringify(we)),f({pomodoro_settings:je}),Ce(!1)},configAppearance:we,setConfigAppearance:Se,configPrefs:je,setConfigPrefs:Be})]})}function Q({open:e,onClose:o,onSave:a,configAppearance:n,setConfigAppearance:r,configPrefs:s,setConfigPrefs:i}){const l=(e,t)=>i(o=>({...o,[e]:t}));/* @__PURE__ */
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,Q.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=Q.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 ${Ie.addTaskBtn}`,children:[
24
+ /* @__PURE__ */A(N,{name:"add-circle",className:"h-5 w-5",strokeWidth:2}),"Add Task"]})]}),
25
+ /* @__PURE__ */T("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${Ie.softDivider}`,children:[
26
+ /* @__PURE__ */T("span",{className:Ie.secondary,children:["Pomos: ",
27
+ /* @__PURE__ */A("span",{className:`font-bold ${Ie.primary}`,children:ue}),
28
+ /* @__PURE__ */A("span",{className:Ie.muted,children:" / "}),
29
+ /* @__PURE__ */A("span",{className:`font-bold ${Ie.primary}`,children:de})]}),pe>0&&/* @__PURE__ */T("span",{className:Ie.secondary,children:["Finish At: ",
30
+ /* @__PURE__ */A("span",{className:`font-bold ${Ie.primary}`,children:ge}),
31
+ /* @__PURE__ */T("span",{className:Ie.muted,children:[" (",ke,"h)"]})]})]})]}),
32
+ /* @__PURE__ */A(Y,{open:Ne,onClose:()=>Ce(!1),onSave:()=>{ye(we),localStorage.setItem(D,JSON.stringify(we)),f({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:i}){const l=(e,t)=>i(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__ */I(se,{}),label:"TIMER",children:[
34
+ /* @__PURE__ */T(z,{icon:/* @__PURE__ */A(se,{}),label:"TIMER",children:[
35
35
  /* @__PURE__ */T("div",{children:[
36
- /* @__PURE__ */I("p",{className:"text-sm font-bold text-gray-800 mb-2",children:"Time (minutes)"}),
36
+ /* @__PURE__ */A("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__ */I(te,{label:"Pomodoro",value:s.focusMinutes,onChange:e=>l("focusMinutes",e),max:120}),
39
- /* @__PURE__ */I(te,{label:"Short Break",value:s.shortBreakMinutes,onChange:e=>l("shortBreakMinutes",e),max:120}),
40
- /* @__PURE__ */I(te,{label:"Long Break",value:s.longBreakMinutes,onChange:e=>l("longBreakMinutes",e),max:120})]})]}),
41
- /* @__PURE__ */I(q,{label:"Auto Start Breaks",children:/* @__PURE__ */I(ne,{checked:s.autoStartBreaks,onChange:e=>l("autoStartBreaks",e)})}),
42
- /* @__PURE__ */I(q,{label:"Auto Start Pomodoros",children:/* @__PURE__ */I(ne,{checked:s.autoStartPomodoros,onChange:e=>l("autoStartPomodoros",e)})}),
43
- /* @__PURE__ */I(q,{label:"Long Break interval",children:/* @__PURE__ */I(oe,{value:s.longBreakInterval,onChange:e=>l("longBreakInterval",e),min:1,max:20,className:"w-14 text-center"})})]}),
44
- /* @__PURE__ */T(z,{icon:/* @__PURE__ */I(ie,{}),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=>l("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=>l("checkToBottom",e)})})]}),
47
- /* @__PURE__ */T(z,{icon:/* @__PURE__ */I(le,{}),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=>l("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=>l("alarmVolume",e)}),
51
- /* @__PURE__ */I(q,{label:"repeat",children:/* @__PURE__ */I(oe,{value:s.alarmRepeat,onChange:e=>l("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=>l("focusSound",e),options:k}),"none"!==s.focusSound&&/* @__PURE__ */I("button",{type:"button",onClick:()=>f(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=>l("focusVolume",e)})]})]})}function z({icon:e,label:t,children:o}){/* @__PURE__ */
38
+ /* @__PURE__ */A(te,{label:"Pomodoro",value:s.focusMinutes,onChange:e=>l("focusMinutes",e),max:120}),
39
+ /* @__PURE__ */A(te,{label:"Short Break",value:s.shortBreakMinutes,onChange:e=>l("shortBreakMinutes",e),max:120}),
40
+ /* @__PURE__ */A(te,{label:"Long Break",value:s.longBreakMinutes,onChange:e=>l("longBreakMinutes",e),max:120})]})]}),
41
+ /* @__PURE__ */A(q,{label:"Auto Start Breaks",children:/* @__PURE__ */A(ne,{checked:s.autoStartBreaks,onChange:e=>l("autoStartBreaks",e)})}),
42
+ /* @__PURE__ */A(q,{label:"Auto Start Pomodoros",children:/* @__PURE__ */A(ne,{checked:s.autoStartPomodoros,onChange:e=>l("autoStartPomodoros",e)})}),
43
+ /* @__PURE__ */A(q,{label:"Long Break interval",children:/* @__PURE__ */A(oe,{value:s.longBreakInterval,onChange:e=>l("longBreakInterval",e),min:1,max:20,className:"w-14 text-center"})})]}),
44
+ /* @__PURE__ */T(z,{icon:/* @__PURE__ */A(ie,{}),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=>l("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=>l("checkToBottom",e)})})]}),
47
+ /* @__PURE__ */T(z,{icon:/* @__PURE__ */A(le,{}),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=>l("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=>l("alarmVolume",e)}),
51
+ /* @__PURE__ */A(q,{label:"repeat",children:/* @__PURE__ */A(oe,{value:s.alarmRepeat,onChange:e=>l("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=>l("focusSound",e),options:k}),"none"!==s.focusSound&&/* @__PURE__ */A("button",{type:"button",onClick:()=>f(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=>l("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__ */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__ */
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__ */
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__ */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__ */
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__ */
63
63
  return T("div",{className:"flex items-center justify-end gap-3",children:[
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__ */
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__ */
66
66
  return T("label",{className:"flex flex-col",children:[
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__ */
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__ */
70
70
  return T("div",{className:"relative",children:[
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__ */
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__ */
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__ */I("circle",{cx:"12",cy:"12",r:"9"}),
77
- /* @__PURE__ */I("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7v5l3 2"})]})}function ie(){/* @__PURE__ */
76
+ /* @__PURE__ */A("circle",{cx:"12",cy:"12",r:"9"}),
77
+ /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7v5l3 2"})]})}function ie(){/* @__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__ */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 le(){/* @__PURE__ */
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 le(){/* @__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__ */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),i=()=>e(a,r);/* @__PURE__ */
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),i=()=>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__ */I("input",{autoFocus:!0,value:a,onChange:e=>n(e.target.value),placeholder:"What are you working on?",onKeyDown:e=>{"Enter"===e.key&&i(),"Escape"===e.key&&t()},className:"w-full text-base font-medium bg-transparent border-0 outline-none placeholder-gray-400"}),
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&&i(),"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__ */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"})]}),
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"})]}),
89
89
  /* @__PURE__ */T("div",{className:"flex gap-2 mt-3 justify-end",children:[
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:i,className:"px-4 py-1 text-sm font-semibold text-white rounded shadow-sm",style:{backgroundColor:o},children:"Save"})]})]})}export{_ as default};
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:i,className:"px-4 py-1 text-sm font-semibold text-white rounded shadow-sm",style:{backgroundColor:o},children:"Save"})]})]})}export{Q as default};