@verbb/plugin-kit-web 2.0.22 → 2.0.24

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 (481) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/custom-elements.json +8414 -7031
  3. package/dist/chunks/{active-elements-BwpXu8Lb.js → active-elements-739kISON.js} +1 -1
  4. package/dist/chunks/{active-elements-BwpXu8Lb.js.map → active-elements-739kISON.js.map} +1 -1
  5. package/dist/chunks/{animate-with-class-CsDwYnXL.js → animate-with-class-CjTZI0NU.js} +1 -1
  6. package/dist/chunks/{animate-with-class-CsDwYnXL.js.map → animate-with-class-CjTZI0NU.js.map} +1 -1
  7. package/dist/chunks/{autoloader-dJO3tYOX.js → autoloader-DcwybeWc.js} +3 -3
  8. package/dist/chunks/{autoloader-dJO3tYOX.js.map → autoloader-DcwybeWc.js.map} +1 -1
  9. package/dist/chunks/{button-group-item.styles-DYmBR28a.js → button-group-item.styles-D7tuu-sr.js} +1 -1
  10. package/dist/chunks/{button-group-item.styles-DYmBR28a.js.map → button-group-item.styles-D7tuu-sr.js.map} +1 -1
  11. package/dist/chunks/{component-registry-D34fm8xW.js → component-registry-B5pnAZsb.js} +6 -1
  12. package/dist/chunks/component-registry-B5pnAZsb.js.map +1 -0
  13. package/dist/chunks/{control-aria-B2QMq4ji.js → control-aria-CtNg2izr.js} +1 -1
  14. package/dist/chunks/{control-aria-B2QMq4ji.js.map → control-aria-CtNg2izr.js.map} +1 -1
  15. package/dist/chunks/{decorate-R0X811qp.js → decorate-Br_PE9pq.js} +3 -4
  16. package/dist/chunks/{decorate-R0X811qp.js.map → decorate-Br_PE9pq.js.map} +1 -1
  17. package/dist/chunks/decorators-BkErmuYK.js +2 -0
  18. package/dist/chunks/{dismissible-stack-XQUMfKO3.js → dismissible-stack-CwhtwAyo.js} +1 -1
  19. package/dist/chunks/{dismissible-stack-XQUMfKO3.js.map → dismissible-stack-CwhtwAyo.js.map} +1 -1
  20. package/dist/chunks/{field-labels-CmuAW8Cl.js → field-labels-pY-gQDwQ.js} +1 -1
  21. package/dist/chunks/{field-labels-CmuAW8Cl.js.map → field-labels-pY-gQDwQ.js.map} +1 -1
  22. package/dist/chunks/{focus-aa5dlv8k.js → focus-DcVUPVqn.js} +2 -2
  23. package/dist/chunks/{focus-aa5dlv8k.js.map → focus-DcVUPVqn.js.map} +1 -1
  24. package/dist/chunks/{form-control.styles-BQdimE5o.js → form-control.styles-CQ93gnVf.js} +1 -1
  25. package/dist/chunks/{form-control.styles-BQdimE5o.js.map → form-control.styles-CQ93gnVf.js.map} +1 -1
  26. package/dist/chunks/{has-slot-8BvCt_qo.js → has-slot-DJv86HKx.js} +1 -1
  27. package/dist/chunks/{has-slot-8BvCt_qo.js.map → has-slot-DJv86HKx.js.map} +1 -1
  28. package/dist/chunks/{icon.styles-BLTWLqYp.js → icon.styles-KWvfi7RV.js} +1 -1
  29. package/dist/chunks/{icon.styles-BLTWLqYp.js.map → icon.styles-KWvfi7RV.js.map} +1 -1
  30. package/dist/chunks/{icons-BR8JcQj2.js → icons-k1pvx6yX.js} +2 -2
  31. package/dist/chunks/{icons-BR8JcQj2.js.map → icons-k1pvx6yX.js.map} +1 -1
  32. package/dist/chunks/{mirror-validator-DCjNYrrx.js → mirror-validator-BkZlEv1Z.js} +1 -1
  33. package/dist/chunks/{mirror-validator-DCjNYrrx.js.map → mirror-validator-BkZlEv1Z.js.map} +1 -1
  34. package/dist/chunks/{option-filter-BQqr8Z21.js → option-filter-BkKyBg8L.js} +2 -2
  35. package/dist/chunks/{option-filter-BQqr8Z21.js.map → option-filter-BkKyBg8L.js.map} +1 -1
  36. package/dist/chunks/{overlay-lifecycle-D0pkTQyI.js → overlay-lifecycle-C582MGBJ.js} +1 -1
  37. package/dist/chunks/{overlay-lifecycle-D0pkTQyI.js.map → overlay-lifecycle-C582MGBJ.js.map} +1 -1
  38. package/dist/chunks/pk-alert-BQAb4lJc.js +666 -0
  39. package/dist/chunks/pk-alert-BQAb4lJc.js.map +1 -0
  40. package/dist/chunks/{pk-autocomplete-qy2Psvqm.js → pk-autocomplete-DUXhs1hi.js} +21 -20
  41. package/dist/chunks/pk-autocomplete-DUXhs1hi.js.map +1 -0
  42. package/dist/chunks/{pk-button-group-BSz5T5iS.js → pk-button-group-BY12Lbk7.js} +10 -7
  43. package/dist/chunks/pk-button-group-BY12Lbk7.js.map +1 -0
  44. package/dist/chunks/{pk-button-group-separator-DH3Rl24b.js → pk-button-group-separator-B1a8dP9A.js} +3 -2
  45. package/dist/chunks/pk-button-group-separator-B1a8dP9A.js.map +1 -0
  46. package/dist/chunks/{pk-button-group-text-Qro_KmZb.js → pk-button-group-text-CWNlZkyV.js} +3 -3
  47. package/dist/chunks/pk-button-group-text-CWNlZkyV.js.map +1 -0
  48. package/dist/chunks/{pk-button-BrH4u4Qr.js → pk-button-ntSVrer_.js} +8 -7
  49. package/dist/chunks/pk-button-ntSVrer_.js.map +1 -0
  50. package/dist/chunks/{pk-calendar-Z7Y0PjeY.js → pk-calendar-Df0c5u79.js} +12 -11
  51. package/dist/chunks/pk-calendar-Df0c5u79.js.map +1 -0
  52. package/dist/chunks/{pk-checkbox-13ArHSmt.js → pk-checkbox-L5uRex3b.js} +6 -5
  53. package/dist/chunks/pk-checkbox-L5uRex3b.js.map +1 -0
  54. package/dist/chunks/{pk-checkbox-select-Ckvfbu83.js → pk-checkbox-select-6OS0wFYO.js} +4 -3
  55. package/dist/chunks/pk-checkbox-select-6OS0wFYO.js.map +1 -0
  56. package/dist/chunks/{pk-clear--mPWZP7H.js → pk-clear-DHxP_2cm.js} +1 -1
  57. package/dist/chunks/{pk-clear--mPWZP7H.js.map → pk-clear-DHxP_2cm.js.map} +1 -1
  58. package/dist/chunks/{pk-code-editor-BlG6O5qB.js → pk-code-editor-vZriNR67.js} +6 -5
  59. package/dist/chunks/pk-code-editor-vZriNR67.js.map +1 -0
  60. package/dist/chunks/{pk-color-input-BRgQ5-vB.js → pk-color-input-Csbm4ROT.js} +6 -5
  61. package/dist/chunks/pk-color-input-Csbm4ROT.js.map +1 -0
  62. package/dist/chunks/{pk-combobox-ag89QEX2.js → pk-combobox-BrSBrldb.js} +25 -23
  63. package/dist/chunks/pk-combobox-BrSBrldb.js.map +1 -0
  64. package/dist/chunks/{pk-connect.styles-BhW406jt.js → pk-connect.styles-oKhxa_m2.js} +1 -1
  65. package/dist/chunks/{pk-connect.styles-BhW406jt.js.map → pk-connect.styles-oKhxa_m2.js.map} +1 -1
  66. package/dist/chunks/{pk-copy-button-BVaOLtYG.js → pk-copy-button-5i9v_zmu.js} +31 -9
  67. package/dist/chunks/pk-copy-button-5i9v_zmu.js.map +1 -0
  68. package/dist/chunks/{pk-date-picker-C2YvDPNm.js → pk-date-picker-C-w6Mn6j.js} +21 -20
  69. package/dist/chunks/pk-date-picker-C-w6Mn6j.js.map +1 -0
  70. package/dist/chunks/{pk-dialog-VMQqLW1f.js → pk-dialog-C7KZGpQs.js} +10 -9
  71. package/dist/chunks/pk-dialog-C7KZGpQs.js.map +1 -0
  72. package/dist/chunks/{pk-dropdown-item-D9OaG5o-.js → pk-dropdown-item-Ck2N_suK.js} +11 -8
  73. package/dist/chunks/pk-dropdown-item-Ck2N_suK.js.map +1 -0
  74. package/dist/chunks/{pk-dropdown-label-CRNWMWQd.js → pk-dropdown-label-BdZLeizJ.js} +2 -2
  75. package/dist/chunks/pk-dropdown-label-BdZLeizJ.js.map +1 -0
  76. package/dist/chunks/{pk-dropdown-menu-DW1wI8xQ.js → pk-dropdown-menu-DBsO1uYR.js} +22 -18
  77. package/dist/chunks/pk-dropdown-menu-DBsO1uYR.js.map +1 -0
  78. package/dist/chunks/{pk-editable-table-DDnu1I8Y.js → pk-editable-table-Cd8K6vT4.js} +26 -23
  79. package/dist/chunks/pk-editable-table-Cd8K6vT4.js.map +1 -0
  80. package/dist/chunks/{pk-field-UAlMq6mQ.js → pk-field--PCE9nOd.js} +9 -8
  81. package/dist/chunks/pk-field--PCE9nOd.js.map +1 -0
  82. package/dist/chunks/{pk-form-associated-element-GxX5lbnk.js → pk-form-associated-element-Doh2K3pG.js} +3 -3
  83. package/dist/chunks/pk-form-associated-element-Doh2K3pG.js.map +1 -0
  84. package/dist/chunks/{pk-image-browser-Bj8LhWfk.js → pk-image-browser-iUqdcLKs.js} +21 -21
  85. package/dist/chunks/pk-image-browser-iUqdcLKs.js.map +1 -0
  86. package/dist/chunks/{pk-input-BywmK5n2.js → pk-input-BUbXj9We.js} +14 -13
  87. package/dist/chunks/pk-input-BUbXj9We.js.map +1 -0
  88. package/dist/chunks/{pk-input-group-BLqKPnfc.js → pk-input-group-CN79c5HT.js} +5 -4
  89. package/dist/chunks/pk-input-group-CN79c5HT.js.map +1 -0
  90. package/dist/chunks/{pk-input-group-addon-ClBkGmAw.js → pk-input-group-addon-DpxfuYp1.js} +3 -2
  91. package/dist/chunks/pk-input-group-addon-DpxfuYp1.js.map +1 -0
  92. package/dist/chunks/{pk-input-group-button-CHQHsWd4.js → pk-input-group-button-D5Hm4saA.js} +3 -2
  93. package/dist/chunks/pk-input-group-button-D5Hm4saA.js.map +1 -0
  94. package/dist/chunks/{pk-input-group-input-oNnqMBGU.js → pk-input-group-input-Cm1MoHgN.js} +3 -2
  95. package/dist/chunks/pk-input-group-input-Cm1MoHgN.js.map +1 -0
  96. package/dist/chunks/{pk-input-group-text-HUxlXROB.js → pk-input-group-text-CtyJZ_Kg.js} +2 -2
  97. package/dist/chunks/pk-input-group-text-CtyJZ_Kg.js.map +1 -0
  98. package/dist/chunks/{pk-input-group-textarea-Cl2FNuw-.js → pk-input-group-textarea-BxmKGjdt.js} +3 -2
  99. package/dist/chunks/pk-input-group-textarea-BxmKGjdt.js.map +1 -0
  100. package/dist/chunks/{pk-lightswitch-VHfJizBW.js → pk-lightswitch-CSvgiHVQ.js} +9 -8
  101. package/dist/chunks/pk-lightswitch-CSvgiHVQ.js.map +1 -0
  102. package/dist/chunks/{pk-option-DQZHV9jL.js → pk-option-B_PF4v_Z.js} +9 -7
  103. package/dist/chunks/pk-option-B_PF4v_Z.js.map +1 -0
  104. package/dist/chunks/{pk-option-group-CCzJkBFp.js → pk-option-group-D6bHfn0j.js} +4 -3
  105. package/dist/chunks/pk-option-group-D6bHfn0j.js.map +1 -0
  106. package/dist/chunks/{pk-popover-D3jkHfwB.js → pk-popover-BOoGfR7I.js} +11 -10
  107. package/dist/chunks/pk-popover-BOoGfR7I.js.map +1 -0
  108. package/dist/chunks/{pk-popup-B65tZMQH.js → pk-popup-DVE93VSV.js} +32 -28
  109. package/dist/chunks/pk-popup-DVE93VSV.js.map +1 -0
  110. package/dist/chunks/{pk-radio-B5XkMHy3.js → pk-radio-D0eqmnlH.js} +3 -2
  111. package/dist/chunks/pk-radio-D0eqmnlH.js.map +1 -0
  112. package/dist/chunks/{pk-radio-group-Dzd-3HaQ.js → pk-radio-group-BehEZG_k.js} +8 -7
  113. package/dist/chunks/pk-radio-group-BehEZG_k.js.map +1 -0
  114. package/dist/chunks/{pk-scroll-area-CdfNxYz8.js → pk-scroll-area-BeaLZ6k-.js} +3 -2
  115. package/dist/chunks/pk-scroll-area-BeaLZ6k-.js.map +1 -0
  116. package/dist/chunks/{pk-select-b5S5WKc-.js → pk-select-DZNpEk5Z.js} +20 -19
  117. package/dist/chunks/pk-select-DZNpEk5Z.js.map +1 -0
  118. package/dist/chunks/{pk-separator-N-VyjYE6.js → pk-separator-ZkRowI5Y.js} +3 -2
  119. package/dist/chunks/pk-separator-ZkRowI5Y.js.map +1 -0
  120. package/dist/chunks/{pk-spinner-DweuYJ_Z.js → pk-spinner-Bxkn4iVO.js} +3 -2
  121. package/dist/chunks/pk-spinner-Bxkn4iVO.js.map +1 -0
  122. package/dist/chunks/pk-state-panel-BTo2xiug.js +604 -0
  123. package/dist/chunks/pk-state-panel-BTo2xiug.js.map +1 -0
  124. package/dist/chunks/{pk-status-BehQARDv.js → pk-status-CdiRBRyh.js} +3 -2
  125. package/dist/chunks/pk-status-CdiRBRyh.js.map +1 -0
  126. package/dist/chunks/{pk-tab-CTloD18e.js → pk-tab-CSbI3XxX.js} +2 -2
  127. package/dist/chunks/pk-tab-CSbI3XxX.js.map +1 -0
  128. package/dist/chunks/{pk-tab-heading-Cjcgebxn.js → pk-tab-heading-BMyLTBNc.js} +2 -2
  129. package/dist/chunks/pk-tab-heading-BMyLTBNc.js.map +1 -0
  130. package/dist/chunks/{pk-tab-panel-CkKU5-Ah.js → pk-tab-panel-sgdRjV8o.js} +2 -2
  131. package/dist/chunks/pk-tab-panel-sgdRjV8o.js.map +1 -0
  132. package/dist/chunks/{pk-tabs-BgEBki1q.js → pk-tabs-bBNCu_4h.js} +10 -7
  133. package/dist/chunks/pk-tabs-bBNCu_4h.js.map +1 -0
  134. package/dist/chunks/{pk-textarea-Dhj1WFLH.js → pk-textarea-B401dUWa.js} +11 -10
  135. package/dist/chunks/pk-textarea-B401dUWa.js.map +1 -0
  136. package/dist/chunks/{pk-time-picker-ChRbKHNB.js → pk-time-picker-DnNZVwRk.js} +6 -6
  137. package/dist/chunks/pk-time-picker-DnNZVwRk.js.map +1 -0
  138. package/dist/chunks/{pk-tiptap-content-CL8smjGi.js → pk-tiptap-content-C2qzGQKj.js} +4 -3
  139. package/dist/chunks/pk-tiptap-content-C2qzGQKj.js.map +1 -0
  140. package/dist/chunks/{pk-tiptap-editor-BMwedkPt.js → pk-tiptap-editor-y_QyNSR-.js} +20 -21
  141. package/dist/chunks/pk-tiptap-editor-y_QyNSR-.js.map +1 -0
  142. package/dist/chunks/{pk-tiptap-input-YKg4VLp_.js → pk-tiptap-input-0Xy6rrot.js} +7 -6
  143. package/dist/chunks/pk-tiptap-input-0Xy6rrot.js.map +1 -0
  144. package/dist/chunks/{pk-toggle-BthhH7vl.js → pk-toggle-Co8GsHuK.js} +4 -3
  145. package/dist/chunks/pk-toggle-Co8GsHuK.js.map +1 -0
  146. package/dist/chunks/{pk-toggle-group-D2Quux8D.js → pk-toggle-group-Ct1ljI-7.js} +7 -4
  147. package/dist/chunks/pk-toggle-group-Ct1ljI-7.js.map +1 -0
  148. package/dist/chunks/{pk-tooltip--QBV6puX.js → pk-tooltip-Cvv2f7T5.js} +7 -6
  149. package/dist/chunks/pk-tooltip-Cvv2f7T5.js.map +1 -0
  150. package/dist/chunks/{popup-content-animation.styles-BnNiguJo.js → popup-content-animation.styles-CJ8zGJz-.js} +1 -1
  151. package/dist/chunks/{popup-content-animation.styles-BnNiguJo.js.map → popup-content-animation.styles-CJ8zGJz-.js.map} +1 -1
  152. package/dist/chunks/{popup-placement-animation-WlEXnS85.js → popup-placement-animation-ClUYI79z.js} +1 -1
  153. package/dist/chunks/{popup-placement-animation-WlEXnS85.js.map → popup-placement-animation-ClUYI79z.js.map} +1 -1
  154. package/dist/chunks/{popup-pointer-CuLjk1th.js → popup-pointer-Bh_d205v.js} +1 -1
  155. package/dist/chunks/{popup-pointer-CuLjk1th.js.map → popup-pointer-Bh_d205v.js.map} +1 -1
  156. package/dist/chunks/{register-components-BT9THgdh.js → register-components-CZtpgZe3.js} +1 -1
  157. package/dist/chunks/{register-components-BT9THgdh.js.map → register-components-CZtpgZe3.js.map} +1 -1
  158. package/dist/chunks/{render-Dvc3MHQR.js → render-DQZp_Rak.js} +1 -1
  159. package/dist/chunks/{render-Dvc3MHQR.js.map → render-DQZp_Rak.js.map} +1 -1
  160. package/dist/chunks/{required-validator-CEg8dvjS.js → required-validator-I58oJGZ3.js} +1 -1
  161. package/dist/chunks/{required-validator-CEg8dvjS.js.map → required-validator-I58oJGZ3.js.map} +1 -1
  162. package/dist/chunks/{scroll-lock-Bbh3Sc5g.js → scroll-lock-DE1pElMQ.js} +2 -2
  163. package/dist/chunks/{scroll-lock-Bbh3Sc5g.js.map → scroll-lock-DE1pElMQ.js.map} +1 -1
  164. package/dist/chunks/{spinner-utils-CDfHypTv.js → spinner-utils-DXwIxQ6z.js} +1 -1
  165. package/dist/chunks/{spinner-utils-CDfHypTv.js.map → spinner-utils-DXwIxQ6z.js.map} +1 -1
  166. package/dist/chunks/{supports-popover-CUBsbHpS.js → supports-popover-BCqyOPtO.js} +1 -1
  167. package/dist/chunks/{supports-popover-CUBsbHpS.js.map → supports-popover-BCqyOPtO.js.map} +1 -1
  168. package/dist/chunks/{sync-listbox-separators-B1-V0oJi.js → sync-listbox-separators-saLEtPpJ.js} +2 -2
  169. package/dist/chunks/{sync-listbox-separators-B1-V0oJi.js.map → sync-listbox-separators-saLEtPpJ.js.map} +1 -1
  170. package/dist/chunks/{tiptap.styles-CPRows--.js → tiptap.styles-Q4ED1nBw.js} +2 -2
  171. package/dist/chunks/{tiptap.styles-CPRows--.js.map → tiptap.styles-Q4ED1nBw.js.map} +1 -1
  172. package/dist/component-registry.d.ts.map +1 -1
  173. package/dist/components/alert/index.d.ts +2 -0
  174. package/dist/components/alert/index.d.ts.map +1 -0
  175. package/dist/components/alert/pk-alert.d.ts +95 -0
  176. package/dist/components/alert/pk-alert.d.ts.map +1 -0
  177. package/dist/components/alert/pk-alert.js +2 -0
  178. package/dist/components/alert/pk-alert.styles.d.ts +2 -0
  179. package/dist/components/alert/pk-alert.styles.d.ts.map +1 -0
  180. package/dist/components/alert.d.ts +2 -0
  181. package/dist/components/alert.js +2 -0
  182. package/dist/components/autocomplete/pk-autocomplete.js +1 -1
  183. package/dist/components/autocomplete.js +1 -1
  184. package/dist/components/button/pk-button.js +1 -1
  185. package/dist/components/button-group/pk-button-group-separator.js +1 -1
  186. package/dist/components/button-group/pk-button-group-text.js +1 -1
  187. package/dist/components/button-group/pk-button-group.js +1 -1
  188. package/dist/components/button-group.js +3 -3
  189. package/dist/components/button.js +1 -1
  190. package/dist/components/calendar/pk-calendar.js +1 -1
  191. package/dist/components/calendar.js +1 -1
  192. package/dist/components/checkbox/pk-checkbox.js +1 -1
  193. package/dist/components/checkbox-select/pk-checkbox-select.js +1 -1
  194. package/dist/components/checkbox-select.js +1 -1
  195. package/dist/components/checkbox.js +1 -1
  196. package/dist/components/code-editor/pk-code-editor.js +1 -1
  197. package/dist/components/code-editor.js +1 -1
  198. package/dist/components/color-input/pk-color-input.js +1 -1
  199. package/dist/components/color-input.js +1 -1
  200. package/dist/components/combobox/pk-combobox.js +1 -1
  201. package/dist/components/combobox.js +1 -1
  202. package/dist/components/connect/pk-connect-oauth.js +5 -4
  203. package/dist/components/connect/pk-connect-oauth.js.map +1 -1
  204. package/dist/components/connect/pk-connect.d.ts +0 -1
  205. package/dist/components/connect/pk-connect.d.ts.map +1 -1
  206. package/dist/components/connect/pk-connect.js +27 -49
  207. package/dist/components/connect/pk-connect.js.map +1 -1
  208. package/dist/components/copy-button/pk-copy-button.d.ts +17 -2
  209. package/dist/components/copy-button/pk-copy-button.d.ts.map +1 -1
  210. package/dist/components/copy-button/pk-copy-button.js +1 -1
  211. package/dist/components/copy-button/pk-copy-button.styles.d.ts.map +1 -1
  212. package/dist/components/copy-button.js +1 -1
  213. package/dist/components/date-picker/pk-date-picker.js +1 -1
  214. package/dist/components/date-picker.js +1 -1
  215. package/dist/components/dialog/pk-dialog.js +1 -1
  216. package/dist/components/dialog.js +1 -1
  217. package/dist/components/dropdown-menu/pk-dropdown-item.js +1 -1
  218. package/dist/components/dropdown-menu/pk-dropdown-label.js +1 -1
  219. package/dist/components/dropdown-menu/pk-dropdown-menu.js +1 -1
  220. package/dist/components/dropdown-menu/pk-dropdown-separator.js +1 -1
  221. package/dist/components/dropdown-menu/pk-dropdown-separator.js.map +1 -1
  222. package/dist/components/dropdown-menu.js +3 -3
  223. package/dist/components/editable-table/pk-editable-table.js +1 -1
  224. package/dist/components/editable-table.js +1 -1
  225. package/dist/components/field/pk-field.js +1 -1
  226. package/dist/components/field.js +1 -1
  227. package/dist/components/icon/pk-icon.js +2 -1
  228. package/dist/components/icon/pk-icon.js.map +1 -1
  229. package/dist/components/image-browser/pk-image-browser.js +1 -1
  230. package/dist/components/image-browser.js +1 -1
  231. package/dist/components/input/pk-input.js +1 -1
  232. package/dist/components/input-group/pk-input-group-addon.js +1 -1
  233. package/dist/components/input-group/pk-input-group-button.js +1 -1
  234. package/dist/components/input-group/pk-input-group-input.js +1 -1
  235. package/dist/components/input-group/pk-input-group-text.js +1 -1
  236. package/dist/components/input-group/pk-input-group-textarea.js +1 -1
  237. package/dist/components/input-group/pk-input-group.js +1 -1
  238. package/dist/components/input-group.js +6 -6
  239. package/dist/components/input.js +1 -1
  240. package/dist/components/lightswitch/pk-lightswitch.js +1 -1
  241. package/dist/components/lightswitch.js +1 -1
  242. package/dist/components/popover/pk-popover.js +1 -1
  243. package/dist/components/popover.js +1 -1
  244. package/dist/components/popup/pk-popup.js +1 -1
  245. package/dist/components/popup.js +1 -1
  246. package/dist/components/radio-group/pk-radio-group.js +1 -1
  247. package/dist/components/radio-group/pk-radio.js +1 -1
  248. package/dist/components/radio-group.js +2 -2
  249. package/dist/components/scroll-area/pk-scroll-area.js +1 -1
  250. package/dist/components/scroll-area.js +1 -1
  251. package/dist/components/select/pk-option-group.js +1 -1
  252. package/dist/components/select/pk-option.js +1 -1
  253. package/dist/components/select/pk-select.js +1 -1
  254. package/dist/components/select.js +3 -3
  255. package/dist/components/separator/pk-separator.js +1 -1
  256. package/dist/components/separator.js +1 -1
  257. package/dist/components/spinner/pk-spinner.js +1 -1
  258. package/dist/components/spinner.js +2 -2
  259. package/dist/components/state-panel/index.d.ts +2 -0
  260. package/dist/components/state-panel/index.d.ts.map +1 -0
  261. package/dist/components/state-panel/pk-state-panel.d.ts +89 -0
  262. package/dist/components/state-panel/pk-state-panel.d.ts.map +1 -0
  263. package/dist/components/state-panel/pk-state-panel.js +2 -0
  264. package/dist/components/state-panel/pk-state-panel.styles.d.ts +2 -0
  265. package/dist/components/state-panel/pk-state-panel.styles.d.ts.map +1 -0
  266. package/dist/components/state-panel.d.ts +2 -0
  267. package/dist/components/state-panel.js +2 -0
  268. package/dist/components/status/pk-status.js +1 -1
  269. package/dist/components/status.js +1 -1
  270. package/dist/components/tabs/pk-tab-heading.js +1 -1
  271. package/dist/components/tabs/pk-tab-panel.js +1 -1
  272. package/dist/components/tabs/pk-tab.js +1 -1
  273. package/dist/components/tabs/pk-tabs.js +1 -1
  274. package/dist/components/tabs.js +4 -4
  275. package/dist/components/textarea/pk-textarea.js +1 -1
  276. package/dist/components/textarea.js +1 -1
  277. package/dist/components/time-picker/pk-time-picker.js +1 -1
  278. package/dist/components/time-picker.js +1 -1
  279. package/dist/components/tiptap/pk-tiptap-content.js +1 -1
  280. package/dist/components/tiptap/pk-tiptap-editor.js +1 -1
  281. package/dist/components/tiptap/pk-tiptap-input.js +1 -1
  282. package/dist/components/tiptap-content.js +1 -1
  283. package/dist/components/tiptap-editor.js +1 -1
  284. package/dist/components/tiptap-input.js +1 -1
  285. package/dist/components/toggle/pk-toggle.js +1 -1
  286. package/dist/components/toggle-group/pk-toggle-group.js +1 -1
  287. package/dist/components/toggle-group.js +1 -1
  288. package/dist/components/toggle.js +1 -1
  289. package/dist/components/tooltip/pk-tooltip.js +1 -1
  290. package/dist/components/tooltip.js +1 -1
  291. package/dist/connect/register-cp-connect.d.ts.map +1 -1
  292. package/dist/connect/register-cp-connect.js +8 -9
  293. package/dist/connect/register-cp-connect.js.map +1 -1
  294. package/dist/events/pk-dismiss.d.ts +10 -0
  295. package/dist/events/pk-dismiss.d.ts.map +1 -0
  296. package/dist/icons/index.js +2 -2
  297. package/dist/index.d.ts +3 -0
  298. package/dist/index.d.ts.map +1 -1
  299. package/dist/index.js +74 -67
  300. package/dist/index.js.map +1 -1
  301. package/dist/plugin-kit.css +2 -0
  302. package/dist/plugin-kit.js +4 -4
  303. package/dist/plugin-kit.js.map +1 -1
  304. package/dist/register-components.js +1 -1
  305. package/dist/register-pk.generated.d.ts +4 -0
  306. package/dist/register-pk.generated.d.ts.map +1 -1
  307. package/dist/register.d.ts +5 -1
  308. package/dist/register.d.ts.map +1 -1
  309. package/dist/register.js +124 -55
  310. package/dist/register.js.map +1 -0
  311. package/dist/styles/connect/pk-connect.css +6 -107
  312. package/dist/utilities/fouce.css +2 -0
  313. package/dist-loader/chunks/{button-group-item.styles-CsBQ3Cyh.js → button-group-item.styles-BQbvE3sC.js} +1 -1
  314. package/dist-loader/chunks/{codemirror-CSgOT0QM.js → codemirror-C_TTKlG1.js} +584 -436
  315. package/dist-loader/chunks/editor-CS16rBkM.js +110 -0
  316. package/dist-loader/chunks/{floating-ui-Cj0imr6d.js → floating-ui-BJQPB-Ip.js} +9 -11
  317. package/dist-loader/chunks/{lit-DpLik9Rf.js → lit-B6nFKgbW.js} +127 -89
  318. package/dist-loader/chunks/{option-filter-Bc5aNNT0.js → option-filter-BkKyBg8L.js} +1 -1
  319. package/dist-loader/chunks/{pk-a11y-CjB4-U-R.js → pk-a11y-mGj0G5AE.js} +1 -1
  320. package/dist-loader/chunks/{pk-base-B2MqxErC.js → pk-base-BGegy7-X.js} +2 -2
  321. package/dist-loader/chunks/{pk-button-Dfm23jEC.js → pk-button-DV9Tk5Pd.js} +5 -5
  322. package/dist-loader/chunks/{pk-calendar-BuSULJCU.js → pk-calendar-C0xpIVIw.js} +9 -9
  323. package/dist-loader/chunks/{pk-checkbox-BDoq3xg0.js → pk-checkbox-DhP0iMoP.js} +9 -6
  324. package/dist-loader/chunks/{pk-color-input-eLjO9zfn.js → pk-color-input-B02cYzyr.js} +4 -4
  325. package/dist-loader/chunks/{pk-combobox-DBvcyxRC.js → pk-combobox-S_tpNUHK.js} +19 -18
  326. package/dist-loader/chunks/{pk-connect.styles-k61snd3X.js → pk-connect.styles-B5qe5yQB.js} +1 -1
  327. package/dist-loader/chunks/pk-copy-button-D6tPuhJ3.js +198 -0
  328. package/dist-loader/chunks/{pk-date-picker-CYLpYIji.js → pk-date-picker-C0y4sfSf.js} +15 -15
  329. package/dist-loader/chunks/{pk-dialog-BtrH5Ke0.js → pk-dialog-BJs5fVHS.js} +7 -7
  330. package/dist-loader/chunks/{pk-dropdown-item-D8tfEU-k.js → pk-dropdown-item-Bs5NZDRh.js} +11 -9
  331. package/dist-loader/chunks/{pk-dropdown-label-TbLj4bHK.js → pk-dropdown-label-Cpl9-bzB.js} +2 -2
  332. package/dist-loader/chunks/{pk-dropdown-menu-C4GDW5pE.js → pk-dropdown-menu-CLrfuD3i.js} +20 -17
  333. package/dist-loader/chunks/{pk-field-BM0XD9Ij.js → pk-field-Pg61fxBR.js} +140 -74
  334. package/dist-loader/chunks/{pk-icon-_1F1aL74.js → pk-icon-B7ywfPb6.js} +4 -4
  335. package/dist-loader/chunks/{pk-input-DvBrD7Md.js → pk-input-Cj5s8eBT.js} +10 -10
  336. package/dist-loader/chunks/{pk-lightswitch-CcwlLQ9f.js → pk-lightswitch-rUGB1p8q.js} +6 -6
  337. package/dist-loader/chunks/{pk-option-DATPm0Bo.js → pk-option-B-MeLvZf.js} +8 -7
  338. package/dist-loader/chunks/{pk-popup-CUuGs8r_.js → pk-popup-CeyruJFh.js} +35 -29
  339. package/dist-loader/chunks/{pk-select-DpcvbzUL.js → pk-select-JUx3mxRS.js} +14 -14
  340. package/dist-loader/chunks/{pk-spinner-Dk_LbvHW.js → pk-spinner-B8iuHDQ9.js} +2 -2
  341. package/dist-loader/chunks/pk-state-panel-BhdZGllL.js +600 -0
  342. package/dist-loader/chunks/{pk-status-B8UvjIp2.js → pk-status-D3qVwWlR.js} +2 -2
  343. package/dist-loader/chunks/{pk-textarea-DeSuxufJ.js → pk-textarea-KnpJMQX2.js} +7 -7
  344. package/dist-loader/chunks/{pk-time-picker-DpJt8biN.js → pk-time-picker-DCqZ5z7M.js} +6 -6
  345. package/dist-loader/chunks/{pk-tooltip-DcF9J5GT.js → pk-tooltip-DStkplzy.js} +6 -6
  346. package/dist-loader/chunks/{popup-content-animation.styles-duCg9-CH.js → popup-content-animation.styles-BtUVJg82.js} +1 -1
  347. package/dist-loader/chunks/{render-Bnzcxfss.js → render-D9G_a_c2.js} +1 -1
  348. package/dist-loader/chunks/{svg-Bz-bXZn7.js → svg-BRgqS9vA.js} +8 -1
  349. package/dist-loader/chunks/{sync-listbox-separators-Ch5krDUs.js → sync-listbox-separators-saLEtPpJ.js} +1 -1
  350. package/dist-loader/chunks/{tiptap-CgXkiK8d.js → tiptap-uppXgD5k.js} +16099 -9213
  351. package/dist-loader/chunks/tiptap.styles-CyqI_Wrl.js +896 -0
  352. package/dist-loader/components/alert/alert.js +662 -0
  353. package/dist-loader/components/autocomplete/autocomplete.js +15 -15
  354. package/dist-loader/components/button/button.js +1 -1
  355. package/dist-loader/components/button-group/button-group-separator.js +2 -2
  356. package/dist-loader/components/button-group/button-group-text.js +3 -3
  357. package/dist-loader/components/button-group/button-group.js +9 -7
  358. package/dist-loader/components/calendar/calendar.js +1 -1
  359. package/dist-loader/components/checkbox/checkbox.js +1 -1
  360. package/dist-loader/components/checkbox-select/checkbox-select.js +3 -3
  361. package/dist-loader/components/code-editor/code-editor.js +4 -4
  362. package/dist-loader/components/color-input/color-input.js +1 -1
  363. package/dist-loader/components/combobox/combobox.js +1 -1
  364. package/dist-loader/components/connect/connect-oauth.js +5 -5
  365. package/dist-loader/components/connect/connect.js +28 -51
  366. package/dist-loader/components/copy-button/copy-button.js +1 -176
  367. package/dist-loader/components/date-picker/date-picker.js +1 -1
  368. package/dist-loader/components/dialog/dialog.js +1 -1
  369. package/dist-loader/components/dropdown-menu/dropdown-item.js +1 -1
  370. package/dist-loader/components/dropdown-menu/dropdown-label.js +1 -1
  371. package/dist-loader/components/dropdown-menu/dropdown-menu.js +1 -1
  372. package/dist-loader/components/dropdown-menu/dropdown-separator.js +2 -2
  373. package/dist-loader/components/editable-table/editable-table.js +25 -23
  374. package/dist-loader/components/field/field.js +1 -1
  375. package/dist-loader/components/icon/icon.js +3 -3
  376. package/dist-loader/components/image-browser/image-browser.js +15 -16
  377. package/dist-loader/components/input/input.js +1 -1
  378. package/dist-loader/components/input-group/input-group-addon.js +2 -2
  379. package/dist-loader/components/input-group/input-group-button.js +2 -2
  380. package/dist-loader/components/input-group/input-group-input.js +2 -2
  381. package/dist-loader/components/input-group/input-group-text.js +2 -2
  382. package/dist-loader/components/input-group/input-group-textarea.js +2 -2
  383. package/dist-loader/components/input-group/input-group.js +3 -3
  384. package/dist-loader/components/lightswitch/lightswitch.js +1 -1
  385. package/dist-loader/components/popover/popover.js +9 -9
  386. package/dist-loader/components/popup/popup.js +1 -1
  387. package/dist-loader/components/radio-group/radio-group.js +5 -5
  388. package/dist-loader/components/radio-group/radio.js +2 -2
  389. package/dist-loader/components/scroll-area/scroll-area.js +2 -2
  390. package/dist-loader/components/select/option-group.js +3 -3
  391. package/dist-loader/components/select/option.js +1 -1
  392. package/dist-loader/components/select/select.js +1 -1
  393. package/dist-loader/components/separator/separator.js +2 -2
  394. package/dist-loader/components/spinner/spinner.js +1 -1
  395. package/dist-loader/components/state-panel/state-panel.js +2 -0
  396. package/dist-loader/components/status/status.js +1 -1
  397. package/dist-loader/components/tabs/tab-heading.js +2 -2
  398. package/dist-loader/components/tabs/tab-panel.js +2 -2
  399. package/dist-loader/components/tabs/tab.js +2 -2
  400. package/dist-loader/components/tabs/tabs.js +9 -7
  401. package/dist-loader/components/textarea/textarea.js +1 -1
  402. package/dist-loader/components/time-picker/time-picker.js +1 -1
  403. package/dist-loader/components/tiptap/tiptap-content.js +5 -4
  404. package/dist-loader/components/tiptap/tiptap-editor.js +595 -21
  405. package/dist-loader/components/tiptap/tiptap-input.js +273 -5
  406. package/dist-loader/components/toggle/toggle.js +3 -3
  407. package/dist-loader/components/toggle-group/toggle-group.js +6 -4
  408. package/dist-loader/components/tooltip/tooltip.js +1 -1
  409. package/dist-loader/plugin-kit.css +2 -0
  410. package/dist-loader/plugin-kit.loader.js +6 -1
  411. package/dist-loader/styles/connect/pk-connect.css +6 -107
  412. package/dist-loader/utilities/fouce.css +2 -0
  413. package/package.json +49 -9
  414. package/dist/chunks/component-registry-D34fm8xW.js.map +0 -1
  415. package/dist/chunks/pk-autocomplete-qy2Psvqm.js.map +0 -1
  416. package/dist/chunks/pk-button-BrH4u4Qr.js.map +0 -1
  417. package/dist/chunks/pk-button-group-BSz5T5iS.js.map +0 -1
  418. package/dist/chunks/pk-button-group-separator-DH3Rl24b.js.map +0 -1
  419. package/dist/chunks/pk-button-group-text-Qro_KmZb.js.map +0 -1
  420. package/dist/chunks/pk-calendar-Z7Y0PjeY.js.map +0 -1
  421. package/dist/chunks/pk-checkbox-13ArHSmt.js.map +0 -1
  422. package/dist/chunks/pk-checkbox-select-Ckvfbu83.js.map +0 -1
  423. package/dist/chunks/pk-code-editor-BlG6O5qB.js.map +0 -1
  424. package/dist/chunks/pk-color-input-BRgQ5-vB.js.map +0 -1
  425. package/dist/chunks/pk-combobox-ag89QEX2.js.map +0 -1
  426. package/dist/chunks/pk-copy-button-BVaOLtYG.js.map +0 -1
  427. package/dist/chunks/pk-date-picker-C2YvDPNm.js.map +0 -1
  428. package/dist/chunks/pk-dialog-VMQqLW1f.js.map +0 -1
  429. package/dist/chunks/pk-dropdown-item-D9OaG5o-.js.map +0 -1
  430. package/dist/chunks/pk-dropdown-label-CRNWMWQd.js.map +0 -1
  431. package/dist/chunks/pk-dropdown-menu-DW1wI8xQ.js.map +0 -1
  432. package/dist/chunks/pk-editable-table-DDnu1I8Y.js.map +0 -1
  433. package/dist/chunks/pk-field-UAlMq6mQ.js.map +0 -1
  434. package/dist/chunks/pk-form-associated-element-GxX5lbnk.js.map +0 -1
  435. package/dist/chunks/pk-image-browser-Bj8LhWfk.js.map +0 -1
  436. package/dist/chunks/pk-input-BywmK5n2.js.map +0 -1
  437. package/dist/chunks/pk-input-group-BLqKPnfc.js.map +0 -1
  438. package/dist/chunks/pk-input-group-addon-ClBkGmAw.js.map +0 -1
  439. package/dist/chunks/pk-input-group-button-CHQHsWd4.js.map +0 -1
  440. package/dist/chunks/pk-input-group-input-oNnqMBGU.js.map +0 -1
  441. package/dist/chunks/pk-input-group-text-HUxlXROB.js.map +0 -1
  442. package/dist/chunks/pk-input-group-textarea-Cl2FNuw-.js.map +0 -1
  443. package/dist/chunks/pk-lightswitch-VHfJizBW.js.map +0 -1
  444. package/dist/chunks/pk-option-DQZHV9jL.js.map +0 -1
  445. package/dist/chunks/pk-option-group-CCzJkBFp.js.map +0 -1
  446. package/dist/chunks/pk-popover-D3jkHfwB.js.map +0 -1
  447. package/dist/chunks/pk-popup-B65tZMQH.js.map +0 -1
  448. package/dist/chunks/pk-radio-B5XkMHy3.js.map +0 -1
  449. package/dist/chunks/pk-radio-group-Dzd-3HaQ.js.map +0 -1
  450. package/dist/chunks/pk-scroll-area-CdfNxYz8.js.map +0 -1
  451. package/dist/chunks/pk-select-b5S5WKc-.js.map +0 -1
  452. package/dist/chunks/pk-separator-N-VyjYE6.js.map +0 -1
  453. package/dist/chunks/pk-spinner-DweuYJ_Z.js.map +0 -1
  454. package/dist/chunks/pk-status-BehQARDv.js.map +0 -1
  455. package/dist/chunks/pk-tab-CTloD18e.js.map +0 -1
  456. package/dist/chunks/pk-tab-heading-Cjcgebxn.js.map +0 -1
  457. package/dist/chunks/pk-tab-panel-CkKU5-Ah.js.map +0 -1
  458. package/dist/chunks/pk-tabs-BgEBki1q.js.map +0 -1
  459. package/dist/chunks/pk-textarea-Dhj1WFLH.js.map +0 -1
  460. package/dist/chunks/pk-time-picker-ChRbKHNB.js.map +0 -1
  461. package/dist/chunks/pk-tiptap-content-CL8smjGi.js.map +0 -1
  462. package/dist/chunks/pk-tiptap-editor-BMwedkPt.js.map +0 -1
  463. package/dist/chunks/pk-tiptap-input-YKg4VLp_.js.map +0 -1
  464. package/dist/chunks/pk-toggle-BthhH7vl.js.map +0 -1
  465. package/dist/chunks/pk-toggle-group-D2Quux8D.js.map +0 -1
  466. package/dist/chunks/pk-tooltip--QBV6puX.js.map +0 -1
  467. package/dist/chunks/register-BqkU5JNH.js +0 -148
  468. package/dist/chunks/register-BqkU5JNH.js.map +0 -1
  469. package/dist-loader/chunks/rolldown-runtime-CzwdidQP.js +0 -13
  470. package/dist-loader/chunks/supports-popover-COjbi2RP.js +0 -5
  471. package/dist-loader/chunks/tiptap.styles-C0E1NpSx.js +0 -1848
  472. /package/dist-loader/chunks/{animate-with-class-DT0jwaR_.js → animate-with-class-CjTZI0NU.js} +0 -0
  473. /package/dist-loader/chunks/{field-labels-D3lKQ2nq.js → field-labels-pY-gQDwQ.js} +0 -0
  474. /package/dist-loader/chunks/{has-slot-BGJeJdHr.js → has-slot-DJv86HKx.js} +0 -0
  475. /package/dist-loader/chunks/{mirror-validator-C5XrXPaq.js → mirror-validator-BkZlEv1Z.js} +0 -0
  476. /package/dist-loader/chunks/{overlay-lifecycle-C3tSQ3UR.js → overlay-lifecycle-C582MGBJ.js} +0 -0
  477. /package/dist-loader/chunks/{pk-clear-BMZUzwDt.js → pk-clear-DHxP_2cm.js} +0 -0
  478. /package/dist-loader/chunks/{popup-placement-animation-WlEXnS85.js → popup-placement-animation-ClUYI79z.js} +0 -0
  479. /package/dist-loader/chunks/{popup-pointer-Ck28WdVP.js → popup-pointer-Bh_d205v.js} +0 -0
  480. /package/dist-loader/chunks/{registry-BanyScVR.js → registry-CJc164pT.js} +0 -0
  481. /package/dist-loader/chunks/{required-validator-0XwZtX9k.js → required-validator-I58oJGZ3.js} +0 -0
