@vokril/ui-solid 0.38.0 → 0.39.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 (244) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{AttributeGrid-tjVwSI4h.js → AttributeGrid-3O2W3ypv.js} +4 -4
  3. package/dist/{AttributeGrid-BNQaSpfE.cjs → AttributeGrid-qffaa5uv.cjs} +1 -1
  4. package/dist/{Button-D5Ihf90u.cjs → Button-CjjrlIug.cjs} +1 -1
  5. package/dist/{Button-DDkZzT-k.js → Button-CoxxUtMl.js} +1 -1
  6. package/dist/{CommandPalette-CGfXynfl.js → CommandPalette-BPDQPwyo.js} +48 -49
  7. package/dist/CommandPalette-CScLgfJA.cjs +2 -0
  8. package/dist/{CopyButton-gHxA-WL_.js → CopyButton-BaqPB0w9.js} +1 -1
  9. package/dist/{CopyButton-Hb6c_Oq1.cjs → CopyButton-Dd1ySSdc.cjs} +1 -1
  10. package/dist/{DateRangePicker-EEcp-IbM.cjs → DateRangePicker-D_MkyBuB.cjs} +1 -1
  11. package/dist/{DateRangePicker-B36NSGMS.js → DateRangePicker-Dovq_H9v.js} +5 -5
  12. package/dist/{GuidedTour-DicNwdq3.cjs → GuidedTour-D5M-Cuiu.cjs} +1 -1
  13. package/dist/{GuidedTour-bcaKpXPX.js → GuidedTour-_7EdPe59.js} +4 -4
  14. package/dist/{HostPortal-DsVQEH2q.js → HostPortal-CemXpUw0.js} +1 -1
  15. package/dist/{HostPortal-C1xTPZYj.cjs → HostPortal-d3C82uoY.cjs} +1 -1
  16. package/dist/{IconPicker-D60txter.cjs → IconPicker-B7u2Oirr.cjs} +1 -1
  17. package/dist/{IconPicker-7sF4n6vD.js → IconPicker-Cs9aZbov.js} +5 -5
  18. package/dist/{Input-agpwYeJd.js → Input-B-u9iAeF.js} +1 -1
  19. package/dist/{Input-DTm6v0fK.cjs → Input-B8JpqQm8.cjs} +1 -1
  20. package/dist/Modal-D7VNY7qc.cjs +1 -0
  21. package/dist/Modal-DFl9kHgo.js +771 -0
  22. package/dist/{PageSkeleton-XNfK8xoY.js → PageSkeleton-DXw1bN_s.js} +4 -4
  23. package/dist/{PageSkeleton-jljSUpu1.cjs → PageSkeleton-DfGcl7by.cjs} +1 -1
  24. package/dist/{SearchableSelect-DFdGGNR6.js → SearchableSelect-C8yQ-rOw.js} +3 -3
  25. package/dist/{SearchableSelect-CXPSoFqf.cjs → SearchableSelect-CEW9xqrV.cjs} +1 -1
  26. package/dist/{StatusBarNotificationBell-CnmMzXzD.js → StatusBarNotificationBell-0ZAKX6Pm.js} +90 -89
  27. package/dist/{StatusBarNotificationBell-MXX_K48w.cjs → StatusBarNotificationBell-p5z1utb0.cjs} +17 -17
  28. package/dist/{Stepper-D0rrrtAN.js → Stepper-BajLVWIf.js} +1 -1
  29. package/dist/{Stepper-BLKD4ub3.cjs → Stepper-D0oLl7n5.cjs} +1 -1
  30. package/dist/{Textarea-CKJDNOaL.js → Textarea-DDBLgvqI.js} +1 -1
  31. package/dist/{Textarea-Ds3bMrq9.cjs → Textarea-DwoGhZ2o.cjs} +1 -1
  32. package/dist/{TimeSeriesChart-DBARL8HG.js → TimeSeriesChart-BHpO2mgd.js} +1 -1
  33. package/dist/{TimeSeriesChart-B9cqfs1M.cjs → TimeSeriesChart-Cz_aDLuL.cjs} +1 -1
  34. package/dist/ToggleButton-DD7P-ygT.js +2230 -0
  35. package/dist/ToggleButton-QvGzJEMX.cjs +1 -0
  36. package/dist/_internal/platform/settings/registry/fieldSpec.d.cts +20 -0
  37. package/dist/_internal/platform/settings/registry/fieldSpec.d.ts +20 -0
  38. package/dist/charts/index.cjs +1 -1
  39. package/dist/charts/index.js +1 -1
  40. package/dist/createDialogShellFocus-CWUvggZT.cjs +1 -0
  41. package/dist/createDialogShellFocus-DGywzFLf.js +108 -0
  42. package/dist/createResizableSidebar-DaKeauOW.cjs +1 -0
  43. package/dist/createResizableSidebar-aJsKEsWW.js +1131 -0
  44. package/dist/de-0s2sq5fV.cjs +1 -0
  45. package/dist/{de-CSWSMGCG.js → de-CwV1LVg7.js} +67 -57
  46. package/dist/{server/defineSettings-Di1sG81q.js → defineSettings-CDbllpYi.js} +97 -97
  47. package/dist/defineSettings-D2AaV355.cjs +1 -0
  48. package/dist/desktop/index.cjs +1 -1
  49. package/dist/desktop/index.js +3 -3
  50. package/dist/feedback/index.cjs +1 -1
  51. package/dist/feedback/index.js +21 -22
  52. package/dist/forms/NumberInput.d.cts +6 -0
  53. package/dist/forms/NumberInput.d.ts +6 -0
  54. package/dist/forms/RadioGroup.d.cts +5 -0
  55. package/dist/forms/RadioGroup.d.ts +5 -0
  56. package/dist/forms/Slider.d.cts +11 -0
  57. package/dist/forms/Slider.d.ts +11 -0
  58. package/dist/forms/index.cjs +1 -1
  59. package/dist/forms/index.js +32 -31
  60. package/dist/grid/index.cjs +1 -1
  61. package/dist/grid/index.js +1 -1
  62. package/dist/{server/headerIconOverrides-Dh2PaOcO.js → headerIconOverrides-C91HoTIu.js} +1 -1
  63. package/dist/{headerIconOverrides-Bn1QuODq.cjs → headerIconOverrides-DldzXQvu.cjs} +1 -1
  64. package/dist/host/index.cjs +1 -1
  65. package/dist/host/index.js +1 -1
  66. package/dist/i18n/index.cjs +1 -1
  67. package/dist/i18n/index.js +1 -1
  68. package/dist/i18n/messageKeys.d.cts +1 -1
  69. package/dist/i18n/messageKeys.d.ts +1 -1
  70. package/dist/{i18n-DrmazJQC.cjs → i18n-CMATMGUq.cjs} +1 -1
  71. package/dist/{server/i18n-BJiKwNyr.js → i18n-Sl2PGRJm.js} +2 -2
  72. package/dist/index.cjs +1 -1
  73. package/dist/index.js +386 -382
  74. package/dist/layout/SettingsCard.d.cts +50 -4
  75. package/dist/layout/SettingsCard.d.ts +50 -4
  76. package/dist/layout/SettingsPageHeader.d.cts +26 -0
  77. package/dist/layout/SettingsPageHeader.d.ts +26 -0
  78. package/dist/layout/SettingsSaveBar.d.cts +27 -0
  79. package/dist/layout/SettingsSaveBar.d.ts +27 -0
  80. package/dist/layout/index.cjs +1 -1
  81. package/dist/layout/index.d.cts +2 -0
  82. package/dist/layout/index.d.ts +2 -0
  83. package/dist/layout/index.js +19 -16
  84. package/dist/mainRealmDom-DPOYak2f.js +241 -0
  85. package/dist/mainRealmDom-DR-EKDyJ.cjs +1 -0
  86. package/dist/navigation/index.cjs +1 -1
  87. package/dist/navigation/index.js +1 -1
  88. package/dist/notifications/index.cjs +1 -1
  89. package/dist/notifications/index.js +2 -2
  90. package/dist/overlay/index.cjs +1 -1
  91. package/dist/overlay/index.js +81 -81
  92. package/dist/{rowSource-BWm-kZHe.cjs → rowSource-Dp03nFHg.cjs} +1 -1
  93. package/dist/{rowSource-DEulMv5F.js → rowSource-DzBH734K.js} +1 -1
  94. package/dist/server/{AttributeGrid-fT5-b9ZJ.cjs → AttributeGrid-BPyB5H_H.cjs} +1 -1
  95. package/dist/server/{AttributeGrid-BmS2U5Gz.js → AttributeGrid-D0HdnQwA.js} +4 -4
  96. package/dist/server/{Button-lNnNp0um.cjs → Button-BYua2a1G.cjs} +1 -1
  97. package/dist/server/{Button-XL9Os1pR.js → Button-Dm6WTzyZ.js} +1 -1
  98. package/dist/server/{CommandPalette-CgTnmrYx.js → CommandPalette-1riKvsQ7.js} +58 -59
  99. package/dist/server/CommandPalette-C3vIL_Xy.cjs +1 -0
  100. package/dist/server/{CopyButton-BpbGM72h.cjs → CopyButton-C8X9_i2U.cjs} +1 -1
  101. package/dist/server/{CopyButton-BdU_8aZB.js → CopyButton-CiIn4JgO.js} +1 -1
  102. package/dist/server/{DateRangePicker-ClJHlO9g.cjs → DateRangePicker-C__y0HCf.cjs} +1 -1
  103. package/dist/server/{DateRangePicker-DGXmbyCR.js → DateRangePicker-Dcf63rgk.js} +5 -5
  104. package/dist/server/{GuidedTour-CCkg6Paz.js → GuidedTour-C2qj1eJV.js} +4 -4
  105. package/dist/server/{GuidedTour-PETCExHX.cjs → GuidedTour-dHkVCPDa.cjs} +1 -1
  106. package/dist/server/{HostPortal-BNGZ8nw4.cjs → HostPortal-Cer0ZWuN.cjs} +1 -1
  107. package/dist/server/{HostPortal-CdhnKAWT.js → HostPortal-DrWkfjom.js} +1 -1
  108. package/dist/server/IconPicker-CVKAPry2.cjs +1 -0
  109. package/dist/server/IconPicker-DFdvzkBa.js +177 -0
  110. package/dist/server/{Input-DFAn8kou.js → Input-CZRn0xEu.js} +1 -1
  111. package/dist/server/{Input-DOTXKwhw.cjs → Input-D-AsptC1.cjs} +1 -1
  112. package/dist/server/Modal-C0XgZxFM.js +666 -0
  113. package/dist/server/Modal-Z2GKE_pB.cjs +1 -0
  114. package/dist/server/{PageSkeleton--ssP7Di9.cjs → PageSkeleton-CAOjFqLX.cjs} +1 -1
  115. package/dist/server/{PageSkeleton-DRPIcDHU.js → PageSkeleton-mUvFZjuO.js} +4 -4
  116. package/dist/server/{SearchableSelect-y0Fr7cPS.js → SearchableSelect-B_YzkqQ1.js} +3 -3
  117. package/dist/server/{SearchableSelect-DsHkuiTW.cjs → SearchableSelect-D7D8wc41.cjs} +1 -1
  118. package/dist/server/{StatusBarNotificationBell-CY16bTyI.js → StatusBarNotificationBell-BSf6AYup.js} +93 -92
  119. package/dist/server/{StatusBarNotificationBell-BrHZ2r3X.cjs → StatusBarNotificationBell-CXy6l96T.cjs} +16 -16
  120. package/dist/server/{Stepper-BOVzsqcG.cjs → Stepper-M6pNQENY.cjs} +1 -1
  121. package/dist/server/{Stepper-DC34G5fk.js → Stepper-NOcT2PUr.js} +1 -1
  122. package/dist/server/{Textarea-D43xOjAJ.cjs → Textarea-BbNqLhyF.cjs} +1 -1
  123. package/dist/server/{Textarea-CL2wYpW7.js → Textarea-oZhm52Ze.js} +1 -1
  124. package/dist/server/{TimeSeriesChart-CP-2M3R7.js → TimeSeriesChart-BnQVcl3k.js} +1 -1
  125. package/dist/server/{TimeSeriesChart-CL1GjjV5.cjs → TimeSeriesChart-e1SNJn0I.cjs} +1 -1
  126. package/dist/server/ToggleButton-0RDr232S.js +1409 -0
  127. package/dist/server/ToggleButton-DlmABUC0.cjs +1 -0
  128. package/dist/server/VpRefresh-CtYYafTv.cjs +1 -0
  129. package/dist/server/{VpRefresh-Dlqsm9Va.js → VpRefresh-D5QKuisA.js} +21 -7
  130. package/dist/server/{VpUpload-_n-qdj9q.js → VpUpload-CSRCHUzX.js} +13 -27
  131. package/dist/server/VpUpload-D6fJ79Sq.cjs +1 -0
  132. package/dist/server/charts/index.cjs +1 -1
  133. package/dist/server/charts/index.js +1 -1
  134. package/dist/server/createDialogShellFocus-Bi1WKkUj.cjs +1 -0
  135. package/dist/server/createDialogShellFocus-ak-XCTsF.js +130 -0
  136. package/dist/server/createResizableSidebar-BEKgedv0.js +826 -0
  137. package/dist/server/createResizableSidebar-Ccg1QdCD.cjs +1 -0
  138. package/dist/server/de-0s2sq5fV.cjs +1 -0
  139. package/dist/server/{de-CSWSMGCG.js → de-CwV1LVg7.js} +67 -57
  140. package/dist/{defineSettings-Di1sG81q.js → server/defineSettings-CDbllpYi.js} +97 -97
  141. package/dist/server/defineSettings-D2AaV355.cjs +1 -0
  142. package/dist/server/desktop/index.cjs +1 -1
  143. package/dist/server/desktop/index.js +3 -3
  144. package/dist/server/feedback/index.cjs +1 -1
  145. package/dist/server/feedback/index.js +21 -22
  146. package/dist/server/forms/index.cjs +1 -1
  147. package/dist/server/forms/index.js +32 -31
  148. package/dist/server/grid/index.cjs +1 -1
  149. package/dist/server/grid/index.js +1 -1
  150. package/dist/{headerIconOverrides-Dh2PaOcO.js → server/headerIconOverrides-C91HoTIu.js} +1 -1
  151. package/dist/server/{headerIconOverrides-Bn1QuODq.cjs → headerIconOverrides-DldzXQvu.cjs} +1 -1
  152. package/dist/server/host/index.cjs +1 -1
  153. package/dist/server/host/index.js +1 -1
  154. package/dist/server/i18n/index.cjs +1 -1
  155. package/dist/server/i18n/index.js +1 -1
  156. package/dist/server/{i18n-DrmazJQC.cjs → i18n-CMATMGUq.cjs} +1 -1
  157. package/dist/{i18n-BJiKwNyr.js → server/i18n-Sl2PGRJm.js} +2 -2
  158. package/dist/server/index-BvvCpxSh.cjs +1 -0
  159. package/dist/server/{index-vTHpJ130.js → index-DlDNpxRq.js} +3878 -3890
  160. package/dist/server/index.cjs +1 -1
  161. package/dist/server/index.js +370 -366
  162. package/dist/server/layout/index.cjs +1 -1
  163. package/dist/server/layout/index.js +19 -16
  164. package/dist/server/mainRealmDom-Cq0tErb0.cjs +1 -0
  165. package/dist/server/mainRealmDom-D514acmj.js +208 -0
  166. package/dist/server/navigation/index.cjs +1 -1
  167. package/dist/server/navigation/index.js +1 -1
  168. package/dist/server/notifications/index.cjs +1 -1
  169. package/dist/server/notifications/index.js +2 -2
  170. package/dist/server/overlay/index.cjs +1 -1
  171. package/dist/server/overlay/index.js +88 -88
  172. package/dist/server/{rowSource-BOt_vVGY.cjs → rowSource-DmvigIWa.cjs} +1 -1
  173. package/dist/server/{rowSource-WElLH5Tb.js → rowSource-YeumsqcV.js} +1 -1
  174. package/dist/server/settings/index.cjs +1 -1
  175. package/dist/server/settings/index.js +3 -3
  176. package/dist/server/tr-BX8BaTSw.cjs +1 -0
  177. package/dist/{tr-BL1soeyr.js → server/tr-LIF9No7k.js} +66 -56
  178. package/dist/server/tree/index.cjs +1 -1
  179. package/dist/server/tree/index.js +1 -1
  180. package/dist/{useSettingsSubscription-DLEk4k4j.js → server/useSettingsSubscription-CRRJdYJ-.js} +1 -1
  181. package/dist/{useSettingsSubscription-DKjCwmRd.cjs → server/useSettingsSubscription-DGo_GObq.cjs} +1 -1
  182. package/dist/settings/index.cjs +1 -1
  183. package/dist/settings/index.js +3 -3
  184. package/dist/solid/_internal/platform/settings/registry/defineSettings.js +6 -0
  185. package/dist/solid/forms/NumberInput.jsx +15 -7
  186. package/dist/solid/forms/RadioGroup.jsx +6 -1
  187. package/dist/solid/forms/RadioGroup.module.css.js +2 -0
  188. package/dist/solid/forms/Slider.jsx +19 -2
  189. package/dist/solid/forms/Slider.module.css.js +3 -1
  190. package/dist/solid/i18n/locales/de.json +9 -1
  191. package/dist/solid/i18n/locales/tr.json +9 -1
  192. package/dist/solid/layout/SettingsCard.jsx +57 -5
  193. package/dist/solid/layout/SettingsCard.module.css.js +10 -1
  194. package/dist/solid/layout/SettingsPageHeader.jsx +34 -0
  195. package/dist/solid/layout/SettingsSaveBar.jsx +27 -0
  196. package/dist/solid/layout/SettingsSaveBar.module.css.js +8 -0
  197. package/dist/solid/layout/SettingsSubpageHeader.module.css.js +3 -0
  198. package/dist/solid/layout/index.js +2 -0
  199. package/dist/style.css +1 -1
  200. package/dist/tr-BX8BaTSw.cjs +1 -0
  201. package/dist/{server/tr-BL1soeyr.js → tr-LIF9No7k.js} +66 -56
  202. package/dist/tree/index.cjs +1 -1
  203. package/dist/tree/index.js +1 -1
  204. package/dist/ui.css +1 -1
  205. package/dist/{server/useSettingsSubscription-DLEk4k4j.js → useSettingsSubscription-CRRJdYJ-.js} +1 -1
  206. package/dist/{server/useSettingsSubscription-DKjCwmRd.cjs → useSettingsSubscription-DGo_GObq.cjs} +1 -1
  207. package/package.json +1 -1
  208. package/dist/CommandPalette-CdiIycaW.cjs +0 -2
  209. package/dist/Kbd-BDZklpw9.cjs +0 -1
  210. package/dist/Kbd-DF6Tvp8V.js +0 -191
  211. package/dist/Modal-C1vp7z7l.cjs +0 -1
  212. package/dist/Modal-aKptl9ig.js +0 -599
  213. package/dist/ToggleButton-BZFJnMrm.cjs +0 -1
  214. package/dist/ToggleButton-CY_LrcKr.js +0 -2186
  215. package/dist/createDialogShellFocus-C2FKc2rv.cjs +0 -1
  216. package/dist/createDialogShellFocus-CgjiySLA.js +0 -282
  217. package/dist/createResizableSidebar-BqW3Ozgd.cjs +0 -1
  218. package/dist/createResizableSidebar-CKbN032u.js +0 -853
  219. package/dist/de-BQbrl0SL.cjs +0 -1
  220. package/dist/defineSettings-D0CSMcyy.cjs +0 -1
  221. package/dist/mainRealmDom-BcPuVvcy.cjs +0 -1
  222. package/dist/mainRealmDom-DydRT2Us.js +0 -54
  223. package/dist/server/CommandPalette-C0MbWZHM.cjs +0 -1
  224. package/dist/server/IconPicker-B5lUuCxR.js +0 -162
  225. package/dist/server/IconPicker-BfRZtScr.cjs +0 -1
  226. package/dist/server/Kbd-BPlUnyiy.cjs +0 -1
  227. package/dist/server/Kbd-BTbz_c_e.js +0 -170
  228. package/dist/server/Modal-BI3FtG-d.cjs +0 -1
  229. package/dist/server/Modal-Cbmikig8.js +0 -426
  230. package/dist/server/ToggleButton-CgiblDAs.js +0 -1375
  231. package/dist/server/ToggleButton-i_dhigBM.cjs +0 -1
  232. package/dist/server/VpRefresh-CEyHVNo-.cjs +0 -1
  233. package/dist/server/VpUpload-Bzy0ViGU.cjs +0 -1
  234. package/dist/server/createDialogShellFocus-BXCNQyU9.js +0 -370
  235. package/dist/server/createDialogShellFocus-CKsZl9Uz.cjs +0 -1
  236. package/dist/server/createResizableSidebar-B8zMo4jJ.js +0 -599
  237. package/dist/server/createResizableSidebar-DXFKY01F.cjs +0 -1
  238. package/dist/server/de-BQbrl0SL.cjs +0 -1
  239. package/dist/server/defineSettings-D0CSMcyy.cjs +0 -1
  240. package/dist/server/index-CME-IDQX.cjs +0 -1
  241. package/dist/server/mainRealmDom-BuGEeM_r.cjs +0 -1
  242. package/dist/server/mainRealmDom-CzckS_ss.js +0 -42
  243. package/dist/server/tr-sOAsJS3P.cjs +0 -1
  244. package/dist/tr-sOAsJS3P.cjs +0 -1
