efficient-shell 13.10.0 → 13.12.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 (350) hide show
  1. package/README.md +1 -1
  2. package/dist/{Browser-RQMICFVJ.js → Browser-TPLE4RMX.js} +16 -16
  3. package/dist/{Calculator-TJ4XFVNQ.js → Calculator-3PVLP3UK.js} +22 -22
  4. package/dist/{CurrencyConverter-6H3QM3TU.js → CurrencyConverter-JLRIAP2Z.js} +6 -6
  5. package/dist/{Files-MJBEQENM.js → Files-4UFXW2K7.js} +82 -82
  6. package/dist/{Notepad-KE3Q7TEM.js → Notepad-MASOWEW7.js} +9 -9
  7. package/dist/PdfViewer-PFQGQRQX.js +1 -0
  8. package/dist/{PomodoroTimer-2MFWO3KK.js → PomodoroTimer-I575OSRR.js} +46 -46
  9. package/dist/{Preview-J54KUTIR.js → Preview-TX6BB4UW.js} +46 -46
  10. package/dist/Sidebar-GYGYAXS2.js +44 -0
  11. package/dist/{Stock-OYUZ4D3M.js → Stock-EPJQJ3XE.js} +3 -3
  12. package/dist/{Weather-377NKPA5.js → Weather-RPCD2UW3.js} +22 -22
  13. package/dist/{WorldClock-M6AMXQY2.js → WorldClock-AC3EUSVG.js} +7 -7
  14. package/dist/ai/index.d.ts +1 -1
  15. package/dist/ai/index.js +92 -92
  16. package/dist/apps/ImageAnnotator.js +1 -1
  17. package/dist/apps/index.js +1 -1
  18. package/dist/bin/browser-check.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/ChordChart.js +1 -1
  28. package/dist/charts/ColumnChart.js +1 -1
  29. package/dist/charts/FunnelChart.js +1 -1
  30. package/dist/charts/HeatmapChart.js +1 -1
  31. package/dist/charts/HistogramChart.js +1 -1
  32. package/dist/charts/Meter.js +1 -1
  33. package/dist/charts/PieChart.js +1 -1
  34. package/dist/charts/RadarChart.js +1 -1
  35. package/dist/charts/RadialBarChart.js +1 -1
  36. package/dist/charts/RangeChart.js +1 -1
  37. package/dist/charts/RankedBars.js +1 -1
  38. package/dist/charts/SankeyChart.js +1 -1
  39. package/dist/charts/ScatterChart.js +1 -1
  40. package/dist/charts/SpecChart.js +1 -1
  41. package/dist/charts/StatTile.js +1 -1
  42. package/dist/charts/SunburstChart.js +1 -1
  43. package/dist/charts/TimeSeriesChart.js +1 -1
  44. package/dist/charts/TreemapChart.js +1 -1
  45. package/dist/charts/WaterfallChart.js +1 -1
  46. package/dist/{chunk-MZCYB2MW.js → chunk-223XYIIH.js} +1 -1
  47. package/dist/{chunk-R5SVNFUG.js → chunk-22N3KA7A.js} +4 -4
  48. package/dist/{chunk-7WMFHPKS.js → chunk-2GMYO6ET.js} +1 -1
  49. package/dist/{chunk-FCWBO7I3.js → chunk-2QE6QD4Y.js} +7 -7
  50. package/dist/{chunk-H4GOJ26X.js → chunk-2YK6ZB7C.js} +1 -1
  51. package/dist/chunk-334TWHQS.js +2 -0
  52. package/dist/chunk-3C7JKJGL.js +1 -0
  53. package/dist/{chunk-5UPLN44S.js → chunk-3PLQKRD4.js} +12 -12
  54. package/dist/chunk-47UTEV3P.js +23 -0
  55. package/dist/{chunk-65JCQLM4.js → chunk-4F3SUYN5.js} +1 -1
  56. package/dist/{chunk-TAEO2JC6.js → chunk-4IYHQNKZ.js} +1 -1
  57. package/dist/chunk-4Q2CZ4US.js +7 -0
  58. package/dist/{chunk-CVXJKHPD.js → chunk-4S3E3VJH.js} +6 -6
  59. package/dist/{chunk-5LHEPE4B.js → chunk-4U5M37SF.js} +1 -1
  60. package/dist/{chunk-F3MO56N4.js → chunk-5HFKVEWW.js} +1 -1
  61. package/dist/{chunk-YMUHIJDJ.js → chunk-5POQCJL6.js} +4 -4
  62. package/dist/chunk-65FZQ572.js +8 -0
  63. package/dist/{chunk-VWYICGVA.js → chunk-6AUQWWUA.js} +1 -1
  64. package/dist/{chunk-RJ24VXBZ.js → chunk-6HYO2W3O.js} +4 -4
  65. package/dist/{chunk-FOE2QHDE.js → chunk-6LYKIC7W.js} +9 -9
  66. package/dist/{chunk-EQFWFQOZ.js → chunk-6QKTQOEV.js} +27 -27
  67. package/dist/chunk-7LG36CPT.js +2 -0
  68. package/dist/{chunk-2FQBY4ED.js → chunk-7RGHV3J5.js} +5 -5
  69. package/dist/chunk-7TJZ5AJE.js +11 -0
  70. package/dist/{chunk-VMKTA5HL.js → chunk-AEEK74UI.js} +6 -6
  71. package/dist/{chunk-CCPUNN4F.js → chunk-AHMYBYXJ.js} +1 -1
  72. package/dist/{chunk-HQSJSPQB.js → chunk-AQUHVWWO.js} +1 -1
  73. package/dist/chunk-B53VREFW.js +8 -0
  74. package/dist/{chunk-GHLXZDLU.js → chunk-BG3C4ALM.js} +1 -1
  75. package/dist/{chunk-GAGCE2ML.js → chunk-CKTFXTJL.js} +1 -1
  76. package/dist/{chunk-BXZLSY2S.js → chunk-CWVQH2SP.js} +1 -1
  77. package/dist/chunk-DEYVAMJQ.js +19 -0
  78. package/dist/{chunk-IODIQ77P.js → chunk-DO3DSSAW.js} +1 -1
  79. package/dist/chunk-DQTYV6AC.js +9 -0
  80. package/dist/{chunk-4RSBPRCQ.js → chunk-DVVB2CY5.js} +1 -1
  81. package/dist/{chunk-O5UD3ZWM.js → chunk-EHM3ZVVT.js} +10 -10
  82. package/dist/{chunk-XOZ5VPXF.js → chunk-EHNQGKW4.js} +1 -1
  83. package/dist/{chunk-75TPMXA7.js → chunk-ELPW25CA.js} +1 -1
  84. package/dist/{chunk-BNPJHOAC.js → chunk-EMRTVPQ5.js} +9 -9
  85. package/dist/chunk-EX34TQ3V.js +28 -0
  86. package/dist/chunk-EZQHUQOP.js +1 -0
  87. package/dist/{chunk-4HJNHI4A.js → chunk-F4VILY3O.js} +1 -1
  88. package/dist/{chunk-ZDCCYRFF.js → chunk-F5B5WOQ7.js} +2 -2
  89. package/dist/{chunk-AJ5GLMGD.js → chunk-FBS55WOX.js} +7 -7
  90. package/dist/{chunk-TDG5WGLR.js → chunk-FDDM7VMQ.js} +1 -1
  91. package/dist/{chunk-DYOFTZOC.js → chunk-FMERX3PG.js} +8 -8
  92. package/dist/chunk-FQD6P6EZ.js +4 -0
  93. package/dist/{chunk-PR6FNBKR.js → chunk-FTKLODQK.js} +1 -1
  94. package/dist/chunk-G3MJO3A6.js +22 -0
  95. package/dist/{chunk-VUM6BYAX.js → chunk-G4D2WM3J.js} +1 -1
  96. package/dist/{chunk-H7CIK74N.js → chunk-G53Y6EPJ.js} +13 -13
  97. package/dist/{chunk-ZDDMFFQK.js → chunk-GITRDCHS.js} +1 -1
  98. package/dist/{chunk-4YWQE67T.js → chunk-GO2TZ35U.js} +1 -1
  99. package/dist/{chunk-6XPS3H5Z.js → chunk-GYPYOBG5.js} +8 -8
  100. package/dist/{chunk-ZGIAMYTI.js → chunk-HK53EKZH.js} +1 -1
  101. package/dist/{chunk-X22SFR5F.js → chunk-HOROMBJB.js} +8 -8
  102. package/dist/{chunk-XCY7A5UM.js → chunk-HZ7TUMNL.js} +1 -1
  103. package/dist/{chunk-Z62HFEFS.js → chunk-I6QVXM2M.js} +15 -15
  104. package/dist/{chunk-6SOS6OBB.js → chunk-IE6TRMIW.js} +1 -1
  105. package/dist/{chunk-NVAH2NQI.js → chunk-IG7JPSBG.js} +1 -1
  106. package/dist/chunk-IJNQ2BUY.js +2 -0
  107. package/dist/{chunk-NUDL6UO3.js → chunk-IOLUF3UL.js} +1 -1
  108. package/dist/chunk-IUVGHHR3.js +1 -0
  109. package/dist/chunk-J6QC45OS.js +8 -0
  110. package/dist/{chunk-VKRJVHYA.js → chunk-JDSOHBO7.js} +1 -1
  111. package/dist/{chunk-KV6XCHAG.js → chunk-JGKDWDVM.js} +16 -16
  112. package/dist/{chunk-JOYGSKWG.js → chunk-JHGBFZHL.js} +5 -5
  113. package/dist/{chunk-PZNF2TEB.js → chunk-JNSRDEB6.js} +9 -9
  114. package/dist/{chunk-SC3AQXJY.js → chunk-JPCPO4MX.js} +8 -8
  115. package/dist/{chunk-BSEQJM7X.js → chunk-JPKNVTTK.js} +1 -1
  116. package/dist/{chunk-NDWX5Z4D.js → chunk-JR2HHKVP.js} +1 -1
  117. package/dist/{chunk-ZJ34FNRC.js → chunk-JWLOERV5.js} +2 -2
  118. package/dist/{chunk-DU7TJVX5.js → chunk-KEVJBI5Q.js} +1 -1
  119. package/dist/{chunk-R5TSUJTK.js → chunk-KLUCEASW.js} +6 -6
  120. package/dist/{chunk-2UBR4YUF.js → chunk-KNZ7YTFH.js} +1 -1
  121. package/dist/{chunk-3DV5YLAI.js → chunk-KYQKMBSY.js} +5 -5
  122. package/dist/{chunk-3YCU6V3U.js → chunk-L2WBCXG7.js} +1 -1
  123. package/dist/{chunk-ROKUEMAK.js → chunk-L3BECLHD.js} +1 -1
  124. package/dist/{chunk-YW6BODBX.js → chunk-LURBH6G4.js} +1 -1
  125. package/dist/{chunk-PC3MYH2K.js → chunk-LXPDURUL.js} +2 -2
  126. package/dist/{chunk-DASRJ26L.js → chunk-M2TQOJ3G.js} +1 -1
  127. package/dist/{chunk-IRCASURW.js → chunk-M7W63T6H.js} +8 -8
  128. package/dist/{chunk-ZHR2HNT2.js → chunk-MEF4JVXP.js} +15 -15
  129. package/dist/{chunk-VVXBBU6R.js → chunk-MHCNQKEK.js} +3 -3
  130. package/dist/{chunk-FEQQMRHJ.js → chunk-MOKABQCY.js} +2 -2
  131. package/dist/{chunk-ARBS2EZ6.js → chunk-NA4XPE7S.js} +3 -3
  132. package/dist/{chunk-HWJQLLJA.js → chunk-NEHVW324.js} +8 -8
  133. package/dist/{chunk-AKKDFFUO.js → chunk-NILGK2KJ.js} +1 -1
  134. package/dist/{chunk-6D6Q3ZCG.js → chunk-NJD7HVTP.js} +5 -5
  135. package/dist/{chunk-XPSWZQR4.js → chunk-OEPQIIYL.js} +1 -1
  136. package/dist/{chunk-FVORTWUY.js → chunk-ORV2AVIJ.js} +1 -1
  137. package/dist/chunk-OWAYSIQH.js +8 -0
  138. package/dist/{chunk-YM7AWNMY.js → chunk-OZ4R6U2M.js} +1 -1
  139. package/dist/{chunk-G5U7IRH4.js → chunk-P5C7DI5A.js} +5 -5
  140. package/dist/{chunk-F3G7S5HO.js → chunk-PALWXHBQ.js} +27 -27
  141. package/dist/{chunk-QO7UHTUE.js → chunk-PKXHAF43.js} +6 -6
  142. package/dist/{chunk-NZKR3JPM.js → chunk-QBMMORYP.js} +1 -1
  143. package/dist/{chunk-AEMTJGD4.js → chunk-QNWC3RWK.js} +1 -1
  144. package/dist/{chunk-QDEQHT2T.js → chunk-QQGNTDMO.js} +1 -1
  145. package/dist/chunk-QQYCZUHI.js +2 -0
  146. package/dist/{chunk-V5VAKDLS.js → chunk-QTVE3OSD.js} +6 -6
  147. package/dist/{chunk-ZAL72BPF.js → chunk-R6GXVLY7.js} +1 -1
  148. package/dist/chunk-RDGXSAOD.js +2 -0
  149. package/dist/{chunk-OAKXWYZD.js → chunk-RFR2K7JO.js} +2 -2
  150. package/dist/{chunk-Y43S6YS5.js → chunk-RZJ63ZM4.js} +10 -10
  151. package/dist/chunk-S5AGWCMT.js +1 -0
  152. package/dist/chunk-SNHBDP4X.js +15 -0
  153. package/dist/{chunk-ROPVIMIR.js → chunk-SR6DDTUN.js} +1 -1
  154. package/dist/chunk-TNNH6F3V.js +11 -0
  155. package/dist/{chunk-IEW5JTIR.js → chunk-U2ZTHOQL.js} +1 -1
  156. package/dist/{chunk-BRFUQAVC.js → chunk-U7WDBCVV.js} +1 -1
  157. package/dist/{chunk-HTHNDX32.js → chunk-UFX7F3KG.js} +1 -1
  158. package/dist/{chunk-KZQRUVII.js → chunk-UGEA3C5C.js} +8 -8
  159. package/dist/chunk-UQPVUPSS.js +1 -0
  160. package/dist/{chunk-Q6GECV4J.js → chunk-UXGNF3OG.js} +1 -1
  161. package/dist/{chunk-2LRSUDGN.js → chunk-VADWTS7H.js} +5 -5
  162. package/dist/{chunk-IYTOOV7Q.js → chunk-VCR3RADH.js} +1 -1
  163. package/dist/{chunk-ITEOA45V.js → chunk-VFSAJMNX.js} +1 -1
  164. package/dist/{chunk-TMSSR5UH.js → chunk-VQ35LXDC.js} +1 -1
  165. package/dist/{chunk-3TCGXYUC.js → chunk-VXSYHTBP.js} +1 -1
  166. package/dist/{chunk-WEZ2RO72.js → chunk-VYHVIKP6.js} +8 -8
  167. package/dist/{chunk-YAM3L5N4.js → chunk-W2TPXKCV.js} +1 -1
  168. package/dist/{chunk-DFOKJAIS.js → chunk-WBXPA7TY.js} +1 -1
  169. package/dist/{chunk-FXG7TOZN.js → chunk-WF4A2HSB.js} +1 -1
  170. package/dist/{chunk-PGATHOTX.js → chunk-WIFK6TLB.js} +1 -1
  171. package/dist/{chunk-IOZSLFGR.js → chunk-WJMPTW3G.js} +1 -1
  172. package/dist/chunk-WWCAVO3R.js +14 -0
  173. package/dist/{chunk-LPAOHDUE.js → chunk-WX5MRNAY.js} +1 -1
  174. package/dist/{chunk-4HJX2M4W.js → chunk-XEPA5J6K.js} +1 -1
  175. package/dist/{chunk-YEEMRWBS.js → chunk-XHD6Q6JV.js} +1 -1
  176. package/dist/{chunk-P62QGXRW.js → chunk-XMFJDT6Y.js} +13 -13
  177. package/dist/{chunk-BLXHT72M.js → chunk-XOQGBU25.js} +1 -1
  178. package/dist/{chunk-H4LUHKUJ.js → chunk-XRTH47EO.js} +49 -49
  179. package/dist/chunk-XSHDPG45.js +9 -0
  180. package/dist/{chunk-ID35S5Y6.js → chunk-XWJT6TFU.js} +1 -1
  181. package/dist/{chunk-PA3OU3Y7.js → chunk-YDFDTRZF.js} +5 -5
  182. package/dist/{chunk-44ZHEIJZ.js → chunk-YGKLZBWC.js} +11 -11
  183. package/dist/{chunk-5PSFENSW.js → chunk-YM2Z4LZ2.js} +16 -16
  184. package/dist/{chunk-LOFFHXZ4.js → chunk-YMHCLK3F.js} +10 -10
  185. package/dist/{chunk-KGBB6REQ.js → chunk-YNVH2EIE.js} +3 -3
  186. package/dist/{chunk-O32GIVYD.js → chunk-YY7OFUT2.js} +3 -3
  187. package/dist/{chunk-JWUNK2PW.js → chunk-ZCGT5YNR.js} +1 -1
  188. package/dist/{chunk-NLHGFQ54.js → chunk-ZNV75GAG.js} +1 -1
  189. package/dist/{chunk-E44RNULN.js → chunk-ZYU5HAIC.js} +1 -1
  190. package/dist/data/DataTable.js +1 -1
  191. package/dist/data/EntityList.js +1 -1
  192. package/dist/data/Gantt.js +1 -1
  193. package/dist/data/Kanban.js +1 -1
  194. package/dist/data/ListFooter.js +1 -1
  195. package/dist/data/ListLoadError.js +1 -1
  196. package/dist/data/Pagination.js +1 -1
  197. package/dist/data/ResizableTable.js +1 -1
  198. package/dist/file-intake/index.js +1 -1
  199. package/dist/forms/BorderInput.js +1 -1
  200. package/dist/forms/BrandAssetEditor.js +1 -1
  201. package/dist/forms/Calendar.js +1 -1
  202. package/dist/forms/ColorPicker.js +1 -1
  203. package/dist/forms/ComposerAttachments.js +1 -1
  204. package/dist/forms/CornersInput.js +1 -1
  205. package/dist/forms/DatePicker.js +1 -1
  206. package/dist/forms/DateRangePicker.js +1 -1
  207. package/dist/forms/DateTimePicker.js +1 -1
  208. package/dist/forms/DisplayChips.js +1 -1
  209. package/dist/forms/FilePicker.js +1 -1
  210. package/dist/forms/FormErrorSummary.js +1 -1
  211. package/dist/forms/IconPicker.js +1 -1
  212. package/dist/forms/ImageFocusPoint.js +1 -1
  213. package/dist/forms/InputNumber.js +1 -1
  214. package/dist/forms/LinkPicker.js +1 -1
  215. package/dist/forms/MediaLibrary.js +1 -1
  216. package/dist/forms/MediaUploadField.js +1 -1
  217. package/dist/forms/MediaUploadGrid.js +1 -1
  218. package/dist/forms/MediaUsedInList.js +1 -1
  219. package/dist/forms/NumericKeypad.js +1 -1
  220. package/dist/forms/PositionInput.js +1 -1
  221. package/dist/forms/Select.d.ts +1 -1
  222. package/dist/forms/Select.js +1 -1
  223. package/dist/forms/SidesInput.js +1 -1
  224. package/dist/forms/Slider.js +1 -1
  225. package/dist/forms/Snippet.js +1 -1
  226. package/dist/forms/TagInput.d.ts +5 -1
  227. package/dist/forms/TagInput.js +1 -1
  228. package/dist/forms/TextToolbar.d.ts +1 -1
  229. package/dist/forms/TextToolbar.js +1 -1
  230. package/dist/forms/TimePicker.js +1 -1
  231. package/dist/forms/WidthsBar.js +1 -1
  232. package/dist/forms/mediaLibraryMenu.js +1 -1
  233. package/dist/forms/mediaMoveItems.js +1 -1
  234. package/dist/forms/textAlign.d.ts +1 -1
  235. package/dist/forms/textAlign.js +1 -1
  236. package/dist/forms/useFileIntake.js +1 -1
  237. package/dist/icons/efficient-glyphs.d.ts +1 -0
  238. package/dist/icons/efficient-glyphs.js +1 -1
  239. package/dist/icons/efficient-looks.d.ts +2 -0
  240. package/dist/icons/efficient-looks.js +1 -1
  241. package/dist/icons/efficient-meanings.d.ts +1 -0
  242. package/dist/icons/efficient-meanings.js +1 -1
  243. package/dist/icons/efficient.d.ts +1 -0
  244. package/dist/icons/efficient.js +1 -1
  245. package/dist/icons/glyphs/ContinueListIcon.d.ts +8 -0
  246. package/dist/icons/glyphs/ContinueListIcon.js +1 -0
  247. package/dist/icons/index.d.ts +2 -2
  248. package/dist/icons/index.js +1 -1
  249. package/dist/icons/looks/ContinueListMiniIcon.d.ts +8 -0
  250. package/dist/icons/looks/ContinueListMiniIcon.js +1 -0
  251. package/dist/icons/looks/ContinueListSolidIcon.d.ts +8 -0
  252. package/dist/icons/looks/ContinueListSolidIcon.js +1 -0
  253. package/dist/icons/looks/map.js +1 -1
  254. package/dist/icons/sets.js +1 -1
  255. package/dist/index.d.ts +1 -1
  256. package/dist/index.js +136 -136
  257. package/dist/locales/zh-Hans.js +1 -1
  258. package/dist/map/index.js +4 -4
  259. package/dist/model-viewer/index.js +3 -3
  260. package/dist/names-CpcmfUzD.d.ts +13 -0
  261. package/dist/page-tabs/index.js +5 -5
  262. package/dist/pdf/index.js +1 -1
  263. package/dist/shell/Accordion.js +1 -1
  264. package/dist/shell/AppUpdateBanner.js +1 -1
  265. package/dist/shell/Avatar.js +1 -1
  266. package/dist/shell/Banner.js +1 -1
  267. package/dist/shell/Breadcrumbs.js +1 -1
  268. package/dist/shell/BudgetBar.js +1 -1
  269. package/dist/shell/Card.js +1 -1
  270. package/dist/shell/ColoredBadge.js +1 -1
  271. package/dist/shell/ConfirmDialog.js +1 -1
  272. package/dist/shell/ContainerFillChart.js +1 -1
  273. package/dist/shell/CountBadge.js +1 -1
  274. package/dist/shell/Dialog.js +1 -1
  275. package/dist/shell/Drawer.js +1 -1
  276. package/dist/shell/EditableGrid.js +1 -1
  277. package/dist/shell/EmptyState.js +1 -1
  278. package/dist/shell/GlobalSearch.js +1 -1
  279. package/dist/shell/HelpCenter.js +1 -1
  280. package/dist/shell/IconRail.js +1 -1
  281. package/dist/shell/ImageLightbox.js +1 -1
  282. package/dist/shell/ItemCount.js +1 -1
  283. package/dist/shell/LanguageSelect.js +1 -1
  284. package/dist/shell/Markdown.d.ts +1 -1
  285. package/dist/shell/Markdown.js +1 -1
  286. package/dist/shell/MetricBar.js +1 -1
  287. package/dist/shell/MetricBarLegend.js +1 -1
  288. package/dist/shell/MilestoneTimeline.js +1 -1
  289. package/dist/shell/PageHeader.js +1 -1
  290. package/dist/shell/ProductionTimeline.js +1 -1
  291. package/dist/shell/ResizeHandle.js +1 -1
  292. package/dist/shell/Result.js +1 -1
  293. package/dist/shell/SearchableSelect.js +1 -1
  294. package/dist/shell/SettingReset.js +1 -1
  295. package/dist/shell/SettingRow.js +1 -1
  296. package/dist/shell/SidebarLayout.js +1 -1
  297. package/dist/shell/SidebarNav.js +1 -1
  298. package/dist/shell/SortableList.js +1 -1
  299. package/dist/shell/Statistic.js +1 -1
  300. package/dist/shell/TimeAgo.js +1 -1
  301. package/dist/shell/TimelineTrack.js +1 -1
  302. package/dist/shell/TransferProgress.js +1 -1
  303. package/dist/shell/Tree.js +1 -1
  304. package/dist/shell/discardGuard.js +1 -1
  305. package/dist/shell/language.js +1 -1
  306. package/dist/shell/strings.d.ts +3 -0
  307. package/dist/shell/strings.js +1 -1
  308. package/dist/shell/toast.js +1 -1
  309. package/dist/telemetry/index.js +1 -1
  310. package/dist/templates/AuthScreen.js +1 -1
  311. package/dist/templates/ChatTemplate.js +1 -1
  312. package/dist/templates/CheckoutTemplate.js +1 -1
  313. package/dist/templates/DashboardTemplate.js +1 -1
  314. package/dist/templates/DataTablePage.js +1 -1
  315. package/dist/templates/EmailTemplate.js +1 -1
  316. package/dist/templates/ErrorBoundary.js +1 -1
  317. package/dist/templates/ErrorPage.js +1 -1
  318. package/dist/templates/FormLayoutPage.js +1 -1
  319. package/dist/templates/GalleryTemplate.js +1 -1
  320. package/dist/ui/index.d.ts +1 -1
  321. package/dist/ui/index.js +1 -1
  322. package/dist/version.js +1 -1
  323. package/package.json +1 -1
  324. package/dist/PdfViewer-OLQBTKOC.js +0 -1
  325. package/dist/Sidebar-7SHI7P5Z.js +0 -44
  326. package/dist/chunk-3RX5KCUH.js +0 -9
  327. package/dist/chunk-7APOZZ72.js +0 -1
  328. package/dist/chunk-B3KQELHS.js +0 -7
  329. package/dist/chunk-B447IHIL.js +0 -4
  330. package/dist/chunk-BBXYBERF.js +0 -1
  331. package/dist/chunk-BKZOTBDP.js +0 -23
  332. package/dist/chunk-BLXEDMZM.js +0 -8
  333. package/dist/chunk-D53FU245.js +0 -8
  334. package/dist/chunk-DEJIH3ZQ.js +0 -1
  335. package/dist/chunk-DGFFDZCY.js +0 -15
  336. package/dist/chunk-EEFUXXYJ.js +0 -22
  337. package/dist/chunk-FBMYLCCE.js +0 -11
  338. package/dist/chunk-HTHD7STJ.js +0 -9
  339. package/dist/chunk-KITSIQCV.js +0 -19
  340. package/dist/chunk-PKRXSIRG.js +0 -1
  341. package/dist/chunk-PLD54WSR.js +0 -1
  342. package/dist/chunk-QXXMRV4E.js +0 -2
  343. package/dist/chunk-R3R6ZJNW.js +0 -28
  344. package/dist/chunk-RMEYKJEH.js +0 -8
  345. package/dist/chunk-UHQBHSWL.js +0 -11
  346. package/dist/chunk-V3KQIY6T.js +0 -8
  347. package/dist/chunk-WUEH6DLJ.js +0 -14
  348. package/dist/chunk-YJGA4LPG.js +0 -2
  349. package/dist/names-DWEZVpDv.d.ts +0 -13
  350. /package/dist/{chunk-S7PTLTWK.js → chunk-OQOWFHRZ.js} +0 -0
