@verbb/plugin-kit-web 2.0.15 → 2.0.17
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 +80 -0
- package/README.md +3 -3
- package/custom-elements.json +39781 -0
- package/dist/base/pk-form-associated-element.d.ts +17 -1
- package/dist/base/pk-form-associated-element.d.ts.map +1 -1
- package/dist/chunks/{animate-with-class-ZJeCOKB3.js → animate-with-class-CsDwYnXL.js} +1 -1
- package/dist/chunks/{animate-with-class-ZJeCOKB3.js.map → animate-with-class-CsDwYnXL.js.map} +1 -1
- package/dist/chunks/{autoloader-DPX9YYZs.js → autoloader-dJO3tYOX.js} +2 -2
- package/dist/chunks/{autoloader-DPX9YYZs.js.map → autoloader-dJO3tYOX.js.map} +1 -1
- package/dist/chunks/{component-registry-CNB8PbP_.js → component-registry-D34fm8xW.js} +5 -1
- package/dist/chunks/component-registry-D34fm8xW.js.map +1 -0
- package/dist/chunks/{field-labels-CoU9dnNq.js → field-labels-CmuAW8Cl.js} +1 -1
- package/dist/chunks/{field-labels-CoU9dnNq.js.map → field-labels-CmuAW8Cl.js.map} +1 -1
- package/dist/chunks/option-filter-BQqr8Z21.js +121 -0
- package/dist/chunks/option-filter-BQqr8Z21.js.map +1 -0
- package/dist/chunks/pk-autocomplete-IFL-u-RF.js +992 -0
- package/dist/chunks/pk-autocomplete-IFL-u-RF.js.map +1 -0
- package/dist/chunks/{pk-button-BWGDkuzc.js → pk-button-BrH4u4Qr.js} +8 -4
- package/dist/chunks/{pk-button-BWGDkuzc.js.map → pk-button-BrH4u4Qr.js.map} +1 -1
- package/dist/chunks/{pk-calendar-enTOUCRD.js → pk-calendar-Z7Y0PjeY.js} +1 -1
- package/dist/chunks/{pk-calendar-enTOUCRD.js.map → pk-calendar-Z7Y0PjeY.js.map} +1 -1
- package/dist/chunks/{pk-checkbox-CvZwJZn_.js → pk-checkbox-CfV1uDdC.js} +2 -2
- package/dist/chunks/{pk-checkbox-CvZwJZn_.js.map → pk-checkbox-CfV1uDdC.js.map} +1 -1
- package/dist/chunks/{pk-checkbox-select-DclPoyDM.js → pk-checkbox-select-DeCaI3a0.js} +2 -2
- package/dist/chunks/{pk-checkbox-select-DclPoyDM.js.map → pk-checkbox-select-DeCaI3a0.js.map} +1 -1
- package/dist/chunks/{pk-code-editor-CrKnJUyi.js → pk-code-editor-BG9sG_Fy.js} +2 -2
- package/dist/chunks/{pk-code-editor-CrKnJUyi.js.map → pk-code-editor-BG9sG_Fy.js.map} +1 -1
- package/dist/chunks/{pk-color-input-DXdqNCK7.js → pk-color-input-CncNce1C.js} +2 -2
- package/dist/chunks/{pk-color-input-DXdqNCK7.js.map → pk-color-input-CncNce1C.js.map} +1 -1
- package/dist/chunks/{pk-combobox-BLft8AXy.js → pk-combobox-CL9En0J-.js} +49 -92
- package/dist/chunks/pk-combobox-CL9En0J-.js.map +1 -0
- package/dist/chunks/{pk-connect.styles-DshgIW2n.js → pk-connect.styles-BhW406jt.js} +1 -1
- package/dist/chunks/{pk-connect.styles-DshgIW2n.js.map → pk-connect.styles-BhW406jt.js.map} +1 -1
- package/dist/chunks/{pk-copy-button-asOLQkqk.js → pk-copy-button-BVaOLtYG.js} +46 -5
- package/dist/chunks/pk-copy-button-BVaOLtYG.js.map +1 -0
- package/dist/chunks/{pk-date-picker-Bri3kZ6x.js → pk-date-picker-BEAd4Ngl.js} +6 -6
- package/dist/chunks/{pk-date-picker-Bri3kZ6x.js.map → pk-date-picker-BEAd4Ngl.js.map} +1 -1
- package/dist/chunks/{pk-dialog-BbEfvb0g.js → pk-dialog-VMQqLW1f.js} +2 -2
- package/dist/chunks/{pk-dialog-BbEfvb0g.js.map → pk-dialog-VMQqLW1f.js.map} +1 -1
- package/dist/chunks/{pk-dropdown-item-BoZTGWMU.js → pk-dropdown-item-D9OaG5o-.js} +9 -5
- package/dist/chunks/pk-dropdown-item-D9OaG5o-.js.map +1 -0
- package/dist/chunks/{pk-dropdown-label-Da28F917.js → pk-dropdown-label-CRNWMWQd.js} +1 -1
- package/dist/chunks/{pk-dropdown-label-Da28F917.js.map → pk-dropdown-label-CRNWMWQd.js.map} +1 -1
- package/dist/chunks/{pk-dropdown-menu-CfZc7dIz.js → pk-dropdown-menu-DW1wI8xQ.js} +6 -4
- package/dist/chunks/pk-dropdown-menu-DW1wI8xQ.js.map +1 -0
- package/dist/chunks/{pk-editable-table-Cn4WXqAo.js → pk-editable-table-BoqfveXO.js} +17 -19
- package/dist/chunks/pk-editable-table-BoqfveXO.js.map +1 -0
- package/dist/chunks/{pk-field-NL4KdFZC.js → pk-field-UAlMq6mQ.js} +2 -2
- package/dist/chunks/{pk-field-NL4KdFZC.js.map → pk-field-UAlMq6mQ.js.map} +1 -1
- package/dist/chunks/{pk-form-associated-element-9M2NzOE2.js → pk-form-associated-element-CCQALRGB.js} +14 -2
- package/dist/chunks/pk-form-associated-element-CCQALRGB.js.map +1 -0
- package/dist/chunks/pk-image-browser-DwiCFOIG.js +1364 -0
- package/dist/chunks/pk-image-browser-DwiCFOIG.js.map +1 -0
- package/dist/chunks/{pk-input-DDkIXOkt.js → pk-input-CF_icEtR.js} +76 -30
- package/dist/chunks/pk-input-CF_icEtR.js.map +1 -0
- package/dist/chunks/{pk-input-group-CRPSBFhX.js → pk-input-group-BLqKPnfc.js} +2 -2
- package/dist/chunks/{pk-input-group-CRPSBFhX.js.map → pk-input-group-BLqKPnfc.js.map} +1 -1
- package/dist/chunks/{pk-input-group-addon-B0StOmTJ.js → pk-input-group-addon-ClBkGmAw.js} +1 -1
- package/dist/chunks/{pk-input-group-addon-B0StOmTJ.js.map → pk-input-group-addon-ClBkGmAw.js.map} +1 -1
- package/dist/chunks/{pk-input-group-button-CnKajvsP.js → pk-input-group-button-CHQHsWd4.js} +1 -1
- package/dist/chunks/{pk-input-group-button-CnKajvsP.js.map → pk-input-group-button-CHQHsWd4.js.map} +1 -1
- package/dist/chunks/{pk-input-group-input-mllffsjQ.js → pk-input-group-input-oNnqMBGU.js} +1 -1
- package/dist/chunks/{pk-input-group-input-mllffsjQ.js.map → pk-input-group-input-oNnqMBGU.js.map} +1 -1
- package/dist/chunks/{pk-input-group-text-DvaPJvh2.js → pk-input-group-text-HUxlXROB.js} +1 -1
- package/dist/chunks/{pk-input-group-text-DvaPJvh2.js.map → pk-input-group-text-HUxlXROB.js.map} +1 -1
- package/dist/chunks/{pk-input-group-textarea-CqYv8tUQ.js → pk-input-group-textarea-Cl2FNuw-.js} +1 -1
- package/dist/chunks/{pk-input-group-textarea-CqYv8tUQ.js.map → pk-input-group-textarea-Cl2FNuw-.js.map} +1 -1
- package/dist/chunks/{pk-lightswitch-DI1BeCmA.js → pk-lightswitch-D1qEFRxK.js} +3 -3
- package/dist/chunks/{pk-lightswitch-DI1BeCmA.js.map → pk-lightswitch-D1qEFRxK.js.map} +1 -1
- package/dist/chunks/{pk-option-MGj9SKOK.js → pk-option-DQZHV9jL.js} +3 -2
- package/dist/chunks/pk-option-DQZHV9jL.js.map +1 -0
- package/dist/chunks/{pk-option-group-Cs6N7mlP.js → pk-option-group-CCzJkBFp.js} +1 -1
- package/dist/chunks/{pk-option-group-Cs6N7mlP.js.map → pk-option-group-CCzJkBFp.js.map} +1 -1
- package/dist/chunks/{pk-popover-duyNosk2.js → pk-popover-D3jkHfwB.js} +4 -4
- package/dist/chunks/pk-popover-D3jkHfwB.js.map +1 -0
- package/dist/chunks/{pk-popup-B9AgBC2V.js → pk-popup-B65tZMQH.js} +23 -1
- package/dist/chunks/pk-popup-B65tZMQH.js.map +1 -0
- package/dist/chunks/{pk-radio-BK4D2Htu.js → pk-radio-B5XkMHy3.js} +1 -1
- package/dist/chunks/{pk-radio-BK4D2Htu.js.map → pk-radio-B5XkMHy3.js.map} +1 -1
- package/dist/chunks/{pk-radio-group-BRJIjOsR.js → pk-radio-group-ByrxGLdX.js} +3 -3
- package/dist/chunks/{pk-radio-group-BRJIjOsR.js.map → pk-radio-group-ByrxGLdX.js.map} +1 -1
- package/dist/chunks/{pk-scroll-area-BR6ckorh.js → pk-scroll-area-CdfNxYz8.js} +1 -1
- package/dist/chunks/{pk-scroll-area-BR6ckorh.js.map → pk-scroll-area-CdfNxYz8.js.map} +1 -1
- package/dist/chunks/{pk-select-C1s0OJr0.js → pk-select-CdQdhnZN.js} +7 -5
- package/dist/chunks/pk-select-CdQdhnZN.js.map +1 -0
- package/dist/chunks/{pk-separator-CHij3vEG.js → pk-separator-N-VyjYE6.js} +1 -1
- package/dist/chunks/{pk-separator-CHij3vEG.js.map → pk-separator-N-VyjYE6.js.map} +1 -1
- package/dist/chunks/{pk-status-D1IzTSI2.js → pk-status-BehQARDv.js} +1 -1
- package/dist/chunks/{pk-status-D1IzTSI2.js.map → pk-status-BehQARDv.js.map} +1 -1
- package/dist/chunks/{pk-tab-2MHunhlF.js → pk-tab-CTloD18e.js} +1 -1
- package/dist/chunks/{pk-tab-2MHunhlF.js.map → pk-tab-CTloD18e.js.map} +1 -1
- package/dist/chunks/{pk-tab-heading-BV6m_sT-.js → pk-tab-heading-Cjcgebxn.js} +1 -1
- package/dist/chunks/{pk-tab-heading-BV6m_sT-.js.map → pk-tab-heading-Cjcgebxn.js.map} +1 -1
- package/dist/chunks/{pk-tab-panel-C6FxQw9q.js → pk-tab-panel-CkKU5-Ah.js} +1 -1
- package/dist/chunks/{pk-tab-panel-C6FxQw9q.js.map → pk-tab-panel-CkKU5-Ah.js.map} +1 -1
- package/dist/chunks/{pk-tabs-BTE63uK9.js → pk-tabs-BgEBki1q.js} +1 -1
- package/dist/chunks/{pk-tabs-BTE63uK9.js.map → pk-tabs-BgEBki1q.js.map} +1 -1
- package/dist/chunks/{pk-textarea-BcAyZYC-.js → pk-textarea-CYM2tK88.js} +3 -3
- package/dist/chunks/{pk-textarea-BcAyZYC-.js.map → pk-textarea-CYM2tK88.js.map} +1 -1
- package/dist/chunks/{pk-time-picker-5D4nmig2.js → pk-time-picker-CebRqydV.js} +3 -3
- package/dist/chunks/{pk-time-picker-5D4nmig2.js.map → pk-time-picker-CebRqydV.js.map} +1 -1
- package/dist/chunks/{pk-tiptap-content-BPd4GO6c.js → pk-tiptap-content-CL8smjGi.js} +6 -3
- package/dist/chunks/{pk-tiptap-content-BPd4GO6c.js.map → pk-tiptap-content-CL8smjGi.js.map} +1 -1
- package/dist/chunks/{pk-tiptap-editor-tG67Vegc.js → pk-tiptap-editor-CTz-yfHL.js} +335 -19
- package/dist/chunks/pk-tiptap-editor-CTz-yfHL.js.map +1 -0
- package/dist/chunks/{pk-tiptap-input-CtefNnaK.js → pk-tiptap-input-Y9eog9Zn.js} +3 -3
- package/dist/chunks/{pk-tiptap-input-CtefNnaK.js.map → pk-tiptap-input-Y9eog9Zn.js.map} +1 -1
- package/dist/chunks/{pk-toggle-CW-lflrh.js → pk-toggle-BthhH7vl.js} +1 -1
- package/dist/chunks/{pk-toggle-CW-lflrh.js.map → pk-toggle-BthhH7vl.js.map} +1 -1
- package/dist/chunks/{pk-toggle-group-BKymefo3.js → pk-toggle-group-D2Quux8D.js} +1 -1
- package/dist/chunks/{pk-toggle-group-BKymefo3.js.map → pk-toggle-group-D2Quux8D.js.map} +1 -1
- package/dist/chunks/{pk-tooltip-BoDq8YVe.js → pk-tooltip--QBV6puX.js} +2 -2
- package/dist/chunks/{pk-tooltip-BoDq8YVe.js.map → pk-tooltip--QBV6puX.js.map} +1 -1
- package/dist/chunks/{popup-content-animation.styles-Dc6d9quJ.js → popup-content-animation.styles-BnNiguJo.js} +1 -1
- package/dist/chunks/{popup-content-animation.styles-Dc6d9quJ.js.map → popup-content-animation.styles-BnNiguJo.js.map} +1 -1
- package/dist/chunks/{popup-pointer-DMnuZDQl.js → popup-pointer-CuLjk1th.js} +1 -1
- package/dist/chunks/{popup-pointer-DMnuZDQl.js.map → popup-pointer-CuLjk1th.js.map} +1 -1
- package/dist/chunks/{register-CQodpTWT.js → register-aJw-9RWi.js} +46 -46
- package/dist/chunks/{register-CQodpTWT.js.map → register-aJw-9RWi.js.map} +1 -1
- package/dist/chunks/{register-components-B-qCPFFh.js → register-components-BT9THgdh.js} +1 -1
- package/dist/chunks/{register-components-B-qCPFFh.js.map → register-components-BT9THgdh.js.map} +1 -1
- package/dist/chunks/{tiptap.styles-ChAfyVi9.js → tiptap.styles-CPRows--.js} +4 -3
- package/dist/chunks/tiptap.styles-CPRows--.js.map +1 -0
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/autocomplete/index.d.ts +2 -0
- package/dist/components/autocomplete/index.d.ts.map +1 -0
- package/dist/components/autocomplete/pk-autocomplete.d.ts +150 -0
- package/dist/components/autocomplete/pk-autocomplete.d.ts.map +1 -0
- package/dist/components/autocomplete/pk-autocomplete.js +2 -0
- package/dist/components/autocomplete/pk-autocomplete.styles.d.ts +7 -0
- package/dist/components/autocomplete/pk-autocomplete.styles.d.ts.map +1 -0
- package/dist/components/autocomplete.d.ts +2 -0
- package/dist/components/autocomplete.js +2 -0
- package/dist/components/button/pk-button.d.ts +37 -1
- package/dist/components/button/pk-button.d.ts.map +1 -1
- package/dist/components/button/pk-button.js +1 -1
- 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.d.ts +8 -14
- package/dist/components/combobox/pk-combobox.d.ts.map +1 -1
- package/dist/components/combobox/pk-combobox.js +1 -1
- package/dist/components/combobox/pk-combobox.styles.d.ts.map +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/connect/pk-connect-oauth.d.ts +1 -1
- package/dist/components/connect/pk-connect-oauth.js +3 -3
- package/dist/components/connect/pk-connect-oauth.js.map +1 -1
- package/dist/components/connect/pk-connect.js +4 -4
- package/dist/components/copy-button/pk-copy-button.d.ts +3 -0
- package/dist/components/copy-button/pk-copy-button.d.ts.map +1 -1
- package/dist/components/copy-button/pk-copy-button.js +1 -1
- package/dist/components/copy-button/pk-copy-button.styles.d.ts.map +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/date-picker/pk-date-picker.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/dialog/pk-dialog.d.ts +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.d.ts +3 -1
- package/dist/components/dropdown-menu/pk-dropdown-item.d.ts.map +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-item.js +1 -1
- package/dist/components/dropdown-menu/pk-dropdown-item.styles.d.ts.map +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-menu.styles.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +3 -3
- package/dist/components/editable-table/editable-table-model.d.ts +4 -1
- package/dist/components/editable-table/editable-table-model.d.ts.map +1 -1
- package/dist/components/editable-table/pk-editable-table.d.ts +1 -1
- package/dist/components/editable-table/pk-editable-table.d.ts.map +1 -1
- 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.d.ts +3 -2
- package/dist/components/icon/pk-icon.d.ts.map +1 -1
- package/dist/components/icon/pk-icon.js.map +1 -1
- package/dist/components/image-browser/index.d.ts +2 -0
- package/dist/components/image-browser/index.d.ts.map +1 -0
- package/dist/components/image-browser/pk-image-browser.d.ts +190 -0
- package/dist/components/image-browser/pk-image-browser.d.ts.map +1 -0
- package/dist/components/image-browser/pk-image-browser.js +2 -0
- package/dist/components/image-browser/pk-image-browser.styles.d.ts +6 -0
- package/dist/components/image-browser/pk-image-browser.styles.d.ts.map +1 -0
- package/dist/components/image-browser.d.ts +2 -0
- package/dist/components/image-browser.js +2 -0
- package/dist/components/input/pk-input.d.ts +3 -2
- package/dist/components/input/pk-input.d.ts.map +1 -1
- package/dist/components/input/pk-input.js +1 -1
- package/dist/components/input/pk-input.styles.d.ts.map +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.d.ts +2 -2
- package/dist/components/input-group/pk-input-group.d.ts.map +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.d.ts +2 -2
- package/dist/components/popover/pk-popover.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popup/pk-popup.d.ts +4 -0
- package/dist/components/popup/pk-popup.d.ts.map +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.d.ts +3 -1
- package/dist/components/select/pk-option-group.d.ts.map +1 -1
- package/dist/components/select/pk-option-group.js +1 -1
- package/dist/components/select/pk-option.d.ts +10 -1
- package/dist/components/select/pk-option.d.ts.map +1 -1
- package/dist/components/select/pk-option.js +1 -1
- package/dist/components/select/pk-select.d.ts +42 -3
- package/dist/components/select/pk-select.d.ts.map +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/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.d.ts.map +1 -1
- package/dist/components/tiptap/pk-tiptap-content.js +1 -1
- package/dist/components/tiptap/pk-tiptap-editor.d.ts +11 -1
- package/dist/components/tiptap/pk-tiptap-editor.d.ts.map +1 -1
- package/dist/components/tiptap/pk-tiptap-editor.js +1 -1
- package/dist/components/tiptap/pk-tiptap-editor.styles.d.ts.map +1 -1
- package/dist/components/tiptap/pk-tiptap-input.js +1 -1
- package/dist/components/tiptap/tiptap-toolbar.d.ts +1 -0
- package/dist/components/tiptap/tiptap-toolbar.d.ts.map +1 -1
- package/dist/components/tiptap/variable-tag-node-view.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 +3 -3
- package/dist/index.js +50 -50
- package/dist/internal/sync-filtered-options.d.ts +23 -0
- package/dist/internal/sync-filtered-options.d.ts.map +1 -0
- package/dist/plugin-kit.css +2 -0
- package/dist/plugin-kit.js +2 -2
- package/dist/register-components.js +1 -1
- package/dist/register-pk.generated.d.ts +4 -0
- package/dist/register-pk.generated.d.ts.map +1 -1
- package/dist/register.js +48 -48
- package/dist/utilities/fouce.css +2 -0
- package/dist/utils/async-option-fetch.d.ts +38 -0
- package/dist/utils/async-option-fetch.d.ts.map +1 -0
- package/dist/utils/option-filter.d.ts +11 -0
- package/dist/utils/option-filter.d.ts.map +1 -0
- package/dist/utils/popup-content-exit.d.ts +6 -0
- package/dist/utils/popup-content-exit.d.ts.map +1 -0
- package/dist-loader/chunks/option-filter-Bc5aNNT0.js +119 -0
- package/dist-loader/chunks/{pk-base-B21zXxSo.js → pk-base-CyzwylQ7.js} +13 -1
- package/dist-loader/chunks/{pk-button-Dh4gjLHw.js → pk-button-saBDszJV.js} +10 -6
- package/dist-loader/chunks/{pk-calendar-n1bwSO7X.js → pk-calendar-BrF8i3dW.js} +3 -3
- package/dist-loader/chunks/{pk-checkbox-BrZQB816.js → pk-checkbox-B3d4nkBx.js} +1 -1
- package/dist-loader/chunks/{pk-color-input-sS05YOwT.js → pk-color-input-CD-r_sfG.js} +1 -1
- package/dist-loader/chunks/{pk-combobox-B7q6alzE.js → pk-combobox-Cpx0w1KV.js} +49 -92
- package/dist-loader/chunks/{pk-date-picker-Dni5ty79.js → pk-date-picker-DEoiTOxN.js} +6 -6
- package/dist-loader/chunks/{pk-dialog-BpPRqFMm.js → pk-dialog-C6aaPokv.js} +3 -3
- package/dist-loader/chunks/{pk-dropdown-item-CHkFNlA9.js → pk-dropdown-item-D8RrwjxL.js} +10 -6
- package/dist-loader/chunks/pk-dropdown-label-Cg32UgRe.js +51 -0
- package/dist-loader/chunks/{pk-dropdown-menu-BHVOMNV1.js → pk-dropdown-menu-CAHCltlX.js} +5 -3
- package/dist-loader/chunks/{pk-field-CJ09ll1S.js → pk-field-V7JOy26T.js} +4 -4
- package/dist-loader/chunks/{pk-icon-WHUu7wxk.js → pk-icon-Bph-EBqp.js} +2 -2
- package/dist-loader/chunks/{pk-input-CEw3AdYt.js → pk-input-BhU0PiCk.js} +74 -28
- package/dist-loader/chunks/{pk-lightswitch-DJEUScgo.js → pk-lightswitch-m23Cy3_D.js} +1 -1
- package/dist-loader/chunks/{pk-option-CunPIei0.js → pk-option-BrDMERSl.js} +5 -4
- package/dist-loader/chunks/{pk-popup-FDdBxb4k.js → pk-popup-CrxxR-Hb.js} +24 -2
- package/dist-loader/chunks/{pk-select-CbAaQ7uE.js → pk-select-Dok-JdSe.js} +8 -6
- package/dist-loader/chunks/{pk-spinner-CIbXjDnp.js → pk-spinner-BKU9Rf2R.js} +1 -1
- package/dist-loader/chunks/{pk-status-BRIVW7EH.js → pk-status-D2g_77m_.js} +1 -1
- package/dist-loader/chunks/{pk-textarea-C_rOUtFS.js → pk-textarea-CC7rA5A7.js} +1 -1
- package/dist-loader/chunks/{pk-time-picker-Dr3uvbvc.js → pk-time-picker-h5Wgd4a_.js} +5 -5
- package/dist-loader/chunks/{pk-tooltip-HwZ0zRd2.js → pk-tooltip-Dd_Q0Bn5.js} +2 -2
- package/dist-loader/chunks/{render-Niz5wYRa.js → render-Bnzcxfss.js} +1 -1
- package/dist-loader/chunks/{svg-_Mtb7CHx.js → svg-Bz-bXZn7.js} +12 -4
- package/dist-loader/chunks/{tiptap-Db7MTUH1.js → tiptap-CgXkiK8d.js} +283 -13
- package/dist-loader/chunks/{tiptap.styles-BIRIMP7I.js → tiptap.styles-C0E1NpSx.js} +225 -5
- package/dist-loader/components/autocomplete/autocomplete.js +984 -0
- package/dist-loader/components/button/button.js +1 -1
- package/dist-loader/components/button-group/button-group-separator.js +1 -1
- package/dist-loader/components/button-group/button-group-text.js +1 -1
- package/dist-loader/components/button-group/button-group.js +1 -1
- 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 +2 -2
- package/dist-loader/components/code-editor/code-editor.js +6 -6
- 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 +4 -4
- package/dist-loader/components/connect/connect.js +6 -6
- package/dist-loader/components/copy-button/copy-button.js +48 -7
- 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 -50
- package/dist-loader/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist-loader/components/dropdown-menu/dropdown-separator.js +1 -1
- package/dist-loader/components/editable-table/editable-table.js +18 -20
- package/dist-loader/components/field/field.js +1 -1
- package/dist-loader/components/icon/icon.js +2 -2
- package/dist-loader/components/image-browser/image-browser.js +1356 -0
- package/dist-loader/components/input/input.js +1 -1
- package/dist-loader/components/input-group/input-group-addon.js +1 -1
- package/dist-loader/components/input-group/input-group-button.js +1 -1
- package/dist-loader/components/input-group/input-group-input.js +1 -1
- package/dist-loader/components/input-group/input-group-text.js +1 -1
- package/dist-loader/components/input-group/input-group-textarea.js +1 -1
- package/dist-loader/components/input-group/input-group.js +2 -2
- package/dist-loader/components/lightswitch/lightswitch.js +1 -1
- package/dist-loader/components/popover/popover.js +3 -3
- package/dist-loader/components/popup/popup.js +1 -1
- package/dist-loader/components/radio-group/radio-group.js +1 -1
- package/dist-loader/components/radio-group/radio.js +1 -1
- package/dist-loader/components/scroll-area/scroll-area.js +1 -1
- package/dist-loader/components/select/option-group.js +1 -1
- 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 +1 -1
- package/dist-loader/components/spinner/spinner.js +1 -1
- package/dist-loader/components/status/status.js +1 -1
- package/dist-loader/components/tabs/tab-heading.js +1 -1
- package/dist-loader/components/tabs/tab-panel.js +1 -1
- package/dist-loader/components/tabs/tab.js +1 -1
- package/dist-loader/components/tabs/tabs.js +1 -1
- 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 +7 -4
- package/dist-loader/components/tiptap/tiptap-editor.js +336 -20
- package/dist-loader/components/tiptap/tiptap-input.js +3 -3
- package/dist-loader/components/toggle/toggle.js +1 -1
- package/dist-loader/components/toggle-group/toggle-group.js +1 -1
- package/dist-loader/components/tooltip/tooltip.js +1 -1
- package/dist-loader/plugin-kit.css +2 -0
- package/dist-loader/plugin-kit.loader.js +4 -0
- package/dist-loader/utilities/fouce.css +2 -0
- package/package.json +57 -10
- package/dist/chunks/component-registry-CNB8PbP_.js.map +0 -1
- package/dist/chunks/pk-combobox-BLft8AXy.js.map +0 -1
- package/dist/chunks/pk-copy-button-asOLQkqk.js.map +0 -1
- package/dist/chunks/pk-dropdown-item-BoZTGWMU.js.map +0 -1
- package/dist/chunks/pk-dropdown-menu-CfZc7dIz.js.map +0 -1
- package/dist/chunks/pk-editable-table-Cn4WXqAo.js.map +0 -1
- package/dist/chunks/pk-form-associated-element-9M2NzOE2.js.map +0 -1
- package/dist/chunks/pk-input-DDkIXOkt.js.map +0 -1
- package/dist/chunks/pk-option-MGj9SKOK.js.map +0 -1
- package/dist/chunks/pk-popover-duyNosk2.js.map +0 -1
- package/dist/chunks/pk-popup-B9AgBC2V.js.map +0 -1
- package/dist/chunks/pk-select-C1s0OJr0.js.map +0 -1
- package/dist/chunks/pk-tiptap-editor-tG67Vegc.js.map +0 -1
- package/dist/chunks/tiptap.styles-ChAfyVi9.js.map +0 -1
- /package/dist-loader/chunks/{floating-ui-DU6GNott.js → floating-ui-Cj0imr6d.js} +0 -0
- /package/dist-loader/chunks/{pk-connect.styles-Bfgwu0VH.js → pk-connect.styles-k61snd3X.js} +0 -0
- /package/dist-loader/chunks/{popup-pointer-caPc8kwB.js → popup-pointer-Ck28WdVP.js} +0 -0
- /package/dist-loader/chunks/{sync-listbox-separators-Dk_E_IVa.js → sync-listbox-separators-Ch5krDUs.js} +0 -0
package/dist/register.js
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
1
|
import { n as resolveSpinnerVariant, t as getButtonSpinnerSize } from "./chunks/spinner-utils-CDfHypTv.js";
|
|
2
2
|
import { t as PkSpinner } from "./chunks/pk-spinner-DweuYJ_Z.js";
|
|
3
|
-
import { t as PkButton } from "./chunks/pk-button-
|
|
3
|
+
import { t as PkButton } from "./chunks/pk-button-BrH4u4Qr.js";
|
|
4
4
|
import "./components/button.js";
|
|
5
5
|
import { t as PkButtonGroup } from "./chunks/pk-button-group-BSz5T5iS.js";
|
|
6
6
|
import { t as PkButtonGroupSeparator } from "./chunks/pk-button-group-separator-DH3Rl24b.js";
|
|
7
7
|
import { t as PkButtonGroupText } from "./chunks/pk-button-group-text-Qro_KmZb.js";
|
|
8
8
|
import "./components/button-group.js";
|
|
9
|
-
import { t as PkCheckbox } from "./chunks/pk-checkbox-
|
|
9
|
+
import { t as PkCheckbox } from "./chunks/pk-checkbox-CfV1uDdC.js";
|
|
10
10
|
import "./components/checkbox.js";
|
|
11
|
-
import { n as PkCheckboxSelect, t as ALL_VALUE } from "./chunks/pk-checkbox-select-
|
|
11
|
+
import { n as PkCheckboxSelect, t as ALL_VALUE } from "./chunks/pk-checkbox-select-DeCaI3a0.js";
|
|
12
12
|
import "./components/checkbox-select.js";
|
|
13
|
-
import { t as PkCodeEditor } from "./chunks/pk-code-editor-
|
|
13
|
+
import { t as PkCodeEditor } from "./chunks/pk-code-editor-BG9sG_Fy.js";
|
|
14
14
|
import "./components/code-editor.js";
|
|
15
|
-
import { t as PkCombobox } from "./chunks/pk-combobox-
|
|
16
|
-
import { t as PkPopup } from "./chunks/pk-popup-
|
|
17
|
-
import { t as PkInput } from "./chunks/pk-input-
|
|
15
|
+
import { t as PkCombobox } from "./chunks/pk-combobox-CL9En0J-.js";
|
|
16
|
+
import { t as PkPopup } from "./chunks/pk-popup-B65tZMQH.js";
|
|
17
|
+
import { t as PkInput } from "./chunks/pk-input-CF_icEtR.js";
|
|
18
18
|
import "./components/input.js";
|
|
19
|
-
import { t as PkInputGroup } from "./chunks/pk-input-group-
|
|
20
|
-
import { t as PkInputGroupAddon } from "./chunks/pk-input-group-addon-
|
|
21
|
-
import { t as PkInputGroupButton } from "./chunks/pk-input-group-button-
|
|
22
|
-
import { t as PkInputGroupInput } from "./chunks/pk-input-group-input-
|
|
23
|
-
import { t as PkInputGroupText } from "./chunks/pk-input-group-text-
|
|
24
|
-
import { t as PkInputGroupTextarea } from "./chunks/pk-input-group-textarea-
|
|
19
|
+
import { t as PkInputGroup } from "./chunks/pk-input-group-BLqKPnfc.js";
|
|
20
|
+
import { t as PkInputGroupAddon } from "./chunks/pk-input-group-addon-ClBkGmAw.js";
|
|
21
|
+
import { t as PkInputGroupButton } from "./chunks/pk-input-group-button-CHQHsWd4.js";
|
|
22
|
+
import { t as PkInputGroupInput } from "./chunks/pk-input-group-input-oNnqMBGU.js";
|
|
23
|
+
import { t as PkInputGroupText } from "./chunks/pk-input-group-text-HUxlXROB.js";
|
|
24
|
+
import { t as PkInputGroupTextarea } from "./chunks/pk-input-group-textarea-Cl2FNuw-.js";
|
|
25
25
|
import "./components/input-group.js";
|
|
26
|
-
import { t as PkTextarea } from "./chunks/pk-textarea-
|
|
26
|
+
import { t as PkTextarea } from "./chunks/pk-textarea-CYM2tK88.js";
|
|
27
27
|
import "./components/textarea.js";
|
|
28
|
-
import { t as PkSeparator } from "./chunks/pk-separator-
|
|
28
|
+
import { t as PkSeparator } from "./chunks/pk-separator-N-VyjYE6.js";
|
|
29
29
|
import "./components/separator.js";
|
|
30
|
-
import { t as PkStatus } from "./chunks/pk-status-
|
|
30
|
+
import { t as PkStatus } from "./chunks/pk-status-BehQARDv.js";
|
|
31
31
|
import "./components/status.js";
|
|
32
|
-
import { t as PkToggle } from "./chunks/pk-toggle-
|
|
32
|
+
import { t as PkToggle } from "./chunks/pk-toggle-BthhH7vl.js";
|
|
33
33
|
import "./components/toggle.js";
|
|
34
|
-
import { t as PkToggleGroup } from "./chunks/pk-toggle-group-
|
|
34
|
+
import { t as PkToggleGroup } from "./chunks/pk-toggle-group-D2Quux8D.js";
|
|
35
35
|
import "./components/toggle-group.js";
|
|
36
|
-
import { t as PkLightswitch } from "./chunks/pk-lightswitch-
|
|
36
|
+
import { t as PkLightswitch } from "./chunks/pk-lightswitch-D1qEFRxK.js";
|
|
37
37
|
import "./components/lightswitch.js";
|
|
38
|
-
import { t as PkDialog } from "./chunks/pk-dialog-
|
|
38
|
+
import { t as PkDialog } from "./chunks/pk-dialog-VMQqLW1f.js";
|
|
39
39
|
import { PkIcon } from "./components/icon/pk-icon.js";
|
|
40
40
|
import { PkConnect } from "./components/connect/pk-connect.js";
|
|
41
41
|
import { PkConnectOauth } from "./components/connect/pk-connect-oauth.js";
|
|
42
42
|
import "./components/connect.js";
|
|
43
|
-
import { t as PkCopyButton } from "./chunks/pk-copy-button-
|
|
43
|
+
import { t as PkCopyButton } from "./chunks/pk-copy-button-BVaOLtYG.js";
|
|
44
44
|
import "./components/copy-button.js";
|
|
45
45
|
import "./components/dialog.js";
|
|
46
|
-
import { t as PkDropdownItem } from "./chunks/pk-dropdown-item-
|
|
47
|
-
import { t as PkDropdownMenu } from "./chunks/pk-dropdown-menu-
|
|
48
|
-
import { t as PkDropdownLabel } from "./chunks/pk-dropdown-label-
|
|
46
|
+
import { t as PkDropdownItem } from "./chunks/pk-dropdown-item-D9OaG5o-.js";
|
|
47
|
+
import { t as PkDropdownMenu } from "./chunks/pk-dropdown-menu-DW1wI8xQ.js";
|
|
48
|
+
import { t as PkDropdownLabel } from "./chunks/pk-dropdown-label-CRNWMWQd.js";
|
|
49
49
|
import { PkDropdownSeparator } from "./components/dropdown-menu/pk-dropdown-separator.js";
|
|
50
50
|
import "./components/dropdown-menu.js";
|
|
51
|
-
import { t as PkColorInput } from "./chunks/pk-color-input-
|
|
52
|
-
import { t as PkCalendar } from "./chunks/pk-calendar-
|
|
53
|
-
import { t as PkDatePicker } from "./chunks/pk-date-picker-
|
|
54
|
-
import { t as PkOption } from "./chunks/pk-option-
|
|
55
|
-
import { t as PkSelect } from "./chunks/pk-select-
|
|
56
|
-
import { t as PkTimePicker } from "./chunks/pk-time-picker-
|
|
57
|
-
import { t as PkEditableTable } from "./chunks/pk-editable-table-
|
|
58
|
-
import { t as PkField } from "./chunks/pk-field-
|
|
51
|
+
import { t as PkColorInput } from "./chunks/pk-color-input-CncNce1C.js";
|
|
52
|
+
import { t as PkCalendar } from "./chunks/pk-calendar-Z7Y0PjeY.js";
|
|
53
|
+
import { t as PkDatePicker } from "./chunks/pk-date-picker-BEAd4Ngl.js";
|
|
54
|
+
import { t as PkOption } from "./chunks/pk-option-DQZHV9jL.js";
|
|
55
|
+
import { t as PkSelect } from "./chunks/pk-select-CdQdhnZN.js";
|
|
56
|
+
import { t as PkTimePicker } from "./chunks/pk-time-picker-CebRqydV.js";
|
|
57
|
+
import { t as PkEditableTable } from "./chunks/pk-editable-table-BoqfveXO.js";
|
|
58
|
+
import { t as PkField } from "./chunks/pk-field-UAlMq6mQ.js";
|
|
59
59
|
import "./components/field.js";
|
|
60
|
-
import { t as PkPopover } from "./chunks/pk-popover-
|
|
60
|
+
import { t as PkPopover } from "./chunks/pk-popover-D3jkHfwB.js";
|
|
61
61
|
import "./components/popover.js";
|
|
62
62
|
import "./components/popup.js";
|
|
63
|
-
import { t as PkTooltip } from "./chunks/pk-tooltip
|
|
63
|
+
import { t as PkTooltip } from "./chunks/pk-tooltip--QBV6puX.js";
|
|
64
64
|
import "./components/tooltip.js";
|
|
65
|
-
import { t as PkRadio } from "./chunks/pk-radio-
|
|
66
|
-
import { t as PkRadioGroup } from "./chunks/pk-radio-group-
|
|
65
|
+
import { t as PkRadio } from "./chunks/pk-radio-B5XkMHy3.js";
|
|
66
|
+
import { t as PkRadioGroup } from "./chunks/pk-radio-group-ByrxGLdX.js";
|
|
67
67
|
import "./components/radio-group.js";
|
|
68
|
-
import { t as PkTab } from "./chunks/pk-tab-
|
|
69
|
-
import { t as PkTabHeading } from "./chunks/pk-tab-heading-
|
|
70
|
-
import { t as PkTabPanel } from "./chunks/pk-tab-panel-
|
|
71
|
-
import { t as PkTabs } from "./chunks/pk-tabs-
|
|
68
|
+
import { t as PkTab } from "./chunks/pk-tab-CTloD18e.js";
|
|
69
|
+
import { t as PkTabHeading } from "./chunks/pk-tab-heading-Cjcgebxn.js";
|
|
70
|
+
import { t as PkTabPanel } from "./chunks/pk-tab-panel-CkKU5-Ah.js";
|
|
71
|
+
import { t as PkTabs } from "./chunks/pk-tabs-BgEBki1q.js";
|
|
72
72
|
import "./components/tabs.js";
|
|
73
|
-
import { t as PkScrollArea } from "./chunks/pk-scroll-area-
|
|
73
|
+
import { t as PkScrollArea } from "./chunks/pk-scroll-area-CdfNxYz8.js";
|
|
74
74
|
import "./components/scroll-area.js";
|
|
75
75
|
import "./components/color-input.js";
|
|
76
76
|
import "./components/calendar.js";
|
|
77
77
|
import "./components/date-picker.js";
|
|
78
|
-
import { t as PkOptionGroup } from "./chunks/pk-option-group-
|
|
78
|
+
import { t as PkOptionGroup } from "./chunks/pk-option-group-CCzJkBFp.js";
|
|
79
79
|
import "./components/select.js";
|
|
80
80
|
import "./components/time-picker.js";
|
|
81
81
|
import "./components/spinner.js";
|
|
82
|
-
import { t as PkTiptapContent } from "./chunks/pk-tiptap-content-
|
|
83
|
-
import { t as PkTiptapEditor } from "./chunks/pk-tiptap-editor-
|
|
84
|
-
import { t as PkTiptapInput } from "./chunks/pk-tiptap-input-
|
|
85
|
-
import { t as registerAll } from "./chunks/register-
|
|
86
|
-
import { t as BUNDLER_TAG_IMPORT_PATHS } from "./chunks/component-registry-
|
|
87
|
-
import { t as createRegisterComponents } from "./chunks/register-components-
|
|
82
|
+
import { t as PkTiptapContent } from "./chunks/pk-tiptap-content-CL8smjGi.js";
|
|
83
|
+
import { t as PkTiptapEditor } from "./chunks/pk-tiptap-editor-CTz-yfHL.js";
|
|
84
|
+
import { t as PkTiptapInput } from "./chunks/pk-tiptap-input-Y9eog9Zn.js";
|
|
85
|
+
import { t as registerAll } from "./chunks/register-aJw-9RWi.js";
|
|
86
|
+
import { t as BUNDLER_TAG_IMPORT_PATHS } from "./chunks/component-registry-D34fm8xW.js";
|
|
87
|
+
import { t as createRegisterComponents } from "./chunks/register-components-BT9THgdh.js";
|
|
88
88
|
export { ALL_VALUE, PkButton, PkButtonGroup, PkButtonGroupSeparator, PkButtonGroupText, PkCalendar, PkCheckbox, PkCheckboxSelect, PkCodeEditor, PkColorInput, PkCombobox, PkConnect, PkConnectOauth, PkCopyButton, PkDatePicker, PkDialog, PkDropdownItem, PkDropdownLabel, PkDropdownMenu, PkDropdownSeparator, PkEditableTable, PkField, PkIcon, PkInput, PkInputGroup, PkInputGroupAddon, PkInputGroupButton, PkInputGroupInput, PkInputGroupText, PkInputGroupTextarea, PkLightswitch, PkOption, PkOptionGroup, PkPopover, PkPopup, PkRadio, PkRadioGroup, PkScrollArea, PkSelect, PkSeparator, PkSpinner, PkStatus, PkTab, PkTabHeading, PkTabPanel, PkTabs, PkTextarea, PkTimePicker, PkTiptapContent, PkTiptapEditor, PkTiptapInput, PkToggle, PkToggleGroup, PkTooltip, BUNDLER_TAG_IMPORT_PATHS as componentImportPaths, createRegisterComponents, getButtonSpinnerSize, registerAll, resolveSpinnerVariant };
|
package/dist/utilities/fouce.css
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Debounced async option fetch with abort + stale-request guards.
|
|
3
|
+
* Used by Combobox and Autocomplete so both share one loading lifecycle.
|
|
4
|
+
*/
|
|
5
|
+
export type PkAsyncOptionItem = {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
};
|
|
9
|
+
export type PkAsyncOptionFetchHandler = (query: string, signal: AbortSignal) => Promise<PkAsyncOptionItem[]>;
|
|
10
|
+
export type PkAsyncOptionFetchCallbacks = {
|
|
11
|
+
/** Called when a fetch starts (non-empty query). */
|
|
12
|
+
onLoading?: () => void;
|
|
13
|
+
/** Apply results for the latest request (may be empty). */
|
|
14
|
+
onResults: (items: PkAsyncOptionItem[]) => void;
|
|
15
|
+
/** Called when a non-abort failure occurs for the latest request. */
|
|
16
|
+
onError?: (message: string) => void;
|
|
17
|
+
/** Called when loading ends for the latest request (success or error). */
|
|
18
|
+
onSettled?: () => void;
|
|
19
|
+
/** Empty query — typically show selected meta or clear. */
|
|
20
|
+
onEmptyQuery?: () => void;
|
|
21
|
+
/** Log context when a fetch throws (defaults to "options"). */
|
|
22
|
+
errorLabel?: string;
|
|
23
|
+
debounceMs?: number;
|
|
24
|
+
};
|
|
25
|
+
export declare class AsyncOptionFetcher {
|
|
26
|
+
private readonly getHandler;
|
|
27
|
+
private timer;
|
|
28
|
+
private requestId;
|
|
29
|
+
private abortController;
|
|
30
|
+
private readonly debounceMs;
|
|
31
|
+
private readonly errorLabel;
|
|
32
|
+
private readonly callbacks;
|
|
33
|
+
constructor(getHandler: () => PkAsyncOptionFetchHandler | null, callbacks: PkAsyncOptionFetchCallbacks);
|
|
34
|
+
schedule(query: string): void;
|
|
35
|
+
cancel(): void;
|
|
36
|
+
private run;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=async-option-fetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"async-option-fetch.d.ts","sourceRoot":"","sources":["../../src/utils/async-option-fetch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CACpC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,WAAW,KAClB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;AAElC,MAAM,MAAM,2BAA2B,GAAG;IACtC,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2DAA2D;IAC3D,SAAS,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAChD,qEAAqE;IACrE,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,qBAAa,kBAAkB;IASvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAR/B,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,eAAe,CAAgC;IACvD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA8B;gBAGnC,UAAU,EAAE,MAAM,yBAAyB,GAAG,IAAI,EACnE,SAAS,EAAE,2BAA2B;IAO1C,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAW7B,MAAM,IAAI,IAAI;YAUA,GAAG;CA4CpB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PkOption } from '../components/select/pk-option.js';
|
|
2
|
+
/** Custom option filter — `(option, query) => boolean`. Query is already lowercased. */
|
|
3
|
+
export type PkOptionFilter = (option: PkOption, query: string) => boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Default Combobox / Autocomplete filter: label, value, or full search text substring.
|
|
6
|
+
* Rich options may set a short `label` for the closed input — still match subtitle text.
|
|
7
|
+
*/
|
|
8
|
+
export declare function defaultOptionFilter(option: PkOption, query: string): boolean;
|
|
9
|
+
/** Resolve a custom filter or the default substring match. */
|
|
10
|
+
export declare function matchesOptionFilter(option: PkOption, query: string, filter: PkOptionFilter | null | undefined): boolean;
|
|
11
|
+
//# sourceMappingURL=option-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"option-filter.d.ts","sourceRoot":"","sources":["../../src/utils/option-filter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAElE,wFAAwF;AACxF,MAAM,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;AAE1E;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAM5E;AAED,8DAA8D;AAC9D,wBAAgB,mBAAmB,CAC/B,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAMT"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wait for `pk-popup-content-out` on a listbox panel, then clear the `closing` class.
|
|
3
|
+
* Shared by Combobox and Autocomplete so exit motion stays one implementation.
|
|
4
|
+
*/
|
|
5
|
+
export declare function waitForPopupContentExitAnimation(panel: HTMLElement | null | undefined, fallbackMs?: number): Promise<void>;
|
|
6
|
+
//# sourceMappingURL=popup-content-exit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popup-content-exit.d.ts","sourceRoot":"","sources":["../../src/utils/popup-content-exit.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,gCAAgC,CAC5C,KAAK,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,EACrC,UAAU,SAAM,GACjB,OAAO,CAAC,IAAI,CAAC,CA8Bf"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { t as syncListboxSeparators } from "./sync-listbox-separators-Ch5krDUs.js";
|
|
2
|
+
//#region src/utils/popup-content-exit.ts
|
|
3
|
+
/**
|
|
4
|
+
* Wait for `pk-popup-content-out` on a listbox panel, then clear the `closing` class.
|
|
5
|
+
* Shared by Combobox and Autocomplete so exit motion stays one implementation.
|
|
6
|
+
*/
|
|
7
|
+
function waitForPopupContentExitAnimation(panel, fallbackMs = 150) {
|
|
8
|
+
if (!panel) return Promise.resolve();
|
|
9
|
+
return new Promise((resolve) => {
|
|
10
|
+
let settled = false;
|
|
11
|
+
const finish = () => {
|
|
12
|
+
if (settled) return;
|
|
13
|
+
settled = true;
|
|
14
|
+
panel.removeEventListener("animationend", onAnimationEnd);
|
|
15
|
+
window.clearTimeout(fallback);
|
|
16
|
+
panel.classList.remove("closing");
|
|
17
|
+
resolve();
|
|
18
|
+
};
|
|
19
|
+
const onAnimationEnd = (event) => {
|
|
20
|
+
if (event.target === panel && event.animationName.startsWith("pk-popup-content-out")) finish();
|
|
21
|
+
};
|
|
22
|
+
panel.classList.add("closing");
|
|
23
|
+
panel.addEventListener("animationend", onAnimationEnd);
|
|
24
|
+
const fallback = window.setTimeout(finish, fallbackMs);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/internal/sync-filtered-options.ts
|
|
29
|
+
/**
|
|
30
|
+
* Apply filter visibility, match highlight, option ids, and group empty markers.
|
|
31
|
+
* Shared by Combobox and Autocomplete — not a full listbox controller.
|
|
32
|
+
*/
|
|
33
|
+
function syncFilteredOptions(config) {
|
|
34
|
+
const { host, options, visible, listboxId, filterQuery, isSelected } = config;
|
|
35
|
+
for (const option of options) {
|
|
36
|
+
option.selected = isSelected(option.value);
|
|
37
|
+
option.hidden = !visible.includes(option);
|
|
38
|
+
option.optionId = `${listboxId}-option-${option.value}`;
|
|
39
|
+
option.matchQuery = filterQuery;
|
|
40
|
+
}
|
|
41
|
+
for (const group of host.querySelectorAll("pk-option-group")) {
|
|
42
|
+
const groupOptions = [...group.querySelectorAll("pk-option")];
|
|
43
|
+
const filterEmpty = groupOptions.length > 0 && groupOptions.every((option) => option.hidden);
|
|
44
|
+
group.toggleAttribute("data-pk-filter-empty", filterEmpty);
|
|
45
|
+
}
|
|
46
|
+
syncListboxSeparators(host);
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/utils/async-option-fetch.ts
|
|
50
|
+
var AsyncOptionFetcher = class {
|
|
51
|
+
constructor(getHandler, callbacks) {
|
|
52
|
+
this.getHandler = getHandler;
|
|
53
|
+
this.timer = null;
|
|
54
|
+
this.requestId = 0;
|
|
55
|
+
this.abortController = null;
|
|
56
|
+
this.callbacks = callbacks;
|
|
57
|
+
this.debounceMs = callbacks.debounceMs ?? 200;
|
|
58
|
+
this.errorLabel = callbacks.errorLabel ?? "options";
|
|
59
|
+
}
|
|
60
|
+
schedule(query) {
|
|
61
|
+
if (this.timer !== null) window.clearTimeout(this.timer);
|
|
62
|
+
this.timer = window.setTimeout(() => {
|
|
63
|
+
this.timer = null;
|
|
64
|
+
this.run(query);
|
|
65
|
+
}, this.debounceMs);
|
|
66
|
+
}
|
|
67
|
+
cancel() {
|
|
68
|
+
if (this.timer !== null) {
|
|
69
|
+
window.clearTimeout(this.timer);
|
|
70
|
+
this.timer = null;
|
|
71
|
+
}
|
|
72
|
+
this.abortController?.abort();
|
|
73
|
+
this.abortController = null;
|
|
74
|
+
}
|
|
75
|
+
async run(query) {
|
|
76
|
+
const handler = this.getHandler();
|
|
77
|
+
if (!handler) return;
|
|
78
|
+
const requestId = ++this.requestId;
|
|
79
|
+
this.abortController?.abort();
|
|
80
|
+
this.abortController = new AbortController();
|
|
81
|
+
if (!query) {
|
|
82
|
+
this.callbacks.onEmptyQuery?.();
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
this.callbacks.onLoading?.();
|
|
86
|
+
try {
|
|
87
|
+
const results = await handler(query, this.abortController.signal);
|
|
88
|
+
if (requestId !== this.requestId) return;
|
|
89
|
+
this.callbacks.onResults(results);
|
|
90
|
+
} catch (error) {
|
|
91
|
+
if (this.abortController?.signal.aborted || requestId !== this.requestId) return;
|
|
92
|
+
if (error instanceof DOMException && error.name === "AbortError") return;
|
|
93
|
+
console.error(`Failed to load ${this.errorLabel}:`, error);
|
|
94
|
+
this.callbacks.onError?.("Failed to load options. Please try again.");
|
|
95
|
+
this.callbacks.onResults([]);
|
|
96
|
+
} finally {
|
|
97
|
+
if (requestId === this.requestId) this.callbacks.onSettled?.();
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/utils/option-filter.ts
|
|
103
|
+
/**
|
|
104
|
+
* Default Combobox / Autocomplete filter: label, value, or full search text substring.
|
|
105
|
+
* Rich options may set a short `label` for the closed input — still match subtitle text.
|
|
106
|
+
*/
|
|
107
|
+
function defaultOptionFilter(option, query) {
|
|
108
|
+
const label = option.getLabel().toLowerCase();
|
|
109
|
+
const value = option.value.toLowerCase();
|
|
110
|
+
const searchText = (option.getSearchText?.() ?? label).toLowerCase();
|
|
111
|
+
return label.includes(query) || value.includes(query) || searchText.includes(query);
|
|
112
|
+
}
|
|
113
|
+
/** Resolve a custom filter or the default substring match. */
|
|
114
|
+
function matchesOptionFilter(option, query, filter) {
|
|
115
|
+
if (filter) return filter(option, query);
|
|
116
|
+
return defaultOptionFilter(option, query);
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
119
|
+
export { waitForPopupContentExitAnimation as i, AsyncOptionFetcher as n, syncFilteredOptions as r, matchesOptionFilter as t };
|
|
@@ -261,7 +261,15 @@ function CustomErrorValidator() {
|
|
|
261
261
|
//#endregion
|
|
262
262
|
//#region src/base/pk-form-associated-element.ts
|
|
263
263
|
/**
|
|
264
|
-
* Form-associated custom element base —
|
|
264
|
+
* Form-associated custom element base — ElementInternals + shared validity helpers.
|
|
265
|
+
*
|
|
266
|
+
* @cssstate disabled - The control is disabled.
|
|
267
|
+
* @cssstate required - The control is required.
|
|
268
|
+
* @cssstate optional - The control is not required.
|
|
269
|
+
* @cssstate invalid - The control currently fails constraint validation.
|
|
270
|
+
* @cssstate valid - The control currently passes constraint validation.
|
|
271
|
+
* @cssstate user-invalid - Invalid after the user has interacted with the control.
|
|
272
|
+
* @cssstate user-valid - Valid after the user has interacted with the control.
|
|
265
273
|
*/
|
|
266
274
|
var PkFormAssociatedElement = class extends PkElement {
|
|
267
275
|
static {
|
|
@@ -379,20 +387,24 @@ var PkFormAssociatedElement = class extends PkElement {
|
|
|
379
387
|
getForm() {
|
|
380
388
|
return this.internals.form;
|
|
381
389
|
}
|
|
390
|
+
/** Runs constraint validation without showing the browser UI. */
|
|
382
391
|
checkValidity() {
|
|
383
392
|
this.updateValidity();
|
|
384
393
|
return this.internals.checkValidity();
|
|
385
394
|
}
|
|
395
|
+
/** Runs constraint validation and shows the browser UI when invalid. */
|
|
386
396
|
reportValidity() {
|
|
387
397
|
this.updateValidity();
|
|
388
398
|
this.hasInteracted = true;
|
|
389
399
|
return this.internals.reportValidity();
|
|
390
400
|
}
|
|
401
|
+
/** Clears custom errors and re-syncs validity state. */
|
|
391
402
|
resetValidity() {
|
|
392
403
|
this.setCustomValidity("");
|
|
393
404
|
this.internals.setValidity({});
|
|
394
405
|
this.syncCustomStates();
|
|
395
406
|
}
|
|
407
|
+
/** Sets or clears a custom validation message. */
|
|
396
408
|
setCustomValidity(message) {
|
|
397
409
|
if (!message) {
|
|
398
410
|
this.customError = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as o, c as r, f as A, i as e, l as n, m as i, p as b, u as customElement } from "./lit-DpLik9Rf.js";
|
|
2
|
-
import { c as __decorate, l as PkElement, s as iconStyles, u as hostDisplayInlineBlock } from "./pk-base-
|
|
3
|
-
import "./pk-spinner-
|
|
4
|
-
import { h as chevronDown, t as iconToSvg } from "./svg-
|
|
2
|
+
import { c as __decorate, l as PkElement, s as iconStyles, u as hostDisplayInlineBlock } from "./pk-base-CyzwylQ7.js";
|
|
3
|
+
import "./pk-spinner-BKU9Rf2R.js";
|
|
4
|
+
import { h as chevronDown, t as iconToSvg } from "./svg-Bz-bXZn7.js";
|
|
5
5
|
import { i as buttonGroupIndentStyles, n as buttonGroupCornerRadiusStyles, r as buttonGroupCornerRoleStyles, t as buttonGroupBorderJoinStyles } from "./button-group-item.styles-CsBQ3Cyh.js";
|
|
6
6
|
//#region src/components/spinner/spinner-utils.ts
|
|
7
7
|
function getButtonSpinnerSize(buttonSize = "default") {
|
|
@@ -637,6 +637,7 @@ var PkButton = class PkButton extends PkElement {
|
|
|
637
637
|
this.groupTrigger = false;
|
|
638
638
|
this.icon = false;
|
|
639
639
|
this.title = "";
|
|
640
|
+
this.ariaLabel = null;
|
|
640
641
|
this.type = "button";
|
|
641
642
|
this.hasDefaultSlotContent = false;
|
|
642
643
|
this.hasStartSlotContent = false;
|
|
@@ -728,15 +729,17 @@ var PkButton = class PkButton extends PkElement {
|
|
|
728
729
|
render() {
|
|
729
730
|
const spinnerSize = this.spinnerSize || getButtonSpinnerSize(this.size);
|
|
730
731
|
const spinnerVariant = resolveSpinnerVariant(this.variant, this.spinnerVariant);
|
|
732
|
+
const isLink = Boolean(this.href);
|
|
733
|
+
const accessibleName = this.ariaLabel || this.title || "";
|
|
731
734
|
return b`
|
|
732
|
-
${
|
|
735
|
+
${isLink ? b`
|
|
733
736
|
<a
|
|
734
737
|
part="base"
|
|
735
738
|
class=${this.buttonClasses()}
|
|
736
739
|
href=${this.href}
|
|
737
740
|
target=${this.target ?? A}
|
|
738
741
|
rel=${this.rel ?? A}
|
|
739
|
-
|
|
742
|
+
aria-label=${accessibleName || A}
|
|
740
743
|
>
|
|
741
744
|
${this.renderInner(spinnerSize, spinnerVariant)}
|
|
742
745
|
</a>
|
|
@@ -748,9 +751,9 @@ var PkButton = class PkButton extends PkElement {
|
|
|
748
751
|
?disabled=${this.disabled}
|
|
749
752
|
aria-disabled=${this.disabled ? "true" : A}
|
|
750
753
|
aria-busy=${this.loading ? "true" : A}
|
|
754
|
+
aria-label=${accessibleName || A}
|
|
751
755
|
name=${this.name ?? A}
|
|
752
756
|
value=${this.value ?? A}
|
|
753
|
-
title=${this.title || A}
|
|
754
757
|
>
|
|
755
758
|
${this.renderInner(spinnerSize, spinnerVariant)}
|
|
756
759
|
</button>
|
|
@@ -840,6 +843,7 @@ __decorate([n()], PkButton.prototype, "rel", void 0);
|
|
|
840
843
|
__decorate([n()], PkButton.prototype, "name", void 0);
|
|
841
844
|
__decorate([n()], PkButton.prototype, "value", void 0);
|
|
842
845
|
__decorate([n()], PkButton.prototype, "title", void 0);
|
|
846
|
+
__decorate([n({ attribute: "aria-label" })], PkButton.prototype, "ariaLabel", void 0);
|
|
843
847
|
__decorate([n()], PkButton.prototype, "type", void 0);
|
|
844
848
|
__decorate([n({ reflect: true })], PkButton.prototype, "form", void 0);
|
|
845
849
|
__decorate([r()], PkButton.prototype, "hasDefaultSlotContent", void 0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as o$1, c as r, f as A, i as e, l as n, m as i, o, p as b, u as customElement } from "./lit-DpLik9Rf.js";
|
|
2
|
-
import { c as __decorate, l as PkElement, s as iconStyles } from "./pk-base-
|
|
3
|
-
import { _ as chevronRight, g as chevronLeft } from "./svg-
|
|
2
|
+
import { c as __decorate, l as PkElement, s as iconStyles } from "./pk-base-CyzwylQ7.js";
|
|
3
|
+
import { _ as chevronRight, g as chevronLeft } from "./svg-Bz-bXZn7.js";
|
|
4
4
|
import { t as HasSlotController } from "./has-slot-BGJeJdHr.js";
|
|
5
|
-
import { n as renderIconHtml } from "./render-
|
|
5
|
+
import { n as renderIconHtml } from "./render-Bnzcxfss.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})$/;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as customElement } from "./lit-DpLik9Rf.js";
|
|
2
|
-
import { c as __decorate, i as PkFormAssociatedElement, r as checkboxControlStyles } from "./pk-base-
|
|
2
|
+
import { c as __decorate, i as PkFormAssociatedElement, r as checkboxControlStyles } from "./pk-base-CyzwylQ7.js";
|
|
3
3
|
import { t as RequiredValidator } from "./required-validator-0XwZtX9k.js";
|
|
4
4
|
import { t as HasSlotController } from "./has-slot-BGJeJdHr.js";
|
|
5
5
|
//#region src/icons/checkbox-indicators.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as r, f as A, i as e, l as n, m as i, p as b, s as e$1, u as customElement } from "./lit-DpLik9Rf.js";
|
|
2
|
-
import { c as __decorate, i as PkFormAssociatedElement } from "./pk-base-
|
|
2
|
+
import { c as __decorate, i as PkFormAssociatedElement } from "./pk-base-CyzwylQ7.js";
|
|
3
3
|
import { t as MirrorValidator } from "./mirror-validator-C5XrXPaq.js";
|
|
4
4
|
import { t as RequiredValidator } from "./required-validator-0XwZtX9k.js";
|
|
5
5
|
//#region src/components/color-input/pk-color-input.styles.ts
|