@verbb/plugin-kit-web 2.0.23 → 2.0.25
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 +11 -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-DmS_2EUi.js} +4 -3
- package/dist/chunks/pk-tiptap-content-DmS_2EUi.js.map +1 -0
- package/dist/chunks/{pk-tiptap-editor-BeuyzH5l.js → pk-tiptap-editor-DCgHtgoi.js} +20 -21
- package/dist/chunks/pk-tiptap-editor-DCgHtgoi.js.map +1 -0
- package/dist/chunks/{pk-tiptap-input-CQojaxDH.js → pk-tiptap-input-asrD-8W6.js} +7 -6
- package/dist/chunks/pk-tiptap-input-asrD-8W6.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-Cwb_cj9g.js} +21 -2
- package/dist/chunks/{tiptap.styles-DjhIrSBN.js.map → tiptap.styles-Cwb_cj9g.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/tiptap.styles.d.ts.map +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-DYSRDaas.js} +10392 -7521
- package/dist-loader/chunks/tiptap.styles-CZUkf2K6.js +915 -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 +594 -20
- 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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { n as
|
|
1
|
+
import { n as resolveElementById } from "./pk-popup-CeyruJFh.js";
|
|
2
|
+
import { d as registerDismissible, f as unregisterDismissible, r as activeElements, u as isTopDismissible } from "./pk-a11y-mGj0G5AE.js";
|
|
3
|
+
import { a as e, c as customElement, m as i, p as b, s as n } from "./lit-B6nFKgbW.js";
|
|
4
|
+
import { c as __decorate, l as PkElement } from "./pk-base-BGegy7-X.js";
|
|
5
|
+
import { r as buttonGroupCornerRoleStyles } from "./button-group-item.styles-BQbvE3sC.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
|
+
import { i as waitForPopupReposition } from "./popup-placement-animation-ClUYI79z.js";
|
|
9
|
+
import { n as dropdownMenuHostSizeStyles, r as dropdownMenuPanelSizeStyles, t as PkDropdownItem } from "./pk-dropdown-item-Bs5NZDRh.js";
|
|
10
10
|
//#region src/components/dropdown-menu/pk-dropdown-menu.styles.ts
|
|
11
11
|
/**
|
|
12
12
|
* Dropdown panel motion — `pk-dropdown` scale+fade, with transform
|
|
@@ -625,13 +625,15 @@ var PkDropdownMenu = class PkDropdownMenu extends PkElement {
|
|
|
625
625
|
this.menuElement.classList.remove("hide");
|
|
626
626
|
await animateWithClass(this.menuElement, "show");
|
|
627
627
|
const items = this.getItems();
|
|
628
|
-
if (items.length > 0)
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
item
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
628
|
+
if (items.length > 0) {
|
|
629
|
+
if (this.openedByKeyboard) this.setActiveItem(items, items[0]);
|
|
630
|
+
else {
|
|
631
|
+
items.forEach((item) => {
|
|
632
|
+
item.active = false;
|
|
633
|
+
item.removeAttribute("data-highlighted");
|
|
634
|
+
});
|
|
635
|
+
this.menuElement.focus({ preventScroll: true });
|
|
636
|
+
}
|
|
635
637
|
}
|
|
636
638
|
this.openedByKeyboard = false;
|
|
637
639
|
this.dispatchEvent(new PkAfterShowEvent());
|
|
@@ -676,9 +678,10 @@ var PkDropdownMenu = class PkDropdownMenu extends PkElement {
|
|
|
676
678
|
}
|
|
677
679
|
render() {
|
|
678
680
|
const popupActive = this.hasUpdated ? this.popupElement?.active : this.open;
|
|
681
|
+
const externalAnchor = this.for ? this.getAnchor() : "";
|
|
679
682
|
return b`
|
|
680
683
|
<pk-popup
|
|
681
|
-
.anchor=${
|
|
684
|
+
.anchor=${externalAnchor}
|
|
682
685
|
placement=${this.placement}
|
|
683
686
|
.distance=${this.distance || this.sideOffset}
|
|
684
687
|
.skidding=${this.skidding}
|
|
@@ -1,10 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
|
|
1
|
+
import { n as uniqueId } from "./pk-a11y-mGj0G5AE.js";
|
|
2
|
+
import { a as e$1, c as customElement, f as A, i as e, m as i, p as b, s as n, u as o } from "./lit-B6nFKgbW.js";
|
|
3
|
+
import { c as __decorate, l as PkElement, n as formControlStyles, t as inlineMarkdownStyles } from "./pk-base-BGegy7-X.js";
|
|
4
|
+
import { $ as triangleExclamation, u as asterisk, z as lightbulb } from "./svg-BRgqS9vA.js";
|
|
5
|
+
import { t as createIconElement } from "./render-D9G_a_c2.js";
|
|
6
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
7
|
+
//#region \0rolldown/runtime.js
|
|
8
|
+
var __defProp = Object.defineProperty;
|
|
9
|
+
var __exportAll = (all, no_symbols) => {
|
|
10
|
+
let target = {};
|
|
11
|
+
for (var name in all) __defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
15
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
8
19
|
//#region src/icons/translation-icon.ts
|
|
9
20
|
var TRANSLATION_ICON_PATH = "M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l208 0 32 0 16 0 256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L320 64l-16 0-32 0L64 64zm512 48c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16l-256 0 0-288 256 0zM178.3 175.9l64 144c4.5 10.1-.1 21.9-10.2 26.4s-21.9-.1-26.4-10.2L196.8 316l-73.6 0-8.9 20.1c-4.5 10.1-16.3 14.6-26.4 10.2s-14.6-16.3-10.2-26.4l64-144c3.2-7.2 10.4-11.9 18.3-11.9s15.1 4.7 18.3 11.9zM179 276l-19-42.8L141 276l38 0zM456 164c-11 0-20 9-20 20l0 4-52 0c-11 0-20 9-20 20s9 20 20 20l72 0 35.1 0c-7.3 16.7-17.4 31.9-29.8 45l-.5-.5-14.6-14.6c-7.8-7.8-20.5-7.8-28.3 0s-7.8 20.5 0 28.3L430 298.3c-5.9 3.6-12.1 6.9-18.5 9.8l-3.6 1.6c-10.1 4.5-14.6 16.3-10.2 26.4s16.3 14.6 26.4 10.2l3.6-1.6c12-5.3 23.4-11.8 34-19.4c4.3 3 8.6 5.8 13.1 8.5l18.9 11.3c9.5 5.7 21.8 2.6 27.4-6.9s2.6-21.8-6.9-27.4l-18.9-11.3c-.9-.5-1.8-1.1-2.7-1.6c17.2-18.8 30.7-40.9 39.6-65.4L534 228l2 0c11 0 20-9 20-20s-9-20-20-20l-16 0-44 0 0-4c0-11-9-20-20-20z";
|
|
10
21
|
var createTranslationIconElement = () => {
|
|
@@ -409,7 +420,7 @@ var decode_data_xml_default = new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t
|
|
|
409
420
|
//#endregion
|
|
410
421
|
//#region ../node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.js
|
|
411
422
|
var _a;
|
|
412
|
-
var decodeMap = new Map([
|
|
423
|
+
var decodeMap = /* @__PURE__ */ new Map([
|
|
413
424
|
[0, 65533],
|
|
414
425
|
[128, 8364],
|
|
415
426
|
[130, 8218],
|
|
@@ -1102,7 +1113,10 @@ function parseLinkDestination(str, start, max) {
|
|
|
1102
1113
|
if (code === 32) break;
|
|
1103
1114
|
if (code < 32 || code === 127) break;
|
|
1104
1115
|
if (code === 92 && pos + 1 < max) {
|
|
1105
|
-
if (str.charCodeAt(pos + 1) === 32)
|
|
1116
|
+
if (str.charCodeAt(pos + 1) === 32) {
|
|
1117
|
+
pos++;
|
|
1118
|
+
continue;
|
|
1119
|
+
}
|
|
1106
1120
|
pos += 2;
|
|
1107
1121
|
continue;
|
|
1108
1122
|
}
|
|
@@ -1355,10 +1369,7 @@ Renderer.prototype.renderInlineAsText = function(tokens, options, env) {
|
|
|
1355
1369
|
result += tokens[i].content;
|
|
1356
1370
|
break;
|
|
1357
1371
|
case "softbreak":
|
|
1358
|
-
case "hardbreak":
|
|
1359
|
-
result += "\n";
|
|
1360
|
-
break;
|
|
1361
|
-
default:
|
|
1372
|
+
case "hardbreak": result += "\n";
|
|
1362
1373
|
}
|
|
1363
1374
|
return result;
|
|
1364
1375
|
};
|
|
@@ -1861,7 +1872,8 @@ function linkify$1(state) {
|
|
|
1861
1872
|
if (!state.md.options.linkify) return;
|
|
1862
1873
|
for (let j = 0, l = blockTokens.length; j < l; j++) {
|
|
1863
1874
|
if (blockTokens[j].type !== "inline" || !state.md.linkify.pretest(blockTokens[j].content)) continue;
|
|
1864
|
-
|
|
1875
|
+
const tokens = blockTokens[j].children;
|
|
1876
|
+
const replacements = [];
|
|
1865
1877
|
let htmlLinkLevel = 0;
|
|
1866
1878
|
for (let i = tokens.length - 1; i >= 0; i--) {
|
|
1867
1879
|
const currentToken = tokens[i];
|
|
@@ -1920,8 +1932,27 @@ function linkify$1(state) {
|
|
|
1920
1932
|
token.level = level;
|
|
1921
1933
|
nodes.push(token);
|
|
1922
1934
|
}
|
|
1923
|
-
|
|
1935
|
+
replacements.push({
|
|
1936
|
+
index: i,
|
|
1937
|
+
nodes
|
|
1938
|
+
});
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
if (replacements.length > 0) {
|
|
1942
|
+
let newTokensLength = tokens.length;
|
|
1943
|
+
for (const replacement of replacements) newTokensLength += replacement.nodes.length - 1;
|
|
1944
|
+
const newTokens = new Array(newTokensLength);
|
|
1945
|
+
let replacementIndex = 0;
|
|
1946
|
+
let newTokenIndex = 0;
|
|
1947
|
+
replacements.reverse();
|
|
1948
|
+
for (let i = 0; i < tokens.length; i++) {
|
|
1949
|
+
const replacement = replacements[replacementIndex];
|
|
1950
|
+
if (replacement?.index === i) {
|
|
1951
|
+
for (const node of replacement.nodes) newTokens[newTokenIndex++] = node;
|
|
1952
|
+
replacementIndex++;
|
|
1953
|
+
} else newTokens[newTokenIndex++] = tokens[i];
|
|
1924
1954
|
}
|
|
1955
|
+
blockTokens[j].children = newTokens;
|
|
1925
1956
|
}
|
|
1926
1957
|
}
|
|
1927
1958
|
}
|
|
@@ -1972,6 +2003,14 @@ function replace(state) {
|
|
|
1972
2003
|
var QUOTE_TEST_RE = /['"]/;
|
|
1973
2004
|
var QUOTE_RE = /['"]/g;
|
|
1974
2005
|
var APOSTROPHE = "’";
|
|
2006
|
+
var MAX_OPENERS = 1e3;
|
|
2007
|
+
function truncateStack(stack, heads, length) {
|
|
2008
|
+
while (stack.length > length) {
|
|
2009
|
+
const item = stack.pop();
|
|
2010
|
+
if (item.isSingleQuote) heads.single = item.prevSameQuoteIdx;
|
|
2011
|
+
else heads.double = item.prevSameQuoteIdx;
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
1975
2014
|
function addReplacement(replacements, tokenIdx, pos, ch) {
|
|
1976
2015
|
if (!replacements[tokenIdx]) replacements[tokenIdx] = [];
|
|
1977
2016
|
replacements[tokenIdx].push({
|
|
@@ -1993,12 +2032,16 @@ function applyReplacements(str, replacements) {
|
|
|
1993
2032
|
function process_inlines(tokens, state) {
|
|
1994
2033
|
let j;
|
|
1995
2034
|
const stack = [];
|
|
2035
|
+
const heads = {
|
|
2036
|
+
single: -1,
|
|
2037
|
+
double: -1
|
|
2038
|
+
};
|
|
1996
2039
|
const replacements = {};
|
|
1997
2040
|
for (let i = 0; i < tokens.length; i++) {
|
|
1998
2041
|
const token = tokens[i];
|
|
1999
2042
|
const thisLevel = tokens[i].level;
|
|
2000
2043
|
for (j = stack.length - 1; j >= 0; j--) if (stack[j].level <= thisLevel) break;
|
|
2001
|
-
stack
|
|
2044
|
+
truncateStack(stack, heads, j + 1);
|
|
2002
2045
|
if (token.type !== "text") continue;
|
|
2003
2046
|
const text = token.content;
|
|
2004
2047
|
let pos = 0;
|
|
@@ -2050,11 +2093,10 @@ function process_inlines(tokens, state) {
|
|
|
2050
2093
|
if (isSingle) addReplacement(replacements, i, t.index, APOSTROPHE);
|
|
2051
2094
|
continue;
|
|
2052
2095
|
}
|
|
2053
|
-
if (canClose)
|
|
2054
|
-
|
|
2055
|
-
if (stack[j].level
|
|
2056
|
-
|
|
2057
|
-
item = stack[j];
|
|
2096
|
+
if (canClose) {
|
|
2097
|
+
j = isSingle ? heads.single : heads.double;
|
|
2098
|
+
if (j >= 0 && stack[j].level === thisLevel) {
|
|
2099
|
+
const item = stack[j];
|
|
2058
2100
|
let openQuote;
|
|
2059
2101
|
let closeQuote;
|
|
2060
2102
|
if (isSingle) {
|
|
@@ -2065,18 +2107,23 @@ function process_inlines(tokens, state) {
|
|
|
2065
2107
|
closeQuote = state.md.options.quotes[1];
|
|
2066
2108
|
}
|
|
2067
2109
|
addReplacement(replacements, i, t.index, closeQuote);
|
|
2068
|
-
addReplacement(replacements, item.
|
|
2069
|
-
stack
|
|
2110
|
+
addReplacement(replacements, item.tokenIdx, item.contentPos, openQuote);
|
|
2111
|
+
truncateStack(stack, heads, j);
|
|
2070
2112
|
continue OUTER;
|
|
2071
2113
|
}
|
|
2072
2114
|
}
|
|
2073
|
-
if (canOpen)
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2115
|
+
if (canOpen) {
|
|
2116
|
+
if (stack.length >= MAX_OPENERS) return;
|
|
2117
|
+
stack.push({
|
|
2118
|
+
tokenIdx: i,
|
|
2119
|
+
contentPos: t.index,
|
|
2120
|
+
isSingleQuote: isSingle,
|
|
2121
|
+
level: thisLevel,
|
|
2122
|
+
prevSameQuoteIdx: isSingle ? heads.single : heads.double
|
|
2123
|
+
});
|
|
2124
|
+
if (isSingle) heads.single = stack.length - 1;
|
|
2125
|
+
else heads.double = stack.length - 1;
|
|
2126
|
+
} else if (canClose && isSingle) addReplacement(replacements, i, t.index, APOSTROPHE);
|
|
2080
2127
|
}
|
|
2081
2128
|
}
|
|
2082
2129
|
Object.keys(replacements).forEach(function(tokenIdx) {
|
|
@@ -2171,12 +2218,14 @@ function StateBlock(src, md, env, tokens) {
|
|
|
2171
2218
|
const s = this.src;
|
|
2172
2219
|
for (let start = 0, pos = 0, indent = 0, offset = 0, len = s.length, indent_found = false; pos < len; pos++) {
|
|
2173
2220
|
const ch = s.charCodeAt(pos);
|
|
2174
|
-
if (!indent_found)
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2221
|
+
if (!indent_found) {
|
|
2222
|
+
if (isSpace(ch)) {
|
|
2223
|
+
indent++;
|
|
2224
|
+
if (ch === 9) offset += 4 - offset % 4;
|
|
2225
|
+
else offset++;
|
|
2226
|
+
continue;
|
|
2227
|
+
} else indent_found = true;
|
|
2228
|
+
}
|
|
2180
2229
|
if (ch === 10 || pos === len - 1) {
|
|
2181
2230
|
if (ch !== 10) pos++;
|
|
2182
2231
|
this.bMarks.push(start);
|
|
@@ -2243,9 +2292,10 @@ StateBlock.prototype.getLines = function getLines(begin, end, indent, keepLastLF
|
|
|
2243
2292
|
else last = this.eMarks[line];
|
|
2244
2293
|
while (first < last && lineIndent < indent) {
|
|
2245
2294
|
const ch = this.src.charCodeAt(first);
|
|
2246
|
-
if (isSpace(ch))
|
|
2247
|
-
|
|
2248
|
-
|
|
2295
|
+
if (isSpace(ch)) {
|
|
2296
|
+
if (ch === 9) lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;
|
|
2297
|
+
else lineIndent++;
|
|
2298
|
+
} else if (first - lineStart < this.tShift[line]) lineIndent++;
|
|
2249
2299
|
else break;
|
|
2250
2300
|
first++;
|
|
2251
2301
|
}
|
|
@@ -2272,13 +2322,15 @@ function escapedSplit(str) {
|
|
|
2272
2322
|
let lastPos = 0;
|
|
2273
2323
|
let current = "";
|
|
2274
2324
|
while (pos < max) {
|
|
2275
|
-
if (ch === 124)
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2325
|
+
if (ch === 124) {
|
|
2326
|
+
if (!isEscaped) {
|
|
2327
|
+
result.push(current + str.substring(lastPos, pos));
|
|
2328
|
+
current = "";
|
|
2329
|
+
lastPos = pos + 1;
|
|
2330
|
+
} else {
|
|
2331
|
+
current += str.substring(lastPos, pos - 1);
|
|
2332
|
+
lastPos = pos;
|
|
2333
|
+
}
|
|
2282
2334
|
}
|
|
2283
2335
|
isEscaped = ch === 92;
|
|
2284
2336
|
pos++;
|
|
@@ -2310,8 +2362,10 @@ function table(state, startLine, endLine, silent) {
|
|
|
2310
2362
|
const aligns = [];
|
|
2311
2363
|
for (let i = 0; i < columns.length; i++) {
|
|
2312
2364
|
const t = columns[i].trim();
|
|
2313
|
-
if (!t)
|
|
2314
|
-
|
|
2365
|
+
if (!t) {
|
|
2366
|
+
if (i === 0 || i === columns.length - 1) continue;
|
|
2367
|
+
else return false;
|
|
2368
|
+
}
|
|
2315
2369
|
if (!/^:?-+:?$/.test(t)) return false;
|
|
2316
2370
|
if (t.charCodeAt(t.length - 1) === 58) aligns.push(t.charCodeAt(0) === 58 ? "center" : "right");
|
|
2317
2371
|
else if (t.charCodeAt(0) === 58) aligns.push("left");
|
|
@@ -2504,9 +2558,10 @@ function blockquote(state, startLine, endLine, silent) {
|
|
|
2504
2558
|
state.bMarks[nextLine] = pos;
|
|
2505
2559
|
while (pos < max) {
|
|
2506
2560
|
const ch = state.src.charCodeAt(pos);
|
|
2507
|
-
if (isSpace(ch))
|
|
2508
|
-
|
|
2509
|
-
|
|
2561
|
+
if (isSpace(ch)) {
|
|
2562
|
+
if (ch === 9) offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
|
|
2563
|
+
else offset++;
|
|
2564
|
+
} else break;
|
|
2510
2565
|
pos++;
|
|
2511
2566
|
}
|
|
2512
2567
|
lastLineEmpty = pos >= max;
|
|
@@ -2942,8 +2997,9 @@ var html_blocks_default = [
|
|
|
2942
2997
|
//#endregion
|
|
2943
2998
|
//#region ../node_modules/markdown-it/lib/common/html_re.mjs
|
|
2944
2999
|
var open_tag = "<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>";
|
|
2945
|
-
var
|
|
2946
|
-
var
|
|
3000
|
+
var close_tag = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";
|
|
3001
|
+
var HTML_TAG_RE = new RegExp("^(?:" + open_tag + "|" + close_tag + "|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)");
|
|
3002
|
+
var HTML_OPEN_CLOSE_TAG_RE = new RegExp("^(?:" + open_tag + "|" + close_tag + ")");
|
|
2947
3003
|
//#endregion
|
|
2948
3004
|
//#region ../node_modules/markdown-it/lib/rules_block/html_block.mjs
|
|
2949
3005
|
var HTML_SEQUENCES = [
|
|
@@ -2963,7 +3019,7 @@ var HTML_SEQUENCES = [
|
|
|
2963
3019
|
true
|
|
2964
3020
|
],
|
|
2965
3021
|
[
|
|
2966
|
-
/^<![A-
|
|
3022
|
+
/^<![A-Za-z]/,
|
|
2967
3023
|
/>/,
|
|
2968
3024
|
true
|
|
2969
3025
|
],
|
|
@@ -3383,7 +3439,12 @@ function text(state, silent) {
|
|
|
3383
3439
|
}
|
|
3384
3440
|
//#endregion
|
|
3385
3441
|
//#region ../node_modules/markdown-it/lib/rules_inline/linkify.mjs
|
|
3386
|
-
|
|
3442
|
+
function isAsciiAlpha(code) {
|
|
3443
|
+
return code >= 65 && code <= 90 || code >= 97 && code <= 122;
|
|
3444
|
+
}
|
|
3445
|
+
function isSchemeChar(code) {
|
|
3446
|
+
return code >= 65 && code <= 90 || code >= 97 && code <= 122 || code >= 48 && code <= 57 || code === 43 || code === 45 || code === 46;
|
|
3447
|
+
}
|
|
3387
3448
|
function linkify(state, silent) {
|
|
3388
3449
|
if (!state.md.options.linkify) return false;
|
|
3389
3450
|
if (state.linkLevel > 0) return false;
|
|
@@ -3393,20 +3454,22 @@ function linkify(state, silent) {
|
|
|
3393
3454
|
if (state.src.charCodeAt(pos) !== 58) return false;
|
|
3394
3455
|
if (state.src.charCodeAt(pos + 1) !== 47) return false;
|
|
3395
3456
|
if (state.src.charCodeAt(pos + 2) !== 47) return false;
|
|
3396
|
-
const
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3457
|
+
const protoMin = pos - Math.min(10, state.pending.length, pos);
|
|
3458
|
+
let protoStart = pos;
|
|
3459
|
+
while (protoStart > protoMin && isSchemeChar(state.src.charCodeAt(protoStart - 1))) protoStart--;
|
|
3460
|
+
if (protoStart === pos || !isAsciiAlpha(state.src.charCodeAt(protoStart))) return false;
|
|
3461
|
+
const protoLength = pos - protoStart;
|
|
3462
|
+
const link = state.md.linkify.matchAtStart(state.src.slice(protoStart));
|
|
3400
3463
|
if (!link) return false;
|
|
3401
3464
|
let url = link.url;
|
|
3402
|
-
if (url.length <=
|
|
3465
|
+
if (url.length <= protoLength) return false;
|
|
3403
3466
|
let urlEnd = url.length;
|
|
3404
3467
|
while (urlEnd > 0 && url.charCodeAt(urlEnd - 1) === 42) urlEnd--;
|
|
3405
3468
|
if (urlEnd !== url.length) url = url.slice(0, urlEnd);
|
|
3406
3469
|
const fullUrl = state.md.normalizeLink(url);
|
|
3407
3470
|
if (!state.md.validateLink(fullUrl)) return false;
|
|
3408
3471
|
if (!silent) {
|
|
3409
|
-
state.pending = state.pending.slice(0, -
|
|
3472
|
+
state.pending = state.pending.slice(0, -protoLength);
|
|
3410
3473
|
const token_o = state.push("link_open", "a", 1);
|
|
3411
3474
|
token_o.attrs = [["href", fullUrl]];
|
|
3412
3475
|
token_o.markup = "linkify";
|
|
@@ -3417,7 +3480,7 @@ function linkify(state, silent) {
|
|
|
3417
3480
|
token_c.markup = "linkify";
|
|
3418
3481
|
token_c.info = "auto";
|
|
3419
3482
|
}
|
|
3420
|
-
state.pos += url.length -
|
|
3483
|
+
state.pos += url.length - protoLength;
|
|
3421
3484
|
return true;
|
|
3422
3485
|
}
|
|
3423
3486
|
//#endregion
|
|
@@ -3427,16 +3490,19 @@ function newline(state, silent) {
|
|
|
3427
3490
|
if (state.src.charCodeAt(pos) !== 10) return false;
|
|
3428
3491
|
const pmax = state.pending.length - 1;
|
|
3429
3492
|
const max = state.posMax;
|
|
3430
|
-
if (!silent)
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3493
|
+
if (!silent) {
|
|
3494
|
+
if (pmax >= 0 && state.pending.charCodeAt(pmax) === 32) {
|
|
3495
|
+
if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 32) {
|
|
3496
|
+
let ws = pmax - 1;
|
|
3497
|
+
while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 32) ws--;
|
|
3498
|
+
state.pending = state.pending.slice(0, ws);
|
|
3499
|
+
state.push("hardbreak", "br", 0);
|
|
3500
|
+
} else {
|
|
3501
|
+
state.pending = state.pending.slice(0, -1);
|
|
3502
|
+
state.push("softbreak", "br", 0);
|
|
3503
|
+
}
|
|
3504
|
+
} else state.push("softbreak", "br", 0);
|
|
3438
3505
|
}
|
|
3439
|
-
else state.push("softbreak", "br", 0);
|
|
3440
3506
|
pos++;
|
|
3441
3507
|
while (pos < max && isSpace(state.src.charCodeAt(pos))) pos++;
|
|
3442
3508
|
state.pos = pos;
|
|
@@ -4654,7 +4720,7 @@ var errors = {
|
|
|
4654
4720
|
"invalid-input": "Invalid input"
|
|
4655
4721
|
};
|
|
4656
4722
|
/** Convenience shortcuts */
|
|
4657
|
-
var baseMinusTMin =
|
|
4723
|
+
var baseMinusTMin = 35;
|
|
4658
4724
|
var floor = Math.floor;
|
|
4659
4725
|
var stringFromCharCode = String.fromCharCode;
|
|
4660
4726
|
/**
|
|
@@ -4778,8 +4844,8 @@ var adapt = function(delta, numPoints, firstTime) {
|
|
|
4778
4844
|
let k = 0;
|
|
4779
4845
|
delta = firstTime ? floor(delta / damp) : delta >> 1;
|
|
4780
4846
|
delta += floor(delta / numPoints);
|
|
4781
|
-
for (; delta >
|
|
4782
|
-
return floor(k +
|
|
4847
|
+
for (; delta > 455; k += base) delta = floor(delta / baseMinusTMin);
|
|
4848
|
+
return floor(k + 36 * delta / (delta + skew));
|
|
4783
4849
|
};
|
|
4784
4850
|
/**
|
|
4785
4851
|
* Converts a Punycode string of ASCII-only symbols to a string of Unicode
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as customElement, f as A, l as o, m as i, p as b, s as n } from "./lit-
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
3
|
-
import { t as iconToSvg } from "./svg-
|
|
4
|
-
import { i as subscribeIconRegistry, t as getIcon } from "./registry-
|
|
1
|
+
import { c as customElement, f as A, l as o, m as i, 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 { t as iconToSvg } from "./svg-BRgqS9vA.js";
|
|
4
|
+
import { i as subscribeIconRegistry, t as getIcon } from "./registry-CJc164pT.js";
|
|
5
5
|
//#region src/components/icon/pk-icon.ts
|
|
6
6
|
var PkIcon = class PkIcon extends PkElement {
|
|
7
7
|
constructor(..._args) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as uniqueId } from "./pk-a11y-
|
|
2
|
-
import { a as e, c as customElement, f as A, m as i, n as l, o as r, p as b, r as o, s as n } from "./lit-
|
|
3
|
-
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, o as syncStandaloneControlAria } from "./pk-base-
|
|
4
|
-
import { t as HasSlotController } from "./has-slot-
|
|
5
|
-
import { n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-
|
|
6
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
7
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
8
|
-
import { t as PkClearEvent } from "./pk-clear-
|
|
9
|
-
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-
|
|
1
|
+
import { n as uniqueId } from "./pk-a11y-mGj0G5AE.js";
|
|
2
|
+
import { a as e, c as customElement, f as A, m as i, n as l, o as r, p as b, r as o, s as n } from "./lit-B6nFKgbW.js";
|
|
3
|
+
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, o as syncStandaloneControlAria } from "./pk-base-BGegy7-X.js";
|
|
4
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
5
|
+
import { n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-BQbvE3sC.js";
|
|
6
|
+
import { t as MirrorValidator } from "./mirror-validator-BkZlEv1Z.js";
|
|
7
|
+
import { t as RequiredValidator } from "./required-validator-I58oJGZ3.js";
|
|
8
|
+
import { t as PkClearEvent } from "./pk-clear-DHxP_2cm.js";
|
|
9
|
+
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-pY-gQDwQ.js";
|
|
10
10
|
//#region src/internal/implicit-form-submit.ts
|
|
11
11
|
/**
|
|
12
12
|
* Restore HTML “implicit submission” for FACE controls with a shadow native input.
|
|
@@ -21,7 +21,7 @@ import { n as readLegacyInstructions, t as hasInstructionContent } from "./field
|
|
|
21
21
|
*
|
|
22
22
|
* Skip types that never implicit-submit, and modified Enter.
|
|
23
23
|
*/
|
|
24
|
-
var NON_IMPLICIT_SUBMIT_INPUT_TYPES = new Set([
|
|
24
|
+
var NON_IMPLICIT_SUBMIT_INPUT_TYPES = /* @__PURE__ */ new Set([
|
|
25
25
|
"button",
|
|
26
26
|
"submit",
|
|
27
27
|
"reset",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as e, c as customElement, f as A, m as i, p as b, s as n } from "./lit-
|
|
2
|
-
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles } from "./pk-base-
|
|
3
|
-
import { t as HasSlotController } from "./has-slot-
|
|
4
|
-
import { t as MirrorValidator } from "./mirror-validator-
|
|
5
|
-
import { t as RequiredValidator } from "./required-validator-
|
|
6
|
-
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-
|
|
1
|
+
import { a as e, c as customElement, f as A, m as i, p as b, s as n } from "./lit-B6nFKgbW.js";
|
|
2
|
+
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles } from "./pk-base-BGegy7-X.js";
|
|
3
|
+
import { t as HasSlotController } from "./has-slot-DJv86HKx.js";
|
|
4
|
+
import { t as MirrorValidator } from "./mirror-validator-BkZlEv1Z.js";
|
|
5
|
+
import { t as RequiredValidator } from "./required-validator-I58oJGZ3.js";
|
|
6
|
+
import { n as readLegacyInstructions, t as hasInstructionContent } from "./field-labels-pY-gQDwQ.js";
|
|
7
7
|
//#region src/components/lightswitch/pk-lightswitch.styles.ts
|
|
8
8
|
var pkLightswitchStyles = i`
|
|
9
9
|
@layer pk-component {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as customElement, f as A, l as o, m as i, p as b, s as n } from "./lit-
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
3
|
-
import { m as check } from "./svg-
|
|
4
|
-
import { n as renderIconHtml } from "./render-
|
|
1
|
+
import { c as customElement, f as A, l as o, m as i, 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 { m as check } from "./svg-BRgqS9vA.js";
|
|
4
|
+
import { n as renderIconHtml } from "./render-D9G_a_c2.js";
|
|
5
5
|
//#region src/utils/highlight-text.ts
|
|
6
6
|
/** Split label text into matched/unmatched segments for typeahead highlighting. */
|
|
7
7
|
function splitHighlightParts(text, search) {
|
|
@@ -224,7 +224,7 @@ var PkOption = class PkOption extends PkElement {
|
|
|
224
224
|
}));
|
|
225
225
|
}
|
|
226
226
|
handleKeyDown(event) {
|
|
227
|
-
if (!new Set([
|
|
227
|
+
if (!(/* @__PURE__ */ new Set([
|
|
228
228
|
"ArrowDown",
|
|
229
229
|
"ArrowUp",
|
|
230
230
|
"ArrowLeft",
|
|
@@ -234,7 +234,7 @@ var PkOption = class PkOption extends PkElement {
|
|
|
234
234
|
"Enter",
|
|
235
235
|
" ",
|
|
236
236
|
"Escape"
|
|
237
|
-
]).has(event.key)) return;
|
|
237
|
+
])).has(event.key)) return;
|
|
238
238
|
const owner = this.closest("pk-select, pk-combobox, pk-autocomplete");
|
|
239
239
|
const panel = owner ? null : this.closest("[role=\"listbox\"]");
|
|
240
240
|
if (!owner && !panel) return;
|
|
@@ -257,9 +257,10 @@ var PkOption = class PkOption extends PkElement {
|
|
|
257
257
|
<slot></slot>
|
|
258
258
|
</span>
|
|
259
259
|
`;
|
|
260
|
+
const parts = splitHighlightParts(this.getLabel(), query);
|
|
260
261
|
return b`
|
|
261
262
|
<span part="label" class="label">
|
|
262
|
-
${
|
|
263
|
+
${parts.map((part) => part.match ? b`<mark class="match">${part.text}</mark>` : b`<span>${part.text}</span>`)}
|
|
263
264
|
</span>
|
|
264
265
|
`;
|
|
265
266
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
|
|
1
|
+
import { a as e$2, c as customElement, f as A, i as e$1, m as i$1, 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 { t as computePopupTransformOrigin } from "./popup-placement-animation-ClUYI79z.js";
|
|
4
|
+
import { a as offset, c as size, i as flip, l as getOverflowAncestors, n as autoUpdate, o as platform, r as computePosition, s as shift, t as arrow, u as isContainingBlock } from "./floating-ui-BJQPB-Ip.js";
|
|
5
|
+
//#region src/utils/supports-popover.ts
|
|
6
|
+
/** Whether the host supports the Popover API (`popover` + `showPopover` / `hidePopover`). */
|
|
7
|
+
var SUPPORTS_POPOVER = typeof globalThis.HTMLElement !== "undefined" && Object.prototype.hasOwnProperty.call(globalThis.HTMLElement.prototype, "popover");
|
|
8
|
+
//#endregion
|
|
6
9
|
//#region src/internal/resolve-element-by-id.ts
|
|
7
10
|
/** Resolve an element id from the same root as the host (shadow or document), then the document. */
|
|
8
11
|
function resolveElementById(host, id) {
|
|
@@ -195,10 +198,12 @@ var PkPopup = class PkPopup extends PkElement {
|
|
|
195
198
|
}
|
|
196
199
|
updated(changed) {
|
|
197
200
|
super.updated(changed);
|
|
198
|
-
if (changed.has("active"))
|
|
199
|
-
this.
|
|
200
|
-
|
|
201
|
-
|
|
201
|
+
if (changed.has("active")) {
|
|
202
|
+
if (this.active) {
|
|
203
|
+
this.resolveAnchor();
|
|
204
|
+
this.start();
|
|
205
|
+
} else this.stop();
|
|
206
|
+
}
|
|
202
207
|
if (changed.has("anchor")) this.handleAnchorChange();
|
|
203
208
|
if (this.active && !changed.has("active")) this.reposition();
|
|
204
209
|
}
|
|
@@ -447,26 +452,27 @@ var PkPopup = class PkPopup extends PkElement {
|
|
|
447
452
|
let bottomLeftY = 0;
|
|
448
453
|
let bottomRightX = 0;
|
|
449
454
|
let bottomRightY = 0;
|
|
450
|
-
if (isVertical)
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
455
|
+
if (isVertical) {
|
|
456
|
+
if (anchorRect.top < popupRect.top) {
|
|
457
|
+
topLeftX = anchorRect.left;
|
|
458
|
+
topLeftY = anchorRect.bottom;
|
|
459
|
+
topRightX = anchorRect.right;
|
|
460
|
+
topRightY = anchorRect.bottom;
|
|
461
|
+
bottomLeftX = popupRect.left;
|
|
462
|
+
bottomLeftY = popupRect.top;
|
|
463
|
+
bottomRightX = popupRect.right;
|
|
464
|
+
bottomRightY = popupRect.top;
|
|
465
|
+
} else {
|
|
466
|
+
topLeftX = popupRect.left;
|
|
467
|
+
topLeftY = popupRect.bottom;
|
|
468
|
+
topRightX = popupRect.right;
|
|
469
|
+
topRightY = popupRect.bottom;
|
|
470
|
+
bottomLeftX = anchorRect.left;
|
|
471
|
+
bottomLeftY = anchorRect.top;
|
|
472
|
+
bottomRightX = anchorRect.right;
|
|
473
|
+
bottomRightY = anchorRect.top;
|
|
474
|
+
}
|
|
475
|
+
} else if (anchorRect.left < popupRect.left) {
|
|
470
476
|
topLeftX = anchorRect.right;
|
|
471
477
|
topLeftY = anchorRect.top;
|
|
472
478
|
topRightX = popupRect.left;
|