@@ -1,91 +1,91 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-XOZ5VPXF.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,pomodoroToday as u,migratePomodoroTasksOnce as d,pomoSwitchMode as m,pomoPause as h,pomoStart as p,ALARM_OPTIONS as g,playAlarm as k,FOCUS_SOUND_OPTIONS as f,previewFocusSound as b}from"./chunk-OAKXWYZD.js";import{PLACEHOLDER_INK as x}from"./chunk-AYZY3YNC.js";import{formatTime as v}from"./chunk-NHKT5IH6.js";import"./chunk-36BRD5J3.js";import"./chunk-JRQMX4PK.js";import{pad2 as y}from"./chunk-LF27WIN2.js";import{useWidgetSettings as N}from"./chunk-H4LUHKUJ.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-DASRJ26L.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-GHLXZDLU.js";import"./chunk-KV6XCHAG.js";import"./chunk-B447IHIL.js";import"./chunk-EIFNESXS.js";import"./chunk-PR6FNBKR.js";import"./chunk-RIG5FEVS.js";import"./chunk-NDWX5Z4D.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-ZGIAMYTI.js";import"./chunk-5LHEPE4B.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as C}from"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-JMGDGNM7.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import{Icon as S}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-TMSSR5UH.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-DEJIH3ZQ.js";import"./chunk-C3QOHMR6.js";import{useSyncExternalStore as j,useEffect as w,useMemo as B,useState as M,useRef as T,useCallback as I}from"react";import{jsxs as P,Fragment as D,jsx as A}from"react/jsx-runtime";var L="pomodoro_appearance",V="pomodoro_active_task_id",R={focus:"Pomodoro",short:"Short Break",long:"Long Break"},W={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var $=25,E=5,H=15,F=!1,G=!1,J=4,U=!0,K=!0,X="bell",Z=100,O=1,Q="none",Y=50,_=(e,t,o,a)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):a;function z(){const t=j(o,a,a),{prefs:k,save:b}=C(),x=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:_(t.focusMinutes,1,120,$),shortBreakMinutes:_(t.shortBreakMinutes,1,120,E),longBreakMinutes:_(t.longBreakMinutes,1,120,H),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:F,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:G,longBreakInterval:_(t.longBreakInterval,1,20,J),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:U,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:K,alarmSound:g.some(e=>e.id===t.alarmSound)?t.alarmSound:X,alarmVolume:_(t.alarmVolume,0,100,Z),alarmRepeat:_(t.alarmRepeat,1,5,O),focusSound:f.some(e=>e.id===t.focusSound)?t.focusSound:Q,focusVolume:_(t.focusVolume,0,100,Y)}}(k.pomodoro_settings);w(()=>{n({focus:60*x.focusMinutes,short:60*x.shortBreakMinutes,long:60*x.longBreakMinutes})},[x.focusMinutes,x.shortBreakMinutes,x.longBreakMinutes]),w(()=>{r(x.alarmSound),s(x.alarmVolume,x.alarmRepeat)},[x.alarmSound,x.alarmVolume,x.alarmRepeat]),w(()=>{i({autoStartBreaks:x.autoStartBreaks,autoStartPomodoros:x.autoStartPomodoros,longBreakInterval:x.longBreakInterval})},[x.autoStartBreaks,x.autoStartPomodoros,x.longBreakInterval]),w(()=>{l(x.focusSound,x.focusVolume)},[x.focusSound,x.focusVolume]),w(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const z=c(),ee=z.tasks,te=B(()=>u(),[]),oe=function(e,t){return B(()=>t?(e=>{const t=[],o=[];for(const a of e)(a.done?o:t).push(a);return[...t,...o]})(e):e,[e,t])}(B(()=>ee.filter(e=>!!e.dueDate&&(e.dueDate===te||e.dueDate<te&&!e.done)),[ee,te]),x.checkToBottom),[ae,ne]=M(()=>localStorage.getItem(V)),[re,se]=M(!1),[ie,le]=M(null),ce=T(!1);w(()=>{ce.current||(ce.current=!0,d(ee,z.setAllTasks))},[]),w(()=>{try{ae?localStorage.setItem(V,ae):localStorage.removeItem(V)}catch{}},[ae]),w(()=>{if(!ie)return;const e=()=>le(null),t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[ie]);const ue=T(t.streak);w(()=>{if(t.streak>ue.current&&ae){const e=ee.find(e=>e.id===ae);if(e){const t=(e.completed??0)+1,o=e.estimated??0,a=x.autoCheckTasks&&o>0&&t>=o;z.updateTask(ae,{completed:t,done:e.done||a})}}ue.current=t.streak},[t.streak,ae,x.autoCheckTasks,ee,z]);const me=oe.reduce((e,t)=>e+(t.completed??0),0),he=oe.reduce((e,t)=>e+Math.max(t.estimated??0,t.completed??0),0),pe=oe.reduce((e,t)=>t.done?e:e+Math.max(0,(t.estimated??0)-(t.completed??0)),0),ge=t.running&&"focus"===t.mode?t.remaining:0,ke=pe*x.focusMinutes*60+ge,fe=new Date(Date.now()+1e3*ke),be=v(fe.toISOString(),{clock:{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}}),xe=(ke/3600).toFixed(1),ve=ae?ee.find(e=>e.id===ae)??null:null,ye=y(Math.floor(t.remaining/60)),Ne=y(t.remaining%60),[Ce,Se]=M(()=>e(L)),[je,we]=M(!1),[Be,Me]=M(Ce),[Te,Ie]=M(x);N(I(()=>{Me({...Ce}),Ie({...x}),we(!0)},[Ce,x]));const Pe="focus"!==t.mode,De=W[t.mode],Ae=Pe?(Le=De,Ve=Ce.activeOpacity/100,`rgba(${parseInt(Le.slice(1,3),16)}, ${parseInt(Le.slice(3,5),16)}, ${parseInt(Le.slice(5,7),16)}, ${Ve})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${Ce.activeOpacity/100})`;var Le,Ve;const Re={primary:Pe?"text-white":"text-gray-900",secondary:Pe?"text-white/85":"text-gray-700",muted:Pe?"text-white/65":"text-gray-500",tabActive:Pe?"bg-white/15 text-white":"bg-gray-200 text-gray-900",tabInactive:Pe?"text-white/75 hover:bg-white/10":"text-gray-500 hover:bg-gray-200",divider:Pe?"border-white/30":"border-gray-200",softDivider:Pe?"border-white/20":"border-gray-200",iconBtn:Pe?"bg-black/15 hover:bg-black/25 text-white/85":"bg-gray-200 hover:bg-gray-300 text-gray-600",addTaskBtn:Pe?"border-white/45 text-white/90 hover:bg-white/[0.06]":"border-gray-300 text-gray-500 hover:bg-gray-200/50"},We=Pe?De:"#0f172a";/* @__PURE__ */
2
- return P(D,{children:[
3
- /* @__PURE__ */P("div",{className:`flex flex-col h-full select-none transition-colors duration-300 ${Re.primary}`,style:{backgroundColor:Ae,backdropFilter:Ce.activeBlur>0?`blur(${Ce.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:()=>m(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?Re.tabActive:Re.tabInactive}`,children:R[e]},e))}),
5
- /* @__PURE__ */P("div",{className:"text-center font-bold tabular-nums leading-none tracking-tight mt-3",style:{fontSize:"4.5rem"},children:[ye,":",Ne]}),
1
+ import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-EHNQGKW4.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,pomodoroToday as u,migratePomodoroTasksOnce as d,pomoSwitchMode as m,pomoPause as h,pomoStart as p,ALARM_OPTIONS as g,playAlarm as k,FOCUS_SOUND_OPTIONS as f,previewFocusSound as b}from"./chunk-RFR2K7JO.js";import{PLACEHOLDER_INK as x}from"./chunk-AYZY3YNC.js";import{formatTime as v}from"./chunk-NHKT5IH6.js";import"./chunk-36BRD5J3.js";import"./chunk-JRQMX4PK.js";import{pad2 as y}from"./chunk-LF27WIN2.js";import{useWidgetSettings as N}from"./chunk-XRTH47EO.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-M2TQOJ3G.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-BG3C4ALM.js";import"./chunk-JGKDWDVM.js";import"./chunk-FQD6P6EZ.js";import"./chunk-EIFNESXS.js";import"./chunk-FTKLODQK.js";import"./chunk-RIG5FEVS.js";import"./chunk-JR2HHKVP.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-HK53EKZH.js";import"./chunk-4U5M37SF.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as C}from"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-JMGDGNM7.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import{Icon as S}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-VQ35LXDC.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-IUVGHHR3.js";import"./chunk-C3QOHMR6.js";import{useSyncExternalStore as j,useEffect as w,useMemo as B,useState as M,useRef as T,useCallback as P}from"react";import{jsxs as D,Fragment as I,jsx as A}from"react/jsx-runtime";var V="pomodoro_appearance",R="pomodoro_active_task_id",L={focus:"Pomodoro",short:"Short Break",long:"Long Break"},W={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var $=25,E=5,F=15,K=!1,G=!1,H=4,J=!0,O=!0,Q="bell",U=100,X=1,Z="none",_=50,Y=(e,t,o,a)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):a;function z(){const t=j(o,a,a),{prefs:k,save:b}=C(),x=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:Y(t.focusMinutes,1,120,$),shortBreakMinutes:Y(t.shortBreakMinutes,1,120,E),longBreakMinutes:Y(t.longBreakMinutes,1,120,F),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:K,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:G,longBreakInterval:Y(t.longBreakInterval,1,20,H),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:J,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:O,alarmSound:g.some(e=>e.id===t.alarmSound)?t.alarmSound:Q,alarmVolume:Y(t.alarmVolume,0,100,U),alarmRepeat:Y(t.alarmRepeat,1,5,X),focusSound:f.some(e=>e.id===t.focusSound)?t.focusSound:Z,focusVolume:Y(t.focusVolume,0,100,_)}}(k.pomodoro_settings);w(()=>{n({focus:60*x.focusMinutes,short:60*x.shortBreakMinutes,long:60*x.longBreakMinutes})},[x.focusMinutes,x.shortBreakMinutes,x.longBreakMinutes]),w(()=>{r(x.alarmSound),s(x.alarmVolume,x.alarmRepeat)},[x.alarmSound,x.alarmVolume,x.alarmRepeat]),w(()=>{i({autoStartBreaks:x.autoStartBreaks,autoStartPomodoros:x.autoStartPomodoros,longBreakInterval:x.longBreakInterval})},[x.autoStartBreaks,x.autoStartPomodoros,x.longBreakInterval]),w(()=>{l(x.focusSound,x.focusVolume)},[x.focusSound,x.focusVolume]),w(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const z=c(),ee=z.tasks,te=B(()=>u(),[]),oe=function(e,t){return B(()=>t?(e=>{const t=[],o=[];for(const a of e)(a.done?o:t).push(a);return[...t,...o]})(e):e,[e,t])}(B(()=>ee.filter(e=>!!e.dueDate&&(e.dueDate===te||e.dueDate<te&&!e.done)),[ee,te]),x.checkToBottom),[ae,ne]=M(()=>localStorage.getItem(R)),[re,se]=M(!1),[ie,le]=M(null),ce=T(!1);w(()=>{ce.current||(ce.current=!0,d(ee,z.setAllTasks))},[]),w(()=>{try{ae?localStorage.setItem(R,ae):localStorage.removeItem(R)}catch{}},[ae]),w(()=>{if(!ie)return;const e=()=>le(null),t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[ie]);const ue=T(t.streak);w(()=>{if(t.streak>ue.current&&ae){const e=ee.find(e=>e.id===ae);if(e){const t=(e.completed??0)+1,o=e.estimated??0,a=x.autoCheckTasks&&o>0&&t>=o;z.updateTask(ae,{completed:t,done:e.done||a})}}ue.current=t.streak},[t.streak,ae,x.autoCheckTasks,ee,z]);const me=oe.reduce((e,t)=>e+(t.completed??0),0),he=oe.reduce((e,t)=>e+Math.max(t.estimated??0,t.completed??0),0),pe=oe.reduce((e,t)=>t.done?e:e+Math.max(0,(t.estimated??0)-(t.completed??0)),0),ge=t.running&&"focus"===t.mode?t.remaining:0,ke=pe*x.focusMinutes*60+ge,fe=new Date(Date.now()+1e3*ke),be=v(fe.toISOString(),{clock:{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}}),xe=(ke/3600).toFixed(1),ve=ae?ee.find(e=>e.id===ae)??null:null,ye=y(Math.floor(t.remaining/60)),Ne=y(t.remaining%60),[Ce,Se]=M(()=>e(V)),[je,we]=M(!1),[Be,Me]=M(Ce),[Te,Pe]=M(x);N(P(()=>{Me({...Ce}),Pe({...x}),we(!0)},[Ce,x]));const De="focus"!==t.mode,Ie=W[t.mode],Ae=De?(Ve=Ie,Re=Ce.activeOpacity/100,`rgba(${parseInt(Ve.slice(1,3),16)}, ${parseInt(Ve.slice(3,5),16)}, ${parseInt(Ve.slice(5,7),16)}, ${Re})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${Ce.activeOpacity/100})`;var Ve,Re;const Le={primary:De?"text-white":"text-gray-900",secondary:De?"text-white/85":"text-gray-700",muted:De?"text-white/65":"text-gray-500",tabActive:De?"bg-white/15 text-white":"bg-gray-200 text-gray-900",tabInactive:De?"text-white/75 hover:bg-white/10":"text-gray-500 hover:bg-gray-200",divider:De?"border-white/30":"border-gray-200",softDivider:De?"border-white/20":"border-gray-200",iconBtn:De?"bg-black/15 hover:bg-black/25 text-white/85":"bg-gray-200 hover:bg-gray-300 text-gray-600",addTaskBtn:De?"border-white/45 text-white/90 hover:bg-white/[0.06]":"border-gray-300 text-gray-500 hover:bg-gray-200/50"},We=De?Ie:"#0f172a";/* @__PURE__ */
2
+ return D(I,{children:[
3
+ /* @__PURE__ */D("div",{className:`flex flex-col h-full select-none transition-colors duration-300 ${Le.primary}`,style:{backgroundColor:Ae,backdropFilter:Ce.activeBlur>0?`blur(${Ce.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:()=>m(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?Le.tabActive:Le.tabInactive}`,children:L[e]},e))}),
5
+ /* @__PURE__ */D("div",{className:"text-center font-bold tabular-nums leading-none tracking-tight mt-3",style:{fontSize:"4.5rem"},children:[ye,":",Ne]}),
6
6
  /* @__PURE__ */A("div",{className:"flex justify-center mt-3 mb-2",children:/* @__PURE__ */A("button",{onClick:()=>t.running?h():p(),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:We,letterSpacing:"0.08em"},children:t.running?"PAUSE":"START"})}),
