@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as SUPPORTS_POPOVER } from "./supports-popover-COjbi2RP.js";
|
|
2
2
|
import { f as A, i as e$1, l as n, m as i$1, p as b, s as e$2, u as customElement } from "./lit-DpLik9Rf.js";
|
|
3
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
3
|
+
import { c as __decorate, l as PkElement } from "./pk-base-CyzwylQ7.js";
|
|
4
4
|
import { t as computePopupTransformOrigin } from "./popup-placement-animation-WlEXnS85.js";
|
|
5
|
-
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-
|
|
5
|
+
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-Cj0imr6d.js";
|
|
6
6
|
//#region src/internal/resolve-element-by-id.ts
|
|
7
7
|
/** Resolve an element id from the same root as the host (shadow or document), then the document. */
|
|
8
8
|
function resolveElementById(host, id) {
|
|
@@ -179,6 +179,7 @@ var PkPopup = class PkPopup extends PkElement {
|
|
|
179
179
|
this.arrow = false;
|
|
180
180
|
this.arrowPlacement = "anchor";
|
|
181
181
|
this.arrowPadding = 10;
|
|
182
|
+
this.autoSizePadding = 8;
|
|
182
183
|
this.anchorTracking = true;
|
|
183
184
|
this.hoverBridge = false;
|
|
184
185
|
this.anchorElement = null;
|
|
@@ -239,6 +240,22 @@ var PkPopup = class PkPopup extends PkElement {
|
|
|
239
240
|
boundary: scrollBoundary,
|
|
240
241
|
padding: this.shiftPadding
|
|
241
242
|
}));
|
|
243
|
+
if (this.autoSize) middleware.push(size({
|
|
244
|
+
boundary: scrollBoundary,
|
|
245
|
+
padding: this.autoSizePadding,
|
|
246
|
+
apply: ({ availableHeight, availableWidth }) => {
|
|
247
|
+
const constrainWidth = this.autoSize === "horizontal" || this.autoSize === "both";
|
|
248
|
+
const constrainHeight = this.autoSize === "vertical" || this.autoSize === "both";
|
|
249
|
+
if (constrainWidth) floatingElement.style.setProperty("--pk-popup-available-width", `${Math.max(0, Math.floor(availableWidth))}px`);
|
|
250
|
+
else floatingElement.style.removeProperty("--pk-popup-available-width");
|
|
251
|
+
if (constrainHeight) floatingElement.style.setProperty("--pk-popup-available-height", `${Math.max(0, Math.floor(availableHeight))}px`);
|
|
252
|
+
else floatingElement.style.removeProperty("--pk-popup-available-height");
|
|
253
|
+
}
|
|
254
|
+
}));
|
|
255
|
+
else {
|
|
256
|
+
floatingElement.style.removeProperty("--pk-popup-available-width");
|
|
257
|
+
floatingElement.style.removeProperty("--pk-popup-available-height");
|
|
258
|
+
}
|
|
242
259
|
if (this.arrow && arrowTarget) middleware.push(arrow({
|
|
243
260
|
element: arrowTarget,
|
|
244
261
|
padding: this.arrowPadding
|
|
@@ -538,6 +555,11 @@ __decorate([n({
|
|
|
538
555
|
type: Number
|
|
539
556
|
})], PkPopup.prototype, "arrowPadding", void 0);
|
|
540
557
|
__decorate([n()], PkPopup.prototype, "sync", void 0);
|
|
558
|
+
__decorate([n({ attribute: "auto-size" })], PkPopup.prototype, "autoSize", void 0);
|
|
559
|
+
__decorate([n({
|
|
560
|
+
attribute: "auto-size-padding",
|
|
561
|
+
type: Number
|
|
562
|
+
})], PkPopup.prototype, "autoSizePadding", void 0);
|
|
541
563
|
__decorate([n({
|
|
542
564
|
attribute: "anchor-tracking",
|
|
543
565
|
type: Boolean
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { d as registerDismissible, f as unregisterDismissible, n as uniqueId, s as scrollIntoView, u as isTopDismissible } from "./pk-a11y-CjB4-U-R.js";
|
|
2
2
|
import { a as o, 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";
|
|
3
|
-
import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "./pk-base-
|
|
4
|
-
import { h as chevronDown } from "./svg-
|
|
3
|
+
import { c as __decorate, i as PkFormAssociatedElement, s as iconStyles } from "./pk-base-CyzwylQ7.js";
|
|
4
|
+
import { h as chevronDown } from "./svg-Bz-bXZn7.js";
|
|
5
5
|
import { t as MirrorValidator } from "./mirror-validator-C5XrXPaq.js";
|
|
6
6
|
import { t as HasSlotController } from "./has-slot-BGJeJdHr.js";
|
|
7
7
|
import { t as PkClearEvent } from "./pk-clear-BMZUzwDt.js";
|
|
8
|
-
import { n as renderIconHtml } from "./render-
|
|
8
|
+
import { n as renderIconHtml } from "./render-Bnzcxfss.js";
|
|
9
9
|
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C3tSQ3UR.js";
|
|
10
10
|
import { i as waitForPopupReposition, r as syncPopupPlacementAnimation } from "./popup-placement-animation-WlEXnS85.js";
|
|
11
11
|
import { t as popupContentAnimationStyles } from "./popup-content-animation.styles-duCg9-CH.js";
|
|
12
|
-
import "./pk-popup-
|
|
13
|
-
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-
|
|
14
|
-
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS, r as createTypeToSelectHandler, t as syncListboxSeparators } from "./sync-listbox-separators-
|
|
12
|
+
import "./pk-popup-CrxxR-Hb.js";
|
|
13
|
+
import { n as isPointerInsideOverlay, t as isEventInsideOverlay } from "./popup-pointer-Ck28WdVP.js";
|
|
14
|
+
import { a as isListboxTypeToSelectKey, i as handleListboxKeyDown, n as LISTBOX_NAVIGATION_KEYS, r as createTypeToSelectHandler, t as syncListboxSeparators } from "./sync-listbox-separators-Ch5krDUs.js";
|
|
15
15
|
//#region src/components/select/pk-select.styles.ts
|
|
16
16
|
var pkSelectStyles = [popupContentAnimationStyles, i`
|
|
17
17
|
${iconStyles}
|
|
@@ -740,10 +740,12 @@ var PkSelect = class PkSelect extends PkFormAssociatedElement {
|
|
|
740
740
|
getActiveDescendantId() {
|
|
741
741
|
return this.getEnabledVisibleOptions()[this.highlightedIndex]?.optionId || null;
|
|
742
742
|
}
|
|
743
|
+
/** Opens the listbox. */
|
|
743
744
|
async show() {
|
|
744
745
|
if (this.open || this.closing || this.disabled) return;
|
|
745
746
|
await this.openPanel();
|
|
746
747
|
}
|
|
748
|
+
/** Closes the listbox. */
|
|
747
749
|
async hide(source = "api") {
|
|
748
750
|
if (!this.open || this.closing) return;
|
|
749
751
|
await this.closePanel(source);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as n, m as i, p as b, u as customElement } from "./lit-DpLik9Rf.js";
|
|
2
|
-
import { c as __decorate, l as PkElement, u as hostDisplayInlineBlock } from "./pk-base-
|
|
2
|
+
import { c as __decorate, l as PkElement, u as hostDisplayInlineBlock } from "./pk-base-CyzwylQ7.js";
|
|
3
3
|
//#region src/components/spinner/pk-spinner.styles.ts
|
|
4
4
|
var pkSpinnerStyles = [hostDisplayInlineBlock, i`
|
|
5
5
|
@layer pk-component {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as A, l as n, m as i, p as b, u as customElement } from "./lit-DpLik9Rf.js";
|
|
2
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
2
|
+
import { c as __decorate, l as PkElement } from "./pk-base-CyzwylQ7.js";
|
|
3
3
|
//#region src/components/status/pk-status.styles.ts
|
|
4
4
|
var pkStatusStyles = i`
|
|
5
5
|
@layer pk-component {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as uniqueId } from "./pk-a11y-CjB4-U-R.js";
|
|
2
2
|
import { c as r, f as A, l as n, m as i, n as l, p as b, r as o, s as e, u as customElement } from "./lit-DpLik9Rf.js";
|
|
3
|
-
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, o as syncStandaloneControlAria } from "./pk-base-
|
|
3
|
+
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles, o as syncStandaloneControlAria } from "./pk-base-CyzwylQ7.js";
|
|
4
4
|
import { t as MirrorValidator } from "./mirror-validator-C5XrXPaq.js";
|
|
5
5
|
import { t as RequiredValidator } from "./required-validator-0XwZtX9k.js";
|
|
6
6
|
import { t as HasSlotController } from "./has-slot-BGJeJdHr.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { m as i, u as customElement } from "./lit-DpLik9Rf.js";
|
|
2
|
-
import { c as __decorate } from "./pk-base-
|
|
3
|
-
import { v as clock } from "./svg-
|
|
4
|
-
import { t as createIconElement } from "./render-
|
|
5
|
-
import "./pk-option-
|
|
6
|
-
import { n as pkSelectStyles, t as PkSelect } from "./pk-select-
|
|
2
|
+
import { c as __decorate } from "./pk-base-CyzwylQ7.js";
|
|
3
|
+
import { v as clock } from "./svg-Bz-bXZn7.js";
|
|
4
|
+
import { t as createIconElement } from "./render-Bnzcxfss.js";
|
|
5
|
+
import "./pk-option-BrDMERSl.js";
|
|
6
|
+
import { n as pkSelectStyles, t as PkSelect } from "./pk-select-Dok-JdSe.js";
|
|
7
7
|
//#region src/utils/time-options.ts
|
|
8
8
|
var timeOptionsCache = null;
|
|
9
9
|
function resolveTimepickerOptions() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as uniqueId } from "./pk-a11y-CjB4-U-R.js";
|
|
2
2
|
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";
|
|
3
|
-
import { c as __decorate, l as PkElement } from "./pk-base-
|
|
3
|
+
import { c as __decorate, l as PkElement } from "./pk-base-CyzwylQ7.js";
|
|
4
4
|
import { i as PkShowEvent, n as PkAfterShowEvent, r as PkHideEvent, t as PkAfterHideEvent } from "./overlay-lifecycle-C3tSQ3UR.js";
|
|
5
5
|
import { i as waitForPopupReposition, n as getPopupSide, r as syncPopupPlacementAnimation } from "./popup-placement-animation-WlEXnS85.js";
|
|
6
|
-
import { n as resolveElementById } from "./pk-popup-
|
|
6
|
+
import { n as resolveElementById } from "./pk-popup-CrxxR-Hb.js";
|
|
7
7
|
var pkTooltipStyles = [i`
|
|
8
8
|
@layer pk-component {
|
|
9
9
|
.content.pk-popup-content {
|
|
@@ -325,6 +325,11 @@ var share = {
|
|
|
325
325
|
height: 512,
|
|
326
326
|
path: "M307.8 18.4c-12 5-19.8 16.6-19.8 29.6l0 80-112 0c-97.2 0-176 78.8-176 176 0 113.3 81.5 163.9 100.2 174.1 2.5 1.4 5.3 1.9 8.1 1.9 10.9 0 19.7-8.9 19.7-19.7 0-7.5-4.3-14.4-9.8-19.5-9.4-8.8-22.2-26.4-22.2-56.7 0-53 43-96 96-96l96 0 0 80c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-9.2-9.2-22.9-11.9-34.9-6.9z"
|
|
327
327
|
};
|
|
328
|
+
var smallCaps = {
|
|
329
|
+
width: 576,
|
|
330
|
+
height: 512,
|
|
331
|
+
path: "M32 448L160 64h64l128 384h-64l-32-96H128l-32 96H32zm117.3-160h85.3L192 160l-42.7 128zM336 448l80-240h48l80 240h-48l-16-48h-80l-16 48h-48zm80-96h48l-24-72-24 72z"
|
|
332
|
+
};
|
|
328
333
|
var sliders = {
|
|
329
334
|
width: 512,
|
|
330
335
|
height: 512,
|
|
@@ -452,6 +457,7 @@ var icons = {
|
|
|
452
457
|
arrowsRotate,
|
|
453
458
|
magnifyingGlass,
|
|
454
459
|
share,
|
|
460
|
+
smallCaps,
|
|
455
461
|
sliders,
|
|
456
462
|
strikethrough,
|
|
457
463
|
subscript,
|
|
@@ -505,14 +511,16 @@ var iconToSvg = (icon, options = {}) => {
|
|
|
505
511
|
...attributes
|
|
506
512
|
};
|
|
507
513
|
if (className) attrs.class = className;
|
|
508
|
-
if (title)
|
|
509
|
-
|
|
514
|
+
if (title) {
|
|
515
|
+
attrs.role = "img";
|
|
516
|
+
attrs["aria-label"] = title;
|
|
517
|
+
} else {
|
|
510
518
|
attrs["aria-hidden"] = "true";
|
|
511
519
|
attrs.focusable = "false";
|
|
512
520
|
}
|
|
513
521
|
return `<svg ${Object.entries(attrs).map(([key, value]) => {
|
|
514
522
|
return `${key}="${escapeHtml(value)}"`;
|
|
515
|
-
}).join(" ")}
|
|
523
|
+
}).join(" ")}><path fill="currentColor" d="${escapeHtml(icon.path)}"/></svg>`;
|
|
516
524
|
};
|
|
517
525
|
//#endregion
|
|
518
|
-
export { heading as A, plus as B, gripMove as C, h4 as D, h3 as E, link as F,
|
|
526
|
+
export { heading as A, plus as B, gripMove as C, h4 as D, h3 as E, link as F, superscript as G, smallCaps as H, listOl as I, triangleExclamation as J, table as K, listUl as L, icons as M, italic as N, h5 as O, lightbulb as P, minus as R, gear as S, h2 as T, strikethrough as U, quoteRight as V, subscript as W, xmark as X, underline as Y, chevronRight as _, alignRight as a, ellipsis as b, arrowRotateRight as c, bold as d, bracketsCurly as f, chevronLeft as g, chevronDown as h, alignLeft as i, highlighter as j, h6 as k, arrowUp as l, check as m, alignCenter as n, arrowDown as o, calendar as p, textSlash as q, alignJustify as r, arrowRotateLeft as s, iconToSvg as t, asterisk as u, clock as v, h1 as w, fileDashedLine as x, code as y, paragraph as z };
|
|
@@ -2457,6 +2457,7 @@ var blockTags = {
|
|
|
2457
2457
|
article: true,
|
|
2458
2458
|
aside: true,
|
|
2459
2459
|
blockquote: true,
|
|
2460
|
+
body: true,
|
|
2460
2461
|
canvas: true,
|
|
2461
2462
|
dd: true,
|
|
2462
2463
|
div: true,
|
|
@@ -6719,6 +6720,7 @@ function clientRect(node) {
|
|
|
6719
6720
|
};
|
|
6720
6721
|
}
|
|
6721
6722
|
function scrollRectIntoView(view, rect, startDOM) {
|
|
6723
|
+
if (!nonZero(rect) && rect.left == 0) return;
|
|
6722
6724
|
let scrollThreshold = view.someProp("scrollThreshold") || 0, scrollMargin = view.someProp("scrollMargin") || 5;
|
|
6723
6725
|
let doc = view.dom.ownerDocument;
|
|
6724
6726
|
for (let parent = startDOM || view.dom;;) {
|
|
@@ -7137,7 +7139,7 @@ var ViewDesc = class {
|
|
|
7137
7139
|
matchesHack(nodeName) {
|
|
7138
7140
|
return false;
|
|
7139
7141
|
}
|
|
7140
|
-
parseRule() {
|
|
7142
|
+
parseRule(addedNodes) {
|
|
7141
7143
|
return null;
|
|
7142
7144
|
}
|
|
7143
7145
|
stopEvent(event) {
|
|
@@ -7463,7 +7465,7 @@ var WidgetViewDesc = class extends ViewDesc {
|
|
|
7463
7465
|
wrap.appendChild(dom);
|
|
7464
7466
|
dom = wrap;
|
|
7465
7467
|
}
|
|
7466
|
-
dom.contentEditable = "false";
|
|
7468
|
+
if (!dom.hasAttribute("contenteditable")) dom.contentEditable = "false";
|
|
7467
7469
|
dom.classList.add("ProseMirror-widget");
|
|
7468
7470
|
}
|
|
7469
7471
|
super(parent, [], dom, null);
|
|
@@ -7602,7 +7604,7 @@ var NodeViewDesc = class NodeViewDesc extends ViewDesc {
|
|
|
7602
7604
|
else if (node.isText) return new TextViewDesc(parent, node, outerDeco, innerDeco, dom, nodeDOM);
|
|
7603
7605
|
else return new NodeViewDesc(parent, node, outerDeco, innerDeco, dom, contentDOM || null, nodeDOM);
|
|
7604
7606
|
}
|
|
7605
|
-
parseRule() {
|
|
7607
|
+
parseRule(addedNodes) {
|
|
7606
7608
|
if (this.node.type.spec.reparseInView) return null;
|
|
7607
7609
|
let rule = {
|
|
7608
7610
|
node: this.node.type.name,
|
|
@@ -7619,7 +7621,11 @@ var NodeViewDesc = class NodeViewDesc extends ViewDesc {
|
|
|
7619
7621
|
break;
|
|
7620
7622
|
}
|
|
7621
7623
|
}
|
|
7622
|
-
if (!rule.contentElement)
|
|
7624
|
+
if (!rule.contentElement) {
|
|
7625
|
+
let found = addedNodes && addedNodes.find((n) => n.nodeType == 1 && addedNodes.indexOf(n.parentNode) < 0 && this.dom.contains(n));
|
|
7626
|
+
if (found) rule.contentElement = found;
|
|
7627
|
+
else rule.getContent = () => Fragment.empty;
|
|
7628
|
+
}
|
|
7623
7629
|
}
|
|
7624
7630
|
return rule;
|
|
7625
7631
|
}
|
|
@@ -8856,7 +8862,12 @@ var _policy = null;
|
|
|
8856
8862
|
function maybeWrapTrusted(html) {
|
|
8857
8863
|
let trustedTypes = window.trustedTypes;
|
|
8858
8864
|
if (!trustedTypes) return html;
|
|
8859
|
-
if (!_policy)
|
|
8865
|
+
if (!_policy) {
|
|
8866
|
+
if (_policy = trustedTypes.defaultPolicy) try {
|
|
8867
|
+
return _policy.createHTML(html);
|
|
8868
|
+
} catch (_a) {}
|
|
8869
|
+
_policy = trustedTypes.createPolicy("ProseMirrorClipboard", { createHTML: (s) => s });
|
|
8870
|
+
}
|
|
8860
8871
|
return _policy.createHTML(html);
|
|
8861
8872
|
}
|
|
8862
8873
|
function readHTML(html) {
|
|
@@ -8898,6 +8909,11 @@ function addContext(slice, context) {
|
|
|
8898
8909
|
for (let i = array.length - 2; i >= 0; i -= 2) {
|
|
8899
8910
|
let type = schema.nodes[array[i]];
|
|
8900
8911
|
if (!type || type.hasRequiredAttrs()) break;
|
|
8912
|
+
try {
|
|
8913
|
+
type.checkAttrs(array[i + 1]);
|
|
8914
|
+
} catch (e) {
|
|
8915
|
+
break;
|
|
8916
|
+
}
|
|
8901
8917
|
content = Fragment.from(type.create(array[i + 1], content));
|
|
8902
8918
|
openStart++;
|
|
8903
8919
|
openEnd++;
|
|
@@ -9544,7 +9560,7 @@ handlers.blur = (view, _event) => {
|
|
|
9544
9560
|
}
|
|
9545
9561
|
};
|
|
9546
9562
|
handlers.beforeinput = (view, _event) => {
|
|
9547
|
-
if (
|
|
9563
|
+
if (android && _event.inputType == "deleteContentBackward") {
|
|
9548
9564
|
view.domObserver.flushSoon();
|
|
9549
9565
|
let { domChangeCount } = view.input;
|
|
9550
9566
|
setTimeout(() => {
|
|
@@ -10415,7 +10431,7 @@ function fixUpBadSafariComposition(view, addedNodes) {
|
|
|
10415
10431
|
} else node.parentNode.removeChild(node);
|
|
10416
10432
|
}
|
|
10417
10433
|
}
|
|
10418
|
-
function parseBetween(view, from_, to_) {
|
|
10434
|
+
function parseBetween(view, from_, to_, addedNodes) {
|
|
10419
10435
|
let { node: parent, fromOffset, toOffset, from, to } = view.docView.parseRange(from_, to_);
|
|
10420
10436
|
let domSel = view.domSelectionRange();
|
|
10421
10437
|
let find;
|
|
@@ -10449,7 +10465,7 @@ function parseBetween(view, from_, to_) {
|
|
|
10449
10465
|
to: toOffset,
|
|
10450
10466
|
preserveWhitespace: $from.parent.type.whitespace == "pre" ? "full" : true,
|
|
10451
10467
|
findPositions: find,
|
|
10452
|
-
ruleFromNode,
|
|
10468
|
+
ruleFromNode: ruleFromNode(addedNodes),
|
|
10453
10469
|
context: $from
|
|
10454
10470
|
});
|
|
10455
10471
|
if (find && find[0].pos != null) {
|
|
@@ -10467,9 +10483,9 @@ function parseBetween(view, from_, to_) {
|
|
|
10467
10483
|
to
|
|
10468
10484
|
};
|
|
10469
10485
|
}
|
|
10470
|
-
|
|
10486
|
+
var ruleFromNode = (added) => (dom) => {
|
|
10471
10487
|
let desc = dom.pmViewDesc;
|
|
10472
|
-
if (desc) return desc.parseRule();
|
|
10488
|
+
if (desc) return desc.parseRule(added);
|
|
10473
10489
|
else if (dom.nodeName == "BR" && dom.parentNode) {
|
|
10474
10490
|
if (safari && /^(ul|ol)$/i.test(dom.parentNode.nodeName)) {
|
|
10475
10491
|
let skip = document.createElement("div");
|
|
@@ -10478,7 +10494,7 @@ function ruleFromNode(dom) {
|
|
|
10478
10494
|
} else if (dom.parentNode.lastChild == dom || safari && /^(tr|table)$/i.test(dom.parentNode.nodeName)) return { ignore: true };
|
|
10479
10495
|
} else if (dom.nodeName == "IMG" && dom.getAttribute("mark-placeholder")) return { ignore: true };
|
|
10480
10496
|
return null;
|
|
10481
|
-
}
|
|
10497
|
+
};
|
|
10482
10498
|
var isInline = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;
|
|
10483
10499
|
function readDOMChange(view, from, to, typeOver, addedNodes) {
|
|
10484
10500
|
let compositionID = view.input.compositionPendingChanges || (view.composing ? view.input.compositionID : 0);
|
|
@@ -10501,7 +10517,7 @@ function readDOMChange(view, from, to, typeOver, addedNodes) {
|
|
|
10501
10517
|
from = $before.before(shared + 1);
|
|
10502
10518
|
to = view.state.doc.resolve(to).after(shared + 1);
|
|
10503
10519
|
let sel = view.state.selection;
|
|
10504
|
-
let parse = parseBetween(view, from, to);
|
|
10520
|
+
let parse = parseBetween(view, from, to, addedNodes);
|
|
10505
10521
|
let doc = view.state.doc, compare = doc.slice(parse.from, parse.to);
|
|
10506
10522
|
let preferredPos, preferredSide;
|
|
10507
10523
|
if (view.input.lastKeyCode === 8 && Date.now() - 100 < view.input.lastKeyCodeTime) {
|
|
@@ -17861,6 +17877,260 @@ var index_default$17 = Mark.create({
|
|
|
17861
17877
|
}
|
|
17862
17878
|
});
|
|
17863
17879
|
//#endregion
|
|
17880
|
+
//#region ../node_modules/@tiptap/extension-text-style/dist/index.js
|
|
17881
|
+
var MAX_FIND_CHILD_SPAN_DEPTH = 20;
|
|
17882
|
+
var findChildSpans = (element, depth = 0) => {
|
|
17883
|
+
const childSpans = [];
|
|
17884
|
+
if (!element.children.length || depth > MAX_FIND_CHILD_SPAN_DEPTH) return childSpans;
|
|
17885
|
+
Array.from(element.children).forEach((child) => {
|
|
17886
|
+
if (child.tagName === "SPAN") childSpans.push(child);
|
|
17887
|
+
else if (child.children.length) childSpans.push(...findChildSpans(child, depth + 1));
|
|
17888
|
+
});
|
|
17889
|
+
return childSpans;
|
|
17890
|
+
};
|
|
17891
|
+
var mergeNestedSpanStyles = (element) => {
|
|
17892
|
+
if (!element.children.length) return;
|
|
17893
|
+
const childSpans = findChildSpans(element);
|
|
17894
|
+
if (!childSpans) return;
|
|
17895
|
+
childSpans.forEach((childSpan) => {
|
|
17896
|
+
var _a, _b;
|
|
17897
|
+
const childStyle = childSpan.getAttribute("style");
|
|
17898
|
+
const closestParentSpanStyleOfChild = (_b = (_a = childSpan.parentElement) == null ? void 0 : _a.closest("span")) == null ? void 0 : _b.getAttribute("style");
|
|
17899
|
+
childSpan.setAttribute("style", `${closestParentSpanStyleOfChild};${childStyle}`);
|
|
17900
|
+
});
|
|
17901
|
+
};
|
|
17902
|
+
var TextStyle = Mark.create({
|
|
17903
|
+
name: "textStyle",
|
|
17904
|
+
priority: 101,
|
|
17905
|
+
addOptions() {
|
|
17906
|
+
return {
|
|
17907
|
+
HTMLAttributes: {},
|
|
17908
|
+
mergeNestedSpanStyles: true
|
|
17909
|
+
};
|
|
17910
|
+
},
|
|
17911
|
+
parseHTML() {
|
|
17912
|
+
return [{
|
|
17913
|
+
tag: "span",
|
|
17914
|
+
consuming: false,
|
|
17915
|
+
getAttrs: (element) => {
|
|
17916
|
+
if (!element.hasAttribute("style")) return false;
|
|
17917
|
+
if (this.options.mergeNestedSpanStyles) mergeNestedSpanStyles(element);
|
|
17918
|
+
return {};
|
|
17919
|
+
}
|
|
17920
|
+
}];
|
|
17921
|
+
},
|
|
17922
|
+
renderHTML({ HTMLAttributes }) {
|
|
17923
|
+
return [
|
|
17924
|
+
"span",
|
|
17925
|
+
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
|
|
17926
|
+
0
|
|
17927
|
+
];
|
|
17928
|
+
},
|
|
17929
|
+
addCommands() {
|
|
17930
|
+
return {
|
|
17931
|
+
toggleTextStyle: (attributes) => ({ commands }) => {
|
|
17932
|
+
return commands.toggleMark(this.name, attributes);
|
|
17933
|
+
},
|
|
17934
|
+
removeEmptyTextStyle: () => ({ tr }) => {
|
|
17935
|
+
const { selection } = tr;
|
|
17936
|
+
tr.doc.nodesBetween(selection.from, selection.to, (node, pos) => {
|
|
17937
|
+
if (node.isTextblock) return true;
|
|
17938
|
+
if (!node.marks.filter((mark) => mark.type === this.type).some((mark) => Object.values(mark.attrs).some((value) => !!value))) tr.removeMark(pos, pos + node.nodeSize, this.type);
|
|
17939
|
+
});
|
|
17940
|
+
return true;
|
|
17941
|
+
}
|
|
17942
|
+
};
|
|
17943
|
+
}
|
|
17944
|
+
});
|
|
17945
|
+
var BackgroundColor = Extension.create({
|
|
17946
|
+
name: "backgroundColor",
|
|
17947
|
+
addOptions() {
|
|
17948
|
+
return { types: ["textStyle"] };
|
|
17949
|
+
},
|
|
17950
|
+
addGlobalAttributes() {
|
|
17951
|
+
return [{
|
|
17952
|
+
types: this.options.types,
|
|
17953
|
+
attributes: { backgroundColor: {
|
|
17954
|
+
default: null,
|
|
17955
|
+
parseHTML: (element) => {
|
|
17956
|
+
var _a;
|
|
17957
|
+
const styleAttr = element.getAttribute("style");
|
|
17958
|
+
if (styleAttr) {
|
|
17959
|
+
const decls = styleAttr.split(";").map((s) => s.trim()).filter(Boolean);
|
|
17960
|
+
for (let i = decls.length - 1; i >= 0; i -= 1) {
|
|
17961
|
+
const parts = decls[i].split(":");
|
|
17962
|
+
if (parts.length >= 2) {
|
|
17963
|
+
const prop = parts[0].trim().toLowerCase();
|
|
17964
|
+
const val = parts.slice(1).join(":").trim();
|
|
17965
|
+
if (prop === "background-color") return val.replace(/['"]+/g, "");
|
|
17966
|
+
}
|
|
17967
|
+
}
|
|
17968
|
+
}
|
|
17969
|
+
return (_a = element.style.backgroundColor) == null ? void 0 : _a.replace(/['"]+/g, "");
|
|
17970
|
+
},
|
|
17971
|
+
renderHTML: (attributes) => {
|
|
17972
|
+
if (!attributes.backgroundColor) return {};
|
|
17973
|
+
return { style: `background-color: ${attributes.backgroundColor}` };
|
|
17974
|
+
}
|
|
17975
|
+
} }
|
|
17976
|
+
}];
|
|
17977
|
+
},
|
|
17978
|
+
addCommands() {
|
|
17979
|
+
return {
|
|
17980
|
+
setBackgroundColor: (backgroundColor) => ({ chain }) => {
|
|
17981
|
+
return chain().setMark("textStyle", { backgroundColor }).run();
|
|
17982
|
+
},
|
|
17983
|
+
unsetBackgroundColor: () => ({ chain }) => {
|
|
17984
|
+
return chain().setMark("textStyle", { backgroundColor: null }).removeEmptyTextStyle().run();
|
|
17985
|
+
}
|
|
17986
|
+
};
|
|
17987
|
+
}
|
|
17988
|
+
});
|
|
17989
|
+
var Color = Extension.create({
|
|
17990
|
+
name: "color",
|
|
17991
|
+
addOptions() {
|
|
17992
|
+
return { types: ["textStyle"] };
|
|
17993
|
+
},
|
|
17994
|
+
addGlobalAttributes() {
|
|
17995
|
+
return [{
|
|
17996
|
+
types: this.options.types,
|
|
17997
|
+
attributes: { color: {
|
|
17998
|
+
default: null,
|
|
17999
|
+
parseHTML: (element) => {
|
|
18000
|
+
var _a;
|
|
18001
|
+
const styleAttr = element.getAttribute("style");
|
|
18002
|
+
if (styleAttr) {
|
|
18003
|
+
const decls = styleAttr.split(";").map((s) => s.trim()).filter(Boolean);
|
|
18004
|
+
for (let i = decls.length - 1; i >= 0; i -= 1) {
|
|
18005
|
+
const parts = decls[i].split(":");
|
|
18006
|
+
if (parts.length >= 2) {
|
|
18007
|
+
const prop = parts[0].trim().toLowerCase();
|
|
18008
|
+
const val = parts.slice(1).join(":").trim();
|
|
18009
|
+
if (prop === "color") return val.replace(/['"]+/g, "");
|
|
18010
|
+
}
|
|
18011
|
+
}
|
|
18012
|
+
}
|
|
18013
|
+
return (_a = element.style.color) == null ? void 0 : _a.replace(/['"]+/g, "");
|
|
18014
|
+
},
|
|
18015
|
+
renderHTML: (attributes) => {
|
|
18016
|
+
if (!attributes.color) return {};
|
|
18017
|
+
return { style: `color: ${attributes.color}` };
|
|
18018
|
+
}
|
|
18019
|
+
} }
|
|
18020
|
+
}];
|
|
18021
|
+
},
|
|
18022
|
+
addCommands() {
|
|
18023
|
+
return {
|
|
18024
|
+
setColor: (color) => ({ chain }) => {
|
|
18025
|
+
return chain().setMark("textStyle", { color }).run();
|
|
18026
|
+
},
|
|
18027
|
+
unsetColor: () => ({ chain }) => {
|
|
18028
|
+
return chain().setMark("textStyle", { color: null }).removeEmptyTextStyle().run();
|
|
18029
|
+
}
|
|
18030
|
+
};
|
|
18031
|
+
}
|
|
18032
|
+
});
|
|
18033
|
+
var FontFamily = Extension.create({
|
|
18034
|
+
name: "fontFamily",
|
|
18035
|
+
addOptions() {
|
|
18036
|
+
return { types: ["textStyle"] };
|
|
18037
|
+
},
|
|
18038
|
+
addGlobalAttributes() {
|
|
18039
|
+
return [{
|
|
18040
|
+
types: this.options.types,
|
|
18041
|
+
attributes: { fontFamily: {
|
|
18042
|
+
default: null,
|
|
18043
|
+
parseHTML: (element) => element.style.fontFamily,
|
|
18044
|
+
renderHTML: (attributes) => {
|
|
18045
|
+
if (!attributes.fontFamily) return {};
|
|
18046
|
+
return { style: `font-family: ${attributes.fontFamily}` };
|
|
18047
|
+
}
|
|
18048
|
+
} }
|
|
18049
|
+
}];
|
|
18050
|
+
},
|
|
18051
|
+
addCommands() {
|
|
18052
|
+
return {
|
|
18053
|
+
setFontFamily: (fontFamily) => ({ chain }) => {
|
|
18054
|
+
return chain().setMark("textStyle", { fontFamily }).run();
|
|
18055
|
+
},
|
|
18056
|
+
unsetFontFamily: () => ({ chain }) => {
|
|
18057
|
+
return chain().setMark("textStyle", { fontFamily: null }).removeEmptyTextStyle().run();
|
|
18058
|
+
}
|
|
18059
|
+
};
|
|
18060
|
+
}
|
|
18061
|
+
});
|
|
18062
|
+
var FontSize = Extension.create({
|
|
18063
|
+
name: "fontSize",
|
|
18064
|
+
addOptions() {
|
|
18065
|
+
return { types: ["textStyle"] };
|
|
18066
|
+
},
|
|
18067
|
+
addGlobalAttributes() {
|
|
18068
|
+
return [{
|
|
18069
|
+
types: this.options.types,
|
|
18070
|
+
attributes: { fontSize: {
|
|
18071
|
+
default: null,
|
|
18072
|
+
parseHTML: (element) => element.style.fontSize,
|
|
18073
|
+
renderHTML: (attributes) => {
|
|
18074
|
+
if (!attributes.fontSize) return {};
|
|
18075
|
+
return { style: `font-size: ${attributes.fontSize}` };
|
|
18076
|
+
}
|
|
18077
|
+
} }
|
|
18078
|
+
}];
|
|
18079
|
+
},
|
|
18080
|
+
addCommands() {
|
|
18081
|
+
return {
|
|
18082
|
+
setFontSize: (fontSize) => ({ chain }) => {
|
|
18083
|
+
return chain().setMark("textStyle", { fontSize }).run();
|
|
18084
|
+
},
|
|
18085
|
+
unsetFontSize: () => ({ chain }) => {
|
|
18086
|
+
return chain().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run();
|
|
18087
|
+
}
|
|
18088
|
+
};
|
|
18089
|
+
}
|
|
18090
|
+
});
|
|
18091
|
+
var LineHeight = Extension.create({
|
|
18092
|
+
name: "lineHeight",
|
|
18093
|
+
addOptions() {
|
|
18094
|
+
return { types: ["textStyle"] };
|
|
18095
|
+
},
|
|
18096
|
+
addGlobalAttributes() {
|
|
18097
|
+
return [{
|
|
18098
|
+
types: this.options.types,
|
|
18099
|
+
attributes: { lineHeight: {
|
|
18100
|
+
default: null,
|
|
18101
|
+
parseHTML: (element) => element.style.lineHeight,
|
|
18102
|
+
renderHTML: (attributes) => {
|
|
18103
|
+
if (!attributes.lineHeight) return {};
|
|
18104
|
+
return { style: `line-height: ${attributes.lineHeight}` };
|
|
18105
|
+
}
|
|
18106
|
+
} }
|
|
18107
|
+
}];
|
|
18108
|
+
},
|
|
18109
|
+
addCommands() {
|
|
18110
|
+
return {
|
|
18111
|
+
setLineHeight: (lineHeight) => ({ chain }) => {
|
|
18112
|
+
return chain().setMark("textStyle", { lineHeight }).run();
|
|
18113
|
+
},
|
|
18114
|
+
unsetLineHeight: () => ({ chain }) => {
|
|
18115
|
+
return chain().setMark("textStyle", { lineHeight: null }).removeEmptyTextStyle().run();
|
|
18116
|
+
}
|
|
18117
|
+
};
|
|
18118
|
+
}
|
|
18119
|
+
});
|
|
18120
|
+
var TextStyleKit = Extension.create({
|
|
18121
|
+
name: "textStyleKit",
|
|
18122
|
+
addExtensions() {
|
|
18123
|
+
const extensions = [];
|
|
18124
|
+
if (this.options.backgroundColor !== false) extensions.push(BackgroundColor.configure(this.options.backgroundColor));
|
|
18125
|
+
if (this.options.color !== false) extensions.push(Color.configure(this.options.color));
|
|
18126
|
+
if (this.options.fontFamily !== false) extensions.push(FontFamily.configure(this.options.fontFamily));
|
|
18127
|
+
if (this.options.fontSize !== false) extensions.push(FontSize.configure(this.options.fontSize));
|
|
18128
|
+
if (this.options.lineHeight !== false) extensions.push(LineHeight.configure(this.options.lineHeight));
|
|
18129
|
+
if (this.options.textStyle !== false) extensions.push(TextStyle.configure(this.options.textStyle));
|
|
18130
|
+
return extensions;
|
|
18131
|
+
}
|
|
18132
|
+
});
|
|
18133
|
+
//#endregion
|
|
17864
18134
|
//#region ../node_modules/@tiptap/extension-blockquote/dist/index.js
|
|
17865
18135
|
var inputRegex$1 = /^\s*>\s$/;
|
|
17866
18136
|
var index_default$16 = Node3.create({
|
|
@@ -22885,4 +23155,4 @@ var index_default = Extension.create({
|
|
|
22885
23155
|
}
|
|
22886
23156
|
});
|
|
22887
23157
|
//#endregion
|
|
22888
|
-
export {
|
|
23158
|
+
export { Editor as A, index_default$20 as C, index_default$24 as D, index_default$23 as E, NodeSelection as F, Plugin as I, PluginKey as L, Node3 as M, getMarkRange as N, index_default$25 as O, posToDOMRect as P, TextSelection as R, index_default$19 as S, index_default$22 as T, index_default$15 as _, index_default$4 as a, index_default$17 as b, index_default$7 as c, index_default$9 as d, index_default$10 as f, index_default$14 as g, index_default$13 as h, index_default$3 as i, Extension as j, index_default$26 as k, Table as l, index_default$12 as m, index_default$1 as n, index_default$5 as o, index_default$11 as p, index_default$2 as r, index_default$6 as s, index_default as t, index_default$8 as u, index_default$16 as v, index_default$21 as w, index_default$18 as x, TextStyleKit as y };
|