@@ -50,10 +50,30 @@ export interface SettingsRowProps {
50
50
  leading?: JSX.Element | undefined;
51
51
  /** Badges after the label, on its line. */
52
52
  badges?: JSX.Element | undefined;
53
- /** Marks the setting as changed from its default with a dot after the label. */
53
+ /**
54
+ * The saved value differs from the default: a "Customized" badge after the label. With
55
+ * `onReset` the badge is a button that puts the default back.
56
+ */
54
57
  modified?: boolean | undefined;
55
- /** Accessible name of the `modified` dot. Default: the translated "Modified". */
58
+ /** Text of the `modified` badge. Default: the translated "Customized". */
56
59
  modifiedLabel?: string | undefined;
60
+ /** The default value as text ("13 px"), named in the `modified` badge's tooltip. */
61
+ defaultLabel?: string | undefined;
62
+ /** With `modified`: resets the setting to its default. */
63
+ onReset?: (() => void) | undefined;
64
+ /**
65
+ * The value is changed but not saved yet: a bar on the row's leading edge. The page's
66
+ * `SettingsSaveBar` saves or reverts it with the others.
67
+ */
68
+ pending?: boolean | undefined;
69
+ /** With `pending`: a button after the label that puts this setting's saved value back. */
70
+ onRevert?: (() => void) | undefined;
71
+ /**
72
+ * Longer background information than the one-sentence `description`: a help button after the
73
+ * label shows it on hover and focus. The text stays in the DOM, visually hidden, so the control
74
+ * is described by it and a settings search finds it.
75
+ */
76
+ help?: JSX.Element | undefined;
57
77
  /**
58
78
  * Dims the label and description. The control is disabled by the caller (its own `disabled`),
59
79
  * and the description should say why.
@@ -72,6 +92,11 @@ export interface SettingsRowProps {
72
92
  openLabel?: string | undefined;
73
93
  /** `id` of the open button, for the host to return focus to it. */
74
94
  openButtonId?: string | undefined;
95
+ /**
96
+ * Puts the control under the text, across the row's width, instead of at the end: picture
97
+ * cards, a list of items, a row of day buttons that do not fit beside the label.
98
+ */
99
+ stack?: boolean | undefined;
75
100
  class?: string | undefined;
76
101
  }
