@verbb/plugin-kit-web 2.0.23 → 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 +6 -0
- package/dist/chunks/{active-elements-DM_lCHaW.js → active-elements-739kISON.js} +1 -1
- package/dist/chunks/{active-elements-DM_lCHaW.js.map → active-elements-739kISON.js.map} +1 -1
- package/dist/chunks/{animate-with-class-NP-yJVt_.js → animate-with-class-CjTZI0NU.js} +1 -1
- package/dist/chunks/{animate-with-class-NP-yJVt_.js.map → animate-with-class-CjTZI0NU.js.map} +1 -1
- package/dist/chunks/{autoloader-DnSfHkrD.js → autoloader-DcwybeWc.js} +3 -3
- package/dist/chunks/{autoloader-DnSfHkrD.js.map → autoloader-DcwybeWc.js.map} +1 -1
- package/dist/chunks/{button-group-item.styles-G05d0DNI.js → button-group-item.styles-D7tuu-sr.js} +1 -1
- package/dist/chunks/{button-group-item.styles-G05d0DNI.js.map → button-group-item.styles-D7tuu-sr.js.map} +1 -1
- package/dist/chunks/{component-registry-DoevfR-u.js → component-registry-B5pnAZsb.js} +2 -1
- package/dist/chunks/{component-registry-DoevfR-u.js.map → component-registry-B5pnAZsb.js.map} +1 -1
- package/dist/chunks/{control-aria-CzouQRZD.js → control-aria-CtNg2izr.js} +1 -1
- package/dist/chunks/{control-aria-CzouQRZD.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-B3BgzdQb.js → dismissible-stack-CwhtwAyo.js} +1 -1
- package/dist/chunks/{dismissible-stack-B3BgzdQb.js.map → dismissible-stack-CwhtwAyo.js.map} +1 -1
- package/dist/chunks/{field-labels-CGSfAGf-.js → field-labels-pY-gQDwQ.js} +1 -1
- package/dist/chunks/{field-labels-CGSfAGf-.js.map → field-labels-pY-gQDwQ.js.map} +1 -1
- package/dist/chunks/{focus-C6pY4Ym4.js → focus-DcVUPVqn.js} +2 -2
- package/dist/chunks/{focus-C6pY4Ym4.js.map → focus-DcVUPVqn.js.map} +1 -1
- package/dist/chunks/{form-control.styles-BHwSsx_y.js → form-control.styles-CQ93gnVf.js} +1 -1
- package/dist/chunks/{form-control.styles-BHwSsx_y.js.map → form-control.styles-CQ93gnVf.js.map} +1 -1
- package/dist/chunks/{has-slot-9zjTXvea.js → has-slot-DJv86HKx.js} +1 -1
- package/dist/chunks/{has-slot-9zjTXvea.js.map → has-slot-DJv86HKx.js.map} +1 -1
- package/dist/chunks/{icon.styles-pNyUmVtP.js → icon.styles-KWvfi7RV.js} +1 -1
- package/dist/chunks/{icon.styles-pNyUmVtP.js.map → icon.styles-KWvfi7RV.js.map} +1 -1
- package/dist/chunks/{icons-B8siZLOe.js → icons-k1pvx6yX.js} +2 -2
- package/dist/chunks/{icons-B8siZLOe.js.map → icons-k1pvx6yX.js.map} +1 -1
- package/dist/chunks/{mirror-validator-Cszpqlxk.js → mirror-validator-BkZlEv1Z.js} +1 -1
- package/dist/chunks/{mirror-validator-Cszpqlxk.js.map → mirror-validator-BkZlEv1Z.js.map} +1 -1
- package/dist/chunks/{option-filter-Cj5SvyzI.js → option-filter-BkKyBg8L.js} +2 -2
- package/dist/chunks/{option-filter-Cj5SvyzI.js.map → option-filter-BkKyBg8L.js.map} +1 -1
- package/dist/chunks/{overlay-lifecycle-CAoT0LE8.js → overlay-lifecycle-C582MGBJ.js} +1 -1
- package/dist/chunks/{overlay-lifecycle-CAoT0LE8.js.map → overlay-lifecycle-C582MGBJ.js.map} +1 -1
- package/dist/chunks/{pk-alert-Cjxl6CY_.js → pk-alert-BQAb4lJc.js} +9 -7
- package/dist/chunks/pk-alert-BQAb4lJc.js.map +1 -0
- package/dist/chunks/{pk-autocomplete-DA77kdTN.js → pk-autocomplete-DUXhs1hi.js} +20 -19
- package/dist/chunks/pk-autocomplete-DUXhs1hi.js.map +1 -0
- package/dist/chunks/{pk-button-group-DBdKK_2_.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-D0Aa0a0f.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-BsqEM-dB.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-DCtNLEPr.js → pk-button-ntSVrer_.js} +7 -6
- package/dist/chunks/pk-button-ntSVrer_.js.map +1 -0
- package/dist/chunks/{pk-calendar-hBz1MnOu.js → pk-calendar-Df0c5u79.js} +11 -10
- package/dist/chunks/pk-calendar-Df0c5u79.js.map +1 -0
- package/dist/chunks/{pk-checkbox-dvHRoVbL.js → pk-checkbox-L5uRex3b.js} +6 -5
- package/dist/chunks/pk-checkbox-L5uRex3b.js.map +1 -0
- package/dist/chunks/{pk-checkbox-select-Cqx5ZCMq.js → pk-checkbox-select-6OS0wFYO.js} +4 -3
- package/dist/chunks/pk-checkbox-select-6OS0wFYO.js.map +1 -0
- package/dist/chunks/{pk-clear-LzxwxEX7.js → pk-clear-DHxP_2cm.js} +1 -1
- package/dist/chunks/{pk-clear-LzxwxEX7.js.map → pk-clear-DHxP_2cm.js.map} +1 -1
- package/dist/chunks/{pk-code-editor-C_PqjR75.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-4LDV0Z3W.js → pk-color-input-Csbm4ROT.js} +6 -5
- package/dist/chunks/pk-color-input-Csbm4ROT.js.map +1 -0
- package/dist/chunks/{pk-combobox-BeddzAsl.js → pk-combobox-BrSBrldb.js} +24 -22
- package/dist/chunks/pk-combobox-BrSBrldb.js.map +1 -0
- package/dist/chunks/{pk-connect.styles-ciqZMK3B.js → pk-connect.styles-oKhxa_m2.js} +1 -1
- package/dist/chunks/{pk-connect.styles-ciqZMK3B.js.map → pk-connect.styles-oKhxa_m2.js.map} +1 -1
- package/dist/chunks/{pk-copy-button-KegSx46o.js → pk-copy-button-5i9v_zmu.js} +7 -6
- package/dist/chunks/pk-copy-button-5i9v_zmu.js.map +1 -0
- package/dist/chunks/{pk-date-picker-D_JFep-Y.js → pk-date-picker-C-w6Mn6j.js} +20 -19
- package/dist/chunks/pk-date-picker-C-w6Mn6j.js.map +1 -0
- package/dist/chunks/{pk-dialog-CFU850OH.js → pk-dialog-C7KZGpQs.js} +9 -8
- package/dist/chunks/pk-dialog-C7KZGpQs.js.map +1 -0
- package/dist/chunks/{pk-dropdown-item-A4P4zfVF.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-PqDxMkCI.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-C_vasBoa.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-B85NhFYY.js → pk-editable-table-Cd8K6vT4.js} +25 -22
- package/dist/chunks/pk-editable-table-Cd8K6vT4.js.map +1 -0
- package/dist/chunks/{pk-field-BJA2fZ6s.js → pk-field--PCE9nOd.js} +8 -7
- package/dist/chunks/pk-field--PCE9nOd.js.map +1 -0
- package/dist/chunks/{pk-form-associated-element-MqaHdIoH.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-DLAQcjFt.js → pk-image-browser-iUqdcLKs.js} +20 -20
- package/dist/chunks/pk-image-browser-iUqdcLKs.js.map +1 -0
- package/dist/chunks/{pk-input-CiUNLTSW.js → pk-input-BUbXj9We.js} +14 -13
- package/dist/chunks/pk-input-BUbXj9We.js.map +1 -0
- package/dist/chunks/{pk-input-group-k7WV0pQI.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-piOznzSS.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-Di2vEJLo.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-CwaaEfr1.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-C0VAdy0J.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-DOG1NIlE.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-FH5ZxMG2.js → pk-lightswitch-CSvgiHVQ.js} +9 -8
- package/dist/chunks/pk-lightswitch-CSvgiHVQ.js.map +1 -0
- package/dist/chunks/{pk-option-Cx52kLmz.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-CYo9Ukue.js → pk-option-group-D6bHfn0j.js} +4 -3
- package/dist/chunks/pk-option-group-D6bHfn0j.js.map +1 -0
- package/dist/chunks/{pk-popover-209LdoPr.js → pk-popover-BOoGfR7I.js} +11 -10
- package/dist/chunks/pk-popover-BOoGfR7I.js.map +1 -0
- package/dist/chunks/{pk-popup-0EIt9X_W.js → pk-popup-DVE93VSV.js} +32 -28
- package/dist/chunks/pk-popup-DVE93VSV.js.map +1 -0
- package/dist/chunks/{pk-radio-jgj6A0Wy.js → pk-radio-D0eqmnlH.js} +3 -2
- package/dist/chunks/pk-radio-D0eqmnlH.js.map +1 -0
- package/dist/chunks/{pk-radio-group-CruMBeeF.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-BaqN798b.js → pk-scroll-area-BeaLZ6k-.js} +3 -2
- package/dist/chunks/pk-scroll-area-BeaLZ6k-.js.map +1 -0
- package/dist/chunks/{pk-select-UUH7FE4H.js → pk-select-DZNpEk5Z.js} +19 -18
- package/dist/chunks/pk-select-DZNpEk5Z.js.map +1 -0
- package/dist/chunks/{pk-separator-Bcxg_GO2.js → pk-separator-ZkRowI5Y.js} +3 -2
- package/dist/chunks/pk-separator-ZkRowI5Y.js.map +1 -0
- package/dist/chunks/{pk-spinner-CN365srE.js → pk-spinner-Bxkn4iVO.js} +3 -2
- package/dist/chunks/pk-spinner-Bxkn4iVO.js.map +1 -0
- package/dist/chunks/{pk-state-panel-DPP7t-er.js → pk-state-panel-BTo2xiug.js} +7 -6
- package/dist/chunks/pk-state-panel-BTo2xiug.js.map +1 -0
- package/dist/chunks/{pk-status-CYcadu0Q.js → pk-status-CdiRBRyh.js} +3 -2
- package/dist/chunks/pk-status-CdiRBRyh.js.map +1 -0
- package/dist/chunks/{pk-tab-BmXNyDg7.js → pk-tab-CSbI3XxX.js} +2 -2
- package/dist/chunks/pk-tab-CSbI3XxX.js.map +1 -0
- package/dist/chunks/{pk-tab-heading-GZHVmCAd.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-OpM3f_cm.js → pk-tab-panel-sgdRjV8o.js} +2 -2
- package/dist/chunks/pk-tab-panel-sgdRjV8o.js.map +1 -0
- package/dist/chunks/{pk-tabs-x26NAw-V.js → pk-tabs-bBNCu_4h.js} +10 -7
- package/dist/chunks/pk-tabs-bBNCu_4h.js.map +1 -0
- package/dist/chunks/{pk-textarea-CBijEmcV.js → pk-textarea-B401dUWa.js} +11 -10
- package/dist/chunks/pk-textarea-B401dUWa.js.map +1 -0
- package/dist/chunks/{pk-time-picker-D-u5-7pf.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-BGxMO3T4.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-BeuyzH5l.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-CQojaxDH.js → pk-tiptap-input-0Xy6rrot.js} +7 -6
- package/dist/chunks/pk-tiptap-input-0Xy6rrot.js.map +1 -0
- package/dist/chunks/{pk-toggle-CAtGO_Le.js → pk-toggle-Co8GsHuK.js} +4 -3
- package/dist/chunks/pk-toggle-Co8GsHuK.js.map +1 -0
- package/dist/chunks/{pk-toggle-group-CLso6OE7.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-C6yb4CXI.js → pk-tooltip-Cvv2f7T5.js} +7 -6
- package/dist/chunks/pk-tooltip-Cvv2f7T5.js.map +1 -0
- package/dist/chunks/{popup-content-animation.styles-EUnGV75J.js → popup-content-animation.styles-CJ8zGJz-.js} +1 -1
- package/dist/chunks/{popup-content-animation.styles-EUnGV75J.js.map → popup-content-animation.styles-CJ8zGJz-.js.map} +1 -1
- package/dist/chunks/{popup-placement-animation-GvFXER7D.js → popup-placement-animation-ClUYI79z.js} +1 -1
- package/dist/chunks/{popup-placement-animation-GvFXER7D.js.map → popup-placement-animation-ClUYI79z.js.map} +1 -1
- package/dist/chunks/{popup-pointer-BTS3Y6LE.js → popup-pointer-Bh_d205v.js} +1 -1
- package/dist/chunks/{popup-pointer-BTS3Y6LE.js.map → popup-pointer-Bh_d205v.js.map} +1 -1
- package/dist/chunks/{register-components-Dcdn1e3S.js → register-components-CZtpgZe3.js} +1 -1
- package/dist/chunks/{register-components-Dcdn1e3S.js.map → register-components-CZtpgZe3.js.map} +1 -1
- package/dist/chunks/{render-BKGW1a68.js → render-DQZp_Rak.js} +1 -1
- package/dist/chunks/{render-BKGW1a68.js.map → render-DQZp_Rak.js.map} +1 -1
- package/dist/chunks/{required-validator-CaRnQk1V.js → required-validator-I58oJGZ3.js} +1 -1
- package/dist/chunks/{required-validator-CaRnQk1V.js.map → required-validator-I58oJGZ3.js.map} +1 -1
- package/dist/chunks/{scroll-lock-gTFrvIPu.js → scroll-lock-DE1pElMQ.js} +2 -2
- package/dist/chunks/{scroll-lock-gTFrvIPu.js.map → scroll-lock-DE1pElMQ.js.map} +1 -1
- package/dist/chunks/{spinner-utils-Co_4X3ip.js → spinner-utils-DXwIxQ6z.js} +1 -1
- package/dist/chunks/{spinner-utils-Co_4X3ip.js.map → spinner-utils-DXwIxQ6z.js.map} +1 -1
- package/dist/chunks/{supports-popover-6lNVStLh.js → supports-popover-BCqyOPtO.js} +1 -1
- package/dist/chunks/{supports-popover-6lNVStLh.js.map → supports-popover-BCqyOPtO.js.map} +1 -1
- package/dist/chunks/{sync-listbox-separators-CPFtrpNq.js → sync-listbox-separators-saLEtPpJ.js} +2 -2
- package/dist/chunks/{sync-listbox-separators-CPFtrpNq.js.map → sync-listbox-separators-saLEtPpJ.js.map} +1 -1
- package/dist/chunks/{tiptap.styles-DjhIrSBN.js → tiptap.styles-Q4ED1nBw.js} +2 -2
- package/dist/chunks/{tiptap.styles-DjhIrSBN.js.map → tiptap.styles-Q4ED1nBw.js.map} +1 -1
- package/dist/components/alert/pk-alert.js +1 -1
- package/dist/components/alert.js +1 -1
- 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.js +7 -6
- package/dist/components/connect/pk-connect.js.map +1 -1
- package/dist/components/copy-button/pk-copy-button.js +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/pk-state-panel.js +1 -1
- package/dist/components/state-panel.js +1 -1
- 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.js +4 -4
- package/dist/connect/register-cp-connect.js.map +1 -1
- package/dist/icons/index.js +2 -2
- package/dist/index.js +67 -67
- 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.js +120 -55
- package/dist/register.js.map +1 -0
- package/dist-loader/chunks/{button-group-item.styles-CXLuiMeZ.js → button-group-item.styles-BQbvE3sC.js} +1 -1
- package/dist-loader/chunks/{codemirror-CU2NB7wh.js → codemirror-C_TTKlG1.js} +584 -436
- package/dist-loader/chunks/editor-CS16rBkM.js +110 -0
- package/dist-loader/chunks/{floating-ui-B84As3F-.js → floating-ui-BJQPB-Ip.js} +9 -11
- package/dist-loader/chunks/{lit-s6aadvWG.js → lit-B6nFKgbW.js} +52 -14
- package/dist-loader/chunks/{option-filter-DH11hDpV.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-Om6X9ab5.js → pk-base-BGegy7-X.js} +2 -2
- package/dist-loader/chunks/{pk-button-nSZxt8_B.js → pk-button-DV9Tk5Pd.js} +5 -5
- package/dist-loader/chunks/{pk-calendar-BS7Mfme_.js → pk-calendar-C0xpIVIw.js} +9 -9
- package/dist-loader/chunks/{pk-checkbox-CYUcOnco.js → pk-checkbox-DhP0iMoP.js} +9 -6
- package/dist-loader/chunks/{pk-color-input-BjDit7z0.js → pk-color-input-B02cYzyr.js} +4 -4
- package/dist-loader/chunks/{pk-combobox-DyexEhFo.js → pk-combobox-S_tpNUHK.js} +19 -18
- package/dist-loader/chunks/{pk-connect.styles-BsPAXjgF.js → pk-connect.styles-B5qe5yQB.js} +1 -1
- package/dist-loader/chunks/{pk-copy-button-CoN83ilF.js → pk-copy-button-D6tPuhJ3.js} +6 -6
- package/dist-loader/chunks/{pk-date-picker-CO6deRCu.js → pk-date-picker-C0y4sfSf.js} +15 -15
- package/dist-loader/chunks/{pk-dialog-BWo6iDnY.js → pk-dialog-BJs5fVHS.js} +7 -7
- package/dist-loader/chunks/{pk-dropdown-item-CbujjI8U.js → pk-dropdown-item-Bs5NZDRh.js} +11 -9
- package/dist-loader/chunks/{pk-dropdown-label-9X4ctyES.js → pk-dropdown-label-Cpl9-bzB.js} +2 -2
- package/dist-loader/chunks/{pk-dropdown-menu-D1KpGuqU.js → pk-dropdown-menu-CLrfuD3i.js} +20 -17
- package/dist-loader/chunks/{pk-field-DzggayrX.js → pk-field-Pg61fxBR.js} +140 -74
- package/dist-loader/chunks/{pk-icon-DQPqxFKW.js → pk-icon-B7ywfPb6.js} +4 -4
- package/dist-loader/chunks/{pk-input-C1peOijH.js → pk-input-Cj5s8eBT.js} +10 -10
- package/dist-loader/chunks/{pk-lightswitch-Y-I3eKCt.js → pk-lightswitch-rUGB1p8q.js} +6 -6
- package/dist-loader/chunks/{pk-option-IfazQDxz.js → pk-option-B-MeLvZf.js} +8 -7
- package/dist-loader/chunks/{pk-popup-BrLT_4kD.js → pk-popup-CeyruJFh.js} +35 -29
- package/dist-loader/chunks/{pk-select-49fogRYV.js → pk-select-JUx3mxRS.js} +14 -14
- package/dist-loader/chunks/{pk-spinner-BmnrA60m.js → pk-spinner-B8iuHDQ9.js} +2 -2
- package/dist-loader/chunks/{pk-state-panel-DKf54EnJ.js → pk-state-panel-BhdZGllL.js} +7 -7
- package/dist-loader/chunks/{pk-status-Dat3_D-T.js → pk-status-D3qVwWlR.js} +2 -2
- package/dist-loader/chunks/{pk-textarea-DPb2R8gV.js → pk-textarea-KnpJMQX2.js} +7 -7
- package/dist-loader/chunks/{pk-time-picker-CJiQTVuC.js → pk-time-picker-DCqZ5z7M.js} +6 -6
- package/dist-loader/chunks/{pk-tooltip-CqwQfOPV.js → pk-tooltip-DStkplzy.js} +6 -6
- package/dist-loader/chunks/{popup-content-animation.styles-CWR2mend.js → popup-content-animation.styles-BtUVJg82.js} +1 -1
- package/dist-loader/chunks/{render-BuA2YeZN.js → render-D9G_a_c2.js} +1 -1
- package/dist-loader/chunks/{sync-listbox-separators-rbu8jrAa.js → sync-listbox-separators-saLEtPpJ.js} +1 -1
- package/dist-loader/chunks/{tiptap-BhYH5Dva.js → tiptap-uppXgD5k.js} +16099 -9213
- package/dist-loader/chunks/tiptap.styles-CyqI_Wrl.js +896 -0
- package/dist-loader/components/alert/alert.js +8 -7
- 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 +8 -8
- package/dist-loader/components/copy-button/copy-button.js +1 -1
- 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 +1 -1
- 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.loader.js +2 -1
- package/package.json +9 -9
- package/dist/chunks/pk-alert-Cjxl6CY_.js.map +0 -1
- package/dist/chunks/pk-autocomplete-DA77kdTN.js.map +0 -1
- package/dist/chunks/pk-button-DCtNLEPr.js.map +0 -1
- package/dist/chunks/pk-button-group-DBdKK_2_.js.map +0 -1
- package/dist/chunks/pk-button-group-separator-D0Aa0a0f.js.map +0 -1
- package/dist/chunks/pk-button-group-text-BsqEM-dB.js.map +0 -1
- package/dist/chunks/pk-calendar-hBz1MnOu.js.map +0 -1
- package/dist/chunks/pk-checkbox-dvHRoVbL.js.map +0 -1
- package/dist/chunks/pk-checkbox-select-Cqx5ZCMq.js.map +0 -1
- package/dist/chunks/pk-code-editor-C_PqjR75.js.map +0 -1
- package/dist/chunks/pk-color-input-4LDV0Z3W.js.map +0 -1
- package/dist/chunks/pk-combobox-BeddzAsl.js.map +0 -1
- package/dist/chunks/pk-copy-button-KegSx46o.js.map +0 -1
- package/dist/chunks/pk-date-picker-D_JFep-Y.js.map +0 -1
- package/dist/chunks/pk-dialog-CFU850OH.js.map +0 -1
- package/dist/chunks/pk-dropdown-item-A4P4zfVF.js.map +0 -1
- package/dist/chunks/pk-dropdown-label-PqDxMkCI.js.map +0 -1
- package/dist/chunks/pk-dropdown-menu-C_vasBoa.js.map +0 -1
- package/dist/chunks/pk-editable-table-B85NhFYY.js.map +0 -1
- package/dist/chunks/pk-field-BJA2fZ6s.js.map +0 -1
- package/dist/chunks/pk-form-associated-element-MqaHdIoH.js.map +0 -1
- package/dist/chunks/pk-image-browser-DLAQcjFt.js.map +0 -1
- package/dist/chunks/pk-input-CiUNLTSW.js.map +0 -1
- package/dist/chunks/pk-input-group-addon-piOznzSS.js.map +0 -1
- package/dist/chunks/pk-input-group-button-Di2vEJLo.js.map +0 -1
- package/dist/chunks/pk-input-group-input-CwaaEfr1.js.map +0 -1
- package/dist/chunks/pk-input-group-k7WV0pQI.js.map +0 -1
- package/dist/chunks/pk-input-group-text-C0VAdy0J.js.map +0 -1
- package/dist/chunks/pk-input-group-textarea-DOG1NIlE.js.map +0 -1
- package/dist/chunks/pk-lightswitch-FH5ZxMG2.js.map +0 -1
- package/dist/chunks/pk-option-Cx52kLmz.js.map +0 -1
- package/dist/chunks/pk-option-group-CYo9Ukue.js.map +0 -1
- package/dist/chunks/pk-popover-209LdoPr.js.map +0 -1
- package/dist/chunks/pk-popup-0EIt9X_W.js.map +0 -1
- package/dist/chunks/pk-radio-group-CruMBeeF.js.map +0 -1
- package/dist/chunks/pk-radio-jgj6A0Wy.js.map +0 -1
- package/dist/chunks/pk-scroll-area-BaqN798b.js.map +0 -1
- package/dist/chunks/pk-select-UUH7FE4H.js.map +0 -1
- package/dist/chunks/pk-separator-Bcxg_GO2.js.map +0 -1
- package/dist/chunks/pk-spinner-CN365srE.js.map +0 -1
- package/dist/chunks/pk-state-panel-DPP7t-er.js.map +0 -1
- package/dist/chunks/pk-status-CYcadu0Q.js.map +0 -1
- package/dist/chunks/pk-tab-BmXNyDg7.js.map +0 -1
- package/dist/chunks/pk-tab-heading-GZHVmCAd.js.map +0 -1
- package/dist/chunks/pk-tab-panel-OpM3f_cm.js.map +0 -1
- package/dist/chunks/pk-tabs-x26NAw-V.js.map +0 -1
- package/dist/chunks/pk-textarea-CBijEmcV.js.map +0 -1
- package/dist/chunks/pk-time-picker-D-u5-7pf.js.map +0 -1
- package/dist/chunks/pk-tiptap-content-BGxMO3T4.js.map +0 -1
- package/dist/chunks/pk-tiptap-editor-BeuyzH5l.js.map +0 -1
- package/dist/chunks/pk-tiptap-input-CQojaxDH.js.map +0 -1
- package/dist/chunks/pk-toggle-CAtGO_Le.js.map +0 -1
- package/dist/chunks/pk-toggle-group-CLso6OE7.js.map +0 -1
- package/dist/chunks/pk-tooltip-C6yb4CXI.js.map +0 -1
- package/dist/chunks/register-BDO_LUHK.js +0 -154
- package/dist/chunks/register-BDO_LUHK.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-BckAim0_.js +0 -1848
- /package/dist-loader/chunks/{animate-with-class-BpZi7v-y.js → animate-with-class-CjTZI0NU.js} +0 -0
- /package/dist-loader/chunks/{field-labels-D7ccWdRn.js → field-labels-pY-gQDwQ.js} +0 -0
- /package/dist-loader/chunks/{has-slot-BvdEcnpm.js → has-slot-DJv86HKx.js} +0 -0
- /package/dist-loader/chunks/{mirror-validator-9X0wdFnh.js → mirror-validator-BkZlEv1Z.js} +0 -0
- /package/dist-loader/chunks/{overlay-lifecycle-CSIBJZgQ.js → overlay-lifecycle-C582MGBJ.js} +0 -0
- /package/dist-loader/chunks/{pk-clear-BL8m1NyC.js → pk-clear-DHxP_2cm.js} +0 -0
- /package/dist-loader/chunks/{popup-placement-animation-BQdKabXq.js → popup-placement-animation-ClUYI79z.js} +0 -0
- /package/dist-loader/chunks/{popup-pointer-BNwlPGKA.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-DCTovZ6r.js → required-validator-I58oJGZ3.js} +0 -0
- /package/dist-loader/chunks/{svg-C6YcJMk9.js → svg-BRgqS9vA.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;
|
|
@@ -587,7 +617,8 @@ var t$2 = {
|
|
|
587
617
|
BOOLEAN_ATTRIBUTE: 4,
|
|
588
618
|
EVENT: 5,
|
|
589
619
|
ELEMENT: 6
|
|
590
|
-
}
|
|
620
|
+
};
|
|
621
|
+
var e$5 = (t) => (...e) => ({
|
|
591
622
|
_$litDirective$: t,
|
|
592
623
|
values: e
|
|
593
624
|
});
|
|
@@ -663,7 +694,8 @@ var customElement = (tagName) => (classOrTarget, context) => {
|
|
|
663
694
|
converter: u$3,
|
|
664
695
|
reflect: !1,
|
|
665
696
|
hasChanged: f$2
|
|
666
|
-
}
|
|
697
|
+
};
|
|
698
|
+
var r$2 = (t = o$1, e, r) => {
|
|
667
699
|
const { kind: n, metadata: i } = r;
|
|
668
700
|
let s = globalThis.litPropertyMetadata.get(i);
|
|
669
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) {
|
|
@@ -780,6 +812,11 @@ var e$3 = (e, t, c) => (c.configurable = !0, c.enumerable = !0, Reflect.decorate
|
|
|
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 {
|
|
@@ -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
|
}
|
|
@@ -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, m as i, s as n } from "./lit-
|
|
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 { 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-
|
|
2
|
-
import { c as __decorate, l as PkElement, s as iconStyles, u as hostDisplayInlineBlock } from "./pk-base-
|
|
3
|
-
import { h as chevronDown, t as iconToSvg } from "./svg-
|
|
4
|
-
import "./pk-spinner-
|
|
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 { 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-
|
|
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 { n as renderIconHtml } from "./render-
|
|
5
|
-
import { t as HasSlotController } from "./has-slot-
|
|
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 { 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-
|
|
2
|
-
import { c as __decorate, i as PkFormAssociatedElement, r as checkboxControlStyles } from "./pk-base-
|
|
3
|
-
import { t as HasSlotController } from "./has-slot-
|
|
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, 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 { 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-
|
|
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
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { i as
|
|
11
|
-
import {
|
|
12
|
-
import "./
|
|
13
|
-
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-
|
|
14
|
-
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS } from "./sync-listbox-separators-
|
|
15
|
-
import { i as waitForPopupContentExitAnimation, n as AsyncOptionFetcher, r as syncFilteredOptions, t as matchesOptionFilter } from "./option-filter-
|
|
1
|
+
import "./pk-popup-CeyruJFh.js";
|
|
2
|
+
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, s as scrollIntoView, t as LiveRegion, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
3
|
+
import { a as e$1, 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";
|
|
4
|
+
import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "./pk-base-BGegy7-X.js";
|
|
5
|
+
import { h as chevronDown, tt as xmark } from "./svg-BRgqS9vA.js";
|
|
6
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
7
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
8
|
+
import { t as MirrorValidator } from "./mirror-validator-BkZlEv1Z.js";
|
|
9
|
+
import { t as PkClearEvent } from "./pk-clear-DHxP_2cm.js";
|
|
10
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C582MGBJ.js";
|
|
11
|
+
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-ClUYI79z.js";
|
|
12
|
+
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-BtUVJg82.js";
|
|
13
|
+
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-Bh_d205v.js";
|
|
14
|
+
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS } from "./sync-listbox-separators-saLEtPpJ.js";
|
|
15
|
+
import { i as waitForPopupContentExitAnimation, n as AsyncOptionFetcher, r as syncFilteredOptions, t as matchesOptionFilter } from "./option-filter-BkKyBg8L.js";
|
|
16
16
|
//#region src/events/pk-create.ts
|
|
17
17
|
/** Fired before a combobox creates a new option — mirrors `pk-create`. */
|
|
18
18
|
var PkCreateEvent = class extends Event {
|
|
@@ -1408,9 +1408,10 @@ var PkCombobox = class PkCombobox extends PkFormAssociatedElement {
|
|
|
1408
1408
|
this.syncHasValueAttribute();
|
|
1409
1409
|
this.emitValueChange();
|
|
1410
1410
|
}
|
|
1411
|
-
if (this.shouldReturnFocusToInput(source))
|
|
1412
|
-
|
|
1413
|
-
|
|
1411
|
+
if (this.shouldReturnFocusToInput(source)) {
|
|
1412
|
+
if (this.usesPopupMode) this.popupTrigger?.focus({ preventScroll: true });
|
|
1413
|
+
else this.activeInput?.focus({ preventScroll: true });
|
|
1414
|
+
} else {
|
|
1414
1415
|
this.activeInput?.blur();
|
|
1415
1416
|
this.popupTrigger?.blur();
|
|
1416
1417
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as customElement, m as i, o as r, p as b, s as n, u as o } from "./lit-
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
3
|
-
import { C as copy, m as check } from "./svg-
|
|
4
|
-
import { n as renderIconHtml } from "./render-
|
|
5
|
-
import { t as HasSlotController } from "./has-slot-
|
|
6
|
-
import "./pk-button-
|
|
1
|
+
import { c as customElement, 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 } from "./pk-base-BGegy7-X.js";
|
|
3
|
+
import { C as copy, m as check } 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
|
+
import "./pk-button-DV9Tk5Pd.js";
|
|
7
7
|
//#region src/events/pk-copy.ts
|
|
8
8
|
/** Emitted when copy-button successfully copies text. */
|
|
9
9
|
var PkCopyEvent = class extends Event {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { i as
|
|
13
|
-
import "./
|
|
14
|
-
import { n as isPointerInsideOverlay } from "./popup-pointer-
|
|
15
|
-
import { a as parseIsoDate, i as parseDateList, n as coerceToDate, o as parseRange, r as formatIsoDate } from "./pk-calendar-
|
|
1
|
+
import "./pk-popup-CeyruJFh.js";
|
|
2
|
+
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
3
|
+
import { a as e$1, 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";
|
|
4
|
+
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, s as iconStyles } from "./pk-base-BGegy7-X.js";
|
|
5
|
+
import { p as calendar, tt as xmark } from "./svg-BRgqS9vA.js";
|
|
6
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
7
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
8
|
+
import { t as MirrorValidator } from "./mirror-validator-BkZlEv1Z.js";
|
|
9
|
+
import { t as RequiredValidator } from "./required-validator-I58oJGZ3.js";
|
|
10
|
+
import { t as PkClearEvent } from "./pk-clear-DHxP_2cm.js";
|
|
11
|
+
import { n as readLegacyInstructions } from "./field-labels-pY-gQDwQ.js";
|
|
12
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C582MGBJ.js";
|
|
13
|
+
import { i as waitForPopupReposition } from "./popup-placement-animation-ClUYI79z.js";
|
|
14
|
+
import { n as isPointerInsideOverlay } from "./popup-pointer-Bh_d205v.js";
|
|
15
|
+
import { a as parseIsoDate, i as parseDateList, n as coerceToDate, o as parseRange, r as formatIsoDate } from "./pk-calendar-C0xpIVIw.js";
|
|
16
16
|
//#region src/utils/host-date.ts
|
|
17
17
|
function getCraft() {
|
|
18
18
|
return globalThis.Craft;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as unlockBodyScrolling, d as registerDismissible, f as unregisterDismissible, o as lockBodyScrolling, u as isTopDismissible } from "./pk-a11y-
|
|
2
|
-
import { a as e$1, 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-
|
|
3
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
4
|
-
import { tt as xmark } from "./svg-
|
|
5
|
-
import { n as renderIconHtml } from "./render-
|
|
6
|
-
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-
|
|
7
|
-
import { t as animateWithClass } from "./animate-with-class-
|
|
1
|
+
import { c as unlockBodyScrolling, d as registerDismissible, f as unregisterDismissible, o as lockBodyScrolling, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
2
|
+
import { a as e$1, 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";
|
|
3
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
4
|
+
import { tt as xmark } from "./svg-BRgqS9vA.js";
|
|
5
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
6
|
+
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C582MGBJ.js";
|
|
7
|
+
import { t as animateWithClass } from "./animate-with-class-CjTZI0NU.js";
|
|
8
8
|
//#region src/utils/craft-host-modal.ts
|
|
9
9
|
/**
|
|
10
10
|
* Craft CP Garnish modals (element selector, asset picker, …) live in normal
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as e, c as customElement, f as A, l as o, m as i, o as r, p as b, s as n } from "./lit-
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
3
|
-
import { _ as chevronRight, m as check } from "./svg-
|
|
4
|
-
import { n as renderIconHtml } from "./render-
|
|
5
|
-
import { t as HasSlotController } from "./has-slot-
|
|
6
|
-
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-
|
|
7
|
-
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-
|
|
1
|
+
import { a as e, c as customElement, f as A, 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 } from "./pk-base-BGegy7-X.js";
|
|
3
|
+
import { _ as chevronRight, m as check } 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
|
+
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-ClUYI79z.js";
|
|
7
|
+
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-BtUVJg82.js";
|
|
8
8
|
//#region src/components/dropdown-menu/dropdown-menu-size.styles.ts
|
|
9
9
|
var dropdownMenuSizeTokens = {
|
|
10
10
|
default: i`
|
|
@@ -381,8 +381,10 @@ var PkDropdownItem = class PkDropdownItem extends PkElement {
|
|
|
381
381
|
updated(changed) {
|
|
382
382
|
if (changed.has("type") || changed.has("checked")) this.syncRole();
|
|
383
383
|
if (changed.has("submenuOpen") || changed.size === 0) this.syncSubmenuAria();
|
|
384
|
-
if (changed.has("submenuOpen"))
|
|
385
|
-
|
|
384
|
+
if (changed.has("submenuOpen")) {
|
|
385
|
+
if (this.submenuOpen) this.ensureSubmenuSurface();
|
|
386
|
+
else this.submenuAnimated = false;
|
|
387
|
+
}
|
|
386
388
|
}
|
|
387
389
|
/** Light-DOM `slot="submenu"` — public for menu keyboard (`hasSubmenu`). */
|
|
388
390
|
hasSubmenu() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as customElement, m as i, p as b } from "./lit-
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
1
|
+
import { c as customElement, m as i, p as b } from "./lit-B6nFKgbW.js";
|
|
2
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
3
3
|
//#region src/components/dropdown-menu/pk-dropdown-label.styles.ts
|
|
4
4
|
var pkDropdownLabelStyles = i`
|
|
5
5
|
@layer pk-component {
|