@@ -0,0 +1,110 @@
1
+ //#region ../plugin-kit-tiptap-core/dist/serialization/editor.js
2
+ var isJsonContent = (value) => {
3
+ return Boolean(value) && typeof value === "object";
4
+ };
5
+ var withTrailingCursorText = (content, trailingCursorText) => {
6
+ if (!trailingCursorText || !content.length) return content;
7
+ if (content[content.length - 1].type !== "variableTag") return content;
8
+ return [...content, {
9
+ type: "text",
10
+ text: trailingCursorText
11
+ }];
12
+ };
13
+ var normalizeContentArray = (content, { trailingCursorText } = {}) => {
14
+ if (!Array.isArray(content)) return [];
15
+ return withTrailingCursorText(content.flatMap((node) => {
16
+ if (!node) return [];
17
+ if (Array.isArray(node)) return normalizeContentArray(node, { trailingCursorText });
18
+ if (typeof node !== "object") return [];
19
+ if (!("type" in node)) {
20
+ if (isJsonContent(node) && Array.isArray(node.content)) return normalizeContentArray(node.content, { trailingCursorText });
21
+ return [];
22
+ }
23
+ if (isJsonContent(node) && node.type === "text" && typeof node.text === "string") {
24
+ const text = node.text.replace(/[\u200B\u2060]/g, "");
25
+ return text ? [{
26
+ ...node,
27
+ text
28
+ }] : [];
29
+ }
30
+ if (isJsonContent(node) && Array.isArray(node.content)) {
31
+ const cleaned = normalizeContentArray(node.content, { trailingCursorText });
32
+ return [{
33
+ ...node,
34
+ content: cleaned
35
+ }];
36
+ }
37
+ return isJsonContent(node) ? [node] : [];
38
+ }), trailingCursorText);
39
+ };
40
+ var valueToContent = (value, options = {}) => {
41
+ if (!value) return null;
42
+ if (Array.isArray(value)) {
43
+ const cleaned = normalizeContentArray(value, options);
44
+ return cleaned.length ? {
45
+ type: "doc",
46
+ content: cleaned
47
+ } : null;
48
+ }
49
+ if (isJsonContent(value)) {
50
+ if (value.type === "doc" && Array.isArray(value.content)) {
51
+ const cleaned = normalizeContentArray(value.content, options);
52
+ return cleaned.length ? {
53
+ ...value,
54
+ content: cleaned
55
+ } : null;
56
+ }
57
+ if (Array.isArray(value.content)) {
58
+ const cleaned = normalizeContentArray(value.content, options);
59
+ return cleaned.length ? {
60
+ type: "doc",
61
+ content: cleaned
62
+ } : null;
63
+ }
64
+ }
65
+ if (typeof value === "string") try {
66
+ const parsed = JSON.parse(value);
67
+ if (Array.isArray(parsed)) {
68
+ const cleaned = normalizeContentArray(parsed, options);
69
+ return cleaned.length ? {
70
+ type: "doc",
71
+ content: cleaned
72
+ } : null;
73
+ }
74
+ if (isJsonContent(parsed)) {
75
+ if (parsed.type === "doc" && Array.isArray(parsed.content)) {
76
+ const cleaned = normalizeContentArray(parsed.content, options);
77
+ return cleaned.length ? {
78
+ ...parsed,
79
+ content: cleaned
80
+ } : null;
81
+ }
82
+ if (Array.isArray(parsed.content)) {
83
+ const cleaned = normalizeContentArray(parsed.content, options);
84
+ return cleaned.length ? {
85
+ type: "doc",
86
+ content: cleaned
87
+ } : null;
88
+ }
89
+ }
90
+ } catch {
91
+ return null;
92
+ }
93
+ return null;
94
+ };
95
+ var getFatalTiptapContentError = (value) => {
96
+ const content = valueToContent(value);
97
+ if (!content) return "";
98
+ const visit = (node) => {
99
+ if (!node || typeof node !== "object") return false;
100
+ const jsonNode = node;
101
+ if (jsonNode.type === "text" && typeof jsonNode.text === "string" && jsonNode.text === "") return true;
102
+ if (!Array.isArray(jsonNode.content)) return false;
103
+ return jsonNode.content.some((child) => {
104
+ return visit(child);
105
+ });
106
+ };
107
+ return visit(content) ? "This field contains invalid rich-text content. The editor could not fully parse the stored document, so some content may not be shown until it is repaired and saved again." : "";
108
+ };
109
+ //#endregion
110
+ export { normalizeContentArray as n, valueToContent as r, getFatalTiptapContentError as t };
@@ -163,9 +163,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
163
163
  case "start":