77
102
  /**
@@ -102,7 +127,28 @@ export interface SettingsAdvancedRowProps {
102
127
  }
103
128
  /**
104
129
  * A row inside a `SettingsCard` that folds the card's less used settings away: "› Advanced",
105
- * what is inside, and a badge. Opening it reveals its rows in the same card, indented. Built on
106
- * `Disclosure`: a real button with `aria-expanded` and `aria-controls`.
130
+ * what is inside, and a badge. Opening it reveals its rows in the same card, on the muted
131
+ * ground that also carries `SettingsDependentRows`. Built on `Disclosure`: a real button with
132
+ * `aria-expanded` and `aria-controls`.
107
133
  */
108
134
  export declare function SettingsAdvancedRow(props: SettingsAdvancedRowProps): JSX.Element;
135
+ export interface SettingsDependentRowsProps {
136
+ /**
137
+ * Shown while the setting they depend on allows them: a switch is on, a select has the value
138
+ * they apply to. Closed rows are not rendered, so a host's settings search should pass `true`
139
+ * while it searches, as it does for `SettingsAdvancedRow`.
140
+ */
141
+ open: boolean;
142
+ /** `id` of the area, for the controlling switch's `aria-controls`. */
143
+ id?: string | undefined;
144
+ /** The dependent `SettingsRow`s. */
145
+ children: JSX.Element;
146
+ class?: string | undefined;
147
+ }
148
+ /**
149
+ * Settings that only apply while another one allows them, placed right under that setting's
150
+ * row: "Keep entries for" under "Delete old entries automatically". They sit on the muted ground
151
+ * the Advanced rows use, aligned with the other rows, and appear and disappear with their parent.
152
+ * The short reveal plays only when the area opens, never when the page first draws it.
153
+ */
154
+ export declare function SettingsDependentRows(props: SettingsDependentRowsProps): JSX.Element;
@@ -50,10 +50,30 @@ export interface SettingsRowProps {
50
50
  leading?: JSX.Element | undefined;
51
51
  /** Badges after the label, on its line. */
52
52
  badges?: JSX.Element | undefined;
53
- /** Marks the setting as changed from its default with a dot after the label. */
53
+ /**
54
+ * The saved value differs from the default: a "Customized" badge after the label. With
55
+ * `onReset` the badge is a button that puts the default back.
56
+ */
54
57
  modified?: boolean | undefined;
55
- /** Accessible name of the `modified` dot. Default: the translated "Modified". */
58
+ /** Text of the `modified` badge. Default: the translated "Customized". */
56
59
  modifiedLabel?: string | undefined;
60
+ /** The default value as text ("13 px"), named in the `modified` badge's tooltip. */
61
+ defaultLabel?: string | undefined;
62
+ /** With `modified`: resets the setting to its default. */
63
+ onReset?: (() => void) | undefined;
64
+ /**
65
+ * The value is changed but not saved yet: a bar on the row's leading edge. The page's
66
+ * `SettingsSaveBar` saves or reverts it with the others.
67
+ */
68
+ pending?: boolean | undefined;
69
+ /** With `pending`: a button after the label that puts this setting's saved value back. */
70
+ onRevert?: (() => void) | undefined;
71
+ /**
72
+ * Longer background information than the one-sentence `description`: a help button after the
73
+ * label shows it on hover and focus. The text stays in the DOM, visually hidden, so the control
74
+ * is described by it and a settings search finds it.
75
+ */
76
+ help?: JSX.Element | undefined;
57
77
  /**
58
78
  * Dims the label and description. The control is disabled by the caller (its own `disabled`),
59
79
  * and the description should say why.
@@ -72,6 +92,11 @@ export interface SettingsRowProps {
72
92
  openLabel?: string | undefined;
73
93
  /** `id` of the open button, for the host to return focus to it. */
74
94
  openButtonId?: string | undefined;
95
+ /**
96
+ * Puts the control under the text, across the row's width, instead of at the end: picture
97
+ * cards, a list of items, a row of day buttons that do not fit beside the label.
98
+ */
99
+ stack?: boolean | undefined;
75
100
  class?: string | undefined;
76
101
  }
