@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.
- package/CHANGELOG.md +20 -0
- package/custom-elements.json +8414 -7031
- package/dist/chunks/{active-elements-BwpXu8Lb.js → active-elements-739kISON.js} +1 -1
- package/dist/chunks/{active-elements-BwpXu8Lb.js.map → active-elements-739kISON.js.map} +1 -1
- package/dist/chunks/{animate-with-class-CsDwYnXL.js → animate-with-class-CjTZI0NU.js} +1 -1
- package/dist/chunks/{animate-with-class-CsDwYnXL.js.map → animate-with-class-CjTZI0NU.js.map} +1 -1
- package/dist/chunks/{autoloader-dJO3tYOX.js → autoloader-DcwybeWc.js} +3 -3
- package/dist/chunks/{autoloader-dJO3tYOX.js.map → autoloader-DcwybeWc.js.map} +1 -1
- package/dist/chunks/{button-group-item.styles-DYmBR28a.js → button-group-item.styles-D7tuu-sr.js} +1 -1
- package/dist/chunks/{button-group-item.styles-DYmBR28a.js.map → button-group-item.styles-D7tuu-sr.js.map} +1 -1
- package/dist/chunks/{component-registry-D34fm8xW.js → component-registry-B5pnAZsb.js} +6 -1
- package/dist/chunks/component-registry-B5pnAZsb.js.map +1 -0
- package/dist/chunks/{control-aria-B2QMq4ji.js → control-aria-CtNg2izr.js} +1 -1
- package/dist/chunks/{control-aria-B2QMq4ji.js.map → control-aria-CtNg2izr.js.map} +1 -1
- package/dist/chunks/{decorate-R0X811qp.js → decorate-Br_PE9pq.js} +3 -4
- package/dist/chunks/{decorate-R0X811qp.js.map → decorate-Br_PE9pq.js.map} +1 -1
- package/dist/chunks/decorators-BkErmuYK.js +2 -0
- package/dist/chunks/{dismissible-stack-XQUMfKO3.js → dismissible-stack-CwhtwAyo.js} +1 -1
- package/dist/chunks/{dismissible-stack-XQUMfKO3.js.map → dismissible-stack-CwhtwAyo.js.map} +1 -1
- package/dist/chunks/{field-labels-CmuAW8Cl.js → field-labels-pY-gQDwQ.js} +1 -1
- package/dist/chunks/{field-labels-CmuAW8Cl.js.map → field-labels-pY-gQDwQ.js.map} +1 -1
- package/dist/chunks/{focus-aa5dlv8k.js → focus-DcVUPVqn.js} +2 -2
- package/dist/chunks/{focus-aa5dlv8k.js.map → focus-DcVUPVqn.js.map} +1 -1
- package/dist/chunks/{form-control.styles-BQdimE5o.js → form-control.styles-CQ93gnVf.js} +1 -1
- package/dist/chunks/{form-control.styles-BQdimE5o.js.map → form-control.styles-CQ93gnVf.js.map} +1 -1
- package/dist/chunks/{has-slot-8BvCt_qo.js → has-slot-DJv86HKx.js} +1 -1
- package/dist/chunks/{has-slot-8BvCt_qo.js.map → has-slot-DJv86HKx.js.map} +1 -1
- package/dist/chunks/{icon.styles-BLTWLqYp.js → icon.styles-KWvfi7RV.js} +1 -1
- package/dist/chunks/{icon.styles-BLTWLqYp.js.map → icon.styles-KWvfi7RV.js.map} +1 -1
- package/dist/chunks/{icons-BR8JcQj2.js → icons-k1pvx6yX.js} +2 -2
- package/dist/chunks/{icons-BR8JcQj2.js.map → icons-k1pvx6yX.js.map} +1 -1
- package/dist/chunks/{mirror-validator-DCjNYrrx.js → mirror-validator-BkZlEv1Z.js} +1 -1
- package/dist/chunks/{mirror-validator-DCjNYrrx.js.map → mirror-validator-BkZlEv1Z.js.map} +1 -1
- package/dist/chunks/{option-filter-BQqr8Z21.js → option-filter-BkKyBg8L.js} +2 -2
- package/dist/chunks/{option-filter-BQqr8Z21.js.map → option-filter-BkKyBg8L.js.map} +1 -1
- package/dist/chunks/{overlay-lifecycle-D0pkTQyI.js → overlay-lifecycle-C582MGBJ.js} +1 -1
- package/dist/chunks/{overlay-lifecycle-D0pkTQyI.js.map → overlay-lifecycle-C582MGBJ.js.map} +1 -1
- package/dist/chunks/pk-alert-BQAb4lJc.js +666 -0
- package/dist/chunks/pk-alert-BQAb4lJc.js.map +1 -0
- package/dist/chunks/{pk-autocomplete-qy2Psvqm.js → pk-autocomplete-DUXhs1hi.js} +21 -20
- package/dist/chunks/pk-autocomplete-DUXhs1hi.js.map +1 -0
- package/dist/chunks/{pk-button-group-BSz5T5iS.js → pk-button-group-BY12Lbk7.js} +10 -7
- package/dist/chunks/pk-button-group-BY12Lbk7.js.map +1 -0
- package/dist/chunks/{pk-button-group-separator-DH3Rl24b.js → pk-button-group-separator-B1a8dP9A.js} +3 -2
- package/dist/chunks/pk-button-group-separator-B1a8dP9A.js.map +1 -0
- package/dist/chunks/{pk-button-group-text-Qro_KmZb.js → pk-button-group-text-CWNlZkyV.js} +3 -3
- package/dist/chunks/pk-button-group-text-CWNlZkyV.js.map +1 -0
- package/dist/chunks/{pk-button-BrH4u4Qr.js → pk-button-ntSVrer_.js} +8 -7
- package/dist/chunks/pk-button-ntSVrer_.js.map +1 -0
- package/dist/chunks/{pk-calendar-Z7Y0PjeY.js → pk-calendar-Df0c5u79.js} +12 -11
- package/dist/chunks/pk-calendar-Df0c5u79.js.map +1 -0
- package/dist/chunks/{pk-checkbox-13ArHSmt.js → pk-checkbox-L5uRex3b.js} +6 -5
- package/dist/chunks/pk-checkbox-L5uRex3b.js.map +1 -0
- package/dist/chunks/{pk-checkbox-select-Ckvfbu83.js → pk-checkbox-select-6OS0wFYO.js} +4 -3
- package/dist/chunks/pk-checkbox-select-6OS0wFYO.js.map +1 -0
- package/dist/chunks/{pk-clear--mPWZP7H.js → pk-clear-DHxP_2cm.js} +1 -1
- package/dist/chunks/{pk-clear--mPWZP7H.js.map → pk-clear-DHxP_2cm.js.map} +1 -1
- package/dist/chunks/{pk-code-editor-BlG6O5qB.js → pk-code-editor-vZriNR67.js} +6 -5
- package/dist/chunks/pk-code-editor-vZriNR67.js.map +1 -0
- package/dist/chunks/{pk-color-input-BRgQ5-vB.js → pk-color-input-Csbm4ROT.js} +6 -5
- package/dist/chunks/pk-color-input-Csbm4ROT.js.map +1 -0
- package/dist/chunks/{pk-combobox-ag89QEX2.js → pk-combobox-BrSBrldb.js} +25 -23
- package/dist/chunks/pk-combobox-BrSBrldb.js.map +1 -0
- package/dist/chunks/{pk-connect.styles-BhW406jt.js → pk-connect.styles-oKhxa_m2.js} +1 -1
- package/dist/chunks/{pk-connect.styles-BhW406jt.js.map → pk-connect.styles-oKhxa_m2.js.map} +1 -1
- package/dist/chunks/{pk-copy-button-BVaOLtYG.js → pk-copy-button-5i9v_zmu.js} +31 -9
- package/dist/chunks/pk-copy-button-5i9v_zmu.js.map +1 -0
- package/dist/chunks/{pk-date-picker-C2YvDPNm.js → pk-date-picker-C-w6Mn6j.js} +21 -20
- package/dist/chunks/pk-date-picker-C-w6Mn6j.js.map +1 -0
- package/dist/chunks/{pk-dialog-VMQqLW1f.js → pk-dialog-C7KZGpQs.js} +10 -9
- package/dist/chunks/pk-dialog-C7KZGpQs.js.map +1 -0
- package/dist/chunks/{pk-dropdown-item-D9OaG5o-.js → pk-dropdown-item-Ck2N_suK.js} +11 -8
- package/dist/chunks/pk-dropdown-item-Ck2N_suK.js.map +1 -0
- package/dist/chunks/{pk-dropdown-label-CRNWMWQd.js → pk-dropdown-label-BdZLeizJ.js} +2 -2
- package/dist/chunks/pk-dropdown-label-BdZLeizJ.js.map +1 -0
- package/dist/chunks/{pk-dropdown-menu-DW1wI8xQ.js → pk-dropdown-menu-DBsO1uYR.js} +22 -18
- package/dist/chunks/pk-dropdown-menu-DBsO1uYR.js.map +1 -0
- package/dist/chunks/{pk-editable-table-DDnu1I8Y.js → pk-editable-table-Cd8K6vT4.js} +26 -23
- package/dist/chunks/pk-editable-table-Cd8K6vT4.js.map +1 -0
- package/dist/chunks/{pk-field-UAlMq6mQ.js → pk-field--PCE9nOd.js} +9 -8
- package/dist/chunks/pk-field--PCE9nOd.js.map +1 -0
- package/dist/chunks/{pk-form-associated-element-GxX5lbnk.js → pk-form-associated-element-Doh2K3pG.js} +3 -3
- package/dist/chunks/pk-form-associated-element-Doh2K3pG.js.map +1 -0
- package/dist/chunks/{pk-image-browser-Bj8LhWfk.js → pk-image-browser-iUqdcLKs.js} +21 -21
- package/dist/chunks/pk-image-browser-iUqdcLKs.js.map +1 -0
- package/dist/chunks/{pk-input-BywmK5n2.js → pk-input-BUbXj9We.js} +14 -13
- package/dist/chunks/pk-input-BUbXj9We.js.map +1 -0
- package/dist/chunks/{pk-input-group-BLqKPnfc.js → pk-input-group-CN79c5HT.js} +5 -4
- package/dist/chunks/pk-input-group-CN79c5HT.js.map +1 -0
- package/dist/chunks/{pk-input-group-addon-ClBkGmAw.js → pk-input-group-addon-DpxfuYp1.js} +3 -2
- package/dist/chunks/pk-input-group-addon-DpxfuYp1.js.map +1 -0
- package/dist/chunks/{pk-input-group-button-CHQHsWd4.js → pk-input-group-button-D5Hm4saA.js} +3 -2
- package/dist/chunks/pk-input-group-button-D5Hm4saA.js.map +1 -0
- package/dist/chunks/{pk-input-group-input-oNnqMBGU.js → pk-input-group-input-Cm1MoHgN.js} +3 -2
- package/dist/chunks/pk-input-group-input-Cm1MoHgN.js.map +1 -0
- package/dist/chunks/{pk-input-group-text-HUxlXROB.js → pk-input-group-text-CtyJZ_Kg.js} +2 -2
- package/dist/chunks/pk-input-group-text-CtyJZ_Kg.js.map +1 -0
- package/dist/chunks/{pk-input-group-textarea-Cl2FNuw-.js → pk-input-group-textarea-BxmKGjdt.js} +3 -2
- package/dist/chunks/pk-input-group-textarea-BxmKGjdt.js.map +1 -0
- package/dist/chunks/{pk-lightswitch-VHfJizBW.js → pk-lightswitch-CSvgiHVQ.js} +9 -8
- package/dist/chunks/pk-lightswitch-CSvgiHVQ.js.map +1 -0
- package/dist/chunks/{pk-option-DQZHV9jL.js → pk-option-B_PF4v_Z.js} +9 -7
- package/dist/chunks/pk-option-B_PF4v_Z.js.map +1 -0
- package/dist/chunks/{pk-option-group-CCzJkBFp.js → pk-option-group-D6bHfn0j.js} +4 -3
- package/dist/chunks/pk-option-group-D6bHfn0j.js.map +1 -0
- package/dist/chunks/{pk-popover-D3jkHfwB.js → pk-popover-BOoGfR7I.js} +11 -10
- package/dist/chunks/pk-popover-BOoGfR7I.js.map +1 -0
- package/dist/chunks/{pk-popup-B65tZMQH.js → pk-popup-DVE93VSV.js} +32 -28
- package/dist/chunks/pk-popup-DVE93VSV.js.map +1 -0
- package/dist/chunks/{pk-radio-B5XkMHy3.js → pk-radio-D0eqmnlH.js} +3 -2
- package/dist/chunks/pk-radio-D0eqmnlH.js.map +1 -0
- package/dist/chunks/{pk-radio-group-Dzd-3HaQ.js → pk-radio-group-BehEZG_k.js} +8 -7
- package/dist/chunks/pk-radio-group-BehEZG_k.js.map +1 -0
- package/dist/chunks/{pk-scroll-area-CdfNxYz8.js → pk-scroll-area-BeaLZ6k-.js} +3 -2
- package/dist/chunks/pk-scroll-area-BeaLZ6k-.js.map +1 -0
- package/dist/chunks/{pk-select-b5S5WKc-.js → pk-select-DZNpEk5Z.js} +20 -19
- package/dist/chunks/pk-select-DZNpEk5Z.js.map +1 -0
- package/dist/chunks/{pk-separator-N-VyjYE6.js → pk-separator-ZkRowI5Y.js} +3 -2
- package/dist/chunks/pk-separator-ZkRowI5Y.js.map +1 -0
- package/dist/chunks/{pk-spinner-DweuYJ_Z.js → pk-spinner-Bxkn4iVO.js} +3 -2
- package/dist/chunks/pk-spinner-Bxkn4iVO.js.map +1 -0
- package/dist/chunks/pk-state-panel-BTo2xiug.js +604 -0
- package/dist/chunks/pk-state-panel-BTo2xiug.js.map +1 -0
- package/dist/chunks/{pk-status-BehQARDv.js → pk-status-CdiRBRyh.js} +3 -2
- package/dist/chunks/pk-status-CdiRBRyh.js.map +1 -0
- package/dist/chunks/{pk-tab-CTloD18e.js → pk-tab-CSbI3XxX.js} +2 -2
- package/dist/chunks/pk-tab-CSbI3XxX.js.map +1 -0
- package/dist/chunks/{pk-tab-heading-Cjcgebxn.js → pk-tab-heading-BMyLTBNc.js} +2 -2
- package/dist/chunks/pk-tab-heading-BMyLTBNc.js.map +1 -0
- package/dist/chunks/{pk-tab-panel-CkKU5-Ah.js → pk-tab-panel-sgdRjV8o.js} +2 -2
- package/dist/chunks/pk-tab-panel-sgdRjV8o.js.map +1 -0
- package/dist/chunks/{pk-tabs-BgEBki1q.js → pk-tabs-bBNCu_4h.js} +10 -7
- package/dist/chunks/pk-tabs-bBNCu_4h.js.map +1 -0
- package/dist/chunks/{pk-textarea-Dhj1WFLH.js → pk-textarea-B401dUWa.js} +11 -10
- package/dist/chunks/pk-textarea-B401dUWa.js.map +1 -0
- package/dist/chunks/{pk-time-picker-ChRbKHNB.js → pk-time-picker-DnNZVwRk.js} +6 -6
- package/dist/chunks/pk-time-picker-DnNZVwRk.js.map +1 -0
- package/dist/chunks/{pk-tiptap-content-CL8smjGi.js → pk-tiptap-content-C2qzGQKj.js} +4 -3
- package/dist/chunks/pk-tiptap-content-C2qzGQKj.js.map +1 -0
- package/dist/chunks/{pk-tiptap-editor-BMwedkPt.js → pk-tiptap-editor-y_QyNSR-.js} +20 -21
- package/dist/chunks/pk-tiptap-editor-y_QyNSR-.js.map +1 -0
- package/dist/chunks/{pk-tiptap-input-YKg4VLp_.js → pk-tiptap-input-0Xy6rrot.js} +7 -6
- package/dist/chunks/pk-tiptap-input-0Xy6rrot.js.map +1 -0
- package/dist/chunks/{pk-toggle-BthhH7vl.js → pk-toggle-Co8GsHuK.js} +4 -3
- package/dist/chunks/pk-toggle-Co8GsHuK.js.map +1 -0
- package/dist/chunks/{pk-toggle-group-D2Quux8D.js → pk-toggle-group-Ct1ljI-7.js} +7 -4
- package/dist/chunks/pk-toggle-group-Ct1ljI-7.js.map +1 -0
- package/dist/chunks/{pk-tooltip--QBV6puX.js → pk-tooltip-Cvv2f7T5.js} +7 -6
- package/dist/chunks/pk-tooltip-Cvv2f7T5.js.map +1 -0
- package/dist/chunks/{popup-content-animation.styles-BnNiguJo.js → popup-content-animation.styles-CJ8zGJz-.js} +1 -1
- package/dist/chunks/{popup-content-animation.styles-BnNiguJo.js.map → popup-content-animation.styles-CJ8zGJz-.js.map} +1 -1
- package/dist/chunks/{popup-placement-animation-WlEXnS85.js → popup-placement-animation-ClUYI79z.js} +1 -1
- package/dist/chunks/{popup-placement-animation-WlEXnS85.js.map → popup-placement-animation-ClUYI79z.js.map} +1 -1
- package/dist/chunks/{popup-pointer-CuLjk1th.js → popup-pointer-Bh_d205v.js} +1 -1
- package/dist/chunks/{popup-pointer-CuLjk1th.js.map → popup-pointer-Bh_d205v.js.map} +1 -1
- package/dist/chunks/{register-components-BT9THgdh.js → register-components-CZtpgZe3.js} +1 -1
- package/dist/chunks/{register-components-BT9THgdh.js.map → register-components-CZtpgZe3.js.map} +1 -1
- package/dist/chunks/{render-Dvc3MHQR.js → render-DQZp_Rak.js} +1 -1
- package/dist/chunks/{render-Dvc3MHQR.js.map → render-DQZp_Rak.js.map} +1 -1
- package/dist/chunks/{required-validator-CEg8dvjS.js → required-validator-I58oJGZ3.js} +1 -1
- package/dist/chunks/{required-validator-CEg8dvjS.js.map → required-validator-I58oJGZ3.js.map} +1 -1
- package/dist/chunks/{scroll-lock-Bbh3Sc5g.js → scroll-lock-DE1pElMQ.js} +2 -2
- package/dist/chunks/{scroll-lock-Bbh3Sc5g.js.map → scroll-lock-DE1pElMQ.js.map} +1 -1
- package/dist/chunks/{spinner-utils-CDfHypTv.js → spinner-utils-DXwIxQ6z.js} +1 -1
- package/dist/chunks/{spinner-utils-CDfHypTv.js.map → spinner-utils-DXwIxQ6z.js.map} +1 -1
- package/dist/chunks/{supports-popover-CUBsbHpS.js → supports-popover-BCqyOPtO.js} +1 -1
- package/dist/chunks/{supports-popover-CUBsbHpS.js.map → supports-popover-BCqyOPtO.js.map} +1 -1
- package/dist/chunks/{sync-listbox-separators-B1-V0oJi.js → sync-listbox-separators-saLEtPpJ.js} +2 -2
- package/dist/chunks/{sync-listbox-separators-B1-V0oJi.js.map → sync-listbox-separators-saLEtPpJ.js.map} +1 -1
- package/dist/chunks/{tiptap.styles-CPRows--.js → tiptap.styles-Q4ED1nBw.js} +2 -2
- package/dist/chunks/{tiptap.styles-CPRows--.js.map → tiptap.styles-Q4ED1nBw.js.map} +1 -1
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/pk-alert.d.ts +95 -0
- package/dist/components/alert/pk-alert.d.ts.map +1 -0
- package/dist/components/alert/pk-alert.js +2 -0
- package/dist/components/alert/pk-alert.styles.d.ts +2 -0
- package/dist/components/alert/pk-alert.styles.d.ts.map +1 -0
- package/dist/components/alert.d.ts +2 -0
- package/dist/components/alert.js +2 -0
- package/dist/components/autocomplete/pk-autocomplete.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/button/pk-button.js +1 -1
- package/dist/components/button-group/pk-button-group-separator.js +1 -1
- package/dist/components/button-group/pk-button-group-text.js +1 -1
- package/dist/components/button-group/pk-button-group.js +1 -1
- package/dist/components/button-group.js +3 -3
- package/dist/components/button.js +1 -1
- package/dist/components/calendar/pk-calendar.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/checkbox/pk-checkbox.js +1 -1
- package/dist/components/checkbox-select/pk-checkbox-select.js +1 -1
- package/dist/components/checkbox-select.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/code-editor/pk-code-editor.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/color-input/pk-color-input.js +1 -1
- package/dist/components/color-input.js +1 -1
- package/dist/components/combobox/pk-combobox.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/connect/pk-connect-oauth.js +5 -4
- package/dist/components/connect/pk-connect-oauth.js.map +1 -1
- package/dist/components/connect/pk-connect.d.ts +0 -1
- package/dist/components/connect/pk-connect.d.ts.map +1 -1
- package/dist/components/connect/pk-connect.js +27 -49
- package/dist/components/connect/pk-connect.js.map +1 -1
- package/dist/components/copy-button/pk-copy-button.d.ts +17 -2
- package/dist/components/copy-button/pk-copy-button.d.ts.map +1 -1
- package/dist/components/copy-button/pk-copy-button.js +1 -1
- package/dist/components/copy-button/pk-copy-button.styles.d.ts.map +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/date-picker/pk-date-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/dialog/pk-dialog.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-item.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-label.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-separator.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-separator.js.map +1 -1
- package/dist/components/dropdown-menu.js +3 -3
- package/dist/components/editable-table/pk-editable-table.js +1 -1
- package/dist/components/editable-table.js +1 -1
- package/dist/components/field/pk-field.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/icon/pk-icon.js +2 -1
- package/dist/components/icon/pk-icon.js.map +1 -1
- package/dist/components/image-browser/pk-image-browser.js +1 -1
- package/dist/components/image-browser.js +1 -1
- package/dist/components/input/pk-input.js +1 -1
- package/dist/components/input-group/pk-input-group-addon.js +1 -1
- package/dist/components/input-group/pk-input-group-button.js +1 -1
- package/dist/components/input-group/pk-input-group-input.js +1 -1
- package/dist/components/input-group/pk-input-group-text.js +1 -1
- package/dist/components/input-group/pk-input-group-textarea.js +1 -1
- package/dist/components/input-group/pk-input-group.js +1 -1
- package/dist/components/input-group.js +6 -6
- package/dist/components/input.js +1 -1
- package/dist/components/lightswitch/pk-lightswitch.js +1 -1
- package/dist/components/lightswitch.js +1 -1
- package/dist/components/popover/pk-popover.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popup/pk-popup.js +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/radio-group/pk-radio-group.js +1 -1
- package/dist/components/radio-group/pk-radio.js +1 -1
- package/dist/components/radio-group.js +2 -2
- package/dist/components/scroll-area/pk-scroll-area.js +1 -1
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/select/pk-option-group.js +1 -1
- package/dist/components/select/pk-option.js +1 -1
- package/dist/components/select/pk-select.js +1 -1
- package/dist/components/select.js +3 -3
- package/dist/components/separator/pk-separator.js +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner/pk-spinner.js +1 -1
- package/dist/components/spinner.js +2 -2
- package/dist/components/state-panel/index.d.ts +2 -0
- package/dist/components/state-panel/index.d.ts.map +1 -0
- package/dist/components/state-panel/pk-state-panel.d.ts +89 -0
- package/dist/components/state-panel/pk-state-panel.d.ts.map +1 -0
- package/dist/components/state-panel/pk-state-panel.js +2 -0
- package/dist/components/state-panel/pk-state-panel.styles.d.ts +2 -0
- package/dist/components/state-panel/pk-state-panel.styles.d.ts.map +1 -0
- package/dist/components/state-panel.d.ts +2 -0
- package/dist/components/state-panel.js +2 -0
- package/dist/components/status/pk-status.js +1 -1
- package/dist/components/status.js +1 -1
- package/dist/components/tabs/pk-tab-heading.js +1 -1
- package/dist/components/tabs/pk-tab-panel.js +1 -1
- package/dist/components/tabs/pk-tab.js +1 -1
- package/dist/components/tabs/pk-tabs.js +1 -1
- package/dist/components/tabs.js +4 -4
- package/dist/components/textarea/pk-textarea.js +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/time-picker/pk-time-picker.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tiptap/pk-tiptap-content.js +1 -1
- package/dist/components/tiptap/pk-tiptap-editor.js +1 -1
- package/dist/components/tiptap/pk-tiptap-input.js +1 -1
- package/dist/components/tiptap-content.js +1 -1
- package/dist/components/tiptap-editor.js +1 -1
- package/dist/components/tiptap-input.js +1 -1
- package/dist/components/toggle/pk-toggle.js +1 -1
- package/dist/components/toggle-group/pk-toggle-group.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip/pk-tooltip.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/connect/register-cp-connect.d.ts.map +1 -1
- package/dist/connect/register-cp-connect.js +8 -9
- package/dist/connect/register-cp-connect.js.map +1 -1
- package/dist/events/pk-dismiss.d.ts +10 -0
- package/dist/events/pk-dismiss.d.ts.map +1 -0
- package/dist/icons/index.js +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +74 -67
- package/dist/index.js.map +1 -1
- package/dist/plugin-kit.css +2 -0
- package/dist/plugin-kit.js +4 -4
- package/dist/plugin-kit.js.map +1 -1
- package/dist/register-components.js +1 -1
- package/dist/register-pk.generated.d.ts +4 -0
- package/dist/register-pk.generated.d.ts.map +1 -1
- package/dist/register.d.ts +5 -1
- package/dist/register.d.ts.map +1 -1
- package/dist/register.js +124 -55
- package/dist/register.js.map +1 -0
- package/dist/styles/connect/pk-connect.css +6 -107
- package/dist/utilities/fouce.css +2 -0
- package/dist-loader/chunks/{button-group-item.styles-CsBQ3Cyh.js → button-group-item.styles-BQbvE3sC.js} +1 -1
- package/dist-loader/chunks/{codemirror-CSgOT0QM.js → codemirror-C_TTKlG1.js} +584 -436
- package/dist-loader/chunks/editor-CS16rBkM.js +110 -0
- package/dist-loader/chunks/{floating-ui-Cj0imr6d.js → floating-ui-BJQPB-Ip.js} +9 -11
- package/dist-loader/chunks/{lit-DpLik9Rf.js → lit-B6nFKgbW.js} +127 -89
- package/dist-loader/chunks/{option-filter-Bc5aNNT0.js → option-filter-BkKyBg8L.js} +1 -1
- package/dist-loader/chunks/{pk-a11y-CjB4-U-R.js → pk-a11y-mGj0G5AE.js} +1 -1
- package/dist-loader/chunks/{pk-base-B2MqxErC.js → pk-base-BGegy7-X.js} +2 -2
- package/dist-loader/chunks/{pk-button-Dfm23jEC.js → pk-button-DV9Tk5Pd.js} +5 -5
- package/dist-loader/chunks/{pk-calendar-BuSULJCU.js → pk-calendar-C0xpIVIw.js} +9 -9
- package/dist-loader/chunks/{pk-checkbox-BDoq3xg0.js → pk-checkbox-DhP0iMoP.js} +9 -6
- package/dist-loader/chunks/{pk-color-input-eLjO9zfn.js → pk-color-input-B02cYzyr.js} +4 -4
- package/dist-loader/chunks/{pk-combobox-DBvcyxRC.js → pk-combobox-S_tpNUHK.js} +19 -18
- package/dist-loader/chunks/{pk-connect.styles-k61snd3X.js → pk-connect.styles-B5qe5yQB.js} +1 -1
- package/dist-loader/chunks/pk-copy-button-D6tPuhJ3.js +198 -0
- package/dist-loader/chunks/{pk-date-picker-CYLpYIji.js → pk-date-picker-C0y4sfSf.js} +15 -15
- package/dist-loader/chunks/{pk-dialog-BtrH5Ke0.js → pk-dialog-BJs5fVHS.js} +7 -7
- package/dist-loader/chunks/{pk-dropdown-item-D8tfEU-k.js → pk-dropdown-item-Bs5NZDRh.js} +11 -9
- package/dist-loader/chunks/{pk-dropdown-label-TbLj4bHK.js → pk-dropdown-label-Cpl9-bzB.js} +2 -2
- package/dist-loader/chunks/{pk-dropdown-menu-C4GDW5pE.js → pk-dropdown-menu-CLrfuD3i.js} +20 -17
- package/dist-loader/chunks/{pk-field-BM0XD9Ij.js → pk-field-Pg61fxBR.js} +140 -74
- package/dist-loader/chunks/{pk-icon-_1F1aL74.js → pk-icon-B7ywfPb6.js} +4 -4
- package/dist-loader/chunks/{pk-input-DvBrD7Md.js → pk-input-Cj5s8eBT.js} +10 -10
- package/dist-loader/chunks/{pk-lightswitch-CcwlLQ9f.js → pk-lightswitch-rUGB1p8q.js} +6 -6
- package/dist-loader/chunks/{pk-option-DATPm0Bo.js → pk-option-B-MeLvZf.js} +8 -7
- package/dist-loader/chunks/{pk-popup-CUuGs8r_.js → pk-popup-CeyruJFh.js} +35 -29
- package/dist-loader/chunks/{pk-select-DpcvbzUL.js → pk-select-JUx3mxRS.js} +14 -14
- package/dist-loader/chunks/{pk-spinner-Dk_LbvHW.js → pk-spinner-B8iuHDQ9.js} +2 -2
- package/dist-loader/chunks/pk-state-panel-BhdZGllL.js +600 -0
- package/dist-loader/chunks/{pk-status-B8UvjIp2.js → pk-status-D3qVwWlR.js} +2 -2
- package/dist-loader/chunks/{pk-textarea-DeSuxufJ.js → pk-textarea-KnpJMQX2.js} +7 -7
- package/dist-loader/chunks/{pk-time-picker-DpJt8biN.js → pk-time-picker-DCqZ5z7M.js} +6 -6
- package/dist-loader/chunks/{pk-tooltip-DcF9J5GT.js → pk-tooltip-DStkplzy.js} +6 -6
- package/dist-loader/chunks/{popup-content-animation.styles-duCg9-CH.js → popup-content-animation.styles-BtUVJg82.js} +1 -1
- package/dist-loader/chunks/{render-Bnzcxfss.js → render-D9G_a_c2.js} +1 -1
- package/dist-loader/chunks/{svg-Bz-bXZn7.js → svg-BRgqS9vA.js} +8 -1
- package/dist-loader/chunks/{sync-listbox-separators-Ch5krDUs.js → sync-listbox-separators-saLEtPpJ.js} +1 -1
- package/dist-loader/chunks/{tiptap-CgXkiK8d.js → tiptap-uppXgD5k.js} +16099 -9213
- package/dist-loader/chunks/tiptap.styles-CyqI_Wrl.js +896 -0
- package/dist-loader/components/alert/alert.js +662 -0
- package/dist-loader/components/autocomplete/autocomplete.js +15 -15
- package/dist-loader/components/button/button.js +1 -1
- package/dist-loader/components/button-group/button-group-separator.js +2 -2
- package/dist-loader/components/button-group/button-group-text.js +3 -3
- package/dist-loader/components/button-group/button-group.js +9 -7
- package/dist-loader/components/calendar/calendar.js +1 -1
- package/dist-loader/components/checkbox/checkbox.js +1 -1
- package/dist-loader/components/checkbox-select/checkbox-select.js +3 -3
- package/dist-loader/components/code-editor/code-editor.js +4 -4
- package/dist-loader/components/color-input/color-input.js +1 -1
- package/dist-loader/components/combobox/combobox.js +1 -1
- package/dist-loader/components/connect/connect-oauth.js +5 -5
- package/dist-loader/components/connect/connect.js +28 -51
- package/dist-loader/components/copy-button/copy-button.js +1 -176
- package/dist-loader/components/date-picker/date-picker.js +1 -1
- package/dist-loader/components/dialog/dialog.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-item.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-label.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-separator.js +2 -2
- package/dist-loader/components/editable-table/editable-table.js +25 -23
- package/dist-loader/components/field/field.js +1 -1
- package/dist-loader/components/icon/icon.js +3 -3
- package/dist-loader/components/image-browser/image-browser.js +15 -16
- package/dist-loader/components/input/input.js +1 -1
- package/dist-loader/components/input-group/input-group-addon.js +2 -2
- package/dist-loader/components/input-group/input-group-button.js +2 -2
- package/dist-loader/components/input-group/input-group-input.js +2 -2
- package/dist-loader/components/input-group/input-group-text.js +2 -2
- package/dist-loader/components/input-group/input-group-textarea.js +2 -2
- package/dist-loader/components/input-group/input-group.js +3 -3
- package/dist-loader/components/lightswitch/lightswitch.js +1 -1
- package/dist-loader/components/popover/popover.js +9 -9
- package/dist-loader/components/popup/popup.js +1 -1
- package/dist-loader/components/radio-group/radio-group.js +5 -5
- package/dist-loader/components/radio-group/radio.js +2 -2
- package/dist-loader/components/scroll-area/scroll-area.js +2 -2
- package/dist-loader/components/select/option-group.js +3 -3
- package/dist-loader/components/select/option.js +1 -1
- package/dist-loader/components/select/select.js +1 -1
- package/dist-loader/components/separator/separator.js +2 -2
- package/dist-loader/components/spinner/spinner.js +1 -1
- package/dist-loader/components/state-panel/state-panel.js +2 -0
- package/dist-loader/components/status/status.js +1 -1
- package/dist-loader/components/tabs/tab-heading.js +2 -2
- package/dist-loader/components/tabs/tab-panel.js +2 -2
- package/dist-loader/components/tabs/tab.js +2 -2
- package/dist-loader/components/tabs/tabs.js +9 -7
- package/dist-loader/components/textarea/textarea.js +1 -1
- package/dist-loader/components/time-picker/time-picker.js +1 -1
- package/dist-loader/components/tiptap/tiptap-content.js +5 -4
- package/dist-loader/components/tiptap/tiptap-editor.js +595 -21
- package/dist-loader/components/tiptap/tiptap-input.js +273 -5
- package/dist-loader/components/toggle/toggle.js +3 -3
- package/dist-loader/components/toggle-group/toggle-group.js +6 -4
- package/dist-loader/components/tooltip/tooltip.js +1 -1
- package/dist-loader/plugin-kit.css +2 -0
- package/dist-loader/plugin-kit.loader.js +6 -1
- package/dist-loader/styles/connect/pk-connect.css +6 -107
- package/dist-loader/utilities/fouce.css +2 -0
- package/package.json +49 -9
- package/dist/chunks/component-registry-D34fm8xW.js.map +0 -1
- package/dist/chunks/pk-autocomplete-qy2Psvqm.js.map +0 -1
- package/dist/chunks/pk-button-BrH4u4Qr.js.map +0 -1
- package/dist/chunks/pk-button-group-BSz5T5iS.js.map +0 -1
- package/dist/chunks/pk-button-group-separator-DH3Rl24b.js.map +0 -1
- package/dist/chunks/pk-button-group-text-Qro_KmZb.js.map +0 -1
- package/dist/chunks/pk-calendar-Z7Y0PjeY.js.map +0 -1
- package/dist/chunks/pk-checkbox-13ArHSmt.js.map +0 -1
- package/dist/chunks/pk-checkbox-select-Ckvfbu83.js.map +0 -1
- package/dist/chunks/pk-code-editor-BlG6O5qB.js.map +0 -1
- package/dist/chunks/pk-color-input-BRgQ5-vB.js.map +0 -1
- package/dist/chunks/pk-combobox-ag89QEX2.js.map +0 -1
- package/dist/chunks/pk-copy-button-BVaOLtYG.js.map +0 -1
- package/dist/chunks/pk-date-picker-C2YvDPNm.js.map +0 -1
- package/dist/chunks/pk-dialog-VMQqLW1f.js.map +0 -1
- package/dist/chunks/pk-dropdown-item-D9OaG5o-.js.map +0 -1
- package/dist/chunks/pk-dropdown-label-CRNWMWQd.js.map +0 -1
- package/dist/chunks/pk-dropdown-menu-DW1wI8xQ.js.map +0 -1
- package/dist/chunks/pk-editable-table-DDnu1I8Y.js.map +0 -1
- package/dist/chunks/pk-field-UAlMq6mQ.js.map +0 -1
- package/dist/chunks/pk-form-associated-element-GxX5lbnk.js.map +0 -1
- package/dist/chunks/pk-image-browser-Bj8LhWfk.js.map +0 -1
- package/dist/chunks/pk-input-BywmK5n2.js.map +0 -1
- package/dist/chunks/pk-input-group-BLqKPnfc.js.map +0 -1
- package/dist/chunks/pk-input-group-addon-ClBkGmAw.js.map +0 -1
- package/dist/chunks/pk-input-group-button-CHQHsWd4.js.map +0 -1
- package/dist/chunks/pk-input-group-input-oNnqMBGU.js.map +0 -1
- package/dist/chunks/pk-input-group-text-HUxlXROB.js.map +0 -1
- package/dist/chunks/pk-input-group-textarea-Cl2FNuw-.js.map +0 -1
- package/dist/chunks/pk-lightswitch-VHfJizBW.js.map +0 -1
- package/dist/chunks/pk-option-DQZHV9jL.js.map +0 -1
- package/dist/chunks/pk-option-group-CCzJkBFp.js.map +0 -1
- package/dist/chunks/pk-popover-D3jkHfwB.js.map +0 -1
- package/dist/chunks/pk-popup-B65tZMQH.js.map +0 -1
- package/dist/chunks/pk-radio-B5XkMHy3.js.map +0 -1
- package/dist/chunks/pk-radio-group-Dzd-3HaQ.js.map +0 -1
- package/dist/chunks/pk-scroll-area-CdfNxYz8.js.map +0 -1
- package/dist/chunks/pk-select-b5S5WKc-.js.map +0 -1
- package/dist/chunks/pk-separator-N-VyjYE6.js.map +0 -1
- package/dist/chunks/pk-spinner-DweuYJ_Z.js.map +0 -1
- package/dist/chunks/pk-status-BehQARDv.js.map +0 -1
- package/dist/chunks/pk-tab-CTloD18e.js.map +0 -1
- package/dist/chunks/pk-tab-heading-Cjcgebxn.js.map +0 -1
- package/dist/chunks/pk-tab-panel-CkKU5-Ah.js.map +0 -1
- package/dist/chunks/pk-tabs-BgEBki1q.js.map +0 -1
- package/dist/chunks/pk-textarea-Dhj1WFLH.js.map +0 -1
- package/dist/chunks/pk-time-picker-ChRbKHNB.js.map +0 -1
- package/dist/chunks/pk-tiptap-content-CL8smjGi.js.map +0 -1
- package/dist/chunks/pk-tiptap-editor-BMwedkPt.js.map +0 -1
- package/dist/chunks/pk-tiptap-input-YKg4VLp_.js.map +0 -1
- package/dist/chunks/pk-toggle-BthhH7vl.js.map +0 -1
- package/dist/chunks/pk-toggle-group-D2Quux8D.js.map +0 -1
- package/dist/chunks/pk-tooltip--QBV6puX.js.map +0 -1
- package/dist/chunks/register-BqkU5JNH.js +0 -148
- package/dist/chunks/register-BqkU5JNH.js.map +0 -1
- package/dist-loader/chunks/rolldown-runtime-CzwdidQP.js +0 -13
- package/dist-loader/chunks/supports-popover-COjbi2RP.js +0 -5
- package/dist-loader/chunks/tiptap.styles-C0E1NpSx.js +0 -1848
- /package/dist-loader/chunks/{animate-with-class-DT0jwaR_.js → animate-with-class-CjTZI0NU.js} +0 -0
- /package/dist-loader/chunks/{field-labels-D3lKQ2nq.js → field-labels-pY-gQDwQ.js} +0 -0
- /package/dist-loader/chunks/{has-slot-BGJeJdHr.js → has-slot-DJv86HKx.js} +0 -0
- /package/dist-loader/chunks/{mirror-validator-C5XrXPaq.js → mirror-validator-BkZlEv1Z.js} +0 -0
- /package/dist-loader/chunks/{overlay-lifecycle-C3tSQ3UR.js → overlay-lifecycle-C582MGBJ.js} +0 -0
- /package/dist-loader/chunks/{pk-clear-BMZUzwDt.js → pk-clear-DHxP_2cm.js} +0 -0
- /package/dist-loader/chunks/{popup-placement-animation-WlEXnS85.js → popup-placement-animation-ClUYI79z.js} +0 -0
- /package/dist-loader/chunks/{popup-pointer-Ck28WdVP.js → popup-pointer-Bh_d205v.js} +0 -0
- /package/dist-loader/chunks/{registry-BanyScVR.js → registry-CJc164pT.js} +0 -0
- /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 =
|
|
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 =
|
|
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)
|
|
758
|
-
if (
|
|
759
|
-
|
|
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
|
|
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)
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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(
|
|
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
|
|
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
|
-
})
|
|
285
|
-
x(
|
|
286
|
-
|
|
287
|
-
var
|
|
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
|
-
}
|
|
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$
|
|
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
|
-
}
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
-
}
|
|
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 {
|
|
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-
|
|
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,
|
|
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.
|
|
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 {
|
|
2
|
-
import { c as __decorate, l as PkElement, s as iconStyles, u as hostDisplayInlineBlock } from "./pk-base-
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import { i as buttonGroupIndentStyles, n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-
|
|
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 {
|
|
2
|
-
import { c as __decorate, l as PkElement, s as iconStyles } from "./pk-base-
|
|
3
|
-
import { _ as chevronRight, g as chevronLeft } from "./svg-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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()) /
|
|
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
|
|
2
|
-
import { c as __decorate, i as PkFormAssociatedElement, r as checkboxControlStyles } from "./pk-base-
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
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
|
-
|
|
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
|
|
2
|
-
import { c as __decorate, i as PkFormAssociatedElement } from "./pk-base-
|
|
3
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
4
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
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
|