7
- /* @__PURE__ */A("div",{className:"px-3 py-3 text-center",children:ve?/* @__PURE__ */P(D,{children:[
8
- /* @__PURE__ */P("div",{className:`text-xs leading-tight ${Re.muted}`,children:["#",(ve.completed??0)+1]}),
9
- /* @__PURE__ */A("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${Re.primary}`,children:ve.name})]}):/* @__PURE__ */A("div",{className:`text-xs italic ${Re.muted}`,children:"No task selected"})}),
10
- /* @__PURE__ */P("div",{className:"px-3 mt-1 flex items-center justify-between",children:[
11
- /* @__PURE__ */A("h3",{className:`text-base font-bold tracking-tight ${Re.primary}`,children:"Tasks"}),
12
- /* @__PURE__ */A("button",{className:`rounded p-1 transition-colors ${Re.iconBtn}`,"aria-label":"Tasks menu",tabIndex:-1,children:/* @__PURE__ */A(S,{name:"more-vertical",look:"solid",className:"h-4 w-4"})})]}),
13
- /* @__PURE__ */A("div",{className:`border-t mx-3 mt-2 ${Re.divider}`}),
14
- /* @__PURE__ */P("div",{className:"flex-1 px-3 py-3 space-y-2 overflow-y-auto",children:[oe.map(e=>{const t=e.id===ae;/* @__PURE__ */
15
- return P("div",{onClick:()=>ne(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:[
7
+ /* @__PURE__ */A("div",{className:"px-3 py-3 text-center",children:ve?/* @__PURE__ */D(I,{children:[
8
+ /* @__PURE__ */D("div",{className:`text-xs leading-tight ${Le.muted}`,children:["#",(ve.completed??0)+1]}),
9
+ /* @__PURE__ */A("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${Le.primary}`,children:ve.name})]}):/* @__PURE__ */A("div",{className:`text-xs italic ${Le.muted}`,children:"No task selected"})}),
10
+ /* @__PURE__ */D("div",{className:"px-3 mt-1 flex items-center justify-between",children:[
11
+ /* @__PURE__ */A("h3",{className:`text-base font-bold tracking-tight ${Le.primary}`,children:"Tasks"}),
12
+ /* @__PURE__ */A("button",{className:`rounded p-1 transition-colors ${Le.iconBtn}`,"aria-label":"Tasks menu",tabIndex:-1,children:/* @__PURE__ */A(S,{name:"more-vertical",look:"solid",className:"h-4 w-4"})})]}),
13
+ /* @__PURE__ */A("div",{className:`border-t mx-3 mt-2 ${Le.divider}`}),
14
+ /* @__PURE__ */D("div",{className:"flex-1 px-3 py-3 space-y-2 overflow-y-auto",children:[oe.map(e=>{const t=e.id===ae;/* @__PURE__ */
15
+ return D("div",{onClick:()=>ne(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
16
  /* @__PURE__ */A("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,z.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:We},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
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
- /* @__PURE__ */P("span",{className:"text-sm tabular-nums mr-2 shrink-0",children:[
18
+ /* @__PURE__ */D("span",{className:"text-sm tabular-nums mr-2 shrink-0",children:[
19
19
  /* @__PURE__ */A("span",{className:"font-bold text-gray-500",children:e.completed??0}),
20
20
  /* @__PURE__ */A("span",{className:"text-gray-400",children:" / "}),
21
21
  /* @__PURE__ */A("span",{className:"text-gray-400",children:e.estimated??"–"})]}),
22
- /* @__PURE__ */P("div",{className:"relative",children:[
23
- /* @__PURE__ */A("button",{onClick:t=>{t.stopPropagation(),le(ie===e.id?null:e.id)},className:"rounded p-1 bg-gray-100 hover:bg-gray-200",children:/* @__PURE__ */A(S,{name:"more-vertical",look:"solid",className:"h-4 w-4 text-ink-faint"})}),ie===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,z.removeTask(o),ae===o&&ne(null),le(null)},className:"block w-full px-3 h-8 text-sm text-left hover:bg-red-50 text-red-600",children:"Delete"})})]})]},e.id)}),re?/* @__PURE__ */A(de,{onSubmit:(e,t)=>{const o=e.trim();if(!o)return;const a=z.addTask({name:o,estimated:t,completed:0,dueDate:te});ae||ne(a),se(!1)},onCancel:()=>se(!1),accentColor:We}):/* @__PURE__ */P("button",{onClick:()=>se(!0),className:`w-full border-2 border-dashed rounded-md py-3 font-semibold flex items-center justify-center gap-2 transition-colors ${Re.addTaskBtn}`,children:[
22
+ /* @__PURE__ */D("div",{className:"relative",children:[
23
+ /* @__PURE__ */A("button",{onClick:t=>{t.stopPropagation(),le(ie===e.id?null:e.id)},className:"rounded p-1 bg-gray-100 hover:bg-gray-200",children:/* @__PURE__ */A(S,{name:"more-vertical",look:"solid",className:"h-4 w-4 text-ink-faint"})}),ie===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,z.removeTask(o),ae===o&&ne(null),le(null)},className:"block w-full px-3 h-8 text-sm text-left hover:bg-red-50 text-red-600",children:"Delete"})})]})]},e.id)}),re?/* @__PURE__ */A(de,{onSubmit:(e,t)=>{const o=e.trim();if(!o)return;const a=z.addTask({name:o,estimated:t,completed:0,dueDate:te});ae||ne(a),se(!1)},onCancel:()=>se(!1),accentColor:We}):/* @__PURE__ */D("button",{onClick:()=>se(!0),className:`w-full border-2 border-dashed rounded-md py-3 font-semibold flex items-center justify-center gap-2 transition-colors ${Le.addTaskBtn}`,children:[
24
24
  /* @__PURE__ */A(S,{name:"add-circle",className:"h-5 w-5",strokeWidth:2}),"Add Task"]})]}),
25
- /* @__PURE__ */P("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${Re.softDivider}`,children:[
26
- /* @__PURE__ */P("span",{className:Re.secondary,children:["Pomos: ",
27
- /* @__PURE__ */A("span",{className:`font-bold ${Re.primary}`,children:me}),
28
- /* @__PURE__ */A("span",{className:Re.muted,children:" / "}),
29
- /* @__PURE__ */A("span",{className:`font-bold ${Re.primary}`,children:he})]}),ke>0&&/* @__PURE__ */P("span",{className:Re.secondary,children:["Finish At: ",
30
- /* @__PURE__ */A("span",{className:`font-bold ${Re.primary}`,children:be}),
31
- /* @__PURE__ */P("span",{className:Re.muted,children:[" (",xe,"h)"]})]})]})]}),
32
- /* @__PURE__ */A(q,{open:je,onClose:()=>we(!1),onSave:()=>{Se(Be),localStorage.setItem(L,JSON.stringify(Be)),b({pomodoro_settings:Te}),we(!1)},configAppearance:Be,setConfigAppearance:Me,configPrefs:Te,setConfigPrefs:Ie})]})}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__ */
33
- return P(t,{open:e,onClose:o,title:"Pomodoro Settings",appearance:n,onAppearanceChange:r,onSave:a,children:[
34
- /* @__PURE__ */P(ee,{icon:/* @__PURE__ */A(le,{}),label:"TIMER",children:[
35
- /* @__PURE__ */P("div",{children:[
25
+ /* @__PURE__ */D("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${Le.softDivider}`,children:[
26
+ /* @__PURE__ */D("span",{className:Le.secondary,children:["Pomos: ",
27
+ /* @__PURE__ */A("span",{className:`font-bold ${Le.primary}`,children:me}),
28
+ /* @__PURE__ */A("span",{className:Le.muted,children:" / "}),
29
+ /* @__PURE__ */A("span",{className:`font-bold ${Le.primary}`,children:he})]}),ke>0&&/* @__PURE__ */D("span",{className:Le.secondary,children:["Finish At: ",
30
+ /* @__PURE__ */A("span",{className:`font-bold ${Le.primary}`,children:be}),
31
+ /* @__PURE__ */D("span",{className:Le.muted,children:[" (",xe,"h)"]})]})]})]}),
32
+ /* @__PURE__ */A(q,{open:je,onClose:()=>we(!1),onSave:()=>{Se(Be),localStorage.setItem(V,JSON.stringify(Be)),b({pomodoro_settings:Te}),we(!1)},configAppearance:Be,setConfigAppearance:Me,configPrefs:Te,setConfigPrefs:Pe})]})}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__ */
33
+ return D(t,{open:e,onClose:o,title:"Pomodoro Settings",appearance:n,onAppearanceChange:r,onSave:a,children:[
34
+ /* @__PURE__ */D(ee,{icon:/* @__PURE__ */A(le,{}),label:"TIMER",children:[
35
+ /* @__PURE__ */D("div",{children:[
36
36
  /* @__PURE__ */A("p",{className:"text-sm font-bold text-gray-800 mb-2",children:"Time (minutes)"}),
37
- /* @__PURE__ */P("div",{className:"grid grid-cols-3 gap-3",children:[
37
+ /* @__PURE__ */D("div",{className:"grid grid-cols-3 gap-3",children:[
38
38
  /* @__PURE__ */A(ae,{label:"Pomodoro",value:s.focusMinutes,onChange:e=>l("focusMinutes",e),max:120}),
39
39
  /* @__PURE__ */A(ae,{label:"Short Break",value:s.shortBreakMinutes,onChange:e=>l("shortBreakMinutes",e),max:120}),
40
40
  /* @__PURE__ */A(ae,{label:"Long Break",value:s.longBreakMinutes,onChange:e=>l("longBreakMinutes",e),max:120})]})]}),
41
41
  /* @__PURE__ */A(te,{label:"Auto Start Breaks",children:/* @__PURE__ */A(se,{checked:s.autoStartBreaks,onChange:e=>l("autoStartBreaks",e)})}),
42
42
  /* @__PURE__ */A(te,{label:"Auto Start Pomodoros",children:/* @__PURE__ */A(se,{checked:s.autoStartPomodoros,onChange:e=>l("autoStartPomodoros",e)})}),
43
43
  /* @__PURE__ */A(te,{label:"Long Break interval",children:/* @__PURE__ */A(ne,{value:s.longBreakInterval,onChange:e=>l("longBreakInterval",e),min:1,max:20,className:"w-14 text-center"})})]}),
44
- /* @__PURE__ */P(ee,{icon:/* @__PURE__ */A(ce,{}),label:"TASK",children:[
44
+ /* @__PURE__ */D(ee,{icon:/* @__PURE__ */A(ce,{}),label:"TASK",children:[
45
45
  /* @__PURE__ */A(te,{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(se,{checked:s.autoCheckTasks,onChange:e=>l("autoCheckTasks",e)})}),
46
46
  /* @__PURE__ */A(te,{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(se,{checked:s.checkToBottom,onChange:e=>l("checkToBottom",e)})})]}),
47
- /* @__PURE__ */P(ee,{icon:/* @__PURE__ */A(ue,{}),label:"SOUND",children:[
48
- /* @__PURE__ */A(te,{label:"Alarm Sound",children:/* @__PURE__ */P("div",{className:"flex items-center gap-2",children:[
47
+ /* @__PURE__ */D(ee,{icon:/* @__PURE__ */A(ue,{}),label:"SOUND",children:[
48
+ /* @__PURE__ */A(te,{label:"Alarm Sound",children:/* @__PURE__ */D("div",{className:"flex items-center gap-2",children:[
49
49
  /* @__PURE__ */A(re,{value:s.alarmSound,onChange:e=>l("alarmSound",e),options:g.map(e=>({id:e.id,label:e.label}))}),"off"!==s.alarmSound&&/* @__PURE__ */A("button",{type:"button",onClick:()=>k(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
50
  /* @__PURE__ */A(oe,{value:s.alarmVolume,onChange:e=>l("alarmVolume",e)}),
51
51
  /* @__PURE__ */A(te,{label:"repeat",children:/* @__PURE__ */A(ne,{value:s.alarmRepeat,onChange:e=>l("alarmRepeat",e),min:1,max:5,className:"w-14 text-center"})}),
52
- /* @__PURE__ */A(te,{label:"Focus Sound",children:/* @__PURE__ */P("div",{className:"flex items-center gap-2",children:[
52
+ /* @__PURE__ */A(te,{label:"Focus Sound",children:/* @__PURE__ */D("div",{className:"flex items-center gap-2",children:[
53
53
  /* @__PURE__ */A(re,{value:s.focusSound,onChange:e=>l("focusSound",e),options:f}),"none"!==s.focusSound&&/* @__PURE__ */A("button",{type:"button",onClick:()=>b(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
54
  /* @__PURE__ */A(oe,{value:s.focusVolume,onChange:e=>l("focusVolume",e)})]})]})}function ee({icon:e,label:t,children:o}){/* @__PURE__ */
55
- return P("div",{className:"border-t border-gray-200 pt-3 first:border-0 first:pt-0",children:[
56
- /* @__PURE__ */P("div",{className:"flex items-center gap-2 mb-3 text-ink-faintest",children:[e,
55
+ return D("div",{className:"border-t border-gray-200 pt-3 first:border-0 first:pt-0",children:[
56
+ /* @__PURE__ */D("div",{className:"flex items-center gap-2 mb-3 text-ink-faintest",children:[e,
57
57
  /* @__PURE__ */A("span",{className:"text-xs font-bold tracking-[0.15em]",children:t})]}),
58
58
  /* @__PURE__ */A("div",{className:"space-y-3",children:o})]})}function te({label:e,info:t,children:o}){/* @__PURE__ */
59
- return P("div",{className:"flex items-center justify-between gap-3",children:[
60
- /* @__PURE__ */P("div",{className:"flex items-center gap-2 min-w-0",children:[
59
+ return D("div",{className:"flex items-center justify-between gap-3",children:[
60
+ /* @__PURE__ */D("div",{className:"flex items-center gap-2 min-w-0",children:[
61
61
  /* @__PURE__ */A("span",{className:"text-sm font-semibold text-gray-800",children:e}),t&&/* @__PURE__ */A(ie,{title:t})]}),
62
62
  /* @__PURE__ */A("div",{className:"shrink-0",children:o})]})}function oe({value:e,onChange:t}){/* @__PURE__ */
63
- return P("div",{className:"flex items-center justify-end gap-3",children:[
63
+ return D("div",{className:"flex items-center justify-end gap-3",children:[
64
64
  /* @__PURE__ */A("span",{className:"text-xs text-gray-400 w-7 text-right tabular-nums",children:e}),
65
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 ae({label:e,value:t,onChange:o,min:a=1,max:n=99}){/* @__PURE__ */
66
- return P("label",{className:"flex flex-col",children:[
66
+ return D("label",{className:"flex flex-col",children:[
67
67
  /* @__PURE__ */A("span",{className:"text-xs font-semibold text-gray-500 mb-1",children:e}),
68
68
  /* @__PURE__ */A(ne,{value:t,onChange:o,min:a,max:n})]})}function ne({value:e,onChange:t,min:o=1,max:a=99,className:n=""}){/* @__PURE__ */
69
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 re({value:e,onChange:t,options:o}){/* @__PURE__ */
70
- return P("div",{className:"relative",children:[
70
+ return D("div",{className:"relative",children:[
71
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
72
  /* @__PURE__ */A(S,{name:"chevron-down",className:`absolute right-2 top-1/2 -translate-y-1/2 h-3.5 w-3.5 pointer-events-none ${x}`,strokeWidth:2.5})]})}function se({checked:e,onChange:t}){/* @__PURE__ */
73
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 ie({title:e}){/* @__PURE__ */
74
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 le(){/* @__PURE__ */
75
- return P("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
75
+ return D("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
76
76
  /* @__PURE__ */A("circle",{cx:"12",cy:"12",r:"9"}),
77
77
  /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7v5l3 2"})]})}function ce(){/* @__PURE__ */
78
- return P("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
78
+ return D("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
79
79
  /* @__PURE__ */A("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),
80
80
  /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4"})]})}function ue(){/* @__PURE__ */
81
- return P("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
81
+ return D("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
82
82
  /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 5L6 9H2v6h4l5 4V5z"}),
83
83
  /* @__PURE__ */A("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 8.5a5 5 0 010 7M19 5a9 9 0 010 14"})]})}function de({onSubmit:e,onCancel:t,accentColor:o}){const[a,n]=M(""),[r,s]=M(1),i=()=>e(a,r);/* @__PURE__ */
84
- return P("div",{className:"bg-surface text-ink-strong rounded-md p-3 shadow-(--elevation-panel)",children:[
84
+ return D("div",{className:"bg-surface text-ink-strong rounded-md p-3 shadow-(--elevation-panel)",children:[
85
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
- /* @__PURE__ */P("div",{className:"flex items-center justify-between mt-2",children:[
86
+ /* @__PURE__ */D("div",{className:"flex items-center justify-between mt-2",children:[
87
87
  /* @__PURE__ */A("span",{className:"text-xs font-semibold text-gray-500",children:"Est Pomodoros"}),
88
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
- /* @__PURE__ */P("div",{className:"flex gap-2 mt-3 justify-end",children:[
89
+ /* @__PURE__ */D("div",{className:"flex gap-2 mt-3 justify-end",children:[
90
90
  /* @__PURE__ */A("button",{onClick:t,className:"px-3 py-1 text-sm text-gray-500 hover:bg-gray-100 rounded",children:"Cancel"}),
91
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{z as default};