77
102
  /**
@@ -102,7 +127,28 @@ export interface SettingsAdvancedRowProps {
102
127
  }
103
128
  /**
104
129
  * A row inside a `SettingsCard` that folds the card's less used settings away: "› Advanced",
105
- * what is inside, and a badge. Opening it reveals its rows in the same card, indented. Built on
106
- * `Disclosure`: a real button with `aria-expanded` and `aria-controls`.
130
+ * what is inside, and a badge. Opening it reveals its rows in the same card, on the muted
131
+ * ground that also carries `SettingsDependentRows`. Built on `Disclosure`: a real button with
132
+ * `aria-expanded` and `aria-controls`.
107
133
  */
108
134
  export declare function SettingsAdvancedRow(props: SettingsAdvancedRowProps): JSX.Element;
135
+ export interface SettingsDependentRowsProps {
136
+ /**
137
+ * Shown while the setting they depend on allows them: a switch is on, a select has the value
138
+ * they apply to. Closed rows are not rendered, so a host's settings search should pass `true`
139
+ * while it searches, as it does for `SettingsAdvancedRow`.
140
+ */
141
+ open: boolean;
142
+ /** `id` of the area, for the controlling switch's `aria-controls`. */
143
+ id?: string | undefined;
144
+ /** The dependent `SettingsRow`s. */
145
+ children: JSX.Element;
146
+ class?: string | undefined;
147
+ }
148
+ /**
149
+ * Settings that only apply while another one allows them, placed right under that setting's
150
+ * row: "Keep entries for" under "Delete old entries automatically". They sit on the muted ground
151
+ * the Advanced rows use, aligned with the other rows, and appear and disappear with their parent.
152
+ * The short reveal plays only when the area opens, never when the page first draws it.
153
+ */
154
+ export declare function SettingsDependentRows(props: SettingsDependentRowsProps): JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { type JSX } from 'solid-js';
2
+ export interface SettingsPageHeaderProps {
3
+ /** The page's title. Pre-translated by the caller. */
4
+ title: JSX.Element;
5
+ /** A muted line under the title: what the page is for. */
6
+ description?: JSX.Element | undefined;
7
+ /** A small line above the title: the group the page belongs to ("SQL Editor"). */
8
+ eyebrow?: JSX.Element | undefined;
9
+ /** Badges after the title, for example where the values are stored ("Vault"). */
10
+ badges?: JSX.Element | undefined;
11
+ /** A short muted note under the description, for example "Changes apply at once." */
12
+ note?: JSX.Element | undefined;
13
+ /** Controls on the right of the title: a documentation link, a "More actions" menu. */
14
+ actions?: JSX.Element | undefined;
15
+ /** Heading level of `title`. Default 2. */
16
+ headingLevel?: 1 | 2 | 3 | undefined;
17
+ /** Moves focus to the title when the header mounts. Default false. */
18
+ focusOnMount?: boolean | undefined;
19
+ class?: string | undefined;
20
+ }
21
+ /**
22
+ * The top of a settings page: an optional group name, the title with its badges, a description,
23
+ * an optional note, and actions on the right. A subpage opened from one of its rows uses
24
+ * `SettingsSubpageHeader`, which adds the back button.
25
+ */
26
+ export declare function SettingsPageHeader(props: SettingsPageHeaderProps): JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { type JSX } from 'solid-js';
2
+ export interface SettingsPageHeaderProps {
3
+ /** The page's title. Pre-translated by the caller. */
4
+ title: JSX.Element;
5
+ /** A muted line under the title: what the page is for. */
6
+ description?: JSX.Element | undefined;
7
+ /** A small line above the title: the group the page belongs to ("SQL Editor"). */
8
+ eyebrow?: JSX.Element | undefined;
9
+ /** Badges after the title, for example where the values are stored ("Vault"). */
10
+ badges?: JSX.Element | undefined;
11
+ /** A short muted note under the description, for example "Changes apply at once." */
12
+ note?: JSX.Element | undefined;
13
+ /** Controls on the right of the title: a documentation link, a "More actions" menu. */
14
+ actions?: JSX.Element | undefined;
15
+ /** Heading level of `title`. Default 2. */
16
+ headingLevel?: 1 | 2 | 3 | undefined;
17
+ /** Moves focus to the title when the header mounts. Default false. */
18
+ focusOnMount?: boolean | undefined;
19
+ class?: string | undefined;
20
+ }
21
+ /**
22
+ * The top of a settings page: an optional group name, the title with its badges, a description,
23
+ * an optional note, and actions on the right. A subpage opened from one of its rows uses
24
+ * `SettingsSubpageHeader`, which adds the back button.
25
+ */
26
+ export declare function SettingsPageHeader(props: SettingsPageHeaderProps): JSX.Element;
@@ -0,0 +1,27 @@
1
+ import { type JSX } from 'solid-js';
2
+ export interface SettingsSaveBarProps {
3
+ /** How many settings on the page are changed but not saved. The bar is hidden at 0. */
4
+ count: number;
5
+ /** Saves every pending change on the page. */
6
+ onSave: () => void;
7
+ /** Puts every pending change back to its saved value. */
8
+ onRevert: () => void;
9
+ /** A save is running: the buttons wait and Save shows its loading state. */
10
+ saving?: boolean | undefined;
11
+ /** Why the last save failed, shown in the bar. Keeps the bar visible. Pre-translated. */
12
+ error?: JSX.Element | undefined;
13
+ /** Replaces the "N unsaved changes" text. Pre-translated. */
14
+ message?: JSX.Element | undefined;
15
+ /** Text of the save button. Default: the translated "Save". */
16
+ saveLabel?: string | undefined;
17
+ /** Text of the revert button. Default: the translated "Revert". */
18
+ revertLabel?: string | undefined;
19
+ class?: string | undefined;
20
+ }
21
+ /**
22
+ * The bar at the bottom of a settings page whose changes are kept as a draft: how many settings
23
+ * are changed, Revert and Save. It sticks to the bottom of the scrolling page and only appears
24
+ * while something is unsaved, so pages with nothing pending show no buttons at all. Settings that
25
+ * apply at once never reach it.
26
+ */
27
+ export declare function SettingsSaveBar(props: SettingsSaveBarProps): JSX.Element;
@@ -0,0 +1,27 @@
1
+ import { type JSX } from 'solid-js';
2
+ export interface SettingsSaveBarProps {
3
+ /** How many settings on the page are changed but not saved. The bar is hidden at 0. */
4
+ count: number;
5
+ /** Saves every pending change on the page. */
6
+ onSave: () => void;
7
+ /** Puts every pending change back to its saved value. */
8
+ onRevert: () => void;
9
+ /** A save is running: the buttons wait and Save shows its loading state. */
10
+ saving?: boolean | undefined;
11
+ /** Why the last save failed, shown in the bar. Keeps the bar visible. Pre-translated. */
12
+ error?: JSX.Element | undefined;
13
+ /** Replaces the "N unsaved changes" text. Pre-translated. */
14
+ message?: JSX.Element | undefined;
15
+ /** Text of the save button. Default: the translated "Save". */
16
+ saveLabel?: string | undefined;
17
+ /** Text of the revert button. Default: the translated "Revert". */
18
+ revertLabel?: string | undefined;
19
+ class?: string | undefined;
20
+ }
21
+ /**
22
+ * The bar at the bottom of a settings page whose changes are kept as a draft: how many settings
23
+ * are changed, Revert and Save. It sticks to the bottom of the scrolling page and only appears
24
+ * while something is unsaved, so pages with nothing pending show no buttons at all. Settings that
25
+ * apply at once never reach it.
26
+ */
27
+ export declare function SettingsSaveBar(props: SettingsSaveBarProps): JSX.Element;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-BqW3Ozgd.cjs"),a=require("../Stepper-BLKD4ub3.cjs"),r=require("../createVirtualWindow-C8_UuF7B.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.SettingsAdvancedRow=e.SettingsAdvancedRow;exports.SettingsCard=e.SettingsCard;exports.SettingsRow=e.SettingsRow;exports.SettingsSubpageHeader=e.SettingsSubpageHeader;exports.createResizableSidebar=e.createResizableSidebar;exports.createVirtualScroller=e.createVirtualScroller;exports.Accordion=a.Accordion;exports.Breadcrumb=a.Breadcrumb;exports.Stepper=a.Stepper;exports.Tabs=a.Tabs;exports.createVirtualWindow=r.createVirtualWindow;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-DaKeauOW.cjs"),t=require("../Stepper-D0oLl7n5.cjs"),a=require("../createVirtualWindow-C8_UuF7B.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.SettingsAdvancedRow=e.SettingsAdvancedRow;exports.SettingsCard=e.SettingsCard;exports.SettingsDependentRows=e.SettingsDependentRows;exports.SettingsPageHeader=e.SettingsPageHeader;exports.SettingsRow=e.SettingsRow;exports.SettingsSaveBar=e.SettingsSaveBar;exports.SettingsSubpageHeader=e.SettingsSubpageHeader;exports.createResizableSidebar=e.createResizableSidebar;exports.createVirtualScroller=e.createVirtualScroller;exports.Accordion=t.Accordion;exports.Breadcrumb=t.Breadcrumb;exports.Stepper=t.Stepper;exports.Tabs=t.Tabs;exports.createVirtualWindow=a.createVirtualWindow;
@@ -1,6 +1,8 @@
1
1
  export * from './PageHeader.cjs';
