@onereach/ui-components 3.1.0-beta.2483.0 → 3.1.0-beta.2496.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/OrAvatar-1d385f65.js +193 -0
- package/dist/bundled/v2/OrAvatar-a54d87f6.js +115 -0
- package/dist/bundled/v2/OrBottomSheet-08c7ec73.js +174 -0
- package/dist/bundled/v2/OrButton-28addda1.js +201 -0
- package/dist/bundled/v2/OrButton-979a5e9c.js +197 -0
- package/dist/bundled/v2/OrButton-e812d1f7.js +175 -0
- package/dist/bundled/v2/OrCard-cea07ac1.js +69 -0
- package/dist/bundled/v2/OrCard-e07c7e8c.js +67 -0
- package/dist/bundled/v2/OrCardCollection-19b22ac0.js +222 -0
- package/dist/bundled/v2/OrCardCollection-a7706585.js +347 -0
- package/dist/bundled/v2/OrCarouselItem-5ba1d0d3.js +2921 -0
- package/dist/bundled/v2/OrCheckbox-445ed5cf.js +215 -0
- package/dist/bundled/v2/OrCheckbox-76849460.js +183 -0
- package/dist/bundled/v2/OrChip-ce81b0c6.js +93 -0
- package/dist/bundled/v2/OrChips-bd939cdf.js +321 -0
- package/dist/bundled/v2/OrCode-e1d5b058.js +4420 -0
- package/dist/bundled/v2/OrCollapse-f7cbcd25.js +170 -0
- package/dist/bundled/v2/OrColorPicker-8fa65edd.js +494 -0
- package/dist/bundled/v2/OrConfirm-4d08c38d.js +260 -0
- package/dist/bundled/v2/OrConfirm-f14ac69d.js +331 -0
- package/dist/bundled/v2/OrDateTimePicker-def82ca4.js +767 -0
- package/dist/bundled/v2/OrEmptyState-a38727b9.js +160 -0
- package/dist/bundled/v2/OrError-1186b62f.js +90 -0
- package/dist/bundled/v2/OrError-29f0ce95.js +54 -0
- package/dist/bundled/v2/OrErrorTag-79922468.js +80 -0
- package/dist/bundled/v2/OrExpansionPanel-7cd552fa.js +206 -0
- package/dist/bundled/v2/OrFab-c2321877.js +105 -0
- package/dist/bundled/v2/OrFloating-507e8028.js +208 -0
- package/dist/bundled/v2/OrHint-29b31ba4.js +90 -0
- package/dist/bundled/v2/OrHint-664117aa.js +57 -0
- package/dist/bundled/v2/OrIcon-05d29a78.js +130 -0
- package/dist/bundled/v2/OrIcon-90adc2bd.js +177 -0
- package/dist/bundled/v2/OrIconButton-d427d121.js +169 -0
- package/dist/bundled/v2/OrIconButton-e28d129f.js +207 -0
- package/dist/bundled/v2/OrInlineInput-916fd2b8.js +384 -0
- package/dist/bundled/v2/OrInlineInputBox-fbc52d40.js +96 -0
- package/dist/bundled/v2/OrInlineTextEdit-96469839.js +399 -0
- package/dist/bundled/v2/OrInlineTextarea-f26824e4.js +288 -0
- package/dist/bundled/v2/OrInput-059a67b6.js +427 -0
- package/dist/bundled/v2/OrInput-1589dca0.js +331 -0
- package/dist/bundled/v2/OrInputBox-4d265915.js +127 -0
- package/dist/bundled/v2/OrLabel-761500d5.js +123 -0
- package/dist/bundled/v2/OrLabel-f19ccb5f.js +80 -0
- package/dist/bundled/v2/OrLink-a407bb0d.js +123 -0
- package/dist/bundled/v2/OrList-8339eb4c.js +2875 -0
- package/dist/bundled/v2/OrListOfInputs-752b6998.js +221 -0
- package/dist/bundled/v2/OrLoader-5cfd67fb.js +114 -0
- package/dist/bundled/v2/OrLoader-dc73d8ee.js +203 -0
- package/dist/bundled/v2/OrMenu-e1cf47b8.js +142 -0
- package/dist/bundled/v2/OrMenuItem-7eb9d387.js +110 -0
- package/dist/bundled/v2/OrModal-c08c3e67.js +160 -0
- package/dist/bundled/v2/OrModal-d1cb603e.js +1462 -0
- package/dist/bundled/v2/OrNotification-50be557d.js +142 -0
- package/dist/bundled/v2/OrNotification-8695c59e.js +168 -0
- package/dist/bundled/v2/OrNumberInput-6b183931.js +227 -0
- package/dist/bundled/v2/OrOverflowMenu-243d4723.js +246 -0
- package/dist/bundled/v2/OrOverlay-4b923676.js +87 -0
- package/dist/bundled/v2/OrOverlay-5263b088.js +73 -0
- package/dist/bundled/v2/OrPagination-203a86f1.js +336 -0
- package/dist/bundled/v2/OrPassword-1867d029.js +224 -0
- package/dist/bundled/v2/OrPopover-06448d74.js +292 -0
- package/dist/bundled/v2/OrProgress-5880025c.js +226 -0
- package/dist/bundled/v2/OrProgress-e967daed.js +320 -0
- package/dist/bundled/v2/OrRadio-787e3386.js +197 -0
- package/dist/bundled/v2/OrRadio-c3655202.js +143 -0
- package/dist/bundled/v2/OrRadioGroup-fbe23f97.js +89 -0
- package/dist/bundled/v2/OrRichTextEditor-569c9cdb.js +30049 -0
- package/dist/bundled/v2/OrSearch-a8d4cf95.js +146 -0
- package/dist/bundled/v2/OrSearch-c75656ff.js +245 -0
- package/dist/bundled/v2/OrSegmentedControl-8b551ef0.js +233 -0
- package/dist/bundled/v2/OrSelect-0b9b27e9.js +544 -0
- package/dist/bundled/v2/OrSelect-39dedeb9.js +1101 -0
- package/dist/bundled/v2/OrSidebar-0d6177e2.js +351 -0
- package/dist/bundled/v2/OrSidebar-9e7fe79c.js +149 -0
- package/dist/bundled/v2/OrSidebarCollapseButton-730a948a.js +125 -0
- package/dist/bundled/v2/OrSkeletonText-1bf08dbc.js +253 -0
- package/dist/bundled/v2/OrSkeletonText-e51ca60e.js +300 -0
- package/dist/bundled/v2/OrSlider-e1408560.js +370 -0
- package/dist/bundled/v2/OrSortHeader-c39b82c5.js +126 -0
- package/dist/bundled/v2/OrStepper-24841eea.js +650 -0
- package/dist/bundled/v2/OrSwitch-855e133d.js +249 -0
- package/dist/bundled/v2/OrSwitch-d421b4d3.js +154 -0
- package/dist/bundled/v2/OrTab-4c61cad9.js +109 -0
- package/dist/bundled/v2/OrTab-f47594ad.js +95 -0
- package/dist/bundled/v2/OrTabHeaderItem-38275146.js +112 -0
- package/dist/bundled/v2/OrTabs-251baec9.js +113 -0
- package/dist/bundled/v2/OrTabs-85d7036a.js +227 -0
- package/dist/bundled/v2/OrTag-4af70bdb.js +116 -0
- package/dist/bundled/v2/OrTag-7879a9fa.js +161 -0
- package/dist/bundled/v2/OrTeleport.vue2-90147f16.js +67 -0
- package/dist/bundled/v2/OrTeleport.vue2-e9ba3054.js +61 -0
- package/dist/bundled/v2/OrText-7887212a.js +134 -0
- package/dist/bundled/v2/OrTextarea-5027c642.js +260 -0
- package/dist/bundled/v2/OrTextarea-8653f1b4.js +327 -0
- package/dist/bundled/v2/OrTextbox-dbd1eae6.js +528 -0
- package/dist/bundled/v2/OrToastContainer-a021147e.js +336 -0
- package/dist/bundled/v2/OrTooltip-e34783de.js +167 -0
- package/dist/bundled/v2/OrTooltip-e62cdd46.js +157 -0
- package/dist/bundled/v2/OrTooltipContent-592eeb27.js +73 -0
- package/dist/bundled/v2/codemirrorView-ed4b4348.js +7136 -0
- package/dist/bundled/v2/color-1f348774.js +60 -0
- package/dist/bundled/v2/components/index.d.ts +1 -1
- package/dist/bundled/v2/components/index.js +124 -230
- package/dist/bundled/v2/components/or-avatar/index.js +15 -0
- package/dist/bundled/v2/components/or-avatar-v3/index.js +7 -0
- package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +10 -0
- package/dist/bundled/v2/components/or-button/index.js +8 -0
- package/dist/bundled/v2/components/or-button-v2/OrIconButton.vue.d.ts +132 -0
- package/dist/bundled/v2/components/or-button-v2/OrTooltipWrapper.vue.d.ts +32 -0
- package/dist/bundled/v2/components/or-button-v2/index.d.ts +3 -0
- package/dist/bundled/v2/components/or-button-v2/index.js +19 -0
- package/dist/bundled/v2/components/or-button-v3/index.js +7 -0
- package/dist/bundled/v2/components/or-card/index.js +6 -0
- package/dist/bundled/v2/components/or-card-collection/index.js +27 -0
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +31 -0
- package/dist/bundled/v2/components/or-card-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-carousel/index.d.ts +3 -0
- package/dist/bundled/v2/components/or-carousel/index.js +15 -0
- package/dist/bundled/v2/components/or-checkbox/index.js +15 -0
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +8 -0
- package/dist/bundled/v2/components/or-chips/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-chips/index.js +18 -0
- package/dist/bundled/v2/components/or-code/index.js +27 -0
- package/dist/bundled/v2/components/or-collapse/index.js +9 -0
- package/dist/bundled/v2/components/or-color-picker/index.js +13 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +162 -0
- package/dist/bundled/v2/components/or-confirm/index.js +29 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +29 -0
- package/dist/bundled/v2/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
- package/dist/bundled/v2/components/or-date-time-picker/index.js +24 -0
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-error/index.js +6 -0
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-error-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-fab-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-floating/index.js +11 -0
- package/dist/bundled/v2/components/or-hint/index.js +7 -0
- package/dist/bundled/v2/components/or-hint-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-icon/index.js +14 -0
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +16 -0
- package/dist/bundled/v2/components/or-icon-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +23 -0
- package/dist/bundled/v2/components/or-inline-text-edit/index.js +22 -0
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +23 -0
- package/dist/bundled/v2/components/or-input/index.js +13 -0
- package/dist/bundled/v2/components/or-input-box-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-input-v3/index.js +26 -0
- package/dist/bundled/v2/components/or-label/index.js +7 -0
- package/dist/bundled/v2/components/or-label-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-link-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-list/index.js +23 -0
- package/dist/bundled/v2/components/or-list-of-inputs/index.js +27 -0
- package/dist/bundled/v2/components/or-loader/index.js +7 -0
- package/dist/bundled/v2/components/or-loader-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-menu-v3/index.js +14 -0
- package/dist/bundled/v2/components/or-modal/index.js +21 -0
- package/dist/bundled/v2/components/or-modal-v3/index.js +17 -0
- package/dist/bundled/v2/components/or-notification/index.js +19 -0
- package/dist/bundled/v2/components/or-notification-v3/index.js +17 -0
- package/dist/bundled/v2/components/or-number-input/index.js +14 -0
- package/dist/bundled/v2/components/or-overflow-menu/index.js +21 -0
- package/dist/bundled/v2/components/or-overlay/index.js +6 -0
- package/dist/bundled/v2/components/or-overlay-v3/index.js +9 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.js +19 -0
- package/dist/bundled/v2/components/or-password/index.js +26 -0
- package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +108 -0
- package/dist/bundled/v2/components/or-popover-v3/index.js +13 -0
- package/dist/bundled/v2/components/or-progress/index.js +7 -0
- package/dist/bundled/v2/components/or-progress-v3/index.js +8 -0
- package/dist/bundled/v2/components/or-radio/index.js +7 -0
- package/dist/bundled/v2/components/or-radio-group/index.js +6 -0
- package/dist/bundled/v2/components/or-radio-v3/index.js +8 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +181 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +35 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +7 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +2 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
- package/dist/bundled/v2/components/or-search/index.js +25 -0
- package/dist/bundled/v2/components/or-search-v3/index.js +27 -0
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +49 -0
- package/dist/bundled/v2/components/or-segmented-control-v3/partials/or-segmented-control-item/styles.d.ts +3 -0
- package/dist/bundled/v2/components/or-select/OrSelect.vue.d.ts +238 -0
- package/dist/bundled/v2/components/or-select/OrSelectContent.vue.d.ts +114 -0
- package/dist/bundled/v2/components/or-select/OrSelectContentOptions.vue.d.ts +87 -0
- package/dist/bundled/v2/components/or-select/OrSelectInput.vue.d.ts +81 -0
- package/dist/bundled/v2/components/or-select/OrSelectInputValue.vue.d.ts +58 -0
- package/dist/bundled/v2/components/or-select/OrSelectMain.vue.d.ts +158 -0
- package/dist/bundled/v2/components/or-select/OrSelectOption.vue.d.ts +37 -0
- package/dist/bundled/v2/components/or-select/index.js +21 -0
- package/dist/bundled/v2/components/or-select-v3/index.js +33 -0
- package/dist/bundled/v2/components/or-sidebar/index.js +8 -0
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +19 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +18 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +18 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-skeleton/OrSkeletonText.vue.d.ts +73 -0
- package/dist/bundled/v2/components/or-skeleton/index.d.ts +4 -0
- package/dist/bundled/v2/components/or-skeleton/index.js +8 -0
- package/dist/bundled/v2/components/or-skeleton-v3/index.d.ts +3 -0
- package/dist/bundled/v2/components/or-skeleton-v3/index.js +7 -0
- package/dist/bundled/v2/components/or-slider/index.js +16 -0
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-stepper/index.js +18 -0
- package/dist/bundled/v2/components/or-switch/index.js +8 -0
- package/dist/bundled/v2/components/or-switch-v3/index.js +10 -0
- package/dist/bundled/v2/components/or-tab/index.js +8 -0
- package/dist/bundled/v2/components/or-tab-header-item/index.js +7 -0
- package/dist/bundled/v2/components/or-tab-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-tabs/index.js +8 -0
- package/dist/bundled/v2/components/or-tabs-v3/index.js +18 -0
- package/dist/bundled/v2/components/or-tag/index.js +16 -0
- package/dist/bundled/v2/components/or-tag-v3/index.js +17 -0
- package/dist/bundled/v2/components/or-teleport/index.js +6 -0
- package/dist/bundled/v2/components/or-teleport-v3/index.js +6 -0
- package/dist/bundled/v2/components/or-text-v3/index.js +5 -0
- package/dist/bundled/v2/components/or-textarea/index.js +13 -0
- package/dist/bundled/v2/components/or-textarea-v3/index.js +13 -0
- package/dist/bundled/v2/components/or-textbox/index.js +24 -0
- package/dist/bundled/v2/components/or-toast/OrToastContainer.vue.d.ts +93 -0
- package/dist/bundled/v2/components/or-toast/composable/index.js +5 -0
- package/dist/bundled/v2/components/or-toast/index.d.ts +6 -0
- package/dist/bundled/v2/components/or-toast/index.js +22 -0
- package/dist/bundled/v2/components/or-toast-v3/OrToastContainer.vue.d.ts +85 -0
- package/dist/bundled/v2/components/or-toast-v3/composable/index.js +5 -0
- package/dist/bundled/v2/components/or-toast-v3/index.d.ts +6 -0
- package/dist/bundled/v2/components/or-toast-v3/index.js +20 -0
- package/dist/bundled/v2/components/or-tooltip/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-tooltip/index.js +13 -0
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +14 -0
- package/dist/bundled/v2/constants-c5d1139f.js +43 -0
- package/dist/bundled/v2/directives/index.js +4 -3
- package/dist/bundled/v2/dom-7a41831b.js +58 -0
- package/dist/bundled/v2/dropdown-open-e2a93aaf.js +28 -0
- package/dist/bundled/v2/hooks/index.js +9 -9
- package/dist/bundled/v2/hooks/useResponsive/index.js +4 -2
- package/dist/bundled/v2/index-17f264f9.js +16 -0
- package/dist/bundled/v2/index-606dc30d.js +13307 -0
- package/dist/bundled/v2/index-dbb62f5c.js +12186 -0
- package/dist/bundled/v2/index-fa6eb4ca.js +11 -0
- package/dist/bundled/v2/index.js +133 -232
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v2/px-to-rem-0b26b83e.js +3 -0
- package/dist/bundled/v2/types-79c4992b.js +435 -0
- package/dist/bundled/v2/useElevation-b6e7590a.js +26 -0
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
- package/dist/bundled/v2/useOverflow-bae6342f.js +65 -0
- package/dist/bundled/v2/useResponsive-e13dfbb0.js +14 -0
- package/dist/bundled/v2/useToast-1faa828c.js +189 -0
- package/dist/bundled/v2/useToast-3a3d4280.js +197 -0
- package/dist/bundled/v2/useToggle-6166bd53.js +23 -0
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
- package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-45732c41.js +144 -0
- package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-a013315b.js +63 -0
- package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-e3ef075b.js +145 -0
- package/dist/bundled/v3/OrButton-192156e6.js +41 -0
- package/dist/bundled/v3/OrButton-7b1eac5d.js +35 -0
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-17f34bec.js +99 -0
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-c0800f20.js +122 -0
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-ed1524cf.js +140 -0
- package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-061e43c7.js +32 -0
- package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-90ba001b.js +21 -0
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-4b239b01.js +190 -0
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-dda3f349.js +232 -0
- package/dist/bundled/v3/OrCarouselItem-361cd007.js +55 -0
- package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-cc31281a.js +2822 -0
- package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-04690001.js +117 -0
- package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-87143106.js +88 -0
- package/dist/bundled/v3/OrChip-f8874fb2.js +67 -0
- package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-3c26c28f.js +196 -0
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-e77ee0c0.js +4302 -0
- package/dist/bundled/v3/OrCollapse-d2564011.js +35 -0
- package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-04ffe655.js +114 -0
- package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-3b58e79f.js +389 -0
- package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-3eb862c3.js +160 -0
- package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-f8a75cf0.js +237 -0
- package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-d7344d80.js +463 -0
- package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-4dc955fd.js +111 -0
- package/dist/bundled/v3/OrError-b43ebad8.js +17 -0
- package/dist/bundled/v3/OrError.vue_vue_type_script_lang-7305a1d9.js +46 -0
- package/dist/bundled/v3/OrError.vue_vue_type_script_lang-7c39e012.js +13 -0
- package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-26bd7e9a.js +37 -0
- package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-60d86e7b.js +136 -0
- package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-1bc958da.js +60 -0
- package/dist/bundled/v3/OrFloating-c13f0eae.js +23 -0
- package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-c7bbb811.js +168 -0
- package/dist/bundled/v3/OrHint-c9114268.js +17 -0
- package/dist/bundled/v3/OrHint-fcd2563e.js +35 -0
- package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-47d9b9ed.js +46 -0
- package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-78598c8e.js +16 -0
- package/dist/bundled/v3/OrIcon-a670d8e9.js +12 -0
- package/dist/bundled/v3/OrIcon-e8ea87d0.js +39 -0
- package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-4af1b391.js +115 -0
- package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-859d76fb.js +93 -0
- package/dist/bundled/v3/OrIconButton-71a8da96.js +42 -0
- package/dist/bundled/v3/OrIconButton-b3e4997b.js +34 -0
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-60d2d34d.js +163 -0
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-de03b47c.js +135 -0
- package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-3d76b4b8.js +178 -0
- package/dist/bundled/v3/OrInlineInputBox-019a5579.js +14 -0
- package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-aff0fced.js +56 -0
- package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-af562778.js +243 -0
- package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-5b87295b.js +156 -0
- package/dist/bundled/v3/OrInput-0141dbad.js +121 -0
- package/dist/bundled/v3/OrInput-d95faac1.js +110 -0
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-831761b8.js +166 -0
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-a415817b.js +190 -0
- package/dist/bundled/v3/OrInputBox-66241142.js +16 -0
- package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-d07fa3ad.js +85 -0
- package/dist/bundled/v3/OrLabel-4da10c50.js +22 -0
- package/dist/bundled/v3/OrLabel-e412c532.js +20 -0
- package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-27f8b12d.js +37 -0
- package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-5ba2b33c.js +74 -0
- package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-4506e3b2.js +82 -0
- package/dist/bundled/v3/OrList.vue_vue_type_script_lang-e9c5f2b1.js +2759 -0
- package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-3d17ccac.js +167 -0
- package/dist/bundled/v3/OrLoader-41de68e0.js +64 -0
- package/dist/bundled/v3/OrLoader-ee97fef4.js +42 -0
- package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-1378ab8e.js +54 -0
- package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-9f6ed71f.js +111 -0
- package/dist/bundled/v3/OrMenu-97b74f43.js +27 -0
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-bff59dcb.js +86 -0
- package/dist/bundled/v3/OrMenuItem-a90b0369.js +27 -0
- package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-d65eec51.js +54 -0
- package/dist/bundled/v3/OrModal-0f2cb8c9.js +51 -0
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-87032cf0.js +104 -0
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a60d4580.js +1391 -0
- package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-10b7460c.js +113 -0
- package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-e063adb5.js +82 -0
- package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-a25274f5.js +113 -0
- package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-794aebbb.js +135 -0
- package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-b9bf5e50.js +33 -0
- package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-c298c8cd.js +56 -0
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-8ec07f21.js +194 -0
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-61f6df6b.js +99 -0
- package/dist/bundled/v3/OrPopover-f09c1ad2.js +34 -0
- package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-1caf28d1.js +266 -0
- package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-3f9ec654.js +146 -0
- package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-d725e281.js +210 -0
- package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-23f050a2.js +113 -0
- package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-c956b54b.js +85 -0
- package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js +47 -0
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-fe8342f6.js +29907 -0
- package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-afb27ea5.js +78 -0
- package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-f4a3f989.js +122 -0
- package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-b3069c12.js +151 -0
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-1574d816.js +395 -0
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-2016ac4e.js +815 -0
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7c55ac0a.js +94 -0
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-bfaee185.js +291 -0
- package/dist/bundled/v3/OrSidebarCollapseButton.vue_vue_type_script_lang-15f995a0.js +75 -0
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-5d63c696.js +184 -0
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js +131 -0
- package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-a5a10569.js +227 -0
- package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-73335917.js +74 -0
- package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-c8f92d93.js +376 -0
- package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-c995850e.js +142 -0
- package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-f55d33f4.js +81 -0
- package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-045eb56a.js +43 -0
- package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-de7c7063.js +61 -0
- package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js +63 -0
- package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-40e2a6e9.js +66 -0
- package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-4b181fc5.js +167 -0
- package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-429e76ad.js +94 -0
- package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-6677064d.js +58 -0
- package/dist/bundled/v3/OrTeleport.vue3-12636ac0.js +33 -0
- package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js +17 -0
- package/dist/bundled/v3/OrText.vue_vue_type_script_lang-c12f7b15.js +93 -0
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-0ae5cda3.js +126 -0
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-13c5e976.js +187 -0
- package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-bda20419.js +363 -0
- package/dist/bundled/v3/OrToastContainer-056470e4.js +40 -0
- package/dist/bundled/v3/OrToastContainer-0b16a650.js +41 -0
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-e495902f.js +301 -0
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-ce2158d0.js +115 -0
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-eb8ad0e1.js +87 -0
- package/dist/bundled/v3/OrTooltipContent-b0dcb862.js +43 -0
- package/dist/bundled/v3/codemirrorView-be4f561d.js +7136 -0
- package/dist/bundled/v3/color-1f348774.js +60 -0
- package/dist/bundled/v3/components/index.d.ts +1 -1
- package/dist/bundled/v3/components/index.js +144 -273
- package/dist/bundled/v3/components/or-avatar/index.js +13 -0
- package/dist/bundled/v3/components/or-avatar-v3/index.js +5 -0
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +6 -0
- package/dist/bundled/v3/components/or-button/index.js +6 -0
- package/dist/bundled/v3/components/or-button-v2/OrIconButton.vue.d.ts +132 -0
- package/dist/bundled/v3/components/or-button-v2/OrTooltipWrapper.vue.d.ts +32 -0
- package/dist/bundled/v3/components/or-button-v2/index.d.ts +3 -0
- package/dist/bundled/v3/components/or-button-v2/index.js +18 -0
- package/dist/bundled/v3/components/or-button-v3/index.js +5 -0
- package/dist/bundled/v3/components/or-card/index.js +2 -0
- package/dist/bundled/v3/components/or-card-collection/index.js +32 -0
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +38 -0
- package/dist/bundled/v3/components/or-card-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-carousel/index.d.ts +3 -0
- package/dist/bundled/v3/components/or-carousel/index.js +14 -0
- package/dist/bundled/v3/components/or-checkbox/index.js +13 -0
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +5 -0
- package/dist/bundled/v3/components/or-chips/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-chips/index.js +18 -0
- package/dist/bundled/v3/components/or-code/index.js +31 -0
- package/dist/bundled/v3/components/or-collapse/index.js +5 -0
- package/dist/bundled/v3/components/or-color-picker/index.js +10 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +131 -0
- package/dist/bundled/v3/components/or-confirm/index.js +36 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +34 -0
- package/dist/bundled/v3/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
- package/dist/bundled/v3/components/or-date-time-picker/index.js +28 -0
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-error/index.js +2 -0
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +4 -0
- package/dist/bundled/v3/components/or-error-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +4 -0
- package/dist/bundled/v3/components/or-fab-v3/index.js +4 -0
- package/dist/bundled/v3/components/or-floating/index.js +6 -0
- package/dist/bundled/v3/components/or-hint/index.js +3 -0
- package/dist/bundled/v3/components/or-hint-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-icon/index.js +11 -0
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +14 -0
- package/dist/bundled/v3/components/or-icon-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +23 -0
- package/dist/bundled/v3/components/or-inline-text-edit/index.js +24 -0
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +23 -0
- package/dist/bundled/v3/components/or-input/index.js +14 -0
- package/dist/bundled/v3/components/or-input-box-v3/index.js +3 -0
- package/dist/bundled/v3/components/or-input-v3/index.js +28 -0
- package/dist/bundled/v3/components/or-label/index.js +3 -0
- package/dist/bundled/v3/components/or-label-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-link-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-list/index.js +26 -0
- package/dist/bundled/v3/components/or-list-of-inputs/index.js +33 -0
- package/dist/bundled/v3/components/or-loader/index.js +3 -0
- package/dist/bundled/v3/components/or-loader-v3/index.js +3 -0
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +4 -0
- package/dist/bundled/v3/components/or-menu-v3/index.js +11 -0
- package/dist/bundled/v3/components/or-modal/index.js +21 -0
- package/dist/bundled/v3/components/or-modal-v3/index.js +16 -0
- package/dist/bundled/v3/components/or-notification/index.js +19 -0
- package/dist/bundled/v3/components/or-notification-v3/index.js +16 -0
- package/dist/bundled/v3/components/or-number-input/index.js +16 -0
- package/dist/bundled/v3/components/or-overflow-menu/index.js +22 -0
- package/dist/bundled/v3/components/or-overlay/index.js +2 -0
- package/dist/bundled/v3/components/or-overlay-v3/index.js +5 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.js +21 -0
- package/dist/bundled/v3/components/or-password/index.js +31 -0
- package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +108 -0
- package/dist/bundled/v3/components/or-popover-v3/index.js +9 -0
- package/dist/bundled/v3/components/or-progress/index.js +3 -0
- package/dist/bundled/v3/components/or-progress-v3/index.js +5 -0
- package/dist/bundled/v3/components/or-radio/index.js +3 -0
- package/dist/bundled/v3/components/or-radio-group/index.js +2 -0
- package/dist/bundled/v3/components/or-radio-v3/index.js +5 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +181 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +42 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +7 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +2 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
- package/dist/bundled/v3/components/or-search/index.js +30 -0
- package/dist/bundled/v3/components/or-search-v3/index.js +31 -0
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +49 -0
- package/dist/bundled/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/styles.d.ts +3 -0
- package/dist/bundled/v3/components/or-select/OrSelect.vue.d.ts +230 -0
- package/dist/bundled/v3/components/or-select/OrSelectContent.vue.d.ts +114 -0
- package/dist/bundled/v3/components/or-select/OrSelectContentOptions.vue.d.ts +87 -0
- package/dist/bundled/v3/components/or-select/OrSelectInput.vue.d.ts +81 -0
- package/dist/bundled/v3/components/or-select/OrSelectInputValue.vue.d.ts +58 -0
- package/dist/bundled/v3/components/or-select/OrSelectMain.vue.d.ts +158 -0
- package/dist/bundled/v3/components/or-select/OrSelectOption.vue.d.ts +37 -0
- package/dist/bundled/v3/components/or-select/index.js +22 -0
- package/dist/bundled/v3/components/or-select-v3/index.js +38 -0
- package/dist/bundled/v3/components/or-sidebar/index.js +4 -0
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +18 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +17 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +17 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-skeleton/OrSkeletonText.vue.d.ts +73 -0
- package/dist/bundled/v3/components/or-skeleton/index.d.ts +4 -0
- package/dist/bundled/v3/components/or-skeleton/index.js +4 -0
- package/dist/bundled/v3/components/or-skeleton-v3/index.d.ts +3 -0
- package/dist/bundled/v3/components/or-skeleton-v3/index.js +4 -0
- package/dist/bundled/v3/components/or-slider/index.js +14 -0
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +4 -0
- package/dist/bundled/v3/components/or-stepper/index.js +18 -0
- package/dist/bundled/v3/components/or-switch/index.js +6 -0
- package/dist/bundled/v3/components/or-switch-v3/index.js +8 -0
- package/dist/bundled/v3/components/or-tab/index.js +4 -0
- package/dist/bundled/v3/components/or-tab-header-item/index.js +3 -0
- package/dist/bundled/v3/components/or-tab-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-tabs/index.js +5 -0
- package/dist/bundled/v3/components/or-tabs-v3/index.js +18 -0
- package/dist/bundled/v3/components/or-tag/index.js +14 -0
- package/dist/bundled/v3/components/or-tag-v3/index.js +16 -0
- package/dist/bundled/v3/components/or-teleport/index.js +2 -0
- package/dist/bundled/v3/components/or-teleport-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-text-v3/index.js +2 -0
- package/dist/bundled/v3/components/or-textarea/index.js +14 -0
- package/dist/bundled/v3/components/or-textarea-v3/index.js +12 -0
- package/dist/bundled/v3/components/or-textbox/index.js +28 -0
- package/dist/bundled/v3/components/or-toast/OrToastContainer.vue.d.ts +93 -0
- package/dist/bundled/v3/components/or-toast/composable/index.js +3 -0
- package/dist/bundled/v3/components/or-toast/index.d.ts +6 -0
- package/dist/bundled/v3/components/or-toast/index.js +23 -0
- package/dist/bundled/v3/components/or-toast-v3/OrToastContainer.vue.d.ts +85 -0
- package/dist/bundled/v3/components/or-toast-v3/composable/index.js +3 -0
- package/dist/bundled/v3/components/or-toast-v3/index.d.ts +6 -0
- package/dist/bundled/v3/components/or-toast-v3/index.js +21 -0
- package/dist/bundled/v3/components/or-tooltip/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-tooltip/index.js +10 -0
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +11 -0
- package/dist/bundled/v3/constants-c5d1139f.js +43 -0
- package/dist/bundled/v3/directives/index.js +2 -3
- package/dist/bundled/v3/dom-4f424b9d.js +58 -0
- package/dist/bundled/v3/dropdown-open-293d2de2.js +28 -0
- package/dist/bundled/v3/hooks/index.js +7 -9
- package/dist/bundled/v3/hooks/useResponsive/index.js +2 -2
- package/dist/bundled/v3/index-01519e46.js +15 -0
- package/dist/bundled/v3/index-d8b799f5.js +12186 -0
- package/dist/bundled/v3/index-e8bdb625.js +13307 -0
- package/dist/bundled/v3/index.js +3211 -335
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/bundled/v3/px-to-rem-0b26b83e.js +3 -0
- package/dist/bundled/v3/types-f428a884.js +343 -0
- package/dist/bundled/v3/useElevation-e8a2ce89.js +25 -0
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
- package/dist/bundled/v3/useOverflow-6dce216b.js +64 -0
- package/dist/bundled/v3/useResponsive-9d397e2a.js +13 -0
- package/dist/bundled/v3/useToast-4d4329cd.js +196 -0
- package/dist/bundled/v3/useToast-d5b3c109.js +188 -0
- package/dist/bundled/v3/useToggle-09b6cb90.js +22 -0
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
- package/dist/esm/v2/OrAvatar-b75af823.js +113 -0
- package/dist/esm/v2/OrButton-12d5d556.js +75 -0
- package/dist/esm/v2/OrCardCollection-1583425b.js +221 -0
- package/dist/esm/v2/OrCardCollection-f4c27d14.js +346 -0
- package/dist/esm/v2/OrCarouselItem-d20717ec.js +281 -0
- package/dist/esm/v2/OrCheckbox-63d444f1.js +181 -0
- package/dist/esm/v2/OrChips-7f85a4ba.js +82 -0
- package/dist/esm/v2/OrChips.vue_rollup-plugin-vue_styles.0-8d277377.js +325 -0
- package/dist/esm/v2/OrCode-fd7c026c.js +556 -0
- package/dist/esm/v2/OrConfirm-216060ac.js +329 -0
- package/dist/esm/v2/OrConfirm-64e815c7.js +258 -0
- package/dist/esm/v2/OrDateTimePicker-85e5e03e.js +765 -0
- package/dist/esm/v2/OrIcon-dd72b52f.js +175 -0
- package/dist/esm/v2/OrIconButton-0984afde.js +64 -0
- package/dist/esm/v2/OrIconButton-5c4ef664.js +168 -0
- package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-acd57933.js +294 -0
- package/dist/esm/v2/OrInlineInput-46e7f140.js +383 -0
- package/dist/esm/v2/OrInlineTextEdit-f950e6d2.js +398 -0
- package/dist/esm/v2/OrInlineTextarea-d016f618.js +287 -0
- package/dist/esm/v2/OrInput-9e6040e4.js +426 -0
- package/dist/esm/v2/OrList-160e60f2.js +296 -0
- package/dist/esm/v2/OrListOfInputs-9a08a3ee.js +220 -0
- package/dist/esm/v2/OrMenu-fb119a7b.js +140 -0
- package/dist/esm/v2/OrModal-195ae7b6.js +198 -0
- package/dist/esm/v2/OrModal-b759863f.js +158 -0
- package/dist/esm/v2/OrNotification-48cd0779.js +141 -0
- package/dist/esm/v2/OrNotification-f9e48250.js +166 -0
- package/dist/esm/v2/OrOverflowMenu-1a82785c.js +244 -0
- package/dist/esm/v2/OrPagination-dc27788c.js +336 -0
- package/dist/esm/v2/OrPassword-239dfa7a.js +222 -0
- package/dist/esm/v2/OrPopover-aa9f4918.js +290 -0
- package/dist/esm/v2/OrRichTextEditor-52fb3942.js +676 -0
- package/dist/esm/v2/OrSearch-2fbdbec9.js +243 -0
- package/dist/esm/v2/OrSearch-da9725b4.js +144 -0
- package/dist/esm/v2/OrSelect-03e79c4b.js +1091 -0
- package/dist/esm/v2/OrSelect-8307ad20.js +543 -0
- package/dist/esm/v2/OrSidebar-5ca2144a.js +349 -0
- package/dist/esm/v2/OrSidebarCollapseButton-b8e678d4.js +123 -0
- package/dist/esm/v2/OrSkeletonText-6a6f285d.js +249 -0
- package/dist/esm/v2/OrSkeletonText-ee42a9e9.js +296 -0
- package/dist/esm/v2/OrSlider-ded83b5c.js +368 -0
- package/dist/esm/v2/OrStepper-5286720c.js +644 -0
- package/dist/esm/v2/OrTabs-32d46f77.js +226 -0
- package/dist/esm/v2/OrTag-0153f01d.js +159 -0
- package/dist/esm/v2/OrTag-2845a49f.js +114 -0
- package/dist/esm/v2/OrTextbox-cd85a59f.js +528 -0
- package/dist/esm/v2/OrToastContainer-41b56042.js +334 -0
- package/dist/esm/v2/OrTooltip-cefc51f9.js +68 -0
- package/dist/esm/v2/OrTooltip-f5d1e4f0.js +165 -0
- package/dist/esm/v2/OrTooltip.vue_rollup-plugin-vue_styles.0-154aac4c.js +155 -0
- package/dist/esm/v2/codemirrorView-2e87c938.js +184 -0
- package/dist/esm/v2/components/index.d.ts +1 -1
- package/dist/esm/v2/components/index.js +74 -60
- package/dist/esm/v2/components/or-avatar/index.js +3 -4
- package/dist/esm/v2/components/or-button-v2/OrIconButton.vue.d.ts +132 -0
- package/dist/esm/v2/components/or-button-v2/OrTooltipWrapper.vue.d.ts +32 -0
- package/dist/esm/v2/components/or-button-v2/index.d.ts +1 -1
- package/dist/esm/v2/components/or-button-v2/index.js +7 -9
- package/dist/esm/v2/components/or-card-collection/index.js +7 -9
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +35 -0
- package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -7
- package/dist/esm/v2/components/or-carousel/index.d.ts +3 -2
- package/dist/esm/v2/components/or-carousel/index.js +3 -5
- package/dist/esm/v2/components/or-checkbox/index.js +3 -4
- package/dist/esm/v2/components/or-chips/OrChipsInput.vue.d.ts +82 -0
- package/dist/esm/v2/components/or-chips/index.d.ts +1 -1
- package/dist/esm/v2/components/or-chips/index.js +4 -6
- package/dist/esm/v2/components/or-code/index.js +7 -9
- package/dist/esm/v2/components/or-confirm/index.js +8 -10
- package/dist/esm/v2/components/or-confirm-v3/index.js +5 -5
- package/dist/esm/v2/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
- package/dist/esm/v2/components/or-date-time-picker/index.js +6 -8
- package/dist/esm/v2/components/or-icon/index.js +2 -3
- package/dist/esm/v2/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-inline-text-edit/index.js +6 -8
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v2/components/or-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-list/index.js +7 -9
- package/dist/esm/v2/components/or-list-of-inputs/index.js +8 -10
- package/dist/esm/v2/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal/index.js +6 -8
- package/dist/esm/v2/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v2/components/or-notification/index.js +6 -8
- package/dist/esm/v2/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v2/components/or-overflow-menu/OrOverflowMenuItem.vue.d.ts +75 -0
- package/dist/esm/v2/components/or-overflow-menu/index.js +7 -9
- package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v2/components/or-password/index.js +6 -8
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +181 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +56 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +7 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +5 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
- package/dist/esm/v2/components/or-search/index.js +6 -8
- package/dist/esm/v2/components/or-search-v3/index.js +5 -5
- package/dist/esm/v2/components/or-select/OrSelect.vue.d.ts +16 -20
- package/dist/esm/v2/components/or-select/OrSelectContent.vue.d.ts +114 -0
- package/dist/esm/v2/components/or-select/OrSelectContentEmpty.vue.d.ts +63 -0
- package/dist/esm/v2/components/or-select/OrSelectContentOptions.vue.d.ts +87 -0
- package/dist/esm/v2/components/or-select/OrSelectInput.vue.d.ts +81 -0
- package/dist/esm/v2/components/or-select/OrSelectInputValue.vue.d.ts +58 -0
- package/dist/esm/v2/components/or-select/OrSelectMain.vue.d.ts +158 -0
- package/dist/esm/v2/components/or-select/OrSelectOption.vue.d.ts +37 -0
- package/dist/esm/v2/components/or-select/OrSelectSearchOptions.vue.d.ts +38 -0
- package/dist/esm/v2/components/or-select/index.js +5 -7
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/index.js +5 -5
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +4 -4
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +4 -4
- package/dist/esm/v2/components/or-skeleton/OrSkeletonText.vue.d.ts +73 -0
- package/dist/esm/v2/components/or-skeleton/index.d.ts +3 -3
- package/dist/esm/v2/components/or-skeleton/index.js +1 -4
- package/dist/esm/v2/components/or-skeleton-v3/index.d.ts +3 -3
- package/dist/esm/v2/components/or-skeleton-v3/index.js +1 -4
- package/dist/esm/v2/components/or-slider/index.js +3 -4
- package/dist/esm/v2/components/or-stepper/OrStepperButtonOptions.vue.d.ts +73 -0
- package/dist/esm/v2/components/or-stepper/OrStepperOptionHorizontal.vue.d.ts +106 -0
- package/dist/esm/v2/components/or-stepper/OrStepperOptionVertical.vue.d.ts +106 -0
- package/dist/esm/v2/components/or-stepper/OrStepperTitle.vue.d.ts +66 -0
- package/dist/esm/v2/components/or-stepper/StatusIcon.vue.d.ts +22 -0
- package/dist/esm/v2/components/or-stepper/index.js +6 -8
- package/dist/esm/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag/index.js +3 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v2/components/or-textbox/index.js +6 -8
- package/dist/esm/v2/components/or-toast/OrToastContainer.vue.d.ts +93 -0
- package/dist/esm/v2/components/or-toast/index.d.ts +3 -2
- package/dist/esm/v2/components/or-toast/index.js +6 -8
- package/dist/esm/v2/components/or-toast-v3/OrToastContainer.vue.d.ts +85 -0
- package/dist/esm/v2/components/or-toast-v3/index.d.ts +3 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tooltip/index.d.ts +1 -1
- package/dist/esm/v2/components/or-tooltip/index.js +4 -5
- package/dist/esm/v2/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v2/index.js +74 -60
- package/dist/esm/v2/types-1e607d9c.js +432 -0
- package/dist/esm/v3/OrAvatar-986baa65.js +89 -0
- package/dist/esm/v3/OrCardCollection-70131a12.js +189 -0
- package/dist/esm/v3/OrCardCollection-8bdbf9b7.js +293 -0
- package/dist/esm/v3/OrCarouselItem-a3a855e8.js +238 -0
- package/dist/esm/v3/OrCheckbox-8d8887ea.js +149 -0
- package/dist/esm/v3/OrChips-d6227d21.js +301 -0
- package/dist/esm/v3/OrCode-b5822f4e.js +522 -0
- package/dist/esm/v3/OrConfirm-8067c5c4.js +299 -0
- package/dist/esm/v3/OrConfirm-f408faf5.js +214 -0
- package/dist/esm/v3/OrDateTimePicker-30749526.js +680 -0
- package/dist/esm/v3/OrIcon-ed3e10b4.js +152 -0
- package/dist/esm/v3/OrIconButton-41ee266c.js +142 -0
- package/dist/esm/v3/OrIconButton-e6e83eae.js +345 -0
- package/dist/esm/v3/OrInlineInput-0ebb39b5.js +255 -0
- package/dist/esm/v3/OrInlineTextEdit-328c89ca.js +338 -0
- package/dist/esm/v3/OrInlineTextarea-9fe81d0c.js +232 -0
- package/dist/esm/v3/OrInput-18a1b41a.js +280 -0
- package/dist/esm/v3/OrList-3c73e593.js +257 -0
- package/dist/esm/v3/OrListOfInputs-5a834c95.js +163 -0
- package/dist/esm/v3/OrMenu-693b2bb8.js +111 -0
- package/dist/esm/v3/OrModal-18b6a0d2.js +135 -0
- package/dist/esm/v3/OrModal-f3b2e0f4.js +163 -0
- package/dist/esm/v3/OrNotification-6d2e0cf5.js +114 -0
- package/dist/esm/v3/OrNotification-b8a59ce3.js +137 -0
- package/dist/esm/v3/OrOverflowMenu-08626d66.js +185 -0
- package/dist/esm/v3/OrPagination-9f8380a9.js +297 -0
- package/dist/esm/v3/OrPassword-4a37f3ac.js +162 -0
- package/dist/esm/v3/OrPopover-52250a03.js +273 -0
- package/dist/esm/v3/OrRichTextEditor-e3177077.js +636 -0
- package/dist/esm/v3/OrSearch-1f80760e.js +188 -0
- package/dist/esm/v3/OrSearch-b6a0f0e6.js +105 -0
- package/dist/esm/v3/OrSelect-88e5dfaf.js +803 -0
- package/dist/esm/v3/OrSelect-c3a50846.js +507 -0
- package/dist/esm/v3/OrSidebar-22253d76.js +313 -0
- package/dist/esm/v3/OrSidebarCollapseButton-5154e452.js +94 -0
- package/dist/esm/v3/OrSkeletonText-0546754d.js +180 -0
- package/dist/esm/v3/OrSkeletonText-718a89f0.js +224 -0
- package/dist/esm/v3/OrSlider-858576e2.js +310 -0
- package/dist/esm/v3/OrStepper-cf0598d6.js +426 -0
- package/dist/esm/v3/OrTabs-6ee4b984.js +205 -0
- package/dist/esm/v3/OrTag-2192a3cf.js +86 -0
- package/dist/esm/v3/OrTag-43ca7029.js +123 -0
- package/dist/esm/v3/OrTextbox-b025d6e4.js +493 -0
- package/dist/esm/v3/OrToastContainer-70cd8d1d.js +280 -0
- package/dist/esm/v3/OrTooltip-02f07fa2.js +141 -0
- package/dist/esm/v3/OrTooltip-8d7385bc.js +165 -0
- package/dist/esm/v3/codemirrorView-2e87c938.js +184 -0
- package/dist/esm/v3/components/index.d.ts +1 -1
- package/dist/esm/v3/components/index.js +70 -56
- package/dist/esm/v3/components/or-avatar/index.js +3 -4
- package/dist/esm/v3/components/or-button-v2/OrIconButton.vue.d.ts +132 -0
- package/dist/esm/v3/components/or-button-v2/OrTooltipWrapper.vue.d.ts +32 -0
- package/dist/esm/v3/components/or-button-v2/index.d.ts +1 -1
- package/dist/esm/v3/components/or-button-v2/index.js +3 -5
- package/dist/esm/v3/components/or-card-collection/index.js +5 -7
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +35 -0
- package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -7
- package/dist/esm/v3/components/or-carousel/index.d.ts +3 -2
- package/dist/esm/v3/components/or-carousel/index.js +3 -5
- package/dist/esm/v3/components/or-checkbox/index.js +3 -4
- package/dist/esm/v3/components/or-chips/OrChipsInput.vue.d.ts +82 -0
- package/dist/esm/v3/components/or-chips/index.d.ts +1 -1
- package/dist/esm/v3/components/or-chips/index.js +3 -5
- package/dist/esm/v3/components/or-code/index.js +5 -7
- package/dist/esm/v3/components/or-confirm/index.js +5 -7
- package/dist/esm/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/esm/v3/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
- package/dist/esm/v3/components/or-date-time-picker/index.js +4 -6
- package/dist/esm/v3/components/or-icon/index.js +2 -3
- package/dist/esm/v3/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-text-edit/index.js +4 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v3/components/or-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-list/index.js +4 -6
- package/dist/esm/v3/components/or-list-of-inputs/index.js +5 -7
- package/dist/esm/v3/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal/index.js +4 -6
- package/dist/esm/v3/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v3/components/or-notification/index.js +4 -6
- package/dist/esm/v3/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenuItem.vue.d.ts +75 -0
- package/dist/esm/v3/components/or-overflow-menu/index.js +4 -6
- package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v3/components/or-password/index.js +4 -6
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +181 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +54 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +7 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +5 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
- package/dist/esm/v3/components/or-search/index.js +4 -6
- package/dist/esm/v3/components/or-search-v3/index.js +5 -5
- package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-select/OrSelectContent.vue.d.ts +114 -0
- package/dist/esm/v3/components/or-select/OrSelectContentEmpty.vue.d.ts +63 -0
- package/dist/esm/v3/components/or-select/OrSelectContentOptions.vue.d.ts +87 -0
- package/dist/esm/v3/components/or-select/OrSelectInput.vue.d.ts +81 -0
- package/dist/esm/v3/components/or-select/OrSelectInputValue.vue.d.ts +58 -0
- package/dist/esm/v3/components/or-select/OrSelectMain.vue.d.ts +158 -0
- package/dist/esm/v3/components/or-select/OrSelectOption.vue.d.ts +37 -0
- package/dist/esm/v3/components/or-select/OrSelectSearchOptions.vue.d.ts +38 -0
- package/dist/esm/v3/components/or-select/index.js +5 -7
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/index.js +5 -5
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +4 -4
- package/dist/esm/v3/components/or-skeleton/OrSkeletonText.vue.d.ts +73 -0
- package/dist/esm/v3/components/or-skeleton/index.d.ts +3 -3
- package/dist/esm/v3/components/or-skeleton/index.js +1 -4
- package/dist/esm/v3/components/or-skeleton-v3/index.d.ts +3 -3
- package/dist/esm/v3/components/or-skeleton-v3/index.js +1 -4
- package/dist/esm/v3/components/or-slider/index.js +3 -4
- package/dist/esm/v3/components/or-stepper/OrStepperButtonOptions.vue.d.ts +73 -0
- package/dist/esm/v3/components/or-stepper/OrStepperOptionHorizontal.vue.d.ts +106 -0
- package/dist/esm/v3/components/or-stepper/OrStepperOptionVertical.vue.d.ts +106 -0
- package/dist/esm/v3/components/or-stepper/OrStepperTitle.vue.d.ts +66 -0
- package/dist/esm/v3/components/or-stepper/StatusIcon.vue.d.ts +22 -0
- package/dist/esm/v3/components/or-stepper/index.js +4 -6
- package/dist/esm/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag/index.js +3 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v3/components/or-textbox/index.js +4 -6
- package/dist/esm/v3/components/or-toast/OrToastContainer.vue.d.ts +93 -0
- package/dist/esm/v3/components/or-toast/index.d.ts +3 -2
- package/dist/esm/v3/components/or-toast/index.js +4 -6
- package/dist/esm/v3/components/or-toast-v3/OrToastContainer.vue.d.ts +85 -0
- package/dist/esm/v3/components/or-toast-v3/index.d.ts +3 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tooltip/index.d.ts +1 -1
- package/dist/esm/v3/components/or-tooltip/index.js +3 -4
- package/dist/esm/v3/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v3/index.js +70 -56
- package/dist/esm/v3/types-9ab3399d.js +378 -0
- package/package.json +27 -35
- package/src/components/index.ts +1 -1
- package/src/components/or-button-v2/OrIconButton.stories.ts +134 -0
- package/src/components/or-button-v2/OrIconButton.vue +257 -0
- package/src/components/or-button-v2/OrTooltipWrapper.vue +49 -0
- package/src/components/or-button-v2/index.ts +1 -1
- package/src/components/or-card-collection-v3/OrCardCollection.vue +1 -1
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +41 -0
- package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +42 -0
- package/src/components/or-carousel/OrCarousel.stories.ts +1 -1
- package/src/components/or-carousel/index.ts +4 -2
- package/src/components/or-chips/OrChip.vue +109 -0
- package/src/components/or-chips/OrChips.vue +1 -1
- package/src/components/or-chips/OrChipsInput.vue +140 -0
- package/src/components/or-chips/index.ts +1 -1
- package/src/components/or-date-time-picker/OrDateTimePicker.vue +22 -22
- package/src/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue +112 -0
- package/src/components/or-overflow-menu/OrOverflowMenu.vue +1 -1
- package/src/components/or-overflow-menu/OrOverflowMenuItem.vue +77 -0
- package/src/components/or-popover-v3/OrPopover.vue +0 -6
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +7 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +79 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +577 -0
- package/src/components/or-rich-text-editor-v3/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/styles.ts +72 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +40 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +252 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +22 -0
- package/src/components/or-rich-text-editor-v3/utils/markdown.ts +110 -0
- package/src/components/or-select/OrSelect.vue +1 -1
- package/src/components/or-select/OrSelectContent.stories.ts +192 -0
- package/src/components/or-select/OrSelectContent.vue +165 -0
- package/src/components/or-select/OrSelectContentEmpty.vue +62 -0
- package/src/components/or-select/OrSelectContentOptions.vue +64 -0
- package/src/components/or-select/OrSelectInput.stories.ts +116 -0
- package/src/components/or-select/OrSelectInput.vue +167 -0
- package/src/components/or-select/OrSelectInputValue.vue +111 -0
- package/src/components/or-select/OrSelectMain.vue +203 -0
- package/src/components/or-select/OrSelectOption.vue +80 -0
- package/src/components/or-select/OrSelectSearchOptions.vue +101 -0
- package/src/components/or-select-v3/OrSelect.vue +1 -1
- package/src/components/or-skeleton/OrSkeleton.stories.ts +3 -4
- package/src/components/or-skeleton/OrSkeletonCircle.stories.ts +35 -0
- package/src/components/or-skeleton/OrSkeletonCircle.vue +56 -0
- package/src/components/or-skeleton/OrSkeletonRect.stories.ts +53 -0
- package/src/components/or-skeleton/OrSkeletonRect.vue +59 -0
- package/src/components/or-skeleton/OrSkeletonText.stories.ts +52 -0
- package/src/components/or-skeleton/OrSkeletonText.vue +105 -0
- package/src/components/or-skeleton/index.ts +3 -3
- package/src/components/or-skeleton-v3/OrSkeleton.stories3.ts +3 -3
- package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +68 -0
- package/src/components/or-skeleton-v3/OrSkeletonRect.vue +72 -0
- package/src/components/or-skeleton-v3/OrSkeletonText.vue +110 -0
- package/src/components/or-skeleton-v3/index.ts +3 -3
- package/src/components/or-stepper/OrStepper.vue +3 -3
- package/src/components/or-stepper/OrStepperButtonOptions.vue +72 -0
- package/src/components/or-stepper/StatusIcon.vue +80 -0
- package/src/components/or-toast/OrToastContainer.stories.ts +66 -0
- package/src/components/or-toast/OrToastContainer.vue +247 -0
- package/src/components/or-toast/index.ts +3 -2
- package/src/components/or-toast-v3/OrToastContainer.stories3.ts +75 -0
- package/src/components/or-toast-v3/OrToastContainer.vue +211 -0
- package/src/components/or-toast-v3/index.ts +3 -2
- package/src/components/or-tooltip/OrTooltip.vue +1 -1
- package/src/components/or-tooltip/index.ts +1 -1
- package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +0 -117
- package/dist/bundled/v2/components/OrAvatar/constants.js +0 -8
- package/dist/bundled/v2/components/OrAvatar/index.js +0 -17
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.js +0 -118
- package/dist/bundled/v2/components/OrAvatarV3/index.js +0 -12
- package/dist/bundled/v2/components/OrAvatarV3/props.js +0 -19
- package/dist/bundled/v2/components/OrAvatarV3/styles.js +0 -65
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +0 -142
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +0 -11
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +0 -37
- package/dist/bundled/v2/components/OrButton/OrButton.js +0 -174
- package/dist/bundled/v2/components/OrButton/constants.js +0 -25
- package/dist/bundled/v2/components/OrButton/index.js +0 -8
- package/dist/bundled/v2/components/OrButtonV2/OrButton.js +0 -185
- package/dist/bundled/v2/components/OrButtonV2/constants.js +0 -43
- package/dist/bundled/v2/components/OrButtonV2/index.d.ts +0 -3
- package/dist/bundled/v2/components/OrButtonV2/index.js +0 -21
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +0 -118
- package/dist/bundled/v2/components/OrButtonV3/index.js +0 -9
- package/dist/bundled/v2/components/OrButtonV3/props.js +0 -21
- package/dist/bundled/v2/components/OrButtonV3/styles.js +0 -67
- package/dist/bundled/v2/components/OrCard/OrCard.js +0 -65
- package/dist/bundled/v2/components/OrCard/index.js +0 -4
- package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +0 -236
- package/dist/bundled/v2/components/OrCardCollection/constants.js +0 -7
- package/dist/bundled/v2/components/OrCardCollection/index.js +0 -30
- package/dist/bundled/v2/components/OrCardCollection/types.js +0 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +0 -347
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +0 -55
- package/dist/bundled/v2/components/OrCardCollectionV3/props.js +0 -16
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +0 -30
- package/dist/bundled/v2/components/OrCardCollectionV3/types.js +0 -1
- package/dist/bundled/v2/components/OrCardV3/OrCard.js +0 -54
- package/dist/bundled/v2/components/OrCardV3/index.js +0 -4
- package/dist/bundled/v2/components/OrCardV3/styles.js +0 -15
- package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +0 -2873
- package/dist/bundled/v2/components/OrCarousel/constants.js +0 -21
- package/dist/bundled/v2/components/OrCarousel/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrCarousel/index.js +0 -18
- package/dist/bundled/v2/components/OrCarouselItem/OrCarouselItem.js +0 -41
- package/dist/bundled/v2/components/OrCarouselItem/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrCarouselItem/index.js +0 -3
- package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +0 -191
- package/dist/bundled/v2/components/OrCheckbox/index.js +0 -16
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +0 -187
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +0 -10
- package/dist/bundled/v2/components/OrCheckboxV3/styles.js +0 -31
- package/dist/bundled/v2/components/OrChip/OrChip.js +0 -102
- package/dist/bundled/v2/components/OrChip/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrChip/index.js +0 -16
- package/dist/bundled/v2/components/OrChips/OrChips.js +0 -323
- package/dist/bundled/v2/components/OrChips/constants.js +0 -10
- package/dist/bundled/v2/components/OrChips/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrChips/index.js +0 -20
- package/dist/bundled/v2/components/OrCode/OrCode.js +0 -4094
- package/dist/bundled/v2/components/OrCode/constants.js +0 -11
- package/dist/bundled/v2/components/OrCode/index.js +0 -32
- package/dist/bundled/v2/components/OrCode/lang.js +0 -3
- package/dist/bundled/v2/components/OrCode/theme.js +0 -189
- package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +0 -168
- package/dist/bundled/v2/components/OrCollapse/index.js +0 -7
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +0 -167
- package/dist/bundled/v2/components/OrColorPicker/constants.js +0 -323
- package/dist/bundled/v2/components/OrColorPicker/index.js +0 -15
- package/dist/bundled/v2/components/OrColorPicker/types.js +0 -1
- package/dist/bundled/v2/components/OrColorPicker/utils/defultPalette.js +0 -15
- package/dist/bundled/v2/components/OrCombinedInputV3/OrCombinedInput.js +0 -148
- package/dist/bundled/v2/components/OrCombinedInputV3/index.js +0 -12
- package/dist/bundled/v2/components/OrCombinedInputV3/props.js +0 -1
- package/dist/bundled/v2/components/OrCombinedInputV3/styles.js +0 -16
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +0 -280
- package/dist/bundled/v2/components/OrConfirm/index.js +0 -32
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +0 -322
- package/dist/bundled/v2/components/OrConfirmV3/index.js +0 -51
- package/dist/bundled/v2/components/OrConfirmV3/props.js +0 -7
- package/dist/bundled/v2/components/OrConfirmV3/styles.js +0 -47
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +0 -759
- package/dist/bundled/v2/components/OrDateTimePicker/constants.js +0 -20
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +0 -27
- package/dist/bundled/v2/components/OrEmptyStateV3/OrEmptyState.js +0 -111
- package/dist/bundled/v2/components/OrEmptyStateV3/index.js +0 -5
- package/dist/bundled/v2/components/OrEmptyStateV3/props.js +0 -7
- package/dist/bundled/v2/components/OrEmptyStateV3/styles.js +0 -46
- package/dist/bundled/v2/components/OrEmptyStateV3/types.js +0 -1
- package/dist/bundled/v2/components/OrError/OrError.js +0 -52
- package/dist/bundled/v2/components/OrError/index.js +0 -4
- package/dist/bundled/v2/components/OrErrorTagV3/OrErrorTag.js +0 -67
- package/dist/bundled/v2/components/OrErrorTagV3/index.js +0 -7
- package/dist/bundled/v2/components/OrErrorTagV3/styles.js +0 -15
- package/dist/bundled/v2/components/OrErrorV3/OrError.js +0 -71
- package/dist/bundled/v2/components/OrErrorV3/index.js +0 -4
- package/dist/bundled/v2/components/OrErrorV3/styles.js +0 -19
- package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanel.js +0 -147
- package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +0 -8
- package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +0 -12
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +0 -51
- package/dist/bundled/v2/components/OrFabV3/OrFab.js +0 -83
- package/dist/bundled/v2/components/OrFabV3/index.js +0 -8
- package/dist/bundled/v2/components/OrFabV3/props.js +0 -7
- package/dist/bundled/v2/components/OrFabV3/styles.js +0 -19
- package/dist/bundled/v2/components/OrFloating/OrFloating.js +0 -189
- package/dist/bundled/v2/components/OrFloating/constants.js +0 -22
- package/dist/bundled/v2/components/OrFloating/index.js +0 -11
- package/dist/bundled/v2/components/OrHint/OrHint.js +0 -55
- package/dist/bundled/v2/components/OrHint/index.js +0 -5
- package/dist/bundled/v2/components/OrHintV3/OrHint.js +0 -71
- package/dist/bundled/v2/components/OrHintV3/index.js +0 -4
- package/dist/bundled/v2/components/OrHintV3/styles.js +0 -19
- package/dist/bundled/v2/components/OrIcon/OrIcon.js +0 -159
- package/dist/bundled/v2/components/OrIcon/constants.js +0 -24
- package/dist/bundled/v2/components/OrIcon/index.js +0 -15
- package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.js +0 -230
- package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.vue.d.ts +0 -132
- package/dist/bundled/v2/components/OrIconButtonV2/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrIconButtonV2/index.js +0 -20
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +0 -130
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +0 -24
- package/dist/bundled/v2/components/OrIconButtonV3/props.js +0 -10
- package/dist/bundled/v2/components/OrIconButtonV3/styles.js +0 -50
- package/dist/bundled/v2/components/OrIconV3/OrIcon.js +0 -69
- package/dist/bundled/v2/components/OrIconV3/index.js +0 -5
- package/dist/bundled/v2/components/OrIconV3/props.js +0 -17
- package/dist/bundled/v2/components/OrIconV3/styles.js +0 -46
- package/dist/bundled/v2/components/OrInlineInputBoxV3/OrInlineInputBox.js +0 -68
- package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +0 -5
- package/dist/bundled/v2/components/OrInlineInputBoxV3/props.js +0 -7
- package/dist/bundled/v2/components/OrInlineInputBoxV3/styles.js +0 -23
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +0 -376
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +0 -38
- package/dist/bundled/v2/components/OrInlineInputV3/props.js +0 -9
- package/dist/bundled/v2/components/OrInlineInputV3/styles.js +0 -29
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +0 -400
- package/dist/bundled/v2/components/OrInlineTextEdit/constants.js +0 -13
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +0 -25
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +0 -293
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +0 -37
- package/dist/bundled/v2/components/OrInlineTextareaV3/styles.js +0 -21
- package/dist/bundled/v2/components/OrInput/OrInput.js +0 -330
- package/dist/bundled/v2/components/OrInput/index.js +0 -11
- package/dist/bundled/v2/components/OrInputBoxV3/OrInputBox.js +0 -82
- package/dist/bundled/v2/components/OrInputBoxV3/index.js +0 -5
- package/dist/bundled/v2/components/OrInputBoxV3/props.js +0 -12
- package/dist/bundled/v2/components/OrInputBoxV3/styles.js +0 -45
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +0 -433
- package/dist/bundled/v2/components/OrInputV3/index.js +0 -44
- package/dist/bundled/v2/components/OrInputV3/props.js +0 -11
- package/dist/bundled/v2/components/OrInputV3/styles.js +0 -14
- package/dist/bundled/v2/components/OrLabel/OrLabel.js +0 -78
- package/dist/bundled/v2/components/OrLabel/index.js +0 -5
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.js +0 -89
- package/dist/bundled/v2/components/OrLabelV3/index.js +0 -5
- package/dist/bundled/v2/components/OrLabelV3/props.js +0 -7
- package/dist/bundled/v2/components/OrLabelV3/styles.js +0 -29
- package/dist/bundled/v2/components/OrLinkV3/OrLink.js +0 -85
- package/dist/bundled/v2/components/OrLinkV3/index.js +0 -5
- package/dist/bundled/v2/components/OrLinkV3/props.js +0 -10
- package/dist/bundled/v2/components/OrLinkV3/styles.js +0 -30
- package/dist/bundled/v2/components/OrList/OrList.js +0 -2887
- package/dist/bundled/v2/components/OrList/index.js +0 -25
- package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +0 -239
- package/dist/bundled/v2/components/OrListOfInputs/index.js +0 -29
- package/dist/bundled/v2/components/OrLoader/OrLoader.js +0 -106
- package/dist/bundled/v2/components/OrLoader/constants.js +0 -8
- package/dist/bundled/v2/components/OrLoader/index.js +0 -6
- package/dist/bundled/v2/components/OrLoader/types.js +0 -1
- package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +0 -170
- package/dist/bundled/v2/components/OrLoaderV3/index.js +0 -6
- package/dist/bundled/v2/components/OrLoaderV3/props.js +0 -18
- package/dist/bundled/v2/components/OrLoaderV3/styles.js +0 -17
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.js +0 -95
- package/dist/bundled/v2/components/OrMenuItemV3/index.js +0 -7
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +0 -17
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +0 -148
- package/dist/bundled/v2/components/OrMenuV3/index.js +0 -18
- package/dist/bundled/v2/components/OrMenuV3/props.js +0 -1
- package/dist/bundled/v2/components/OrMenuV3/styles.js +0 -7
- package/dist/bundled/v2/components/OrModal/OrModal.js +0 -1467
- package/dist/bundled/v2/components/OrModal/constants.js +0 -10
- package/dist/bundled/v2/components/OrModal/index.js +0 -24
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +0 -141
- package/dist/bundled/v2/components/OrModalV3/index.js +0 -27
- package/dist/bundled/v2/components/OrModalV3/props.js +0 -8
- package/dist/bundled/v2/components/OrModalV3/styles.js +0 -33
- package/dist/bundled/v2/components/OrNotification/OrNotification.js +0 -143
- package/dist/bundled/v2/components/OrNotification/constants.js +0 -14
- package/dist/bundled/v2/components/OrNotification/index.js +0 -22
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +0 -127
- package/dist/bundled/v2/components/OrNotificationV3/index.js +0 -27
- package/dist/bundled/v2/components/OrNotificationV3/props.js +0 -9
- package/dist/bundled/v2/components/OrNotificationV3/styles.js +0 -54
- package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +0 -233
- package/dist/bundled/v2/components/OrNumberInput/index.js +0 -12
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +0 -259
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +0 -23
- package/dist/bundled/v2/components/OrOverflowMenu/types.js +0 -1
- package/dist/bundled/v2/components/OrOverlay/OrOverlay.js +0 -71
- package/dist/bundled/v2/components/OrOverlay/index.js +0 -4
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +0 -80
- package/dist/bundled/v2/components/OrOverlayV3/index.js +0 -9
- package/dist/bundled/v2/components/OrOverlayV3/styles.js +0 -9
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +0 -332
- package/dist/bundled/v2/components/OrPaginationV3/index.js +0 -31
- package/dist/bundled/v2/components/OrPaginationV3/styles.js +0 -26
- package/dist/bundled/v2/components/OrPaginationV3/types.js +0 -1
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +0 -241
- package/dist/bundled/v2/components/OrPassword/index.js +0 -28
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +0 -236
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +0 -119
- package/dist/bundled/v2/components/OrPopoverV3/index.js +0 -16
- package/dist/bundled/v2/components/OrPopoverV3/props.js +0 -23
- package/dist/bundled/v2/components/OrPopoverV3/styles.js +0 -44
- package/dist/bundled/v2/components/OrProgress/OrProgress.js +0 -211
- package/dist/bundled/v2/components/OrProgress/constants.js +0 -15
- package/dist/bundled/v2/components/OrProgress/index.js +0 -6
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +0 -246
- package/dist/bundled/v2/components/OrProgressV3/index.js +0 -8
- package/dist/bundled/v2/components/OrProgressV3/props.js +0 -15
- package/dist/bundled/v2/components/OrProgressV3/styles.js +0 -63
- package/dist/bundled/v2/components/OrRadio/OrRadio.js +0 -141
- package/dist/bundled/v2/components/OrRadio/index.js +0 -5
- package/dist/bundled/v2/components/OrRadioGroup/OrRadioGroup.js +0 -87
- package/dist/bundled/v2/components/OrRadioGroup/index.js +0 -4
- package/dist/bundled/v2/components/OrRadioV3/OrRadio.js +0 -169
- package/dist/bundled/v2/components/OrRadioV3/index.js +0 -10
- package/dist/bundled/v2/components/OrRadioV3/styles.js +0 -31
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +0 -262
- package/dist/bundled/v2/components/OrSearch/index.js +0 -27
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +0 -183
- package/dist/bundled/v2/components/OrSearchV3/index.js +0 -45
- package/dist/bundled/v2/components/OrSearchV3/props.js +0 -1
- package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControl.js +0 -213
- package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +0 -5
- package/dist/bundled/v2/components/OrSegmentedControlV3/props.js +0 -7
- package/dist/bundled/v2/components/OrSegmentedControlV3/styles.js +0 -15
- package/dist/bundled/v2/components/OrSegmentedControlV3/types.js +0 -1
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +0 -1061
- package/dist/bundled/v2/components/OrSelect/OrSelect.vue.d.ts +0 -242
- package/dist/bundled/v2/components/OrSelect/constants.js +0 -50
- package/dist/bundled/v2/components/OrSelect/index.js +0 -24
- package/dist/bundled/v2/components/OrSelect/types.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +0 -542
- package/dist/bundled/v2/components/OrSelectV3/index.js +0 -59
- package/dist/bundled/v2/components/OrSelectV3/props.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/styles.js +0 -43
- package/dist/bundled/v2/components/OrSelectV3/types.js +0 -1
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +0 -142
- package/dist/bundled/v2/components/OrSidebar/constants.js +0 -7
- package/dist/bundled/v2/components/OrSidebar/index.js +0 -7
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +0 -368
- package/dist/bundled/v2/components/OrSidebarV3/index.js +0 -28
- package/dist/bundled/v2/components/OrSidebarV3/props.js +0 -7
- package/dist/bundled/v2/components/OrSidebarV3/styles.js +0 -118
- package/dist/bundled/v2/components/OrSkeleton/constants.js +0 -12
- package/dist/bundled/v2/components/OrSkeleton/index.d.ts +0 -4
- package/dist/bundled/v2/components/OrSkeleton/index.js +0 -9
- package/dist/bundled/v2/components/OrSkeletonCircle/OrSkeletonCircle.js +0 -78
- package/dist/bundled/v2/components/OrSkeletonCircle/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrSkeletonCircle/index.js +0 -7
- package/dist/bundled/v2/components/OrSkeletonCircleV3/OrSkeletonCircle.js +0 -81
- package/dist/bundled/v2/components/OrSkeletonCircleV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +0 -6
- package/dist/bundled/v2/components/OrSkeletonRect/OrSkeletonRect.js +0 -81
- package/dist/bundled/v2/components/OrSkeletonRect/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrSkeletonRect/index.js +0 -7
- package/dist/bundled/v2/components/OrSkeletonRectV3/OrSkeletonRect.js +0 -84
- package/dist/bundled/v2/components/OrSkeletonRectV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +0 -6
- package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +0 -94
- package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.vue.d.ts +0 -73
- package/dist/bundled/v2/components/OrSkeletonText/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrSkeletonText/index.js +0 -7
- package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonText.js +0 -113
- package/dist/bundled/v2/components/OrSkeletonTextV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +0 -6
- package/dist/bundled/v2/components/OrSkeletonV3/index.d.ts +0 -3
- package/dist/bundled/v2/components/OrSkeletonV3/index.js +0 -8
- package/dist/bundled/v2/components/OrSkeletonV3/styles.js +0 -34
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +0 -378
- package/dist/bundled/v2/components/OrSlider/index.js +0 -17
- package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeader.js +0 -113
- package/dist/bundled/v2/components/OrSortHeaderV3/index.js +0 -7
- package/dist/bundled/v2/components/OrSortHeaderV3/styles.js +0 -15
- package/dist/bundled/v2/components/OrSortHeaderV3/types.js +0 -1
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +0 -663
- package/dist/bundled/v2/components/OrStepper/index.js +0 -20
- package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +0 -153
- package/dist/bundled/v2/components/OrSwitch/index.js +0 -7
- package/dist/bundled/v2/components/OrSwitchV3/OrSwitch.js +0 -204
- package/dist/bundled/v2/components/OrSwitchV3/index.js +0 -14
- package/dist/bundled/v2/components/OrSwitchV3/styles.js +0 -51
- package/dist/bundled/v2/components/OrTab/OrTab.js +0 -107
- package/dist/bundled/v2/components/OrTab/index.js +0 -6
- package/dist/bundled/v2/components/OrTabHeaderItem/OrTabHeaderItem.js +0 -110
- package/dist/bundled/v2/components/OrTabHeaderItem/index.js +0 -5
- package/dist/bundled/v2/components/OrTabV3/OrTab.js +0 -76
- package/dist/bundled/v2/components/OrTabV3/index.js +0 -4
- package/dist/bundled/v2/components/OrTabV3/styles.js +0 -19
- package/dist/bundled/v2/components/OrTabs/OrTabs.js +0 -112
- package/dist/bundled/v2/components/OrTabs/index.js +0 -6
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +0 -221
- package/dist/bundled/v2/components/OrTabsV3/index.js +0 -28
- package/dist/bundled/v2/components/OrTabsV3/props.js +0 -7
- package/dist/bundled/v2/components/OrTabsV3/styles.js +0 -19
- package/dist/bundled/v2/components/OrTabsV3/types.js +0 -1
- package/dist/bundled/v2/components/OrTag/OrTag.js +0 -128
- package/dist/bundled/v2/components/OrTag/index.js +0 -20
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +0 -141
- package/dist/bundled/v2/components/OrTagV3/index.js +0 -27
- package/dist/bundled/v2/components/OrTagV3/props.js +0 -13
- package/dist/bundled/v2/components/OrTagV3/styles.js +0 -30
- package/dist/bundled/v2/components/OrTeleport/OrTeleport.js +0 -51
- package/dist/bundled/v2/components/OrTeleport/constants.js +0 -16
- package/dist/bundled/v2/components/OrTeleport/index.js +0 -5
- package/dist/bundled/v2/components/OrTeleportV3/OrTeleport.js +0 -59
- package/dist/bundled/v2/components/OrTeleportV3/index.js +0 -4
- package/dist/bundled/v2/components/OrTextV3/OrText.js +0 -117
- package/dist/bundled/v2/components/OrTextV3/index.js +0 -4
- package/dist/bundled/v2/components/OrTextV3/styles.js +0 -17
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +0 -326
- package/dist/bundled/v2/components/OrTextarea/index.js +0 -11
- package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.js +0 -252
- package/dist/bundled/v2/components/OrTextareaV3/index.js +0 -18
- package/dist/bundled/v2/components/OrTextareaV3/props.js +0 -1
- package/dist/bundled/v2/components/OrTextareaV3/styles.js +0 -14
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +0 -530
- package/dist/bundled/v2/components/OrTextbox/constants.js +0 -11
- package/dist/bundled/v2/components/OrTextbox/index.js +0 -27
- package/dist/bundled/v2/components/OrToast/OrToast.js +0 -158
- package/dist/bundled/v2/components/OrToast/Timer.js +0 -37
- package/dist/bundled/v2/components/OrToast/composable/index.js +0 -7
- package/dist/bundled/v2/components/OrToast/composable/useQueue.js +0 -33
- package/dist/bundled/v2/components/OrToast/composable/useToast.js +0 -82
- package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +0 -24
- package/dist/bundled/v2/components/OrToast/constants.js +0 -24
- package/dist/bundled/v2/components/OrToast/index.d.ts +0 -5
- package/dist/bundled/v2/components/OrToast/index.js +0 -30
- package/dist/bundled/v2/components/OrToast/types.js +0 -1
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +0 -219
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.vue.d.ts +0 -93
- package/dist/bundled/v2/components/OrToastContainer/index.d.ts +0 -4
- package/dist/bundled/v2/components/OrToastContainer/index.js +0 -30
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +0 -232
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.vue.d.ts +0 -85
- package/dist/bundled/v2/components/OrToastContainerV3/index.d.ts +0 -4
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +0 -37
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +0 -195
- package/dist/bundled/v2/components/OrToastV3/Timer.js +0 -37
- package/dist/bundled/v2/components/OrToastV3/composable/index.js +0 -7
- package/dist/bundled/v2/components/OrToastV3/composable/useQueue.js +0 -33
- package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +0 -82
- package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +0 -24
- package/dist/bundled/v2/components/OrToastV3/index.d.ts +0 -5
- package/dist/bundled/v2/components/OrToastV3/index.js +0 -37
- package/dist/bundled/v2/components/OrToastV3/props.js +0 -1
- package/dist/bundled/v2/components/OrToastV3/styles.js +0 -59
- package/dist/bundled/v2/components/OrToastV3/types.js +0 -1
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +0 -161
- package/dist/bundled/v2/components/OrTooltip/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrTooltip/index.js +0 -13
- package/dist/bundled/v2/components/OrTooltipContent/OrTooltipContent.js +0 -71
- package/dist/bundled/v2/components/OrTooltipContent/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrTooltipContent/index.js +0 -5
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +0 -133
- package/dist/bundled/v2/components/OrTooltipV3/index.js +0 -18
- package/dist/bundled/v2/components/OrTooltipV3/props.js +0 -1
- package/dist/bundled/v2/components/OrTooltipV3/styles.js +0 -46
- package/dist/bundled/v2/directives/dropdown-close.js +0 -15
- package/dist/bundled/v2/directives/dropdown-open.js +0 -16
- package/dist/bundled/v2/hooks/useControlAttributes.js +0 -12
- package/dist/bundled/v2/hooks/useElevation.js +0 -22
- package/dist/bundled/v2/hooks/useIdAttribute.js +0 -12
- package/dist/bundled/v2/hooks/useOverflow.js +0 -64
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +0 -13
- package/dist/bundled/v2/hooks/useToggle.js +0 -22
- package/dist/bundled/v2/hooks/useValidationAttributes.js +0 -16
- package/dist/bundled/v2/index-63e094a0.js +0 -15
- package/dist/bundled/v2/index-6976c52a.js +0 -17838
- package/dist/bundled/v2/lang-02d2bb2d.js +0 -7811
- package/dist/bundled/v2/props-7be029c7.js +0 -32
- package/dist/bundled/v2/types-668300dd.js +0 -5
- package/dist/bundled/v2/utils/constants/color.js +0 -16
- package/dist/bundled/v2/utils/constants/key-codes.js +0 -16
- package/dist/bundled/v2/utils/constants/poper.js +0 -10
- package/dist/bundled/v2/utils/constants/regex.js +0 -49
- package/dist/bundled/v2/utils/functions/color.js +0 -39
- package/dist/bundled/v2/utils/functions/dom.js +0 -166
- package/dist/bundled/v2/utils/functions/hash.js +0 -8
- package/dist/bundled/v2/utils/functions/px-to-rem.js +0 -3
- package/dist/bundled/v2/utils/functions/text.js +0 -9
- package/dist/bundled/v2/utils/isVisible.js +0 -5
- package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-29e8ad0e.js +0 -57
- package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-623c32a1.js +0 -66
- package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-1489a97d.js +0 -93
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-0bdd0e1a.js +0 -56
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-e768a47a.js +0 -100
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-ed520a05.js +0 -100
- package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-81561dd8.js +0 -21
- package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-b204e541.js +0 -19
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-24a8a534.js +0 -102
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-c7106197.js +0 -165
- package/dist/bundled/v3/OrCarousel.vue_vue_type_script_lang-0e87c56b.js +0 -2799
- package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-42da2f4a.js +0 -7
- package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-60cefcbd.js +0 -90
- package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-6ff51af9.js +0 -88
- package/dist/bundled/v3/OrChip.vue_vue_type_script_lang-ceebbd82.js +0 -43
- package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-94b456c7.js +0 -190
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-f4385be0.js +0 -3960
- package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-5137ca99.js +0 -114
- package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-3a799e23.js +0 -58
- package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-f25e8792.js +0 -161
- package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-f5b7e94c.js +0 -190
- package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-c4174322.js +0 -446
- package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-2c1f09ef.js +0 -64
- package/dist/bundled/v3/OrError.vue_vue_type_script_lang-450321b8.js +0 -13
- package/dist/bundled/v3/OrError.vue_vue_type_script_lang-df7b5e32.js +0 -29
- package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-a4be8f6a.js +0 -24
- package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-f1b6ff7d.js +0 -77
- package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-fc0a7cff.js +0 -38
- package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-d64ad4a7.js +0 -148
- package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-0f5e8377.js +0 -29
- package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-5d628c6c.js +0 -16
- package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-73f9cc63.js +0 -34
- package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-e3152dc5.js +0 -95
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-4a3f6358.js +0 -137
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-df67baa2.js +0 -57
- package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-a952a74e.js +0 -149
- package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-fe99c485.js +0 -30
- package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-48e2d027.js +0 -232
- package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-4211f16b.js +0 -139
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-996299af.js +0 -149
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-ad995b35.js +0 -190
- package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-e3bba923.js +0 -42
- package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-3e11ab8a.js +0 -42
- package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-95601b40.js +0 -37
- package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-2d66ea4d.js +0 -46
- package/dist/bundled/v3/OrList.vue_vue_type_script_lang-e6d957ea.js +0 -2759
- package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-3a34b998.js +0 -87
- package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-49907820.js +0 -80
- package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-b48715a3.js +0 -48
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-2676b9cc.js +0 -82
- package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-b338d68a.js +0 -39
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-631858eb.js +0 -1370
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-e0b6203f.js +0 -67
- package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-1e784b30.js +0 -70
- package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-fcdf4cb9.js +0 -54
- package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-1d469d1f.js +0 -113
- package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-7daa3596.js +0 -137
- package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-2f5d626d.js +0 -33
- package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-30f62546.js +0 -40
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-75c7b788.js +0 -170
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-8f8ad07d.js +0 -99
- package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-a9419b58.js +0 -183
- package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-0edde459.js +0 -138
- package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-26d7b3da.js +0 -133
- package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-99b109c4.js +0 -86
- package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-cc11200c.js +0 -85
- package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-75b6c81b.js +0 -47
- package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-df4b51d8.js +0 -122
- package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-ef4517b0.js +0 -78
- package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-d1b4694c.js +0 -137
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-ab5ba260.js +0 -259
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-d2fecd97.js +0 -710
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-00e9cda7.js +0 -89
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-367d0854.js +0 -243
- package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-aa467e8d.js +0 -39
- package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-c8b71588.js +0 -45
- package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-5032a7de.js +0 -48
- package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-659fb605.js +0 -42
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-5028961c.js +0 -50
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-97d92578.js +0 -71
- package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-900036a2.js +0 -227
- package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-424696e5.js +0 -61
- package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-fa155b91.js +0 -377
- package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-1c079a74.js +0 -81
- package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-53f0c8b1.js +0 -95
- package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-4a262fa3.js +0 -26
- package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-71e4fa50.js +0 -61
- package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-0a67721f.js +0 -63
- package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-06a89286.js +0 -45
- package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-b723fa78.js +0 -130
- package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-885a2194.js +0 -55
- package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-f06b54a2.js +0 -58
- package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js +0 -17
- package/dist/bundled/v3/OrText.vue_vue_type_script_lang-23ff666f.js +0 -78
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-1236e04a.js +0 -187
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-2e216875.js +0 -116
- package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-5657d588.js +0 -354
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-089b5e9b.js +0 -147
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-c5bf66be.js +0 -135
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-703eaacb.js +0 -72
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-b8594f7e.js +0 -89
- package/dist/bundled/v3/OrTooltipContent.vue_vue_type_script_lang-969c20ed.js +0 -22
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +0 -45
- package/dist/bundled/v3/components/OrAvatar/constants.js +0 -8
- package/dist/bundled/v3/components/OrAvatar/index.js +0 -19
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +0 -35
- package/dist/bundled/v3/components/OrAvatarV3/index.js +0 -13
- package/dist/bundled/v3/components/OrAvatarV3/props.js +0 -19
- package/dist/bundled/v3/components/OrAvatarV3/styles.js +0 -65
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +0 -38
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +0 -12
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +0 -37
- package/dist/bundled/v3/components/OrButton/OrButton.js +0 -49
- package/dist/bundled/v3/components/OrButton/constants.js +0 -25
- package/dist/bundled/v3/components/OrButton/index.js +0 -9
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +0 -61
- package/dist/bundled/v3/components/OrButtonV2/constants.js +0 -43
- package/dist/bundled/v3/components/OrButtonV2/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrButtonV2/index.js +0 -25
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +0 -44
- package/dist/bundled/v3/components/OrButtonV3/index.js +0 -10
- package/dist/bundled/v3/components/OrButtonV3/props.js +0 -21
- package/dist/bundled/v3/components/OrButtonV3/styles.js +0 -67
- package/dist/bundled/v3/components/OrCard/OrCard.js +0 -22
- package/dist/bundled/v3/components/OrCard/index.js +0 -2
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +0 -127
- package/dist/bundled/v3/components/OrCardCollection/constants.js +0 -7
- package/dist/bundled/v3/components/OrCardCollection/index.js +0 -42
- package/dist/bundled/v3/components/OrCardCollection/types.js +0 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +0 -162
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +0 -71
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +0 -16
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +0 -30
- package/dist/bundled/v3/components/OrCardCollectionV3/types.js +0 -1
- package/dist/bundled/v3/components/OrCardV3/OrCard.js +0 -15
- package/dist/bundled/v3/components/OrCardV3/index.js +0 -3
- package/dist/bundled/v3/components/OrCardV3/styles.js +0 -15
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +0 -62
- package/dist/bundled/v3/components/OrCarousel/constants.js +0 -21
- package/dist/bundled/v3/components/OrCarousel/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrCarousel/index.js +0 -20
- package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.js +0 -14
- package/dist/bundled/v3/components/OrCarouselItem/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCarouselItem/index.js +0 -2
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +0 -79
- package/dist/bundled/v3/components/OrCheckbox/index.js +0 -18
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +0 -51
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +0 -10
- package/dist/bundled/v3/components/OrCheckboxV3/styles.js +0 -31
- package/dist/bundled/v3/components/OrChip/OrChip.js +0 -42
- package/dist/bundled/v3/components/OrChip/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrChip/index.js +0 -18
- package/dist/bundled/v3/components/OrChips/OrChips.js +0 -71
- package/dist/bundled/v3/components/OrChips/constants.js +0 -10
- package/dist/bundled/v3/components/OrChips/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrChips/index.js +0 -25
- package/dist/bundled/v3/components/OrCode/OrCode.js +0 -130
- package/dist/bundled/v3/components/OrCode/constants.js +0 -11
- package/dist/bundled/v3/components/OrCode/index.js +0 -42
- package/dist/bundled/v3/components/OrCode/lang.js +0 -3
- package/dist/bundled/v3/components/OrCode/theme.js +0 -189
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +0 -40
- package/dist/bundled/v3/components/OrCollapse/index.js +0 -5
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +0 -86
- package/dist/bundled/v3/components/OrColorPicker/constants.js +0 -323
- package/dist/bundled/v3/components/OrColorPicker/index.js +0 -15
- package/dist/bundled/v3/components/OrColorPicker/types.js +0 -1
- package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.js +0 -15
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +0 -122
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +0 -15
- package/dist/bundled/v3/components/OrCombinedInputV3/props.js +0 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/styles.js +0 -16
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +0 -102
- package/dist/bundled/v3/components/OrConfirm/index.js +0 -45
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +0 -129
- package/dist/bundled/v3/components/OrConfirmV3/index.js +0 -64
- package/dist/bundled/v3/components/OrConfirmV3/props.js +0 -7
- package/dist/bundled/v3/components/OrConfirmV3/styles.js +0 -47
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +0 -259
- package/dist/bundled/v3/components/OrDateTimePicker/constants.js +0 -20
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +0 -36
- package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.js +0 -29
- package/dist/bundled/v3/components/OrEmptyStateV3/index.js +0 -4
- package/dist/bundled/v3/components/OrEmptyStateV3/props.js +0 -7
- package/dist/bundled/v3/components/OrEmptyStateV3/styles.js +0 -46
- package/dist/bundled/v3/components/OrEmptyStateV3/types.js +0 -1
- package/dist/bundled/v3/components/OrError/OrError.js +0 -19
- package/dist/bundled/v3/components/OrError/index.js +0 -2
- package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.js +0 -26
- package/dist/bundled/v3/components/OrErrorTagV3/index.js +0 -8
- package/dist/bundled/v3/components/OrErrorTagV3/styles.js +0 -15
- package/dist/bundled/v3/components/OrErrorV3/OrError.js +0 -21
- package/dist/bundled/v3/components/OrErrorV3/index.js +0 -3
- package/dist/bundled/v3/components/OrErrorV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +0 -41
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +0 -9
- package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +0 -12
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +0 -51
- package/dist/bundled/v3/components/OrFabV3/OrFab.js +0 -27
- package/dist/bundled/v3/components/OrFabV3/index.js +0 -9
- package/dist/bundled/v3/components/OrFabV3/props.js +0 -7
- package/dist/bundled/v3/components/OrFabV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrFloating/OrFloating.js +0 -31
- package/dist/bundled/v3/components/OrFloating/constants.js +0 -22
- package/dist/bundled/v3/components/OrFloating/index.js +0 -9
- package/dist/bundled/v3/components/OrHint/OrHint.js +0 -20
- package/dist/bundled/v3/components/OrHint/index.js +0 -3
- package/dist/bundled/v3/components/OrHintV3/OrHint.js +0 -21
- package/dist/bundled/v3/components/OrHintV3/index.js +0 -3
- package/dist/bundled/v3/components/OrHintV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +0 -53
- package/dist/bundled/v3/components/OrIcon/constants.js +0 -24
- package/dist/bundled/v3/components/OrIcon/index.js +0 -16
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +0 -64
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +0 -132
- package/dist/bundled/v3/components/OrIconButtonV2/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +0 -24
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +0 -62
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +0 -29
- package/dist/bundled/v3/components/OrIconButtonV3/props.js +0 -10
- package/dist/bundled/v3/components/OrIconButtonV3/styles.js +0 -50
- package/dist/bundled/v3/components/OrIconV3/OrIcon.js +0 -16
- package/dist/bundled/v3/components/OrIconV3/index.js +0 -4
- package/dist/bundled/v3/components/OrIconV3/props.js +0 -17
- package/dist/bundled/v3/components/OrIconV3/styles.js +0 -46
- package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.js +0 -18
- package/dist/bundled/v3/components/OrInlineInputBoxV3/index.js +0 -4
- package/dist/bundled/v3/components/OrInlineInputBoxV3/props.js +0 -7
- package/dist/bundled/v3/components/OrInlineInputBoxV3/styles.js +0 -23
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +0 -125
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +0 -46
- package/dist/bundled/v3/components/OrInlineInputV3/props.js +0 -9
- package/dist/bundled/v3/components/OrInlineInputV3/styles.js +0 -29
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +0 -129
- package/dist/bundled/v3/components/OrInlineTextEdit/constants.js +0 -13
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +0 -32
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +0 -123
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +0 -45
- package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +0 -21
- package/dist/bundled/v3/components/OrInput/OrInput.js +0 -123
- package/dist/bundled/v3/components/OrInput/index.js +0 -15
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.js +0 -20
- package/dist/bundled/v3/components/OrInputBoxV3/index.js +0 -4
- package/dist/bundled/v3/components/OrInputBoxV3/props.js +0 -12
- package/dist/bundled/v3/components/OrInputBoxV3/styles.js +0 -45
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +0 -174
- package/dist/bundled/v3/components/OrInputV3/index.js +0 -54
- package/dist/bundled/v3/components/OrInputV3/props.js +0 -11
- package/dist/bundled/v3/components/OrInputV3/styles.js +0 -14
- package/dist/bundled/v3/components/OrLabel/OrLabel.js +0 -23
- package/dist/bundled/v3/components/OrLabel/index.js +0 -3
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +0 -26
- package/dist/bundled/v3/components/OrLabelV3/index.js +0 -4
- package/dist/bundled/v3/components/OrLabelV3/props.js +0 -7
- package/dist/bundled/v3/components/OrLabelV3/styles.js +0 -29
- package/dist/bundled/v3/components/OrLinkV3/OrLink.js +0 -23
- package/dist/bundled/v3/components/OrLinkV3/index.js +0 -4
- package/dist/bundled/v3/components/OrLinkV3/props.js +0 -10
- package/dist/bundled/v3/components/OrLinkV3/styles.js +0 -30
- package/dist/bundled/v3/components/OrList/OrList.js +0 -114
- package/dist/bundled/v3/components/OrList/index.js +0 -33
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +0 -120
- package/dist/bundled/v3/components/OrListOfInputs/index.js +0 -41
- package/dist/bundled/v3/components/OrLoader/OrLoader.js +0 -46
- package/dist/bundled/v3/components/OrLoader/constants.js +0 -8
- package/dist/bundled/v3/components/OrLoader/index.js +0 -4
- package/dist/bundled/v3/components/OrLoader/types.js +0 -1
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +0 -69
- package/dist/bundled/v3/components/OrLoaderV3/index.js +0 -5
- package/dist/bundled/v3/components/OrLoaderV3/props.js +0 -18
- package/dist/bundled/v3/components/OrLoaderV3/styles.js +0 -17
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +0 -34
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +0 -8
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +0 -17
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +0 -47
- package/dist/bundled/v3/components/OrMenuV3/index.js +0 -21
- package/dist/bundled/v3/components/OrMenuV3/props.js +0 -1
- package/dist/bundled/v3/components/OrMenuV3/styles.js +0 -7
- package/dist/bundled/v3/components/OrModal/OrModal.js +0 -79
- package/dist/bundled/v3/components/OrModal/constants.js +0 -10
- package/dist/bundled/v3/components/OrModal/index.js +0 -30
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +0 -66
- package/dist/bundled/v3/components/OrModalV3/index.js +0 -33
- package/dist/bundled/v3/components/OrModalV3/props.js +0 -8
- package/dist/bundled/v3/components/OrModalV3/styles.js +0 -33
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +0 -60
- package/dist/bundled/v3/components/OrNotification/constants.js +0 -14
- package/dist/bundled/v3/components/OrNotification/index.js +0 -27
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +0 -59
- package/dist/bundled/v3/components/OrNotificationV3/index.js +0 -33
- package/dist/bundled/v3/components/OrNotificationV3/props.js +0 -9
- package/dist/bundled/v3/components/OrNotificationV3/styles.js +0 -54
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +0 -75
- package/dist/bundled/v3/components/OrNumberInput/index.js +0 -17
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +0 -83
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +0 -29
- package/dist/bundled/v3/components/OrOverflowMenu/types.js +0 -1
- package/dist/bundled/v3/components/OrOverlay/OrOverlay.js +0 -18
- package/dist/bundled/v3/components/OrOverlay/index.js +0 -2
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +0 -28
- package/dist/bundled/v3/components/OrOverlayV3/index.js +0 -9
- package/dist/bundled/v3/components/OrOverlayV3/styles.js +0 -9
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +0 -144
- package/dist/bundled/v3/components/OrPaginationV3/index.js +0 -39
- package/dist/bundled/v3/components/OrPaginationV3/styles.js +0 -26
- package/dist/bundled/v3/components/OrPaginationV3/types.js +0 -1
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +0 -103
- package/dist/bundled/v3/components/OrPassword/index.js +0 -38
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +0 -51
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +0 -119
- package/dist/bundled/v3/components/OrPopoverV3/index.js +0 -18
- package/dist/bundled/v3/components/OrPopoverV3/props.js +0 -23
- package/dist/bundled/v3/components/OrPopoverV3/styles.js +0 -44
- package/dist/bundled/v3/components/OrProgress/OrProgress.js +0 -66
- package/dist/bundled/v3/components/OrProgress/constants.js +0 -15
- package/dist/bundled/v3/components/OrProgress/index.js +0 -4
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +0 -84
- package/dist/bundled/v3/components/OrProgressV3/index.js +0 -7
- package/dist/bundled/v3/components/OrProgressV3/props.js +0 -15
- package/dist/bundled/v3/components/OrProgressV3/styles.js +0 -63
- package/dist/bundled/v3/components/OrRadio/OrRadio.js +0 -34
- package/dist/bundled/v3/components/OrRadio/index.js +0 -3
- package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.js +0 -19
- package/dist/bundled/v3/components/OrRadioGroup/index.js +0 -2
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +0 -50
- package/dist/bundled/v3/components/OrRadioV3/index.js +0 -10
- package/dist/bundled/v3/components/OrRadioV3/styles.js +0 -31
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +0 -105
- package/dist/bundled/v3/components/OrSearch/index.js +0 -37
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +0 -85
- package/dist/bundled/v3/components/OrSearchV3/index.js +0 -57
- package/dist/bundled/v3/components/OrSearchV3/props.js +0 -1
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.js +0 -29
- package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +0 -5
- package/dist/bundled/v3/components/OrSegmentedControlV3/props.js +0 -7
- package/dist/bundled/v3/components/OrSegmentedControlV3/styles.js +0 -15
- package/dist/bundled/v3/components/OrSegmentedControlV3/types.js +0 -1
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +0 -84
- package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +0 -230
- package/dist/bundled/v3/components/OrSelect/constants.js +0 -50
- package/dist/bundled/v3/components/OrSelect/index.js +0 -31
- package/dist/bundled/v3/components/OrSelect/types.js +0 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +0 -294
- package/dist/bundled/v3/components/OrSelectV3/index.js +0 -75
- package/dist/bundled/v3/components/OrSelectV3/props.js +0 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +0 -43
- package/dist/bundled/v3/components/OrSelectV3/types.js +0 -1
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +0 -41
- package/dist/bundled/v3/components/OrSidebar/constants.js +0 -7
- package/dist/bundled/v3/components/OrSidebar/index.js +0 -5
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +0 -75
- package/dist/bundled/v3/components/OrSidebarV3/index.js +0 -34
- package/dist/bundled/v3/components/OrSidebarV3/props.js +0 -7
- package/dist/bundled/v3/components/OrSidebarV3/styles.js +0 -118
- package/dist/bundled/v3/components/OrSkeleton/constants.js +0 -12
- package/dist/bundled/v3/components/OrSkeleton/index.d.ts +0 -4
- package/dist/bundled/v3/components/OrSkeleton/index.js +0 -7
- package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +0 -21
- package/dist/bundled/v3/components/OrSkeletonCircle/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSkeletonCircle/index.js +0 -5
- package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.js +0 -18
- package/dist/bundled/v3/components/OrSkeletonCircleV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSkeletonCircleV3/index.js +0 -5
- package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +0 -21
- package/dist/bundled/v3/components/OrSkeletonRect/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSkeletonRect/index.js +0 -5
- package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.js +0 -18
- package/dist/bundled/v3/components/OrSkeletonRectV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSkeletonRectV3/index.js +0 -5
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +0 -27
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +0 -73
- package/dist/bundled/v3/components/OrSkeletonText/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSkeletonText/index.js +0 -5
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +0 -24
- package/dist/bundled/v3/components/OrSkeletonTextV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +0 -5
- package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrSkeletonV3/index.js +0 -7
- package/dist/bundled/v3/components/OrSkeletonV3/styles.js +0 -34
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +0 -102
- package/dist/bundled/v3/components/OrSlider/index.js +0 -19
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.js +0 -29
- package/dist/bundled/v3/components/OrSortHeaderV3/index.js +0 -8
- package/dist/bundled/v3/components/OrSortHeaderV3/styles.js +0 -15
- package/dist/bundled/v3/components/OrSortHeaderV3/types.js +0 -1
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +0 -75
- package/dist/bundled/v3/components/OrStepper/index.js +0 -24
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +0 -52
- package/dist/bundled/v3/components/OrSwitch/index.js +0 -8
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +0 -66
- package/dist/bundled/v3/components/OrSwitchV3/index.js +0 -15
- package/dist/bundled/v3/components/OrSwitchV3/styles.js +0 -51
- package/dist/bundled/v3/components/OrTab/OrTab.js +0 -22
- package/dist/bundled/v3/components/OrTab/index.js +0 -4
- package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.js +0 -27
- package/dist/bundled/v3/components/OrTabHeaderItem/index.js +0 -3
- package/dist/bundled/v3/components/OrTabV3/OrTab.js +0 -21
- package/dist/bundled/v3/components/OrTabV3/index.js +0 -3
- package/dist/bundled/v3/components/OrTabV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrTabs/OrTabs.js +0 -47
- package/dist/bundled/v3/components/OrTabs/index.js +0 -7
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +0 -91
- package/dist/bundled/v3/components/OrTabsV3/index.js +0 -35
- package/dist/bundled/v3/components/OrTabsV3/props.js +0 -7
- package/dist/bundled/v3/components/OrTabsV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrTabsV3/types.js +0 -1
- package/dist/bundled/v3/components/OrTag/OrTag.js +0 -50
- package/dist/bundled/v3/components/OrTag/index.js +0 -22
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +0 -63
- package/dist/bundled/v3/components/OrTagV3/index.js +0 -33
- package/dist/bundled/v3/components/OrTagV3/props.js +0 -13
- package/dist/bundled/v3/components/OrTagV3/styles.js +0 -30
- package/dist/bundled/v3/components/OrTeleport/OrTeleport.js +0 -20
- package/dist/bundled/v3/components/OrTeleport/constants.js +0 -16
- package/dist/bundled/v3/components/OrTeleport/index.js +0 -4
- package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.js +0 -14
- package/dist/bundled/v3/components/OrTeleportV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTextV3/OrText.js +0 -19
- package/dist/bundled/v3/components/OrTextV3/index.js +0 -3
- package/dist/bundled/v3/components/OrTextV3/styles.js +0 -17
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +0 -121
- package/dist/bundled/v3/components/OrTextarea/index.js +0 -15
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +0 -103
- package/dist/bundled/v3/components/OrTextareaV3/index.js +0 -21
- package/dist/bundled/v3/components/OrTextareaV3/props.js +0 -1
- package/dist/bundled/v3/components/OrTextareaV3/styles.js +0 -14
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +0 -169
- package/dist/bundled/v3/components/OrTextbox/constants.js +0 -11
- package/dist/bundled/v3/components/OrTextbox/index.js +0 -36
- package/dist/bundled/v3/components/OrToast/OrToast.js +0 -137
- package/dist/bundled/v3/components/OrToast/Timer.js +0 -37
- package/dist/bundled/v3/components/OrToast/composable/index.js +0 -7
- package/dist/bundled/v3/components/OrToast/composable/useQueue.js +0 -33
- package/dist/bundled/v3/components/OrToast/composable/useToast.js +0 -82
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +0 -24
- package/dist/bundled/v3/components/OrToast/constants.js +0 -24
- package/dist/bundled/v3/components/OrToast/index.d.ts +0 -5
- package/dist/bundled/v3/components/OrToast/index.js +0 -36
- package/dist/bundled/v3/components/OrToast/types.js +0 -1
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +0 -73
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +0 -93
- package/dist/bundled/v3/components/OrToastContainer/index.d.ts +0 -4
- package/dist/bundled/v3/components/OrToastContainer/index.js +0 -36
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +0 -79
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +0 -85
- package/dist/bundled/v3/components/OrToastContainerV3/index.d.ts +0 -4
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +0 -44
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +0 -172
- package/dist/bundled/v3/components/OrToastV3/Timer.js +0 -37
- package/dist/bundled/v3/components/OrToastV3/composable/index.js +0 -7
- package/dist/bundled/v3/components/OrToastV3/composable/useQueue.js +0 -33
- package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +0 -82
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +0 -24
- package/dist/bundled/v3/components/OrToastV3/index.d.ts +0 -5
- package/dist/bundled/v3/components/OrToastV3/index.js +0 -44
- package/dist/bundled/v3/components/OrToastV3/props.js +0 -1
- package/dist/bundled/v3/components/OrToastV3/styles.js +0 -59
- package/dist/bundled/v3/components/OrToastV3/types.js +0 -1
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +0 -55
- package/dist/bundled/v3/components/OrTooltip/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTooltip/index.js +0 -14
- package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.js +0 -26
- package/dist/bundled/v3/components/OrTooltipContent/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTooltipContent/index.js +0 -3
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +0 -48
- package/dist/bundled/v3/components/OrTooltipV3/index.js +0 -21
- package/dist/bundled/v3/components/OrTooltipV3/props.js +0 -1
- package/dist/bundled/v3/components/OrTooltipV3/styles.js +0 -46
- package/dist/bundled/v3/directives/dropdown-close.js +0 -15
- package/dist/bundled/v3/directives/dropdown-open.js +0 -16
- package/dist/bundled/v3/hooks/useControlAttributes.js +0 -12
- package/dist/bundled/v3/hooks/useElevation.js +0 -22
- package/dist/bundled/v3/hooks/useIdAttribute.js +0 -12
- package/dist/bundled/v3/hooks/useOverflow.js +0 -64
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +0 -13
- package/dist/bundled/v3/hooks/useToggle.js +0 -22
- package/dist/bundled/v3/hooks/useValidationAttributes.js +0 -16
- package/dist/bundled/v3/index-63e094a0.js +0 -15
- package/dist/bundled/v3/index-6976c52a.js +0 -17838
- package/dist/bundled/v3/lang-02d2bb2d.js +0 -7811
- package/dist/bundled/v3/props-7be029c7.js +0 -32
- package/dist/bundled/v3/types-668300dd.js +0 -5
- package/dist/bundled/v3/utils/constants/color.js +0 -16
- package/dist/bundled/v3/utils/constants/key-codes.js +0 -16
- package/dist/bundled/v3/utils/constants/poper.js +0 -10
- package/dist/bundled/v3/utils/constants/regex.js +0 -49
- package/dist/bundled/v3/utils/functions/color.js +0 -39
- package/dist/bundled/v3/utils/functions/dom.js +0 -166
- package/dist/bundled/v3/utils/functions/hash.js +0 -8
- package/dist/bundled/v3/utils/functions/px-to-rem.js +0 -3
- package/dist/bundled/v3/utils/functions/text.js +0 -9
- package/dist/bundled/v3/utils/isVisible.js +0 -5
- package/dist/esm/v2/OrAvatar-da5cba16.js +0 -113
- package/dist/esm/v2/OrButton-86c800fe.js +0 -75
- package/dist/esm/v2/OrButton.vue_rollup-plugin-vue_styles.0-03013ef7.js +0 -101
- package/dist/esm/v2/OrCardCollection-d9206990.js +0 -222
- package/dist/esm/v2/OrCardCollection-fcc2bec5.js +0 -346
- package/dist/esm/v2/OrCarousel-3c809a13.js +0 -244
- package/dist/esm/v2/OrCarouselItem-c614bab9.js +0 -41
- package/dist/esm/v2/OrCheckbox-bf34eb0f.js +0 -181
- package/dist/esm/v2/OrChip-416e848e.js +0 -91
- package/dist/esm/v2/OrChips-77e789e9.js +0 -82
- package/dist/esm/v2/OrChips.vue_rollup-plugin-vue_styles.0-e05c5ca8.js +0 -240
- package/dist/esm/v2/OrCode-90e15e84.js +0 -557
- package/dist/esm/v2/OrConfirm-360884f6.js +0 -258
- package/dist/esm/v2/OrConfirm-7eee1481.js +0 -329
- package/dist/esm/v2/OrDateTimePicker-0a5dfc88.js +0 -766
- package/dist/esm/v2/OrIcon-8a6d663a.js +0 -176
- package/dist/esm/v2/OrIconButton-729fe6a2.js +0 -64
- package/dist/esm/v2/OrIconButton-ec2e21aa.js +0 -168
- package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-affe3331.js +0 -200
- package/dist/esm/v2/OrInlineInput-34f28593.js +0 -383
- package/dist/esm/v2/OrInlineTextEdit-24870b6d.js +0 -399
- package/dist/esm/v2/OrInlineTextarea-07a2cdc1.js +0 -287
- package/dist/esm/v2/OrInput-a7903c0f.js +0 -426
- package/dist/esm/v2/OrList-74216118.js +0 -296
- package/dist/esm/v2/OrListOfInputs-14c510e6.js +0 -221
- package/dist/esm/v2/OrMenu-47b319a6.js +0 -140
- package/dist/esm/v2/OrModal-69791114.js +0 -158
- package/dist/esm/v2/OrModal-beff61df.js +0 -199
- package/dist/esm/v2/OrNotification-5e98ac28.js +0 -166
- package/dist/esm/v2/OrNotification-d0da833a.js +0 -142
- package/dist/esm/v2/OrOverflowMenu-abb6883b.js +0 -245
- package/dist/esm/v2/OrPagination-4d330d4f.js +0 -336
- package/dist/esm/v2/OrPassword-028c657f.js +0 -223
- package/dist/esm/v2/OrPopover-83c885d0.js +0 -294
- package/dist/esm/v2/OrSearch-5eba1989.js +0 -144
- package/dist/esm/v2/OrSearch-68a6f290.js +0 -244
- package/dist/esm/v2/OrSelect-2d48ddee.js +0 -543
- package/dist/esm/v2/OrSelect-eb5cc918.js +0 -1092
- package/dist/esm/v2/OrSidebar-6431f9f0.js +0 -349
- package/dist/esm/v2/OrSidebarCollapseButton-fbbac5f0.js +0 -123
- package/dist/esm/v2/OrSkeletonCircle-287fb8bb.js +0 -81
- package/dist/esm/v2/OrSkeletonCircle-db96ddb6.js +0 -78
- package/dist/esm/v2/OrSkeletonRect-0f06777f.js +0 -84
- package/dist/esm/v2/OrSkeletonRect-8df5791c.js +0 -81
- package/dist/esm/v2/OrSkeletonText-5529bcd1.js +0 -113
- package/dist/esm/v2/OrSkeletonText-8063af02.js +0 -94
- package/dist/esm/v2/OrSlider-32a14ca4.js +0 -368
- package/dist/esm/v2/OrStepper-1856df54.js +0 -644
- package/dist/esm/v2/OrTabs-f0e4db08.js +0 -226
- package/dist/esm/v2/OrTag-335525e6.js +0 -159
- package/dist/esm/v2/OrTag-a1fff567.js +0 -114
- package/dist/esm/v2/OrTextbox-639f07a1.js +0 -529
- package/dist/esm/v2/OrToastContainer-05c306b2.js +0 -335
- package/dist/esm/v2/OrTooltip-2c09dcaf.js +0 -165
- package/dist/esm/v2/OrTooltip-cfb56e8f.js +0 -68
- package/dist/esm/v2/OrTooltip.vue_rollup-plugin-vue_styles.0-122f7804.js +0 -90
- package/dist/esm/v2/OrTooltipContent-c9540548.js +0 -71
- package/dist/esm/v2/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue.d.ts +0 -35
- package/dist/esm/v2/components/or-carousel/or-carousel-item/index.d.ts +0 -1
- package/dist/esm/v2/components/or-carousel/or-carousel-item/index.js +0 -3
- package/dist/esm/v2/components/or-chips/or-chip/index.d.ts +0 -1
- package/dist/esm/v2/components/or-chips/or-chip/index.js +0 -14
- package/dist/esm/v2/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
- package/dist/esm/v2/components/or-icon-button-v2/OrIconButton.vue.d.ts +0 -132
- package/dist/esm/v2/components/or-icon-button-v2/index.d.ts +0 -1
- package/dist/esm/v2/components/or-icon-button-v2/index.js +0 -17
- package/dist/esm/v2/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +0 -32
- package/dist/esm/v2/components/or-select/partials/OrSelectContent.vue.d.ts +0 -114
- package/dist/esm/v2/components/or-select/partials/OrSelectContentOptions.vue.d.ts +0 -87
- package/dist/esm/v2/components/or-select/partials/OrSelectInput.vue.d.ts +0 -81
- package/dist/esm/v2/components/or-select/partials/OrSelectInputValue.vue.d.ts +0 -58
- package/dist/esm/v2/components/or-select/partials/OrSelectMain.vue.d.ts +0 -158
- package/dist/esm/v2/components/or-select/partials/OrSelectOption.vue.d.ts +0 -37
- package/dist/esm/v2/components/or-skeleton/or-skeleton-circle/index.d.ts +0 -2
- package/dist/esm/v2/components/or-skeleton/or-skeleton-circle/index.js +0 -7
- package/dist/esm/v2/components/or-skeleton/or-skeleton-rect/index.d.ts +0 -2
- package/dist/esm/v2/components/or-skeleton/or-skeleton-rect/index.js +0 -7
- package/dist/esm/v2/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +0 -73
- package/dist/esm/v2/components/or-skeleton/or-skeleton-text/index.d.ts +0 -2
- package/dist/esm/v2/components/or-skeleton/or-skeleton-text/index.js +0 -7
- package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-circle-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-circle-v3/index.js +0 -6
- package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-rect-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-rect-v3/index.js +0 -6
- package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-text-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-text-v3/index.js +0 -6
- package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +0 -93
- package/dist/esm/v2/components/or-toast/or-toast-container/index.d.ts +0 -4
- package/dist/esm/v2/components/or-toast/or-toast-container/index.js +0 -22
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +0 -85
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.d.ts +0 -4
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +0 -18
- package/dist/esm/v2/components/or-tooltip/or-tooltip-content/index.d.ts +0 -1
- package/dist/esm/v2/components/or-tooltip/or-tooltip-content/index.js +0 -5
- package/dist/esm/v2/constants-0a28d818.js +0 -12
- package/dist/esm/v2/styles-ed564e39.js +0 -34
- package/dist/esm/v2/types-f189ecd7.js +0 -432
- package/dist/esm/v3/OrAvatar-b18f2208.js +0 -89
- package/dist/esm/v3/OrButton-1e1b44e1.js +0 -137
- package/dist/esm/v3/OrCardCollection-283c9cfe.js +0 -293
- package/dist/esm/v3/OrCardCollection-f7eff96c.js +0 -190
- package/dist/esm/v3/OrCarousel-8de5d65b.js +0 -224
- package/dist/esm/v3/OrCarouselItem-8c7ccd0f.js +0 -18
- package/dist/esm/v3/OrCheckbox-c2d9cf53.js +0 -149
- package/dist/esm/v3/OrChip-ccd4b331.js +0 -67
- package/dist/esm/v3/OrChips-9a19aa03.js +0 -240
- package/dist/esm/v3/OrCode-b77df76f.js +0 -523
- package/dist/esm/v3/OrConfirm-5e9a3a4a.js +0 -215
- package/dist/esm/v3/OrConfirm-b74191d6.js +0 -299
- package/dist/esm/v3/OrDateTimePicker-01a7ffb1.js +0 -681
- package/dist/esm/v3/OrIcon-9b3d24cc.js +0 -153
- package/dist/esm/v3/OrIconButton-b8042604.js +0 -217
- package/dist/esm/v3/OrIconButton-e3f4d060.js +0 -142
- package/dist/esm/v3/OrInlineInput-c0e61e6b.js +0 -255
- package/dist/esm/v3/OrInlineTextEdit-4b719869.js +0 -339
- package/dist/esm/v3/OrInlineTextarea-6d5e7ceb.js +0 -232
- package/dist/esm/v3/OrInput-f0748c95.js +0 -280
- package/dist/esm/v3/OrList-b085648b.js +0 -258
- package/dist/esm/v3/OrListOfInputs-4b8a2152.js +0 -164
- package/dist/esm/v3/OrMenu-053a9ab7.js +0 -111
- package/dist/esm/v3/OrModal-6ec31764.js +0 -164
- package/dist/esm/v3/OrModal-7d4158d1.js +0 -135
- package/dist/esm/v3/OrNotification-9e00aa97.js +0 -137
- package/dist/esm/v3/OrNotification-ba04259f.js +0 -115
- package/dist/esm/v3/OrOverflowMenu-8b2a4324.js +0 -186
- package/dist/esm/v3/OrPagination-f2d104d9.js +0 -297
- package/dist/esm/v3/OrPassword-f0c62eba.js +0 -163
- package/dist/esm/v3/OrPopover-3ac8f589.js +0 -277
- package/dist/esm/v3/OrSearch-5718a2b1.js +0 -189
- package/dist/esm/v3/OrSearch-6673c583.js +0 -105
- package/dist/esm/v3/OrSelect-3d923250.js +0 -804
- package/dist/esm/v3/OrSelect-b9d45ab4.js +0 -507
- package/dist/esm/v3/OrSidebar-c4dfb35c.js +0 -313
- package/dist/esm/v3/OrSidebarCollapseButton-e4b2eedb.js +0 -94
- package/dist/esm/v3/OrSkeletonCircle-1aa63444.js +0 -55
- package/dist/esm/v3/OrSkeletonCircle-d59d0e13.js +0 -57
- package/dist/esm/v3/OrSkeletonRect-813bc73a.js +0 -58
- package/dist/esm/v3/OrSkeletonRect-b0845041.js +0 -60
- package/dist/esm/v3/OrSkeletonText-205898e9.js +0 -89
- package/dist/esm/v3/OrSkeletonText-6de38947.js +0 -71
- package/dist/esm/v3/OrSlider-ae7b8a11.js +0 -310
- package/dist/esm/v3/OrStepper-de6f7fa0.js +0 -427
- package/dist/esm/v3/OrTabs-d9e2a07e.js +0 -205
- package/dist/esm/v3/OrTag-1b49531d.js +0 -123
- package/dist/esm/v3/OrTag-38d1ba92.js +0 -86
- package/dist/esm/v3/OrTextbox-abe576c3.js +0 -494
- package/dist/esm/v3/OrToastContainer-adb8f47d.js +0 -281
- package/dist/esm/v3/OrTooltip-be7209e5.js +0 -128
- package/dist/esm/v3/OrTooltip-d91128f4.js +0 -141
- package/dist/esm/v3/OrTooltipContent-68c34911.js +0 -44
- package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +0 -35
- package/dist/esm/v3/components/or-carousel/or-carousel-item/index.d.ts +0 -1
- package/dist/esm/v3/components/or-carousel/or-carousel-item/index.js +0 -3
- package/dist/esm/v3/components/or-chips/or-chip/index.d.ts +0 -1
- package/dist/esm/v3/components/or-chips/or-chip/index.js +0 -13
- package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
- package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +0 -132
- package/dist/esm/v3/components/or-icon-button-v2/index.d.ts +0 -1
- package/dist/esm/v3/components/or-icon-button-v2/index.js +0 -14
- package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +0 -32
- package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +0 -114
- package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +0 -87
- package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +0 -81
- package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +0 -58
- package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +0 -158
- package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +0 -37
- package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/index.d.ts +0 -2
- package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/index.js +0 -7
- package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/index.d.ts +0 -2
- package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/index.js +0 -7
- package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +0 -73
- package/dist/esm/v3/components/or-skeleton/or-skeleton-text/index.d.ts +0 -2
- package/dist/esm/v3/components/or-skeleton/or-skeleton-text/index.js +0 -7
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/index.js +0 -6
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/index.js +0 -6
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/index.js +0 -6
- package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +0 -93
- package/dist/esm/v3/components/or-toast/or-toast-container/index.d.ts +0 -4
- package/dist/esm/v3/components/or-toast/or-toast-container/index.js +0 -19
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +0 -85
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.d.ts +0 -4
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +0 -17
- package/dist/esm/v3/components/or-tooltip/or-tooltip-content/index.d.ts +0 -1
- package/dist/esm/v3/components/or-tooltip/or-tooltip-content/index.js +0 -5
- package/dist/esm/v3/constants-0a28d818.js +0 -12
- package/dist/esm/v3/styles-ed564e39.js +0 -34
- package/dist/esm/v3/types-fb41724f.js +0 -378
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue +0 -41
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue +0 -42
- package/src/components/or-carousel/or-carousel-item/index.ts +0 -1
- package/src/components/or-chips/or-chip/OrChip.vue +0 -109
- package/src/components/or-chips/or-chip/index.ts +0 -1
- package/src/components/or-chips/partials/OrChipsInput.vue +0 -140
- package/src/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue +0 -112
- package/src/components/or-icon-button-v2/OrIconButton.stories.ts +0 -134
- package/src/components/or-icon-button-v2/OrIconButton.vue +0 -257
- package/src/components/or-icon-button-v2/index.ts +0 -1
- package/src/components/or-icon-button-v2/partials/OrTooltipWrapper.vue +0 -49
- package/src/components/or-overflow-menu/partials/OrOverflowMenuItem.vue +0 -77
- package/src/components/or-select/partials/OrSelectContent.stories.ts +0 -192
- package/src/components/or-select/partials/OrSelectContent.vue +0 -165
- package/src/components/or-select/partials/OrSelectContentEmpty.vue +0 -62
- package/src/components/or-select/partials/OrSelectContentOptions.vue +0 -64
- package/src/components/or-select/partials/OrSelectInput.stories.ts +0 -116
- package/src/components/or-select/partials/OrSelectInput.vue +0 -167
- package/src/components/or-select/partials/OrSelectInputValue.vue +0 -111
- package/src/components/or-select/partials/OrSelectMain.vue +0 -203
- package/src/components/or-select/partials/OrSelectOption.vue +0 -80
- package/src/components/or-select/partials/OrSelectSearchOptions.vue +0 -101
- package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.stories.ts +0 -35
- package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue +0 -56
- package/src/components/or-skeleton/or-skeleton-circle/index.ts +0 -3
- package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.stories.ts +0 -53
- package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue +0 -59
- package/src/components/or-skeleton/or-skeleton-rect/index.ts +0 -3
- package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.stories.ts +0 -52
- package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue +0 -105
- package/src/components/or-skeleton/or-skeleton-text/index.ts +0 -3
- package/src/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue +0 -68
- package/src/components/or-skeleton-v3/or-skeleton-circle-v3/index.ts +0 -1
- package/src/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue +0 -72
- package/src/components/or-skeleton-v3/or-skeleton-rect-v3/index.ts +0 -1
- package/src/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue +0 -110
- package/src/components/or-skeleton-v3/or-skeleton-text-v3/index.ts +0 -1
- package/src/components/or-stepper/partials/OrStepperButtonOptions.vue +0 -71
- package/src/components/or-stepper/partials/StatusIcon.vue +0 -80
- package/src/components/or-toast/or-toast-container/OrToastContainer.stories.ts +0 -65
- package/src/components/or-toast/or-toast-container/OrToastContainer.vue +0 -247
- package/src/components/or-toast/or-toast-container/index.ts +0 -5
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.stories3.ts +0 -76
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +0 -211
- package/src/components/or-toast-v3/or-toast-container-v3/index.ts +0 -5
- package/src/components/or-tooltip/or-tooltip-content/index.ts +0 -1
- /package/dist/bundled/v2/components/{OrAvatar → or-avatar}/OrAvatar.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrAvatar → or-avatar}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrAvatar → or-avatar}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrAvatarV3 → or-avatar-v3}/OrAvatar.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrAvatarV3 → or-avatar-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrAvatarV3 → or-avatar-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrAvatarV3 → or-avatar-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrBottomSheetV3 → or-bottom-sheet-v3}/OrBottomSheet.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrBottomSheetV3 → or-bottom-sheet-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrBottomSheetV3 → or-bottom-sheet-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButton → or-button}/OrButton.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButton → or-button}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButton → or-button}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButtonV2 → or-button-v2}/OrButton.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButtonV2 → or-button-v2}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButtonV3 → or-button-v3}/OrButton.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButtonV3 → or-button-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButtonV3 → or-button-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrButtonV3 → or-button-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCard → or-card}/OrCard.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCard → or-card}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollection → or-card-collection}/OrCardCollection.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollection → or-card-collection}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollection → or-card-collection}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollection → or-card-collection}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollectionV3 → or-card-collection-v3}/OrCardCollection.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollectionV3 → or-card-collection-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollectionV3 → or-card-collection-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollectionV3 → or-card-collection-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardCollectionV3 → or-card-collection-v3}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardV3 → or-card-v3}/OrCard.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardV3 → or-card-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCardV3 → or-card-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCarousel → or-carousel}/OrCarousel.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCarouselItem → or-carousel}/OrCarouselItem.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCarousel → or-carousel}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCheckbox → or-checkbox}/OrCheckbox.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCheckbox → or-checkbox}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCheckboxV3 → or-checkbox-v3}/OrCheckbox.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCheckboxV3 → or-checkbox-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCheckboxV3 → or-checkbox-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrChip → or-chips}/OrChip.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrChips → or-chips}/OrChips.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-chips/partials → bundled/v2/components/or-chips}/OrChipsInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrChips → or-chips}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCode → or-code}/OrCode.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCode → or-code}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCode → or-code}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCode → or-code}/lang.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCode → or-code}/theme.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCollapse → or-collapse}/OrCollapse.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCollapse → or-collapse}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrColorPicker → or-color-picker}/OrColorPicker.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrColorPicker → or-color-picker}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrColorPicker → or-color-picker}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrColorPicker → or-color-picker}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrColorPicker → or-color-picker}/utils/defultPalette.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCombinedInputV3 → or-combined-input-v3}/OrCombinedInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCombinedInputV3 → or-combined-input-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCombinedInputV3 → or-combined-input-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrCombinedInputV3 → or-combined-input-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrConfirm → or-confirm}/OrConfirm.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrConfirm → or-confirm}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrConfirmV3 → or-confirm-v3}/OrConfirm.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrConfirmV3 → or-confirm-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrConfirmV3 → or-confirm-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrConfirmV3 → or-confirm-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrDateTimePicker → or-date-time-picker}/OrDateTimePicker.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrDateTimePicker → or-date-time-picker}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrDateTimePicker → or-date-time-picker}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrEmptyStateV3 → or-empty-state-v3}/OrEmptyState.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrEmptyStateV3 → or-empty-state-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrEmptyStateV3 → or-empty-state-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrEmptyStateV3 → or-empty-state-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrEmptyStateV3 → or-empty-state-v3}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrError → or-error}/OrError.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrError → or-error}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrErrorTagV3 → or-error-tag-v3}/OrErrorTag.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrErrorTagV3 → or-error-tag-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrErrorTagV3 → or-error-tag-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrErrorV3 → or-error-v3}/OrError.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrErrorV3 → or-error-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrErrorV3 → or-error-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/OrExpansionPanel.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrFabV3 → or-fab-v3}/OrFab.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrFabV3 → or-fab-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrFabV3 → or-fab-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrFabV3 → or-fab-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrFloating → or-floating}/OrFloating.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrFloating → or-floating}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrFloating → or-floating}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrHint → or-hint}/OrHint.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrHint → or-hint}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrHintV3 → or-hint-v3}/OrHint.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrHintV3 → or-hint-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrHintV3 → or-hint-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIcon → or-icon}/OrIcon.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIcon → or-icon}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIcon → or-icon}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconButtonV3 → or-icon-button-v3}/OrIconButton.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconButtonV3 → or-icon-button-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconButtonV3 → or-icon-button-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconButtonV3 → or-icon-button-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconV3 → or-icon-v3}/OrIcon.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconV3 → or-icon-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconV3 → or-icon-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrIconV3 → or-icon-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/OrInlineInputBox.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputV3 → or-inline-input-v3}/OrInlineInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputV3 → or-inline-input-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputV3 → or-inline-input-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineInputV3 → or-inline-input-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineTextEdit → or-inline-text-edit}/OrInlineTextEdit.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineTextEdit → or-inline-text-edit}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineTextEdit → or-inline-text-edit}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineTextareaV3 → or-inline-textarea-v3}/OrInlineTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineTextareaV3 → or-inline-textarea-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInlineTextareaV3 → or-inline-textarea-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInput → or-input}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInput → or-input}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputBoxV3 → or-input-box-v3}/OrInputBox.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputBoxV3 → or-input-box-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputBoxV3 → or-input-box-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputBoxV3 → or-input-box-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputV3 → or-input-v3}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputV3 → or-input-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputV3 → or-input-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrInputV3 → or-input-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLabel → or-label}/OrLabel.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLabel → or-label}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLabelV3 → or-label-v3}/OrLabel.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLabelV3 → or-label-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLabelV3 → or-label-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLabelV3 → or-label-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLinkV3 → or-link-v3}/OrLink.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLinkV3 → or-link-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLinkV3 → or-link-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLinkV3 → or-link-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrList → or-list}/OrList.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrList → or-list}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrListOfInputs → or-list-of-inputs}/OrListOfInputs.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrListOfInputs → or-list-of-inputs}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoader → or-loader}/OrLoader.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoader → or-loader}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoader → or-loader}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoader → or-loader}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoaderV3 → or-loader-v3}/OrLoader.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoaderV3 → or-loader-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoaderV3 → or-loader-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrLoaderV3 → or-loader-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrMenuItemV3 → or-menu-item-v3}/OrMenuItem.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrMenuItemV3 → or-menu-item-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrMenuItemV3 → or-menu-item-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrMenuV3 → or-menu-v3}/OrMenu.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrMenuV3 → or-menu-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrMenuV3 → or-menu-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrMenuV3 → or-menu-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrModal → or-modal}/OrModal.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrModal → or-modal}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrModal → or-modal}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrModalV3 → or-modal-v3}/OrModal.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrModalV3 → or-modal-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrModalV3 → or-modal-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrModalV3 → or-modal-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNotification → or-notification}/OrNotification.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNotification → or-notification}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNotification → or-notification}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNotificationV3 → or-notification-v3}/OrNotification.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNotificationV3 → or-notification-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNotificationV3 → or-notification-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNotificationV3 → or-notification-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNumberInput → or-number-input}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrNumberInput → or-number-input}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverflowMenu → or-overflow-menu}/OrOverflowMenu.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-overflow-menu/partials → bundled/v2/components/or-overflow-menu}/OrOverflowMenuItem.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverflowMenu → or-overflow-menu}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverflowMenu → or-overflow-menu}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverlay → or-overlay}/OrOverlay.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverlay → or-overlay}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverlayV3 → or-overlay-v3}/OrOverlay.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverlayV3 → or-overlay-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrOverlayV3 → or-overlay-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPaginationV3 → or-pagination-v3}/OrPagination.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPaginationV3 → or-pagination-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPaginationV3 → or-pagination-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPaginationV3 → or-pagination-v3}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPassword → or-password}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPassword → or-password}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPopoverV3 → or-popover-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPopoverV3 → or-popover-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrPopoverV3 → or-popover-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrProgress → or-progress}/OrProgress.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrProgress → or-progress}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrProgress → or-progress}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrProgressV3 → or-progress-v3}/OrProgress.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrProgressV3 → or-progress-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrProgressV3 → or-progress-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrProgressV3 → or-progress-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrRadio → or-radio}/OrRadio.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrRadio → or-radio}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrRadioGroup → or-radio-group}/OrRadioGroup.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrRadioGroup → or-radio-group}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrRadioV3 → or-radio-v3}/OrRadio.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrRadioV3 → or-radio-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrRadioV3 → or-radio-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSearch → or-search}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSearch → or-search}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSearchV3 → or-search-v3}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSearchV3 → or-search-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSearchV3 → or-search-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSegmentedControlV3 → or-segmented-control-v3}/OrSegmentedControl.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSegmentedControlV3 → or-segmented-control-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSegmentedControlV3 → or-segmented-control-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSegmentedControlV3 → or-segmented-control-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSegmentedControlV3 → or-segmented-control-v3}/types.d.ts +0 -0
- /package/dist/{esm/v2/components/or-select/partials → bundled/v2/components/or-select}/OrSelectContentEmpty.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-select/partials → bundled/v2/components/or-select}/OrSelectSearchOptions.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelect → or-select}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelect → or-select}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelect → or-select}/stories.helpers.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelect → or-select}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelectV3 → or-select-v3}/OrSelect.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelectV3 → or-select-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelectV3 → or-select-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelectV3 → or-select-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSelectV3 → or-select-v3}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSidebar → or-sidebar}/OrSidebar.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSidebar → or-sidebar}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSidebar → or-sidebar}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSidebarV3 → or-sidebar-v3}/OrSidebar.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSidebarV3 → or-sidebar-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSidebarV3 → or-sidebar-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSidebarV3 → or-sidebar-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSkeletonCircle → or-skeleton}/OrSkeletonCircle.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSkeletonRect → or-skeleton}/OrSkeletonRect.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSkeleton → or-skeleton}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSkeletonCircleV3 → or-skeleton-v3}/OrSkeletonCircle.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSkeletonRectV3 → or-skeleton-v3}/OrSkeletonRect.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSkeletonTextV3 → or-skeleton-v3}/OrSkeletonText.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSkeletonV3 → or-skeleton-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSlider → or-slider}/OrSlider.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSlider → or-slider}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSortHeaderV3 → or-sort-header-v3}/OrSortHeader.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSortHeaderV3 → or-sort-header-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSortHeaderV3 → or-sort-header-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSortHeaderV3 → or-sort-header-v3}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrStepper → or-stepper}/OrStepper.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-stepper/partials → bundled/v2/components/or-stepper}/OrStepperButtonOptions.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-stepper/partials → bundled/v2/components/or-stepper}/OrStepperOptionHorizontal.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-stepper/partials → bundled/v2/components/or-stepper}/OrStepperOptionVertical.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-stepper/partials → bundled/v2/components/or-stepper}/OrStepperTitle.vue.d.ts +0 -0
- /package/dist/{esm/v2/components/or-stepper/partials → bundled/v2/components/or-stepper}/StatusIcon.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrStepper → or-stepper}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSwitch → or-switch}/OrSwitch.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSwitch → or-switch}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSwitchV3 → or-switch-v3}/OrSwitch.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSwitchV3 → or-switch-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrSwitchV3 → or-switch-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTab → or-tab}/OrTab.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTab → or-tab}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabHeaderItem → or-tab-header-item}/OrTabHeaderItem.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabHeaderItem → or-tab-header-item}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabV3 → or-tab-v3}/OrTab.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabV3 → or-tab-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabV3 → or-tab-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabs → or-tabs}/OrTabs.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabs → or-tabs}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabsV3 → or-tabs-v3}/OrTabs.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabsV3 → or-tabs-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabsV3 → or-tabs-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabsV3 → or-tabs-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTabsV3 → or-tabs-v3}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTag → or-tag}/OrTag.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTag → or-tag}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTagV3 → or-tag-v3}/OrTag.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTagV3 → or-tag-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTagV3 → or-tag-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTagV3 → or-tag-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTeleport → or-teleport}/OrTeleport.vue2.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTeleport → or-teleport}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTeleport → or-teleport}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTeleportV3 → or-teleport-v3}/OrTeleport.vue2.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTeleportV3 → or-teleport-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextV3 → or-text-v3}/OrText.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextV3 → or-text-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextV3 → or-text-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextarea → or-textarea}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextarea → or-textarea}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextareaV3 → or-textarea-v3}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextareaV3 → or-textarea-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextareaV3 → or-textarea-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextareaV3 → or-textarea-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextbox → or-textbox}/OrTextbox.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextbox → or-textbox}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTextbox → or-textbox}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast}/OrToast.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast}/Timer.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast}/composable/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast}/composable/useQueue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast}/composable/useToast.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast}/composable/useToastEventBus.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast}/constants.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast-v3}/OrToast.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast-v3}/Timer.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast-v3}/composable/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast-v3}/composable/useQueue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast-v3}/composable/useToast.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToast → or-toast-v3}/composable/useToastEventBus.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrToastV3 → or-toast-v3}/types.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTooltip → or-tooltip}/OrTooltip.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTooltipContent → or-tooltip}/OrTooltipContent.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTooltipV3 → or-tooltip-v3}/OrTooltip.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTooltipV3 → or-tooltip-v3}/index.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTooltipV3 → or-tooltip-v3}/props.d.ts +0 -0
- /package/dist/bundled/v2/components/{OrTooltipV3 → or-tooltip-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrAvatar → or-avatar}/OrAvatar.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrAvatar → or-avatar}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrAvatar → or-avatar}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrAvatarV3 → or-avatar-v3}/OrAvatar.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrAvatarV3 → or-avatar-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrAvatarV3 → or-avatar-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrAvatarV3 → or-avatar-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrBottomSheetV3 → or-bottom-sheet-v3}/OrBottomSheet.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrBottomSheetV3 → or-bottom-sheet-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrBottomSheetV3 → or-bottom-sheet-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButton → or-button}/OrButton.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButton → or-button}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButton → or-button}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButtonV2 → or-button-v2}/OrButton.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButtonV2 → or-button-v2}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButtonV3 → or-button-v3}/OrButton.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButtonV3 → or-button-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButtonV3 → or-button-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrButtonV3 → or-button-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCard → or-card}/OrCard.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCard → or-card}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollection → or-card-collection}/OrCardCollection.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollection → or-card-collection}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollection → or-card-collection}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollection → or-card-collection}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollectionV3 → or-card-collection-v3}/OrCardCollection.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollectionV3 → or-card-collection-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollectionV3 → or-card-collection-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollectionV3 → or-card-collection-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardCollectionV3 → or-card-collection-v3}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardV3 → or-card-v3}/OrCard.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardV3 → or-card-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCardV3 → or-card-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCarousel → or-carousel}/OrCarousel.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCarouselItem → or-carousel}/OrCarouselItem.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCarousel → or-carousel}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCheckbox → or-checkbox}/OrCheckbox.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCheckbox → or-checkbox}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCheckboxV3 → or-checkbox-v3}/OrCheckbox.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCheckboxV3 → or-checkbox-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCheckboxV3 → or-checkbox-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrChip → or-chips}/OrChip.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrChips → or-chips}/OrChips.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-chips/partials → bundled/v3/components/or-chips}/OrChipsInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrChips → or-chips}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCode → or-code}/OrCode.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCode → or-code}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCode → or-code}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCode → or-code}/lang.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCode → or-code}/theme.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCollapse → or-collapse}/OrCollapse.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCollapse → or-collapse}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrColorPicker → or-color-picker}/OrColorPicker.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrColorPicker → or-color-picker}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrColorPicker → or-color-picker}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrColorPicker → or-color-picker}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrColorPicker → or-color-picker}/utils/defultPalette.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCombinedInputV3 → or-combined-input-v3}/OrCombinedInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCombinedInputV3 → or-combined-input-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCombinedInputV3 → or-combined-input-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrCombinedInputV3 → or-combined-input-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrConfirm → or-confirm}/OrConfirm.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrConfirm → or-confirm}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrConfirmV3 → or-confirm-v3}/OrConfirm.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrConfirmV3 → or-confirm-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrConfirmV3 → or-confirm-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrConfirmV3 → or-confirm-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrDateTimePicker → or-date-time-picker}/OrDateTimePicker.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrDateTimePicker → or-date-time-picker}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrDateTimePicker → or-date-time-picker}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrEmptyStateV3 → or-empty-state-v3}/OrEmptyState.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrEmptyStateV3 → or-empty-state-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrEmptyStateV3 → or-empty-state-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrEmptyStateV3 → or-empty-state-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrEmptyStateV3 → or-empty-state-v3}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrError → or-error}/OrError.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrError → or-error}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrErrorTagV3 → or-error-tag-v3}/OrErrorTag.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrErrorTagV3 → or-error-tag-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrErrorTagV3 → or-error-tag-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrErrorV3 → or-error-v3}/OrError.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrErrorV3 → or-error-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrErrorV3 → or-error-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/OrExpansionPanel.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrExpansionPanelV3 → or-expansion-panel-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrFabV3 → or-fab-v3}/OrFab.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrFabV3 → or-fab-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrFabV3 → or-fab-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrFabV3 → or-fab-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrFloating → or-floating}/OrFloating.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrFloating → or-floating}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrFloating → or-floating}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrHint → or-hint}/OrHint.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrHint → or-hint}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrHintV3 → or-hint-v3}/OrHint.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrHintV3 → or-hint-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrHintV3 → or-hint-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIcon → or-icon}/OrIcon.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIcon → or-icon}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIcon → or-icon}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconButtonV3 → or-icon-button-v3}/OrIconButton.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconButtonV3 → or-icon-button-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconButtonV3 → or-icon-button-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconButtonV3 → or-icon-button-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconV3 → or-icon-v3}/OrIcon.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconV3 → or-icon-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconV3 → or-icon-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrIconV3 → or-icon-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/OrInlineInputBox.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputBoxV3 → or-inline-input-box-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputV3 → or-inline-input-v3}/OrInlineInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputV3 → or-inline-input-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputV3 → or-inline-input-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineInputV3 → or-inline-input-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineTextEdit → or-inline-text-edit}/OrInlineTextEdit.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineTextEdit → or-inline-text-edit}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineTextEdit → or-inline-text-edit}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineTextareaV3 → or-inline-textarea-v3}/OrInlineTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineTextareaV3 → or-inline-textarea-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInlineTextareaV3 → or-inline-textarea-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInput → or-input}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInput → or-input}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputBoxV3 → or-input-box-v3}/OrInputBox.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputBoxV3 → or-input-box-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputBoxV3 → or-input-box-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputBoxV3 → or-input-box-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputV3 → or-input-v3}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputV3 → or-input-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputV3 → or-input-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrInputV3 → or-input-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLabel → or-label}/OrLabel.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLabel → or-label}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLabelV3 → or-label-v3}/OrLabel.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLabelV3 → or-label-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLabelV3 → or-label-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLabelV3 → or-label-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLinkV3 → or-link-v3}/OrLink.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLinkV3 → or-link-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLinkV3 → or-link-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLinkV3 → or-link-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrList → or-list}/OrList.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrList → or-list}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrListOfInputs → or-list-of-inputs}/OrListOfInputs.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrListOfInputs → or-list-of-inputs}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoader → or-loader}/OrLoader.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoader → or-loader}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoader → or-loader}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoader → or-loader}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoaderV3 → or-loader-v3}/OrLoader.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoaderV3 → or-loader-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoaderV3 → or-loader-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrLoaderV3 → or-loader-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrMenuItemV3 → or-menu-item-v3}/OrMenuItem.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrMenuItemV3 → or-menu-item-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrMenuItemV3 → or-menu-item-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrMenuV3 → or-menu-v3}/OrMenu.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrMenuV3 → or-menu-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrMenuV3 → or-menu-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrMenuV3 → or-menu-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrModal → or-modal}/OrModal.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrModal → or-modal}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrModal → or-modal}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrModalV3 → or-modal-v3}/OrModal.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrModalV3 → or-modal-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrModalV3 → or-modal-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrModalV3 → or-modal-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNotification → or-notification}/OrNotification.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNotification → or-notification}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNotification → or-notification}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNotificationV3 → or-notification-v3}/OrNotification.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNotificationV3 → or-notification-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNotificationV3 → or-notification-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNotificationV3 → or-notification-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNumberInput → or-number-input}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrNumberInput → or-number-input}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverflowMenu → or-overflow-menu}/OrOverflowMenu.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-overflow-menu/partials → bundled/v3/components/or-overflow-menu}/OrOverflowMenuItem.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverflowMenu → or-overflow-menu}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverflowMenu → or-overflow-menu}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverlay → or-overlay}/OrOverlay.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverlay → or-overlay}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverlayV3 → or-overlay-v3}/OrOverlay.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverlayV3 → or-overlay-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrOverlayV3 → or-overlay-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPaginationV3 → or-pagination-v3}/OrPagination.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPaginationV3 → or-pagination-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPaginationV3 → or-pagination-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPaginationV3 → or-pagination-v3}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPassword → or-password}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPassword → or-password}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPopoverV3 → or-popover-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPopoverV3 → or-popover-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrPopoverV3 → or-popover-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrProgress → or-progress}/OrProgress.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrProgress → or-progress}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrProgress → or-progress}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrProgressV3 → or-progress-v3}/OrProgress.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrProgressV3 → or-progress-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrProgressV3 → or-progress-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrProgressV3 → or-progress-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrRadio → or-radio}/OrRadio.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrRadio → or-radio}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrRadioGroup → or-radio-group}/OrRadioGroup.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrRadioGroup → or-radio-group}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrRadioV3 → or-radio-v3}/OrRadio.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrRadioV3 → or-radio-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrRadioV3 → or-radio-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSearch → or-search}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSearch → or-search}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSearchV3 → or-search-v3}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSearchV3 → or-search-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSearchV3 → or-search-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSegmentedControlV3 → or-segmented-control-v3}/OrSegmentedControl.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSegmentedControlV3 → or-segmented-control-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSegmentedControlV3 → or-segmented-control-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSegmentedControlV3 → or-segmented-control-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSegmentedControlV3 → or-segmented-control-v3}/types.d.ts +0 -0
- /package/dist/{esm/v3/components/or-select/partials → bundled/v3/components/or-select}/OrSelectContentEmpty.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-select/partials → bundled/v3/components/or-select}/OrSelectSearchOptions.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelect → or-select}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelect → or-select}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelect → or-select}/stories.helpers.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelect → or-select}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelectV3 → or-select-v3}/OrSelect.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelectV3 → or-select-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelectV3 → or-select-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelectV3 → or-select-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSelectV3 → or-select-v3}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSidebar → or-sidebar}/OrSidebar.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSidebar → or-sidebar}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSidebar → or-sidebar}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSidebarV3 → or-sidebar-v3}/OrSidebar.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSidebarV3 → or-sidebar-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSidebarV3 → or-sidebar-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSidebarV3 → or-sidebar-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSkeletonCircle → or-skeleton}/OrSkeletonCircle.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSkeletonRect → or-skeleton}/OrSkeletonRect.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSkeleton → or-skeleton}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSkeletonCircleV3 → or-skeleton-v3}/OrSkeletonCircle.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSkeletonRectV3 → or-skeleton-v3}/OrSkeletonRect.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSkeletonTextV3 → or-skeleton-v3}/OrSkeletonText.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSkeletonV3 → or-skeleton-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSlider → or-slider}/OrSlider.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSlider → or-slider}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSortHeaderV3 → or-sort-header-v3}/OrSortHeader.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSortHeaderV3 → or-sort-header-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSortHeaderV3 → or-sort-header-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSortHeaderV3 → or-sort-header-v3}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrStepper → or-stepper}/OrStepper.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-stepper/partials → bundled/v3/components/or-stepper}/OrStepperButtonOptions.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-stepper/partials → bundled/v3/components/or-stepper}/OrStepperOptionHorizontal.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-stepper/partials → bundled/v3/components/or-stepper}/OrStepperOptionVertical.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-stepper/partials → bundled/v3/components/or-stepper}/OrStepperTitle.vue.d.ts +0 -0
- /package/dist/{esm/v3/components/or-stepper/partials → bundled/v3/components/or-stepper}/StatusIcon.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrStepper → or-stepper}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSwitch → or-switch}/OrSwitch.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSwitch → or-switch}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSwitchV3 → or-switch-v3}/OrSwitch.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSwitchV3 → or-switch-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrSwitchV3 → or-switch-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTab → or-tab}/OrTab.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTab → or-tab}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabHeaderItem → or-tab-header-item}/OrTabHeaderItem.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabHeaderItem → or-tab-header-item}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabV3 → or-tab-v3}/OrTab.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabV3 → or-tab-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabV3 → or-tab-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabs → or-tabs}/OrTabs.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabs → or-tabs}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabsV3 → or-tabs-v3}/OrTabs.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabsV3 → or-tabs-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabsV3 → or-tabs-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabsV3 → or-tabs-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTabsV3 → or-tabs-v3}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTag → or-tag}/OrTag.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTag → or-tag}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTagV3 → or-tag-v3}/OrTag.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTagV3 → or-tag-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTagV3 → or-tag-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTagV3 → or-tag-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTeleport → or-teleport}/OrTeleport.vue3.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTeleport → or-teleport}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTeleport → or-teleport}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTeleportV3 → or-teleport-v3}/OrTeleport.vue3.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTeleportV3 → or-teleport-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextV3 → or-text-v3}/OrText.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextV3 → or-text-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextV3 → or-text-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextarea → or-textarea}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextarea → or-textarea}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextareaV3 → or-textarea-v3}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextareaV3 → or-textarea-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextareaV3 → or-textarea-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextareaV3 → or-textarea-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextbox → or-textbox}/OrTextbox.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextbox → or-textbox}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTextbox → or-textbox}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast}/OrToast.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast}/Timer.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast}/composable/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast}/composable/useQueue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast}/composable/useToast.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast}/composable/useToastEventBus.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast}/constants.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast-v3}/OrToast.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast-v3}/Timer.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast-v3}/composable/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast-v3}/composable/useQueue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast-v3}/composable/useToast.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToast → or-toast-v3}/composable/useToastEventBus.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast-v3}/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrToastV3 → or-toast-v3}/types.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTooltip → or-tooltip}/OrTooltip.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTooltipContent → or-tooltip}/OrTooltipContent.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTooltipV3 → or-tooltip-v3}/OrTooltip.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTooltipV3 → or-tooltip-v3}/index.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTooltipV3 → or-tooltip-v3}/props.d.ts +0 -0
- /package/dist/bundled/v3/components/{OrTooltipV3 → or-tooltip-v3}/styles.d.ts +0 -0
- /package/dist/esm/v2/components/or-carousel/{or-carousel-item/OrCarouselItem.vue.d.ts → OrCarouselItem.vue.d.ts} +0 -0
- /package/dist/esm/v2/components/or-chips/{or-chip/OrChip.vue.d.ts → OrChip.vue.d.ts} +0 -0
- /package/dist/esm/v2/components/or-skeleton/{or-skeleton-circle/OrSkeletonCircle.vue.d.ts → OrSkeletonCircle.vue.d.ts} +0 -0
- /package/dist/esm/v2/components/or-skeleton/{or-skeleton-rect/OrSkeletonRect.vue.d.ts → OrSkeletonRect.vue.d.ts} +0 -0
- /package/dist/esm/v2/components/or-skeleton-v3/{or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts → OrSkeletonCircle.vue.d.ts} +0 -0
- /package/dist/esm/v2/components/or-skeleton-v3/{or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts → OrSkeletonRect.vue.d.ts} +0 -0
- /package/dist/esm/v2/components/or-skeleton-v3/{or-skeleton-text-v3/OrSkeletonText.vue.d.ts → OrSkeletonText.vue.d.ts} +0 -0
- /package/dist/esm/v2/components/or-tooltip/{or-tooltip-content/OrTooltipContent.vue.d.ts → OrTooltipContent.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-carousel/{or-carousel-item/OrCarouselItem.vue.d.ts → OrCarouselItem.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-chips/{or-chip/OrChip.vue.d.ts → OrChip.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-skeleton/{or-skeleton-circle/OrSkeletonCircle.vue.d.ts → OrSkeletonCircle.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-skeleton/{or-skeleton-rect/OrSkeletonRect.vue.d.ts → OrSkeletonRect.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-skeleton-v3/{or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts → OrSkeletonCircle.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-skeleton-v3/{or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts → OrSkeletonRect.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-skeleton-v3/{or-skeleton-text-v3/OrSkeletonText.vue.d.ts → OrSkeletonText.vue.d.ts} +0 -0
- /package/dist/esm/v3/components/or-tooltip/{or-tooltip-content/OrTooltipContent.vue.d.ts → OrTooltipContent.vue.d.ts} +0 -0
- /package/src/components/or-carousel/{or-carousel-item/OrCarouselItem.vue → OrCarouselItem.vue} +0 -0
- /package/src/components/or-chips/{or-chip/OrChip.stories.ts → OrChip.stories.ts} +0 -0
- /package/src/components/or-skeleton-v3/{or-skeleton-circle-v3/OrSkeletonCircle.docs.mdx → OrSkeletonCircle.docs.mdx} +0 -0
- /package/src/components/or-skeleton-v3/{or-skeleton-circle-v3/OrSkeletonCircle.stories3.ts → OrSkeletonCircle.stories3.ts} +0 -0
- /package/src/components/or-skeleton-v3/{or-skeleton-rect-v3/OrSkeletonRect.docs.mdx → OrSkeletonRect.docs.mdx} +0 -0
- /package/src/components/or-skeleton-v3/{or-skeleton-rect-v3/OrSkeletonRect.stories3.ts → OrSkeletonRect.stories3.ts} +0 -0
- /package/src/components/or-skeleton-v3/{or-skeleton-text-v3/OrSkeletonText.docs.mdx → OrSkeletonText.docs.mdx} +0 -0
- /package/src/components/or-skeleton-v3/{or-skeleton-text-v3/OrSkeletonText.stories3.ts → OrSkeletonText.stories3.ts} +0 -0
- /package/src/components/or-stepper/{partials/OrStepperOptionHorizontal.vue → OrStepperOptionHorizontal.vue} +0 -0
- /package/src/components/or-stepper/{partials/OrStepperOptionVertical.vue → OrStepperOptionVertical.vue} +0 -0
- /package/src/components/or-stepper/{partials/OrStepperTitle.vue → OrStepperTitle.vue} +0 -0
- /package/src/components/or-toast/{or-toast-container/OrToastContainer.stories.mdx → OrToastContainer.stories.mdx} +0 -0
- /package/src/components/or-toast-v3/{or-toast-container-v3/OrToastContainer.docs.mdx → OrToastContainer.docs.mdx} +0 -0
- /package/src/components/or-tooltip/{or-tooltip-content/OrTooltipContent.vue → OrTooltipContent.vue} +0 -0
|
@@ -0,0 +1,4420 @@
|
|
|
1
|
+
import { E as EditorView, a as EditorSelection, P as Prec, k as keymap, b as EditorState } from './index-606dc30d.js';
|
|
2
|
+
import { C as ContextTracker, E as ExternalTokenizer, s as styleTags, L as LRParser, t as tags$1, p as parseMixed, a as LanguageSupport, b as syntaxTree, c as LRLanguage, i as indentNodeProp, d as continuedIndent, f as foldNodeProp, e as foldInside, j as javascriptLanguage, g as javascript, N as NodeType, h as NodeProp, k as NodeSet, P as Parser, T as Tag, l as Tree, m as Language, n as defineLanguageFacet, o as languageDataProp, q as LanguageDescription, r as ParseContext, H as HighlightStyle, u as syntaxHighlighting, v as basicSetup, w as indentWithTab } from './index-dbb62f5c.js';
|
|
3
|
+
import { useElementHover } from '@vueuse/core';
|
|
4
|
+
import './index-fa6eb4ca.js';
|
|
5
|
+
import { O as OrTeleport } from './OrTeleport.vue2-90147f16.js';
|
|
6
|
+
import { O as OrIconButton } from './OrIconButton-e28d129f.js';
|
|
7
|
+
import { O as OrModal } from './OrModal-d1cb603e.js';
|
|
8
|
+
import { O as OrError } from './OrError-29f0ce95.js';
|
|
9
|
+
import { O as OrHint } from './OrHint-664117aa.js';
|
|
10
|
+
import { O as OrLabel } from './OrLabel-f19ccb5f.js';
|
|
11
|
+
import { defineComponent, ref } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
12
|
+
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
13
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
14
|
+
|
|
15
|
+
var OrCodeLanguages;
|
|
16
|
+
(function (OrCodeLanguages) {
|
|
17
|
+
OrCodeLanguages["JS"] = "javascript";
|
|
18
|
+
OrCodeLanguages["TS"] = "typescript";
|
|
19
|
+
OrCodeLanguages["CSS"] = "css";
|
|
20
|
+
OrCodeLanguages["HTML"] = "html";
|
|
21
|
+
OrCodeLanguages["JSON"] = "json";
|
|
22
|
+
OrCodeLanguages["MD"] = "markdown";
|
|
23
|
+
})(OrCodeLanguages || (OrCodeLanguages = {}));
|
|
24
|
+
|
|
25
|
+
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
26
|
+
const scriptText = 54,
|
|
27
|
+
StartCloseScriptTag = 1,
|
|
28
|
+
styleText = 55,
|
|
29
|
+
StartCloseStyleTag = 2,
|
|
30
|
+
textareaText = 56,
|
|
31
|
+
StartCloseTextareaTag = 3,
|
|
32
|
+
StartTag = 4,
|
|
33
|
+
StartScriptTag = 5,
|
|
34
|
+
StartStyleTag = 6,
|
|
35
|
+
StartTextareaTag = 7,
|
|
36
|
+
StartSelfClosingTag = 8,
|
|
37
|
+
StartCloseTag = 9,
|
|
38
|
+
NoMatchStartCloseTag = 10,
|
|
39
|
+
MismatchedStartCloseTag = 11,
|
|
40
|
+
missingCloseTag = 57,
|
|
41
|
+
IncompleteCloseTag = 12,
|
|
42
|
+
commentContent$1 = 58,
|
|
43
|
+
Element$1 = 18,
|
|
44
|
+
TagName = 20,
|
|
45
|
+
Attribute = 21,
|
|
46
|
+
AttributeName = 22,
|
|
47
|
+
AttributeValue = 24,
|
|
48
|
+
UnquotedAttributeValue = 25,
|
|
49
|
+
ScriptText = 27,
|
|
50
|
+
StyleText = 30,
|
|
51
|
+
TextareaText = 33,
|
|
52
|
+
OpenTag = 35,
|
|
53
|
+
CloseTag = 36,
|
|
54
|
+
Dialect_noMatch = 0;
|
|
55
|
+
|
|
56
|
+
/* Hand-written tokenizers for HTML. */
|
|
57
|
+
|
|
58
|
+
const selfClosers = {
|
|
59
|
+
area: true,
|
|
60
|
+
base: true,
|
|
61
|
+
br: true,
|
|
62
|
+
col: true,
|
|
63
|
+
command: true,
|
|
64
|
+
embed: true,
|
|
65
|
+
frame: true,
|
|
66
|
+
hr: true,
|
|
67
|
+
img: true,
|
|
68
|
+
input: true,
|
|
69
|
+
keygen: true,
|
|
70
|
+
link: true,
|
|
71
|
+
meta: true,
|
|
72
|
+
param: true,
|
|
73
|
+
source: true,
|
|
74
|
+
track: true,
|
|
75
|
+
wbr: true,
|
|
76
|
+
menuitem: true
|
|
77
|
+
};
|
|
78
|
+
const implicitlyClosed = {
|
|
79
|
+
dd: true,
|
|
80
|
+
li: true,
|
|
81
|
+
optgroup: true,
|
|
82
|
+
option: true,
|
|
83
|
+
p: true,
|
|
84
|
+
rp: true,
|
|
85
|
+
rt: true,
|
|
86
|
+
tbody: true,
|
|
87
|
+
td: true,
|
|
88
|
+
tfoot: true,
|
|
89
|
+
th: true,
|
|
90
|
+
tr: true
|
|
91
|
+
};
|
|
92
|
+
const closeOnOpen = {
|
|
93
|
+
dd: {
|
|
94
|
+
dd: true,
|
|
95
|
+
dt: true
|
|
96
|
+
},
|
|
97
|
+
dt: {
|
|
98
|
+
dd: true,
|
|
99
|
+
dt: true
|
|
100
|
+
},
|
|
101
|
+
li: {
|
|
102
|
+
li: true
|
|
103
|
+
},
|
|
104
|
+
option: {
|
|
105
|
+
option: true,
|
|
106
|
+
optgroup: true
|
|
107
|
+
},
|
|
108
|
+
optgroup: {
|
|
109
|
+
optgroup: true
|
|
110
|
+
},
|
|
111
|
+
p: {
|
|
112
|
+
address: true,
|
|
113
|
+
article: true,
|
|
114
|
+
aside: true,
|
|
115
|
+
blockquote: true,
|
|
116
|
+
dir: true,
|
|
117
|
+
div: true,
|
|
118
|
+
dl: true,
|
|
119
|
+
fieldset: true,
|
|
120
|
+
footer: true,
|
|
121
|
+
form: true,
|
|
122
|
+
h1: true,
|
|
123
|
+
h2: true,
|
|
124
|
+
h3: true,
|
|
125
|
+
h4: true,
|
|
126
|
+
h5: true,
|
|
127
|
+
h6: true,
|
|
128
|
+
header: true,
|
|
129
|
+
hgroup: true,
|
|
130
|
+
hr: true,
|
|
131
|
+
menu: true,
|
|
132
|
+
nav: true,
|
|
133
|
+
ol: true,
|
|
134
|
+
p: true,
|
|
135
|
+
pre: true,
|
|
136
|
+
section: true,
|
|
137
|
+
table: true,
|
|
138
|
+
ul: true
|
|
139
|
+
},
|
|
140
|
+
rp: {
|
|
141
|
+
rp: true,
|
|
142
|
+
rt: true
|
|
143
|
+
},
|
|
144
|
+
rt: {
|
|
145
|
+
rp: true,
|
|
146
|
+
rt: true
|
|
147
|
+
},
|
|
148
|
+
tbody: {
|
|
149
|
+
tbody: true,
|
|
150
|
+
tfoot: true
|
|
151
|
+
},
|
|
152
|
+
td: {
|
|
153
|
+
td: true,
|
|
154
|
+
th: true
|
|
155
|
+
},
|
|
156
|
+
tfoot: {
|
|
157
|
+
tbody: true
|
|
158
|
+
},
|
|
159
|
+
th: {
|
|
160
|
+
td: true,
|
|
161
|
+
th: true
|
|
162
|
+
},
|
|
163
|
+
thead: {
|
|
164
|
+
tbody: true,
|
|
165
|
+
tfoot: true
|
|
166
|
+
},
|
|
167
|
+
tr: {
|
|
168
|
+
tr: true
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
function nameChar(ch) {
|
|
172
|
+
return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161;
|
|
173
|
+
}
|
|
174
|
+
function isSpace(ch) {
|
|
175
|
+
return ch == 9 || ch == 10 || ch == 13 || ch == 32;
|
|
176
|
+
}
|
|
177
|
+
let cachedName = null,
|
|
178
|
+
cachedInput = null,
|
|
179
|
+
cachedPos = 0;
|
|
180
|
+
function tagNameAfter(input, offset) {
|
|
181
|
+
let pos = input.pos + offset;
|
|
182
|
+
if (cachedPos == pos && cachedInput == input) return cachedName;
|
|
183
|
+
let next = input.peek(offset);
|
|
184
|
+
while (isSpace(next)) next = input.peek(++offset);
|
|
185
|
+
let name = "";
|
|
186
|
+
for (;;) {
|
|
187
|
+
if (!nameChar(next)) break;
|
|
188
|
+
name += String.fromCharCode(next);
|
|
189
|
+
next = input.peek(++offset);
|
|
190
|
+
}
|
|
191
|
+
// Undefined to signal there's a <? or <!, null for just missing
|
|
192
|
+
cachedInput = input;
|
|
193
|
+
cachedPos = pos;
|
|
194
|
+
return cachedName = name ? name.toLowerCase() : next == question || next == bang ? undefined : null;
|
|
195
|
+
}
|
|
196
|
+
const lessThan = 60,
|
|
197
|
+
greaterThan = 62,
|
|
198
|
+
slash = 47,
|
|
199
|
+
question = 63,
|
|
200
|
+
bang = 33,
|
|
201
|
+
dash$1 = 45;
|
|
202
|
+
function ElementContext(name, parent) {
|
|
203
|
+
this.name = name;
|
|
204
|
+
this.parent = parent;
|
|
205
|
+
this.hash = parent ? parent.hash : 0;
|
|
206
|
+
for (let i = 0; i < name.length; i++) this.hash += (this.hash << 4) + name.charCodeAt(i) + (name.charCodeAt(i) << 8);
|
|
207
|
+
}
|
|
208
|
+
const startTagTerms = [StartTag, StartSelfClosingTag, StartScriptTag, StartStyleTag, StartTextareaTag];
|
|
209
|
+
const elementContext = new ContextTracker({
|
|
210
|
+
start: null,
|
|
211
|
+
shift(context, term, stack, input) {
|
|
212
|
+
return startTagTerms.indexOf(term) > -1 ? new ElementContext(tagNameAfter(input, 1) || "", context) : context;
|
|
213
|
+
},
|
|
214
|
+
reduce(context, term) {
|
|
215
|
+
return term == Element$1 && context ? context.parent : context;
|
|
216
|
+
},
|
|
217
|
+
reuse(context, node, stack, input) {
|
|
218
|
+
let type = node.type.id;
|
|
219
|
+
return type == StartTag || type == OpenTag ? new ElementContext(tagNameAfter(input, 1) || "", context) : context;
|
|
220
|
+
},
|
|
221
|
+
hash(context) {
|
|
222
|
+
return context ? context.hash : 0;
|
|
223
|
+
},
|
|
224
|
+
strict: false
|
|
225
|
+
});
|
|
226
|
+
const tagStart = new ExternalTokenizer((input, stack) => {
|
|
227
|
+
if (input.next != lessThan) {
|
|
228
|
+
// End of file, close any open tags
|
|
229
|
+
if (input.next < 0 && stack.context) input.acceptToken(missingCloseTag);
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
input.advance();
|
|
233
|
+
let close = input.next == slash;
|
|
234
|
+
if (close) input.advance();
|
|
235
|
+
let name = tagNameAfter(input, 0);
|
|
236
|
+
if (name === undefined) return;
|
|
237
|
+
if (!name) return input.acceptToken(close ? IncompleteCloseTag : StartTag);
|
|
238
|
+
let parent = stack.context ? stack.context.name : null;
|
|
239
|
+
if (close) {
|
|
240
|
+
if (name == parent) return input.acceptToken(StartCloseTag);
|
|
241
|
+
if (parent && implicitlyClosed[parent]) return input.acceptToken(missingCloseTag, -2);
|
|
242
|
+
if (stack.dialectEnabled(Dialect_noMatch)) return input.acceptToken(NoMatchStartCloseTag);
|
|
243
|
+
for (let cx = stack.context; cx; cx = cx.parent) if (cx.name == name) return;
|
|
244
|
+
input.acceptToken(MismatchedStartCloseTag);
|
|
245
|
+
} else {
|
|
246
|
+
if (name == "script") return input.acceptToken(StartScriptTag);
|
|
247
|
+
if (name == "style") return input.acceptToken(StartStyleTag);
|
|
248
|
+
if (name == "textarea") return input.acceptToken(StartTextareaTag);
|
|
249
|
+
if (selfClosers.hasOwnProperty(name)) return input.acceptToken(StartSelfClosingTag);
|
|
250
|
+
if (parent && closeOnOpen[parent] && closeOnOpen[parent][name]) input.acceptToken(missingCloseTag, -1);else input.acceptToken(StartTag);
|
|
251
|
+
}
|
|
252
|
+
}, {
|
|
253
|
+
contextual: true
|
|
254
|
+
});
|
|
255
|
+
const commentContent = new ExternalTokenizer(input => {
|
|
256
|
+
for (let dashes = 0, i = 0;; i++) {
|
|
257
|
+
if (input.next < 0) {
|
|
258
|
+
if (i) input.acceptToken(commentContent$1);
|
|
259
|
+
break;
|
|
260
|
+
}
|
|
261
|
+
if (input.next == dash$1) {
|
|
262
|
+
dashes++;
|
|
263
|
+
} else if (input.next == greaterThan && dashes >= 2) {
|
|
264
|
+
if (i > 3) input.acceptToken(commentContent$1, -2);
|
|
265
|
+
break;
|
|
266
|
+
} else {
|
|
267
|
+
dashes = 0;
|
|
268
|
+
}
|
|
269
|
+
input.advance();
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
function contentTokenizer(tag, textToken, endToken) {
|
|
273
|
+
let lastState = 2 + tag.length;
|
|
274
|
+
return new ExternalTokenizer(input => {
|
|
275
|
+
// state means:
|
|
276
|
+
// - 0 nothing matched
|
|
277
|
+
// - 1 '<' matched
|
|
278
|
+
// - 2 '</' + possibly whitespace matched
|
|
279
|
+
// - 3-(1+tag.length) part of the tag matched
|
|
280
|
+
// - lastState whole tag + possibly whitespace matched
|
|
281
|
+
for (let state = 0, matchedLen = 0, i = 0;; i++) {
|
|
282
|
+
if (input.next < 0) {
|
|
283
|
+
if (i) input.acceptToken(textToken);
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
if (state == 0 && input.next == lessThan || state == 1 && input.next == slash || state >= 2 && state < lastState && input.next == tag.charCodeAt(state - 2)) {
|
|
287
|
+
state++;
|
|
288
|
+
matchedLen++;
|
|
289
|
+
} else if ((state == 2 || state == lastState) && isSpace(input.next)) {
|
|
290
|
+
matchedLen++;
|
|
291
|
+
} else if (state == lastState && input.next == greaterThan) {
|
|
292
|
+
if (i > matchedLen) input.acceptToken(textToken, -matchedLen);else input.acceptToken(endToken, -(matchedLen - 2));
|
|
293
|
+
break;
|
|
294
|
+
} else if ((input.next == 10 /* '\n' */ || input.next == 13 /* '\r' */) && i) {
|
|
295
|
+
input.acceptToken(textToken, 1);
|
|
296
|
+
break;
|
|
297
|
+
} else {
|
|
298
|
+
state = matchedLen = 0;
|
|
299
|
+
}
|
|
300
|
+
input.advance();
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
const scriptTokens = contentTokenizer("script", scriptText, StartCloseScriptTag);
|
|
305
|
+
const styleTokens = contentTokenizer("style", styleText, StartCloseStyleTag);
|
|
306
|
+
const textareaTokens = contentTokenizer("textarea", textareaText, StartCloseTextareaTag);
|
|
307
|
+
const htmlHighlighting = styleTags({
|
|
308
|
+
"Text RawText": tags$1.content,
|
|
309
|
+
"StartTag StartCloseTag SelfClosingEndTag EndTag": tags$1.angleBracket,
|
|
310
|
+
TagName: tags$1.tagName,
|
|
311
|
+
"MismatchedCloseTag/TagName": [tags$1.tagName, tags$1.invalid],
|
|
312
|
+
AttributeName: tags$1.attributeName,
|
|
313
|
+
"AttributeValue UnquotedAttributeValue": tags$1.attributeValue,
|
|
314
|
+
Is: tags$1.definitionOperator,
|
|
315
|
+
"EntityReference CharacterReference": tags$1.character,
|
|
316
|
+
Comment: tags$1.blockComment,
|
|
317
|
+
ProcessingInst: tags$1.processingInstruction,
|
|
318
|
+
DoctypeDecl: tags$1.documentMeta
|
|
319
|
+
});
|
|
320
|
+
|
|
321
|
+
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
322
|
+
const parser$3 = LRParser.deserialize({
|
|
323
|
+
version: 14,
|
|
324
|
+
states: ",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7XOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$qOOOW7+$s7+$sO)rQ!bO,59dO)wQ!bO,59gO)|Q!bO,59jOOOW1G/W1G/WO*RO,UO'#CtO*dO7[O'#CtOOQO1G.w1G.wOOOW1G/O1G/OOOOW1G/R1G/ROOOW1G/U1G/UOOOO'#D['#D[O*uO,UO,59`OOQO,59`,59`OOOO'#D]'#D]O+WO7[O,59`OOOO-E7Y-E7YOOQO1G.z1G.zOOOO-E7Z-E7Z",
|
|
325
|
+
stateData: "+u~O!^OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ox^O{_O!dZO~OdaO~OdbO~OdcO~OddO~OdeO~O!WfOPkP!ZkP~O!XiOQnP!ZnP~O!YlORqP!ZqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SOv!TO~OfyOj!TO~O!WfOPkX!ZkX~OP!WO!Z!XO~O!XiOQnX!ZnX~OQ!ZO!Z!XO~O!YlORqX!ZqX~OR!]O!Z!XO~O!Z!XO~P#dOd!_O~O![sO!e!aO~Oj!bO~Oj!cO~Og!dOfeXjeXveX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iOv!jO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!`!oO!b!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!`!wO!a!uO~O_!xO`!xOa!xO!b!wO!c!xO~O_!uO`!uOa!uO!`!{O!a!uO~O_!xO`!xOa!xO!b!{O!c!xO~Ov~vj`!dx{_a_~",
|
|
326
|
+
goto: "%p!`PPPPPPPPPPPPPPPPPP!a!gP!mPP!yPP!|#P#S#Y#]#`#f#i#l#r#xP!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",
|
|
327
|
+
nodeNames: "⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",
|
|
328
|
+
maxTerm: 67,
|
|
329
|
+
context: elementContext,
|
|
330
|
+
nodeProps: [["closedBy", -10, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, "EndTag", 4, "EndTag SelfClosingEndTag", -4, 19, 29, 32, 35, "CloseTag"], ["group", -9, 12, 15, 16, 17, 18, 39, 40, 41, 42, "Entity", 14, "Entity TextContent", -3, 27, 30, 33, "TextContent Entity"], ["openedBy", 26, "StartTag StartCloseTag", -4, 28, 31, 34, 36, "OpenTag", 38, "StartTag"]],
|
|
331
|
+
propSources: [htmlHighlighting],
|
|
332
|
+
skippedNodes: [0],
|
|
333
|
+
repeatNodeCount: 9,
|
|
334
|
+
tokenData: "#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT^POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYiWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`^P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ecfSiWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0uXfSqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0pS1eP;=`<%l0p[1kP;=`<%l/^!U1wbfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!U3SP;=`<%l1n!V3bcfS^P!a`!cpOq&Xqr3Vrs&}sv3Vvw0pwx(tx!P3V!P!Q&X!Q!^3V!^!_1n!_!a&X!a#s3V#s$f&X$f;'S3V;'S;=`4m<%l?Ah3V?Ah?BY&X?BY?Mn3V?MnO&X!V4pP;=`<%l3V!_4vP;=`<%l-_!Z5SV!`h^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_5rjfSiWa!ROX7dXZ8qZ[7d[^8q^p7dqr:crs8qst@Ttw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^/^!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!Z7ibiWOX7dXZ8qZ[7d[^8q^p7dqr7drs8qst+Ptw7dwx8qx!]7d!]!^9f!^!a8q!a#S7d#S#T8q#T;'S7d;'S;=`:]<%lO7d!R8tVOp8qqs8qt!]8q!]!^9Z!^;'S8q;'S;=`9`<%lO8q!R9`O_!R!R9cP;=`<%l8q!Z9mYiW_!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjfSiWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_<ecfSiW_!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V=udfSOp8qqr=prs8qst0ptw=pwx8qx!P=p!P!Q8q!Q!]=p!]!^?T!^!_=p!_!a8q!a#s=p#s$f8q$f;'S=p;'S;=`?w<%l?Ah=p?Ah?BY8q?BY?Mn=p?MnO8q!V?[XfS_!Rqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0p!V?zP;=`<%l=p!_@QP;=`<%l:c!_@[ifSiWOXAyXZCTZ[Ay[^CT^pAyqrDrrsCTswDrwxCTx!PDr!P!QAy!Q!]Dr!]!^/^!^!_G|!_!aCT!a#SDr#S#TG|#T#sDr#s$fAy$f;'SDr;'S;=`JW<%l?AhDr?Ah?BYAy?BY?MnDr?MnOAy!ZBOaiWOXAyXZCTZ[Ay[^CT^pAyqrAyrsCTswAywxCTx!]Ay!]!^Cu!^!aCT!a#SAy#S#TCT#T;'SAy;'S;=`Dl<%lOAy!RCWUOpCTq!]CT!]!^Cj!^;'SCT;'S;=`Co<%lOCT!RCoO`!R!RCrP;=`<%lCT!ZC|YiW`!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZDoP;=`<%lAy!_DyifSiWOXAyXZCTZ[Ay[^CT^pAyqrDrrsCTswDrwxCTx!PDr!P!QAy!Q!]Dr!]!^Fh!^!_G|!_!aCT!a#SDr#S#TG|#T#sDr#s$fAy$f;'SDr;'S;=`JW<%l?AhDr?Ah?BYAy?BY?MnDr?MnOAy!_FqcfSiW`!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VHRcfSOpCTqrG|rsCTswG|wxCTx!PG|!P!QCT!Q!]G|!]!^I^!^!_G|!_!aCT!a#sG|#s$fCT$f;'SG|;'S;=`JQ<%l?AhG|?Ah?BYCT?BY?MnG|?MnOCT!VIeXfS`!Rqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0p!VJTP;=`<%lG|!_JZP;=`<%lDr!ZJgW!bx^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aK^lfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMU!O!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aMckfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!`&X!`!a! W!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!T! cX^P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!a!!Zd^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!`&X!`!a!#i!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!X!#vX^P!a`!cpvSjUOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!a!$r!ZfSdQ^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!O!$c!O!P!$c!P!Q$q!Q![!$c![!]!$c!]!^-_!^!_1n!_!a&X!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f$}-_$}%O!$c%O%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U!$c4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Je-_$Je$Jg!$c$Jg$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!a!(hP;=`<%l!$c!V!(tcfS!a`!cpOq*Vqr!*Prs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!b!H^!b#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!*YhfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex}1n}!O!+t!O!P1n!P!Q*V!Q!_1n!_!a*V!a!f1n!f!g!.p!g#W1n#W#X!?^#X#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!+}dfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex}1n}!O!-]!O!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!-hbfS!a`!cp!dPOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!.ydfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!q1n!q!r!0X!r#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!0bdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!e1n!e!f!1p!f#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!1ydfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!v1n!v!w!3X!w#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!3bdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!{1n!{!|!4p!|#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!4ydfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!r1n!r!s!6X!s#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!6bdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!g1n!g!h!7p!h#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!7ycfS!a`!cpOq!9Uqr!7prs!9{sv!7pvw!=swx!;ox!P!7p!P!Q!9U!Q!_!7p!_!`!9U!`!a!<}!a#s!7p#s$f!9U$f;'S!7p;'S;=`!?W<%l?Ah!7p?Ah?BY!9U?BY?Mn!7p?MnO!9U!R!9]Y!a`!cpOr!9Urs!9{sv!9Uvw!:gwx!;ox!`!9U!`!a!<}!a;'S!9U;'S;=`!=m<%lO!9Uq!:QV!cpOv!9{vx!:gx!`!9{!`!a!;U!a;'S!9{;'S;=`!;i<%lO!9{P!:jTO!`!:g!`!a!:y!a;'S!:g;'S;=`!;O<%lO!:gP!;OO{PP!;RP;=`<%l!:gq!;]S!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!;lP;=`<%l!9{a!;tX!a`Or!;ors!:gsv!;ovw!:gw!`!;o!`!a!<a!a;'S!;o;'S;=`!<w<%lO!;oa!<hT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!<zP;=`<%l!;o!R!=WV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!=pP;=`<%l!9UT!=xbfSOq!:gqr!=srs!:gsw!=swx!:gx!P!=s!P!Q!:g!Q!_!=s!_!`!:g!`!a!:y!a#s!=s#s$f!:g$f;'S!=s;'S;=`!?Q<%l?Ah!=s?Ah?BY!:g?BY?Mn!=s?MnO!:gT!?TP;=`<%l!=s!V!?ZP;=`<%l!7p!V!?gdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#c1n#c#d!@u#d#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!AOdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#V1n#V#W!B^#W#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!BgdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#h1n#h#i!Cu#i#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!DOdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#m1n#m#n!E^#n#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!EgdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#d1n#d#e!Fu#e#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!GOdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#X1n#X#Y!7p#Y#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!HgcfS!a`!cpOq!Irqr!H^rs!Jisv!H^vw#!vwx!MZx!P!H^!P!Q!Ir!Q!_!H^!_!a!Ir!a!b#%h!b#s!H^#s$f!Ir$f;'S!H^;'S;=`#&|<%l?Ah!H^?Ah?BY!Ir?BY?Mn!H^?MnO!Ir!R!IyY!a`!cpOr!Irrs!Jisv!Irvw!KTwx!MZx!a!Ir!a!b# Z!b;'S!Ir;'S;=`#!p<%lO!Irq!JnV!cpOv!Jivx!KTx!a!Ji!a!b!LU!b;'S!Ji;'S;=`!MT<%lO!JiP!KWTO!a!KT!a!b!Kg!b;'S!KT;'S;=`!LO<%lO!KTP!KjTO!`!KT!`!a!Ky!a;'S!KT;'S;=`!LO<%lO!KTP!LOOxPP!LRP;=`<%l!KTq!LZV!cpOv!Jivx!KTx!`!Ji!`!a!Lp!a;'S!Ji;'S;=`!MT<%lO!Jiq!LwS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!MWP;=`<%l!Jia!M`X!a`Or!MZrs!KTsv!MZvw!KTw!a!MZ!a!b!M{!b;'S!MZ;'S;=`# T<%lO!MZa!NQX!a`Or!MZrs!KTsv!MZvw!KTw!`!MZ!`!a!Nm!a;'S!MZ;'S;=`# T<%lO!MZa!NtT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea# WP;=`<%l!MZ!R# bY!a`!cpOr!Irrs!Jisv!Irvw!KTwx!MZx!`!Ir!`!a#!Q!a;'S!Ir;'S;=`#!p<%lO!Ir!R#!ZV!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R#!sP;=`<%l!IrT#!{bfSOq!KTqr#!vrs!KTsw#!vwx!KTx!P#!v!P!Q!KT!Q!_#!v!_!a!KT!a!b#$T!b#s#!v#s$f!KT$f;'S#!v;'S;=`#%b<%l?Ah#!v?Ah?BY!KT?BY?Mn#!v?MnO!KTT#$YbfSOq!KTqr#!vrs!KTsw#!vwx!KTx!P#!v!P!Q!KT!Q!_#!v!_!`!KT!`!a!Ky!a#s#!v#s$f!KT$f;'S#!v;'S;=`#%b<%l?Ah#!v?Ah?BY!KT?BY?Mn#!v?MnO!KTT#%eP;=`<%l#!v!V#%qcfS!a`!cpOq!Irqr!H^rs!Jisv!H^vw#!vwx!MZx!P!H^!P!Q!Ir!Q!_!H^!_!`!Ir!`!a#!Q!a#s!H^#s$f!Ir$f;'S!H^;'S;=`#&|<%l?Ah!H^?Ah?BY!Ir?BY?Mn!H^?MnO!Ir!V#'PP;=`<%l!H^!V#'_XgS^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!X#(VX^P!a`!cpjUOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",
|
|
335
|
+
tokenizers: [scriptTokens, styleTokens, textareaTokens, tagStart, commentContent, 0, 1, 2, 3, 4, 5],
|
|
336
|
+
topRules: {
|
|
337
|
+
"Document": [0, 13]
|
|
338
|
+
},
|
|
339
|
+
dialects: {
|
|
340
|
+
noMatch: 0,
|
|
341
|
+
selfClosing: 485
|
|
342
|
+
},
|
|
343
|
+
tokenPrec: 487
|
|
344
|
+
});
|
|
345
|
+
function getAttrs(openTag, input) {
|
|
346
|
+
let attrs = Object.create(null);
|
|
347
|
+
for (let att of openTag.getChildren(Attribute)) {
|
|
348
|
+
let name = att.getChild(AttributeName),
|
|
349
|
+
value = att.getChild(AttributeValue) || att.getChild(UnquotedAttributeValue);
|
|
350
|
+
if (name) attrs[input.read(name.from, name.to)] = !value ? "" : value.type.id == AttributeValue ? input.read(value.from + 1, value.to - 1) : input.read(value.from, value.to);
|
|
351
|
+
}
|
|
352
|
+
return attrs;
|
|
353
|
+
}
|
|
354
|
+
function findTagName(openTag, input) {
|
|
355
|
+
let tagNameNode = openTag.getChild(TagName);
|
|
356
|
+
return tagNameNode ? input.read(tagNameNode.from, tagNameNode.to) : " ";
|
|
357
|
+
}
|
|
358
|
+
function maybeNest(node, input, tags) {
|
|
359
|
+
let attrs;
|
|
360
|
+
for (let tag of tags) {
|
|
361
|
+
if (!tag.attrs || tag.attrs(attrs || (attrs = getAttrs(node.node.parent.firstChild, input)))) return {
|
|
362
|
+
parser: tag.parser
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
return null;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// tags?: {
|
|
369
|
+
// tag: string,
|
|
370
|
+
// attrs?: ({[attr: string]: string}) => boolean,
|
|
371
|
+
// parser: Parser
|
|
372
|
+
// }[]
|
|
373
|
+
// attributes?: {
|
|
374
|
+
// name: string,
|
|
375
|
+
// tagName?: string,
|
|
376
|
+
// parser: Parser
|
|
377
|
+
// }[]
|
|
378
|
+
|
|
379
|
+
function configureNesting(tags = [], attributes = []) {
|
|
380
|
+
let script = [],
|
|
381
|
+
style = [],
|
|
382
|
+
textarea = [],
|
|
383
|
+
other = [];
|
|
384
|
+
for (let tag of tags) {
|
|
385
|
+
let array = tag.tag == "script" ? script : tag.tag == "style" ? style : tag.tag == "textarea" ? textarea : other;
|
|
386
|
+
array.push(tag);
|
|
387
|
+
}
|
|
388
|
+
let attrs = attributes.length ? Object.create(null) : null;
|
|
389
|
+
for (let attr of attributes) (attrs[attr.name] || (attrs[attr.name] = [])).push(attr);
|
|
390
|
+
return parseMixed((node, input) => {
|
|
391
|
+
let id = node.type.id;
|
|
392
|
+
if (id == ScriptText) return maybeNest(node, input, script);
|
|
393
|
+
if (id == StyleText) return maybeNest(node, input, style);
|
|
394
|
+
if (id == TextareaText) return maybeNest(node, input, textarea);
|
|
395
|
+
if (id == OpenTag && other.length) {
|
|
396
|
+
let n = node.node,
|
|
397
|
+
tagName = findTagName(n, input),
|
|
398
|
+
attrs;
|
|
399
|
+
for (let tag of other) {
|
|
400
|
+
if (tag.tag == tagName && (!tag.attrs || tag.attrs(attrs || (attrs = getAttrs(n, input))))) {
|
|
401
|
+
let close = n.parent.lastChild;
|
|
402
|
+
return {
|
|
403
|
+
parser: tag.parser,
|
|
404
|
+
overlay: [{
|
|
405
|
+
from: node.to,
|
|
406
|
+
to: close.type.id == CloseTag ? close.from : n.parent.to
|
|
407
|
+
}]
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
if (attrs && id == Attribute) {
|
|
413
|
+
let n = node.node,
|
|
414
|
+
nameNode;
|
|
415
|
+
if (nameNode = n.firstChild) {
|
|
416
|
+
let matches = attrs[input.read(nameNode.from, nameNode.to)];
|
|
417
|
+
if (matches) for (let attr of matches) {
|
|
418
|
+
if (attr.tagName && attr.tagName != findTagName(n.parent, input)) continue;
|
|
419
|
+
let value = n.lastChild;
|
|
420
|
+
if (value.type.id == AttributeValue) return {
|
|
421
|
+
parser: attr.parser,
|
|
422
|
+
overlay: [{
|
|
423
|
+
from: value.from + 1,
|
|
424
|
+
to: value.to - 1
|
|
425
|
+
}]
|
|
426
|
+
};else if (value.type.id == UnquotedAttributeValue) return {
|
|
427
|
+
parser: attr.parser,
|
|
428
|
+
overlay: [{
|
|
429
|
+
from: value.from,
|
|
430
|
+
to: value.to
|
|
431
|
+
}]
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
return null;
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
441
|
+
const descendantOp = 94,
|
|
442
|
+
Unit = 1,
|
|
443
|
+
callee = 95,
|
|
444
|
+
identifier$2 = 96,
|
|
445
|
+
VariableName = 2;
|
|
446
|
+
|
|
447
|
+
/* Hand-written tokenizers for CSS tokens that can't be
|
|
448
|
+
expressed by Lezer's built-in tokenizer. */
|
|
449
|
+
|
|
450
|
+
const space$1 = [9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8232, 8233, 8239, 8287, 12288];
|
|
451
|
+
const colon = 58,
|
|
452
|
+
parenL = 40,
|
|
453
|
+
underscore = 95,
|
|
454
|
+
bracketL = 91,
|
|
455
|
+
dash = 45,
|
|
456
|
+
period = 46,
|
|
457
|
+
hash = 35,
|
|
458
|
+
percent = 37;
|
|
459
|
+
function isAlpha(ch) {
|
|
460
|
+
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 161;
|
|
461
|
+
}
|
|
462
|
+
function isDigit(ch) {
|
|
463
|
+
return ch >= 48 && ch <= 57;
|
|
464
|
+
}
|
|
465
|
+
const identifiers = new ExternalTokenizer((input, stack) => {
|
|
466
|
+
for (let inside = false, dashes = 0, i = 0;; i++) {
|
|
467
|
+
let {
|
|
468
|
+
next
|
|
469
|
+
} = input;
|
|
470
|
+
if (isAlpha(next) || next == dash || next == underscore || inside && isDigit(next)) {
|
|
471
|
+
if (!inside && (next != dash || i > 0)) inside = true;
|
|
472
|
+
if (dashes === i && next == dash) dashes++;
|
|
473
|
+
input.advance();
|
|
474
|
+
} else {
|
|
475
|
+
if (inside) input.acceptToken(next == parenL ? callee : dashes == 2 && stack.canShift(VariableName) ? VariableName : identifier$2);
|
|
476
|
+
break;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
});
|
|
480
|
+
const descendant = new ExternalTokenizer(input => {
|
|
481
|
+
if (space$1.includes(input.peek(-1))) {
|
|
482
|
+
let {
|
|
483
|
+
next
|
|
484
|
+
} = input;
|
|
485
|
+
if (isAlpha(next) || next == underscore || next == hash || next == period || next == bracketL || next == colon || next == dash) input.acceptToken(descendantOp);
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
const unitToken = new ExternalTokenizer(input => {
|
|
489
|
+
if (!space$1.includes(input.peek(-1))) {
|
|
490
|
+
let {
|
|
491
|
+
next
|
|
492
|
+
} = input;
|
|
493
|
+
if (next == percent) {
|
|
494
|
+
input.advance();
|
|
495
|
+
input.acceptToken(Unit);
|
|
496
|
+
}
|
|
497
|
+
if (isAlpha(next)) {
|
|
498
|
+
do {
|
|
499
|
+
input.advance();
|
|
500
|
+
} while (isAlpha(input.next));
|
|
501
|
+
input.acceptToken(Unit);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
});
|
|
505
|
+
const cssHighlighting = styleTags({
|
|
506
|
+
"AtKeyword import charset namespace keyframes media supports": tags$1.definitionKeyword,
|
|
507
|
+
"from to selector": tags$1.keyword,
|
|
508
|
+
NamespaceName: tags$1.namespace,
|
|
509
|
+
KeyframeName: tags$1.labelName,
|
|
510
|
+
TagName: tags$1.tagName,
|
|
511
|
+
ClassName: tags$1.className,
|
|
512
|
+
PseudoClassName: tags$1.constant(tags$1.className),
|
|
513
|
+
IdName: tags$1.labelName,
|
|
514
|
+
"FeatureName PropertyName": tags$1.propertyName,
|
|
515
|
+
AttributeName: tags$1.attributeName,
|
|
516
|
+
NumberLiteral: tags$1.number,
|
|
517
|
+
KeywordQuery: tags$1.keyword,
|
|
518
|
+
UnaryQueryOp: tags$1.operatorKeyword,
|
|
519
|
+
"CallTag ValueName": tags$1.atom,
|
|
520
|
+
VariableName: tags$1.variableName,
|
|
521
|
+
Callee: tags$1.operatorKeyword,
|
|
522
|
+
Unit: tags$1.unit,
|
|
523
|
+
"UniversalSelector NestingSelector": tags$1.definitionOperator,
|
|
524
|
+
MatchOp: tags$1.compareOperator,
|
|
525
|
+
"ChildOp SiblingOp, LogicOp": tags$1.logicOperator,
|
|
526
|
+
BinOp: tags$1.arithmeticOperator,
|
|
527
|
+
Important: tags$1.modifier,
|
|
528
|
+
Comment: tags$1.blockComment,
|
|
529
|
+
ParenthesizedContent: tags$1.special(tags$1.name),
|
|
530
|
+
ColorLiteral: tags$1.color,
|
|
531
|
+
StringLiteral: tags$1.string,
|
|
532
|
+
":": tags$1.punctuation,
|
|
533
|
+
"PseudoOp #": tags$1.derefOperator,
|
|
534
|
+
"; ,": tags$1.separator,
|
|
535
|
+
"( )": tags$1.paren,
|
|
536
|
+
"[ ]": tags$1.squareBracket,
|
|
537
|
+
"{ }": tags$1.brace
|
|
538
|
+
});
|
|
539
|
+
|
|
540
|
+
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
541
|
+
const spec_callee = {
|
|
542
|
+
__proto__: null,
|
|
543
|
+
lang: 32,
|
|
544
|
+
"nth-child": 32,
|
|
545
|
+
"nth-last-child": 32,
|
|
546
|
+
"nth-of-type": 32,
|
|
547
|
+
"nth-last-of-type": 32,
|
|
548
|
+
dir: 32,
|
|
549
|
+
"host-context": 32,
|
|
550
|
+
url: 60,
|
|
551
|
+
"url-prefix": 60,
|
|
552
|
+
domain: 60,
|
|
553
|
+
regexp: 60,
|
|
554
|
+
selector: 134
|
|
555
|
+
};
|
|
556
|
+
const spec_AtKeyword = {
|
|
557
|
+
__proto__: null,
|
|
558
|
+
"@import": 114,
|
|
559
|
+
"@media": 138,
|
|
560
|
+
"@charset": 142,
|
|
561
|
+
"@namespace": 146,
|
|
562
|
+
"@keyframes": 152,
|
|
563
|
+
"@supports": 164
|
|
564
|
+
};
|
|
565
|
+
const spec_identifier = {
|
|
566
|
+
__proto__: null,
|
|
567
|
+
not: 128,
|
|
568
|
+
only: 128,
|
|
569
|
+
from: 158,
|
|
570
|
+
to: 160
|
|
571
|
+
};
|
|
572
|
+
const parser$2 = LRParser.deserialize({
|
|
573
|
+
version: 14,
|
|
574
|
+
states: "7WQYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ed'#EdO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&TQ[O'#EPO&cQ[O'#EROOQS'#Ec'#EcOOQS'#ET'#ETQYQ[OOO&jQXO'#CdO'_QWO'#DaO'dQWO'#EjO'oQ[O'#EjQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'yQ[O'#EWO(eQWO,58{O(mQ[O,59SO$lQ[O,59kO$qQ[O,59oO'yQ[O,59sO'yQ[O,59uO'yQ[O,59vO(xQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)PQWO,59SO)UQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)ZQ`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)cQvO'#CsO*pQtO,5:POOQO'#Cx'#CxO)UQWO'#CwO+UQWO'#CyOOQS'#Eg'#EgOOQO'#Dh'#DhO+ZQ[O'#DoO+iQWO'#EkO&TQ[O'#DmO+wQWO'#DpOOQO'#El'#ElO(hQWO,5:^O+|QpO,5:`OOQS'#Dx'#DxO,UQWO,5:bO,ZQ[O,5:bOOQO'#D{'#D{O,cQWO,5:eO,hQWO,5:kO,pQWO,5:mOOQS-E8R-E8RO$vQdO,59{O,xQ[O'#EYO-VQWO,5;UO-VQWO,5;UOOQP1G.l1G.lO-|QXO,5:rOOQO-E8U-E8UOOQS1G.g1G.gOOQP1G.n1G.nO)PQWO1G.nO)UQWO1G.nOOQP1G/V1G/VO.ZQ`O1G/ZO.tQXO1G/_O/[QXO1G/aO/rQXO1G/bO0YQWO,59zO0_Q[O'#DOO0fQdO'#CoOOQP1G/Z1G/ZO$vQdO1G/ZO0mQpO,59]OOQS,59_,59_O$vQdO,59aO0uQWO1G/kOOQS,59c,59cO0zQ!bO,59eO1SQWO'#DhO1_QWO,5:TO1dQWO,5:ZO&TQ[O,5:VO&TQ[O'#EZO1lQWO,5;VO1wQWO,5:XO'yQ[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2YQWO1G/|O2_QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO2mQtO1G/gOOQO,5:t,5:tO3TQ[O,5:tOOQO-E8W-E8WO3bQWO1G0pOOQP7+$Y7+$YOOQP7+$u7+$uO$vQdO7+$uOOQS1G/f1G/fO3mQXO'#EiO3tQWO,59jO3yQtO'#EUO4nQdO'#EfO4xQWO,59ZO4}QpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5VQWO1G/PO$vQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5[QWO,5:uOOQO-E8X-E8XO5jQXO1G/vOOQS7+%h7+%hO5qQYO'#CsO(hQWO'#E[O5yQdO,5:hOOQS,5:h,5:hO6XQtO'#EXO$vQdO'#EXO7VQdO7+%ROOQO7+%R7+%ROOQO1G0`1G0`O7jQpO<<HaO7rQWO,5;TOOQP1G/U1G/UOOQS-E8S-E8SO$vQdO'#EVO7zQWO,5;QOOQT1G.u1G.uOOQP<<Ha<<HaOOQS7+$k7+$kO8SQdO7+%ZOOQO7+%b7+%bOOQS,5:v,5:vOOQS-E8Y-E8YOOQS1G0S1G0SO8ZQtO,5:sOOQS-E8V-E8VOOQO<<Hm<<HmOOQPAN={AN={O9XQdO,5:qOOQO-E8T-E8TOOQO<<Hu<<Hu",
|
|
575
|
+
stateData: "9i~O#UOSROS~OUXOXXO]UO^UOtVOxWO!Y`O!ZYO!gZO!i[O!k]O!n^O!t_O#SQO#XSO~OQeOUXOXXO]UO^UOtVOxWO!Y`O!ZYO!gZO!i[O!k]O!n^O!t_O#SdO#XSO~O#P#^P~P!ZO#SiO~O]nO^nOplOtoOxpO|qO!PsO#QrO#XkO~O!RtO~P#kO`zO#RwO#SvO~O#S{O~O#S}O~OQ!WOb!QOf!WOh!WOn!VO#R!TO#S!PO#[!RO~Ob!YO!b![O!e!]O#S!XO!R#_P~Oh!bOn!VO#S!aO~O#S!dO~Ob!YO!b![O!e!]O#S!XO~O!W#_P~P%bO]WX]!UX^WXpWXtWXxWX|WX!PWX!RWX#QWX#XWX~O]!iO~O!W!jO#P#^X!Q#^X~O#P#^X!Q#^X~P!ZOUXOXXO]UO^UOtVOxWO#SQO#XSO~OplO!RtO~O`!sO#RwO#SvO~O!Q#^P~P!ZOb!zO~Ob!{O~Ov!|Oz!}O~OP#PObgXjgX!WgX!bgX!egX#SgXagXQgXfgXhgXngXpgX!VgX#PgX#RgX#[gXvgX!QgX~Ob!YOj#QO!b![O!e!]O#S!XO!W#_P~Ob#TO~Ob!YO!b![O!e!]O#S#UO~Op#YO!`#XO!R#_X!W#_X~Ob#]O~Oj#QO!W#_O~O!W#`O~Oh#aOn!VO~O!R#bO~O!RtO!`#XO~O!RtO!W#eO~O!W!|X#P!|X!Q!|X~P!ZO!W!jO#P#^a!Q#^a~O]nO^nOtoOxpO|qO!PsO#QrO#XkO~Op!za!R!zaa!za~P-bOv#lOz#mO~O]nO^nOtoOxpO#XkO~Op{i|{i!P{i!R{i#Q{ia{i~P.cOp}i|}i!P}i!R}i#Q}ia}i~P.cOp!Oi|!Oi!P!Oi!R!Oi#Q!Oia!Oi~P.cO!Q#nO~Oa#]P~P'yOa#YP~P$vOa#uOj#QO~O!W#wO~Oh#xOo#xO~O]!^Xa![X!`![X~O]#yO~Oa#zO!`#XO~Op#YO!R#_a!W#_a~O!`#XOp!aa!R!aa!W!aaa!aa~O!W$PO~O!Q$TO!q$RO!r$RO#[$QO~Oj#QOp$VO!V$XO!W!Ti#P!Ti!Q!Ti~P$vO!W!|a#P!|a!Q!|a~P!ZO!W!jO#P#^i!Q#^i~Oa#]X~P#kOa$]O~Oj#QOQ!xXa!xXb!xXf!xXh!xXn!xXp!xX#R!xX#S!xX#[!xX~Op$_Oa#YX~P$vOa$aO~Oj#QOv$bO~Oa$cO~O!`#XOp!}a!R!}a!W!}a~Oa$eO~P-bOP#PO!RgX~O!Q$hO!q$RO!r$RO#[$QO~Oj#QOQ!{Xb!{Xf!{Xh!{Xn!{Xp!{X!V!{X!W!{X#P!{X#R!{X#S!{X#[!{X!Q!{X~Op$VO!V$kO!W!Tq#P!Tq!Q!Tq~P$vOj#QOv$lO~OplOa#]a~Op$_Oa#Ya~Oa$oO~P$vOj#QOQ!{ab!{af!{ah!{an!{ap!{a!V!{a!W!{a#P!{a#R!{a#S!{a#[!{a!Q!{a~Oa!yap!ya~P$vOo#[j!Pj~",
|
|
576
|
+
goto: ",`#aPPPPP#bP#k#zP#k$Z#kPP$aPPP$g$p$pP%SP$pP$p%j%|PPP&f&l#kP&rP#kP&xP#kP#k#kPPP'O'b'oPP#bPP'v'v(Q'vP'vP'v'vP#bP#bP#bP(T#bP(W(ZPP#bP#bP(^(m({)R)])c)m)sPPPPPP)y*SP*o*rP+h+k+q+z_aOPcgt!j#hkXOPcglqrst!j!z#]#hkROPcglqrst!j!z#]#hQjSR!mkQxUR!qnQ!qzQ#S!UR#k!sq!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mp!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mT$R#b$Sq!UY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mp!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mQ!b]R#a!cQyUR!rnQ!qyR#k!rQ|VR!toQ!OWR!upQuTQ!pmQ#^!_Q#d!fQ#e!gR$f$RSfPtQ!lgQ#g!jR$Y#hZePgt!j#ha!^Z_`!S!Y![#X#YR#V!YR!c]R!e^R#c!eQcOSgPtU!hcg#hR#h!jQ#r!{U$^#r$d$mQ$d#yR$m$_Q$`#rR$n$`QmTS!om$[R$[#oQ$W#fR$j$WQ!kfS#i!k#jR#j!lQ#Z!ZR#}#ZQ$S#bR$g$S_bOPcgt!j#h^TOPcgt!j#hQ!nlQ!vqQ!wrQ!xsQ#o!zR$O#]R#s!{Q!SYQ!`[Q#O!QQ#f!i[#q!{#r#y$_$d$mQ#t!}Q#v#QS$U#f$WQ$Z#mR$i$VR#p!zQhPR!ytQ!_ZQ!g`R#R!SU!ZZ`!SQ!f_Q#W!YQ#[![Q#{#XR#|#Y",
|
|
577
|
+
nodeNames: "⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent , PseudoClassName ArgList IdSelector # IdName ] AttributeSelector [ AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports AtRule Styles",
|
|
578
|
+
maxTerm: 108,
|
|
579
|
+
nodeProps: [["openedBy", 17, "(", 48, "{"], ["closedBy", 18, ")", 49, "}"]],
|
|
580
|
+
propSources: [cssHighlighting],
|
|
581
|
+
skippedNodes: [0, 3],
|
|
582
|
+
repeatNodeCount: 8,
|
|
583
|
+
tokenData: "Lq~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Cu![!]Dp!]!^El!^!_$}!_!`E}!`!aF`!a!b$}!b!cG[!c!}$}!}#OHt#O#P$}#P#QIV#Q#R6d#R#T$}#T#UIh#U#c$}#c#dJy#d#o$}#o#pK`#p#q6d#q#rKq#r#sLS#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`Lk<%lO$}W%QSOy%^z;'S%^;'S;=`%o<%lO%^W%cSoWOy%^z;'S%^;'S;=`%o<%lO%^W%rP;=`<%l%^~%zh#U~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#U~oWOX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^^)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^^)sUoWOy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^^*[UoWOy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^^*sUoWOy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^^+[UoWOy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^^+sUoWOy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^^,[UoWOy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^^,sUoWOy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^^-[UoWOy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^^-uS!VUoWOy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.R_/zYtPOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^^0oYoWOy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^^1dYoWOy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^^2ZYfUoWOy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^^3QYfUoWOy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^^3uYoWOy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^^4lYfUoWOy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^^5aYoWOy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^^6WSfUoWOy%^z;'S%^;'S;=`%o<%lO%^Y6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^Y7QSzQoWOy%^z;'S%^;'S;=`%o<%lO%^X7cSXPOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7o_9cSbVOy%^z;'S%^;'S;=`%o<%lO%^~9tOa~_9{UUPjSOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^_:fWjS!PPOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^^;TUoWOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^^;nYoW#[UOy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^^<cYoWOy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^=WUoWOy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^=qUoW#[UOy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^>[[oW#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^_?VSpVOy%^z;'S%^;'S;=`%o<%lO%^^?hWjSOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^_@VU#XPOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjSOy%^z{@}{;'S%^;'S;=`%o<%lO%^~ASUoWOy@}yzAfz{Bm{;'S@};'S;=`Co<%lO@}~AiTOzAfz{Ax{;'SAf;'S;=`Bg<%lOAf~A{VOzAfz{Ax{!PAf!P!QBb!Q;'SAf;'S;=`Bg<%lOAf~BgOR~~BjP;=`<%lAf~BrWoWOy@}yzAfz{Bm{!P@}!P!QC[!Q;'S@};'S;=`Co<%lO@}~CcSoWR~Oy%^z;'S%^;'S;=`%o<%lO%^~CrP;=`<%l@}^Cz[#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^XDuU]POy%^z![%^![!]EX!];'S%^;'S;=`%o<%lO%^XE`S^PoWOy%^z;'S%^;'S;=`%o<%lO%^_EqS!WVOy%^z;'S%^;'S;=`%o<%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^XKeS!RPOy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",
|
|
584
|
+
tokenizers: [descendant, unitToken, identifiers, 0, 1, 2, 3],
|
|
585
|
+
topRules: {
|
|
586
|
+
"StyleSheet": [0, 4],
|
|
587
|
+
"Styles": [1, 84]
|
|
588
|
+
},
|
|
589
|
+
specialized: [{
|
|
590
|
+
term: 95,
|
|
591
|
+
get: value => spec_callee[value] || -1
|
|
592
|
+
}, {
|
|
593
|
+
term: 56,
|
|
594
|
+
get: value => spec_AtKeyword[value] || -1
|
|
595
|
+
}, {
|
|
596
|
+
term: 96,
|
|
597
|
+
get: value => spec_identifier[value] || -1
|
|
598
|
+
}],
|
|
599
|
+
tokenPrec: 1123
|
|
600
|
+
});
|
|
601
|
+
|
|
602
|
+
let _properties = null;
|
|
603
|
+
function properties() {
|
|
604
|
+
if (!_properties && typeof document == "object" && document.body) {
|
|
605
|
+
let names = [];
|
|
606
|
+
for (let prop in document.body.style) {
|
|
607
|
+
if (!/[A-Z]|^-|^(item|length)$/.test(prop)) names.push(prop);
|
|
608
|
+
}
|
|
609
|
+
_properties = names.sort().map(name => ({
|
|
610
|
+
type: "property",
|
|
611
|
+
label: name
|
|
612
|
+
}));
|
|
613
|
+
}
|
|
614
|
+
return _properties || [];
|
|
615
|
+
}
|
|
616
|
+
const pseudoClasses = /*@__PURE__*/["active", "after", "before", "checked", "default", "disabled", "empty", "enabled", "first-child", "first-letter", "first-line", "first-of-type", "focus", "hover", "in-range", "indeterminate", "invalid", "lang", "last-child", "last-of-type", "link", "not", "nth-child", "nth-last-child", "nth-last-of-type", "nth-of-type", "only-of-type", "only-child", "optional", "out-of-range", "placeholder", "read-only", "read-write", "required", "root", "selection", "target", "valid", "visited"].map(name => ({
|
|
617
|
+
type: "class",
|
|
618
|
+
label: name
|
|
619
|
+
}));
|
|
620
|
+
const values = /*@__PURE__*/["above", "absolute", "activeborder", "additive", "activecaption", "after-white-space", "ahead", "alias", "all", "all-scroll", "alphabetic", "alternate", "always", "antialiased", "appworkspace", "asterisks", "attr", "auto", "auto-flow", "avoid", "avoid-column", "avoid-page", "avoid-region", "axis-pan", "background", "backwards", "baseline", "below", "bidi-override", "blink", "block", "block-axis", "bold", "bolder", "border", "border-box", "both", "bottom", "break", "break-all", "break-word", "bullets", "button", "button-bevel", "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret", "cell", "center", "checkbox", "circle", "cjk-decimal", "clear", "clip", "close-quote", "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "column-reverse", "compact", "condensed", "contain", "content", "contents", "content-box", "context-menu", "continuous", "copy", "counter", "counters", "cover", "crop", "cross", "crosshair", "currentcolor", "cursive", "cyclic", "darken", "dashed", "decimal", "decimal-leading-zero", "default", "default-button", "dense", "destination-atop", "destination-in", "destination-out", "destination-over", "difference", "disc", "discard", "disclosure-closed", "disclosure-open", "document", "dot-dash", "dot-dot-dash", "dotted", "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out", "element", "ellipse", "ellipsis", "embed", "end", "ethiopic-abegede-gez", "ethiopic-halehame-aa-er", "ethiopic-halehame-gez", "ew-resize", "exclusion", "expanded", "extends", "extra-condensed", "extra-expanded", "fantasy", "fast", "fill", "fill-box", "fixed", "flat", "flex", "flex-end", "flex-start", "footnotes", "forwards", "from", "geometricPrecision", "graytext", "grid", "groove", "hand", "hard-light", "help", "hidden", "hide", "higher", "highlight", "highlighttext", "horizontal", "hsl", "hsla", "hue", "icon", "ignore", "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite", "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis", "inline-block", "inline-flex", "inline-grid", "inline-table", "inset", "inside", "intrinsic", "invert", "italic", "justify", "keep-all", "landscape", "large", "larger", "left", "level", "lighter", "lighten", "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox", "listitem", "local", "logical", "loud", "lower", "lower-hexadecimal", "lower-latin", "lower-norwegian", "lowercase", "ltr", "luminosity", "manipulation", "match", "matrix", "matrix3d", "medium", "menu", "menutext", "message-box", "middle", "min-intrinsic", "mix", "monospace", "move", "multiple", "multiple_mask_images", "multiply", "n-resize", "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop", "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap", "ns-resize", "numbers", "numeric", "nw-resize", "nwse-resize", "oblique", "opacity", "open-quote", "optimizeLegibility", "optimizeSpeed", "outset", "outside", "outside-shape", "overlay", "overline", "padding", "padding-box", "painted", "page", "paused", "perspective", "pinch-zoom", "plus-darker", "plus-lighter", "pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "push-button", "radial-gradient", "radio", "read-only", "read-write", "read-write-plaintext-only", "rectangle", "region", "relative", "repeat", "repeating-linear-gradient", "repeating-radial-gradient", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY", "rotateZ", "round", "row", "row-resize", "row-reverse", "rtl", "run-in", "running", "s-resize", "sans-serif", "saturation", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "screen", "scroll", "scrollbar", "scroll-position", "se-resize", "self-start", "self-end", "semi-condensed", "semi-expanded", "separate", "serif", "show", "single", "skew", "skewX", "skewY", "skip-white-space", "slide", "slider-horizontal", "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow", "small", "small-caps", "small-caption", "smaller", "soft-light", "solid", "source-atop", "source-in", "source-out", "source-over", "space", "space-around", "space-between", "space-evenly", "spell-out", "square", "start", "static", "status-bar", "stretch", "stroke", "stroke-box", "sub", "subpixel-antialiased", "svg_masks", "super", "sw-resize", "symbolic", "symbols", "system-ui", "table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row", "table-row-group", "text", "text-bottom", "text-top", "textarea", "textfield", "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight", "threedlightshadow", "threedshadow", "to", "top", "transform", "translate", "translate3d", "translateX", "translateY", "translateZ", "transparent", "ultra-condensed", "ultra-expanded", "underline", "unidirectional-pan", "unset", "up", "upper-latin", "uppercase", "url", "var", "vertical", "vertical-text", "view-box", "visible", "visibleFill", "visiblePainted", "visibleStroke", "visual", "w-resize", "wait", "wave", "wider", "window", "windowframe", "windowtext", "words", "wrap", "wrap-reverse", "x-large", "x-small", "xor", "xx-large", "xx-small"].map(name => ({
|
|
621
|
+
type: "keyword",
|
|
622
|
+
label: name
|
|
623
|
+
})).concat( /*@__PURE__*/["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "grey", "green", "greenyellow", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen"].map(name => ({
|
|
624
|
+
type: "constant",
|
|
625
|
+
label: name
|
|
626
|
+
})));
|
|
627
|
+
const tags = /*@__PURE__*/["a", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "figcaption", "figure", "footer", "form", "header", "hgroup", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "meter", "nav", "ol", "output", "p", "pre", "ruby", "section", "select", "small", "source", "span", "strong", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "tr", "u", "ul"].map(name => ({
|
|
628
|
+
type: "type",
|
|
629
|
+
label: name
|
|
630
|
+
}));
|
|
631
|
+
const identifier$1 = /^[\w-]*/;
|
|
632
|
+
/**
|
|
633
|
+
CSS property and value keyword completion source.
|
|
634
|
+
*/
|
|
635
|
+
const cssCompletionSource = context => {
|
|
636
|
+
let {
|
|
637
|
+
state,
|
|
638
|
+
pos
|
|
639
|
+
} = context,
|
|
640
|
+
node = syntaxTree(state).resolveInner(pos, -1);
|
|
641
|
+
if (node.name == "PropertyName") return {
|
|
642
|
+
from: node.from,
|
|
643
|
+
options: properties(),
|
|
644
|
+
validFor: identifier$1
|
|
645
|
+
};
|
|
646
|
+
if (node.name == "ValueName") return {
|
|
647
|
+
from: node.from,
|
|
648
|
+
options: values,
|
|
649
|
+
validFor: identifier$1
|
|
650
|
+
};
|
|
651
|
+
if (node.name == "PseudoClassName") return {
|
|
652
|
+
from: node.from,
|
|
653
|
+
options: pseudoClasses,
|
|
654
|
+
validFor: identifier$1
|
|
655
|
+
};
|
|
656
|
+
if (node.name == "TagName") {
|
|
657
|
+
for (let {
|
|
658
|
+
parent
|
|
659
|
+
} = node; parent; parent = parent.parent) if (parent.name == "Block") return {
|
|
660
|
+
from: node.from,
|
|
661
|
+
options: properties(),
|
|
662
|
+
validFor: identifier$1
|
|
663
|
+
};
|
|
664
|
+
return {
|
|
665
|
+
from: node.from,
|
|
666
|
+
options: tags,
|
|
667
|
+
validFor: identifier$1
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
if (!context.explicit) return null;
|
|
671
|
+
let above = node.resolve(pos),
|
|
672
|
+
before = above.childBefore(pos);
|
|
673
|
+
if (before && before.name == ":" && above.name == "PseudoClassSelector") return {
|
|
674
|
+
from: pos,
|
|
675
|
+
options: pseudoClasses,
|
|
676
|
+
validFor: identifier$1
|
|
677
|
+
};
|
|
678
|
+
if (before && before.name == ":" && above.name == "Declaration" || above.name == "ArgList") return {
|
|
679
|
+
from: pos,
|
|
680
|
+
options: values,
|
|
681
|
+
validFor: identifier$1
|
|
682
|
+
};
|
|
683
|
+
if (above.name == "Block") return {
|
|
684
|
+
from: pos,
|
|
685
|
+
options: properties(),
|
|
686
|
+
validFor: identifier$1
|
|
687
|
+
};
|
|
688
|
+
return null;
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
A language provider based on the [Lezer CSS
|
|
693
|
+
parser](https://github.com/lezer-parser/css), extended with
|
|
694
|
+
highlighting and indentation information.
|
|
695
|
+
*/
|
|
696
|
+
const cssLanguage = /*@__PURE__*/LRLanguage.define({
|
|
697
|
+
parser: /*@__PURE__*/parser$2.configure({
|
|
698
|
+
props: [/*@__PURE__*/indentNodeProp.add({
|
|
699
|
+
Declaration: /*@__PURE__*/continuedIndent()
|
|
700
|
+
}), /*@__PURE__*/foldNodeProp.add({
|
|
701
|
+
Block: foldInside
|
|
702
|
+
})]
|
|
703
|
+
}),
|
|
704
|
+
languageData: {
|
|
705
|
+
commentTokens: {
|
|
706
|
+
block: {
|
|
707
|
+
open: "/*",
|
|
708
|
+
close: "*/"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
indentOnInput: /^\s*\}$/,
|
|
712
|
+
wordChars: "-"
|
|
713
|
+
}
|
|
714
|
+
});
|
|
715
|
+
/**
|
|
716
|
+
Language support for CSS.
|
|
717
|
+
*/
|
|
718
|
+
function css() {
|
|
719
|
+
return new LanguageSupport(cssLanguage, cssLanguage.data.of({
|
|
720
|
+
autocomplete: cssCompletionSource
|
|
721
|
+
}));
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
const Targets = ["_blank", "_self", "_top", "_parent"];
|
|
725
|
+
const Charsets = ["ascii", "utf-8", "utf-16", "latin1", "latin1"];
|
|
726
|
+
const Methods = ["get", "post", "put", "delete"];
|
|
727
|
+
const Encs = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"];
|
|
728
|
+
const Bool = ["true", "false"];
|
|
729
|
+
const S = {}; // Empty tag spec
|
|
730
|
+
const Tags = {
|
|
731
|
+
a: {
|
|
732
|
+
attrs: {
|
|
733
|
+
href: null,
|
|
734
|
+
ping: null,
|
|
735
|
+
type: null,
|
|
736
|
+
media: null,
|
|
737
|
+
target: Targets,
|
|
738
|
+
hreflang: null
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
abbr: S,
|
|
742
|
+
acronym: S,
|
|
743
|
+
address: S,
|
|
744
|
+
applet: S,
|
|
745
|
+
area: {
|
|
746
|
+
attrs: {
|
|
747
|
+
alt: null,
|
|
748
|
+
coords: null,
|
|
749
|
+
href: null,
|
|
750
|
+
target: null,
|
|
751
|
+
ping: null,
|
|
752
|
+
media: null,
|
|
753
|
+
hreflang: null,
|
|
754
|
+
type: null,
|
|
755
|
+
shape: ["default", "rect", "circle", "poly"]
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
article: S,
|
|
759
|
+
aside: S,
|
|
760
|
+
audio: {
|
|
761
|
+
attrs: {
|
|
762
|
+
src: null,
|
|
763
|
+
mediagroup: null,
|
|
764
|
+
crossorigin: ["anonymous", "use-credentials"],
|
|
765
|
+
preload: ["none", "metadata", "auto"],
|
|
766
|
+
autoplay: ["autoplay"],
|
|
767
|
+
loop: ["loop"],
|
|
768
|
+
controls: ["controls"]
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
b: S,
|
|
772
|
+
base: {
|
|
773
|
+
attrs: {
|
|
774
|
+
href: null,
|
|
775
|
+
target: Targets
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
basefont: S,
|
|
779
|
+
bdi: S,
|
|
780
|
+
bdo: S,
|
|
781
|
+
big: S,
|
|
782
|
+
blockquote: {
|
|
783
|
+
attrs: {
|
|
784
|
+
cite: null
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
body: S,
|
|
788
|
+
br: S,
|
|
789
|
+
button: {
|
|
790
|
+
attrs: {
|
|
791
|
+
form: null,
|
|
792
|
+
formaction: null,
|
|
793
|
+
name: null,
|
|
794
|
+
value: null,
|
|
795
|
+
autofocus: ["autofocus"],
|
|
796
|
+
disabled: ["autofocus"],
|
|
797
|
+
formenctype: Encs,
|
|
798
|
+
formmethod: Methods,
|
|
799
|
+
formnovalidate: ["novalidate"],
|
|
800
|
+
formtarget: Targets,
|
|
801
|
+
type: ["submit", "reset", "button"]
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
canvas: {
|
|
805
|
+
attrs: {
|
|
806
|
+
width: null,
|
|
807
|
+
height: null
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
caption: S,
|
|
811
|
+
center: S,
|
|
812
|
+
cite: S,
|
|
813
|
+
code: S,
|
|
814
|
+
col: {
|
|
815
|
+
attrs: {
|
|
816
|
+
span: null
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
colgroup: {
|
|
820
|
+
attrs: {
|
|
821
|
+
span: null
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
command: {
|
|
825
|
+
attrs: {
|
|
826
|
+
type: ["command", "checkbox", "radio"],
|
|
827
|
+
label: null,
|
|
828
|
+
icon: null,
|
|
829
|
+
radiogroup: null,
|
|
830
|
+
command: null,
|
|
831
|
+
title: null,
|
|
832
|
+
disabled: ["disabled"],
|
|
833
|
+
checked: ["checked"]
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
data: {
|
|
837
|
+
attrs: {
|
|
838
|
+
value: null
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
datagrid: {
|
|
842
|
+
attrs: {
|
|
843
|
+
disabled: ["disabled"],
|
|
844
|
+
multiple: ["multiple"]
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
datalist: {
|
|
848
|
+
attrs: {
|
|
849
|
+
data: null
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
dd: S,
|
|
853
|
+
del: {
|
|
854
|
+
attrs: {
|
|
855
|
+
cite: null,
|
|
856
|
+
datetime: null
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
details: {
|
|
860
|
+
attrs: {
|
|
861
|
+
open: ["open"]
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
dfn: S,
|
|
865
|
+
dir: S,
|
|
866
|
+
div: S,
|
|
867
|
+
dl: S,
|
|
868
|
+
dt: S,
|
|
869
|
+
em: S,
|
|
870
|
+
embed: {
|
|
871
|
+
attrs: {
|
|
872
|
+
src: null,
|
|
873
|
+
type: null,
|
|
874
|
+
width: null,
|
|
875
|
+
height: null
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
eventsource: {
|
|
879
|
+
attrs: {
|
|
880
|
+
src: null
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
fieldset: {
|
|
884
|
+
attrs: {
|
|
885
|
+
disabled: ["disabled"],
|
|
886
|
+
form: null,
|
|
887
|
+
name: null
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
figcaption: S,
|
|
891
|
+
figure: S,
|
|
892
|
+
font: S,
|
|
893
|
+
footer: S,
|
|
894
|
+
form: {
|
|
895
|
+
attrs: {
|
|
896
|
+
action: null,
|
|
897
|
+
name: null,
|
|
898
|
+
"accept-charset": Charsets,
|
|
899
|
+
autocomplete: ["on", "off"],
|
|
900
|
+
enctype: Encs,
|
|
901
|
+
method: Methods,
|
|
902
|
+
novalidate: ["novalidate"],
|
|
903
|
+
target: Targets
|
|
904
|
+
}
|
|
905
|
+
},
|
|
906
|
+
frame: S,
|
|
907
|
+
frameset: S,
|
|
908
|
+
h1: S,
|
|
909
|
+
h2: S,
|
|
910
|
+
h3: S,
|
|
911
|
+
h4: S,
|
|
912
|
+
h5: S,
|
|
913
|
+
h6: S,
|
|
914
|
+
head: {
|
|
915
|
+
children: ["title", "base", "link", "style", "meta", "script", "noscript", "command"]
|
|
916
|
+
},
|
|
917
|
+
header: S,
|
|
918
|
+
hgroup: S,
|
|
919
|
+
hr: S,
|
|
920
|
+
html: {
|
|
921
|
+
attrs: {
|
|
922
|
+
manifest: null
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
i: S,
|
|
926
|
+
iframe: {
|
|
927
|
+
attrs: {
|
|
928
|
+
src: null,
|
|
929
|
+
srcdoc: null,
|
|
930
|
+
name: null,
|
|
931
|
+
width: null,
|
|
932
|
+
height: null,
|
|
933
|
+
sandbox: ["allow-top-navigation", "allow-same-origin", "allow-forms", "allow-scripts"],
|
|
934
|
+
seamless: ["seamless"]
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
img: {
|
|
938
|
+
attrs: {
|
|
939
|
+
alt: null,
|
|
940
|
+
src: null,
|
|
941
|
+
ismap: null,
|
|
942
|
+
usemap: null,
|
|
943
|
+
width: null,
|
|
944
|
+
height: null,
|
|
945
|
+
crossorigin: ["anonymous", "use-credentials"]
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
input: {
|
|
949
|
+
attrs: {
|
|
950
|
+
alt: null,
|
|
951
|
+
dirname: null,
|
|
952
|
+
form: null,
|
|
953
|
+
formaction: null,
|
|
954
|
+
height: null,
|
|
955
|
+
list: null,
|
|
956
|
+
max: null,
|
|
957
|
+
maxlength: null,
|
|
958
|
+
min: null,
|
|
959
|
+
name: null,
|
|
960
|
+
pattern: null,
|
|
961
|
+
placeholder: null,
|
|
962
|
+
size: null,
|
|
963
|
+
src: null,
|
|
964
|
+
step: null,
|
|
965
|
+
value: null,
|
|
966
|
+
width: null,
|
|
967
|
+
accept: ["audio/*", "video/*", "image/*"],
|
|
968
|
+
autocomplete: ["on", "off"],
|
|
969
|
+
autofocus: ["autofocus"],
|
|
970
|
+
checked: ["checked"],
|
|
971
|
+
disabled: ["disabled"],
|
|
972
|
+
formenctype: Encs,
|
|
973
|
+
formmethod: Methods,
|
|
974
|
+
formnovalidate: ["novalidate"],
|
|
975
|
+
formtarget: Targets,
|
|
976
|
+
multiple: ["multiple"],
|
|
977
|
+
readonly: ["readonly"],
|
|
978
|
+
required: ["required"],
|
|
979
|
+
type: ["hidden", "text", "search", "tel", "url", "email", "password", "datetime", "date", "month", "week", "time", "datetime-local", "number", "range", "color", "checkbox", "radio", "file", "submit", "image", "reset", "button"]
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
ins: {
|
|
983
|
+
attrs: {
|
|
984
|
+
cite: null,
|
|
985
|
+
datetime: null
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
kbd: S,
|
|
989
|
+
keygen: {
|
|
990
|
+
attrs: {
|
|
991
|
+
challenge: null,
|
|
992
|
+
form: null,
|
|
993
|
+
name: null,
|
|
994
|
+
autofocus: ["autofocus"],
|
|
995
|
+
disabled: ["disabled"],
|
|
996
|
+
keytype: ["RSA"]
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
label: {
|
|
1000
|
+
attrs: {
|
|
1001
|
+
for: null,
|
|
1002
|
+
form: null
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
legend: S,
|
|
1006
|
+
li: {
|
|
1007
|
+
attrs: {
|
|
1008
|
+
value: null
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
link: {
|
|
1012
|
+
attrs: {
|
|
1013
|
+
href: null,
|
|
1014
|
+
type: null,
|
|
1015
|
+
hreflang: null,
|
|
1016
|
+
media: null,
|
|
1017
|
+
sizes: ["all", "16x16", "16x16 32x32", "16x16 32x32 64x64"]
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
1020
|
+
map: {
|
|
1021
|
+
attrs: {
|
|
1022
|
+
name: null
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
mark: S,
|
|
1026
|
+
menu: {
|
|
1027
|
+
attrs: {
|
|
1028
|
+
label: null,
|
|
1029
|
+
type: ["list", "context", "toolbar"]
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
meta: {
|
|
1033
|
+
attrs: {
|
|
1034
|
+
content: null,
|
|
1035
|
+
charset: Charsets,
|
|
1036
|
+
name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
|
|
1037
|
+
"http-equiv": ["content-language", "content-type", "default-style", "refresh"]
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
meter: {
|
|
1041
|
+
attrs: {
|
|
1042
|
+
value: null,
|
|
1043
|
+
min: null,
|
|
1044
|
+
low: null,
|
|
1045
|
+
high: null,
|
|
1046
|
+
max: null,
|
|
1047
|
+
optimum: null
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
nav: S,
|
|
1051
|
+
noframes: S,
|
|
1052
|
+
noscript: S,
|
|
1053
|
+
object: {
|
|
1054
|
+
attrs: {
|
|
1055
|
+
data: null,
|
|
1056
|
+
type: null,
|
|
1057
|
+
name: null,
|
|
1058
|
+
usemap: null,
|
|
1059
|
+
form: null,
|
|
1060
|
+
width: null,
|
|
1061
|
+
height: null,
|
|
1062
|
+
typemustmatch: ["typemustmatch"]
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
ol: {
|
|
1066
|
+
attrs: {
|
|
1067
|
+
reversed: ["reversed"],
|
|
1068
|
+
start: null,
|
|
1069
|
+
type: ["1", "a", "A", "i", "I"]
|
|
1070
|
+
},
|
|
1071
|
+
children: ["li", "script", "template", "ul", "ol"]
|
|
1072
|
+
},
|
|
1073
|
+
optgroup: {
|
|
1074
|
+
attrs: {
|
|
1075
|
+
disabled: ["disabled"],
|
|
1076
|
+
label: null
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
option: {
|
|
1080
|
+
attrs: {
|
|
1081
|
+
disabled: ["disabled"],
|
|
1082
|
+
label: null,
|
|
1083
|
+
selected: ["selected"],
|
|
1084
|
+
value: null
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
output: {
|
|
1088
|
+
attrs: {
|
|
1089
|
+
for: null,
|
|
1090
|
+
form: null,
|
|
1091
|
+
name: null
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
p: S,
|
|
1095
|
+
param: {
|
|
1096
|
+
attrs: {
|
|
1097
|
+
name: null,
|
|
1098
|
+
value: null
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
pre: S,
|
|
1102
|
+
progress: {
|
|
1103
|
+
attrs: {
|
|
1104
|
+
value: null,
|
|
1105
|
+
max: null
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
q: {
|
|
1109
|
+
attrs: {
|
|
1110
|
+
cite: null
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
rp: S,
|
|
1114
|
+
rt: S,
|
|
1115
|
+
ruby: S,
|
|
1116
|
+
s: S,
|
|
1117
|
+
samp: S,
|
|
1118
|
+
script: {
|
|
1119
|
+
attrs: {
|
|
1120
|
+
type: ["text/javascript"],
|
|
1121
|
+
src: null,
|
|
1122
|
+
async: ["async"],
|
|
1123
|
+
defer: ["defer"],
|
|
1124
|
+
charset: Charsets
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
section: S,
|
|
1128
|
+
select: {
|
|
1129
|
+
attrs: {
|
|
1130
|
+
form: null,
|
|
1131
|
+
name: null,
|
|
1132
|
+
size: null,
|
|
1133
|
+
autofocus: ["autofocus"],
|
|
1134
|
+
disabled: ["disabled"],
|
|
1135
|
+
multiple: ["multiple"]
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
slot: {
|
|
1139
|
+
attrs: {
|
|
1140
|
+
name: null
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
small: S,
|
|
1144
|
+
source: {
|
|
1145
|
+
attrs: {
|
|
1146
|
+
src: null,
|
|
1147
|
+
type: null,
|
|
1148
|
+
media: null
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
span: S,
|
|
1152
|
+
strike: S,
|
|
1153
|
+
strong: S,
|
|
1154
|
+
style: {
|
|
1155
|
+
attrs: {
|
|
1156
|
+
type: ["text/css"],
|
|
1157
|
+
media: null,
|
|
1158
|
+
scoped: null
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
sub: S,
|
|
1162
|
+
summary: S,
|
|
1163
|
+
sup: S,
|
|
1164
|
+
table: S,
|
|
1165
|
+
tbody: S,
|
|
1166
|
+
td: {
|
|
1167
|
+
attrs: {
|
|
1168
|
+
colspan: null,
|
|
1169
|
+
rowspan: null,
|
|
1170
|
+
headers: null
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
template: S,
|
|
1174
|
+
textarea: {
|
|
1175
|
+
attrs: {
|
|
1176
|
+
dirname: null,
|
|
1177
|
+
form: null,
|
|
1178
|
+
maxlength: null,
|
|
1179
|
+
name: null,
|
|
1180
|
+
placeholder: null,
|
|
1181
|
+
rows: null,
|
|
1182
|
+
cols: null,
|
|
1183
|
+
autofocus: ["autofocus"],
|
|
1184
|
+
disabled: ["disabled"],
|
|
1185
|
+
readonly: ["readonly"],
|
|
1186
|
+
required: ["required"],
|
|
1187
|
+
wrap: ["soft", "hard"]
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
tfoot: S,
|
|
1191
|
+
th: {
|
|
1192
|
+
attrs: {
|
|
1193
|
+
colspan: null,
|
|
1194
|
+
rowspan: null,
|
|
1195
|
+
headers: null,
|
|
1196
|
+
scope: ["row", "col", "rowgroup", "colgroup"]
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
thead: S,
|
|
1200
|
+
time: {
|
|
1201
|
+
attrs: {
|
|
1202
|
+
datetime: null
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
title: S,
|
|
1206
|
+
tr: S,
|
|
1207
|
+
track: {
|
|
1208
|
+
attrs: {
|
|
1209
|
+
src: null,
|
|
1210
|
+
label: null,
|
|
1211
|
+
default: null,
|
|
1212
|
+
kind: ["subtitles", "captions", "descriptions", "chapters", "metadata"],
|
|
1213
|
+
srclang: null
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
tt: S,
|
|
1217
|
+
u: S,
|
|
1218
|
+
ul: {
|
|
1219
|
+
children: ["li", "script", "template", "ul", "ol"]
|
|
1220
|
+
},
|
|
1221
|
+
var: S,
|
|
1222
|
+
video: {
|
|
1223
|
+
attrs: {
|
|
1224
|
+
src: null,
|
|
1225
|
+
poster: null,
|
|
1226
|
+
width: null,
|
|
1227
|
+
height: null,
|
|
1228
|
+
crossorigin: ["anonymous", "use-credentials"],
|
|
1229
|
+
preload: ["auto", "metadata", "none"],
|
|
1230
|
+
autoplay: ["autoplay"],
|
|
1231
|
+
mediagroup: ["movie"],
|
|
1232
|
+
muted: ["muted"],
|
|
1233
|
+
controls: ["controls"]
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
wbr: S
|
|
1237
|
+
};
|
|
1238
|
+
const GlobalAttrs = {
|
|
1239
|
+
accesskey: null,
|
|
1240
|
+
class: null,
|
|
1241
|
+
contenteditable: Bool,
|
|
1242
|
+
contextmenu: null,
|
|
1243
|
+
dir: ["ltr", "rtl", "auto"],
|
|
1244
|
+
draggable: ["true", "false", "auto"],
|
|
1245
|
+
dropzone: ["copy", "move", "link", "string:", "file:"],
|
|
1246
|
+
hidden: ["hidden"],
|
|
1247
|
+
id: null,
|
|
1248
|
+
inert: ["inert"],
|
|
1249
|
+
itemid: null,
|
|
1250
|
+
itemprop: null,
|
|
1251
|
+
itemref: null,
|
|
1252
|
+
itemscope: ["itemscope"],
|
|
1253
|
+
itemtype: null,
|
|
1254
|
+
lang: ["ar", "bn", "de", "en-GB", "en-US", "es", "fr", "hi", "id", "ja", "pa", "pt", "ru", "tr", "zh"],
|
|
1255
|
+
spellcheck: Bool,
|
|
1256
|
+
autocorrect: Bool,
|
|
1257
|
+
autocapitalize: Bool,
|
|
1258
|
+
style: null,
|
|
1259
|
+
tabindex: null,
|
|
1260
|
+
title: null,
|
|
1261
|
+
translate: ["yes", "no"],
|
|
1262
|
+
onclick: null,
|
|
1263
|
+
rel: ["stylesheet", "alternate", "author", "bookmark", "help", "license", "next", "nofollow", "noreferrer", "prefetch", "prev", "search", "tag"],
|
|
1264
|
+
role: /*@__PURE__*/"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),
|
|
1265
|
+
"aria-activedescendant": null,
|
|
1266
|
+
"aria-atomic": Bool,
|
|
1267
|
+
"aria-autocomplete": ["inline", "list", "both", "none"],
|
|
1268
|
+
"aria-busy": Bool,
|
|
1269
|
+
"aria-checked": ["true", "false", "mixed", "undefined"],
|
|
1270
|
+
"aria-controls": null,
|
|
1271
|
+
"aria-describedby": null,
|
|
1272
|
+
"aria-disabled": Bool,
|
|
1273
|
+
"aria-dropeffect": null,
|
|
1274
|
+
"aria-expanded": ["true", "false", "undefined"],
|
|
1275
|
+
"aria-flowto": null,
|
|
1276
|
+
"aria-grabbed": ["true", "false", "undefined"],
|
|
1277
|
+
"aria-haspopup": Bool,
|
|
1278
|
+
"aria-hidden": Bool,
|
|
1279
|
+
"aria-invalid": ["true", "false", "grammar", "spelling"],
|
|
1280
|
+
"aria-label": null,
|
|
1281
|
+
"aria-labelledby": null,
|
|
1282
|
+
"aria-level": null,
|
|
1283
|
+
"aria-live": ["off", "polite", "assertive"],
|
|
1284
|
+
"aria-multiline": Bool,
|
|
1285
|
+
"aria-multiselectable": Bool,
|
|
1286
|
+
"aria-owns": null,
|
|
1287
|
+
"aria-posinset": null,
|
|
1288
|
+
"aria-pressed": ["true", "false", "mixed", "undefined"],
|
|
1289
|
+
"aria-readonly": Bool,
|
|
1290
|
+
"aria-relevant": null,
|
|
1291
|
+
"aria-required": Bool,
|
|
1292
|
+
"aria-selected": ["true", "false", "undefined"],
|
|
1293
|
+
"aria-setsize": null,
|
|
1294
|
+
"aria-sort": ["ascending", "descending", "none", "other"],
|
|
1295
|
+
"aria-valuemax": null,
|
|
1296
|
+
"aria-valuemin": null,
|
|
1297
|
+
"aria-valuenow": null,
|
|
1298
|
+
"aria-valuetext": null
|
|
1299
|
+
};
|
|
1300
|
+
class Schema {
|
|
1301
|
+
constructor(extraTags, extraAttrs) {
|
|
1302
|
+
this.tags = Object.assign(Object.assign({}, Tags), extraTags);
|
|
1303
|
+
this.globalAttrs = Object.assign(Object.assign({}, GlobalAttrs), extraAttrs);
|
|
1304
|
+
this.allTags = Object.keys(this.tags);
|
|
1305
|
+
this.globalAttrNames = Object.keys(this.globalAttrs);
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
Schema.default = /*@__PURE__*/new Schema();
|
|
1309
|
+
function elementName(doc, tree, max = doc.length) {
|
|
1310
|
+
if (!tree) return "";
|
|
1311
|
+
let tag = tree.firstChild;
|
|
1312
|
+
let name = tag && tag.getChild("TagName");
|
|
1313
|
+
return name ? doc.sliceString(name.from, Math.min(name.to, max)) : "";
|
|
1314
|
+
}
|
|
1315
|
+
function findParentElement(tree, skip = false) {
|
|
1316
|
+
for (let cur = tree.parent; cur; cur = cur.parent) if (cur.name == "Element") {
|
|
1317
|
+
if (skip) skip = false;else return cur;
|
|
1318
|
+
}
|
|
1319
|
+
return null;
|
|
1320
|
+
}
|
|
1321
|
+
function allowedChildren(doc, tree, schema) {
|
|
1322
|
+
let parentInfo = schema.tags[elementName(doc, findParentElement(tree, true))];
|
|
1323
|
+
return (parentInfo === null || parentInfo === void 0 ? void 0 : parentInfo.children) || schema.allTags;
|
|
1324
|
+
}
|
|
1325
|
+
function openTags(doc, tree) {
|
|
1326
|
+
let open = [];
|
|
1327
|
+
for (let parent = tree; parent = findParentElement(parent);) {
|
|
1328
|
+
let tagName = elementName(doc, parent);
|
|
1329
|
+
if (tagName && parent.lastChild.name == "CloseTag") break;
|
|
1330
|
+
if (tagName && open.indexOf(tagName) < 0 && (tree.name == "EndTag" || tree.from >= parent.firstChild.to)) open.push(tagName);
|
|
1331
|
+
}
|
|
1332
|
+
return open;
|
|
1333
|
+
}
|
|
1334
|
+
const identifier = /^[:\-\.\w\u00b7-\uffff]*$/;
|
|
1335
|
+
function completeTag(state, schema, tree, from, to) {
|
|
1336
|
+
let end = /\s*>/.test(state.sliceDoc(to, to + 5)) ? "" : ">";
|
|
1337
|
+
return {
|
|
1338
|
+
from,
|
|
1339
|
+
to,
|
|
1340
|
+
options: allowedChildren(state.doc, tree, schema).map(tagName => ({
|
|
1341
|
+
label: tagName,
|
|
1342
|
+
type: "type"
|
|
1343
|
+
})).concat(openTags(state.doc, tree).map((tag, i) => ({
|
|
1344
|
+
label: "/" + tag,
|
|
1345
|
+
apply: "/" + tag + end,
|
|
1346
|
+
type: "type",
|
|
1347
|
+
boost: 99 - i
|
|
1348
|
+
}))),
|
|
1349
|
+
validFor: /^\/?[:\-\.\w\u00b7-\uffff]*$/
|
|
1350
|
+
};
|
|
1351
|
+
}
|
|
1352
|
+
function completeCloseTag(state, tree, from, to) {
|
|
1353
|
+
let end = /\s*>/.test(state.sliceDoc(to, to + 5)) ? "" : ">";
|
|
1354
|
+
return {
|
|
1355
|
+
from,
|
|
1356
|
+
to,
|
|
1357
|
+
options: openTags(state.doc, tree).map((tag, i) => ({
|
|
1358
|
+
label: tag,
|
|
1359
|
+
apply: tag + end,
|
|
1360
|
+
type: "type",
|
|
1361
|
+
boost: 99 - i
|
|
1362
|
+
})),
|
|
1363
|
+
validFor: identifier
|
|
1364
|
+
};
|
|
1365
|
+
}
|
|
1366
|
+
function completeStartTag(state, schema, tree, pos) {
|
|
1367
|
+
let options = [],
|
|
1368
|
+
level = 0;
|
|
1369
|
+
for (let tagName of allowedChildren(state.doc, tree, schema)) options.push({
|
|
1370
|
+
label: "<" + tagName,
|
|
1371
|
+
type: "type"
|
|
1372
|
+
});
|
|
1373
|
+
for (let open of openTags(state.doc, tree)) options.push({
|
|
1374
|
+
label: "</" + open + ">",
|
|
1375
|
+
type: "type",
|
|
1376
|
+
boost: 99 - level++
|
|
1377
|
+
});
|
|
1378
|
+
return {
|
|
1379
|
+
from: pos,
|
|
1380
|
+
to: pos,
|
|
1381
|
+
options,
|
|
1382
|
+
validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/
|
|
1383
|
+
};
|
|
1384
|
+
}
|
|
1385
|
+
function completeAttrName(state, schema, tree, from, to) {
|
|
1386
|
+
let elt = findParentElement(tree),
|
|
1387
|
+
info = elt ? schema.tags[elementName(state.doc, elt)] : null;
|
|
1388
|
+
let names = info && info.attrs ? Object.keys(info.attrs).concat(schema.globalAttrNames) : schema.globalAttrNames;
|
|
1389
|
+
return {
|
|
1390
|
+
from,
|
|
1391
|
+
to,
|
|
1392
|
+
options: names.map(attrName => ({
|
|
1393
|
+
label: attrName,
|
|
1394
|
+
type: "property"
|
|
1395
|
+
})),
|
|
1396
|
+
validFor: identifier
|
|
1397
|
+
};
|
|
1398
|
+
}
|
|
1399
|
+
function completeAttrValue(state, schema, tree, from, to) {
|
|
1400
|
+
var _a;
|
|
1401
|
+
let nameNode = (_a = tree.parent) === null || _a === void 0 ? void 0 : _a.getChild("AttributeName");
|
|
1402
|
+
let options = [],
|
|
1403
|
+
token = undefined;
|
|
1404
|
+
if (nameNode) {
|
|
1405
|
+
let attrName = state.sliceDoc(nameNode.from, nameNode.to);
|
|
1406
|
+
let attrs = schema.globalAttrs[attrName];
|
|
1407
|
+
if (!attrs) {
|
|
1408
|
+
let elt = findParentElement(tree),
|
|
1409
|
+
info = elt ? schema.tags[elementName(state.doc, elt)] : null;
|
|
1410
|
+
attrs = (info === null || info === void 0 ? void 0 : info.attrs) && info.attrs[attrName];
|
|
1411
|
+
}
|
|
1412
|
+
if (attrs) {
|
|
1413
|
+
let base = state.sliceDoc(from, to).toLowerCase(),
|
|
1414
|
+
quoteStart = '"',
|
|
1415
|
+
quoteEnd = '"';
|
|
1416
|
+
if (/^['"]/.test(base)) {
|
|
1417
|
+
token = base[0] == '"' ? /^[^"]*$/ : /^[^']*$/;
|
|
1418
|
+
quoteStart = "";
|
|
1419
|
+
quoteEnd = state.sliceDoc(to, to + 1) == base[0] ? "" : base[0];
|
|
1420
|
+
base = base.slice(1);
|
|
1421
|
+
from++;
|
|
1422
|
+
} else {
|
|
1423
|
+
token = /^[^\s<>='"]*$/;
|
|
1424
|
+
}
|
|
1425
|
+
for (let value of attrs) options.push({
|
|
1426
|
+
label: value,
|
|
1427
|
+
apply: quoteStart + value + quoteEnd,
|
|
1428
|
+
type: "constant"
|
|
1429
|
+
});
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
return {
|
|
1433
|
+
from,
|
|
1434
|
+
to,
|
|
1435
|
+
options,
|
|
1436
|
+
validFor: token
|
|
1437
|
+
};
|
|
1438
|
+
}
|
|
1439
|
+
function htmlCompletionFor(schema, context) {
|
|
1440
|
+
let {
|
|
1441
|
+
state,
|
|
1442
|
+
pos
|
|
1443
|
+
} = context,
|
|
1444
|
+
around = syntaxTree(state).resolveInner(pos),
|
|
1445
|
+
tree = around.resolve(pos, -1);
|
|
1446
|
+
for (let scan = pos, before; around == tree && (before = tree.childBefore(scan));) {
|
|
1447
|
+
let last = before.lastChild;
|
|
1448
|
+
if (!last || !last.type.isError || last.from < last.to) break;
|
|
1449
|
+
around = tree = before;
|
|
1450
|
+
scan = last.from;
|
|
1451
|
+
}
|
|
1452
|
+
if (tree.name == "TagName") {
|
|
1453
|
+
return tree.parent && /CloseTag$/.test(tree.parent.name) ? completeCloseTag(state, tree, tree.from, pos) : completeTag(state, schema, tree, tree.from, pos);
|
|
1454
|
+
} else if (tree.name == "StartTag") {
|
|
1455
|
+
return completeTag(state, schema, tree, pos, pos);
|
|
1456
|
+
} else if (tree.name == "StartCloseTag" || tree.name == "IncompleteCloseTag") {
|
|
1457
|
+
return completeCloseTag(state, tree, pos, pos);
|
|
1458
|
+
} else if (context.explicit && (tree.name == "OpenTag" || tree.name == "SelfClosingTag") || tree.name == "AttributeName") {
|
|
1459
|
+
return completeAttrName(state, schema, tree, tree.name == "AttributeName" ? tree.from : pos, pos);
|
|
1460
|
+
} else if (tree.name == "Is" || tree.name == "AttributeValue" || tree.name == "UnquotedAttributeValue") {
|
|
1461
|
+
return completeAttrValue(state, schema, tree, tree.name == "Is" ? pos : tree.from, pos);
|
|
1462
|
+
} else if (context.explicit && (around.name == "Element" || around.name == "Text" || around.name == "Document")) {
|
|
1463
|
+
return completeStartTag(state, schema, tree, pos);
|
|
1464
|
+
} else {
|
|
1465
|
+
return null;
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
Create a completion source for HTML extended with additional tags
|
|
1470
|
+
or attributes.
|
|
1471
|
+
*/
|
|
1472
|
+
function htmlCompletionSourceWith(config) {
|
|
1473
|
+
let {
|
|
1474
|
+
extraTags,
|
|
1475
|
+
extraGlobalAttributes: extraAttrs
|
|
1476
|
+
} = config;
|
|
1477
|
+
let schema = extraAttrs || extraTags ? new Schema(extraTags, extraAttrs) : Schema.default;
|
|
1478
|
+
return context => htmlCompletionFor(schema, context);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
A language provider based on the [Lezer HTML
|
|
1483
|
+
parser](https://github.com/lezer-parser/html), extended with the
|
|
1484
|
+
JavaScript and CSS parsers to parse the content of `<script>` and
|
|
1485
|
+
`<style>` tags.
|
|
1486
|
+
*/
|
|
1487
|
+
const htmlLanguage = /*@__PURE__*/LRLanguage.define({
|
|
1488
|
+
parser: /*@__PURE__*/parser$3.configure({
|
|
1489
|
+
props: [/*@__PURE__*/indentNodeProp.add({
|
|
1490
|
+
Element(context) {
|
|
1491
|
+
let after = /^(\s*)(<\/)?/.exec(context.textAfter);
|
|
1492
|
+
if (context.node.to <= context.pos + after[0].length) return context.continue();
|
|
1493
|
+
return context.lineIndent(context.node.from) + (after[2] ? 0 : context.unit);
|
|
1494
|
+
},
|
|
1495
|
+
"OpenTag CloseTag SelfClosingTag"(context) {
|
|
1496
|
+
return context.column(context.node.from) + context.unit;
|
|
1497
|
+
},
|
|
1498
|
+
Document(context) {
|
|
1499
|
+
if (context.pos + /\s*/.exec(context.textAfter)[0].length < context.node.to) return context.continue();
|
|
1500
|
+
let endElt = null,
|
|
1501
|
+
close;
|
|
1502
|
+
for (let cur = context.node;;) {
|
|
1503
|
+
let last = cur.lastChild;
|
|
1504
|
+
if (!last || last.name != "Element" || last.to != cur.to) break;
|
|
1505
|
+
endElt = cur = last;
|
|
1506
|
+
}
|
|
1507
|
+
if (endElt && !((close = endElt.lastChild) && (close.name == "CloseTag" || close.name == "SelfClosingTag"))) return context.lineIndent(endElt.from) + context.unit;
|
|
1508
|
+
return null;
|
|
1509
|
+
}
|
|
1510
|
+
}), /*@__PURE__*/foldNodeProp.add({
|
|
1511
|
+
Element(node) {
|
|
1512
|
+
let first = node.firstChild,
|
|
1513
|
+
last = node.lastChild;
|
|
1514
|
+
if (!first || first.name != "OpenTag") return null;
|
|
1515
|
+
return {
|
|
1516
|
+
from: first.to,
|
|
1517
|
+
to: last.name == "CloseTag" ? last.from : node.to
|
|
1518
|
+
};
|
|
1519
|
+
}
|
|
1520
|
+
})],
|
|
1521
|
+
wrap: /*@__PURE__*/configureNesting([{
|
|
1522
|
+
tag: "script",
|
|
1523
|
+
attrs(attrs) {
|
|
1524
|
+
return !attrs.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(attrs.type);
|
|
1525
|
+
},
|
|
1526
|
+
parser: javascriptLanguage.parser
|
|
1527
|
+
}, {
|
|
1528
|
+
tag: "style",
|
|
1529
|
+
attrs(attrs) {
|
|
1530
|
+
return (!attrs.lang || attrs.lang == "css") && (!attrs.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(attrs.type));
|
|
1531
|
+
},
|
|
1532
|
+
parser: cssLanguage.parser
|
|
1533
|
+
}])
|
|
1534
|
+
}),
|
|
1535
|
+
languageData: {
|
|
1536
|
+
commentTokens: {
|
|
1537
|
+
block: {
|
|
1538
|
+
open: "<!--",
|
|
1539
|
+
close: "-->"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
indentOnInput: /^\s*<\/\w+\W$/,
|
|
1543
|
+
wordChars: "-._"
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
/**
|
|
1547
|
+
Language support for HTML, including
|
|
1548
|
+
[`htmlCompletion`](https://codemirror.net/6/docs/ref/#lang-html.htmlCompletion) and JavaScript and
|
|
1549
|
+
CSS support extensions.
|
|
1550
|
+
*/
|
|
1551
|
+
function html(config = {}) {
|
|
1552
|
+
let lang = htmlLanguage;
|
|
1553
|
+
if (config.matchClosingTags === false) lang = lang.configure({
|
|
1554
|
+
dialect: "noMatch"
|
|
1555
|
+
});
|
|
1556
|
+
return new LanguageSupport(lang, [htmlLanguage.data.of({
|
|
1557
|
+
autocomplete: htmlCompletionSourceWith(config)
|
|
1558
|
+
}), config.autoCloseTags !== false ? autoCloseTags : [], javascript().support, css().support]);
|
|
1559
|
+
}
|
|
1560
|
+
/**
|
|
1561
|
+
Extension that will automatically insert close tags when a `>` or
|
|
1562
|
+
`/` is typed.
|
|
1563
|
+
*/
|
|
1564
|
+
const autoCloseTags = /*@__PURE__*/EditorView.inputHandler.of((view, from, to, text) => {
|
|
1565
|
+
if (view.composing || view.state.readOnly || from != to || text != ">" && text != "/" || !htmlLanguage.isActiveAt(view.state, from, -1)) return false;
|
|
1566
|
+
let {
|
|
1567
|
+
state
|
|
1568
|
+
} = view;
|
|
1569
|
+
let changes = state.changeByRange(range => {
|
|
1570
|
+
var _a, _b, _c;
|
|
1571
|
+
let {
|
|
1572
|
+
head
|
|
1573
|
+
} = range,
|
|
1574
|
+
around = syntaxTree(state).resolveInner(head, -1),
|
|
1575
|
+
name;
|
|
1576
|
+
if (around.name == "TagName" || around.name == "StartTag") around = around.parent;
|
|
1577
|
+
if (text == ">" && around.name == "OpenTag") {
|
|
1578
|
+
if (((_b = (_a = around.parent) === null || _a === void 0 ? void 0 : _a.lastChild) === null || _b === void 0 ? void 0 : _b.name) != "CloseTag" && (name = elementName(state.doc, around.parent, head))) return {
|
|
1579
|
+
range: EditorSelection.cursor(head + 1),
|
|
1580
|
+
changes: {
|
|
1581
|
+
from: head,
|
|
1582
|
+
insert: `></${name}>`
|
|
1583
|
+
}
|
|
1584
|
+
};
|
|
1585
|
+
} else if (text == "/" && around.name == "OpenTag") {
|
|
1586
|
+
let empty = around.parent,
|
|
1587
|
+
base = empty === null || empty === void 0 ? void 0 : empty.parent;
|
|
1588
|
+
if (empty.from == head - 1 && ((_c = base.lastChild) === null || _c === void 0 ? void 0 : _c.name) != "CloseTag" && (name = elementName(state.doc, base, head))) {
|
|
1589
|
+
let insert = `/${name}>`;
|
|
1590
|
+
return {
|
|
1591
|
+
range: EditorSelection.cursor(head + insert.length),
|
|
1592
|
+
changes: {
|
|
1593
|
+
from: head,
|
|
1594
|
+
insert
|
|
1595
|
+
}
|
|
1596
|
+
};
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
return {
|
|
1600
|
+
range
|
|
1601
|
+
};
|
|
1602
|
+
});
|
|
1603
|
+
if (changes.changes.empty) return false;
|
|
1604
|
+
view.dispatch(changes, {
|
|
1605
|
+
userEvent: "input.type",
|
|
1606
|
+
scrollIntoView: true
|
|
1607
|
+
});
|
|
1608
|
+
return true;
|
|
1609
|
+
});
|
|
1610
|
+
|
|
1611
|
+
const jsonHighlighting = styleTags({
|
|
1612
|
+
String: tags$1.string,
|
|
1613
|
+
Number: tags$1.number,
|
|
1614
|
+
"True False": tags$1.bool,
|
|
1615
|
+
PropertyName: tags$1.propertyName,
|
|
1616
|
+
Null: tags$1.null,
|
|
1617
|
+
",": tags$1.separator,
|
|
1618
|
+
"[ ]": tags$1.squareBracket,
|
|
1619
|
+
"{ }": tags$1.brace
|
|
1620
|
+
});
|
|
1621
|
+
|
|
1622
|
+
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
1623
|
+
const parser$1 = LRParser.deserialize({
|
|
1624
|
+
version: 14,
|
|
1625
|
+
states: "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",
|
|
1626
|
+
stateData: "#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",
|
|
1627
|
+
goto: "!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",
|
|
1628
|
+
nodeNames: "⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",
|
|
1629
|
+
maxTerm: 25,
|
|
1630
|
+
nodeProps: [["openedBy", 7, "{", 12, "["], ["closedBy", 8, "}", 13, "]"]],
|
|
1631
|
+
propSources: [jsonHighlighting],
|
|
1632
|
+
skippedNodes: [0],
|
|
1633
|
+
repeatNodeCount: 2,
|
|
1634
|
+
tokenData: "(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",
|
|
1635
|
+
tokenizers: [0],
|
|
1636
|
+
topRules: {
|
|
1637
|
+
"JsonText": [0, 1]
|
|
1638
|
+
},
|
|
1639
|
+
tokenPrec: 0
|
|
1640
|
+
});
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
A language provider that provides JSON parsing.
|
|
1644
|
+
*/
|
|
1645
|
+
const jsonLanguage = /*@__PURE__*/LRLanguage.define({
|
|
1646
|
+
parser: /*@__PURE__*/parser$1.configure({
|
|
1647
|
+
props: [/*@__PURE__*/indentNodeProp.add({
|
|
1648
|
+
Object: /*@__PURE__*/continuedIndent({
|
|
1649
|
+
except: /^\s*\}/
|
|
1650
|
+
}),
|
|
1651
|
+
Array: /*@__PURE__*/continuedIndent({
|
|
1652
|
+
except: /^\s*\]/
|
|
1653
|
+
})
|
|
1654
|
+
}), /*@__PURE__*/foldNodeProp.add({
|
|
1655
|
+
"Object Array": foldInside
|
|
1656
|
+
})]
|
|
1657
|
+
}),
|
|
1658
|
+
languageData: {
|
|
1659
|
+
closeBrackets: {
|
|
1660
|
+
brackets: ["[", "{", '"']
|
|
1661
|
+
},
|
|
1662
|
+
indentOnInput: /^\s*[\}\]]$/
|
|
1663
|
+
}
|
|
1664
|
+
});
|
|
1665
|
+
/**
|
|
1666
|
+
JSON language support.
|
|
1667
|
+
*/
|
|
1668
|
+
function json() {
|
|
1669
|
+
return new LanguageSupport(jsonLanguage);
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
class CompositeBlock {
|
|
1673
|
+
constructor(type,
|
|
1674
|
+
// Used for indentation in list items, markup character in lists
|
|
1675
|
+
value, from, hash, end, children, positions) {
|
|
1676
|
+
this.type = type;
|
|
1677
|
+
this.value = value;
|
|
1678
|
+
this.from = from;
|
|
1679
|
+
this.hash = hash;
|
|
1680
|
+
this.end = end;
|
|
1681
|
+
this.children = children;
|
|
1682
|
+
this.positions = positions;
|
|
1683
|
+
this.hashProp = [[NodeProp.contextHash, hash]];
|
|
1684
|
+
}
|
|
1685
|
+
static create(type, value, from, parentHash, end) {
|
|
1686
|
+
let hash = parentHash + (parentHash << 8) + type + (value << 4) | 0;
|
|
1687
|
+
return new CompositeBlock(type, value, from, hash, end, [], []);
|
|
1688
|
+
}
|
|
1689
|
+
addChild(child, pos) {
|
|
1690
|
+
if (child.prop(NodeProp.contextHash) != this.hash) child = new Tree(child.type, child.children, child.positions, child.length, this.hashProp);
|
|
1691
|
+
this.children.push(child);
|
|
1692
|
+
this.positions.push(pos);
|
|
1693
|
+
}
|
|
1694
|
+
toTree(nodeSet, end = this.end) {
|
|
1695
|
+
let last = this.children.length - 1;
|
|
1696
|
+
if (last >= 0) end = Math.max(end, this.positions[last] + this.children[last].length + this.from);
|
|
1697
|
+
let tree = new Tree(nodeSet.types[this.type], this.children, this.positions, end - this.from).balance({
|
|
1698
|
+
makeTree: (children, positions, length) => new Tree(NodeType.none, children, positions, length, this.hashProp)
|
|
1699
|
+
});
|
|
1700
|
+
return tree;
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
var Type;
|
|
1704
|
+
(function (Type) {
|
|
1705
|
+
Type[Type["Document"] = 1] = "Document";
|
|
1706
|
+
Type[Type["CodeBlock"] = 2] = "CodeBlock";
|
|
1707
|
+
Type[Type["FencedCode"] = 3] = "FencedCode";
|
|
1708
|
+
Type[Type["Blockquote"] = 4] = "Blockquote";
|
|
1709
|
+
Type[Type["HorizontalRule"] = 5] = "HorizontalRule";
|
|
1710
|
+
Type[Type["BulletList"] = 6] = "BulletList";
|
|
1711
|
+
Type[Type["OrderedList"] = 7] = "OrderedList";
|
|
1712
|
+
Type[Type["ListItem"] = 8] = "ListItem";
|
|
1713
|
+
Type[Type["ATXHeading1"] = 9] = "ATXHeading1";
|
|
1714
|
+
Type[Type["ATXHeading2"] = 10] = "ATXHeading2";
|
|
1715
|
+
Type[Type["ATXHeading3"] = 11] = "ATXHeading3";
|
|
1716
|
+
Type[Type["ATXHeading4"] = 12] = "ATXHeading4";
|
|
1717
|
+
Type[Type["ATXHeading5"] = 13] = "ATXHeading5";
|
|
1718
|
+
Type[Type["ATXHeading6"] = 14] = "ATXHeading6";
|
|
1719
|
+
Type[Type["SetextHeading1"] = 15] = "SetextHeading1";
|
|
1720
|
+
Type[Type["SetextHeading2"] = 16] = "SetextHeading2";
|
|
1721
|
+
Type[Type["HTMLBlock"] = 17] = "HTMLBlock";
|
|
1722
|
+
Type[Type["LinkReference"] = 18] = "LinkReference";
|
|
1723
|
+
Type[Type["Paragraph"] = 19] = "Paragraph";
|
|
1724
|
+
Type[Type["CommentBlock"] = 20] = "CommentBlock";
|
|
1725
|
+
Type[Type["ProcessingInstructionBlock"] = 21] = "ProcessingInstructionBlock";
|
|
1726
|
+
// Inline
|
|
1727
|
+
Type[Type["Escape"] = 22] = "Escape";
|
|
1728
|
+
Type[Type["Entity"] = 23] = "Entity";
|
|
1729
|
+
Type[Type["HardBreak"] = 24] = "HardBreak";
|
|
1730
|
+
Type[Type["Emphasis"] = 25] = "Emphasis";
|
|
1731
|
+
Type[Type["StrongEmphasis"] = 26] = "StrongEmphasis";
|
|
1732
|
+
Type[Type["Link"] = 27] = "Link";
|
|
1733
|
+
Type[Type["Image"] = 28] = "Image";
|
|
1734
|
+
Type[Type["InlineCode"] = 29] = "InlineCode";
|
|
1735
|
+
Type[Type["HTMLTag"] = 30] = "HTMLTag";
|
|
1736
|
+
Type[Type["Comment"] = 31] = "Comment";
|
|
1737
|
+
Type[Type["ProcessingInstruction"] = 32] = "ProcessingInstruction";
|
|
1738
|
+
Type[Type["URL"] = 33] = "URL";
|
|
1739
|
+
// Smaller tokens
|
|
1740
|
+
Type[Type["HeaderMark"] = 34] = "HeaderMark";
|
|
1741
|
+
Type[Type["QuoteMark"] = 35] = "QuoteMark";
|
|
1742
|
+
Type[Type["ListMark"] = 36] = "ListMark";
|
|
1743
|
+
Type[Type["LinkMark"] = 37] = "LinkMark";
|
|
1744
|
+
Type[Type["EmphasisMark"] = 38] = "EmphasisMark";
|
|
1745
|
+
Type[Type["CodeMark"] = 39] = "CodeMark";
|
|
1746
|
+
Type[Type["CodeText"] = 40] = "CodeText";
|
|
1747
|
+
Type[Type["CodeInfo"] = 41] = "CodeInfo";
|
|
1748
|
+
Type[Type["LinkTitle"] = 42] = "LinkTitle";
|
|
1749
|
+
Type[Type["LinkLabel"] = 43] = "LinkLabel";
|
|
1750
|
+
})(Type || (Type = {}));
|
|
1751
|
+
/// Data structure used to accumulate a block's content during [leaf
|
|
1752
|
+
/// block parsing](#BlockParser.leaf).
|
|
1753
|
+
class LeafBlock {
|
|
1754
|
+
/// @internal
|
|
1755
|
+
constructor(
|
|
1756
|
+
/// The start position of the block.
|
|
1757
|
+
start,
|
|
1758
|
+
/// The block's text content.
|
|
1759
|
+
content) {
|
|
1760
|
+
this.start = start;
|
|
1761
|
+
this.content = content;
|
|
1762
|
+
/// @internal
|
|
1763
|
+
this.marks = [];
|
|
1764
|
+
/// The block parsers active for this block.
|
|
1765
|
+
this.parsers = [];
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
/// Data structure used during block-level per-line parsing.
|
|
1769
|
+
class Line {
|
|
1770
|
+
constructor() {
|
|
1771
|
+
/// The line's full text.
|
|
1772
|
+
this.text = "";
|
|
1773
|
+
/// The base indent provided by the composite contexts (that have
|
|
1774
|
+
/// been handled so far).
|
|
1775
|
+
this.baseIndent = 0;
|
|
1776
|
+
/// The string position corresponding to the base indent.
|
|
1777
|
+
this.basePos = 0;
|
|
1778
|
+
/// The number of contexts handled @internal
|
|
1779
|
+
this.depth = 0;
|
|
1780
|
+
/// Any markers (i.e. block quote markers) parsed for the contexts. @internal
|
|
1781
|
+
this.markers = [];
|
|
1782
|
+
/// The position of the next non-whitespace character beyond any
|
|
1783
|
+
/// list, blockquote, or other composite block markers.
|
|
1784
|
+
this.pos = 0;
|
|
1785
|
+
/// The column of the next non-whitespace character.
|
|
1786
|
+
this.indent = 0;
|
|
1787
|
+
/// The character code of the character after `pos`.
|
|
1788
|
+
this.next = -1;
|
|
1789
|
+
}
|
|
1790
|
+
/// @internal
|
|
1791
|
+
forward() {
|
|
1792
|
+
if (this.basePos > this.pos) this.forwardInner();
|
|
1793
|
+
}
|
|
1794
|
+
/// @internal
|
|
1795
|
+
forwardInner() {
|
|
1796
|
+
let newPos = this.skipSpace(this.basePos);
|
|
1797
|
+
this.indent = this.countIndent(newPos, this.pos, this.indent);
|
|
1798
|
+
this.pos = newPos;
|
|
1799
|
+
this.next = newPos == this.text.length ? -1 : this.text.charCodeAt(newPos);
|
|
1800
|
+
}
|
|
1801
|
+
/// Skip whitespace after the given position, return the position of
|
|
1802
|
+
/// the next non-space character or the end of the line if there's
|
|
1803
|
+
/// only space after `from`.
|
|
1804
|
+
skipSpace(from) {
|
|
1805
|
+
return skipSpace(this.text, from);
|
|
1806
|
+
}
|
|
1807
|
+
/// @internal
|
|
1808
|
+
reset(text) {
|
|
1809
|
+
this.text = text;
|
|
1810
|
+
this.baseIndent = this.basePos = this.pos = this.indent = 0;
|
|
1811
|
+
this.forwardInner();
|
|
1812
|
+
this.depth = 1;
|
|
1813
|
+
while (this.markers.length) this.markers.pop();
|
|
1814
|
+
}
|
|
1815
|
+
/// Move the line's base position forward to the given position.
|
|
1816
|
+
/// This should only be called by composite [block
|
|
1817
|
+
/// parsers](#BlockParser.parse) or [markup skipping
|
|
1818
|
+
/// functions](#NodeSpec.composite).
|
|
1819
|
+
moveBase(to) {
|
|
1820
|
+
this.basePos = to;
|
|
1821
|
+
this.baseIndent = this.countIndent(to, this.pos, this.indent);
|
|
1822
|
+
}
|
|
1823
|
+
/// Move the line's base position forward to the given _column_.
|
|
1824
|
+
moveBaseColumn(indent) {
|
|
1825
|
+
this.baseIndent = indent;
|
|
1826
|
+
this.basePos = this.findColumn(indent);
|
|
1827
|
+
}
|
|
1828
|
+
/// Store a composite-block-level marker. Should be called from
|
|
1829
|
+
/// [markup skipping functions](#NodeSpec.composite) when they
|
|
1830
|
+
/// consume any non-whitespace characters.
|
|
1831
|
+
addMarker(elt) {
|
|
1832
|
+
this.markers.push(elt);
|
|
1833
|
+
}
|
|
1834
|
+
/// Find the column position at `to`, optionally starting at a given
|
|
1835
|
+
/// position and column.
|
|
1836
|
+
countIndent(to, from = 0, indent = 0) {
|
|
1837
|
+
for (let i = from; i < to; i++) indent += this.text.charCodeAt(i) == 9 ? 4 - indent % 4 : 1;
|
|
1838
|
+
return indent;
|
|
1839
|
+
}
|
|
1840
|
+
/// Find the position corresponding to the given column.
|
|
1841
|
+
findColumn(goal) {
|
|
1842
|
+
let i = 0;
|
|
1843
|
+
for (let indent = 0; i < this.text.length && indent < goal; i++) indent += this.text.charCodeAt(i) == 9 ? 4 - indent % 4 : 1;
|
|
1844
|
+
return i;
|
|
1845
|
+
}
|
|
1846
|
+
/// @internal
|
|
1847
|
+
scrub() {
|
|
1848
|
+
if (!this.baseIndent) return this.text;
|
|
1849
|
+
let result = "";
|
|
1850
|
+
for (let i = 0; i < this.basePos; i++) result += " ";
|
|
1851
|
+
return result + this.text.slice(this.basePos);
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
function skipForList(bl, cx, line) {
|
|
1855
|
+
if (line.pos == line.text.length || bl != cx.block && line.indent >= cx.stack[line.depth + 1].value + line.baseIndent) return true;
|
|
1856
|
+
if (line.indent >= line.baseIndent + 4) return false;
|
|
1857
|
+
let size = (bl.type == Type.OrderedList ? isOrderedList : isBulletList)(line, cx, false);
|
|
1858
|
+
return size > 0 && (bl.type != Type.BulletList || isHorizontalRule(line, cx, false) < 0) && line.text.charCodeAt(line.pos + size - 1) == bl.value;
|
|
1859
|
+
}
|
|
1860
|
+
const DefaultSkipMarkup = {
|
|
1861
|
+
[Type.Blockquote](bl, cx, line) {
|
|
1862
|
+
if (line.next != 62 /* '>' */) return false;
|
|
1863
|
+
line.markers.push(elt(Type.QuoteMark, cx.lineStart + line.pos, cx.lineStart + line.pos + 1));
|
|
1864
|
+
line.moveBase(line.pos + (space(line.text.charCodeAt(line.pos + 1)) ? 2 : 1));
|
|
1865
|
+
bl.end = cx.lineStart + line.text.length;
|
|
1866
|
+
return true;
|
|
1867
|
+
},
|
|
1868
|
+
[Type.ListItem](bl, _cx, line) {
|
|
1869
|
+
if (line.indent < line.baseIndent + bl.value && line.next > -1) return false;
|
|
1870
|
+
line.moveBaseColumn(line.baseIndent + bl.value);
|
|
1871
|
+
return true;
|
|
1872
|
+
},
|
|
1873
|
+
[Type.OrderedList]: skipForList,
|
|
1874
|
+
[Type.BulletList]: skipForList,
|
|
1875
|
+
[Type.Document]() {
|
|
1876
|
+
return true;
|
|
1877
|
+
}
|
|
1878
|
+
};
|
|
1879
|
+
function space(ch) {
|
|
1880
|
+
return ch == 32 || ch == 9 || ch == 10 || ch == 13;
|
|
1881
|
+
}
|
|
1882
|
+
function skipSpace(line, i = 0) {
|
|
1883
|
+
while (i < line.length && space(line.charCodeAt(i))) i++;
|
|
1884
|
+
return i;
|
|
1885
|
+
}
|
|
1886
|
+
function skipSpaceBack(line, i, to) {
|
|
1887
|
+
while (i > to && space(line.charCodeAt(i - 1))) i--;
|
|
1888
|
+
return i;
|
|
1889
|
+
}
|
|
1890
|
+
function isFencedCode(line) {
|
|
1891
|
+
if (line.next != 96 && line.next != 126 /* '`~' */) return -1;
|
|
1892
|
+
let pos = line.pos + 1;
|
|
1893
|
+
while (pos < line.text.length && line.text.charCodeAt(pos) == line.next) pos++;
|
|
1894
|
+
if (pos < line.pos + 3) return -1;
|
|
1895
|
+
if (line.next == 96) for (let i = pos; i < line.text.length; i++) if (line.text.charCodeAt(i) == 96) return -1;
|
|
1896
|
+
return pos;
|
|
1897
|
+
}
|
|
1898
|
+
function isBlockquote(line) {
|
|
1899
|
+
return line.next != 62 /* '>' */ ? -1 : line.text.charCodeAt(line.pos + 1) == 32 ? 2 : 1;
|
|
1900
|
+
}
|
|
1901
|
+
function isHorizontalRule(line, cx, breaking) {
|
|
1902
|
+
if (line.next != 42 && line.next != 45 && line.next != 95 /* '_-*' */) return -1;
|
|
1903
|
+
let count = 1;
|
|
1904
|
+
for (let pos = line.pos + 1; pos < line.text.length; pos++) {
|
|
1905
|
+
let ch = line.text.charCodeAt(pos);
|
|
1906
|
+
if (ch == line.next) count++;else if (!space(ch)) return -1;
|
|
1907
|
+
}
|
|
1908
|
+
// Setext headers take precedence
|
|
1909
|
+
if (breaking && line.next == 45 && isSetextUnderline(line) > -1 && line.depth == cx.stack.length) return -1;
|
|
1910
|
+
return count < 3 ? -1 : 1;
|
|
1911
|
+
}
|
|
1912
|
+
function inList(cx, type) {
|
|
1913
|
+
for (let i = cx.stack.length - 1; i >= 0; i--) if (cx.stack[i].type == type) return true;
|
|
1914
|
+
return false;
|
|
1915
|
+
}
|
|
1916
|
+
function isBulletList(line, cx, breaking) {
|
|
1917
|
+
return (line.next == 45 || line.next == 43 || line.next == 42 /* '-+*' */) && (line.pos == line.text.length - 1 || space(line.text.charCodeAt(line.pos + 1))) && (!breaking || inList(cx, Type.BulletList) || line.skipSpace(line.pos + 2) < line.text.length) ? 1 : -1;
|
|
1918
|
+
}
|
|
1919
|
+
function isOrderedList(line, cx, breaking) {
|
|
1920
|
+
let pos = line.pos,
|
|
1921
|
+
next = line.next;
|
|
1922
|
+
for (;;) {
|
|
1923
|
+
if (next >= 48 && next <= 57 /* '0-9' */) pos++;else break;
|
|
1924
|
+
if (pos == line.text.length) return -1;
|
|
1925
|
+
next = line.text.charCodeAt(pos);
|
|
1926
|
+
}
|
|
1927
|
+
if (pos == line.pos || pos > line.pos + 9 || next != 46 && next != 41 /* '.)' */ || pos < line.text.length - 1 && !space(line.text.charCodeAt(pos + 1)) || breaking && !inList(cx, Type.OrderedList) && (line.skipSpace(pos + 1) == line.text.length || pos > line.pos + 1 || line.next != 49 /* '1' */)) return -1;
|
|
1928
|
+
return pos + 1 - line.pos;
|
|
1929
|
+
}
|
|
1930
|
+
function isAtxHeading(line) {
|
|
1931
|
+
if (line.next != 35 /* '#' */) return -1;
|
|
1932
|
+
let pos = line.pos + 1;
|
|
1933
|
+
while (pos < line.text.length && line.text.charCodeAt(pos) == 35) pos++;
|
|
1934
|
+
if (pos < line.text.length && line.text.charCodeAt(pos) != 32) return -1;
|
|
1935
|
+
let size = pos - line.pos;
|
|
1936
|
+
return size > 6 ? -1 : size;
|
|
1937
|
+
}
|
|
1938
|
+
function isSetextUnderline(line) {
|
|
1939
|
+
if (line.next != 45 && line.next != 61 /* '-=' */ || line.indent >= line.baseIndent + 4) return -1;
|
|
1940
|
+
let pos = line.pos + 1;
|
|
1941
|
+
while (pos < line.text.length && line.text.charCodeAt(pos) == line.next) pos++;
|
|
1942
|
+
let end = pos;
|
|
1943
|
+
while (pos < line.text.length && space(line.text.charCodeAt(pos))) pos++;
|
|
1944
|
+
return pos == line.text.length ? end : -1;
|
|
1945
|
+
}
|
|
1946
|
+
const EmptyLine = /^[ \t]*$/,
|
|
1947
|
+
CommentEnd = /-->/,
|
|
1948
|
+
ProcessingEnd = /\?>/;
|
|
1949
|
+
const HTMLBlockStyle = [[/^<(?:script|pre|style)(?:\s|>|$)/i, /<\/(?:script|pre|style)>/i], [/^\s*<!--/, CommentEnd], [/^\s*<\?/, ProcessingEnd], [/^\s*<![A-Z]/, />/], [/^\s*<!\[CDATA\[/, /\]\]>/], [/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i, EmptyLine], [/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i, EmptyLine]];
|
|
1950
|
+
function isHTMLBlock(line, _cx, breaking) {
|
|
1951
|
+
if (line.next != 60 /* '<' */) return -1;
|
|
1952
|
+
let rest = line.text.slice(line.pos);
|
|
1953
|
+
for (let i = 0, e = HTMLBlockStyle.length - (breaking ? 1 : 0); i < e; i++) if (HTMLBlockStyle[i][0].test(rest)) return i;
|
|
1954
|
+
return -1;
|
|
1955
|
+
}
|
|
1956
|
+
function getListIndent(line, pos) {
|
|
1957
|
+
let indentAfter = line.countIndent(pos, line.pos, line.indent);
|
|
1958
|
+
let indented = line.countIndent(line.skipSpace(pos), pos, indentAfter);
|
|
1959
|
+
return indented >= indentAfter + 5 ? indentAfter + 1 : indented;
|
|
1960
|
+
}
|
|
1961
|
+
function addCodeText(marks, from, to) {
|
|
1962
|
+
let last = marks.length - 1;
|
|
1963
|
+
if (last >= 0 && marks[last].to == from && marks[last].type == Type.CodeText) marks[last].to = to;else marks.push(elt(Type.CodeText, from, to));
|
|
1964
|
+
}
|
|
1965
|
+
// Rules for parsing blocks. A return value of false means the rule
|
|
1966
|
+
// doesn't apply here, true means it does. When true is returned and
|
|
1967
|
+
// `p.line` has been updated, the rule is assumed to have consumed a
|
|
1968
|
+
// leaf block. Otherwise, it is assumed to have opened a context.
|
|
1969
|
+
const DefaultBlockParsers = {
|
|
1970
|
+
LinkReference: undefined,
|
|
1971
|
+
IndentedCode(cx, line) {
|
|
1972
|
+
let base = line.baseIndent + 4;
|
|
1973
|
+
if (line.indent < base) return false;
|
|
1974
|
+
let start = line.findColumn(base);
|
|
1975
|
+
let from = cx.lineStart + start,
|
|
1976
|
+
to = cx.lineStart + line.text.length;
|
|
1977
|
+
let marks = [],
|
|
1978
|
+
pendingMarks = [];
|
|
1979
|
+
addCodeText(marks, from, to);
|
|
1980
|
+
while (cx.nextLine() && line.depth >= cx.stack.length) {
|
|
1981
|
+
if (line.pos == line.text.length) {
|
|
1982
|
+
// Empty
|
|
1983
|
+
addCodeText(pendingMarks, cx.lineStart - 1, cx.lineStart);
|
|
1984
|
+
for (let m of line.markers) pendingMarks.push(m);
|
|
1985
|
+
} else if (line.indent < base) {
|
|
1986
|
+
break;
|
|
1987
|
+
} else {
|
|
1988
|
+
if (pendingMarks.length) {
|
|
1989
|
+
for (let m of pendingMarks) {
|
|
1990
|
+
if (m.type == Type.CodeText) addCodeText(marks, m.from, m.to);else marks.push(m);
|
|
1991
|
+
}
|
|
1992
|
+
pendingMarks = [];
|
|
1993
|
+
}
|
|
1994
|
+
addCodeText(marks, cx.lineStart - 1, cx.lineStart);
|
|
1995
|
+
for (let m of line.markers) marks.push(m);
|
|
1996
|
+
to = cx.lineStart + line.text.length;
|
|
1997
|
+
let codeStart = cx.lineStart + line.findColumn(line.baseIndent + 4);
|
|
1998
|
+
if (codeStart < to) addCodeText(marks, codeStart, to);
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
if (pendingMarks.length) {
|
|
2002
|
+
pendingMarks = pendingMarks.filter(m => m.type != Type.CodeText);
|
|
2003
|
+
if (pendingMarks.length) line.markers = pendingMarks.concat(line.markers);
|
|
2004
|
+
}
|
|
2005
|
+
cx.addNode(cx.buffer.writeElements(marks, -from).finish(Type.CodeBlock, to - from), from);
|
|
2006
|
+
return true;
|
|
2007
|
+
},
|
|
2008
|
+
FencedCode(cx, line) {
|
|
2009
|
+
let fenceEnd = isFencedCode(line);
|
|
2010
|
+
if (fenceEnd < 0) return false;
|
|
2011
|
+
let from = cx.lineStart + line.pos,
|
|
2012
|
+
ch = line.next,
|
|
2013
|
+
len = fenceEnd - line.pos;
|
|
2014
|
+
let infoFrom = line.skipSpace(fenceEnd),
|
|
2015
|
+
infoTo = skipSpaceBack(line.text, line.text.length, infoFrom);
|
|
2016
|
+
let marks = [elt(Type.CodeMark, from, from + len)];
|
|
2017
|
+
if (infoFrom < infoTo) marks.push(elt(Type.CodeInfo, cx.lineStart + infoFrom, cx.lineStart + infoTo));
|
|
2018
|
+
for (let first = true; cx.nextLine() && line.depth >= cx.stack.length; first = false) {
|
|
2019
|
+
let i = line.pos;
|
|
2020
|
+
if (line.indent - line.baseIndent < 4) while (i < line.text.length && line.text.charCodeAt(i) == ch) i++;
|
|
2021
|
+
if (i - line.pos >= len && line.skipSpace(i) == line.text.length) {
|
|
2022
|
+
for (let m of line.markers) marks.push(m);
|
|
2023
|
+
marks.push(elt(Type.CodeMark, cx.lineStart + line.pos, cx.lineStart + i));
|
|
2024
|
+
cx.nextLine();
|
|
2025
|
+
break;
|
|
2026
|
+
} else {
|
|
2027
|
+
if (!first) addCodeText(marks, cx.lineStart - 1, cx.lineStart);
|
|
2028
|
+
for (let m of line.markers) marks.push(m);
|
|
2029
|
+
let textStart = cx.lineStart + line.basePos,
|
|
2030
|
+
textEnd = cx.lineStart + line.text.length;
|
|
2031
|
+
if (textStart < textEnd) addCodeText(marks, textStart, textEnd);
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
cx.addNode(cx.buffer.writeElements(marks, -from).finish(Type.FencedCode, cx.prevLineEnd() - from), from);
|
|
2035
|
+
return true;
|
|
2036
|
+
},
|
|
2037
|
+
Blockquote(cx, line) {
|
|
2038
|
+
let size = isBlockquote(line);
|
|
2039
|
+
if (size < 0) return false;
|
|
2040
|
+
cx.startContext(Type.Blockquote, line.pos);
|
|
2041
|
+
cx.addNode(Type.QuoteMark, cx.lineStart + line.pos, cx.lineStart + line.pos + 1);
|
|
2042
|
+
line.moveBase(line.pos + size);
|
|
2043
|
+
return null;
|
|
2044
|
+
},
|
|
2045
|
+
HorizontalRule(cx, line) {
|
|
2046
|
+
if (isHorizontalRule(line, cx, false) < 0) return false;
|
|
2047
|
+
let from = cx.lineStart + line.pos;
|
|
2048
|
+
cx.nextLine();
|
|
2049
|
+
cx.addNode(Type.HorizontalRule, from);
|
|
2050
|
+
return true;
|
|
2051
|
+
},
|
|
2052
|
+
BulletList(cx, line) {
|
|
2053
|
+
let size = isBulletList(line, cx, false);
|
|
2054
|
+
if (size < 0) return false;
|
|
2055
|
+
if (cx.block.type != Type.BulletList) cx.startContext(Type.BulletList, line.basePos, line.next);
|
|
2056
|
+
let newBase = getListIndent(line, line.pos + 1);
|
|
2057
|
+
cx.startContext(Type.ListItem, line.basePos, newBase - line.baseIndent);
|
|
2058
|
+
cx.addNode(Type.ListMark, cx.lineStart + line.pos, cx.lineStart + line.pos + size);
|
|
2059
|
+
line.moveBaseColumn(newBase);
|
|
2060
|
+
return null;
|
|
2061
|
+
},
|
|
2062
|
+
OrderedList(cx, line) {
|
|
2063
|
+
let size = isOrderedList(line, cx, false);
|
|
2064
|
+
if (size < 0) return false;
|
|
2065
|
+
if (cx.block.type != Type.OrderedList) cx.startContext(Type.OrderedList, line.basePos, line.text.charCodeAt(line.pos + size - 1));
|
|
2066
|
+
let newBase = getListIndent(line, line.pos + size);
|
|
2067
|
+
cx.startContext(Type.ListItem, line.basePos, newBase - line.baseIndent);
|
|
2068
|
+
cx.addNode(Type.ListMark, cx.lineStart + line.pos, cx.lineStart + line.pos + size);
|
|
2069
|
+
line.moveBaseColumn(newBase);
|
|
2070
|
+
return null;
|
|
2071
|
+
},
|
|
2072
|
+
ATXHeading(cx, line) {
|
|
2073
|
+
let size = isAtxHeading(line);
|
|
2074
|
+
if (size < 0) return false;
|
|
2075
|
+
let off = line.pos,
|
|
2076
|
+
from = cx.lineStart + off;
|
|
2077
|
+
let endOfSpace = skipSpaceBack(line.text, line.text.length, off),
|
|
2078
|
+
after = endOfSpace;
|
|
2079
|
+
while (after > off && line.text.charCodeAt(after - 1) == line.next) after--;
|
|
2080
|
+
if (after == endOfSpace || after == off || !space(line.text.charCodeAt(after - 1))) after = line.text.length;
|
|
2081
|
+
let buf = cx.buffer.write(Type.HeaderMark, 0, size).writeElements(cx.parser.parseInline(line.text.slice(off + size + 1, after), from + size + 1), -from);
|
|
2082
|
+
if (after < line.text.length) buf.write(Type.HeaderMark, after - off, endOfSpace - off);
|
|
2083
|
+
let node = buf.finish(Type.ATXHeading1 - 1 + size, line.text.length - off);
|
|
2084
|
+
cx.nextLine();
|
|
2085
|
+
cx.addNode(node, from);
|
|
2086
|
+
return true;
|
|
2087
|
+
},
|
|
2088
|
+
HTMLBlock(cx, line) {
|
|
2089
|
+
let type = isHTMLBlock(line, cx, false);
|
|
2090
|
+
if (type < 0) return false;
|
|
2091
|
+
let from = cx.lineStart + line.pos,
|
|
2092
|
+
end = HTMLBlockStyle[type][1];
|
|
2093
|
+
let marks = [],
|
|
2094
|
+
trailing = end != EmptyLine;
|
|
2095
|
+
while (!end.test(line.text) && cx.nextLine()) {
|
|
2096
|
+
if (line.depth < cx.stack.length) {
|
|
2097
|
+
trailing = false;
|
|
2098
|
+
break;
|
|
2099
|
+
}
|
|
2100
|
+
for (let m of line.markers) marks.push(m);
|
|
2101
|
+
}
|
|
2102
|
+
if (trailing) cx.nextLine();
|
|
2103
|
+
let nodeType = end == CommentEnd ? Type.CommentBlock : end == ProcessingEnd ? Type.ProcessingInstructionBlock : Type.HTMLBlock;
|
|
2104
|
+
let to = cx.prevLineEnd();
|
|
2105
|
+
cx.addNode(cx.buffer.writeElements(marks, -from).finish(nodeType, to - from), from);
|
|
2106
|
+
return true;
|
|
2107
|
+
},
|
|
2108
|
+
SetextHeading: undefined // Specifies relative precedence for block-continue function
|
|
2109
|
+
};
|
|
2110
|
+
// This implements a state machine that incrementally parses link references. At each
|
|
2111
|
+
// next line, it looks ahead to see if the line continues the reference or not. If it
|
|
2112
|
+
// doesn't and a valid link is available ending before that line, it finishes that.
|
|
2113
|
+
// Similarly, on `finish` (when the leaf is terminated by external circumstances), it
|
|
2114
|
+
// creates a link reference if there's a valid reference up to the current point.
|
|
2115
|
+
class LinkReferenceParser {
|
|
2116
|
+
constructor(leaf) {
|
|
2117
|
+
this.stage = 0 /* Start */;
|
|
2118
|
+
this.elts = [];
|
|
2119
|
+
this.pos = 0;
|
|
2120
|
+
this.start = leaf.start;
|
|
2121
|
+
this.advance(leaf.content);
|
|
2122
|
+
}
|
|
2123
|
+
nextLine(cx, line, leaf) {
|
|
2124
|
+
if (this.stage == -1 /* Failed */) return false;
|
|
2125
|
+
let content = leaf.content + "\n" + line.scrub();
|
|
2126
|
+
let finish = this.advance(content);
|
|
2127
|
+
if (finish > -1 && finish < content.length) return this.complete(cx, leaf, finish);
|
|
2128
|
+
return false;
|
|
2129
|
+
}
|
|
2130
|
+
finish(cx, leaf) {
|
|
2131
|
+
if ((this.stage == 2 /* Link */ || this.stage == 3 /* Title */) && skipSpace(leaf.content, this.pos) == leaf.content.length) return this.complete(cx, leaf, leaf.content.length);
|
|
2132
|
+
return false;
|
|
2133
|
+
}
|
|
2134
|
+
complete(cx, leaf, len) {
|
|
2135
|
+
cx.addLeafElement(leaf, elt(Type.LinkReference, this.start, this.start + len, this.elts));
|
|
2136
|
+
return true;
|
|
2137
|
+
}
|
|
2138
|
+
nextStage(elt) {
|
|
2139
|
+
if (elt) {
|
|
2140
|
+
this.pos = elt.to - this.start;
|
|
2141
|
+
this.elts.push(elt);
|
|
2142
|
+
this.stage++;
|
|
2143
|
+
return true;
|
|
2144
|
+
}
|
|
2145
|
+
if (elt === false) this.stage = -1 /* Failed */;
|
|
2146
|
+
return false;
|
|
2147
|
+
}
|
|
2148
|
+
advance(content) {
|
|
2149
|
+
for (;;) {
|
|
2150
|
+
if (this.stage == -1 /* Failed */) {
|
|
2151
|
+
return -1;
|
|
2152
|
+
} else if (this.stage == 0 /* Start */) {
|
|
2153
|
+
if (!this.nextStage(parseLinkLabel(content, this.pos, this.start, true))) return -1;
|
|
2154
|
+
if (content.charCodeAt(this.pos) != 58 /* ':' */) return this.stage = -1 /* Failed */;
|
|
2155
|
+
this.elts.push(elt(Type.LinkMark, this.pos + this.start, this.pos + this.start + 1));
|
|
2156
|
+
this.pos++;
|
|
2157
|
+
} else if (this.stage == 1 /* Label */) {
|
|
2158
|
+
if (!this.nextStage(parseURL(content, skipSpace(content, this.pos), this.start))) return -1;
|
|
2159
|
+
} else if (this.stage == 2 /* Link */) {
|
|
2160
|
+
let skip = skipSpace(content, this.pos),
|
|
2161
|
+
end = 0;
|
|
2162
|
+
if (skip > this.pos) {
|
|
2163
|
+
let title = parseLinkTitle(content, skip, this.start);
|
|
2164
|
+
if (title) {
|
|
2165
|
+
let titleEnd = lineEnd(content, title.to - this.start);
|
|
2166
|
+
if (titleEnd > 0) {
|
|
2167
|
+
this.nextStage(title);
|
|
2168
|
+
end = titleEnd;
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
if (!end) end = lineEnd(content, this.pos);
|
|
2173
|
+
return end > 0 && end < content.length ? end : -1;
|
|
2174
|
+
} else {
|
|
2175
|
+
// RefStage.Title
|
|
2176
|
+
return lineEnd(content, this.pos);
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
function lineEnd(text, pos) {
|
|
2182
|
+
for (; pos < text.length; pos++) {
|
|
2183
|
+
let next = text.charCodeAt(pos);
|
|
2184
|
+
if (next == 10) break;
|
|
2185
|
+
if (!space(next)) return -1;
|
|
2186
|
+
}
|
|
2187
|
+
return pos;
|
|
2188
|
+
}
|
|
2189
|
+
class SetextHeadingParser {
|
|
2190
|
+
nextLine(cx, line, leaf) {
|
|
2191
|
+
let underline = line.depth < cx.stack.length ? -1 : isSetextUnderline(line);
|
|
2192
|
+
let next = line.next;
|
|
2193
|
+
if (underline < 0) return false;
|
|
2194
|
+
let underlineMark = elt(Type.HeaderMark, cx.lineStart + line.pos, cx.lineStart + underline);
|
|
2195
|
+
cx.nextLine();
|
|
2196
|
+
cx.addLeafElement(leaf, elt(next == 61 ? Type.SetextHeading1 : Type.SetextHeading2, leaf.start, cx.prevLineEnd(), [...cx.parser.parseInline(leaf.content, leaf.start), underlineMark]));
|
|
2197
|
+
return true;
|
|
2198
|
+
}
|
|
2199
|
+
finish() {
|
|
2200
|
+
return false;
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
const DefaultLeafBlocks = {
|
|
2204
|
+
LinkReference(_, leaf) {
|
|
2205
|
+
return leaf.content.charCodeAt(0) == 91 /* '[' */ ? new LinkReferenceParser(leaf) : null;
|
|
2206
|
+
},
|
|
2207
|
+
SetextHeading() {
|
|
2208
|
+
return new SetextHeadingParser();
|
|
2209
|
+
}
|
|
2210
|
+
};
|
|
2211
|
+
const DefaultEndLeaf = [(_, line) => isAtxHeading(line) >= 0, (_, line) => isFencedCode(line) >= 0, (_, line) => isBlockquote(line) >= 0, (p, line) => isBulletList(line, p, true) >= 0, (p, line) => isOrderedList(line, p, true) >= 0, (p, line) => isHorizontalRule(line, p, true) >= 0, (p, line) => isHTMLBlock(line, p, true) >= 0];
|
|
2212
|
+
const scanLineResult = {
|
|
2213
|
+
text: "",
|
|
2214
|
+
end: 0
|
|
2215
|
+
};
|
|
2216
|
+
/// Block-level parsing functions get access to this context object.
|
|
2217
|
+
class BlockContext {
|
|
2218
|
+
/// @internal
|
|
2219
|
+
constructor(
|
|
2220
|
+
/// The parser configuration used.
|
|
2221
|
+
parser,
|
|
2222
|
+
/// @internal
|
|
2223
|
+
input, fragments,
|
|
2224
|
+
/// @internal
|
|
2225
|
+
ranges) {
|
|
2226
|
+
this.parser = parser;
|
|
2227
|
+
this.input = input;
|
|
2228
|
+
this.ranges = ranges;
|
|
2229
|
+
this.line = new Line();
|
|
2230
|
+
this.atEnd = false;
|
|
2231
|
+
/// @internal
|
|
2232
|
+
this.dontInject = new Set();
|
|
2233
|
+
this.stoppedAt = null;
|
|
2234
|
+
/// The range index that absoluteLineStart points into @internal
|
|
2235
|
+
this.rangeI = 0;
|
|
2236
|
+
this.to = ranges[ranges.length - 1].to;
|
|
2237
|
+
this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = ranges[0].from;
|
|
2238
|
+
this.block = CompositeBlock.create(Type.Document, 0, this.lineStart, 0, 0);
|
|
2239
|
+
this.stack = [this.block];
|
|
2240
|
+
this.fragments = fragments.length ? new FragmentCursor(fragments, input) : null;
|
|
2241
|
+
this.readLine();
|
|
2242
|
+
}
|
|
2243
|
+
get parsedPos() {
|
|
2244
|
+
return this.absoluteLineStart;
|
|
2245
|
+
}
|
|
2246
|
+
advance() {
|
|
2247
|
+
if (this.stoppedAt != null && this.absoluteLineStart > this.stoppedAt) return this.finish();
|
|
2248
|
+
let {
|
|
2249
|
+
line
|
|
2250
|
+
} = this;
|
|
2251
|
+
for (;;) {
|
|
2252
|
+
while (line.depth < this.stack.length) this.finishContext();
|
|
2253
|
+
for (let mark of line.markers) this.addNode(mark.type, mark.from, mark.to);
|
|
2254
|
+
if (line.pos < line.text.length) break;
|
|
2255
|
+
// Empty line
|
|
2256
|
+
if (!this.nextLine()) return this.finish();
|
|
2257
|
+
}
|
|
2258
|
+
if (this.fragments && this.reuseFragment(line.basePos)) return null;
|
|
2259
|
+
start: for (;;) {
|
|
2260
|
+
for (let type of this.parser.blockParsers) if (type) {
|
|
2261
|
+
let result = type(this, line);
|
|
2262
|
+
if (result != false) {
|
|
2263
|
+
if (result == true) return null;
|
|
2264
|
+
line.forward();
|
|
2265
|
+
continue start;
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
break;
|
|
2269
|
+
}
|
|
2270
|
+
let leaf = new LeafBlock(this.lineStart + line.pos, line.text.slice(line.pos));
|
|
2271
|
+
for (let parse of this.parser.leafBlockParsers) if (parse) {
|
|
2272
|
+
let parser = parse(this, leaf);
|
|
2273
|
+
if (parser) leaf.parsers.push(parser);
|
|
2274
|
+
}
|
|
2275
|
+
lines: while (this.nextLine()) {
|
|
2276
|
+
if (line.pos == line.text.length) break;
|
|
2277
|
+
if (line.indent < line.baseIndent + 4) {
|
|
2278
|
+
for (let stop of this.parser.endLeafBlock) if (stop(this, line, leaf)) break lines;
|
|
2279
|
+
}
|
|
2280
|
+
for (let parser of leaf.parsers) if (parser.nextLine(this, line, leaf)) return null;
|
|
2281
|
+
leaf.content += "\n" + line.scrub();
|
|
2282
|
+
for (let m of line.markers) leaf.marks.push(m);
|
|
2283
|
+
}
|
|
2284
|
+
this.finishLeaf(leaf);
|
|
2285
|
+
return null;
|
|
2286
|
+
}
|
|
2287
|
+
stopAt(pos) {
|
|
2288
|
+
if (this.stoppedAt != null && this.stoppedAt < pos) throw new RangeError("Can't move stoppedAt forward");
|
|
2289
|
+
this.stoppedAt = pos;
|
|
2290
|
+
}
|
|
2291
|
+
reuseFragment(start) {
|
|
2292
|
+
if (!this.fragments.moveTo(this.absoluteLineStart + start, this.absoluteLineStart) || !this.fragments.matches(this.block.hash)) return false;
|
|
2293
|
+
let taken = this.fragments.takeNodes(this);
|
|
2294
|
+
if (!taken) return false;
|
|
2295
|
+
let withoutGaps = taken,
|
|
2296
|
+
end = this.absoluteLineStart + taken;
|
|
2297
|
+
for (let i = 1; i < this.ranges.length; i++) {
|
|
2298
|
+
let gapFrom = this.ranges[i - 1].to,
|
|
2299
|
+
gapTo = this.ranges[i].from;
|
|
2300
|
+
if (gapFrom >= this.lineStart && gapTo < end) withoutGaps -= gapTo - gapFrom;
|
|
2301
|
+
}
|
|
2302
|
+
this.lineStart += withoutGaps;
|
|
2303
|
+
this.absoluteLineStart += taken;
|
|
2304
|
+
this.moveRangeI();
|
|
2305
|
+
if (this.absoluteLineStart < this.to) {
|
|
2306
|
+
this.lineStart++;
|
|
2307
|
+
this.absoluteLineStart++;
|
|
2308
|
+
this.readLine();
|
|
2309
|
+
} else {
|
|
2310
|
+
this.atEnd = true;
|
|
2311
|
+
this.readLine();
|
|
2312
|
+
}
|
|
2313
|
+
return true;
|
|
2314
|
+
}
|
|
2315
|
+
/// The number of parent blocks surrounding the current block.
|
|
2316
|
+
get depth() {
|
|
2317
|
+
return this.stack.length;
|
|
2318
|
+
}
|
|
2319
|
+
/// Get the type of the parent block at the given depth. When no
|
|
2320
|
+
/// depth is passed, return the type of the innermost parent.
|
|
2321
|
+
parentType(depth = this.depth - 1) {
|
|
2322
|
+
return this.parser.nodeSet.types[this.stack[depth].type];
|
|
2323
|
+
}
|
|
2324
|
+
/// Move to the next input line. This should only be called by
|
|
2325
|
+
/// (non-composite) [block parsers](#BlockParser.parse) that consume
|
|
2326
|
+
/// the line directly, or leaf block parser
|
|
2327
|
+
/// [`nextLine`](#LeafBlockParser.nextLine) methods when they
|
|
2328
|
+
/// consume the current line (and return true).
|
|
2329
|
+
nextLine() {
|
|
2330
|
+
this.lineStart += this.line.text.length;
|
|
2331
|
+
if (this.absoluteLineEnd >= this.to) {
|
|
2332
|
+
this.absoluteLineStart = this.absoluteLineEnd;
|
|
2333
|
+
this.atEnd = true;
|
|
2334
|
+
this.readLine();
|
|
2335
|
+
return false;
|
|
2336
|
+
} else {
|
|
2337
|
+
this.lineStart++;
|
|
2338
|
+
this.absoluteLineStart = this.absoluteLineEnd + 1;
|
|
2339
|
+
this.moveRangeI();
|
|
2340
|
+
this.readLine();
|
|
2341
|
+
return true;
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
moveRangeI() {
|
|
2345
|
+
while (this.rangeI < this.ranges.length - 1 && this.absoluteLineStart >= this.ranges[this.rangeI].to) {
|
|
2346
|
+
this.rangeI++;
|
|
2347
|
+
this.absoluteLineStart = Math.max(this.absoluteLineStart, this.ranges[this.rangeI].from);
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
/// @internal
|
|
2351
|
+
scanLine(start) {
|
|
2352
|
+
let r = scanLineResult;
|
|
2353
|
+
r.end = start;
|
|
2354
|
+
if (start >= this.to) {
|
|
2355
|
+
r.text = "";
|
|
2356
|
+
} else {
|
|
2357
|
+
r.text = this.lineChunkAt(start);
|
|
2358
|
+
r.end += r.text.length;
|
|
2359
|
+
if (this.ranges.length > 1) {
|
|
2360
|
+
let textOffset = this.absoluteLineStart,
|
|
2361
|
+
rangeI = this.rangeI;
|
|
2362
|
+
while (this.ranges[rangeI].to < r.end) {
|
|
2363
|
+
rangeI++;
|
|
2364
|
+
let nextFrom = this.ranges[rangeI].from;
|
|
2365
|
+
let after = this.lineChunkAt(nextFrom);
|
|
2366
|
+
r.end = nextFrom + after.length;
|
|
2367
|
+
r.text = r.text.slice(0, this.ranges[rangeI - 1].to - textOffset) + after;
|
|
2368
|
+
textOffset = r.end - r.text.length;
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
}
|
|
2372
|
+
return r;
|
|
2373
|
+
}
|
|
2374
|
+
/// @internal
|
|
2375
|
+
readLine() {
|
|
2376
|
+
let {
|
|
2377
|
+
line
|
|
2378
|
+
} = this,
|
|
2379
|
+
{
|
|
2380
|
+
text,
|
|
2381
|
+
end
|
|
2382
|
+
} = this.scanLine(this.absoluteLineStart);
|
|
2383
|
+
this.absoluteLineEnd = end;
|
|
2384
|
+
line.reset(text);
|
|
2385
|
+
for (; line.depth < this.stack.length; line.depth++) {
|
|
2386
|
+
let cx = this.stack[line.depth],
|
|
2387
|
+
handler = this.parser.skipContextMarkup[cx.type];
|
|
2388
|
+
if (!handler) throw new Error("Unhandled block context " + Type[cx.type]);
|
|
2389
|
+
if (!handler(cx, this, line)) break;
|
|
2390
|
+
line.forward();
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
lineChunkAt(pos) {
|
|
2394
|
+
let next = this.input.chunk(pos),
|
|
2395
|
+
text;
|
|
2396
|
+
if (!this.input.lineChunks) {
|
|
2397
|
+
let eol = next.indexOf("\n");
|
|
2398
|
+
text = eol < 0 ? next : next.slice(0, eol);
|
|
2399
|
+
} else {
|
|
2400
|
+
text = next == "\n" ? "" : next;
|
|
2401
|
+
}
|
|
2402
|
+
return pos + text.length > this.to ? text.slice(0, this.to - pos) : text;
|
|
2403
|
+
}
|
|
2404
|
+
/// The end position of the previous line.
|
|
2405
|
+
prevLineEnd() {
|
|
2406
|
+
return this.atEnd ? this.lineStart : this.lineStart - 1;
|
|
2407
|
+
}
|
|
2408
|
+
/// @internal
|
|
2409
|
+
startContext(type, start, value = 0) {
|
|
2410
|
+
this.block = CompositeBlock.create(type, value, this.lineStart + start, this.block.hash, this.lineStart + this.line.text.length);
|
|
2411
|
+
this.stack.push(this.block);
|
|
2412
|
+
}
|
|
2413
|
+
/// Start a composite block. Should only be called from [block
|
|
2414
|
+
/// parser functions](#BlockParser.parse) that return null.
|
|
2415
|
+
startComposite(type, start, value = 0) {
|
|
2416
|
+
this.startContext(this.parser.getNodeType(type), start, value);
|
|
2417
|
+
}
|
|
2418
|
+
/// @internal
|
|
2419
|
+
addNode(block, from, to) {
|
|
2420
|
+
if (typeof block == "number") block = new Tree(this.parser.nodeSet.types[block], none, none, (to !== null && to !== void 0 ? to : this.prevLineEnd()) - from);
|
|
2421
|
+
this.block.addChild(block, from - this.block.from);
|
|
2422
|
+
}
|
|
2423
|
+
/// Add a block element. Can be called by [block
|
|
2424
|
+
/// parsers](#BlockParser.parse).
|
|
2425
|
+
addElement(elt) {
|
|
2426
|
+
this.block.addChild(elt.toTree(this.parser.nodeSet), elt.from - this.block.from);
|
|
2427
|
+
}
|
|
2428
|
+
/// Add a block element from a [leaf parser](#LeafBlockParser). This
|
|
2429
|
+
/// makes sure any extra composite block markup (such as blockquote
|
|
2430
|
+
/// markers) inside the block are also added to the syntax tree.
|
|
2431
|
+
addLeafElement(leaf, elt) {
|
|
2432
|
+
this.addNode(this.buffer.writeElements(injectMarks(elt.children, leaf.marks), -elt.from).finish(elt.type, elt.to - elt.from), elt.from);
|
|
2433
|
+
}
|
|
2434
|
+
/// @internal
|
|
2435
|
+
finishContext() {
|
|
2436
|
+
let cx = this.stack.pop();
|
|
2437
|
+
let top = this.stack[this.stack.length - 1];
|
|
2438
|
+
top.addChild(cx.toTree(this.parser.nodeSet), cx.from - top.from);
|
|
2439
|
+
this.block = top;
|
|
2440
|
+
}
|
|
2441
|
+
finish() {
|
|
2442
|
+
while (this.stack.length > 1) this.finishContext();
|
|
2443
|
+
return this.addGaps(this.block.toTree(this.parser.nodeSet, this.lineStart));
|
|
2444
|
+
}
|
|
2445
|
+
addGaps(tree) {
|
|
2446
|
+
return this.ranges.length > 1 ? injectGaps(this.ranges, 0, tree.topNode, this.ranges[0].from, this.dontInject) : tree;
|
|
2447
|
+
}
|
|
2448
|
+
/// @internal
|
|
2449
|
+
finishLeaf(leaf) {
|
|
2450
|
+
for (let parser of leaf.parsers) if (parser.finish(this, leaf)) return;
|
|
2451
|
+
let inline = injectMarks(this.parser.parseInline(leaf.content, leaf.start), leaf.marks);
|
|
2452
|
+
this.addNode(this.buffer.writeElements(inline, -leaf.start).finish(Type.Paragraph, leaf.content.length), leaf.start);
|
|
2453
|
+
}
|
|
2454
|
+
elt(type, from, to, children) {
|
|
2455
|
+
if (typeof type == "string") return elt(this.parser.getNodeType(type), from, to, children);
|
|
2456
|
+
return new TreeElement(type, from);
|
|
2457
|
+
}
|
|
2458
|
+
/// @internal
|
|
2459
|
+
get buffer() {
|
|
2460
|
+
return new Buffer(this.parser.nodeSet);
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
function injectGaps(ranges, rangeI, tree, offset, dont) {
|
|
2464
|
+
if (dont.has(tree.tree)) return tree.tree;
|
|
2465
|
+
let rangeEnd = ranges[rangeI].to;
|
|
2466
|
+
let children = [],
|
|
2467
|
+
positions = [],
|
|
2468
|
+
start = tree.from + offset;
|
|
2469
|
+
function movePastNext(upto, inclusive) {
|
|
2470
|
+
while (inclusive ? upto >= rangeEnd : upto > rangeEnd) {
|
|
2471
|
+
let size = ranges[rangeI + 1].from - rangeEnd;
|
|
2472
|
+
offset += size;
|
|
2473
|
+
upto += size;
|
|
2474
|
+
rangeI++;
|
|
2475
|
+
rangeEnd = ranges[rangeI].to;
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2478
|
+
for (let ch = tree.firstChild; ch; ch = ch.nextSibling) {
|
|
2479
|
+
movePastNext(ch.from + offset, true);
|
|
2480
|
+
let from = ch.from + offset,
|
|
2481
|
+
node;
|
|
2482
|
+
if (ch.to + offset > rangeEnd) {
|
|
2483
|
+
node = injectGaps(ranges, rangeI, ch, offset, dont);
|
|
2484
|
+
movePastNext(ch.to + offset, false);
|
|
2485
|
+
} else {
|
|
2486
|
+
node = ch.toTree();
|
|
2487
|
+
}
|
|
2488
|
+
children.push(node);
|
|
2489
|
+
positions.push(from - start);
|
|
2490
|
+
}
|
|
2491
|
+
movePastNext(tree.to + offset, false);
|
|
2492
|
+
return new Tree(tree.type, children, positions, tree.to + offset - start, tree.tree ? tree.tree.propValues : undefined);
|
|
2493
|
+
}
|
|
2494
|
+
/// A Markdown parser configuration.
|
|
2495
|
+
class MarkdownParser extends Parser {
|
|
2496
|
+
/// @internal
|
|
2497
|
+
constructor(
|
|
2498
|
+
/// The parser's syntax [node
|
|
2499
|
+
/// types](https://lezer.codemirror.net/docs/ref/#common.NodeSet).
|
|
2500
|
+
nodeSet,
|
|
2501
|
+
/// @internal
|
|
2502
|
+
blockParsers,
|
|
2503
|
+
/// @internal
|
|
2504
|
+
leafBlockParsers,
|
|
2505
|
+
/// @internal
|
|
2506
|
+
blockNames,
|
|
2507
|
+
/// @internal
|
|
2508
|
+
endLeafBlock,
|
|
2509
|
+
/// @internal
|
|
2510
|
+
skipContextMarkup,
|
|
2511
|
+
/// @internal
|
|
2512
|
+
inlineParsers,
|
|
2513
|
+
/// @internal
|
|
2514
|
+
inlineNames,
|
|
2515
|
+
/// @internal
|
|
2516
|
+
wrappers) {
|
|
2517
|
+
super();
|
|
2518
|
+
this.nodeSet = nodeSet;
|
|
2519
|
+
this.blockParsers = blockParsers;
|
|
2520
|
+
this.leafBlockParsers = leafBlockParsers;
|
|
2521
|
+
this.blockNames = blockNames;
|
|
2522
|
+
this.endLeafBlock = endLeafBlock;
|
|
2523
|
+
this.skipContextMarkup = skipContextMarkup;
|
|
2524
|
+
this.inlineParsers = inlineParsers;
|
|
2525
|
+
this.inlineNames = inlineNames;
|
|
2526
|
+
this.wrappers = wrappers;
|
|
2527
|
+
/// @internal
|
|
2528
|
+
this.nodeTypes = Object.create(null);
|
|
2529
|
+
for (let t of nodeSet.types) this.nodeTypes[t.name] = t.id;
|
|
2530
|
+
}
|
|
2531
|
+
createParse(input, fragments, ranges) {
|
|
2532
|
+
let parse = new BlockContext(this, input, fragments, ranges);
|
|
2533
|
+
for (let w of this.wrappers) parse = w(parse, input, fragments, ranges);
|
|
2534
|
+
return parse;
|
|
2535
|
+
}
|
|
2536
|
+
/// Reconfigure the parser.
|
|
2537
|
+
configure(spec) {
|
|
2538
|
+
let config = resolveConfig(spec);
|
|
2539
|
+
if (!config) return this;
|
|
2540
|
+
let {
|
|
2541
|
+
nodeSet,
|
|
2542
|
+
skipContextMarkup
|
|
2543
|
+
} = this;
|
|
2544
|
+
let blockParsers = this.blockParsers.slice(),
|
|
2545
|
+
leafBlockParsers = this.leafBlockParsers.slice(),
|
|
2546
|
+
blockNames = this.blockNames.slice(),
|
|
2547
|
+
inlineParsers = this.inlineParsers.slice(),
|
|
2548
|
+
inlineNames = this.inlineNames.slice(),
|
|
2549
|
+
endLeafBlock = this.endLeafBlock.slice(),
|
|
2550
|
+
wrappers = this.wrappers;
|
|
2551
|
+
if (nonEmpty(config.defineNodes)) {
|
|
2552
|
+
skipContextMarkup = Object.assign({}, skipContextMarkup);
|
|
2553
|
+
let nodeTypes = nodeSet.types.slice(),
|
|
2554
|
+
styles;
|
|
2555
|
+
for (let s of config.defineNodes) {
|
|
2556
|
+
let {
|
|
2557
|
+
name,
|
|
2558
|
+
block,
|
|
2559
|
+
composite,
|
|
2560
|
+
style
|
|
2561
|
+
} = typeof s == "string" ? {
|
|
2562
|
+
name: s
|
|
2563
|
+
} : s;
|
|
2564
|
+
if (nodeTypes.some(t => t.name == name)) continue;
|
|
2565
|
+
if (composite) skipContextMarkup[nodeTypes.length] = (bl, cx, line) => composite(cx, line, bl.value);
|
|
2566
|
+
let id = nodeTypes.length;
|
|
2567
|
+
let group = composite ? ["Block", "BlockContext"] : !block ? undefined : id >= Type.ATXHeading1 && id <= Type.SetextHeading2 ? ["Block", "LeafBlock", "Heading"] : ["Block", "LeafBlock"];
|
|
2568
|
+
nodeTypes.push(NodeType.define({
|
|
2569
|
+
id,
|
|
2570
|
+
name,
|
|
2571
|
+
props: group && [[NodeProp.group, group]]
|
|
2572
|
+
}));
|
|
2573
|
+
if (style) {
|
|
2574
|
+
if (!styles) styles = {};
|
|
2575
|
+
if (Array.isArray(style) || style instanceof Tag) styles[name] = style;else Object.assign(styles, style);
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
nodeSet = new NodeSet(nodeTypes);
|
|
2579
|
+
if (styles) nodeSet = nodeSet.extend(styleTags(styles));
|
|
2580
|
+
}
|
|
2581
|
+
if (nonEmpty(config.props)) nodeSet = nodeSet.extend(...config.props);
|
|
2582
|
+
if (nonEmpty(config.remove)) {
|
|
2583
|
+
for (let rm of config.remove) {
|
|
2584
|
+
let block = this.blockNames.indexOf(rm),
|
|
2585
|
+
inline = this.inlineNames.indexOf(rm);
|
|
2586
|
+
if (block > -1) blockParsers[block] = leafBlockParsers[block] = undefined;
|
|
2587
|
+
if (inline > -1) inlineParsers[inline] = undefined;
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
if (nonEmpty(config.parseBlock)) {
|
|
2591
|
+
for (let spec of config.parseBlock) {
|
|
2592
|
+
let found = blockNames.indexOf(spec.name);
|
|
2593
|
+
if (found > -1) {
|
|
2594
|
+
blockParsers[found] = spec.parse;
|
|
2595
|
+
leafBlockParsers[found] = spec.leaf;
|
|
2596
|
+
} else {
|
|
2597
|
+
let pos = spec.before ? findName(blockNames, spec.before) : spec.after ? findName(blockNames, spec.after) + 1 : blockNames.length - 1;
|
|
2598
|
+
blockParsers.splice(pos, 0, spec.parse);
|
|
2599
|
+
leafBlockParsers.splice(pos, 0, spec.leaf);
|
|
2600
|
+
blockNames.splice(pos, 0, spec.name);
|
|
2601
|
+
}
|
|
2602
|
+
if (spec.endLeaf) endLeafBlock.push(spec.endLeaf);
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
if (nonEmpty(config.parseInline)) {
|
|
2606
|
+
for (let spec of config.parseInline) {
|
|
2607
|
+
let found = inlineNames.indexOf(spec.name);
|
|
2608
|
+
if (found > -1) {
|
|
2609
|
+
inlineParsers[found] = spec.parse;
|
|
2610
|
+
} else {
|
|
2611
|
+
let pos = spec.before ? findName(inlineNames, spec.before) : spec.after ? findName(inlineNames, spec.after) + 1 : inlineNames.length - 1;
|
|
2612
|
+
inlineParsers.splice(pos, 0, spec.parse);
|
|
2613
|
+
inlineNames.splice(pos, 0, spec.name);
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
if (config.wrap) wrappers = wrappers.concat(config.wrap);
|
|
2618
|
+
return new MarkdownParser(nodeSet, blockParsers, leafBlockParsers, blockNames, endLeafBlock, skipContextMarkup, inlineParsers, inlineNames, wrappers);
|
|
2619
|
+
}
|
|
2620
|
+
/// @internal
|
|
2621
|
+
getNodeType(name) {
|
|
2622
|
+
let found = this.nodeTypes[name];
|
|
2623
|
+
if (found == null) throw new RangeError(`Unknown node type '${name}'`);
|
|
2624
|
+
return found;
|
|
2625
|
+
}
|
|
2626
|
+
/// Parse the given piece of inline text at the given offset,
|
|
2627
|
+
/// returning an array of [`Element`](#Element) objects representing
|
|
2628
|
+
/// the inline content.
|
|
2629
|
+
parseInline(text, offset) {
|
|
2630
|
+
let cx = new InlineContext(this, text, offset);
|
|
2631
|
+
outer: for (let pos = offset; pos < cx.end;) {
|
|
2632
|
+
let next = cx.char(pos);
|
|
2633
|
+
for (let token of this.inlineParsers) if (token) {
|
|
2634
|
+
let result = token(cx, next, pos);
|
|
2635
|
+
if (result >= 0) {
|
|
2636
|
+
pos = result;
|
|
2637
|
+
continue outer;
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
pos++;
|
|
2641
|
+
}
|
|
2642
|
+
return cx.resolveMarkers(0);
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
function nonEmpty(a) {
|
|
2646
|
+
return a != null && a.length > 0;
|
|
2647
|
+
}
|
|
2648
|
+
function resolveConfig(spec) {
|
|
2649
|
+
if (!Array.isArray(spec)) return spec;
|
|
2650
|
+
if (spec.length == 0) return null;
|
|
2651
|
+
let conf = resolveConfig(spec[0]);
|
|
2652
|
+
if (spec.length == 1) return conf;
|
|
2653
|
+
let rest = resolveConfig(spec.slice(1));
|
|
2654
|
+
if (!rest || !conf) return conf || rest;
|
|
2655
|
+
let conc = (a, b) => (a || none).concat(b || none);
|
|
2656
|
+
let wrapA = conf.wrap,
|
|
2657
|
+
wrapB = rest.wrap;
|
|
2658
|
+
return {
|
|
2659
|
+
props: conc(conf.props, rest.props),
|
|
2660
|
+
defineNodes: conc(conf.defineNodes, rest.defineNodes),
|
|
2661
|
+
parseBlock: conc(conf.parseBlock, rest.parseBlock),
|
|
2662
|
+
parseInline: conc(conf.parseInline, rest.parseInline),
|
|
2663
|
+
remove: conc(conf.remove, rest.remove),
|
|
2664
|
+
wrap: !wrapA ? wrapB : !wrapB ? wrapA : (inner, input, fragments, ranges) => wrapA(wrapB(inner, input, fragments, ranges), input, fragments, ranges)
|
|
2665
|
+
};
|
|
2666
|
+
}
|
|
2667
|
+
function findName(names, name) {
|
|
2668
|
+
let found = names.indexOf(name);
|
|
2669
|
+
if (found < 0) throw new RangeError(`Position specified relative to unknown parser ${name}`);
|
|
2670
|
+
return found;
|
|
2671
|
+
}
|
|
2672
|
+
let nodeTypes = [NodeType.none];
|
|
2673
|
+
for (let i = 1, name; name = Type[i]; i++) {
|
|
2674
|
+
nodeTypes[i] = NodeType.define({
|
|
2675
|
+
id: i,
|
|
2676
|
+
name,
|
|
2677
|
+
props: i >= Type.Escape ? [] : [[NodeProp.group, i in DefaultSkipMarkup ? ["Block", "BlockContext"] : ["Block", "LeafBlock"]]]
|
|
2678
|
+
});
|
|
2679
|
+
}
|
|
2680
|
+
const none = [];
|
|
2681
|
+
class Buffer {
|
|
2682
|
+
constructor(nodeSet) {
|
|
2683
|
+
this.nodeSet = nodeSet;
|
|
2684
|
+
this.content = [];
|
|
2685
|
+
this.nodes = [];
|
|
2686
|
+
}
|
|
2687
|
+
write(type, from, to, children = 0) {
|
|
2688
|
+
this.content.push(type, from, to, 4 + children * 4);
|
|
2689
|
+
return this;
|
|
2690
|
+
}
|
|
2691
|
+
writeElements(elts, offset = 0) {
|
|
2692
|
+
for (let e of elts) e.writeTo(this, offset);
|
|
2693
|
+
return this;
|
|
2694
|
+
}
|
|
2695
|
+
finish(type, length) {
|
|
2696
|
+
return Tree.build({
|
|
2697
|
+
buffer: this.content,
|
|
2698
|
+
nodeSet: this.nodeSet,
|
|
2699
|
+
reused: this.nodes,
|
|
2700
|
+
topID: type,
|
|
2701
|
+
length
|
|
2702
|
+
});
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
/// Elements are used to compose syntax nodes during parsing.
|
|
2706
|
+
class Element {
|
|
2707
|
+
/// @internal
|
|
2708
|
+
constructor(
|
|
2709
|
+
/// The node's
|
|
2710
|
+
/// [id](https://lezer.codemirror.net/docs/ref/#common.NodeType.id).
|
|
2711
|
+
type,
|
|
2712
|
+
/// The start of the node, as an offset from the start of the document.
|
|
2713
|
+
from,
|
|
2714
|
+
/// The end of the node.
|
|
2715
|
+
to,
|
|
2716
|
+
/// The node's child nodes @internal
|
|
2717
|
+
children = none) {
|
|
2718
|
+
this.type = type;
|
|
2719
|
+
this.from = from;
|
|
2720
|
+
this.to = to;
|
|
2721
|
+
this.children = children;
|
|
2722
|
+
}
|
|
2723
|
+
/// @internal
|
|
2724
|
+
writeTo(buf, offset) {
|
|
2725
|
+
let startOff = buf.content.length;
|
|
2726
|
+
buf.writeElements(this.children, offset);
|
|
2727
|
+
buf.content.push(this.type, this.from + offset, this.to + offset, buf.content.length + 4 - startOff);
|
|
2728
|
+
}
|
|
2729
|
+
/// @internal
|
|
2730
|
+
toTree(nodeSet) {
|
|
2731
|
+
return new Buffer(nodeSet).writeElements(this.children, -this.from).finish(this.type, this.to - this.from);
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
class TreeElement {
|
|
2735
|
+
constructor(tree, from) {
|
|
2736
|
+
this.tree = tree;
|
|
2737
|
+
this.from = from;
|
|
2738
|
+
}
|
|
2739
|
+
get to() {
|
|
2740
|
+
return this.from + this.tree.length;
|
|
2741
|
+
}
|
|
2742
|
+
get type() {
|
|
2743
|
+
return this.tree.type.id;
|
|
2744
|
+
}
|
|
2745
|
+
get children() {
|
|
2746
|
+
return none;
|
|
2747
|
+
}
|
|
2748
|
+
writeTo(buf, offset) {
|
|
2749
|
+
buf.nodes.push(this.tree);
|
|
2750
|
+
buf.content.push(buf.nodes.length - 1, this.from + offset, this.to + offset, -1);
|
|
2751
|
+
}
|
|
2752
|
+
toTree() {
|
|
2753
|
+
return this.tree;
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
function elt(type, from, to, children) {
|
|
2757
|
+
return new Element(type, from, to, children);
|
|
2758
|
+
}
|
|
2759
|
+
const EmphasisUnderscore = {
|
|
2760
|
+
resolve: "Emphasis",
|
|
2761
|
+
mark: "EmphasisMark"
|
|
2762
|
+
};
|
|
2763
|
+
const EmphasisAsterisk = {
|
|
2764
|
+
resolve: "Emphasis",
|
|
2765
|
+
mark: "EmphasisMark"
|
|
2766
|
+
};
|
|
2767
|
+
const LinkStart = {},
|
|
2768
|
+
ImageStart = {};
|
|
2769
|
+
class InlineDelimiter {
|
|
2770
|
+
constructor(type, from, to, side) {
|
|
2771
|
+
this.type = type;
|
|
2772
|
+
this.from = from;
|
|
2773
|
+
this.to = to;
|
|
2774
|
+
this.side = side;
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
const Escapable = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
|
|
2778
|
+
let Punctuation = /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;
|
|
2779
|
+
try {
|
|
2780
|
+
Punctuation = new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]", "u");
|
|
2781
|
+
} catch (_) {}
|
|
2782
|
+
const DefaultInline = {
|
|
2783
|
+
Escape(cx, next, start) {
|
|
2784
|
+
if (next != 92 /* '\\' */ || start == cx.end - 1) return -1;
|
|
2785
|
+
let escaped = cx.char(start + 1);
|
|
2786
|
+
for (let i = 0; i < Escapable.length; i++) if (Escapable.charCodeAt(i) == escaped) return cx.append(elt(Type.Escape, start, start + 2));
|
|
2787
|
+
return -1;
|
|
2788
|
+
},
|
|
2789
|
+
Entity(cx, next, start) {
|
|
2790
|
+
if (next != 38 /* '&' */) return -1;
|
|
2791
|
+
let m = /^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(cx.slice(start + 1, start + 31));
|
|
2792
|
+
return m ? cx.append(elt(Type.Entity, start, start + 1 + m[0].length)) : -1;
|
|
2793
|
+
},
|
|
2794
|
+
InlineCode(cx, next, start) {
|
|
2795
|
+
if (next != 96 /* '`' */ || start && cx.char(start - 1) == 96) return -1;
|
|
2796
|
+
let pos = start + 1;
|
|
2797
|
+
while (pos < cx.end && cx.char(pos) == 96) pos++;
|
|
2798
|
+
let size = pos - start,
|
|
2799
|
+
curSize = 0;
|
|
2800
|
+
for (; pos < cx.end; pos++) {
|
|
2801
|
+
if (cx.char(pos) == 96) {
|
|
2802
|
+
curSize++;
|
|
2803
|
+
if (curSize == size && cx.char(pos + 1) != 96) return cx.append(elt(Type.InlineCode, start, pos + 1, [elt(Type.CodeMark, start, start + size), elt(Type.CodeMark, pos + 1 - size, pos + 1)]));
|
|
2804
|
+
} else {
|
|
2805
|
+
curSize = 0;
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
return -1;
|
|
2809
|
+
},
|
|
2810
|
+
HTMLTag(cx, next, start) {
|
|
2811
|
+
if (next != 60 /* '<' */ || start == cx.end - 1) return -1;
|
|
2812
|
+
let after = cx.slice(start + 1, cx.end);
|
|
2813
|
+
let url = /^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(after);
|
|
2814
|
+
if (url) return cx.append(elt(Type.URL, start, start + 1 + url[0].length));
|
|
2815
|
+
let comment = /^!--[^>](?:-[^-]|[^-])*?-->/i.exec(after);
|
|
2816
|
+
if (comment) return cx.append(elt(Type.Comment, start, start + 1 + comment[0].length));
|
|
2817
|
+
let procInst = /^\?[^]*?\?>/.exec(after);
|
|
2818
|
+
if (procInst) return cx.append(elt(Type.ProcessingInstruction, start, start + 1 + procInst[0].length));
|
|
2819
|
+
let m = /^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(after);
|
|
2820
|
+
if (!m) return -1;
|
|
2821
|
+
return cx.append(elt(Type.HTMLTag, start, start + 1 + m[0].length));
|
|
2822
|
+
},
|
|
2823
|
+
Emphasis(cx, next, start) {
|
|
2824
|
+
if (next != 95 && next != 42) return -1;
|
|
2825
|
+
let pos = start + 1;
|
|
2826
|
+
while (cx.char(pos) == next) pos++;
|
|
2827
|
+
let before = cx.slice(start - 1, start),
|
|
2828
|
+
after = cx.slice(pos, pos + 1);
|
|
2829
|
+
let pBefore = Punctuation.test(before),
|
|
2830
|
+
pAfter = Punctuation.test(after);
|
|
2831
|
+
let sBefore = /\s|^$/.test(before),
|
|
2832
|
+
sAfter = /\s|^$/.test(after);
|
|
2833
|
+
let leftFlanking = !sAfter && (!pAfter || sBefore || pBefore);
|
|
2834
|
+
let rightFlanking = !sBefore && (!pBefore || sAfter || pAfter);
|
|
2835
|
+
let canOpen = leftFlanking && (next == 42 || !rightFlanking || pBefore);
|
|
2836
|
+
let canClose = rightFlanking && (next == 42 || !leftFlanking || pAfter);
|
|
2837
|
+
return cx.append(new InlineDelimiter(next == 95 ? EmphasisUnderscore : EmphasisAsterisk, start, pos, (canOpen ? 1 /* Open */ : 0) | (canClose ? 2 /* Close */ : 0)));
|
|
2838
|
+
},
|
|
2839
|
+
HardBreak(cx, next, start) {
|
|
2840
|
+
if (next == 92 /* '\\' */ && cx.char(start + 1) == 10 /* '\n' */) return cx.append(elt(Type.HardBreak, start, start + 2));
|
|
2841
|
+
if (next == 32) {
|
|
2842
|
+
let pos = start + 1;
|
|
2843
|
+
while (cx.char(pos) == 32) pos++;
|
|
2844
|
+
if (cx.char(pos) == 10 && pos >= start + 2) return cx.append(elt(Type.HardBreak, start, pos + 1));
|
|
2845
|
+
}
|
|
2846
|
+
return -1;
|
|
2847
|
+
},
|
|
2848
|
+
Link(cx, next, start) {
|
|
2849
|
+
return next == 91 /* '[' */ ? cx.append(new InlineDelimiter(LinkStart, start, start + 1, 1 /* Open */)) : -1;
|
|
2850
|
+
},
|
|
2851
|
+
Image(cx, next, start) {
|
|
2852
|
+
return next == 33 /* '!' */ && cx.char(start + 1) == 91 /* '[' */ ? cx.append(new InlineDelimiter(ImageStart, start, start + 2, 1 /* Open */)) : -1;
|
|
2853
|
+
},
|
|
2854
|
+
LinkEnd(cx, next, start) {
|
|
2855
|
+
if (next != 93 /* ']' */) return -1;
|
|
2856
|
+
// Scanning back to the next link/image start marker
|
|
2857
|
+
for (let i = cx.parts.length - 1; i >= 0; i--) {
|
|
2858
|
+
let part = cx.parts[i];
|
|
2859
|
+
if (part instanceof InlineDelimiter && (part.type == LinkStart || part.type == ImageStart)) {
|
|
2860
|
+
// If this one has been set invalid (because it would produce
|
|
2861
|
+
// a nested link) or there's no valid link here ignore both.
|
|
2862
|
+
if (!part.side || cx.skipSpace(part.to) == start && !/[(\[]/.test(cx.slice(start + 1, start + 2))) {
|
|
2863
|
+
cx.parts[i] = null;
|
|
2864
|
+
return -1;
|
|
2865
|
+
}
|
|
2866
|
+
// Finish the content and replace the entire range in
|
|
2867
|
+
// this.parts with the link/image node.
|
|
2868
|
+
let content = cx.takeContent(i);
|
|
2869
|
+
let link = cx.parts[i] = finishLink(cx, content, part.type == LinkStart ? Type.Link : Type.Image, part.from, start + 1);
|
|
2870
|
+
// Set any open-link markers before this link to invalid.
|
|
2871
|
+
if (part.type == LinkStart) for (let j = 0; j < i; j++) {
|
|
2872
|
+
let p = cx.parts[j];
|
|
2873
|
+
if (p instanceof InlineDelimiter && p.type == LinkStart) p.side = 0;
|
|
2874
|
+
}
|
|
2875
|
+
return link.to;
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
return -1;
|
|
2879
|
+
}
|
|
2880
|
+
};
|
|
2881
|
+
function finishLink(cx, content, type, start, startPos) {
|
|
2882
|
+
let {
|
|
2883
|
+
text
|
|
2884
|
+
} = cx,
|
|
2885
|
+
next = cx.char(startPos),
|
|
2886
|
+
endPos = startPos;
|
|
2887
|
+
content.unshift(elt(Type.LinkMark, start, start + (type == Type.Image ? 2 : 1)));
|
|
2888
|
+
content.push(elt(Type.LinkMark, startPos - 1, startPos));
|
|
2889
|
+
if (next == 40 /* '(' */) {
|
|
2890
|
+
let pos = cx.skipSpace(startPos + 1);
|
|
2891
|
+
let dest = parseURL(text, pos - cx.offset, cx.offset),
|
|
2892
|
+
title;
|
|
2893
|
+
if (dest) {
|
|
2894
|
+
pos = cx.skipSpace(dest.to);
|
|
2895
|
+
title = parseLinkTitle(text, pos - cx.offset, cx.offset);
|
|
2896
|
+
if (title) pos = cx.skipSpace(title.to);
|
|
2897
|
+
}
|
|
2898
|
+
if (cx.char(pos) == 41 /* ')' */) {
|
|
2899
|
+
content.push(elt(Type.LinkMark, startPos, startPos + 1));
|
|
2900
|
+
endPos = pos + 1;
|
|
2901
|
+
if (dest) content.push(dest);
|
|
2902
|
+
if (title) content.push(title);
|
|
2903
|
+
content.push(elt(Type.LinkMark, pos, endPos));
|
|
2904
|
+
}
|
|
2905
|
+
} else if (next == 91 /* '[' */) {
|
|
2906
|
+
let label = parseLinkLabel(text, startPos - cx.offset, cx.offset, false);
|
|
2907
|
+
if (label) {
|
|
2908
|
+
content.push(label);
|
|
2909
|
+
endPos = label.to;
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
return elt(type, start, endPos, content);
|
|
2913
|
+
}
|
|
2914
|
+
// These return `null` when falling off the end of the input, `false`
|
|
2915
|
+
// when parsing fails otherwise (for use in the incremental link
|
|
2916
|
+
// reference parser).
|
|
2917
|
+
function parseURL(text, start, offset) {
|
|
2918
|
+
let next = text.charCodeAt(start);
|
|
2919
|
+
if (next == 60 /* '<' */) {
|
|
2920
|
+
for (let pos = start + 1; pos < text.length; pos++) {
|
|
2921
|
+
let ch = text.charCodeAt(pos);
|
|
2922
|
+
if (ch == 62 /* '>' */) return elt(Type.URL, start + offset, pos + 1 + offset);
|
|
2923
|
+
if (ch == 60 || ch == 10 /* '<\n' */) return false;
|
|
2924
|
+
}
|
|
2925
|
+
return null;
|
|
2926
|
+
} else {
|
|
2927
|
+
let depth = 0,
|
|
2928
|
+
pos = start;
|
|
2929
|
+
for (let escaped = false; pos < text.length; pos++) {
|
|
2930
|
+
let ch = text.charCodeAt(pos);
|
|
2931
|
+
if (space(ch)) {
|
|
2932
|
+
break;
|
|
2933
|
+
} else if (escaped) {
|
|
2934
|
+
escaped = false;
|
|
2935
|
+
} else if (ch == 40 /* '(' */) {
|
|
2936
|
+
depth++;
|
|
2937
|
+
} else if (ch == 41 /* ')' */) {
|
|
2938
|
+
if (!depth) break;
|
|
2939
|
+
depth--;
|
|
2940
|
+
} else if (ch == 92 /* '\\' */) {
|
|
2941
|
+
escaped = true;
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
return pos > start ? elt(Type.URL, start + offset, pos + offset) : pos == text.length ? null : false;
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
function parseLinkTitle(text, start, offset) {
|
|
2948
|
+
let next = text.charCodeAt(start);
|
|
2949
|
+
if (next != 39 && next != 34 && next != 40 /* '"\'(' */) return false;
|
|
2950
|
+
let end = next == 40 ? 41 : next;
|
|
2951
|
+
for (let pos = start + 1, escaped = false; pos < text.length; pos++) {
|
|
2952
|
+
let ch = text.charCodeAt(pos);
|
|
2953
|
+
if (escaped) escaped = false;else if (ch == end) return elt(Type.LinkTitle, start + offset, pos + 1 + offset);else if (ch == 92 /* '\\' */) escaped = true;
|
|
2954
|
+
}
|
|
2955
|
+
return null;
|
|
2956
|
+
}
|
|
2957
|
+
function parseLinkLabel(text, start, offset, requireNonWS) {
|
|
2958
|
+
for (let escaped = false, pos = start + 1, end = Math.min(text.length, pos + 999); pos < end; pos++) {
|
|
2959
|
+
let ch = text.charCodeAt(pos);
|
|
2960
|
+
if (escaped) escaped = false;else if (ch == 93 /* ']' */) return requireNonWS ? false : elt(Type.LinkLabel, start + offset, pos + 1 + offset);else {
|
|
2961
|
+
if (requireNonWS && !space(ch)) requireNonWS = false;
|
|
2962
|
+
if (ch == 91 /* '[' */) return false;else if (ch == 92 /* '\\' */) escaped = true;
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
return null;
|
|
2966
|
+
}
|
|
2967
|
+
/// Inline parsing functions get access to this context, and use it to
|
|
2968
|
+
/// read the content and emit syntax nodes.
|
|
2969
|
+
class InlineContext {
|
|
2970
|
+
/// @internal
|
|
2971
|
+
constructor(
|
|
2972
|
+
/// The parser that is being used.
|
|
2973
|
+
parser,
|
|
2974
|
+
/// The text of this inline section.
|
|
2975
|
+
text,
|
|
2976
|
+
/// The starting offset of the section in the document.
|
|
2977
|
+
offset) {
|
|
2978
|
+
this.parser = parser;
|
|
2979
|
+
this.text = text;
|
|
2980
|
+
this.offset = offset;
|
|
2981
|
+
/// @internal
|
|
2982
|
+
this.parts = [];
|
|
2983
|
+
}
|
|
2984
|
+
/// Get the character code at the given (document-relative)
|
|
2985
|
+
/// position.
|
|
2986
|
+
char(pos) {
|
|
2987
|
+
return pos >= this.end ? -1 : this.text.charCodeAt(pos - this.offset);
|
|
2988
|
+
}
|
|
2989
|
+
/// The position of the end of this inline section.
|
|
2990
|
+
get end() {
|
|
2991
|
+
return this.offset + this.text.length;
|
|
2992
|
+
}
|
|
2993
|
+
/// Get a substring of this inline section. Again uses
|
|
2994
|
+
/// document-relative positions.
|
|
2995
|
+
slice(from, to) {
|
|
2996
|
+
return this.text.slice(from - this.offset, to - this.offset);
|
|
2997
|
+
}
|
|
2998
|
+
/// @internal
|
|
2999
|
+
append(elt) {
|
|
3000
|
+
this.parts.push(elt);
|
|
3001
|
+
return elt.to;
|
|
3002
|
+
}
|
|
3003
|
+
/// Add a [delimiter](#DelimiterType) at this given position. `open`
|
|
3004
|
+
/// and `close` indicate whether this delimiter is opening, closing,
|
|
3005
|
+
/// or both. Returns the end of the delimiter, for convenient
|
|
3006
|
+
/// returning from [parse functions](#InlineParser.parse).
|
|
3007
|
+
addDelimiter(type, from, to, open, close) {
|
|
3008
|
+
return this.append(new InlineDelimiter(type, from, to, (open ? 1 /* Open */ : 0) | (close ? 2 /* Close */ : 0)));
|
|
3009
|
+
}
|
|
3010
|
+
/// Add an inline element. Returns the end of the element.
|
|
3011
|
+
addElement(elt) {
|
|
3012
|
+
return this.append(elt);
|
|
3013
|
+
}
|
|
3014
|
+
/// Resolve markers between this.parts.length and from, wrapping matched markers in the
|
|
3015
|
+
/// appropriate node and updating the content of this.parts. @internal
|
|
3016
|
+
resolveMarkers(from) {
|
|
3017
|
+
// Scan forward, looking for closing tokens
|
|
3018
|
+
for (let i = from; i < this.parts.length; i++) {
|
|
3019
|
+
let close = this.parts[i];
|
|
3020
|
+
if (!(close instanceof InlineDelimiter && close.type.resolve && close.side & 2 /* Close */)) continue;
|
|
3021
|
+
let emp = close.type == EmphasisUnderscore || close.type == EmphasisAsterisk;
|
|
3022
|
+
let closeSize = close.to - close.from;
|
|
3023
|
+
let open,
|
|
3024
|
+
j = i - 1;
|
|
3025
|
+
// Continue scanning for a matching opening token
|
|
3026
|
+
for (; j >= from; j--) {
|
|
3027
|
+
let part = this.parts[j];
|
|
3028
|
+
if (part instanceof InlineDelimiter && part.side & 1 /* Open */ && part.type == close.type &&
|
|
3029
|
+
// Ignore emphasis delimiters where the character count doesn't match
|
|
3030
|
+
!(emp && (close.side & 1 /* Open */ || part.side & 2 /* Close */) && (part.to - part.from + closeSize) % 3 == 0 && ((part.to - part.from) % 3 || closeSize % 3))) {
|
|
3031
|
+
open = part;
|
|
3032
|
+
break;
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
if (!open) continue;
|
|
3036
|
+
let type = close.type.resolve,
|
|
3037
|
+
content = [];
|
|
3038
|
+
let start = open.from,
|
|
3039
|
+
end = close.to;
|
|
3040
|
+
// Emphasis marker effect depends on the character count. Size consumed is minimum of the two
|
|
3041
|
+
// markers.
|
|
3042
|
+
if (emp) {
|
|
3043
|
+
let size = Math.min(2, open.to - open.from, closeSize);
|
|
3044
|
+
start = open.to - size;
|
|
3045
|
+
end = close.from + size;
|
|
3046
|
+
type = size == 1 ? "Emphasis" : "StrongEmphasis";
|
|
3047
|
+
}
|
|
3048
|
+
// Move the covered region into content, optionally adding marker nodes
|
|
3049
|
+
if (open.type.mark) content.push(this.elt(open.type.mark, start, open.to));
|
|
3050
|
+
for (let k = j + 1; k < i; k++) {
|
|
3051
|
+
if (this.parts[k] instanceof Element) content.push(this.parts[k]);
|
|
3052
|
+
this.parts[k] = null;
|
|
3053
|
+
}
|
|
3054
|
+
if (close.type.mark) content.push(this.elt(close.type.mark, close.from, end));
|
|
3055
|
+
let element = this.elt(type, start, end, content);
|
|
3056
|
+
// If there are leftover emphasis marker characters, shrink the close/open markers. Otherwise, clear them.
|
|
3057
|
+
this.parts[j] = emp && open.from != start ? new InlineDelimiter(open.type, open.from, start, open.side) : null;
|
|
3058
|
+
let keep = this.parts[i] = emp && close.to != end ? new InlineDelimiter(close.type, end, close.to, close.side) : null;
|
|
3059
|
+
// Insert the new element in this.parts
|
|
3060
|
+
if (keep) this.parts.splice(i, 0, element);else this.parts[i] = element;
|
|
3061
|
+
}
|
|
3062
|
+
// Collect the elements remaining in this.parts into an array.
|
|
3063
|
+
let result = [];
|
|
3064
|
+
for (let i = from; i < this.parts.length; i++) {
|
|
3065
|
+
let part = this.parts[i];
|
|
3066
|
+
if (part instanceof Element) result.push(part);
|
|
3067
|
+
}
|
|
3068
|
+
return result;
|
|
3069
|
+
}
|
|
3070
|
+
/// Find an opening delimiter of the given type. Returns `null` if
|
|
3071
|
+
/// no delimiter is found, or an index that can be passed to
|
|
3072
|
+
/// [`takeContent`](#InlineContext.takeContent) otherwise.
|
|
3073
|
+
findOpeningDelimiter(type) {
|
|
3074
|
+
for (let i = this.parts.length - 1; i >= 0; i--) {
|
|
3075
|
+
let part = this.parts[i];
|
|
3076
|
+
if (part instanceof InlineDelimiter && part.type == type) return i;
|
|
3077
|
+
}
|
|
3078
|
+
return null;
|
|
3079
|
+
}
|
|
3080
|
+
/// Remove all inline elements and delimiters starting from the
|
|
3081
|
+
/// given index (which you should get from
|
|
3082
|
+
/// [`findOpeningDelimiter`](#InlineContext.findOpeningDelimiter),
|
|
3083
|
+
/// resolve delimiters inside of them, and return them as an array
|
|
3084
|
+
/// of elements.
|
|
3085
|
+
takeContent(startIndex) {
|
|
3086
|
+
let content = this.resolveMarkers(startIndex);
|
|
3087
|
+
this.parts.length = startIndex;
|
|
3088
|
+
return content;
|
|
3089
|
+
}
|
|
3090
|
+
/// Skip space after the given (document) position, returning either
|
|
3091
|
+
/// the position of the next non-space character or the end of the
|
|
3092
|
+
/// section.
|
|
3093
|
+
skipSpace(from) {
|
|
3094
|
+
return skipSpace(this.text, from - this.offset) + this.offset;
|
|
3095
|
+
}
|
|
3096
|
+
elt(type, from, to, children) {
|
|
3097
|
+
if (typeof type == "string") return elt(this.parser.getNodeType(type), from, to, children);
|
|
3098
|
+
return new TreeElement(type, from);
|
|
3099
|
+
}
|
|
3100
|
+
}
|
|
3101
|
+
function injectMarks(elements, marks) {
|
|
3102
|
+
if (!marks.length) return elements;
|
|
3103
|
+
if (!elements.length) return marks;
|
|
3104
|
+
let elts = elements.slice(),
|
|
3105
|
+
eI = 0;
|
|
3106
|
+
for (let mark of marks) {
|
|
3107
|
+
while (eI < elts.length && elts[eI].to < mark.to) eI++;
|
|
3108
|
+
if (eI < elts.length && elts[eI].from < mark.from) {
|
|
3109
|
+
let e = elts[eI];
|
|
3110
|
+
if (e instanceof Element) elts[eI] = new Element(e.type, e.from, e.to, injectMarks(e.children, [mark]));
|
|
3111
|
+
} else {
|
|
3112
|
+
elts.splice(eI++, 0, mark);
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
return elts;
|
|
3116
|
+
}
|
|
3117
|
+
// These are blocks that can span blank lines, and should thus only be
|
|
3118
|
+
// reused if their next sibling is also being reused.
|
|
3119
|
+
const NotLast = [Type.CodeBlock, Type.ListItem, Type.OrderedList, Type.BulletList];
|
|
3120
|
+
class FragmentCursor {
|
|
3121
|
+
constructor(fragments, input) {
|
|
3122
|
+
this.fragments = fragments;
|
|
3123
|
+
this.input = input;
|
|
3124
|
+
// Index into fragment array
|
|
3125
|
+
this.i = 0;
|
|
3126
|
+
// Active fragment
|
|
3127
|
+
this.fragment = null;
|
|
3128
|
+
this.fragmentEnd = -1;
|
|
3129
|
+
// Cursor into the current fragment, if any. When `moveTo` returns
|
|
3130
|
+
// true, this points at the first block after `pos`.
|
|
3131
|
+
this.cursor = null;
|
|
3132
|
+
if (fragments.length) this.fragment = fragments[this.i++];
|
|
3133
|
+
}
|
|
3134
|
+
nextFragment() {
|
|
3135
|
+
this.fragment = this.i < this.fragments.length ? this.fragments[this.i++] : null;
|
|
3136
|
+
this.cursor = null;
|
|
3137
|
+
this.fragmentEnd = -1;
|
|
3138
|
+
}
|
|
3139
|
+
moveTo(pos, lineStart) {
|
|
3140
|
+
while (this.fragment && this.fragment.to <= pos) this.nextFragment();
|
|
3141
|
+
if (!this.fragment || this.fragment.from > (pos ? pos - 1 : 0)) return false;
|
|
3142
|
+
if (this.fragmentEnd < 0) {
|
|
3143
|
+
let end = this.fragment.to;
|
|
3144
|
+
while (end > 0 && this.input.read(end - 1, end) != "\n") end--;
|
|
3145
|
+
this.fragmentEnd = end ? end - 1 : 0;
|
|
3146
|
+
}
|
|
3147
|
+
let c = this.cursor;
|
|
3148
|
+
if (!c) {
|
|
3149
|
+
c = this.cursor = this.fragment.tree.cursor();
|
|
3150
|
+
c.firstChild();
|
|
3151
|
+
}
|
|
3152
|
+
let rPos = pos + this.fragment.offset;
|
|
3153
|
+
while (c.to <= rPos) if (!c.parent()) return false;
|
|
3154
|
+
for (;;) {
|
|
3155
|
+
if (c.from >= rPos) return this.fragment.from <= lineStart;
|
|
3156
|
+
if (!c.childAfter(rPos)) return false;
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
matches(hash) {
|
|
3160
|
+
let tree = this.cursor.tree;
|
|
3161
|
+
return tree && tree.prop(NodeProp.contextHash) == hash;
|
|
3162
|
+
}
|
|
3163
|
+
takeNodes(cx) {
|
|
3164
|
+
let cur = this.cursor,
|
|
3165
|
+
off = this.fragment.offset,
|
|
3166
|
+
fragEnd = this.fragmentEnd - (this.fragment.openEnd ? 1 : 0);
|
|
3167
|
+
let start = cx.absoluteLineStart,
|
|
3168
|
+
end = start,
|
|
3169
|
+
blockI = cx.block.children.length;
|
|
3170
|
+
let prevEnd = end,
|
|
3171
|
+
prevI = blockI;
|
|
3172
|
+
for (;;) {
|
|
3173
|
+
if (cur.to - off > fragEnd) {
|
|
3174
|
+
if (cur.type.isAnonymous && cur.firstChild()) continue;
|
|
3175
|
+
break;
|
|
3176
|
+
}
|
|
3177
|
+
cx.dontInject.add(cur.tree);
|
|
3178
|
+
cx.addNode(cur.tree, cur.from - off);
|
|
3179
|
+
// Taken content must always end in a block, because incremental
|
|
3180
|
+
// parsing happens on block boundaries. Never stop directly
|
|
3181
|
+
// after an indented code block, since those can continue after
|
|
3182
|
+
// any number of blank lines.
|
|
3183
|
+
if (cur.type.is("Block")) {
|
|
3184
|
+
if (NotLast.indexOf(cur.type.id) < 0) {
|
|
3185
|
+
end = cur.to - off;
|
|
3186
|
+
blockI = cx.block.children.length;
|
|
3187
|
+
} else {
|
|
3188
|
+
end = prevEnd;
|
|
3189
|
+
blockI = prevI;
|
|
3190
|
+
prevEnd = cur.to - off;
|
|
3191
|
+
prevI = cx.block.children.length;
|
|
3192
|
+
}
|
|
3193
|
+
}
|
|
3194
|
+
if (!cur.nextSibling()) break;
|
|
3195
|
+
}
|
|
3196
|
+
while (cx.block.children.length > blockI) {
|
|
3197
|
+
cx.block.children.pop();
|
|
3198
|
+
cx.block.positions.pop();
|
|
3199
|
+
}
|
|
3200
|
+
return end - start;
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
const markdownHighlighting = styleTags({
|
|
3204
|
+
"Blockquote/...": tags$1.quote,
|
|
3205
|
+
HorizontalRule: tags$1.contentSeparator,
|
|
3206
|
+
"ATXHeading1/... SetextHeading1/...": tags$1.heading1,
|
|
3207
|
+
"ATXHeading2/... SetextHeading2/...": tags$1.heading2,
|
|
3208
|
+
"ATXHeading3/...": tags$1.heading3,
|
|
3209
|
+
"ATXHeading4/...": tags$1.heading4,
|
|
3210
|
+
"ATXHeading5/...": tags$1.heading5,
|
|
3211
|
+
"ATXHeading6/...": tags$1.heading6,
|
|
3212
|
+
"Comment CommentBlock": tags$1.comment,
|
|
3213
|
+
Escape: tags$1.escape,
|
|
3214
|
+
Entity: tags$1.character,
|
|
3215
|
+
"Emphasis/...": tags$1.emphasis,
|
|
3216
|
+
"StrongEmphasis/...": tags$1.strong,
|
|
3217
|
+
"Link/... Image/...": tags$1.link,
|
|
3218
|
+
"OrderedList/... BulletList/...": tags$1.list,
|
|
3219
|
+
"BlockQuote/...": tags$1.quote,
|
|
3220
|
+
"InlineCode CodeText": tags$1.monospace,
|
|
3221
|
+
URL: tags$1.url,
|
|
3222
|
+
"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark": tags$1.processingInstruction,
|
|
3223
|
+
"CodeInfo LinkLabel": tags$1.labelName,
|
|
3224
|
+
LinkTitle: tags$1.string,
|
|
3225
|
+
Paragraph: tags$1.content
|
|
3226
|
+
});
|
|
3227
|
+
/// The default CommonMark parser.
|
|
3228
|
+
const parser = new MarkdownParser(new NodeSet(nodeTypes).extend(markdownHighlighting), Object.keys(DefaultBlockParsers).map(n => DefaultBlockParsers[n]), Object.keys(DefaultBlockParsers).map(n => DefaultLeafBlocks[n]), Object.keys(DefaultBlockParsers), DefaultEndLeaf, DefaultSkipMarkup, Object.keys(DefaultInline).map(n => DefaultInline[n]), Object.keys(DefaultInline), []);
|
|
3229
|
+
function leftOverSpace(node, from, to) {
|
|
3230
|
+
let ranges = [];
|
|
3231
|
+
for (let n = node.firstChild, pos = from;; n = n.nextSibling) {
|
|
3232
|
+
let nextPos = n ? n.from : to;
|
|
3233
|
+
if (nextPos > pos) ranges.push({
|
|
3234
|
+
from: pos,
|
|
3235
|
+
to: nextPos
|
|
3236
|
+
});
|
|
3237
|
+
if (!n) break;
|
|
3238
|
+
pos = n.to;
|
|
3239
|
+
}
|
|
3240
|
+
return ranges;
|
|
3241
|
+
}
|
|
3242
|
+
/// Create a Markdown extension to enable nested parsing on code
|
|
3243
|
+
/// blocks and/or embedded HTML.
|
|
3244
|
+
function parseCode(config) {
|
|
3245
|
+
let {
|
|
3246
|
+
codeParser,
|
|
3247
|
+
htmlParser
|
|
3248
|
+
} = config;
|
|
3249
|
+
let wrap = parseMixed((node, input) => {
|
|
3250
|
+
let id = node.type.id;
|
|
3251
|
+
if (codeParser && (id == Type.CodeBlock || id == Type.FencedCode)) {
|
|
3252
|
+
let info = "";
|
|
3253
|
+
if (id == Type.FencedCode) {
|
|
3254
|
+
let infoNode = node.node.getChild(Type.CodeInfo);
|
|
3255
|
+
if (infoNode) info = input.read(infoNode.from, infoNode.to);
|
|
3256
|
+
}
|
|
3257
|
+
let parser = codeParser(info);
|
|
3258
|
+
if (parser) return {
|
|
3259
|
+
parser,
|
|
3260
|
+
overlay: node => node.type.id == Type.CodeText
|
|
3261
|
+
};
|
|
3262
|
+
} else if (htmlParser && (id == Type.HTMLBlock || id == Type.HTMLTag)) {
|
|
3263
|
+
return {
|
|
3264
|
+
parser: htmlParser,
|
|
3265
|
+
overlay: leftOverSpace(node.node, node.from, node.to)
|
|
3266
|
+
};
|
|
3267
|
+
}
|
|
3268
|
+
return null;
|
|
3269
|
+
});
|
|
3270
|
+
return {
|
|
3271
|
+
wrap
|
|
3272
|
+
};
|
|
3273
|
+
}
|
|
3274
|
+
const StrikethroughDelim = {
|
|
3275
|
+
resolve: "Strikethrough",
|
|
3276
|
+
mark: "StrikethroughMark"
|
|
3277
|
+
};
|
|
3278
|
+
/// An extension that implements
|
|
3279
|
+
/// [GFM-style](https://github.github.com/gfm/#strikethrough-extension-)
|
|
3280
|
+
/// Strikethrough syntax using `~~` delimiters.
|
|
3281
|
+
const Strikethrough = {
|
|
3282
|
+
defineNodes: [{
|
|
3283
|
+
name: "Strikethrough",
|
|
3284
|
+
style: {
|
|
3285
|
+
"Strikethrough/...": tags$1.strikethrough
|
|
3286
|
+
}
|
|
3287
|
+
}, {
|
|
3288
|
+
name: "StrikethroughMark",
|
|
3289
|
+
style: tags$1.processingInstruction
|
|
3290
|
+
}],
|
|
3291
|
+
parseInline: [{
|
|
3292
|
+
name: "Strikethrough",
|
|
3293
|
+
parse(cx, next, pos) {
|
|
3294
|
+
if (next != 126 /* '~' */ || cx.char(pos + 1) != 126 || cx.char(pos + 2) == 126) return -1;
|
|
3295
|
+
let before = cx.slice(pos - 1, pos),
|
|
3296
|
+
after = cx.slice(pos + 2, pos + 3);
|
|
3297
|
+
let sBefore = /\s|^$/.test(before),
|
|
3298
|
+
sAfter = /\s|^$/.test(after);
|
|
3299
|
+
let pBefore = Punctuation.test(before),
|
|
3300
|
+
pAfter = Punctuation.test(after);
|
|
3301
|
+
return cx.addDelimiter(StrikethroughDelim, pos, pos + 2, !sAfter && (!pAfter || sBefore || pBefore), !sBefore && (!pBefore || sAfter || pAfter));
|
|
3302
|
+
},
|
|
3303
|
+
after: "Emphasis"
|
|
3304
|
+
}]
|
|
3305
|
+
};
|
|
3306
|
+
function parseRow(cx, line, startI = 0, elts, offset = 0) {
|
|
3307
|
+
let count = 0,
|
|
3308
|
+
first = true,
|
|
3309
|
+
cellStart = -1,
|
|
3310
|
+
cellEnd = -1,
|
|
3311
|
+
esc = false;
|
|
3312
|
+
let parseCell = () => {
|
|
3313
|
+
elts.push(cx.elt("TableCell", offset + cellStart, offset + cellEnd, cx.parser.parseInline(line.slice(cellStart, cellEnd), offset + cellStart)));
|
|
3314
|
+
};
|
|
3315
|
+
for (let i = startI; i < line.length; i++) {
|
|
3316
|
+
let next = line.charCodeAt(i);
|
|
3317
|
+
if (next == 124 /* '|' */ && !esc) {
|
|
3318
|
+
if (!first || cellStart > -1) count++;
|
|
3319
|
+
first = false;
|
|
3320
|
+
if (elts) {
|
|
3321
|
+
if (cellStart > -1) parseCell();
|
|
3322
|
+
elts.push(cx.elt("TableDelimiter", i + offset, i + offset + 1));
|
|
3323
|
+
}
|
|
3324
|
+
cellStart = cellEnd = -1;
|
|
3325
|
+
} else if (esc || next != 32 && next != 9) {
|
|
3326
|
+
if (cellStart < 0) cellStart = i;
|
|
3327
|
+
cellEnd = i + 1;
|
|
3328
|
+
}
|
|
3329
|
+
esc = !esc && next == 92;
|
|
3330
|
+
}
|
|
3331
|
+
if (cellStart > -1) {
|
|
3332
|
+
count++;
|
|
3333
|
+
if (elts) parseCell();
|
|
3334
|
+
}
|
|
3335
|
+
return count;
|
|
3336
|
+
}
|
|
3337
|
+
function hasPipe(str, start) {
|
|
3338
|
+
for (let i = start; i < str.length; i++) {
|
|
3339
|
+
let next = str.charCodeAt(i);
|
|
3340
|
+
if (next == 124 /* '|' */) return true;
|
|
3341
|
+
if (next == 92 /* '\\' */) i++;
|
|
3342
|
+
}
|
|
3343
|
+
return false;
|
|
3344
|
+
}
|
|
3345
|
+
const delimiterLine = /^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;
|
|
3346
|
+
class TableParser {
|
|
3347
|
+
constructor() {
|
|
3348
|
+
// Null means we haven't seen the second line yet, false means this
|
|
3349
|
+
// isn't a table, and an array means this is a table and we've
|
|
3350
|
+
// parsed the given rows so far.
|
|
3351
|
+
this.rows = null;
|
|
3352
|
+
}
|
|
3353
|
+
nextLine(cx, line, leaf) {
|
|
3354
|
+
if (this.rows == null) {
|
|
3355
|
+
// Second line
|
|
3356
|
+
this.rows = false;
|
|
3357
|
+
let lineText;
|
|
3358
|
+
if ((line.next == 45 || line.next == 58 || line.next == 124 /* '-:|' */) && delimiterLine.test(lineText = line.text.slice(line.pos))) {
|
|
3359
|
+
let firstRow = [],
|
|
3360
|
+
firstCount = parseRow(cx, leaf.content, 0, firstRow, leaf.start);
|
|
3361
|
+
if (firstCount == parseRow(cx, lineText, line.pos)) this.rows = [cx.elt("TableHeader", leaf.start, leaf.start + leaf.content.length, firstRow), cx.elt("TableDelimiter", cx.lineStart + line.pos, cx.lineStart + line.text.length)];
|
|
3362
|
+
}
|
|
3363
|
+
} else if (this.rows) {
|
|
3364
|
+
// Line after the second
|
|
3365
|
+
let content = [];
|
|
3366
|
+
parseRow(cx, line.text, line.pos, content, cx.lineStart);
|
|
3367
|
+
this.rows.push(cx.elt("TableRow", cx.lineStart + line.pos, cx.lineStart + line.text.length, content));
|
|
3368
|
+
}
|
|
3369
|
+
return false;
|
|
3370
|
+
}
|
|
3371
|
+
finish(cx, leaf) {
|
|
3372
|
+
if (!this.rows) return false;
|
|
3373
|
+
cx.addLeafElement(leaf, cx.elt("Table", leaf.start, leaf.start + leaf.content.length, this.rows));
|
|
3374
|
+
return true;
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
/// This extension provides
|
|
3378
|
+
/// [GFM-style](https://github.github.com/gfm/#tables-extension-)
|
|
3379
|
+
/// tables, using syntax like this:
|
|
3380
|
+
///
|
|
3381
|
+
/// ```
|
|
3382
|
+
/// | head 1 | head 2 |
|
|
3383
|
+
/// | --- | --- |
|
|
3384
|
+
/// | cell 1 | cell 2 |
|
|
3385
|
+
/// ```
|
|
3386
|
+
const Table = {
|
|
3387
|
+
defineNodes: [{
|
|
3388
|
+
name: "Table",
|
|
3389
|
+
block: true
|
|
3390
|
+
}, {
|
|
3391
|
+
name: "TableHeader",
|
|
3392
|
+
style: {
|
|
3393
|
+
"TableHeader/...": tags$1.heading
|
|
3394
|
+
}
|
|
3395
|
+
}, "TableRow", {
|
|
3396
|
+
name: "TableCell",
|
|
3397
|
+
style: tags$1.content
|
|
3398
|
+
}, {
|
|
3399
|
+
name: "TableDelimiter",
|
|
3400
|
+
style: tags$1.processingInstruction
|
|
3401
|
+
}],
|
|
3402
|
+
parseBlock: [{
|
|
3403
|
+
name: "Table",
|
|
3404
|
+
leaf(_, leaf) {
|
|
3405
|
+
return hasPipe(leaf.content, 0) ? new TableParser() : null;
|
|
3406
|
+
},
|
|
3407
|
+
endLeaf(cx, line, leaf) {
|
|
3408
|
+
if (leaf.parsers.some(p => p instanceof TableParser) || !hasPipe(line.text, line.basePos)) return false;
|
|
3409
|
+
let next = cx.scanLine(cx.absoluteLineEnd + 1).text;
|
|
3410
|
+
return delimiterLine.test(next) && parseRow(cx, line.text, line.basePos) == parseRow(cx, next, line.basePos);
|
|
3411
|
+
},
|
|
3412
|
+
before: "SetextHeading"
|
|
3413
|
+
}]
|
|
3414
|
+
};
|
|
3415
|
+
class TaskParser {
|
|
3416
|
+
nextLine() {
|
|
3417
|
+
return false;
|
|
3418
|
+
}
|
|
3419
|
+
finish(cx, leaf) {
|
|
3420
|
+
cx.addLeafElement(leaf, cx.elt("Task", leaf.start, leaf.start + leaf.content.length, [cx.elt("TaskMarker", leaf.start, leaf.start + 3), ...cx.parser.parseInline(leaf.content.slice(3), leaf.start + 3)]));
|
|
3421
|
+
return true;
|
|
3422
|
+
}
|
|
3423
|
+
}
|
|
3424
|
+
/// Extension providing
|
|
3425
|
+
/// [GFM-style](https://github.github.com/gfm/#task-list-items-extension-)
|
|
3426
|
+
/// task list items, where list items can be prefixed with `[ ]` or
|
|
3427
|
+
/// `[x]` to add a checkbox.
|
|
3428
|
+
const TaskList = {
|
|
3429
|
+
defineNodes: [{
|
|
3430
|
+
name: "Task",
|
|
3431
|
+
block: true,
|
|
3432
|
+
style: tags$1.list
|
|
3433
|
+
}, {
|
|
3434
|
+
name: "TaskMarker",
|
|
3435
|
+
style: tags$1.atom
|
|
3436
|
+
}],
|
|
3437
|
+
parseBlock: [{
|
|
3438
|
+
name: "TaskList",
|
|
3439
|
+
leaf(cx, leaf) {
|
|
3440
|
+
return /^\[[ xX]\]/.test(leaf.content) && cx.parentType().name == "ListItem" ? new TaskParser() : null;
|
|
3441
|
+
},
|
|
3442
|
+
after: "SetextHeading"
|
|
3443
|
+
}]
|
|
3444
|
+
};
|
|
3445
|
+
/// Extension bundle containing [`Table`](#Table),
|
|
3446
|
+
/// [`TaskList`](#TaskList) and [`Strikethrough`](#Strikethrough).
|
|
3447
|
+
const GFM = [Table, TaskList, Strikethrough];
|
|
3448
|
+
function parseSubSuper(ch, node, mark) {
|
|
3449
|
+
return (cx, next, pos) => {
|
|
3450
|
+
if (next != ch || cx.char(pos + 1) == ch) return -1;
|
|
3451
|
+
let elts = [cx.elt(mark, pos, pos + 1)];
|
|
3452
|
+
for (let i = pos + 1; i < cx.end; i++) {
|
|
3453
|
+
let next = cx.char(i);
|
|
3454
|
+
if (next == ch) return cx.addElement(cx.elt(node, pos, i + 1, elts.concat(cx.elt(mark, i, i + 1))));
|
|
3455
|
+
if (next == 92 /* '\\' */) elts.push(cx.elt("Escape", i, i++ + 2));
|
|
3456
|
+
if (space(next)) break;
|
|
3457
|
+
}
|
|
3458
|
+
return -1;
|
|
3459
|
+
};
|
|
3460
|
+
}
|
|
3461
|
+
/// Extension providing
|
|
3462
|
+
/// [Pandoc-style](https://pandoc.org/MANUAL.html#superscripts-and-subscripts)
|
|
3463
|
+
/// superscript using `^` markers.
|
|
3464
|
+
const Superscript = {
|
|
3465
|
+
defineNodes: [{
|
|
3466
|
+
name: "Superscript",
|
|
3467
|
+
style: tags$1.special(tags$1.content)
|
|
3468
|
+
}, {
|
|
3469
|
+
name: "SuperscriptMark",
|
|
3470
|
+
style: tags$1.processingInstruction
|
|
3471
|
+
}],
|
|
3472
|
+
parseInline: [{
|
|
3473
|
+
name: "Superscript",
|
|
3474
|
+
parse: parseSubSuper(94 /* '^' */, "Superscript", "SuperscriptMark")
|
|
3475
|
+
}]
|
|
3476
|
+
};
|
|
3477
|
+
/// Extension providing
|
|
3478
|
+
/// [Pandoc-style](https://pandoc.org/MANUAL.html#superscripts-and-subscripts)
|
|
3479
|
+
/// subscript using `~` markers.
|
|
3480
|
+
const Subscript = {
|
|
3481
|
+
defineNodes: [{
|
|
3482
|
+
name: "Subscript",
|
|
3483
|
+
style: tags$1.special(tags$1.content)
|
|
3484
|
+
}, {
|
|
3485
|
+
name: "SubscriptMark",
|
|
3486
|
+
style: tags$1.processingInstruction
|
|
3487
|
+
}],
|
|
3488
|
+
parseInline: [{
|
|
3489
|
+
name: "Subscript",
|
|
3490
|
+
parse: parseSubSuper(126 /* '~' */, "Subscript", "SubscriptMark")
|
|
3491
|
+
}]
|
|
3492
|
+
};
|
|
3493
|
+
/// Extension that parses two colons with only letters, underscores,
|
|
3494
|
+
/// and numbers between them as `Emoji` nodes.
|
|
3495
|
+
const Emoji = {
|
|
3496
|
+
defineNodes: [{
|
|
3497
|
+
name: "Emoji",
|
|
3498
|
+
style: tags$1.character
|
|
3499
|
+
}],
|
|
3500
|
+
parseInline: [{
|
|
3501
|
+
name: "Emoji",
|
|
3502
|
+
parse(cx, next, pos) {
|
|
3503
|
+
let match;
|
|
3504
|
+
if (next != 58 /* ':' */ || !(match = /^[a-zA-Z_0-9]+:/.exec(cx.slice(pos + 1, cx.end)))) return -1;
|
|
3505
|
+
return cx.addElement(cx.elt("Emoji", pos, pos + 1 + match[0].length));
|
|
3506
|
+
}
|
|
3507
|
+
}]
|
|
3508
|
+
};
|
|
3509
|
+
|
|
3510
|
+
const data = /*@__PURE__*/defineLanguageFacet({
|
|
3511
|
+
block: {
|
|
3512
|
+
open: "<!--",
|
|
3513
|
+
close: "-->"
|
|
3514
|
+
}
|
|
3515
|
+
});
|
|
3516
|
+
const commonmark = /*@__PURE__*/parser.configure({
|
|
3517
|
+
props: [/*@__PURE__*/foldNodeProp.add(type => {
|
|
3518
|
+
if (!type.is("Block") || type.is("Document")) return undefined;
|
|
3519
|
+
return (tree, state) => ({
|
|
3520
|
+
from: state.doc.lineAt(tree.from).to,
|
|
3521
|
+
to: tree.to
|
|
3522
|
+
});
|
|
3523
|
+
}), /*@__PURE__*/indentNodeProp.add({
|
|
3524
|
+
Document: () => null
|
|
3525
|
+
}), /*@__PURE__*/languageDataProp.add({
|
|
3526
|
+
Document: data
|
|
3527
|
+
})]
|
|
3528
|
+
});
|
|
3529
|
+
function mkLang(parser) {
|
|
3530
|
+
return new Language(data, parser);
|
|
3531
|
+
}
|
|
3532
|
+
/**
|
|
3533
|
+
Language support for strict CommonMark.
|
|
3534
|
+
*/
|
|
3535
|
+
const commonmarkLanguage = /*@__PURE__*/mkLang(commonmark);
|
|
3536
|
+
const extended = /*@__PURE__*/commonmark.configure([GFM, Subscript, Superscript, Emoji]);
|
|
3537
|
+
/**
|
|
3538
|
+
Language support for [GFM](https://github.github.com/gfm/) plus
|
|
3539
|
+
subscript, superscript, and emoji syntax.
|
|
3540
|
+
*/
|
|
3541
|
+
const markdownLanguage = /*@__PURE__*/mkLang(extended);
|
|
3542
|
+
function getCodeParser(languages, defaultLanguage) {
|
|
3543
|
+
return info => {
|
|
3544
|
+
if (info && languages) {
|
|
3545
|
+
let found = null;
|
|
3546
|
+
// Strip anything after whitespace
|
|
3547
|
+
info = /\S*/.exec(info)[0];
|
|
3548
|
+
if (typeof languages == "function") found = languages(info);else found = LanguageDescription.matchLanguageName(languages, info, true);
|
|
3549
|
+
if (found instanceof LanguageDescription) return found.support ? found.support.language.parser : ParseContext.getSkippingParser(found.load());else if (found) return found.parser;
|
|
3550
|
+
}
|
|
3551
|
+
return defaultLanguage ? defaultLanguage.parser : null;
|
|
3552
|
+
};
|
|
3553
|
+
}
|
|
3554
|
+
function nodeStart(node, doc) {
|
|
3555
|
+
return doc.sliceString(node.from, node.from + 50);
|
|
3556
|
+
}
|
|
3557
|
+
class Context {
|
|
3558
|
+
constructor(node, from, to, spaceBefore, spaceAfter, type, item) {
|
|
3559
|
+
this.node = node;
|
|
3560
|
+
this.from = from;
|
|
3561
|
+
this.to = to;
|
|
3562
|
+
this.spaceBefore = spaceBefore;
|
|
3563
|
+
this.spaceAfter = spaceAfter;
|
|
3564
|
+
this.type = type;
|
|
3565
|
+
this.item = item;
|
|
3566
|
+
}
|
|
3567
|
+
blank(trailing = true) {
|
|
3568
|
+
let result = this.spaceBefore;
|
|
3569
|
+
if (this.node.name == "Blockquote") result += ">";else for (let i = this.to - this.from - result.length - this.spaceAfter.length; i > 0; i--) result += " ";
|
|
3570
|
+
return result + (trailing ? this.spaceAfter : "");
|
|
3571
|
+
}
|
|
3572
|
+
marker(doc, add) {
|
|
3573
|
+
let number = this.node.name == "OrderedList" ? String(+itemNumber(this.item, doc)[2] + add) : "";
|
|
3574
|
+
return this.spaceBefore + number + this.type + this.spaceAfter;
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
function getContext(node, line, doc) {
|
|
3578
|
+
let nodes = [];
|
|
3579
|
+
for (let cur = node; cur && cur.name != "Document"; cur = cur.parent) {
|
|
3580
|
+
if (cur.name == "ListItem" || cur.name == "Blockquote") nodes.push(cur);
|
|
3581
|
+
}
|
|
3582
|
+
let context = [],
|
|
3583
|
+
pos = 0;
|
|
3584
|
+
for (let i = nodes.length - 1; i >= 0; i--) {
|
|
3585
|
+
let node = nodes[i],
|
|
3586
|
+
match,
|
|
3587
|
+
start = pos;
|
|
3588
|
+
if (node.name == "Blockquote" && (match = /^[ \t]*>( ?)/.exec(line.slice(pos)))) {
|
|
3589
|
+
pos += match[0].length;
|
|
3590
|
+
context.push(new Context(node, start, pos, "", match[1], ">", null));
|
|
3591
|
+
} else if (node.name == "ListItem" && node.parent.name == "OrderedList" && (match = /^([ \t]*)\d+([.)])([ \t]*)/.exec(nodeStart(node, doc)))) {
|
|
3592
|
+
let after = match[3],
|
|
3593
|
+
len = match[0].length;
|
|
3594
|
+
if (after.length >= 4) {
|
|
3595
|
+
after = after.slice(0, after.length - 4);
|
|
3596
|
+
len -= 4;
|
|
3597
|
+
}
|
|
3598
|
+
pos += len;
|
|
3599
|
+
context.push(new Context(node.parent, start, pos, match[1], after, match[2], node));
|
|
3600
|
+
} else if (node.name == "ListItem" && node.parent.name == "BulletList" && (match = /^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(nodeStart(node, doc)))) {
|
|
3601
|
+
let after = match[4],
|
|
3602
|
+
len = match[0].length;
|
|
3603
|
+
if (after.length > 4) {
|
|
3604
|
+
after = after.slice(0, after.length - 4);
|
|
3605
|
+
len -= 4;
|
|
3606
|
+
}
|
|
3607
|
+
let type = match[2];
|
|
3608
|
+
if (match[3]) type += match[3].replace(/[xX]/, ' ');
|
|
3609
|
+
pos += len;
|
|
3610
|
+
context.push(new Context(node.parent, start, pos, match[1], after, type, node));
|
|
3611
|
+
}
|
|
3612
|
+
}
|
|
3613
|
+
return context;
|
|
3614
|
+
}
|
|
3615
|
+
function itemNumber(item, doc) {
|
|
3616
|
+
return /^(\s*)(\d+)(?=[.)])/.exec(doc.sliceString(item.from, item.from + 10));
|
|
3617
|
+
}
|
|
3618
|
+
function renumberList(after, doc, changes, offset = 0) {
|
|
3619
|
+
for (let prev = -1, node = after;;) {
|
|
3620
|
+
if (node.name == "ListItem") {
|
|
3621
|
+
let m = itemNumber(node, doc);
|
|
3622
|
+
let number = +m[2];
|
|
3623
|
+
if (prev >= 0) {
|
|
3624
|
+
if (number != prev + 1) return;
|
|
3625
|
+
changes.push({
|
|
3626
|
+
from: node.from + m[1].length,
|
|
3627
|
+
to: node.from + m[0].length,
|
|
3628
|
+
insert: String(prev + 2 + offset)
|
|
3629
|
+
});
|
|
3630
|
+
}
|
|
3631
|
+
prev = number;
|
|
3632
|
+
}
|
|
3633
|
+
let next = node.nextSibling;
|
|
3634
|
+
if (!next) break;
|
|
3635
|
+
node = next;
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
/**
|
|
3639
|
+
This command, when invoked in Markdown context with cursor
|
|
3640
|
+
selection(s), will create a new line with the markup for
|
|
3641
|
+
blockquotes and lists that were active on the old line. If the
|
|
3642
|
+
cursor was directly after the end of the markup for the old line,
|
|
3643
|
+
trailing whitespace and list markers are removed from that line.
|
|
3644
|
+
|
|
3645
|
+
The command does nothing in non-Markdown context, so it should
|
|
3646
|
+
not be used as the only binding for Enter (even in a Markdown
|
|
3647
|
+
document, HTML and code regions might use a different language).
|
|
3648
|
+
*/
|
|
3649
|
+
const insertNewlineContinueMarkup = ({
|
|
3650
|
+
state,
|
|
3651
|
+
dispatch
|
|
3652
|
+
}) => {
|
|
3653
|
+
let tree = syntaxTree(state),
|
|
3654
|
+
{
|
|
3655
|
+
doc
|
|
3656
|
+
} = state;
|
|
3657
|
+
let dont = null,
|
|
3658
|
+
changes = state.changeByRange(range => {
|
|
3659
|
+
if (!range.empty || !markdownLanguage.isActiveAt(state, range.from)) return dont = {
|
|
3660
|
+
range
|
|
3661
|
+
};
|
|
3662
|
+
let pos = range.from,
|
|
3663
|
+
line = doc.lineAt(pos);
|
|
3664
|
+
let context = getContext(tree.resolveInner(pos, -1), line.text, doc);
|
|
3665
|
+
while (context.length && context[context.length - 1].from > pos - line.from) context.pop();
|
|
3666
|
+
if (!context.length) return dont = {
|
|
3667
|
+
range
|
|
3668
|
+
};
|
|
3669
|
+
let inner = context[context.length - 1];
|
|
3670
|
+
if (inner.to - inner.spaceAfter.length > pos - line.from) return dont = {
|
|
3671
|
+
range
|
|
3672
|
+
};
|
|
3673
|
+
let emptyLine = pos >= inner.to - inner.spaceAfter.length && !/\S/.test(line.text.slice(inner.to));
|
|
3674
|
+
// Empty line in list
|
|
3675
|
+
if (inner.item && emptyLine) {
|
|
3676
|
+
// First list item or blank line before: delete a level of markup
|
|
3677
|
+
if (inner.node.firstChild.to >= pos || line.from > 0 && !/[^\s>]/.test(doc.lineAt(line.from - 1).text)) {
|
|
3678
|
+
let next = context.length > 1 ? context[context.length - 2] : null;
|
|
3679
|
+
let delTo,
|
|
3680
|
+
insert = "";
|
|
3681
|
+
if (next && next.item) {
|
|
3682
|
+
// Re-add marker for the list at the next level
|
|
3683
|
+
delTo = line.from + next.from;
|
|
3684
|
+
insert = next.marker(doc, 1);
|
|
3685
|
+
} else {
|
|
3686
|
+
delTo = line.from + (next ? next.to : 0);
|
|
3687
|
+
}
|
|
3688
|
+
let changes = [{
|
|
3689
|
+
from: delTo,
|
|
3690
|
+
to: pos,
|
|
3691
|
+
insert
|
|
3692
|
+
}];
|
|
3693
|
+
if (inner.node.name == "OrderedList") renumberList(inner.item, doc, changes, -2);
|
|
3694
|
+
if (next && next.node.name == "OrderedList") renumberList(next.item, doc, changes);
|
|
3695
|
+
return {
|
|
3696
|
+
range: EditorSelection.cursor(delTo + insert.length),
|
|
3697
|
+
changes
|
|
3698
|
+
};
|
|
3699
|
+
} else {
|
|
3700
|
+
// Move this line down
|
|
3701
|
+
let insert = "";
|
|
3702
|
+
for (let i = 0, e = context.length - 2; i <= e; i++) insert += context[i].blank(i < e);
|
|
3703
|
+
insert += state.lineBreak;
|
|
3704
|
+
return {
|
|
3705
|
+
range: EditorSelection.cursor(pos + insert.length),
|
|
3706
|
+
changes: {
|
|
3707
|
+
from: line.from,
|
|
3708
|
+
insert
|
|
3709
|
+
}
|
|
3710
|
+
};
|
|
3711
|
+
}
|
|
3712
|
+
}
|
|
3713
|
+
if (inner.node.name == "Blockquote" && emptyLine && line.from) {
|
|
3714
|
+
let prevLine = doc.lineAt(line.from - 1),
|
|
3715
|
+
quoted = />\s*$/.exec(prevLine.text);
|
|
3716
|
+
// Two aligned empty quoted lines in a row
|
|
3717
|
+
if (quoted && quoted.index == inner.from) {
|
|
3718
|
+
let changes = state.changes([{
|
|
3719
|
+
from: prevLine.from + quoted.index,
|
|
3720
|
+
to: prevLine.to
|
|
3721
|
+
}, {
|
|
3722
|
+
from: line.from + inner.from,
|
|
3723
|
+
to: line.to
|
|
3724
|
+
}]);
|
|
3725
|
+
return {
|
|
3726
|
+
range: range.map(changes),
|
|
3727
|
+
changes
|
|
3728
|
+
};
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3731
|
+
let changes = [];
|
|
3732
|
+
if (inner.node.name == "OrderedList") renumberList(inner.item, doc, changes);
|
|
3733
|
+
let insert = state.lineBreak;
|
|
3734
|
+
let continued = inner.item && inner.item.from < line.from;
|
|
3735
|
+
// If not dedented
|
|
3736
|
+
if (!continued || /^[\s\d.)\-+*>]*/.exec(line.text)[0].length >= inner.to) {
|
|
3737
|
+
for (let i = 0, e = context.length - 1; i <= e; i++) insert += i == e && !continued ? context[i].marker(doc, 1) : context[i].blank();
|
|
3738
|
+
}
|
|
3739
|
+
let from = pos;
|
|
3740
|
+
while (from > line.from && /\s/.test(line.text.charAt(from - line.from - 1))) from--;
|
|
3741
|
+
changes.push({
|
|
3742
|
+
from,
|
|
3743
|
+
to: pos,
|
|
3744
|
+
insert
|
|
3745
|
+
});
|
|
3746
|
+
return {
|
|
3747
|
+
range: EditorSelection.cursor(from + insert.length),
|
|
3748
|
+
changes
|
|
3749
|
+
};
|
|
3750
|
+
});
|
|
3751
|
+
if (dont) return false;
|
|
3752
|
+
dispatch(state.update(changes, {
|
|
3753
|
+
scrollIntoView: true,
|
|
3754
|
+
userEvent: "input"
|
|
3755
|
+
}));
|
|
3756
|
+
return true;
|
|
3757
|
+
};
|
|
3758
|
+
function isMark(node) {
|
|
3759
|
+
return node.name == "QuoteMark" || node.name == "ListMark";
|
|
3760
|
+
}
|
|
3761
|
+
function contextNodeForDelete(tree, pos) {
|
|
3762
|
+
let node = tree.resolveInner(pos, -1),
|
|
3763
|
+
scan = pos;
|
|
3764
|
+
if (isMark(node)) {
|
|
3765
|
+
scan = node.from;
|
|
3766
|
+
node = node.parent;
|
|
3767
|
+
}
|
|
3768
|
+
for (let prev; prev = node.childBefore(scan);) {
|
|
3769
|
+
if (isMark(prev)) {
|
|
3770
|
+
scan = prev.from;
|
|
3771
|
+
} else if (prev.name == "OrderedList" || prev.name == "BulletList") {
|
|
3772
|
+
node = prev.lastChild;
|
|
3773
|
+
scan = node.to;
|
|
3774
|
+
} else {
|
|
3775
|
+
break;
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3778
|
+
return node;
|
|
3779
|
+
}
|
|
3780
|
+
/**
|
|
3781
|
+
This command will, when invoked in a Markdown context with the
|
|
3782
|
+
cursor directly after list or blockquote markup, delete one level
|
|
3783
|
+
of markup. When the markup is for a list, it will be replaced by
|
|
3784
|
+
spaces on the first invocation (a further invocation will delete
|
|
3785
|
+
the spaces), to make it easy to continue a list.
|
|
3786
|
+
|
|
3787
|
+
When not after Markdown block markup, this command will return
|
|
3788
|
+
false, so it is intended to be bound alongside other deletion
|
|
3789
|
+
commands, with a higher precedence than the more generic commands.
|
|
3790
|
+
*/
|
|
3791
|
+
const deleteMarkupBackward = ({
|
|
3792
|
+
state,
|
|
3793
|
+
dispatch
|
|
3794
|
+
}) => {
|
|
3795
|
+
let tree = syntaxTree(state);
|
|
3796
|
+
let dont = null,
|
|
3797
|
+
changes = state.changeByRange(range => {
|
|
3798
|
+
let pos = range.from,
|
|
3799
|
+
{
|
|
3800
|
+
doc
|
|
3801
|
+
} = state;
|
|
3802
|
+
if (range.empty && markdownLanguage.isActiveAt(state, range.from)) {
|
|
3803
|
+
let line = doc.lineAt(pos);
|
|
3804
|
+
let context = getContext(contextNodeForDelete(tree, pos), line.text, doc);
|
|
3805
|
+
if (context.length) {
|
|
3806
|
+
let inner = context[context.length - 1];
|
|
3807
|
+
let spaceEnd = inner.to - inner.spaceAfter.length + (inner.spaceAfter ? 1 : 0);
|
|
3808
|
+
// Delete extra trailing space after markup
|
|
3809
|
+
if (pos - line.from > spaceEnd && !/\S/.test(line.text.slice(spaceEnd, pos - line.from))) return {
|
|
3810
|
+
range: EditorSelection.cursor(line.from + spaceEnd),
|
|
3811
|
+
changes: {
|
|
3812
|
+
from: line.from + spaceEnd,
|
|
3813
|
+
to: pos
|
|
3814
|
+
}
|
|
3815
|
+
};
|
|
3816
|
+
if (pos - line.from == spaceEnd) {
|
|
3817
|
+
let start = line.from + inner.from;
|
|
3818
|
+
// Replace a list item marker with blank space
|
|
3819
|
+
if (inner.item && inner.node.from < inner.item.from && /\S/.test(line.text.slice(inner.from, inner.to))) return {
|
|
3820
|
+
range,
|
|
3821
|
+
changes: {
|
|
3822
|
+
from: start,
|
|
3823
|
+
to: line.from + inner.to,
|
|
3824
|
+
insert: inner.blank()
|
|
3825
|
+
}
|
|
3826
|
+
};
|
|
3827
|
+
// Delete one level of indentation
|
|
3828
|
+
if (start < pos) return {
|
|
3829
|
+
range: EditorSelection.cursor(start),
|
|
3830
|
+
changes: {
|
|
3831
|
+
from: start,
|
|
3832
|
+
to: pos
|
|
3833
|
+
}
|
|
3834
|
+
};
|
|
3835
|
+
}
|
|
3836
|
+
}
|
|
3837
|
+
}
|
|
3838
|
+
return dont = {
|
|
3839
|
+
range
|
|
3840
|
+
};
|
|
3841
|
+
});
|
|
3842
|
+
if (dont) return false;
|
|
3843
|
+
dispatch(state.update(changes, {
|
|
3844
|
+
scrollIntoView: true,
|
|
3845
|
+
userEvent: "delete"
|
|
3846
|
+
}));
|
|
3847
|
+
return true;
|
|
3848
|
+
};
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
A small keymap with Markdown-specific bindings. Binds Enter to
|
|
3852
|
+
[`insertNewlineContinueMarkup`](https://codemirror.net/6/docs/ref/#lang-markdown.insertNewlineContinueMarkup)
|
|
3853
|
+
and Backspace to
|
|
3854
|
+
[`deleteMarkupBackward`](https://codemirror.net/6/docs/ref/#lang-markdown.deleteMarkupBackward).
|
|
3855
|
+
*/
|
|
3856
|
+
const markdownKeymap = [{
|
|
3857
|
+
key: "Enter",
|
|
3858
|
+
run: insertNewlineContinueMarkup
|
|
3859
|
+
}, {
|
|
3860
|
+
key: "Backspace",
|
|
3861
|
+
run: deleteMarkupBackward
|
|
3862
|
+
}];
|
|
3863
|
+
const htmlNoMatch = /*@__PURE__*/html({
|
|
3864
|
+
matchClosingTags: false
|
|
3865
|
+
});
|
|
3866
|
+
/**
|
|
3867
|
+
Markdown language support.
|
|
3868
|
+
*/
|
|
3869
|
+
function markdown(config = {}) {
|
|
3870
|
+
let {
|
|
3871
|
+
codeLanguages,
|
|
3872
|
+
defaultCodeLanguage,
|
|
3873
|
+
addKeymap = true,
|
|
3874
|
+
base: {
|
|
3875
|
+
parser
|
|
3876
|
+
} = commonmarkLanguage
|
|
3877
|
+
} = config;
|
|
3878
|
+
if (!(parser instanceof MarkdownParser)) throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");
|
|
3879
|
+
let extensions = config.extensions ? [config.extensions] : [];
|
|
3880
|
+
let support = [htmlNoMatch.support],
|
|
3881
|
+
defaultCode;
|
|
3882
|
+
if (defaultCodeLanguage instanceof LanguageSupport) {
|
|
3883
|
+
support.push(defaultCodeLanguage.support);
|
|
3884
|
+
defaultCode = defaultCodeLanguage.language;
|
|
3885
|
+
} else if (defaultCodeLanguage) {
|
|
3886
|
+
defaultCode = defaultCodeLanguage;
|
|
3887
|
+
}
|
|
3888
|
+
let codeParser = codeLanguages || defaultCode ? getCodeParser(codeLanguages, defaultCode) : undefined;
|
|
3889
|
+
extensions.push(parseCode({
|
|
3890
|
+
codeParser,
|
|
3891
|
+
htmlParser: htmlNoMatch.language.parser
|
|
3892
|
+
}));
|
|
3893
|
+
if (addKeymap) support.push(Prec.high(keymap.of(markdownKeymap)));
|
|
3894
|
+
return new LanguageSupport(mkLang(parser.configure(extensions)), support);
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
const JS = javascript({
|
|
3898
|
+
typescript: false
|
|
3899
|
+
});
|
|
3900
|
+
const TS = javascript({
|
|
3901
|
+
typescript: true
|
|
3902
|
+
});
|
|
3903
|
+
const CSS = css();
|
|
3904
|
+
const HTML = html();
|
|
3905
|
+
const JSON$1 = json();
|
|
3906
|
+
const MD = markdown();
|
|
3907
|
+
var languages = {
|
|
3908
|
+
[OrCodeLanguages.JS]: JS,
|
|
3909
|
+
[OrCodeLanguages.TS]: TS,
|
|
3910
|
+
[OrCodeLanguages.CSS]: CSS,
|
|
3911
|
+
[OrCodeLanguages.HTML]: HTML,
|
|
3912
|
+
[OrCodeLanguages.JSON]: JSON$1,
|
|
3913
|
+
[OrCodeLanguages.MD]: MD
|
|
3914
|
+
};
|
|
3915
|
+
|
|
3916
|
+
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
3917
|
+
const chalky = 'var(--c-warning-darken-20)',
|
|
3918
|
+
coral = 'var(--c-error)',
|
|
3919
|
+
cyan = '#56b6c2',
|
|
3920
|
+
invalid = 'var(--c-white)',
|
|
3921
|
+
ivory = 'var(--c-neutral-6)',
|
|
3922
|
+
stone = 'var(--c-neutral-5)',
|
|
3923
|
+
// Brightened compared to original to increase contrast
|
|
3924
|
+
malibu = '#61afef',
|
|
3925
|
+
sage = 'var(--c-success)',
|
|
3926
|
+
whiskey = 'var(--c-warning-darken-5)',
|
|
3927
|
+
violet = '#c678dd',
|
|
3928
|
+
darkBackground = 'var(--c-neutral-1)',
|
|
3929
|
+
highlightBackground = 'var(--c-neutral-2)',
|
|
3930
|
+
background = 'var(--c-neutral-1)',
|
|
3931
|
+
tooltipBackground = 'var(--c-neutral-2)',
|
|
3932
|
+
selection = 'var(--c-neutral-3)',
|
|
3933
|
+
cursor = 'var(--c-primary)';
|
|
3934
|
+
/// The editor theme styles for One Dark.
|
|
3935
|
+
const orCodeTheme = EditorView.theme({
|
|
3936
|
+
'&': {
|
|
3937
|
+
color: ivory,
|
|
3938
|
+
backgroundColor: background
|
|
3939
|
+
},
|
|
3940
|
+
'.cm-content': {
|
|
3941
|
+
caretColor: cursor
|
|
3942
|
+
},
|
|
3943
|
+
'.cm-button': {
|
|
3944
|
+
background: highlightBackground,
|
|
3945
|
+
color: 'var(--c-neutral-6)',
|
|
3946
|
+
border: 0,
|
|
3947
|
+
borderRadius: 'var(--s-2)'
|
|
3948
|
+
},
|
|
3949
|
+
'.cm-panel.cm-search input[type=checkbox]': {
|
|
3950
|
+
display: 'inline-block',
|
|
3951
|
+
verticalAlign: 'middle'
|
|
3952
|
+
},
|
|
3953
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
3954
|
+
borderLeftColor: cursor
|
|
3955
|
+
},
|
|
3956
|
+
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
3957
|
+
backgroundColor: selection
|
|
3958
|
+
},
|
|
3959
|
+
'.cm-panels': {
|
|
3960
|
+
backgroundColor: darkBackground,
|
|
3961
|
+
color: ivory
|
|
3962
|
+
},
|
|
3963
|
+
'.cm-panels.cm-panels-top': {
|
|
3964
|
+
borderBottom: '2px solid var(--c-neutral-2)'
|
|
3965
|
+
},
|
|
3966
|
+
'.cm-panels.cm-panels-bottom': {
|
|
3967
|
+
borderTop: '2px solid var(--c-neutral-2)'
|
|
3968
|
+
},
|
|
3969
|
+
'.cm-searchMatch': {
|
|
3970
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
3971
|
+
outline: '1px solid var(--c-neutral-2)'
|
|
3972
|
+
},
|
|
3973
|
+
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
3974
|
+
backgroundColor: '#6199ff2f'
|
|
3975
|
+
},
|
|
3976
|
+
'.cm-activeLine': {
|
|
3977
|
+
backgroundColor: '#6699ff0b'
|
|
3978
|
+
},
|
|
3979
|
+
'.cm-selectionMatch': {
|
|
3980
|
+
backgroundColor: '#aafe661a'
|
|
3981
|
+
},
|
|
3982
|
+
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
3983
|
+
backgroundColor: '#bad0f847'
|
|
3984
|
+
},
|
|
3985
|
+
'.cm-gutters': {
|
|
3986
|
+
backgroundColor: background,
|
|
3987
|
+
color: stone,
|
|
3988
|
+
border: 'none'
|
|
3989
|
+
},
|
|
3990
|
+
'.cm-activeLineGutter': {
|
|
3991
|
+
backgroundColor: highlightBackground
|
|
3992
|
+
},
|
|
3993
|
+
'.cm-foldPlaceholder': {
|
|
3994
|
+
backgroundColor: 'transparent',
|
|
3995
|
+
border: 'none',
|
|
3996
|
+
color: '#ddd'
|
|
3997
|
+
},
|
|
3998
|
+
'.cm-tooltip': {
|
|
3999
|
+
border: 'none',
|
|
4000
|
+
backgroundColor: tooltipBackground
|
|
4001
|
+
},
|
|
4002
|
+
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
4003
|
+
borderTopColor: 'transparent',
|
|
4004
|
+
borderBottomColor: 'transparent'
|
|
4005
|
+
},
|
|
4006
|
+
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
4007
|
+
borderTopColor: tooltipBackground,
|
|
4008
|
+
borderBottomColor: tooltipBackground
|
|
4009
|
+
},
|
|
4010
|
+
'.cm-tooltip-autocomplete': {
|
|
4011
|
+
'& > ul > li[aria-selected]': {
|
|
4012
|
+
backgroundColor: highlightBackground,
|
|
4013
|
+
color: ivory
|
|
4014
|
+
}
|
|
4015
|
+
},
|
|
4016
|
+
'.cm-textfield': {
|
|
4017
|
+
outline: 'none',
|
|
4018
|
+
background: background,
|
|
4019
|
+
color: 'var(--c-neutral-6)',
|
|
4020
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
4021
|
+
border: '1px solid var(--c-neutral-2)',
|
|
4022
|
+
borderRadius: 'var(--s-2)'
|
|
4023
|
+
}
|
|
4024
|
+
}, {
|
|
4025
|
+
dark: true
|
|
4026
|
+
});
|
|
4027
|
+
/// The highlighting style for code in the One Dark theme.
|
|
4028
|
+
const orCodeHighlightStyle = HighlightStyle.define([{
|
|
4029
|
+
tag: tags$1.keyword,
|
|
4030
|
+
color: violet
|
|
4031
|
+
}, {
|
|
4032
|
+
tag: [tags$1.name, tags$1.deleted, tags$1.character, tags$1.propertyName, tags$1.macroName],
|
|
4033
|
+
color: coral
|
|
4034
|
+
}, {
|
|
4035
|
+
tag: [tags$1.function(tags$1.variableName), tags$1.labelName],
|
|
4036
|
+
color: malibu
|
|
4037
|
+
}, {
|
|
4038
|
+
tag: [tags$1.color, tags$1.constant(tags$1.name), tags$1.standard(tags$1.name)],
|
|
4039
|
+
color: whiskey
|
|
4040
|
+
}, {
|
|
4041
|
+
tag: [tags$1.definition(tags$1.name), tags$1.separator],
|
|
4042
|
+
color: ivory
|
|
4043
|
+
}, {
|
|
4044
|
+
tag: [tags$1.typeName, tags$1.className, tags$1.number, tags$1.changed, tags$1.annotation, tags$1.modifier, tags$1.self, tags$1.namespace],
|
|
4045
|
+
color: chalky
|
|
4046
|
+
}, {
|
|
4047
|
+
tag: [tags$1.operator, tags$1.operatorKeyword, tags$1.url, tags$1.escape, tags$1.regexp, tags$1.link, tags$1.special(tags$1.string)],
|
|
4048
|
+
color: cyan
|
|
4049
|
+
}, {
|
|
4050
|
+
tag: [tags$1.meta, tags$1.comment],
|
|
4051
|
+
color: stone
|
|
4052
|
+
}, {
|
|
4053
|
+
tag: tags$1.strong,
|
|
4054
|
+
fontWeight: 'bold'
|
|
4055
|
+
}, {
|
|
4056
|
+
tag: tags$1.emphasis,
|
|
4057
|
+
fontStyle: 'italic'
|
|
4058
|
+
}, {
|
|
4059
|
+
tag: tags$1.strikethrough,
|
|
4060
|
+
textDecoration: 'line-through'
|
|
4061
|
+
}, {
|
|
4062
|
+
tag: tags$1.link,
|
|
4063
|
+
color: stone,
|
|
4064
|
+
textDecoration: 'underline'
|
|
4065
|
+
}, {
|
|
4066
|
+
tag: tags$1.heading,
|
|
4067
|
+
fontWeight: 'bold',
|
|
4068
|
+
color: coral
|
|
4069
|
+
}, {
|
|
4070
|
+
tag: [tags$1.atom, tags$1.bool, tags$1.special(tags$1.variableName)],
|
|
4071
|
+
color: whiskey
|
|
4072
|
+
}, {
|
|
4073
|
+
tag: [tags$1.processingInstruction, tags$1.string, tags$1.inserted],
|
|
4074
|
+
color: sage
|
|
4075
|
+
}, {
|
|
4076
|
+
tag: tags$1.invalid,
|
|
4077
|
+
color: invalid
|
|
4078
|
+
}]);
|
|
4079
|
+
/// Extension to enable the One Dark theme (both the editor theme and
|
|
4080
|
+
/// the highlight style).
|
|
4081
|
+
const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
|
|
4082
|
+
|
|
4083
|
+
//partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
|
|
4084
|
+
var script = defineComponent({
|
|
4085
|
+
name: 'OrCode',
|
|
4086
|
+
components: {
|
|
4087
|
+
OrIconButton,
|
|
4088
|
+
OrModal,
|
|
4089
|
+
OrTeleport,
|
|
4090
|
+
OrError,
|
|
4091
|
+
OrHint,
|
|
4092
|
+
OrLabel
|
|
4093
|
+
},
|
|
4094
|
+
model: {
|
|
4095
|
+
prop: 'modelValue',
|
|
4096
|
+
event: 'update:modelValue'
|
|
4097
|
+
},
|
|
4098
|
+
props: {
|
|
4099
|
+
label: {
|
|
4100
|
+
type: String,
|
|
4101
|
+
default: '',
|
|
4102
|
+
required: false
|
|
4103
|
+
},
|
|
4104
|
+
modelValue: {
|
|
4105
|
+
type: String,
|
|
4106
|
+
default: '',
|
|
4107
|
+
required: false
|
|
4108
|
+
},
|
|
4109
|
+
language: {
|
|
4110
|
+
type: [Object, String],
|
|
4111
|
+
required: false,
|
|
4112
|
+
default: OrCodeLanguages.JS
|
|
4113
|
+
},
|
|
4114
|
+
isReadonly: {
|
|
4115
|
+
type: Boolean,
|
|
4116
|
+
required: false,
|
|
4117
|
+
default: false
|
|
4118
|
+
},
|
|
4119
|
+
extensions: {
|
|
4120
|
+
type: Array,
|
|
4121
|
+
required: false,
|
|
4122
|
+
default: () => [basicSetup]
|
|
4123
|
+
},
|
|
4124
|
+
phrases: {
|
|
4125
|
+
type: Object,
|
|
4126
|
+
required: false,
|
|
4127
|
+
default: null
|
|
4128
|
+
},
|
|
4129
|
+
isShowingFullscreen: {
|
|
4130
|
+
type: Boolean,
|
|
4131
|
+
default: true,
|
|
4132
|
+
required: false
|
|
4133
|
+
},
|
|
4134
|
+
isInvalid: {
|
|
4135
|
+
type: Boolean,
|
|
4136
|
+
default: false,
|
|
4137
|
+
required: false
|
|
4138
|
+
},
|
|
4139
|
+
error: {
|
|
4140
|
+
type: String,
|
|
4141
|
+
default: '',
|
|
4142
|
+
required: false
|
|
4143
|
+
},
|
|
4144
|
+
hint: {
|
|
4145
|
+
type: String,
|
|
4146
|
+
default: '',
|
|
4147
|
+
required: false
|
|
4148
|
+
},
|
|
4149
|
+
allowPaste: {
|
|
4150
|
+
type: Boolean,
|
|
4151
|
+
default: true
|
|
4152
|
+
},
|
|
4153
|
+
allowDrop: {
|
|
4154
|
+
type: Boolean,
|
|
4155
|
+
default: true
|
|
4156
|
+
},
|
|
4157
|
+
lineWrapping: {
|
|
4158
|
+
type: Boolean,
|
|
4159
|
+
default: false
|
|
4160
|
+
}
|
|
4161
|
+
},
|
|
4162
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
4163
|
+
setup(props, {
|
|
4164
|
+
emit
|
|
4165
|
+
}) {
|
|
4166
|
+
// editor config
|
|
4167
|
+
const root = ref();
|
|
4168
|
+
const target = ref();
|
|
4169
|
+
const fullscreenTarget = ref();
|
|
4170
|
+
const isHovered = useElementHover(root);
|
|
4171
|
+
const editor = new EditorView({
|
|
4172
|
+
state: EditorState.create({
|
|
4173
|
+
doc: props.modelValue
|
|
4174
|
+
}),
|
|
4175
|
+
dispatch: tr => {
|
|
4176
|
+
editor.update([tr]);
|
|
4177
|
+
if (tr.changes.empty) return;
|
|
4178
|
+
emit('update:modelValue', editor.state.doc.toString());
|
|
4179
|
+
}
|
|
4180
|
+
});
|
|
4181
|
+
return {
|
|
4182
|
+
root,
|
|
4183
|
+
target,
|
|
4184
|
+
fullscreenTarget,
|
|
4185
|
+
editor,
|
|
4186
|
+
isHovered
|
|
4187
|
+
};
|
|
4188
|
+
},
|
|
4189
|
+
data() {
|
|
4190
|
+
return {
|
|
4191
|
+
isFullscreen: false
|
|
4192
|
+
};
|
|
4193
|
+
},
|
|
4194
|
+
computed: {
|
|
4195
|
+
localLanguage() {
|
|
4196
|
+
if (Object.values(OrCodeLanguages).includes(this.language)) {
|
|
4197
|
+
return languages[this.language];
|
|
4198
|
+
} else {
|
|
4199
|
+
return this.language;
|
|
4200
|
+
}
|
|
4201
|
+
},
|
|
4202
|
+
localExtensions() {
|
|
4203
|
+
const {
|
|
4204
|
+
allowDrop,
|
|
4205
|
+
allowPaste,
|
|
4206
|
+
lineWrapping,
|
|
4207
|
+
extensions
|
|
4208
|
+
} = this;
|
|
4209
|
+
let ext = [theme, EditorView.baseTheme({}),
|
|
4210
|
+
// locale settings
|
|
4211
|
+
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
4212
|
+
// Parser language setting
|
|
4213
|
+
this.localLanguage,
|
|
4214
|
+
// Editable option
|
|
4215
|
+
EditorView.editable.of(!this.isReadonly),
|
|
4216
|
+
// Focus and blur listener
|
|
4217
|
+
EditorView.updateListener.of(viewUpdate => {
|
|
4218
|
+
if (viewUpdate.focusChanged) {
|
|
4219
|
+
viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
|
|
4220
|
+
}
|
|
4221
|
+
}), EditorView.domEventHandlers({
|
|
4222
|
+
drop(event) {
|
|
4223
|
+
if (!allowDrop) {
|
|
4224
|
+
event.preventDefault();
|
|
4225
|
+
return true;
|
|
4226
|
+
}
|
|
4227
|
+
},
|
|
4228
|
+
paste(event) {
|
|
4229
|
+
if (!allowPaste) {
|
|
4230
|
+
event.preventDefault();
|
|
4231
|
+
return true;
|
|
4232
|
+
}
|
|
4233
|
+
}
|
|
4234
|
+
}),
|
|
4235
|
+
// line wrapping
|
|
4236
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])];
|
|
4237
|
+
if (Array.isArray(extensions)) {
|
|
4238
|
+
ext = [...ext, ...extensions];
|
|
4239
|
+
}
|
|
4240
|
+
ext = ext.filter(Boolean);
|
|
4241
|
+
return ext;
|
|
4242
|
+
},
|
|
4243
|
+
isShowingError() {
|
|
4244
|
+
return !!this.error && this.isInvalid;
|
|
4245
|
+
},
|
|
4246
|
+
isShowingHint() {
|
|
4247
|
+
return !!this.hint && !this.isShowingError;
|
|
4248
|
+
},
|
|
4249
|
+
isShowingHeader() {
|
|
4250
|
+
var _a;
|
|
4251
|
+
return this.isShowingFullscreen || this.$slots.label || this.$slots.actions || ((_a = this.$scopedSlots) === null || _a === void 0 ? void 0 : _a.actions);
|
|
4252
|
+
}
|
|
4253
|
+
},
|
|
4254
|
+
watch: {
|
|
4255
|
+
modelValue(value) {
|
|
4256
|
+
if (this.editor.composing) return;
|
|
4257
|
+
if (this.editor.state.doc.toString() === value) return;
|
|
4258
|
+
const previous = this.editor.state.selection;
|
|
4259
|
+
this.editor.setState(EditorState.create({
|
|
4260
|
+
doc: value,
|
|
4261
|
+
extensions: this.localExtensions,
|
|
4262
|
+
selection: previous.ranges.some(range => range.to > value.length) ? {
|
|
4263
|
+
anchor: value.length
|
|
4264
|
+
} : previous
|
|
4265
|
+
}));
|
|
4266
|
+
},
|
|
4267
|
+
isFullscreen(value) {
|
|
4268
|
+
if (value) {
|
|
4269
|
+
this.fullscreenTarget.append(this.editor.dom);
|
|
4270
|
+
} else {
|
|
4271
|
+
this.target.append(this.editor.dom);
|
|
4272
|
+
}
|
|
4273
|
+
},
|
|
4274
|
+
localExtensions() {
|
|
4275
|
+
this.updateEditorState();
|
|
4276
|
+
}
|
|
4277
|
+
},
|
|
4278
|
+
mounted() {
|
|
4279
|
+
this.updateEditorState();
|
|
4280
|
+
this.target.append(this.editor.dom);
|
|
4281
|
+
},
|
|
4282
|
+
beforeUnmount() {
|
|
4283
|
+
var _a;
|
|
4284
|
+
(_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
4285
|
+
},
|
|
4286
|
+
methods: {
|
|
4287
|
+
updateEditorState() {
|
|
4288
|
+
this.editor.setState(EditorState.create({
|
|
4289
|
+
doc: this.modelValue,
|
|
4290
|
+
extensions: this.localExtensions
|
|
4291
|
+
}));
|
|
4292
|
+
},
|
|
4293
|
+
toggleFullscreen(value) {
|
|
4294
|
+
this.isFullscreen = value === undefined ? !this.isFullscreen : value;
|
|
4295
|
+
}
|
|
4296
|
+
}
|
|
4297
|
+
});
|
|
4298
|
+
|
|
4299
|
+
var css_248z = "@keyframes spinAround-data-v-3ea817b2{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-3ea817b2{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-3ea817b2]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-3ea817b2]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-3ea817b2],.or-code .footer .or-code-hint[data-v-3ea817b2]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-3ea817b2]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-3ea817b2]{margin-left:auto}.header .actions[data-v-3ea817b2]:not(.is-visible){display:none}.or-code-editor[data-v-3ea817b2]{min-height:calc(1.4em + 8px);overflow:auto;font-size:var(--fs-0);border:1px solid var(--c-neutral-2);border-radius:var(--s-2)}.or-code-editor.is-invalid[data-v-3ea817b2]{border-color:var(--c-error)}.or-code-editor[data-v-3ea817b2]> *{width:100%;height:100%}.or-code[data-v-3ea817b2],.or-modal[data-v-3ea817b2] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-3ea817b2],.or-modal[data-v-3ea817b2] .content .or-code-editor{text-align:left!important}.or-code .or-code-editor[data-v-3ea817b2],.or-modal[data-v-3ea817b2] .content .or-code-editor{flex-grow:1}";
|
|
4300
|
+
styleInject(css_248z);
|
|
4301
|
+
|
|
4302
|
+
/* script */
|
|
4303
|
+
const __vue_script__ = script;
|
|
4304
|
+
/* template */
|
|
4305
|
+
var __vue_render__ = function () {
|
|
4306
|
+
var _vm = this;
|
|
4307
|
+
var _h = _vm.$createElement;
|
|
4308
|
+
var _c = _vm._self._c || _h;
|
|
4309
|
+
return _c('div', {
|
|
4310
|
+
ref: "root",
|
|
4311
|
+
staticClass: "or-code"
|
|
4312
|
+
}, [_vm.isShowingHeader ? _c('div', {
|
|
4313
|
+
staticClass: "header"
|
|
4314
|
+
}, [_c('or-label', {
|
|
4315
|
+
attrs: {
|
|
4316
|
+
"label": _vm.label
|
|
4317
|
+
},
|
|
4318
|
+
scopedSlots: _vm._u([{
|
|
4319
|
+
key: "append",
|
|
4320
|
+
fn: function () {
|
|
4321
|
+
return [_vm._t("label-append")];
|
|
4322
|
+
},
|
|
4323
|
+
proxy: true
|
|
4324
|
+
}], null, true)
|
|
4325
|
+
}, [_vm._t("label")], 2), _vm._v(" "), _c('div', {
|
|
4326
|
+
staticClass: "actions",
|
|
4327
|
+
class: {
|
|
4328
|
+
'is-visible': _vm.isHovered
|
|
4329
|
+
}
|
|
4330
|
+
}, [_vm._t("actions", function () {
|
|
4331
|
+
return [_vm.isShowingFullscreen ? _c('or-icon-button', {
|
|
4332
|
+
staticClass: "fullscreen-button",
|
|
4333
|
+
attrs: {
|
|
4334
|
+
"icon": "fullscreen",
|
|
4335
|
+
"icon-color": "neutral-4"
|
|
4336
|
+
},
|
|
4337
|
+
on: {
|
|
4338
|
+
"click": function ($event) {
|
|
4339
|
+
return _vm.toggleFullscreen(true);
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4342
|
+
}) : _vm._e()];
|
|
4343
|
+
}, {
|
|
4344
|
+
"toggleFullscreen": _vm.toggleFullscreen
|
|
4345
|
+
})], 2)], 1) : _vm._e(), _vm._v(" "), _c('div', {
|
|
4346
|
+
ref: "target",
|
|
4347
|
+
staticClass: "or-code-editor",
|
|
4348
|
+
class: {
|
|
4349
|
+
'is-invalid': _vm.isInvalid
|
|
4350
|
+
}
|
|
4351
|
+
}), _vm._v(" "), _c('div', {
|
|
4352
|
+
staticClass: "footer"
|
|
4353
|
+
}, [_vm.isShowingError ? _c('or-error', {
|
|
4354
|
+
staticClass: "or-code-error",
|
|
4355
|
+
attrs: {
|
|
4356
|
+
"error": _vm.error
|
|
4357
|
+
}
|
|
4358
|
+
}) : _vm._e(), _vm._v(" "), _vm.isShowingHint ? _c('or-hint', {
|
|
4359
|
+
staticClass: "or-code-hint",
|
|
4360
|
+
attrs: {
|
|
4361
|
+
"hint": _vm.hint
|
|
4362
|
+
}
|
|
4363
|
+
}) : _vm._e()], 1), _vm._v(" "), _c('or-teleport', [_c('or-modal', {
|
|
4364
|
+
directives: [{
|
|
4365
|
+
name: "show",
|
|
4366
|
+
rawName: "v-show",
|
|
4367
|
+
value: _vm.isFullscreen,
|
|
4368
|
+
expression: "isFullscreen"
|
|
4369
|
+
}],
|
|
4370
|
+
attrs: {
|
|
4371
|
+
"title-text": _vm.label,
|
|
4372
|
+
"size": "fullScreen",
|
|
4373
|
+
"is-open": "",
|
|
4374
|
+
"trap-focus": false
|
|
4375
|
+
},
|
|
4376
|
+
on: {
|
|
4377
|
+
"close": function ($event) {
|
|
4378
|
+
return _vm.toggleFullscreen(false);
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4381
|
+
}, [_vm.$slots['modal-actions'] ? _c('div', {
|
|
4382
|
+
staticClass: "header"
|
|
4383
|
+
}, [_c('div', {
|
|
4384
|
+
staticClass: "actions is-visible"
|
|
4385
|
+
}, [_vm._t("modal-actions")], 2)]) : _vm._e(), _vm._v(" "), _c('div', {
|
|
4386
|
+
ref: "fullscreenTarget",
|
|
4387
|
+
staticClass: "or-code-editor",
|
|
4388
|
+
class: {
|
|
4389
|
+
'is-invalid': _vm.isInvalid
|
|
4390
|
+
}
|
|
4391
|
+
}), _vm._v(" "), _vm.isShowingError ? _c('or-error', {
|
|
4392
|
+
staticClass: "or-code-error",
|
|
4393
|
+
attrs: {
|
|
4394
|
+
"error": _vm.error
|
|
4395
|
+
}
|
|
4396
|
+
}) : _vm._e()], 1)], 1)], 1);
|
|
4397
|
+
};
|
|
4398
|
+
var __vue_staticRenderFns__ = [];
|
|
4399
|
+
|
|
4400
|
+
/* style */
|
|
4401
|
+
const __vue_inject_styles__ = undefined;
|
|
4402
|
+
/* scoped */
|
|
4403
|
+
const __vue_scope_id__ = "data-v-3ea817b2";
|
|
4404
|
+
/* module identifier */
|
|
4405
|
+
const __vue_module_identifier__ = undefined;
|
|
4406
|
+
/* functional template */
|
|
4407
|
+
const __vue_is_functional_template__ = false;
|
|
4408
|
+
/* style inject */
|
|
4409
|
+
|
|
4410
|
+
/* style inject SSR */
|
|
4411
|
+
|
|
4412
|
+
/* style inject shadow dom */
|
|
4413
|
+
|
|
4414
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
4415
|
+
render: __vue_render__,
|
|
4416
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
4417
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
4418
|
+
var __vue_component__$1 = __vue_component__;
|
|
4419
|
+
|
|
4420
|
+
export { OrCodeLanguages as O, __vue_component__$1 as _ };
|