164
164
  coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
165
165
  break;
166
- case "end":
167
- coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
168
- break;
166
+ case "end": coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
169
167
  }
170
168
  return coords;
171
169
  }
@@ -400,9 +398,7 @@ var flip$1 = function(options) {
400
398
  if (placement) resetPlacement = placement;
401
399
  break;
402
400
  }
403
- case "initialPlacement":
404
- resetPlacement = initialPlacement;
405
- break;
401
+ case "initialPlacement": resetPlacement = initialPlacement;
406
402
  }
407
403
  if (placement !== resetPlacement) return { reset: { placement: resetPlacement } };
408
404
  }
@@ -410,7 +406,7 @@ var flip$1 = function(options) {
410
406
  }
411
407
  };
412
408
  };
413
- var originSides = /* @__PURE__ */ new Set(["left", "top"]);
409
+ var originSides = /*#__PURE__*/ new Set(["left", "top"]);
414
410
  async function convertValueToCoords(state, options) {
415
411
  const { placement, platform, elements } = state;
416
412
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
@@ -734,7 +730,7 @@ function getScale(element) {
734
730
  y
735
731
  };
736
732
  }
737
- var noOffsets = /* @__PURE__ */ createCoords(0);
733
+ var noOffsets = /*#__PURE__*/ createCoords(0);
738
734
  function getVisualOffsets(element) {
739
735
  const win = getWindow(element);
740
736
  if (!isWebKit() || !win.visualViewport) return noOffsets;
@@ -754,9 +750,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
754
750
  const clientRect = element.getBoundingClientRect();
755
751
  const domElement = unwrapElement(element);
756
752
  let scale = createCoords(1);
757
- if (includeScale) if (offsetParent) {
758
- if (isElement(offsetParent)) scale = getScale(offsetParent);
759
- } else scale = getScale(element);
753
+ if (includeScale) {
754
+ if (offsetParent) {
755
+ if (isElement(offsetParent)) scale = getScale(offsetParent);
756
+ } else scale = getScale(element);
757
+ }
760
758
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
761
759
  let x = (clientRect.left + visualOffsets.x) / scale.x;
762
760
  let y = (clientRect.top + visualOffsets.y) / scale.y;
@@ -4,7 +4,10 @@
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var t$4 = globalThis, e$8 = t$4.ShadowRoot && (void 0 === t$4.ShadyCSS || t$4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$3 = Symbol(), o$7 = /* @__PURE__ */ new WeakMap();
7
+ var t$4 = globalThis;
8
+ var e$8 = t$4.ShadowRoot && (void 0 === t$4.ShadyCSS || t$4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
9
+ var s$3 = Symbol();
10
+ var o$7 = /* @__PURE__ */ new WeakMap();
8
11
  var n$4 = class {
9
12
  constructor(t, e, o) {
10
13
  if (this._$cssResult$ = !0, o !== s$3) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -23,19 +26,22 @@ var n$4 = class {
23
26
  return this.cssText;
24
27
  }
25
28
  };
26
- var r$5 = (t) => new n$4("string" == typeof t ? t : t + "", void 0, s$3), i$5 = (t, ...e) => {
29
+ var r$5 = (t) => new n$4("string" == typeof t ? t : t + "", void 0, s$3);
30
+ var i$5 = (t, ...e) => {
27
31
  return new n$4(1 === t.length ? t[0] : e.reduce((e, s, o) => e + ((t) => {
28
32
  if (!0 === t._$cssResult$) return t.cssText;
29
33
  if ("number" == typeof t) return t;
30
34
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
31
35
  })(s) + t[o + 1], t[0]), t, s$3);
32
- }, S$1 = (s, o) => {
36
+ };
37
+ var S$1 = (s, o) => {
33
38
  if (e$8) s.adoptedStyleSheets = o.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
34
39
  else for (const e of o) {
35
40
  const o = document.createElement("style"), n = t$4.litNonce;
36
41
  void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
37
42
  }
38
- }, c$4 = e$8 ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((t) => {
43
+ };
44
+ var c$4 = e$8 ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((t) => {
39
45
  let e = "";
40
46
  for (const s of t.cssRules) e += s.cssText;
41
47
  return r$5(e);
@@ -145,7 +151,7 @@ var y$1 = class extends HTMLElement {
145
151
  static finalizeStyles(s) {
146
152
  const i = [];
147
153
  if (Array.isArray(s)) {
148
- const e = new Set(s.flat(Infinity).reverse());
154
+ const e = new Set(s.flat(1 / 0).reverse());
149
155
  for (const s of e) i.unshift(c$4(s));
150
156
  } else void 0 !== s && i.push(c$4(s));
151
157
  return i;
@@ -277,14 +283,37 @@ y$1.elementStyles = [], y$1.shadowRootOptions = { mode: "open" }, y$1[d$2("eleme
277
283
  * Copyright 2017 Google LLC
278
284
  * SPDX-License-Identifier: BSD-3-Clause
279
285
  */
280
- var t$3 = globalThis, i$3 = (t) => t, s$2 = t$3.trustedTypes, e$6 = s$2 ? s$2.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, h$1 = "$lit$", o$5 = `lit$${Math.random().toFixed(9).slice(2)}$`, n$2 = "?" + o$5, r$3 = `<${n$2}>`, l$2 = document, c$2 = () => l$2.createComment(""), a = (t) => null === t || "object" != typeof t && "function" != typeof t, u$2 = Array.isArray, d$1 = (t) => u$2(t) || "function" == typeof t?.[Symbol.iterator], f$1 = "[ \n\f\r]", v$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m$1 = />/g, p$1 = RegExp(`>|${f$1}(?:([^\\s"'>=/]+)(${f$1}*=${f$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, x = (t) => (i, ...s) => ({
286
+ var t$3 = globalThis;
287
+ var i$3 = (t) => t;
288
+ var s$2 = t$3.trustedTypes;
289
+ var e$6 = s$2 ? s$2.createPolicy("lit-html", { createHTML: (t) => t }) : void 0;
290
+ var h$1 = "$lit$";
291
+ var o$5 = `lit$${Math.random().toFixed(9).slice(2)}$`;
292
+ var n$2 = "?" + o$5;
293
+ var r$3 = `<${n$2}>`;
294
+ var l$2 = document;
295
+ var c$2 = () => l$2.createComment("");
296
+ var a = (t) => null === t || "object" != typeof t && "function" != typeof t;
297
+ var u$2 = Array.isArray;
298
+ var d$1 = (t) => u$2(t) || "function" == typeof t?.[Symbol.iterator];
299
+ var f$1 = "[ \n\f\r]";
300
+ var v$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
301
+ var _ = /-->/g;
302
+ var m$1 = />/g;
303
+ var p$1 = RegExp(`>|${f$1}(?:([^\\s"'>=/]+)(${f$1}*=${f$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g");
304
+ var g = /'/g;
305
+ var $ = /"/g;
306
+ var y = /^(?:script|style|textarea|title)$/i;
307
+ var x = (t) => (i, ...s) => ({
281
308
  _$litType$: t,
282
309
  strings: i,
283
310
  values: s
284
- }), b = x(1);
285
- x(2);
286
- x(3);
287
- var E = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), C = /* @__PURE__ */ new WeakMap(), P = l$2.createTreeWalker(l$2, 129);
311
+ });
312
+ var b = x(1);
313
+ var E = Symbol.for("lit-noChange");
314
+ var A = Symbol.for("lit-nothing");
315
+ var C = /* @__PURE__ */ new WeakMap();
316
+ var P = l$2.createTreeWalker(l$2, 129);
288
317
  function V(t, i) {
289
318
  if (!u$2(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
319
  return void 0 !== e$6 ? e$6.createHTML(i) : i;
@@ -529,7 +558,8 @@ var j$1 = {
529
558
  U: z,
530
559
  B: I,
531
560
  F: Z
532
- }, B = t$3.litHtmlPolyfillSupport;
561
+ };
562
+ var B = t$3.litHtmlPolyfillSupport;
533
563
  B?.(S, k), (t$3.litHtmlVersions ??= []).push("3.3.3");
534
564
  var D = (t, i, s) => {
535
565
  const e = s?.renderBefore ?? i;
@@ -574,6 +604,75 @@ var o$4 = s$1.litElementPolyfillSupport;
574
604
  o$4?.({ LitElement: i$2 });
575
605
  (s$1.litElementVersions ??= []).push("4.2.2");
576
606
  //#endregion
607
+ //#region ../node_modules/lit-html/directive.js
608
+ /**
609
+ * @license
610
+ * Copyright 2017 Google LLC
611
+ * SPDX-License-Identifier: BSD-3-Clause
612
+ */
613
+ var t$2 = {
614
+ ATTRIBUTE: 1,
615
+ CHILD: 2,
616
+ PROPERTY: 3,
617
+ BOOLEAN_ATTRIBUTE: 4,
618
+ EVENT: 5,
619
+ ELEMENT: 6
620
+ };
621
+ var e$5 = (t) => (...e) => ({
622
+ _$litDirective$: t,
623
+ values: e
624
+ });
625
+ var i$1 = class {
626
+ constructor(t) {}
627
+ get _$AU() {
628
+ return this._$AM._$AU;
629
+ }
630
+ _$AT(t, e, i) {
631
+ this._$Ct = t, this._$AM = e, this._$Ci = i;
632
+ }
633
+ _$AS(t, e) {
634
+ return this.update(t, e);
635
+ }
636
+ update(t, e) {
637
+ return this.render(...e);
638
+ }
639
+ };
640
+ //#endregion
641
+ //#region ../node_modules/lit-html/directives/unsafe-html.js
642
+ /**
643
+ * @license
644
+ * Copyright 2017 Google LLC
645
+ * SPDX-License-Identifier: BSD-3-Clause
646
+ */ var e$4 = class extends i$1 {
647
+ constructor(i) {
648
+ if (super(i), this.it = A, i.type !== t$2.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
649
+ }
650
+ render(r) {
651
+ if (r === A || null == r) return this._t = void 0, this.it = r;
652
+ if (r === E) return r;
653
+ if ("string" != typeof r) throw Error(this.constructor.directiveName + "() called with a non-string value");
654
+ if (r === this.it) return this._t;
655
+ this.it = r;
656
+ const s = [r];
657
+ return s.raw = s, this._t = {
658
+ _$litType$: this.constructor.resultType,
659
+ strings: s,
660
+ values: []
661
+ };
662
+ }
663
+ };
664
+ e$4.directiveName = "unsafeHTML", e$4.resultType = 1;
665
+ var o$3 = e$5(e$4);
666
+ //#endregion
667
+ //#region ../node_modules/lit-html/directives/unsafe-svg.js
668
+ /**
669
+ * @license
670
+ * Copyright 2017 Google LLC
671
+ * SPDX-License-Identifier: BSD-3-Clause
672
+ */ var t$1 = class extends e$4 {};
673
+ t$1.directiveName = "unsafeSVG", t$1.resultType = 2;
674
+ var o$2 = e$5(t$1);
675
+ //#endregion
577
676
  //#region src/internal/safe-custom-element.ts
578
677
  var customElement = (tagName) => (classOrTarget, context) => {
579
678
  const define = () => {
@@ -589,13 +688,14 @@ var customElement = (tagName) => (classOrTarget, context) => {
589
688
  * @license
590
689
  * Copyright 2017 Google LLC
591
690
  * SPDX-License-Identifier: BSD-3-Clause
592
- */ var o$3 = {
691
+ */ var o$1 = {
593
692
  attribute: !0,
594
693
  type: String,
595
694
  converter: u$3,
596
695
  reflect: !1,
597
696
  hasChanged: f$2
598
- }, r$2 = (t = o$3, e, r) => {
697
+ };
698
+ var r$2 = (t = o$1, e, r) => {
599
699
  const { kind: n, metadata: i } = r;
600
700
  let s = globalThis.litPropertyMetadata.get(i);
601
701
  if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = /* @__PURE__ */ new Map()), "setter" === n && ((t = Object.create(t)).wrapped = !0), s.set(r.name, t), "accessor" === n) {
@@ -645,14 +745,14 @@ function n$1(t) {
645
745
  * Copyright 2017 Google LLC
646
746
  * SPDX-License-Identifier: BSD-3-Clause
647
747
  */
648
- var e$5 = (e, t, c) => (c.configurable = !0, c.enumerable = !0, Reflect.decorate && "object" != typeof t && Object.defineProperty(e, t, c), c);
748
+ var e$3 = (e, t, c) => (c.configurable = !0, c.enumerable = !0, Reflect.decorate && "object" != typeof t && Object.defineProperty(e, t, c), c);
649
749
  //#endregion
650
750
  //#region ../node_modules/@lit/reactive-element/decorators/query.js
651
751
  /**
652
752
  * @license
653
753
  * Copyright 2017 Google LLC
654
754
  * SPDX-License-Identifier: BSD-3-Clause
655
- */ function e$4(e, r) {
755
+ */ function e$2(e, r) {
656
756
  return (n, s, i) => {
657
757
  const o = (t) => t.renderRoot?.querySelector(e) ?? null;
658
758
  if (r) {
@@ -667,91 +767,23 @@ var e$5 = (e, t, c) => (c.configurable = !0, c.enumerable = !0, Reflect.decorate
667
767
  }
668
768
  };
669
769
  })();
670
- return e$5(n, s, { get() {
770
+ return e$3(n, s, { get() {
671
771
  let t = e.call(this);
672
772
  return void 0 === t && (t = o(this), (null !== t || this.hasUpdated) && r.call(this, t)), t;
673
773
  } });
674
774
  }
675
- return e$5(n, s, { get() {
775
+ return e$3(n, s, { get() {
676
776
  return o(this);
677
777
  } });
678
778
  };
679
779
  }
680
780
  //#endregion
681
- //#region ../node_modules/lit-html/directive.js
682
- /**
683
- * @license
684
- * Copyright 2017 Google LLC
685
- * SPDX-License-Identifier: BSD-3-Clause
686
- */
687
- var t$2 = {
688
- ATTRIBUTE: 1,
689
- CHILD: 2,
690
- PROPERTY: 3,
691
- BOOLEAN_ATTRIBUTE: 4,
692
- EVENT: 5,
693
- ELEMENT: 6
694
- }, e$3 = (t) => (...e) => ({
695
- _$litDirective$: t,
696
- values: e
697
- });
698
- var i$1 = class {
699
- constructor(t) {}
700
- get _$AU() {
701
- return this._$AM._$AU;
702
- }
703
- _$AT(t, e, i) {
704
- this._$Ct = t, this._$AM = e, this._$Ci = i;
705
- }
706
- _$AS(t, e) {
707
- return this.update(t, e);
708
- }
709
- update(t, e) {
710
- return this.render(...e);
711
- }
712
- };
713
- //#endregion
714
- //#region ../node_modules/lit-html/directives/unsafe-html.js
715
- /**
716
- * @license
717
- * Copyright 2017 Google LLC
718
- * SPDX-License-Identifier: BSD-3-Clause
719
- */ var e$2 = class extends i$1 {
720
- constructor(i) {
721
- if (super(i), this.it = A, i.type !== t$2.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
722
- }
723
- render(r) {
724
- if (r === A || null == r) return this._t = void 0, this.it = r;
725
- if (r === E) return r;
726
- if ("string" != typeof r) throw Error(this.constructor.directiveName + "() called with a non-string value");
727
- if (r === this.it) return this._t;
728
- this.it = r;
729
- const s = [r];
730
- return s.raw = s, this._t = {
731
- _$litType$: this.constructor.resultType,
732
- strings: s,
733
- values: []
734
- };
735
- }
736
- };
737
- e$2.directiveName = "unsafeHTML", e$2.resultType = 1;
738
- var o$2 = e$3(e$2);
739
- //#endregion
740
- //#region ../node_modules/lit-html/directives/unsafe-svg.js
741
- /**
742
- * @license
743
- * Copyright 2017 Google LLC
744
- * SPDX-License-Identifier: BSD-3-Clause
745
- */ var t$1 = class extends e$2 {};
746
- t$1.directiveName = "unsafeSVG", t$1.resultType = 2;
747
- var o$1 = e$3(t$1);
748
- //#endregion
749
781
  //#region ../node_modules/lit-html/directives/class-map.js
750
782
  /**
751
783
  * @license
752
784
  * Copyright 2018 Google LLC
753
785
  * SPDX-License-Identifier: BSD-3-Clause
754
- */ var e$1 = e$3(class extends i$1 {
786
+ */ var e$1 = e$5(class extends i$1 {
755
787
  constructor(t) {
756
788
  if (super(t), t.type !== t$2.ATTRIBUTE || "class" !== t.name || t.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
757
789
  }
@@ -780,6 +812,11 @@ var o$1 = e$3(t$1);
780
812
  * Copyright 2018 Google LLC
781
813
  * SPDX-License-Identifier: BSD-3-Clause
782
814
  */ var o = (o) => o ?? A, { I: t } = j$1, i = (o) => o, r = (o) => void 0 === o.strings, s = () => document.createComment(""), v = (o, n, e) => {
815
+ /**
816
+ * @license
817
+ * Copyright 2020 Google LLC
818
+ * SPDX-License-Identifier: BSD-3-Clause
819
+ */
783
820
  const l = o._$AA.parentNode, d = void 0 === n ? o._$AB : n._$AA;
784
821
  if (void 0 === e) e = new t(l.insertBefore(s(), d), l.insertBefore(s(), d), o, o.options);
785
822
  else {
@@ -806,7 +843,7 @@ var o$1 = e$3(t$1);
806
843
  * @license
807
844
  * Copyright 2020 Google LLC
808
845
  * SPDX-License-Identifier: BSD-3-Clause
809
- */ var l = e$3(class extends i$1 {
846
+ */ var l = e$5(class extends i$1 {
810
847
  constructor(r$6) {
811
848
  if (super(r$6), r$6.type !== t$2.PROPERTY && r$6.type !== t$2.ATTRIBUTE && r$6.type !== t$2.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
812
849
  if (!r(r$6)) throw Error("`live` bindings can only contain a single expression");
@@ -836,7 +873,8 @@ var u = (e, s, t) => {
836
873
  const r = /* @__PURE__ */ new Map();
837
874
  for (let l = s; l <= t; l++) r.set(e[l], l);
838
875
  return r;
839
- }, c = e$3(class extends i$1 {
876
+ };
877
+ var c = e$5(class extends i$1 {
840
878
  constructor(e) {
841
879
  if (super(e), e.type !== t$2.CHILD) throw Error("repeat() can only be used in text expressions");
842
880
  }
@@ -886,4 +924,4 @@ var u = (e, s, t) => {
886
924
  }
887
925
  });
888
926
  //#endregion
889
- export { o$1 as a, r$1 as c, i$2 as d, A as f, r$5 as h, e$1 as i, n$1 as l, i$5 as m, l as n, o$2 as o, b as p, o as r, e$4 as s, c as t, customElement as u };
927
+ export { e$2 as a, customElement as c, i$2 as d, A as f, r$5 as h, e$1 as i, o$2 as l, i$5 as m, l as n, r$1 as o, b as p, o as r, n$1 as s, c as t, o$3 as u };
@@ -1,4 +1,4 @@
1
- import { t as syncListboxSeparators } from "./sync-listbox-separators-Ch5krDUs.js";
1
+ import { t as syncListboxSeparators } from "./sync-listbox-separators-saLEtPpJ.js";
2
2
  //#region src/utils/popup-content-exit.ts
3
3
  /**
4
4
  * Wait for `pk-popup-content-out` on a listbox panel, then clear the `closing` class.
@@ -63,7 +63,7 @@ function getOffset(element, parent) {
63
63
  var locks = /* @__PURE__ */ new Set();
64
64
  /** Undo for the currently applied lock (only while locks.size > 0). */
65
65
  var restoreLock = null;
66
- var SCROLL_KEYS = new Set([
66
+ var SCROLL_KEYS = /* @__PURE__ */ new Set([
67
67
  " ",
68
68
  "ArrowUp",
69
69
  "ArrowDown",
@@ -1,4 +1,4 @@
1
- import { d as i$1, h as r, l as n, m as i } from "./lit-DpLik9Rf.js";
1
+ import { d as i$1, h as r, m as i, s as n } from "./lit-B6nFKgbW.js";
2
2
  //#region src/base/styles.ts
3
3
  var sharedStyleSheets = /* @__PURE__ */ new Map();
4
4
  /**
@@ -136,7 +136,7 @@ var PkElement = class extends i$1 {
136
136
  }
137
137
  };
138
138
  //#endregion
139
- //#region \0@oxc-project+runtime@0.127.0/helpers/decorate.js
139
+ //#region \0@oxc-project+runtime@0.152.0/helpers/esm/decorate.js
140
140
  function __decorate(decorators, target, key, desc) {
141
141
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
142
142
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -1,8 +1,8 @@
1
- import { a as o, c as r, f as A, i as e, l as n, m as i, p as b, u as customElement } from "./lit-DpLik9Rf.js";
2
- import { c as __decorate, l as PkElement, s as iconStyles, u as hostDisplayInlineBlock } from "./pk-base-B2MqxErC.js";
3
- import "./pk-spinner-Dk_LbvHW.js";
4
- import { h as chevronDown, t as iconToSvg } from "./svg-Bz-bXZn7.js";
5
- import { i as buttonGroupIndentStyles, n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-CsBQ3Cyh.js";
1
+ import { c as customElement, f as A, i as e, l as o, m as i, o as r, p as b, s as n } from "./lit-B6nFKgbW.js";
2
+ import { c as __decorate, l as PkElement, s as iconStyles, u as hostDisplayInlineBlock } from "./pk-base-BGegy7-X.js";
3
+ import { h as chevronDown, t as iconToSvg } from "./svg-BRgqS9vA.js";
4
+ import "./pk-spinner-B8iuHDQ9.js";
5
+ import { i as buttonGroupIndentStyles, n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-BQbvE3sC.js";
6
6
  //#region src/components/spinner/spinner-utils.ts
7
7
  function getButtonSpinnerSize(buttonSize = "default") {
8
8
  if (buttonSize === "xxs" || buttonSize === "xs") return "xxs";
@@ -1,8 +1,8 @@
1
- import { a as o$1, c as r, f as A, i as e, l as n, m as i, o, p as b, u as customElement } from "./lit-DpLik9Rf.js";
2
- import { c as __decorate, l as PkElement, s as iconStyles } from "./pk-base-B2MqxErC.js";
3
- import { _ as chevronRight, g as chevronLeft } from "./svg-Bz-bXZn7.js";
4
- import { t as HasSlotController } from "./has-slot-BGJeJdHr.js";
5
- import { n as renderIconHtml } from "./render-Bnzcxfss.js";
1
+ import { c as customElement, f as A, i as e, l as o$1, m as i, o as r, p as b, s as n, u as o } from "./lit-B6nFKgbW.js";
2
+ import { c as __decorate, l as PkElement, s as iconStyles } from "./pk-base-BGegy7-X.js";
3
+ import { _ as chevronRight, g as chevronLeft } from "./svg-BRgqS9vA.js";
4
+ import { n as renderIconHtml } from "./render-D9G_a_c2.js";
5
+ import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
6
6
  //#region src/utils/date.ts
7
7
  /** ISO date helpers — ported from `date-picker/internal/iso`. */
8
8
  var ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
@@ -138,7 +138,7 @@ function isoWeekNumber(date) {
138
138
  const firstThursday = new Date(target.getFullYear(), 0, 4);
139
139
  const firstDayNum = (firstThursday.getDay() + 6) % 7;
140
140
  firstThursday.setDate(firstThursday.getDate() - firstDayNum + 3);
141
- return 1 + Math.round((target.getTime() - firstThursday.getTime()) / (7 * 864e5));
141
+ return 1 + Math.round((target.getTime() - firstThursday.getTime()) / 6048e5);
142
142
  }
143
143
  function formatDisplayDate(date, locale) {
144
144
  return new Intl.DateTimeFormat(locale || void 0, {
@@ -210,7 +210,7 @@ function allDisabledInRange(start, end, isDisabled) {
210
210
  }
211
211
  //#endregion
212
212
  //#region src/utils/week-info.ts
213
- var SUNDAY_FIRST = new Set([
213
+ var SUNDAY_FIRST = /* @__PURE__ */ new Set([
214
214
  "US",
215
215
  "CA",
216
216
  "MX",
@@ -248,7 +248,7 @@ var SUNDAY_FIRST = new Set([
248
248
  "ET",
249
249
  "KE"
250
250
  ]);
251
- var SATURDAY_FIRST = new Set([
251
+ var SATURDAY_FIRST = /* @__PURE__ */ new Set([
252
252
  "SA",
253
253
  "AE",
254
254
  "QA",
@@ -264,7 +264,7 @@ var SATURDAY_FIRST = new Set([
264
264
  "DZ",
265
265
  "LY"
266
266
  ]);
267
- var FRI_SAT_WEEKEND = new Set([
267
+ var FRI_SAT_WEEKEND = /* @__PURE__ */ new Set([
268
268
  "SA",
269
269
  "AE",
270
270
  "QA",
@@ -1,7 +1,7 @@
1
- import { c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as customElement } from "./lit-DpLik9Rf.js";
2
- import { c as __decorate, i as PkFormAssociatedElement, r as checkboxControlStyles } from "./pk-base-B2MqxErC.js";
3
- import { t as RequiredValidator } from "./required-validator-0XwZtX9k.js";
4
- import { t as HasSlotController } from "./has-slot-BGJeJdHr.js";
1
+ import { a as e$1, c as customElement, f as A, i as e, m as i, o as r, p as b, s as n } from "./lit-B6nFKgbW.js";
2
+ import { c as __decorate, i as PkFormAssociatedElement, r as checkboxControlStyles } from "./pk-base-BGegy7-X.js";
3
+ import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
4
+ import { t as RequiredValidator } from "./required-validator-I58oJGZ3.js";
5
5
  //#region src/icons/checkbox-indicators.ts
6
6
  /** Craft checkbox tick — matches plugin-kit-react Checkbox.tsx */
7
7
  function renderCheckboxCheckIcon() {
@@ -22,7 +22,9 @@ function renderCheckboxIndeterminateIcon() {
22
22
  </svg>
23
23
  `;
24
24
  }
25
- var pkCheckboxStyles = [checkboxControlStyles, i`
25
+ //#endregion
26
+ //#region src/components/checkbox/pk-checkbox.styles.ts
27
+ var pkCheckboxLayoutStyles = i`
26
28
  @layer pk-component {
27
29
  :host {
28
30
  display: inline-flex;
@@ -110,7 +112,8 @@ var pkCheckboxStyles = [checkboxControlStyles, i`
110
112
  display: none;
111
113
  }
112
114
  }
113
- `];
115
+ `;
116
+ var pkCheckboxStyles = [checkboxControlStyles, pkCheckboxLayoutStyles];
114
117
  //#endregion
115
118
  //#region src/components/checkbox/pk-checkbox.ts
116
119
  var PkCheckbox = class PkCheckbox extends PkFormAssociatedElement {
@@ -1,7 +1,7 @@
1
- import { c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as customElement } from "./lit-DpLik9Rf.js";
2
- import { c as __decorate, i as PkFormAssociatedElement } from "./pk-base-B2MqxErC.js";
3
- import { t as MirrorValidator } from "./mirror-validator-C5XrXPaq.js";
4
- import { t as RequiredValidator } from "./required-validator-0XwZtX9k.js";
1
+ import { a as e$1, c as customElement, f as A, i as e, m as i, o as r, p as b, s as n } from "./lit-B6nFKgbW.js";
2
+ import { c as __decorate, i as PkFormAssociatedElement } from "./pk-base-BGegy7-X.js";
3
+ import { t as MirrorValidator } from "./mirror-validator-BkZlEv1Z.js";
4
+ import { t as RequiredValidator } from "./required-validator-I58oJGZ3.js";
5
5
  //#region src/components/color-input/pk-color-input.styles.ts
6
6
  /**
7
7
  * Size scale matches pk-input (xs / sm / default / lg). Metrics are shifted so