2
2
  export * from './SettingsCard.cjs';
3
3
  export * from './SettingsSubpageHeader.cjs';
4
+ export * from './SettingsPageHeader.cjs';
5
+ export * from './SettingsSaveBar.cjs';
4
6
  export * from './ResizeHandle.cjs';
5
7
  export * from './ResizableSplitPane.cjs';
6
8
  export * from '../navigation/Tabs.cjs';
@@ -1,6 +1,8 @@
1
1
  export * from './PageHeader.js';
2
2
  export * from './SettingsCard.js';
3
3
  export * from './SettingsSubpageHeader.js';
4
+ export * from './SettingsPageHeader.js';
5
+ export * from './SettingsSaveBar.js';
4
6
  export * from './ResizeHandle.js';
5
7
  export * from './ResizableSplitPane.js';
6
8
  export * from '../navigation/Tabs.js';
@@ -1,20 +1,23 @@
1
- import { P as s, a as r, R as t, b as i, S as o, c as d, d as c, e as S, f as n, g } from "../createResizableSidebar-CKbN032u.js";
2
- import { A as b, B as p, S as R, T as f } from "../Stepper-D0rrrtAN.js";
3
- import { c as u } from "../createVirtualWindow-CGPw2jm_.js";
1
+ import { P as s, a as t, R as r, b as i, S as n, c as S, d, e as o, f as g, g as c, h as l, i as p, j as b } from "../createResizableSidebar-aJsKEsWW.js";
2
+ import { A as H, B as P, S as f, T as m } from "../Stepper-BajLVWIf.js";
3
+ import { c as w } from "../createVirtualWindow-CGPw2jm_.js";
4
4
  export {
5
- b as Accordion,
6
- p as Breadcrumb,
5
+ H as Accordion,
6
+ P as Breadcrumb,
7
7
  s as PageHeader,
8
- r as PageHeaderIcon,
9
- t as ResizableSplitPane,
8
+ t as PageHeaderIcon,
9
+ r as ResizableSplitPane,
10
10
  i as ResizeHandle,
11
- o as SettingsAdvancedRow,
12
- d as SettingsCard,
13
- c as SettingsRow,
14
- S as SettingsSubpageHeader,
15
- R as Stepper,
16
- f as Tabs,
17
- n as createResizableSidebar,
18
- g as createVirtualScroller,
19
- u as createVirtualWindow
11
+ n as SettingsAdvancedRow,
12
+ S as SettingsCard,
13
+ d as SettingsDependentRows,
14
+ o as SettingsPageHeader,
15
+ g as SettingsRow,
16
+ c as SettingsSaveBar,
17
+ l as SettingsSubpageHeader,
18
+ f as Stepper,
19
+ m as Tabs,
20
+ p as createResizableSidebar,
21
+ b as createVirtualScroller,
22
+ w as createVirtualWindow
20
23
  };
