@onereach/ui-components 4.5.0-beta.2726.0 → 4.5.0
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/dist/bundled/v2/{OrDateTimePickerMonthSelect-5fa6caa0.js → OrDateTimePickerMonthSelect-75089f80.js} +6 -3
- package/dist/bundled/v2/{OrDateTimePickerTimeSelect-aa60911c.js → OrDateTimePickerTimeSelect-3d0ef650.js} +6 -3
- package/dist/bundled/v2/components/OrCode/OrCode.js +3792 -6
- package/dist/bundled/v2/components/OrCode/index.js +2 -6
- package/dist/bundled/v2/components/OrCode/lang.js +3 -3941
- package/dist/bundled/v2/components/OrCode/theme.js +1 -2
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +0 -1
- package/dist/bundled/v2/components/OrConfirm/index.js +0 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +12 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +13 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModal/OrModal.js +1346 -3
- package/dist/bundled/v2/components/OrModal/index.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +12 -1
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/index.d.ts +2 -1
- package/dist/bundled/v2/components/index.js +10 -22
- package/dist/bundled/v2/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
- package/dist/bundled/v2/index.js +13 -25
- package/dist/bundled/{v3/index-e9f6b2d8.js → v2/lang-0fb8f78b.js} +4009 -73
- package/dist/bundled/v3/{index-d92d0b48.js → OrCode.vue_vue_type_script_lang-74060519.js} +235 -14
- package/dist/bundled/v3/OrCombinedInput.vue_vue_type_script_lang-cb7a88f3.js +66 -0
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-ae9422fb.js → OrConfirm.vue_vue_type_script_lang-e5a8f92a.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-33719f37.js → OrDatePicker.vue_vue_type_script_lang-d071d109.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-ef95eeb6.js → OrDateTimePicker.vue_vue_type_script_lang-8aa80833.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-fe878127.js → OrDateTimePickerMonthSelect-387c2096.js} +6 -4
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-b962e4d5.js → OrDateTimePickerTimeSelect-8bdb97b7.js} +6 -4
- package/dist/bundled/{v2/useFocusTrap-104d095b.js → v3/OrModal.vue_vue_type_script_lang-ae842e5b.js} +106 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-dd7222e8.js → OrTimePicker.vue_vue_type_script_lang-c52a2a0b.js} +1 -1
- package/dist/bundled/v3/components/OrCode/OrCode.js +6 -10
- package/dist/bundled/v3/components/OrCode/index.js +4 -8
- package/dist/bundled/v3/components/OrCode/lang.js +3 -3941
- package/dist/bundled/v3/components/OrCode/theme.js +1 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +11 -66
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +3 -4
- package/dist/bundled/v3/components/OrConfirm/index.js +2 -3
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +6 -6
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +7 -7
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrModal/OrModal.js +2 -3
- package/dist/bundled/v3/components/OrModal/index.js +1 -2
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +6 -6
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/index.d.ts +2 -1
- package/dist/bundled/v3/components/index.js +16 -29
- package/dist/bundled/v3/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
- package/dist/bundled/v3/index.js +25 -37
- package/dist/bundled/{v2/index-e9f6b2d8.js → v3/lang-0fb8f78b.js} +4009 -73
- package/dist/esm/v2/OrCombinedInput-5994d9fc.js +158 -0
- package/dist/esm/v2/{OrDatePicker-a8c95da8.js → OrDatePicker-b6ebf44a.js} +12 -1
- package/dist/esm/v2/{OrDateTimePicker-9271659e.js → OrDateTimePicker-85c08b90.js} +13 -2
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-a3a0fb4e.js → OrDateTimePickerMonthSelect-e35404a7.js} +6 -3
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-0b70d0df.js → OrDateTimePickerTimeSelect-aed7d33d.js} +6 -3
- package/dist/esm/v2/{OrTabs-b9908867.js → OrTabs-653258a2.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-0c6a05f1.js → OrTimePicker-696e29ed.js} +12 -1
- package/dist/esm/v2/components/index.d.ts +2 -1
- package/dist/esm/v2/components/index.js +10 -33
- package/dist/esm/v2/components/or-combined-input-v3/index.js +6 -158
- package/dist/esm/v2/components/or-date-picker-v3/index.js +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/components/or-time-picker-v3/index.js +2 -2
- package/dist/esm/v2/index.js +10 -33
- package/dist/esm/v3/OrCombinedInput-14c23a04.js +129 -0
- package/dist/esm/v3/{OrDatePicker-759653a5.js → OrDatePicker-f144d074.js} +4 -4
- package/dist/esm/v3/{OrDateTimePicker-4768a411.js → OrDateTimePicker-2214cd85.js} +5 -5
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-c07806a0.js → OrDateTimePickerMonthSelect-5a7b7b5c.js} +6 -4
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-9309c434.js → OrDateTimePickerTimeSelect-e404e826.js} +6 -4
- package/dist/esm/v3/{OrTabs-f9f0892e.js → OrTabs-a2d87627.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-ba6e6857.js → OrTimePicker-68de86d9.js} +4 -4
- package/dist/esm/v3/components/index.d.ts +2 -1
- package/dist/esm/v3/components/index.js +9 -32
- package/dist/esm/v3/components/or-combined-input-v3/index.js +6 -129
- package/dist/esm/v3/components/or-date-picker-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/components/or-time-picker-v3/index.js +2 -2
- package/dist/esm/v3/index.js +9 -32
- package/package.json +4 -24
- package/src/components/index.ts +2 -1
- package/src/components/or-button/OrButton.stories.ts +8 -0
- package/src/components/or-date-picker-v3/OrDatePicker.vue +2 -0
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +2 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue +7 -2
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue +7 -2
- package/src/components/or-tabs-v3/styles.ts +1 -1
- package/src/components/or-time-picker-v3/OrTimePicker.vue +2 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -2200
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -70
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.d.ts +0 -4
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +0 -7
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +0 -6
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +0 -38
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -46
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +0 -5
- package/dist/bundled/v2/index-418d5c0d.js +0 -9633
- package/dist/bundled/v2/index-85c2efe8.js +0 -7122
- package/dist/bundled/v2/index-d92d0b48.js +0 -3805
- package/dist/bundled/v2/index.es-3f39f316.js +0 -115
- package/dist/bundled/v2/markdown-7c7c4ca6.js +0 -17980
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-a5b8c6ca.js +0 -237
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-28541a68.js +0 -108
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-55b73340.js +0 -1890
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -284
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -145
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -86
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +0 -7
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +0 -38
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -46
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +0 -5
- package/dist/bundled/v3/index-418d5c0d.js +0 -9633
- package/dist/bundled/v3/index-85c2efe8.js +0 -7122
- package/dist/bundled/v3/index.es-3f39f316.js +0 -115
- package/dist/bundled/v3/markdown-7c7c4ca6.js +0 -17980
- package/dist/bundled/v3/useFocusTrap-104d095b.js +0 -1348
- package/dist/esm/v2/OrRichTextEditor-8c43bb27.js +0 -923
- package/dist/esm/v2/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -220
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -59
- package/dist/esm/v2/components/or-rich-text-editor-v3/props.d.ts +0 -4
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
- package/dist/esm/v3/OrRichTextEditor-b20efab9.js +0 -856
- package/dist/esm/v3/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -145
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -57
- package/dist/esm/v3/components/or-rich-text-editor-v3/props.d.ts +0 -4
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.docs.mdx +0 -7
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.stories3.ts +0 -110
- package/src/components/or-button-v3/OrButton.docs.mdx +0 -14
- package/src/components/or-button-v3/OrButton.stories3.ts +0 -130
- package/src/components/or-card-collection-v3/OrCardCollection.docs.mdx +0 -7
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +0 -378
- package/src/components/or-card-v3/OrCard.docs.mdx +0 -10
- package/src/components/or-card-v3/OrCard.stories3.ts +0 -74
- package/src/components/or-checkbox-group-v3/OrCheckboxGroup.docs.mdx +0 -7
- package/src/components/or-checkbox-group-v3/OrCheckboxGroup.stories3.ts +0 -399
- package/src/components/or-checkbox-tree-v3/OrCheckboxTree.docs.mdx +0 -7
- package/src/components/or-checkbox-tree-v3/OrCheckboxTree.stories3.ts +0 -112
- package/src/components/or-checkbox-v3/OrCheckbox.docs.mdx +0 -12
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +0 -155
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
- package/src/components/or-confirm-v3/OrConfirm.docs.mdx +0 -16
- package/src/components/or-confirm-v3/OrConfirm.stories3.ts +0 -252
- package/src/components/or-date-picker-v3/OrDatePicker.docs.mdx +0 -7
- package/src/components/or-date-picker-v3/OrDatePicker.stories3.ts +0 -174
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.docs.mdx +0 -7
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.stories3.ts +0 -183
- package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +0 -87
- package/src/components/or-error-tag-v3/OrErrorTag.docs.mdx +0 -8
- package/src/components/or-error-tag-v3/OrErrorTag.stories3.ts +0 -56
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.docs.mdx +0 -7
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.stories3.ts +0 -137
- package/src/components/or-fab-v3/OrFab.docs.mdx +0 -7
- package/src/components/or-fab-v3/OrFab.stories3.ts +0 -81
- package/src/components/or-form-group-v3/OrFormGroup.stories3.ts +0 -114
- package/src/components/or-icon-button-v3/OrIconButton.docs.mdx +0 -14
- package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +0 -105
- package/src/components/or-icon-v3/OrIcon.docs.mdx +0 -12
- package/src/components/or-icon-v3/OrIcon.stories3.ts +0 -53
- package/src/components/or-inline-input-v3/OrInlineInput.docs.mdx +0 -7
- package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +0 -137
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.docs.mdx +0 -7
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +0 -126
- package/src/components/or-input-v3/OrInput.docs.mdx +0 -16
- package/src/components/or-input-v3/OrInput.stories3.ts +0 -222
- package/src/components/or-link-v3/OrLink.docs.mdx +0 -7
- package/src/components/or-link-v3/OrLink.stories3.ts +0 -163
- package/src/components/or-loader-v3/OrLoader.docs.mdx +0 -14
- package/src/components/or-loader-v3/OrLoader.stories3.ts +0 -86
- package/src/components/or-menu-item-v3/OrMenuItem.docs.mdx +0 -7
- package/src/components/or-menu-item-v3/OrMenuItem.stories3.ts +0 -90
- package/src/components/or-menu-v3/OrMenu.docs.mdx +0 -7
- package/src/components/or-menu-v3/OrMenu.stories3.ts +0 -167
- package/src/components/or-modal-v3/OrModal.docs.mdx +0 -10
- package/src/components/or-modal-v3/OrModal.stories3.ts +0 -278
- package/src/components/or-notification-v3/OrNotification.docs.mdx +0 -7
- package/src/components/or-notification-v3/OrNotification.stories3.ts +0 -122
- package/src/components/or-overlay-v3/OrOverlay.docs.mdx +0 -11
- package/src/components/or-overlay-v3/OrOverlay.stories3.ts +0 -61
- package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -81
- package/src/components/or-popover-v3/OrPopover.docs.mdx +0 -11
- package/src/components/or-popover-v3/OrPopover.stories3.ts +0 -115
- package/src/components/or-progress-v3/OrProgress.docs.mdx +0 -12
- package/src/components/or-progress-v3/OrProgress.stories3.ts +0 -220
- package/src/components/or-radio-group-v3/OrRadioGroup.stories3.ts +0 -81
- package/src/components/or-radio-v3/OrRadio.docs.mdx +0 -11
- package/src/components/or-radio-v3/OrRadio.stories3.ts +0 -151
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -7
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -142
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -766
- package/src/components/or-rich-text-editor-v3/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/props.ts +0 -4
- package/src/components/or-rich-text-editor-v3/styles.ts +0 -54
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +0 -40
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +0 -254
- package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/utils/codemirror/theme.ts +0 -213
- package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +0 -22
- package/src/components/or-rich-text-editor-v3/utils/markdown.ts +0 -120
- package/src/components/or-search-v3/OrSearch.docs.mdx +0 -16
- package/src/components/or-search-v3/OrSearch.stories3.ts +0 -126
- package/src/components/or-segmented-control-v3/OrSegmentedControl.docs.mdx +0 -7
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -100
- package/src/components/or-select-v3/OrSelect.docs.mdx +0 -17
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -508
- package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +0 -13
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +0 -415
- package/src/components/or-skeleton-v3/OrSkeleton.docs.mdx +0 -14
- package/src/components/or-skeleton-v3/OrSkeleton.stories3.ts +0 -144
- package/src/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.docs.mdx +0 -7
- package/src/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.stories3.ts +0 -59
- package/src/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.docs.mdx +0 -6
- package/src/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.stories3.ts +0 -80
- package/src/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.docs.mdx +0 -7
- package/src/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.stories3.ts +0 -88
- package/src/components/or-switch-v3/OrSwitch.docs.mdx +0 -7
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +0 -155
- package/src/components/or-tab-v3/OrTab.docs.mdx +0 -7
- package/src/components/or-tab-v3/OrTab.stories3.ts +0 -74
- package/src/components/or-tabs-v3/OrTabs.docs.mdx +0 -7
- package/src/components/or-tabs-v3/OrTabs.stories3.ts +0 -140
- package/src/components/or-tag-v3/OrTag.docs.mdx +0 -13
- package/src/components/or-tag-v3/OrTag.stories3.ts +0 -213
- package/src/components/or-tags-v3/OrTags.docs.mdx +0 -7
- package/src/components/or-tags-v3/OrTags.stories3.ts +0 -101
- package/src/components/or-teleport-v3/OrTeleport.docs.mdx +0 -7
- package/src/components/or-teleport-v3/OrTeleport.stories3.ts +0 -60
- package/src/components/or-text-v3/OrText.docs.mdx +0 -7
- package/src/components/or-text-v3/OrText.stories3.ts +0 -124
- package/src/components/or-textarea-v3/OrTextarea.docs.mdx +0 -14
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +0 -164
- package/src/components/or-time-picker-v3/OrTimePicker.docs.mdx +0 -7
- package/src/components/or-time-picker-v3/OrTimePicker.stories3.ts +0 -170
- package/src/components/or-toast-v3/OrToast.stories3.ts +0 -67
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.docs.mdx +0 -123
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.stories3.ts +0 -119
- package/src/components/or-tooltip-v3/OrTooltip.docs.mdx +0 -10
- package/src/components/or-tooltip-v3/OrTooltip.stories3.ts +0 -84
- /package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-b3f213b0.js → OrTabs.vue_vue_type_script_lang-9d4221f1.js} +0 -0
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
import { s as script } from '../../OrRichTextEditor.vue_vue_type_script_lang-55b73340.js';
|
|
2
|
-
export { s as default } from '../../OrRichTextEditor.vue_vue_type_script_lang-55b73340.js';
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, createCommentVNode, withDirectives, vShow, vModelText, renderSlot } from 'vue';
|
|
4
|
-
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
|
-
import 'vue-demi';
|
|
6
|
-
import '../../useFocusTrap-104d095b.js';
|
|
7
|
-
import '@vueuse/core';
|
|
8
|
-
import '../../markdown-7c7c4ca6.js';
|
|
9
|
-
import '../../index-85c2efe8.js';
|
|
10
|
-
import 'node:punycode';
|
|
11
|
-
import '../../index-418d5c0d.js';
|
|
12
|
-
import '../../index.es-3f39f316.js';
|
|
13
|
-
import './styles.js';
|
|
14
|
-
import './props.js';
|
|
15
|
-
import './utils/codemirror/codemirrorNode.js';
|
|
16
|
-
import './utils/codemirror/codemirrorView.js';
|
|
17
|
-
import '../../index-0d224ae5.js';
|
|
18
|
-
import './utils/codemirror/theme.js';
|
|
19
|
-
import '../../index-d92d0b48.js';
|
|
20
|
-
import '../../index-e9f6b2d8.js';
|
|
21
|
-
import '../OrIconButtonV3/OrIconButton.js';
|
|
22
|
-
import '../../OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
23
|
-
import '../OrIconButtonV3/props.js';
|
|
24
|
-
import '../OrIconV3/props.js';
|
|
25
|
-
import '../OrIconButtonV3/styles.js';
|
|
26
|
-
import '../OrIconV3/OrIcon.js';
|
|
27
|
-
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
28
|
-
import '../OrIconV3/styles.js';
|
|
29
|
-
import '../OrTooltipV3/OrTooltip.js';
|
|
30
|
-
import '../../OrTooltip.vue_vue_type_script_lang-bb3db5bf.js';
|
|
31
|
-
import '../OrTooltipV3/styles.js';
|
|
32
|
-
import '../OrPopoverV3/OrPopover.js';
|
|
33
|
-
import '../../OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
34
|
-
import '../../floating-ui.dom.esm-83eba816.js';
|
|
35
|
-
import '../OrPopoverV3/props.js';
|
|
36
|
-
import '../OrPopoverV3/styles.js';
|
|
37
|
-
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
38
|
-
import '../../OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js';
|
|
39
|
-
import '../OrBottomSheetV3/props.js';
|
|
40
|
-
import '../OrBottomSheetV3/styles.js';
|
|
41
|
-
import '../OrOverlayV3/OrOverlay.js';
|
|
42
|
-
import '../../OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
43
|
-
import '../OrOverlayV3/styles.js';
|
|
44
|
-
import '../OrTeleportV3/OrTeleport.js';
|
|
45
|
-
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
46
|
-
import '../../hooks/useElevation.js';
|
|
47
|
-
import '../../utils/isVisible.js';
|
|
48
|
-
import '../../hooks/useResponsive/useResponsive.js';
|
|
49
|
-
import '../OrLabelV3/OrLabel.js';
|
|
50
|
-
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
51
|
-
import '../OrLabelV3/props.js';
|
|
52
|
-
import '../OrLabelV3/styles.js';
|
|
53
|
-
import '../OrMenuItemV3/OrMenuItem.js';
|
|
54
|
-
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
55
|
-
import '../OrMenuItemV3/styles.js';
|
|
56
|
-
import '../OrMenuV3/OrMenu.js';
|
|
57
|
-
import '../../OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
58
|
-
import '../OrMenuV3/styles.js';
|
|
59
|
-
import '../OrModalV3/OrModal.js';
|
|
60
|
-
import '../../OrModal.vue_vue_type_script_lang-202c4e2f.js';
|
|
61
|
-
import '../OrModalV3/props.js';
|
|
62
|
-
import '../OrModalV3/styles.js';
|
|
63
|
-
import '../OrInputV3/OrInput.js';
|
|
64
|
-
import '../../OrInput.vue_vue_type_script_lang-6242286b.js';
|
|
65
|
-
import '../OrInputV3/props.js';
|
|
66
|
-
import '../OrInputBoxV3/props.js';
|
|
67
|
-
import '../OrInputV3/styles.js';
|
|
68
|
-
import '../OrErrorV3/OrError.js';
|
|
69
|
-
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
70
|
-
import '../OrErrorV3/styles.js';
|
|
71
|
-
import '../OrHintV3/OrHint.js';
|
|
72
|
-
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
73
|
-
import '../OrHintV3/styles.js';
|
|
74
|
-
import '../OrInputBoxV3/OrInputBox.js';
|
|
75
|
-
import '../../OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
76
|
-
import '../OrInputBoxV3/styles.js';
|
|
77
|
-
import '../OrLoaderV3/OrLoader.js';
|
|
78
|
-
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
79
|
-
import '../OrLoaderV3/props.js';
|
|
80
|
-
import '../OrLoaderV3/styles.js';
|
|
81
|
-
import '../../hooks/useIdAttribute.js';
|
|
82
|
-
import '../../hooks/useControlAttributes.js';
|
|
83
|
-
import '../../hooks/useValidationAttributes.js';
|
|
84
|
-
import '../OrButtonV3/OrButton.js';
|
|
85
|
-
import '../../OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
86
|
-
import '../OrButtonV3/props.js';
|
|
87
|
-
import '../OrButtonV3/styles.js';
|
|
88
|
-
|
|
89
|
-
const _hoisted_1 = ["activated"];
|
|
90
|
-
const _hoisted_2 = /*#__PURE__*/createElementVNode("p", {
|
|
91
|
-
class: "text-headline-2"
|
|
92
|
-
}, " Add Link ", -1 /* HOISTED */);
|
|
93
|
-
const _hoisted_3 = {
|
|
94
|
-
class: "flex ml-auto gap-md"
|
|
95
|
-
};
|
|
96
|
-
const _hoisted_4 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
|
|
97
|
-
const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
98
|
-
|
|
99
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
100
|
-
const _component_or_label = resolveComponent("or-label");
|
|
101
|
-
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
102
|
-
const _component_or_menu_item = resolveComponent("or-menu-item");
|
|
103
|
-
const _component_or_menu = resolveComponent("or-menu");
|
|
104
|
-
const _component_or_input = resolveComponent("or-input");
|
|
105
|
-
const _component_or_button = resolveComponent("or-button");
|
|
106
|
-
const _component_or_modal = resolveComponent("or-modal");
|
|
107
|
-
return openBlock(), createElementBlock("div", {
|
|
108
|
-
ref: "root",
|
|
109
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
110
|
-
}, [createVNode(_component_or_label, null, {
|
|
111
|
-
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.description), 1 /* TEXT */)]),
|
|
112
|
-
|
|
113
|
-
_: 1 /* STABLE */
|
|
114
|
-
}), createElementVNode("div", {
|
|
115
|
-
ref: "containerRef",
|
|
116
|
-
class: normalizeClass(_ctx.containerStyles),
|
|
117
|
-
onClick: _cache[4] || (_cache[4] = $event => _ctx.handleEditorClick())
|
|
118
|
-
}, [createElementVNode("div", {
|
|
119
|
-
ref: "toolbarRef",
|
|
120
|
-
class: normalizeClass(_ctx.toolbarContainerStyles)
|
|
121
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.toolbar, (tools, index) => {
|
|
122
|
-
return openBlock(), createElementBlock("div", {
|
|
123
|
-
key: index,
|
|
124
|
-
class: normalizeClass([..._ctx.toolbarStyles, {
|
|
125
|
-
'hidden': _ctx.isVisible(tools)
|
|
126
|
-
}])
|
|
127
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(tools, item => {
|
|
128
|
-
return openBlock(), createElementBlock("div", {
|
|
129
|
-
key: item,
|
|
130
|
-
class: normalizeClass(['flex gap-md', {
|
|
131
|
-
'hidden': !_ctx.isVisible(item)
|
|
132
|
-
}])
|
|
133
|
-
}, [item === 'heading' ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
134
|
-
key: 0,
|
|
135
|
-
ref_for: true,
|
|
136
|
-
ref: "toolbarButtonRef",
|
|
137
|
-
selected: _ctx.isActive[item],
|
|
138
|
-
disabled: !_ctx.isFocused,
|
|
139
|
-
tooltip: {
|
|
140
|
-
text: item,
|
|
141
|
-
placement: 'top'
|
|
142
|
-
},
|
|
143
|
-
icon: {
|
|
144
|
-
icon: _ctx.headingIcon,
|
|
145
|
-
variant: 'inherit',
|
|
146
|
-
size: 'm'
|
|
147
|
-
},
|
|
148
|
-
onClick: _cache[0] || (_cache[0] = $event => _ctx.menuRef.open())
|
|
149
|
-
}, null, 8 /* PROPS */, ["selected", "disabled", "tooltip", "icon"])) : _ctx.isVisible(item) ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
150
|
-
key: 1,
|
|
151
|
-
tooltip: {
|
|
152
|
-
text: _ctx.iconTooltipsEnum[item],
|
|
153
|
-
placement: 'top'
|
|
154
|
-
},
|
|
155
|
-
selected: _ctx.isActive[item],
|
|
156
|
-
disabled: !_ctx.isFocused,
|
|
157
|
-
icon: {
|
|
158
|
-
icon: _ctx.iconsEnum[item],
|
|
159
|
-
variant: 'inherit',
|
|
160
|
-
size: 'm'
|
|
161
|
-
},
|
|
162
|
-
onClick: $event => _ctx.handleToolbarClick(item)
|
|
163
|
-
}, null, 8 /* PROPS */, ["tooltip", "selected", "disabled", "icon", "onClick"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
164
|
-
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
|
|
165
|
-
}), 128 /* KEYED_FRAGMENT */)), _ctx.countOfNotVisibleTools > 0 ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
166
|
-
key: 0,
|
|
167
|
-
ref: "moreButtonRef",
|
|
168
|
-
disabled: !_ctx.isFocused,
|
|
169
|
-
icon: {
|
|
170
|
-
icon: 'more_horiz',
|
|
171
|
-
variant: 'inherit',
|
|
172
|
-
size: 'm'
|
|
173
|
-
},
|
|
174
|
-
class: "px-sm",
|
|
175
|
-
onClick: _cache[1] || (_cache[1] = $event => _ctx.moreRef.open())
|
|
176
|
-
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
177
|
-
class: normalizeClass(['p-sm', {
|
|
178
|
-
'h-[calc(100%-32px)] md:h-[calc(100%-36px)]': _ctx.fullHeight
|
|
179
|
-
}])
|
|
180
|
-
}, [withDirectives(createElementVNode("textarea", {
|
|
181
|
-
ref: "textareaRef",
|
|
182
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.sourceValue = $event),
|
|
183
|
-
"auto-focus": "",
|
|
184
|
-
activated: _ctx.disableMarkdown,
|
|
185
|
-
class: "w-full h-full resize-none border-none outline-none bg-transparent typography-body-2-regular",
|
|
186
|
-
onInput: _cache[3] || (_cache[3] = function () {
|
|
187
|
-
return _ctx.handleInput && _ctx.handleInput(...arguments);
|
|
188
|
-
})
|
|
189
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1), [[vShow, _ctx.disableMarkdown], [vModelText, _ctx.sourceValue]]), withDirectives(createElementVNode("div", {
|
|
190
|
-
ref: "editorRef",
|
|
191
|
-
class: normalizeClass(_ctx.editorInputStyles)
|
|
192
|
-
}, null, 2 /* CLASS */), [[vShow, !_ctx.disableMarkdown]]), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
193
|
-
key: 0,
|
|
194
|
-
ref: "moreRef",
|
|
195
|
-
trigger: _ctx.moreButtonRef.root
|
|
196
|
-
}, {
|
|
197
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.notVisibleTools, item => {
|
|
198
|
-
return openBlock(), createBlock(_component_or_menu_item, {
|
|
199
|
-
key: item,
|
|
200
|
-
onClick: $event => _ctx.handleToolbarClick(item)
|
|
201
|
-
}, {
|
|
202
|
-
default: withCtx(() => [createVNode(_component_or_icon_button, {
|
|
203
|
-
tooltip: {
|
|
204
|
-
text: _ctx.iconTooltipsEnum[item],
|
|
205
|
-
placement: 'top'
|
|
206
|
-
},
|
|
207
|
-
selected: _ctx.isActive[item],
|
|
208
|
-
disabled: !_ctx.isFocused,
|
|
209
|
-
icon: {
|
|
210
|
-
icon: _ctx.iconsEnum[item],
|
|
211
|
-
variant: 'inherit',
|
|
212
|
-
size: 'm'
|
|
213
|
-
}
|
|
214
|
-
}, null, 8 /* PROPS */, ["tooltip", "selected", "disabled", "icon"])]),
|
|
215
|
-
_: 2 /* DYNAMIC */
|
|
216
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
217
|
-
}), 128 /* KEYED_FRAGMENT */))]),
|
|
218
|
-
|
|
219
|
-
_: 1 /* STABLE */
|
|
220
|
-
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
221
|
-
key: 1,
|
|
222
|
-
ref: "menuRef",
|
|
223
|
-
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
224
|
-
placement: "bottom-start"
|
|
225
|
-
}, {
|
|
226
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.headingLevels, heading => {
|
|
227
|
-
return openBlock(), createBlock(_component_or_menu_item, {
|
|
228
|
-
key: heading,
|
|
229
|
-
onClick: $event => _ctx.handleToolbarClick('heading', heading)
|
|
230
|
-
}, {
|
|
231
|
-
default: withCtx(() => [createTextVNode(" Heading " + toDisplayString(heading), 1 /* TEXT */)]),
|
|
232
|
-
|
|
233
|
-
_: 2 /* DYNAMIC */
|
|
234
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
235
|
-
}), 128 /* KEYED_FRAGMENT */)), createVNode(_component_or_menu_item, {
|
|
236
|
-
onClick: _cache[5] || (_cache[5] = $event => _ctx.handleToolbarClick('heading'))
|
|
237
|
-
}, {
|
|
238
|
-
default: withCtx(() => [createTextVNode(" None ")]),
|
|
239
|
-
_: 1 /* STABLE */
|
|
240
|
-
})]),
|
|
241
|
-
|
|
242
|
-
_: 1 /* STABLE */
|
|
243
|
-
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), createVNode(_component_or_modal, {
|
|
244
|
-
"is-open": _ctx.isOpenLinkModal,
|
|
245
|
-
size: "s"
|
|
246
|
-
}, {
|
|
247
|
-
header: withCtx(() => [_hoisted_2]),
|
|
248
|
-
footer: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(_component_or_button, {
|
|
249
|
-
variant: "outlined",
|
|
250
|
-
onClick: _ctx.discardLink
|
|
251
|
-
}, {
|
|
252
|
-
default: withCtx(() => [_hoisted_4]),
|
|
253
|
-
_: 1 /* STABLE */
|
|
254
|
-
}, 8 /* PROPS */, ["onClick"]), createVNode(_component_or_button, {
|
|
255
|
-
onClick: _ctx.attachLink
|
|
256
|
-
}, {
|
|
257
|
-
default: withCtx(() => [_hoisted_5]),
|
|
258
|
-
_: 1 /* STABLE */
|
|
259
|
-
}, 8 /* PROPS */, ["onClick"])])]),
|
|
260
|
-
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_or_label, null, {
|
|
261
|
-
default: withCtx(() => [createTextVNode(" Text ")]),
|
|
262
|
-
_: 1 /* STABLE */
|
|
263
|
-
}), createVNode(_component_or_input, {
|
|
264
|
-
modelValue: _ctx.text,
|
|
265
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => _ctx.text = $event),
|
|
266
|
-
placeholder: "Placeholder",
|
|
267
|
-
class: "pb-md"
|
|
268
|
-
}, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_or_label, null, {
|
|
269
|
-
default: withCtx(() => [createTextVNode(" Link ")]),
|
|
270
|
-
_: 1 /* STABLE */
|
|
271
|
-
}), createVNode(_component_or_input, {
|
|
272
|
-
modelValue: _ctx.link,
|
|
273
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.link = $event),
|
|
274
|
-
placeholder: "Placeholder"
|
|
275
|
-
}, null, 8 /* PROPS */, ["modelValue"])])]),
|
|
276
|
-
_: 1 /* STABLE */
|
|
277
|
-
}, 8 /* PROPS */, ["is-open"])], 2 /* CLASS */);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
var css_248z = ".tiptap-editor-v3 ol {\n margin-left: 24px;\n margin-right: 24px;\n list-style: decimal;\n}\n.tiptap-editor-v3 .ProseMirror h1, .tiptap-editor-v3 .ProseMirror h2, .tiptap-editor-v3 .ProseMirror h3, .tiptap-editor-v3 .ProseMirror h4, .tiptap-editor-v3 .ProseMirror h5, .tiptap-editor-v3 .ProseMirror h6, .tiptap-editor-v3 .ProseMirror p {\n margin: 4px;\n}\n.tiptap-editor-v3 ul {\n margin-left: 24px;\n margin-right: 24px;\n list-style: disc outside none;\n list-style: initial;\n}\n.tiptap-editor-v3 blockquote {\n margin-left: 24px;\n margin-right: 24px;\n margin-top: 8px;\n margin-bottom: 8px;\n padding-left: 24px;\n padding-right: 24px;\n border-left: 4px solid rgba(0, 95, 177, 0.16);\n}\n.tiptap-editor-v3 .is-editor-empty::before {\n content: attr(data-placeholder);\n height: 0;\n pointer-events: none;\n float: left;\n}\n.tiptap-editor-v3 .cm-editor {\n border: none;\n border-radius: 4px;\n}\n.tiptap-editor-v3 .cm-editor .cm-scroller {\n border-radius: 4px;\n}\n.tiptap-editor-v3 .cm-editor.cm-focused {\n outline: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters {\n background-color: rgba(0, 95, 177, 0.12);\n border: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement {\n padding-left: 11px;\n padding-right: 11px;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter {\n background-color: rgba(0, 95, 177, 0.16);\n}";
|
|
281
|
-
styleInject(css_248z);
|
|
282
|
-
|
|
283
|
-
script.render = render;
|
|
284
|
-
script.__file = "src/components/or-rich-text-editor-v3/OrRichTextEditor.vue";
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance, PropType } from 'vue-demi';
|
|
2
|
-
import { Formats } from './props';
|
|
3
|
-
import { Editor } from '@tiptap/core';
|
|
4
|
-
import { Level } from '@tiptap/extension-heading';
|
|
5
|
-
declare const _default: import("vue-demi").DefineComponent<{
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: undefined;
|
|
9
|
-
};
|
|
10
|
-
toolbar: {
|
|
11
|
-
type: {
|
|
12
|
-
(arrayLength: number): string[][];
|
|
13
|
-
(...items: string[][]): string[][];
|
|
14
|
-
new (arrayLength: number): string[][];
|
|
15
|
-
new (...items: string[][]): string[][];
|
|
16
|
-
isArray(arg: any): arg is any[];
|
|
17
|
-
readonly prototype: any[];
|
|
18
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
19
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
20
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
21
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
22
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
23
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
24
|
-
};
|
|
25
|
-
default: () => never[];
|
|
26
|
-
};
|
|
27
|
-
description: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
placeholder: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
autofocus: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
format: {
|
|
40
|
-
type: PropType<Formats>;
|
|
41
|
-
default: Formats;
|
|
42
|
-
};
|
|
43
|
-
fullHeight: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
}, {
|
|
48
|
-
editor: Editor | null;
|
|
49
|
-
editorRef: import("vue-demi").Ref<HTMLDivElement | undefined>;
|
|
50
|
-
toolbarRef: import("vue-demi").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false, import("vue-demi").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined>;
|
|
51
|
-
containerRef: import("vue-demi").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false, import("vue-demi").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined>;
|
|
52
|
-
toolbarButtonRef: import("vue-demi").Ref<any>;
|
|
53
|
-
moreButtonRef: import("vue-demi").Ref<HTMLDivElement | undefined>;
|
|
54
|
-
textareaRef: import("vue-demi").Ref<HTMLTextAreaElement | undefined>;
|
|
55
|
-
moreRef: import("vue-demi").Ref<HTMLDivElement | undefined>;
|
|
56
|
-
menuRef: import("vue-demi").Ref<any>;
|
|
57
|
-
iconsEnum: import("vue-demi").Ref<{
|
|
58
|
-
[key: string]: string;
|
|
59
|
-
}>;
|
|
60
|
-
handleToolbarClick: (item: string, level?: number) => void;
|
|
61
|
-
handleEditorClick: () => void;
|
|
62
|
-
isActive: import("vue-demi").Ref<{
|
|
63
|
-
[key: string]: boolean;
|
|
64
|
-
}>;
|
|
65
|
-
iconTooltipsEnum: import("vue-demi").Ref<{
|
|
66
|
-
[key: string]: string;
|
|
67
|
-
}>;
|
|
68
|
-
containerStyles: import("vue-demi").ComputedRef<string[]>;
|
|
69
|
-
toolbarContainerStyles: import("vue-demi").ComputedRef<string[]>;
|
|
70
|
-
toolbarStyles: import("vue-demi").ComputedRef<string[]>;
|
|
71
|
-
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
72
|
-
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
73
|
-
editorInputStyles: import("vue-demi").ComputedRef<string[]>;
|
|
74
|
-
getIndexOfHeading: import("vue-demi").ComputedRef<number>;
|
|
75
|
-
headingLevels: Level[];
|
|
76
|
-
headingIcon: import("vue-demi").ComputedRef<string>;
|
|
77
|
-
attachLink: () => Promise<void>;
|
|
78
|
-
discardLink: () => void;
|
|
79
|
-
isOpenLinkModal: import("vue-demi").Ref<boolean>;
|
|
80
|
-
text: import("vue-demi").Ref<string>;
|
|
81
|
-
link: import("vue-demi").Ref<string>;
|
|
82
|
-
isFocused: import("vue-demi").Ref<boolean>;
|
|
83
|
-
isVisible: (value: string | Array<string>) => boolean;
|
|
84
|
-
countOfNotVisibleTools: import("vue-demi").Ref<number>;
|
|
85
|
-
notVisibleTools: import("vue-demi").ComputedRef<string[]>;
|
|
86
|
-
handleInput: (event: InputEvent) => void;
|
|
87
|
-
proxyModelValue: import("vue-demi").WritableComputedRef<string | undefined>;
|
|
88
|
-
disableMarkdown: import("vue-demi").Ref<boolean>;
|
|
89
|
-
sourceValue: import("vue-demi").Ref<string>;
|
|
90
|
-
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "file-upload")[], "update:modelValue" | "input" | "file-upload", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
91
|
-
modelValue: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: undefined;
|
|
94
|
-
};
|
|
95
|
-
toolbar: {
|
|
96
|
-
type: {
|
|
97
|
-
(arrayLength: number): string[][];
|
|
98
|
-
(...items: string[][]): string[][];
|
|
99
|
-
new (arrayLength: number): string[][];
|
|
100
|
-
new (...items: string[][]): string[][];
|
|
101
|
-
isArray(arg: any): arg is any[];
|
|
102
|
-
readonly prototype: any[];
|
|
103
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
104
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
105
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
106
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
107
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
108
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
109
|
-
};
|
|
110
|
-
default: () => never[];
|
|
111
|
-
};
|
|
112
|
-
description: {
|
|
113
|
-
type: StringConstructor;
|
|
114
|
-
default: string;
|
|
115
|
-
};
|
|
116
|
-
placeholder: {
|
|
117
|
-
type: StringConstructor;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
autofocus: {
|
|
121
|
-
type: BooleanConstructor;
|
|
122
|
-
default: boolean;
|
|
123
|
-
};
|
|
124
|
-
format: {
|
|
125
|
-
type: PropType<Formats>;
|
|
126
|
-
default: Formats;
|
|
127
|
-
};
|
|
128
|
-
fullHeight: {
|
|
129
|
-
type: BooleanConstructor;
|
|
130
|
-
default: boolean;
|
|
131
|
-
};
|
|
132
|
-
}>> & {
|
|
133
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
135
|
-
"onFile-upload"?: ((...args: any[]) => any) | undefined;
|
|
136
|
-
}, {
|
|
137
|
-
description: string;
|
|
138
|
-
modelValue: string;
|
|
139
|
-
toolbar: string[][];
|
|
140
|
-
placeholder: string;
|
|
141
|
-
autofocus: boolean;
|
|
142
|
-
format: Formats;
|
|
143
|
-
fullHeight: boolean;
|
|
144
|
-
}>;
|
|
145
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-55b73340.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import '../../useFocusTrap-104d095b.js';
|
|
4
|
-
import '@vueuse/core';
|
|
5
|
-
import '../../markdown-7c7c4ca6.js';
|
|
6
|
-
import '../../index-85c2efe8.js';
|
|
7
|
-
import 'node:punycode';
|
|
8
|
-
import '../../index-418d5c0d.js';
|
|
9
|
-
import '../../index.es-3f39f316.js';
|
|
10
|
-
import './styles.js';
|
|
11
|
-
import './props.js';
|
|
12
|
-
import './utils/codemirror/codemirrorNode.js';
|
|
13
|
-
import './utils/codemirror/codemirrorView.js';
|
|
14
|
-
import '../../index-0d224ae5.js';
|
|
15
|
-
import './utils/codemirror/theme.js';
|
|
16
|
-
import '../../index-d92d0b48.js';
|
|
17
|
-
import '../../index-e9f6b2d8.js';
|
|
18
|
-
import '../OrIconButtonV3/OrIconButton.js';
|
|
19
|
-
import '../../OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
20
|
-
import '../OrIconButtonV3/props.js';
|
|
21
|
-
import '../OrIconV3/props.js';
|
|
22
|
-
import '../OrIconButtonV3/styles.js';
|
|
23
|
-
import '../OrIconV3/OrIcon.js';
|
|
24
|
-
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
25
|
-
import '../OrIconV3/styles.js';
|
|
26
|
-
import 'vue';
|
|
27
|
-
import '../OrTooltipV3/OrTooltip.js';
|
|
28
|
-
import '../../OrTooltip.vue_vue_type_script_lang-bb3db5bf.js';
|
|
29
|
-
import '../OrTooltipV3/styles.js';
|
|
30
|
-
import '../OrPopoverV3/OrPopover.js';
|
|
31
|
-
import '../../OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
32
|
-
import '../../floating-ui.dom.esm-83eba816.js';
|
|
33
|
-
import '../OrPopoverV3/props.js';
|
|
34
|
-
import '../OrPopoverV3/styles.js';
|
|
35
|
-
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
36
|
-
import '../../OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js';
|
|
37
|
-
import '../OrBottomSheetV3/props.js';
|
|
38
|
-
import '../OrBottomSheetV3/styles.js';
|
|
39
|
-
import '../OrOverlayV3/OrOverlay.js';
|
|
40
|
-
import '../../OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
41
|
-
import '../OrOverlayV3/styles.js';
|
|
42
|
-
import '../OrTeleportV3/OrTeleport.js';
|
|
43
|
-
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
44
|
-
import '../../hooks/useElevation.js';
|
|
45
|
-
import '../../utils/isVisible.js';
|
|
46
|
-
import '../../hooks/useResponsive/useResponsive.js';
|
|
47
|
-
import '../OrLabelV3/OrLabel.js';
|
|
48
|
-
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
49
|
-
import '../OrLabelV3/props.js';
|
|
50
|
-
import '../OrLabelV3/styles.js';
|
|
51
|
-
import '../OrMenuItemV3/OrMenuItem.js';
|
|
52
|
-
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
53
|
-
import '../OrMenuItemV3/styles.js';
|
|
54
|
-
import '../OrMenuV3/OrMenu.js';
|
|
55
|
-
import '../../OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
56
|
-
import '../OrMenuV3/styles.js';
|
|
57
|
-
import '../OrModalV3/OrModal.js';
|
|
58
|
-
import '../../OrModal.vue_vue_type_script_lang-202c4e2f.js';
|
|
59
|
-
import '../OrModalV3/props.js';
|
|
60
|
-
import '../OrModalV3/styles.js';
|
|
61
|
-
import '../OrInputV3/OrInput.js';
|
|
62
|
-
import '../../OrInput.vue_vue_type_script_lang-6242286b.js';
|
|
63
|
-
import '../OrInputV3/props.js';
|
|
64
|
-
import '../OrInputBoxV3/props.js';
|
|
65
|
-
import '../OrInputV3/styles.js';
|
|
66
|
-
import '../OrErrorV3/OrError.js';
|
|
67
|
-
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
68
|
-
import '../OrErrorV3/styles.js';
|
|
69
|
-
import '../OrHintV3/OrHint.js';
|
|
70
|
-
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
71
|
-
import '../OrHintV3/styles.js';
|
|
72
|
-
import '../OrInputBoxV3/OrInputBox.js';
|
|
73
|
-
import '../../OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
74
|
-
import '../OrInputBoxV3/styles.js';
|
|
75
|
-
import '../OrLoaderV3/OrLoader.js';
|
|
76
|
-
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
77
|
-
import '../OrLoaderV3/props.js';
|
|
78
|
-
import '../OrLoaderV3/styles.js';
|
|
79
|
-
import '../../hooks/useIdAttribute.js';
|
|
80
|
-
import '../../hooks/useControlAttributes.js';
|
|
81
|
-
import '../../hooks/useValidationAttributes.js';
|
|
82
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
83
|
-
import '../OrButtonV3/OrButton.js';
|
|
84
|
-
import '../../OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
85
|
-
import '../OrButtonV3/props.js';
|
|
86
|
-
import '../OrButtonV3/styles.js';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const EditorContainer: string[];
|
|
2
|
-
export declare const ToolbarContainer: string[];
|
|
3
|
-
export declare const Toolbar: string[];
|
|
4
|
-
export declare const ToolbarButton: string[];
|
|
5
|
-
export declare const ToolbarButtonFocused: string[];
|
|
6
|
-
export declare const EditorInput: string[];
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
const EditorContainer = [
|
|
2
|
-
// Colors
|
|
3
|
-
'border-outline', 'focus-within:theme-border-1-primary', 'focus-within:bg-primary-opacity-0-08', 'focus-within:theme-outline-primary',
|
|
4
|
-
// Sizing
|
|
5
|
-
'border-1', 'rounded-md', 'w-full'];
|
|
6
|
-
const ToolbarContainer = [
|
|
7
|
-
// Layout
|
|
8
|
-
'flex',
|
|
9
|
-
//Spacing
|
|
10
|
-
'py-sm',
|
|
11
|
-
//Sizing
|
|
12
|
-
'border-b-1',
|
|
13
|
-
//Colors
|
|
14
|
-
'border-b-outline'];
|
|
15
|
-
const Toolbar = [
|
|
16
|
-
// Layout
|
|
17
|
-
'flex',
|
|
18
|
-
// Spacing
|
|
19
|
-
'px-sm', 'gap-md',
|
|
20
|
-
// Sizing
|
|
21
|
-
'border-l-1',
|
|
22
|
-
//Colors
|
|
23
|
-
'border-r-disabled',
|
|
24
|
-
// Last child
|
|
25
|
-
'first-of-type:border-none'];
|
|
26
|
-
const ToolbarButton = [
|
|
27
|
-
// Typography
|
|
28
|
-
'text-on-disabled'];
|
|
29
|
-
const ToolbarButtonFocused = [
|
|
30
|
-
// Typography
|
|
31
|
-
'text-outline'];
|
|
32
|
-
const EditorInput = [
|
|
33
|
-
// Typography
|
|
34
|
-
'typography-body-2-regular',
|
|
35
|
-
// Sizing
|
|
36
|
-
'min-h-[88px]'];
|
|
37
|
-
|
|
38
|
-
export { EditorContainer, EditorInput, Toolbar, ToolbarButton, ToolbarButtonFocused, ToolbarContainer };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { N as Node } from '../../../../index-418d5c0d.js';
|
|
2
|
-
import CodeMirrorView from './codemirrorView.js';
|
|
3
|
-
import { m as minimalSetup } from '../../../../index-d92d0b48.js';
|
|
4
|
-
import { e as javascript } from '../../../../index-e9f6b2d8.js';
|
|
5
|
-
import '../../../../index-85c2efe8.js';
|
|
6
|
-
import '../../../../index.es-3f39f316.js';
|
|
7
|
-
import '../../../../index-0d224ae5.js';
|
|
8
|
-
import './theme.js';
|
|
9
|
-
|
|
10
|
-
var codemirrorNode = Node.create({
|
|
11
|
-
name: 'codeBlock',
|
|
12
|
-
content: 'text*',
|
|
13
|
-
marks: '',
|
|
14
|
-
group: 'block',
|
|
15
|
-
code: true,
|
|
16
|
-
defining: true,
|
|
17
|
-
isolating: true,
|
|
18
|
-
parseHTML() {
|
|
19
|
-
return [{
|
|
20
|
-
tag: 'pre',
|
|
21
|
-
preserveWhitespace: 'full'
|
|
22
|
-
}];
|
|
23
|
-
},
|
|
24
|
-
renderHTML() {
|
|
25
|
-
return ['pre', ['code', 0]];
|
|
26
|
-
},
|
|
27
|
-
addNodeView() {
|
|
28
|
-
return _ref => {
|
|
29
|
-
let {
|
|
30
|
-
node,
|
|
31
|
-
editor,
|
|
32
|
-
getPos
|
|
33
|
-
} = _ref;
|
|
34
|
-
return new CodeMirrorView({
|
|
35
|
-
node,
|
|
36
|
-
view: editor.view,
|
|
37
|
-
getPos: getPos,
|
|
38
|
-
cmOptions: {
|
|
39
|
-
extensions: [minimalSetup, javascript()]
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
export { codemirrorNode as default };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TextSelection } from 'prosemirror-state';
|
|
2
|
-
import { EditorView, NodeView } from 'prosemirror-view';
|
|
3
|
-
import { Node as ProsemirrorNode } from 'prosemirror-model';
|
|
4
|
-
import { Transaction as CMTransaction } from '@codemirror/state';
|
|
5
|
-
import { Command, EditorView as CMView } from '@codemirror/view';
|
|
6
|
-
import { CodeMirrorViewOptions } from './types';
|
|
7
|
-
declare class CodeMirrorView implements NodeView {
|
|
8
|
-
name: string;
|
|
9
|
-
node: ProsemirrorNode;
|
|
10
|
-
view: EditorView;
|
|
11
|
-
dom: HTMLElement;
|
|
12
|
-
cm: CMView;
|
|
13
|
-
getPos: () => number;
|
|
14
|
-
updating: boolean;
|
|
15
|
-
constructor(options: CodeMirrorViewOptions);
|
|
16
|
-
forwardSelection(): void;
|
|
17
|
-
asProseMirrorSelection(doc: ProsemirrorNode): TextSelection;
|
|
18
|
-
dispatch(cmTr: CMTransaction): void;
|
|
19
|
-
mayBeEscape(unit: 'char' | 'line', dir: -1 | 1): Command;
|
|
20
|
-
update(node: ProsemirrorNode): boolean;
|
|
21
|
-
setSelection(anchor: number, head: number): void;
|
|
22
|
-
focus(): void;
|
|
23
|
-
selectNode(): void;
|
|
24
|
-
stopEvent(): boolean;
|
|
25
|
-
destroy(): void;
|
|
26
|
-
}
|
|
27
|
-
export default CodeMirrorView;
|