@@ -0,0 +1,241 @@
1
+ import { createComponent as m, insert as l, effect as h, className as u, setAttribute as b, template as v } from "solid-js/web";
2
+ import { createMemo as w, Show as k, For as S } from "solid-js";
3
+ const p = "vk_kbdWrapper_mOLl9", C = "vk_kbd_knNRf", z = "vk_variantDefault_ALmKJ", A = "vk_variantSubtle_9NVFr", L = "vk_variantOutline_Ptjkn", E = "vk_sizeXs_44piL", D = "vk_sizeSm_kxC3Y", y = "vk_sizeMd_sVjY6", M = "vk_chordGap_qV1nD", o = {
4
+ kbdWrapper: p,
5
+ kbd: C,
6
+ variantDefault: z,
7
+ variantSubtle: A,
8
+ variantOutline: L,
9
+ sizeXs: E,
10
+ sizeSm: D,
11
+ sizeMd: y,
12
+ chordGap: M
13
+ }, O = /* @__PURE__ */ new Set(["⌃", "⇧", "⌥", "⌘"]), P = {
14
+ "⌘": "Command",
15
+ "⇧": "Shift",
16
+ "⌥": "Option",
17
+ "⌃": "Control",
18
+ "↵": "Enter",
19
+ "⌫": "Backspace",
20
+ "↑": "Up Arrow",
21
+ "↓": "Down Arrow",
22
+ "←": "Left Arrow",
23
+ "→": "Right Arrow",
24
+ Esc: "Escape",
25
+ Del: "Delete",
26
+ Tab: "Tab",
27
+ Space: "Space"
28
+ };
29
+ function g(e) {
30
+ const t = e.trim();
31
+ switch (t.toLowerCase()) {
32
+ case "enter":
33
+ case "return":
34
+ return "↵";
35
+ case "escape":
36
+ case "esc":
37
+ return "Esc";
38
+ case "backspace":
39
+ return "⌫";
40
+ case "delete":
41
+ case "del":
42
+ return "Del";
43
+ case "tab":
44
+ return "Tab";
45
+ case "space":
46
+ case "spacebar":
47
+ return "Space";
48
+ case "up":
49
+ case "arrowup":
50
+ return "↑";
51
+ case "down":
52
+ case "arrowdown":
53
+ return "↓";
54
+ case "left":
55
+ case "arrowleft":
56
+ return "←";
57
+ case "right":
58
+ case "arrowright":
59
+ return "→";
60
+ case "pageup":
61
+ case "pgup":
62
+ return "PageUp";
63
+ case "pagedown":
64
+ case "pgdn":
65
+ return "PageDown";
66
+ case "home":
67
+ return "Home";
68
+ case "end":
69
+ return "End";
70
+ case "cmd":
71
+ case "command":
72
+ case "meta":
73
+ case "mod":
74
+ return "⌘";
75
+ case "shift":
76
+ return "Shift";
77
+ case "ctrl":
78
+ case "control":
79
+ return "Ctrl";
80
+ case "alt":
81
+ case "option":
82
+ case "opt":
83
+ return "Alt";
84
+ default:
85
+ return t.length === 1 && t >= "a" && t <= "z" ? t.toUpperCase() : t;
86
+ }
87
+ }
88
+ function N(e) {
89
+ const t = e.trim();
90
+ if (!t) return [];
91
+ if (t.includes("+")) {
92
+ const n = t.split("+"), a = [];
93
+ for (let s = 0; s < n.length; s++) {
94
+ const c = n[s];
95
+ c ? a.push(g(c)) : s > 0 && s === n.length - 1 && a.push("+");
96
+ }
97
+ return a;
98
+ }
99
+ const i = [];
100
+ let r = 0;
101
+ for (; r < t.length && O.has(t.charAt(r)); )
102
+ i.push(t.charAt(r)), r += 1;
103
+ const d = t.slice(r);
104
+ return d && i.push(g(d)), i;
105
+ }
106
+ function $(e) {
107
+ return !e || !e.trim() ? [] : e.trim().split(/\s+/).map((i) => ({
108
+ chips: N(i)
109
+ }));
110
+ }
111
+ function G(e) {
112
+ return e.map(
113
+ (t) => t.chips.map((i) => P[i] ?? i).join(" ")
114
+ ).join(", then ");
115
+ }
116
+ var I = /* @__PURE__ */ v("<span>"), K = /* @__PURE__ */ v("<kbd>"), U = /* @__PURE__ */ v("<span aria-hidden=true>"), V = /* @__PURE__ */ v("<kbd aria-hidden=true>");
117
+ const W = {
118
+ xs: o.sizeXs,
119
+ sm: o.sizeSm,
120
+ md: o.sizeMd
121
+ }, j = {
122
+ default: o.variantDefault,
123
+ subtle: o.variantSubtle,
124
+ outline: o.variantOutline
125
+ };
126
+ function ee(e) {
127
+ const t = w(() => e.shortcut ? $(e.shortcut) : e.keys ? typeof e.keys == "string" ? $(e.keys) : [{
128
+ chips: e.keys.map(g)
129
+ }] : []), i = () => {
130
+ if (e.ariaLabel !== void 0) return e.ariaLabel;
131
+ const n = t();
132
+ if (n.length > 0)
133
+ return G(n);
134
+ }, r = () => W[e.size ?? "sm"], d = () => j[e.variant ?? "default"];
135
+ return m(k, {
136
+ get when() {
137
+ return t().length > 0;
138
+ },
139
+ get fallback() {
140
+ return (() => {
141
+ var n = K();
142
+ return l(n, () => e.children), h((a) => {
143
+ var s = `${o.kbd} ${r()} ${d()} ${e.class ?? ""}`, c = e.ariaLabel;
144
+ return s !== a.e && u(n, a.e = s), c !== a.t && b(n, "aria-label", a.t = c), a;
145
+ }, {
146
+ e: void 0,
147
+ t: void 0
148
+ }), n;
149
+ })();
150
+ },
151
+ get children() {
152
+ var n = I();
153
+ return l(n, m(S, {
154
+ get each() {
155
+ return t();
156
+ },
157
+ children: (a, s) => [m(k, {
158
+ get when() {
159
+ return s() > 0;
160
+ },
161
+ get children() {
162
+ var c = U();
163
+ return h(() => u(c, o.chordGap)), c;
164
+ }
165
+ }), m(S, {
166
+ get each() {
167
+ return a.chips;
168
+ },
169
+ children: (c) => (() => {
170
+ var _ = V();
171
+ return l(_, c), h(() => u(_, `${o.kbd} ${r()} ${d()}`)), _;
172
+ })()
173
+ })]
174
+ })), h((a) => {
175
+ var s = `${o.kbdWrapper} ${e.class ?? ""}`, c = i(), _ = i() ? "img" : void 0;
176
+ return s !== a.e && u(n, a.e = s), c !== a.t && b(n, "aria-label", a.t = c), _ !== a.a && b(n, "role", a.a = _), a;
177
+ }, {
178
+ e: void 0,
179
+ t: void 0,
180
+ a: void 0
181
+ }), n;
182
+ }
183
+ });
184
+ }
185
+ const x = "vk_root_hnB4O", H = "vk_sm_rCrHH", R = "vk_icon_CC9U3", T = "vk_title_aimU- vk_titleSmMargin_PPvAx", X = "vk_hint_r7IWi vk_hintSm_DYtn8", Y = "vk_action_05ZVL", f = {
186
+ root: x,
187
+ sm: H,
188
+ icon: R,
189
+ title: T,
190
+ hint: X,
191
+ action: Y
192
+ };
193
+ var F = /* @__PURE__ */ v("<div aria-hidden=true>"), B = /* @__PURE__ */ v("<p>"), Z = /* @__PURE__ */ v("<div>"), q = /* @__PURE__ */ v("<div data-empty-state><p>");
194
+ function te(e) {
195
+ return (() => {
196
+ var t = q(), i = t.firstChild;
197
+ return l(t, m(k, {
198
+ get when() {
199
+ return e.icon != null;
200
+ },
201
+ get children() {
202
+ var r = F();
203
+ return l(r, () => e.icon), h(() => u(r, f.icon)), r;
204
+ }
205
+ }), i), l(i, () => e.title), l(t, m(k, {
206
+ get when() {
207
+ return e.hint != null;
208
+ },
209
+ get children() {
210
+ var r = B();
211
+ return l(r, () => e.hint), h(() => u(r, f.hint)), r;
212
+ }
213
+ }), null), l(t, m(k, {
214
+ get when() {
215
+ return e.action != null;
216
+ },
217
+ get children() {
218
+ var r = Z();
219
+ return l(r, () => e.action), h(() => u(r, f.action)), r;
220
+ }
221
+ }), null), h((r) => {
222
+ var d = `${f.root} ${e.size === "sm" ? f.sm : ""} ${e.class ?? ""}`, n = f.title;
223
+ return d !== r.e && u(t, r.e = d), n !== r.t && u(i, r.t = n), r;
224
+ }, {
225
+ e: void 0,
226
+ t: void 0
227
+ }), t;
228
+ })();
229
+ }
230
+ function re(e) {
231
+ return document.createElement(e);
232
+ }
233
+ export {
234
+ te as E,
235
+ ee as K,
236
+ N as a,
237
+ re as c,
238
+ G as d,
239
+ g as n,
240
+ $ as p
241
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("solid-js/web"),m=require("solid-js"),S="vk_kbdWrapper_mOLl9",k="vk_kbd_knNRf",g="vk_variantDefault_ALmKJ",p="vk_variantSubtle_9NVFr",w="vk_variantOutline_Ptjkn",C="vk_sizeXs_44piL",$="vk_sizeSm_kxC3Y",A="vk_sizeMd_sVjY6",z="vk_chordGap_qV1nD",o={kbdWrapper:S,kbd:k,variantDefault:g,variantSubtle:p,variantOutline:w,sizeXs:C,sizeSm:$,sizeMd:A,chordGap:z},L=new Set(["⌃","⇧","⌥","⌘"]),E={"⌘":"Command","⇧":"Shift","⌥":"Option","⌃":"Control","↵":"Enter","⌫":"Backspace","↑":"Up Arrow","↓":"Down Arrow","←":"Left Arrow","→":"Right Arrow",Esc:"Escape",Del:"Delete",Tab:"Tab",Space:"Space"};function v(t){const r=t.trim();switch(r.toLowerCase()){case"enter":case"return":return"↵";case"escape":case"esc":return"Esc";case"backspace":return"⌫";case"delete":case"del":return"Del";case"tab":return"Tab";case"space":case"spacebar":return"Space";case"up":case"arrowup":return"↑";case"down":case"arrowdown":return"↓";case"left":case"arrowleft":return"←";case"right":case"arrowright":return"→";case"pageup":case"pgup":return"PageUp";case"pagedown":case"pgdn":return"PageDown";case"home":return"Home";case"end":return"End";case"cmd":case"command":case"meta":case"mod":return"⌘";case"shift":return"Shift";case"ctrl":case"control":return"Ctrl";case"alt":case"option":case"opt":return"Alt";default:return r.length===1&&r>="a"&&r<="z"?r.toUpperCase():r}}function _(t){const r=t.trim();if(!r)return[];if(r.includes("+")){const a=r.split("+"),s=[];for(let c=0;c<a.length;c++){const l=a[c];l?s.push(v(l)):c>0&&c===a.length-1&&s.push("+")}return s}const i=[];let n=0;for(;n<r.length&&L.has(r.charAt(n));)i.push(r.charAt(n)),n+=1;const u=r.slice(n);return u&&i.push(v(u)),i}function f(t){return!t||!t.trim()?[]:t.trim().split(/\s+/).map(i=>({chips:_(i)}))}function b(t){return t.map(r=>r.chips.map(i=>E[i]??i).join(" ")).join(", then ")}var N=e.template("<span>"),y=e.template("<kbd>"),D=e.template("<span aria-hidden=true>"),M=e.template("<kbd aria-hidden=true>");const O={xs:o.sizeXs,sm:o.sizeSm,md:o.sizeMd},P={default:o.variantDefault,subtle:o.variantSubtle,outline:o.variantOutline};function K(t){const r=m.createMemo(()=>t.shortcut?f(t.shortcut):t.keys?typeof t.keys=="string"?f(t.keys):[{chips:t.keys.map(v)}]:[]),i=()=>{if(t.ariaLabel!==void 0)return t.ariaLabel;const a=r();if(a.length>0)return b(a)},n=()=>O[t.size??"sm"],u=()=>P[t.variant??"default"];return e.createComponent(m.Show,{get when(){return r().length>0},get fallback(){return(()=>{var a=y();return e.insert(a,()=>t.children),e.effect(s=>{var c=`${o.kbd} ${n()} ${u()} ${t.class??""}`,l=t.ariaLabel;return c!==s.e&&e.className(a,s.e=c),l!==s.t&&e.setAttribute(a,"aria-label",s.t=l),s},{e:void 0,t:void 0}),a})()},get children(){var a=N();return e.insert(a,e.createComponent(m.For,{get each(){return r()},children:(s,c)=>[e.createComponent(m.Show,{get when(){return c()>0},get children(){var l=D();return e.effect(()=>e.className(l,o.chordGap)),l}}),e.createComponent(m.For,{get each(){return s.chips},children:l=>(()=>{var d=M();return e.insert(d,l),e.effect(()=>e.className(d,`${o.kbd} ${n()} ${u()}`)),d})()})]})),e.effect(s=>{var c=`${o.kbdWrapper} ${t.class??""}`,l=i(),d=i()?"img":void 0;return c!==s.e&&e.className(a,s.e=c),l!==s.t&&e.setAttribute(a,"aria-label",s.t=l),d!==s.a&&e.setAttribute(a,"role",s.a=d),s},{e:void 0,t:void 0,a:void 0}),a}})}const G="vk_root_hnB4O",I="vk_sm_rCrHH",U="vk_icon_CC9U3",V="vk_title_aimU- vk_titleSmMargin_PPvAx",W="vk_hint_r7IWi vk_hintSm_DYtn8",j="vk_action_05ZVL",h={root:G,sm:I,icon:U,title:V,hint:W,action:j};var F=e.template("<div aria-hidden=true>"),H=e.template("<p>"),R=e.template("<div>"),T=e.template("<div data-empty-state><p>");function X(t){return(()=>{var r=T(),i=r.firstChild;return e.insert(r,e.createComponent(m.Show,{get when(){return t.icon!=null},get children(){var n=F();return e.insert(n,()=>t.icon),e.effect(()=>e.className(n,h.icon)),n}}),i),e.insert(i,()=>t.title),e.insert(r,e.createComponent(m.Show,{get when(){return t.hint!=null},get children(){var n=H();return e.insert(n,()=>t.hint),e.effect(()=>e.className(n,h.hint)),n}}),null),e.insert(r,e.createComponent(m.Show,{get when(){return t.action!=null},get children(){var n=R();return e.insert(n,()=>t.action),e.effect(()=>e.className(n,h.action)),n}}),null),e.effect(n=>{var u=`${h.root} ${t.size==="sm"?h.sm:""} ${t.class??""}`,a=h.title;return u!==n.e&&e.className(r,n.e=u),a!==n.t&&e.className(i,n.t=a),n},{e:void 0,t:void 0}),r})()}function Y(t){return document.createElement(t)}exports.EmptyState=X;exports.Kbd=K;exports.createElement=Y;exports.describeChordAriaLabel=b;exports.normalizeKeySymbol=v;exports.parseShortcut=f;exports.parseSingleChord=_;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-BLKD4ub3.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-D0oLl7n5.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
@@ -1,4 +1,4 @@
1
- import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-D0rrrtAN.js";
1
+ import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-BajLVWIf.js";
2
2
  import { c as d, i as l, r as T, a as p } from "../tablistKeyboard-AxJcXuc5.js";
3
3
  import { c as m } from "../createSelectionIndicator-BnxXUMlT.js";
4
4
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../StatusBarNotificationBell-MXX_K48w.cjs"),e=require("../notificationCatalog-DmwTAO09.cjs"),t=require("../useSettingsSubscription-DKjCwmRd.cjs");exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=i.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=i.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=i.HIDE_NOTIFICATION_TOASTS;exports.LogFilterBar=i.LogFilterBar;exports.NOTIFICATION_SOURCES=i.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=i.NOTIFICATION_SOURCE_IDS;exports.NO_NOTIFICATION_OVERLAY=i.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=i.NotificationHost;exports.NotificationItem=i.NotificationItem;exports.NotificationPanel=i.NotificationPanel;exports.NotificationService=i.NotificationService;exports.NotificationTimeline=i.NotificationTimeline;exports.NotificationsCenter=i.NotificationsCenter;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.StatusBarNotificationBell=i.StatusBarNotificationBell;exports.appWindowNotificationOverlay=i.appWindowNotificationOverlay;exports.applyNotificationRules=i.applyNotificationRules;exports.cardRemindKey=i.cardRemindKey;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.compileNotificationSearchMatcher=i.compileNotificationSearchMatcher;exports.createNativeNotificationEngine=i.createNativeNotificationEngine;exports.createNotificationPreviewRuntime=i.createNotificationPreviewRuntime;exports.decideFilter=i.decideFilter;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.deriveImplicitRemindKey=i.deriveImplicitRemindKey;exports.dismissKey=i.dismissKey;exports.dismissableToastIds=i.dismissableToastIds;exports.entryVendorMatch=i.entryVendorMatch;exports.exportTimelineAsCsv=i.exportTimelineAsCsv;exports.exportTimelineAsJson=i.exportTimelineAsJson;exports.filterNotificationTimeline=i.filterNotificationTimeline;exports.filteredPriority=i.filteredPriority;exports.focusFirstNotificationEntry=i.focusFirstNotificationEntry;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.groupTimelineEntries=i.groupTimelineEntries;exports.hiddenRunningProgress=i.hiddenRunningProgress;exports.isInQuietHours=i.isInQuietHours;exports.isKeyDismissed=i.isKeyDismissed;exports.isKeyRemindSuppressed=i.isKeyRemindSuppressed;exports.isNotificationSourceId=i.isNotificationSourceId;exports.isNotificationSticky=i.isNotificationSticky;exports.isOnToastStack=i.isOnToastStack;exports.isProgressRunning=i.isProgressRunning;exports.isSourceMuted=i.isSourceMuted;exports.isSpamDropHandle=i.isSpamDropHandle;exports.listNotificationSources=i.listNotificationSources;exports.nextQuietHoursStart=i.nextQuietHoursStart;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.registerFenceAliases=i.registerFenceAliases;exports.registerNotificationCommands=i.registerNotificationCommands;exports.remindLater=i.remindLater;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationDuration=i.resolveNotificationDuration;exports.resolveNotificationSource=i.resolveNotificationSource;exports.resolveSeverityTone=i.resolveSeverityTone;exports.restoreAllKeys=i.restoreAllKeys;exports.restoreKey=i.restoreKey;exports.setSmtpPass=i.setSmtpPass;exports.setSourceMuted=i.setSourceMuted;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.toTimelineActions=i.toTimelineActions;exports.unmuteAllSources=i.unmuteAllSources;exports.defineNotification=e.defineNotification;exports.defineNotificationScenario=e.defineNotificationScenario;exports.notificationSettings=t.notificationSettings;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../StatusBarNotificationBell-p5z1utb0.cjs"),e=require("../notificationCatalog-DmwTAO09.cjs"),t=require("../useSettingsSubscription-DGo_GObq.cjs");exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=i.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=i.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=i.HIDE_NOTIFICATION_TOASTS;exports.LogFilterBar=i.LogFilterBar;exports.NOTIFICATION_SOURCES=i.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=i.NOTIFICATION_SOURCE_IDS;exports.NO_NOTIFICATION_OVERLAY=i.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=i.NotificationHost;exports.NotificationItem=i.NotificationItem;exports.NotificationPanel=i.NotificationPanel;exports.NotificationService=i.NotificationService;exports.NotificationTimeline=i.NotificationTimeline;exports.NotificationsCenter=i.NotificationsCenter;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.StatusBarNotificationBell=i.StatusBarNotificationBell;exports.appWindowNotificationOverlay=i.appWindowNotificationOverlay;exports.applyNotificationRules=i.applyNotificationRules;exports.cardRemindKey=i.cardRemindKey;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.compileNotificationSearchMatcher=i.compileNotificationSearchMatcher;exports.createNativeNotificationEngine=i.createNativeNotificationEngine;exports.createNotificationPreviewRuntime=i.createNotificationPreviewRuntime;exports.decideFilter=i.decideFilter;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.deriveImplicitRemindKey=i.deriveImplicitRemindKey;exports.dismissKey=i.dismissKey;exports.dismissableToastIds=i.dismissableToastIds;exports.entryVendorMatch=i.entryVendorMatch;exports.exportTimelineAsCsv=i.exportTimelineAsCsv;exports.exportTimelineAsJson=i.exportTimelineAsJson;exports.filterNotificationTimeline=i.filterNotificationTimeline;exports.filteredPriority=i.filteredPriority;exports.focusFirstNotificationEntry=i.focusFirstNotificationEntry;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.groupTimelineEntries=i.groupTimelineEntries;exports.hiddenRunningProgress=i.hiddenRunningProgress;exports.isInQuietHours=i.isInQuietHours;exports.isKeyDismissed=i.isKeyDismissed;exports.isKeyRemindSuppressed=i.isKeyRemindSuppressed;exports.isNotificationSourceId=i.isNotificationSourceId;exports.isNotificationSticky=i.isNotificationSticky;exports.isOnToastStack=i.isOnToastStack;exports.isProgressRunning=i.isProgressRunning;exports.isSourceMuted=i.isSourceMuted;exports.isSpamDropHandle=i.isSpamDropHandle;exports.listNotificationSources=i.listNotificationSources;exports.nextQuietHoursStart=i.nextQuietHoursStart;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.registerFenceAliases=i.registerFenceAliases;exports.registerNotificationCommands=i.registerNotificationCommands;exports.remindLater=i.remindLater;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationDuration=i.resolveNotificationDuration;exports.resolveNotificationSource=i.resolveNotificationSource;exports.resolveSeverityTone=i.resolveSeverityTone;exports.restoreAllKeys=i.restoreAllKeys;exports.restoreKey=i.restoreKey;exports.setSmtpPass=i.setSmtpPass;exports.setSourceMuted=i.setSourceMuted;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.toTimelineActions=i.toTimelineActions;exports.unmuteAllSources=i.unmuteAllSources;exports.defineNotification=e.defineNotification;exports.defineNotificationScenario=e.defineNotificationScenario;exports.notificationSettings=t.notificationSettings;
@@ -1,6 +1,6 @@
1
- import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-CnmMzXzD.js";
1
+ import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-0ZAKX6Pm.js";
2
2
  import { d as Si, a as Ti } from "../notificationCatalog-otJ1LHFH.js";
3
- import { n as ui } from "../useSettingsSubscription-DLEk4k4j.js";
3
+ import { n as ui } from "../useSettingsSubscription-CRRJdYJ-.js";
4
4
  export {
5
5
  e as ACCEPT_PRIMARY_ACTION_NOTIFICATION,
6
6
  s as CLEAR_NOTIFICATION,