@onereach/ui-components 8.4.1-beta.3657.0 → 8.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +1 -105
- package/dist/bundled/v2/components/OrAvatar/constants.js +1 -8
- package/dist/bundled/v2/components/OrAvatar/index.js +1 -2
- package/dist/bundled/v2/components/OrAvatar-7d519020.js +209 -0
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.js +2 -106
- package/dist/bundled/v2/components/OrAvatarV3/index.js +1 -2
- package/dist/bundled/v2/components/OrAvatarV3/props.js +1 -19
- package/dist/bundled/v2/components/OrAvatarV3/styles.js +1 -84
- package/dist/bundled/v2/components/OrAvatarV3-fff9d395.js +307 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +2 -137
- package/dist/bundled/v2/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +2 -71
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/props.js +1 -7
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +1 -48
- package/dist/bundled/{v3/hooks/useTheme.js → v2/components/OrBottomSheetV3-022aa5f7.js} +3314 -1
- package/dist/bundled/v2/components/OrButton/OrButton.js +2 -173
- package/dist/bundled/v2/components/OrButton/constants.js +1 -25
- package/dist/bundled/v2/components/OrButton/index.js +194 -2
- package/dist/bundled/v2/components/OrButtonGroupV3/OrButtonGroup.js +2 -68
- package/dist/bundled/v2/components/OrButtonGroupV3/index.js +2 -2
- package/dist/bundled/v2/components/OrButtonGroupV3/props.js +1 -1
- package/dist/bundled/v2/components/OrButtonGroupV3/styles.js +2 -21
- package/dist/bundled/v2/components/OrButtonGroupV3-80d684db.js +85 -0
- package/dist/bundled/v2/components/OrButtonV2/OrButton.js +2 -179
- package/dist/bundled/v2/components/OrButtonV2/constants.js +1 -43
- package/dist/bundled/v2/components/OrButtonV2/index.js +1 -2
- package/dist/bundled/v2/components/OrButtonV2-d0c4e061.js +219 -0
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +2 -116
- package/dist/bundled/v2/components/OrButtonV3/index.js +1 -2
- package/dist/bundled/v2/components/OrButtonV3/props.js +1 -21
- package/dist/bundled/v2/components/OrButtonV3/styles.js +1 -75
- package/dist/bundled/v2/components/OrButtonV3-b67957f9.js +206 -0
- package/dist/bundled/v2/components/OrCard/OrCard.js +1 -2
- package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +2 -216
- package/dist/bundled/v2/components/OrCardCollection/constants.js +1 -7
- package/dist/bundled/v2/components/OrCardCollection/index.js +220 -2
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +2 -258
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +1 -2
- package/dist/bundled/v2/components/OrCardCollectionV3/props.js +1 -16
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +1 -38
- package/dist/bundled/v2/components/OrCardCollectionV3-a9504b4b.js +306 -0
- package/dist/bundled/v2/components/OrCardV3/OrCard.js +2 -71
- package/dist/bundled/v2/components/OrCardV3/index.js +1 -2
- package/dist/bundled/v2/components/OrCardV3/props.js +1 -8
- package/dist/bundled/v2/components/OrCardV3/styles.js +1 -27
- package/dist/bundled/v2/components/OrCardV3-be4c65e4.js +100 -0
- package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +2 -3
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +4 -5
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +2 -208
- package/dist/bundled/v2/components/OrCheckboxTreeV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCheckboxTreeV3/styles.js +1 -10
- package/dist/bundled/v2/components/OrCheckboxTreeV3/utils/extractChildrenValues.js +2 -19
- package/dist/bundled/v2/components/OrCheckboxTreeV3-1e00b079.js +230 -0
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +2 -183
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCheckboxV3/styles.js +1 -31
- package/dist/bundled/v2/components/OrCheckboxV3-e49916ef.js +207 -0
- package/dist/bundled/v2/components/OrChip/OrChip.js +2 -91
- package/dist/bundled/v2/components/OrChip/index.js +1 -1
- package/dist/bundled/v2/components/OrChips/OrChips.js +2 -311
- package/dist/bundled/v2/components/OrChips/constants.js +1 -10
- package/dist/bundled/v2/components/OrChips/index.js +1 -2
- package/dist/bundled/v2/components/OrChips-477b3b51.js +403 -0
- package/dist/bundled/v2/components/OrCode/OrCode.js +2 -354
- package/dist/bundled/v2/components/OrCode/constants.js +1 -11
- package/dist/bundled/v2/components/OrCode/index.js +1 -7
- package/dist/bundled/v2/components/OrCode/lang.js +1 -27
- package/dist/bundled/v2/components/OrCode/libs.js +1 -5
- package/dist/bundled/v2/components/OrCode/theme.js +1 -189
- package/dist/bundled/v2/{index-10711eb4.js → components/OrCode-526b84d1.js} +13223 -99
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +2 -494
- package/dist/bundled/v2/components/OrCodeV3/index.js +2 -7
- package/dist/bundled/v2/components/OrCodeV3/libs.js +1 -5
- package/dist/bundled/v2/components/OrCodeV3/props.js +1 -11
- package/dist/bundled/v2/components/OrCodeV3/styles.js +1 -28
- package/dist/bundled/{v3/OrCode.vue_vue_type_script_lang-e8ef6dee.js → v2/components/OrCodeV3-9d7c4a19.js} +236 -86
- package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +2 -4
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +2 -162
- package/dist/bundled/v2/components/OrColorPicker/constants.js +1 -323
- package/dist/bundled/v2/components/OrColorPicker/index.js +1 -2
- package/dist/bundled/v2/components/OrColorPicker/utils/defultPalette.js +1 -16
- package/dist/bundled/v2/components/OrColorPicker-61ed575b.js +492 -0
- package/dist/bundled/v2/components/OrCombinedInputV3/OrCombinedInput.js +2 -144
- package/dist/bundled/v2/components/OrCombinedInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrCombinedInputV3/props.js +1 -1
- package/dist/bundled/v2/components/OrCombinedInputV3/styles.js +1 -16
- package/dist/bundled/v2/components/OrCombinedInputV3-f54893ac.js +158 -0
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +2 -261
- package/dist/bundled/v2/components/OrConfirm/index.js +1 -1
- package/dist/bundled/v2/components/OrConfirm-146c07d4.js +260 -0
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +2 -260
- package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -2
- package/dist/bundled/v2/components/OrConfirmV3/props.js +1 -7
- package/dist/bundled/v2/components/OrConfirmV3/styles.js +1 -47
- package/dist/bundled/v2/components/OrConfirmV3-5cb169ba.js +305 -0
- package/dist/bundled/v2/components/OrContextMenuV3/OrContextMenu.js +2 -108
- package/dist/bundled/v2/components/OrContextMenuV3/index.js +109 -2
- package/dist/bundled/v2/components/OrContextMenuV3/props.js +1 -1
- package/dist/bundled/v2/components/OrDateFormatV3/OrDateFormat.js +2 -69
- package/dist/bundled/v2/components/OrDateFormatV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateFormatV3/styles.js +1 -5
- package/dist/bundled/v2/components/OrDateFormatV3-effdf0fd.js +72 -0
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +2 -372
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrDatePickerV3/props.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/styles.js +1 -10
- package/dist/bundled/v2/components/OrDatePickerV3-169c5415.js +402 -0
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.js +2 -485
- package/dist/bundled/v2/components/OrDateRangePickerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrDateRangePickerV3/props.js +1 -1
- package/dist/bundled/v2/components/OrDateRangePickerV3/styles.js +1 -10
- package/dist/bundled/v2/components/OrDateRangePickerV3-6985396d.js +487 -0
- package/dist/bundled/v2/components/OrDateTimeFormatV3/OrDateTimeFormat.js +2 -76
- package/dist/bundled/v2/components/OrDateTimeFormatV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimeFormatV3/styles.js +1 -5
- package/dist/bundled/v2/components/OrDateTimeFormatV3-945c7ba1.js +77 -0
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +2 -1062
- package/dist/bundled/v2/components/OrDateTimePicker/constants.js +1 -20
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +1 -2
- package/dist/bundled/v2/components/OrDateTimePicker-e398abc6.js +1262 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +2 -520
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +2 -12
- package/dist/bundled/v2/components/OrDateTimePickerV3/props.js +2 -10
- package/dist/bundled/v2/components/OrDateTimePickerV3/styles.js +1 -11
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/formatDate.js +1 -8
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/formatTime.js +1 -11
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getCurrentDate.js +1 -6
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +1 -9
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getNextMonthDate.js +1 -6
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +1 -12
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/index.js +1 -6
- package/dist/bundled/v2/components/OrDateTimePickerV3-d0b03343.js +1715 -0
- package/dist/bundled/v2/components/OrEmptyStateV3/OrEmptyState.js +2 -111
- package/dist/bundled/v2/components/OrEmptyStateV3/index.js +1 -2
- package/dist/bundled/v2/components/OrEmptyStateV3/props.js +1 -7
- package/dist/bundled/v2/components/OrEmptyStateV3/styles.js +1 -46
- package/dist/bundled/v2/components/OrEmptyStateV3-72493b90.js +158 -0
- package/dist/bundled/v2/components/OrError/OrError.js +1 -2
- package/dist/bundled/v2/components/OrErrorTagV3/OrErrorTag.js +2 -65
- package/dist/bundled/v2/components/OrErrorTagV3/index.js +1 -1
- package/dist/bundled/v2/components/OrErrorTagV3/styles.js +1 -15
- package/dist/bundled/v2/components/OrErrorTagV3-a9b05fa1.js +78 -0
- package/dist/bundled/v2/components/OrErrorV3/OrError.js +2 -71
- package/dist/bundled/v2/components/OrErrorV3/index.js +1 -1
- package/dist/bundled/v2/components/OrErrorV3/styles.js +1 -19
- package/dist/bundled/v2/components/OrErrorV3-e9243e0b.js +88 -0
- package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanel.js +2 -136
- package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +1 -2
- package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +1 -18
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +1 -69
- package/dist/bundled/v2/components/OrExpansionPanelV3-0cc724af.js +219 -0
- package/dist/bundled/v2/components/OrFabV3/OrFab.js +2 -82
- package/dist/bundled/v2/components/OrFabV3/index.js +1 -2
- package/dist/bundled/v2/components/OrFabV3/props.js +1 -7
- package/dist/bundled/v2/components/OrFabV3/styles.js +1 -19
- package/dist/bundled/v2/components/OrFabV3-743bad82.js +104 -0
- package/dist/bundled/v2/components/OrFloating/OrFloating.js +2 -186
- package/dist/bundled/v2/components/OrFloating/constants.js +1 -22
- package/dist/bundled/v2/components/OrFloating/index.js +1 -2
- package/dist/bundled/v2/{floating-ui.dom-d9ef0d1f.js → components/OrFloating-22e3d64d.js} +204 -1
- package/dist/bundled/v2/components/OrFormGroupV3/OrFormGroup.js +2 -123
- package/dist/bundled/v2/components/OrFormGroupV3/index.js +1 -2
- package/dist/bundled/v2/components/OrFormGroupV3/props.js +1 -7
- package/dist/bundled/v2/components/OrFormGroupV3/styles.js +1 -17
- package/dist/bundled/v2/components/OrFormGroupV3-cfc26d86.js +141 -0
- package/dist/bundled/v2/components/OrHint/OrHint.js +1 -2
- package/dist/bundled/v2/components/OrHintV3/OrHint.js +2 -71
- package/dist/bundled/v2/components/OrHintV3/index.js +1 -1
- package/dist/bundled/v2/components/OrHintV3/styles.js +1 -19
- package/dist/bundled/v2/components/OrHintV3-f31f7a39.js +88 -0
- package/dist/bundled/v2/components/OrIcon/OrIcon.js +2 -158
- package/dist/bundled/v2/components/OrIcon/constants.js +1 -24
- package/dist/bundled/v2/components/OrIcon/index.js +178 -2
- package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.js +6 -7
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +2 -135
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +2 -3
- package/dist/bundled/v2/components/OrIconButtonV3/props.js +2 -11
- package/dist/bundled/v2/components/OrIconButtonV3/styles.js +1 -72
- package/dist/bundled/v2/components/OrIconButtonV3-331241ce.js +209 -0
- package/dist/bundled/v2/components/OrIconV3/OrIcon.js +2 -69
- package/dist/bundled/v2/components/OrIconV3/index.js +1 -2
- package/dist/bundled/v2/components/OrIconV3/props.js +1 -17
- package/dist/bundled/v2/components/OrIconV3/styles.js +1 -44
- package/dist/bundled/v2/components/OrIconV3-cbb77e49.js +124 -0
- package/dist/bundled/v2/components/OrInlineInputBoxV3/OrInlineInputBox.js +2 -68
- package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInlineInputBoxV3/props.js +1 -7
- package/dist/bundled/v2/components/OrInlineInputBoxV3/styles.js +1 -23
- package/dist/bundled/{v3/components/OrInlineInputBoxV3/styles.js → v2/components/OrInlineInputBoxV3-16403e8f.js} +72 -1
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +2 -344
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -3
- package/dist/bundled/v2/components/OrInlineInputV3/props.js +2 -9
- package/dist/bundled/v2/components/OrInlineInputV3/styles.js +1 -29
- package/dist/bundled/v2/components/OrInlineInputV3-de70d89c.js +371 -0
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +2 -387
- package/dist/bundled/v2/components/OrInlineTextEdit/constants.js +1 -13
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +395 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -261
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/styles.js +1 -21
- package/dist/bundled/v2/components/OrInlineTextareaV3-3cccff10.js +276 -0
- package/dist/bundled/v2/components/OrInput/OrInput.js +2 -4
- package/dist/bundled/v2/components/OrInputBoxV3/OrInputBox.js +2 -169
- package/dist/bundled/v2/components/OrInputBoxV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInputBoxV3/props.js +1 -12
- package/dist/bundled/v2/components/OrInputBoxV3/styles.js +1 -49
- package/dist/bundled/v2/components/OrInputBoxV3-95cfbd71.js +224 -0
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -417
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -3
- package/dist/bundled/v2/components/OrInputV3/props.js +2 -11
- package/dist/bundled/v2/components/OrInputV3/styles.js +1 -14
- package/dist/bundled/v2/components/OrInputV3-ea905e0f.js +430 -0
- package/dist/bundled/v2/components/OrLabel/OrLabel.js +1 -2
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.js +2 -93
- package/dist/bundled/v2/components/OrLabelV3/index.js +1 -2
- package/dist/bundled/v2/components/OrLabelV3/props.js +1 -8
- package/dist/bundled/v2/components/OrLabelV3/styles.js +1 -38
- package/dist/bundled/v2/components/OrLabelV3-1654fb1f.js +133 -0
- package/dist/bundled/v2/components/OrLinkV3/OrLink.js +2 -85
- package/dist/bundled/v2/components/OrLinkV3/index.js +1 -2
- package/dist/bundled/v2/components/OrLinkV3/props.js +1 -10
- package/dist/bundled/v2/components/OrLinkV3/styles.js +1 -32
- package/dist/bundled/v2/components/OrLinkV3-da45a4b9.js +123 -0
- package/dist/bundled/v2/components/OrList/OrList.js +2 -1122
- package/dist/bundled/v2/components/OrList/index.js +1 -1
- package/dist/bundled/v2/{sortable.esm-11705107.js → components/OrList-0cac1cf2.js} +2566 -1
- package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +3 -4
- package/dist/bundled/v2/components/OrListV3/OrList.js +2 -2
- package/dist/bundled/v2/components/OrListV3/index.js +1 -1
- package/dist/bundled/v2/components/OrListV3/styles.js +1 -8
- package/dist/bundled/v2/{OrList-9dff50b7.js → components/OrListV3-55f5748e.js} +13 -8
- package/dist/bundled/v2/components/OrLoader/OrLoader.js +2 -106
- package/dist/bundled/v2/components/OrLoader/constants.js +1 -8
- package/dist/bundled/v2/components/OrLoader/index.js +111 -2
- package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +2 -170
- package/dist/bundled/v2/components/OrLoaderV3/index.js +1 -2
- package/dist/bundled/v2/components/OrLoaderV3/props.js +1 -18
- package/dist/bundled/v2/components/OrLoaderV3/styles.js +1 -17
- package/dist/bundled/v2/components/OrLoaderV3-98a1a8a8.js +201 -0
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.js +2 -93
- package/dist/bundled/v2/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +1 -21
- package/dist/bundled/v2/components/OrMenuItemV3-4fe259d2.js +112 -0
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +2 -131
- package/dist/bundled/v2/components/OrMenuV3/index.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/props.js +1 -1
- package/dist/bundled/v2/components/OrMenuV3/styles.js +1 -7
- package/dist/bundled/v2/components/OrMenuV3-ae616ef0.js +135 -0
- package/dist/bundled/v2/components/OrModal/OrModal.js +2 -183
- package/dist/bundled/v2/components/OrModal/constants.js +1 -10
- package/dist/bundled/v2/components/OrModal/index.js +1 -2
- package/dist/bundled/{v3/useFocusTrap-dabc16ec.js → v2/components/OrModal-8420fe3c.js} +188 -4
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +2 -287
- package/dist/bundled/v2/components/OrModalV3/index.js +1 -2
- package/dist/bundled/v2/components/OrModalV3/props.js +1 -8
- package/dist/bundled/v2/components/OrModalV3/styles.js +1 -30
- package/dist/bundled/v2/components/OrModalV3-1504bf38.js +319 -0
- package/dist/bundled/v2/components/OrNotification/OrNotification.js +2 -128
- package/dist/bundled/v2/components/OrNotification/constants.js +1 -14
- package/dist/bundled/v2/components/OrNotification/index.js +139 -2
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +2 -107
- package/dist/bundled/v2/components/OrNotificationV3/index.js +1 -2
- package/dist/bundled/v2/components/OrNotificationV3/props.js +1 -9
- package/dist/bundled/v2/components/OrNotificationV3/styles.js +1 -54
- package/dist/bundled/v2/components/OrNotificationV3-07c99923.js +166 -0
- package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +1 -1
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +4 -7
- package/dist/bundled/v2/components/OrOverlay/OrOverlay.js +1 -2
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +2 -78
- package/dist/bundled/v2/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/styles.js +1 -9
- package/dist/bundled/v2/components/OrOverlayV3-58d0580d.js +84 -0
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +2 -307
- package/dist/bundled/v2/components/OrPaginationV3/index.js +1 -1
- package/dist/bundled/v2/components/OrPaginationV3/styles.js +1 -26
- package/dist/bundled/v2/components/OrPaginationV3-8d342e06.js +330 -0
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +3 -5
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +2 -217
- package/dist/bundled/v2/components/OrPopoverV3/hooks/useFloating.js +3 -137
- package/dist/bundled/v2/components/OrPopoverV3/index.js +1 -2
- package/dist/bundled/v2/components/OrPopoverV3/props.js +1 -23
- package/dist/bundled/v2/components/OrPopoverV3/styles.js +1 -46
- package/dist/bundled/v2/components/OrPopoverV3-3af55d28.js +408 -0
- package/dist/bundled/v2/components/OrProgress/OrProgress.js +2 -208
- package/dist/bundled/v2/components/OrProgress/constants.js +1 -15
- package/dist/bundled/v2/components/OrProgress/index.js +1 -2
- package/dist/bundled/v2/components/OrProgress-07ca1a3c.js +281 -0
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +2 -244
- package/dist/bundled/v2/components/OrProgressV3/index.js +1 -2
- package/dist/bundled/v2/components/OrProgressV3/props.js +1 -15
- package/dist/bundled/v2/components/OrProgressV3/styles.js +1 -63
- package/dist/bundled/v2/components/OrProgressV3-c8e943a0.js +315 -0
- package/dist/bundled/v2/components/OrRadio/OrRadio.js +3 -4
- package/dist/bundled/v2/components/OrRadioGroup/OrRadioGroup.js +1 -2
- package/dist/bundled/v2/components/OrRadioGroupV3/OrRadioGroup.js +4 -4
- package/dist/bundled/v2/components/OrRadioV3/OrRadio.js +2 -164
- package/dist/bundled/v2/components/OrRadioV3/index.js +1 -1
- package/dist/bundled/v2/components/OrRadioV3/styles.js +1 -31
- package/dist/bundled/v2/components/OrRadioV3-7e249447.js +189 -0
- package/dist/bundled/v2/components/OrRangeSliderV3/OrRangeSlider.js +2 -243
- package/dist/bundled/v2/components/OrRangeSliderV3/index.js +2 -2
- package/dist/bundled/v2/components/OrRangeSliderV3/props.js +1 -1
- package/dist/bundled/v2/components/OrRangeSliderV3/styles.js +2 -97
- package/dist/bundled/v2/components/OrRangeSliderV3-784f0cfb.js +334 -0
- package/dist/bundled/v2/components/OrResizeablePanelV3/OrResizeablePanel.js +2 -248
- package/dist/bundled/v2/components/OrResizeablePanelV3/index.js +1 -2
- package/dist/bundled/v2/components/OrResizeablePanelV3/props.js +1 -16
- package/dist/bundled/v2/components/OrResizeablePanelV3/styles.js +1 -186
- package/dist/bundled/v2/components/OrResizeablePanelV3-8ca96ef2.js +443 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2170
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +1 -2
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +1 -7
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +1 -38
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +2 -42
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +2 -183
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +3 -199
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +1 -2
- package/dist/bundled/v2/components/OrRichTextEditorV3-569d94ba.js +27734 -0
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +3 -4
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +2 -148
- package/dist/bundled/v2/components/OrSearchV3/index.js +146 -2
- package/dist/bundled/v2/components/OrSearchV3/props.js +1 -1
- package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControl.js +2 -209
- package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +1 -2
- package/dist/bundled/v2/components/OrSegmentedControlV3/props.js +1 -7
- package/dist/bundled/v2/components/OrSegmentedControlV3/styles.js +1 -15
- package/dist/bundled/v2/components/OrSegmentedControlV3-b220a9cc.js +227 -0
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +2 -1603
- package/dist/bundled/v2/components/OrSelect/constants.js +1 -50
- package/dist/bundled/v2/components/OrSelect/index.js +1 -1
- package/dist/bundled/v2/components/OrSelect-837dfd6b.js +1644 -0
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +2 -1166
- package/dist/bundled/v2/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSelectV3/props.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/styles.js +1 -54
- package/dist/bundled/v2/components/OrSelectV3-68059541.js +1211 -0
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +2 -138
- package/dist/bundled/v2/components/OrSidebar/constants.js +1 -7
- package/dist/bundled/v2/components/OrSidebar/index.js +142 -2
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +2 -198
- package/dist/bundled/v2/components/OrSidebarV3/index.js +2 -3
- package/dist/bundled/v2/components/OrSidebarV3/props.js +2 -9
- package/dist/bundled/v2/components/OrSidebarV3/styles.js +2 -64
- package/dist/bundled/v2/components/OrSidebarV3-baa2d778.js +262 -0
- package/dist/bundled/v2/components/OrSkeleton/constants.js +1 -12
- package/dist/bundled/v2/components/OrSkeleton/index.js +1 -4
- package/dist/bundled/v2/components/OrSkeleton-8a1572eb.js +379 -0
- package/dist/bundled/v2/components/OrSkeletonCircle/OrSkeletonCircle.js +2 -77
- package/dist/bundled/v2/components/OrSkeletonCircle/index.js +1 -2
- package/dist/bundled/v2/components/OrSkeletonCircleV3/OrSkeletonCircle.js +2 -80
- package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonRect/OrSkeletonRect.js +2 -80
- package/dist/bundled/v2/components/OrSkeletonRect/index.js +1 -2
- package/dist/bundled/v2/components/OrSkeletonRectV3/OrSkeletonRect.js +2 -83
- package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +2 -94
- package/dist/bundled/v2/components/OrSkeletonText/index.js +1 -2
- package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonText.js +2 -113
- package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonV3/index.js +1 -3
- package/dist/bundled/v2/components/OrSkeletonV3/styles.js +1 -34
- package/dist/bundled/v2/components/OrSkeletonV3-9ef41031.js +296 -0
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +3 -5
- package/dist/bundled/v2/components/OrSliderV3/OrSlider.js +2 -187
- package/dist/bundled/v2/components/OrSliderV3/index.js +1 -2
- package/dist/bundled/v2/components/OrSliderV3/props.js +1 -12
- package/dist/bundled/v2/components/OrSliderV3/styles.js +1 -92
- package/dist/bundled/v2/components/OrSliderV3-bde29d00.js +283 -0
- package/dist/bundled/v2/components/OrSortingV3/OrSorting.js +2 -136
- package/dist/bundled/v2/components/OrSortingV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSortingV3/styles.js +1 -6
- package/dist/bundled/v2/components/OrSortingV3-e5706ed8.js +140 -0
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +2 -3
- package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +2 -3
- package/dist/bundled/v2/components/OrSwitchV3/OrSwitch.js +2 -196
- package/dist/bundled/v2/components/OrSwitchV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSwitchV3/styles.js +1 -51
- package/dist/bundled/v2/components/OrSwitchV3-3ec6db49.js +241 -0
- package/dist/bundled/v2/components/OrTab/OrTab.js +2 -3
- package/dist/bundled/v2/components/OrTabHeaderItem/OrTabHeaderItem.js +1 -2
- package/dist/bundled/v2/components/OrTabV3/OrTab.js +2 -86
- package/dist/bundled/v2/components/OrTabV3/OrTab.vue.d.ts +0 -22
- package/dist/bundled/v2/components/OrTabV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTabV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrTabV3/styles.js +1 -25
- package/dist/bundled/v2/components/OrTabV3-0c5a1dc9.js +93 -0
- package/dist/bundled/v2/components/OrTabs/OrTabs.js +1 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +2 -235
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.vue.d.ts +8 -32
- package/dist/bundled/v2/components/OrTabsV3/index.js +1 -2
- package/dist/bundled/v2/components/OrTabsV3/props.js +1 -7
- package/dist/bundled/v2/components/OrTabsV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrTabsV3/styles.js +1 -31
- package/dist/bundled/v2/components/OrTabsV3-77ba89d8.js +249 -0
- package/dist/bundled/v2/components/OrTag/OrTag.js +3 -4
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +2 -386
- package/dist/bundled/v2/components/OrTagInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/props.js +1 -1
- package/dist/bundled/v2/components/OrTagInputV3/styles.js +1 -17
- package/dist/bundled/v2/components/OrTagInputV3-f72f3c44.js +395 -0
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +2 -120
- package/dist/bundled/v2/components/OrTagV3/index.js +1 -2
- package/dist/bundled/v2/components/OrTagV3/props.js +1 -13
- package/dist/bundled/v2/components/OrTagV3/styles.js +1 -32
- package/dist/bundled/v2/components/OrTagV3-fe412dcd.js +159 -0
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +2 -193
- package/dist/bundled/v2/components/OrTagsV3/index.js +1 -2
- package/dist/bundled/v2/components/OrTagsV3/props.js +1 -11
- package/dist/bundled/v2/components/OrTagsV3/styles.js +1 -46
- package/dist/bundled/v2/components/OrTagsV3/utils/castToTag.js +1 -12
- package/dist/bundled/v2/components/OrTagsV3-e2af9e7a.js +254 -0
- package/dist/bundled/v2/components/OrTeleport/OrTeleport.js +2 -630
- package/dist/bundled/v2/components/OrTeleport/constants.js +1 -16
- package/dist/bundled/v2/components/OrTeleport/index.js +1 -1
- package/dist/bundled/v2/components/OrTeleport-9b04228c.js +644 -0
- package/dist/bundled/v2/components/OrTeleportV3/OrTeleport.js +1 -1
- package/dist/bundled/v2/components/OrTextV3/OrText.js +2 -117
- package/dist/bundled/v2/components/OrTextV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTextV3/styles.js +1 -17
- package/dist/bundled/{v3/OrText.vue_vue_type_script_lang-6ce019db.js → v2/components/OrTextV3-2874b826.js} +56 -2
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +2 -4
- package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.js +2 -243
- package/dist/bundled/v2/components/OrTextareaV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTextareaV3/props.js +1 -1
- package/dist/bundled/v2/components/OrTextareaV3/styles.js +1 -16
- package/dist/bundled/v2/components/OrTextareaV3-16bee002.js +252 -0
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +2 -499
- package/dist/bundled/v2/components/OrTextbox/constants.js +1 -11
- package/dist/bundled/v2/components/OrTextbox/index.js +505 -2
- package/dist/bundled/v2/components/OrTimeFormatV3/OrTimeFormat.js +2 -74
- package/dist/bundled/v2/components/OrTimeFormatV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTimeFormatV3/styles.js +1 -5
- package/dist/bundled/v2/components/OrTimeFormatV3-c36f26c3.js +76 -0
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +2 -361
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +3 -3
- package/dist/bundled/v2/components/OrTimePickerV3/props.js +2 -2
- package/dist/bundled/v2/components/OrTimePickerV3/styles.js +1 -8
- package/dist/bundled/v2/components/OrTimePickerV3-ba195fdf.js +362 -0
- package/dist/bundled/v2/components/OrTimeRangePickerV3/OrTimeRangePicker.js +2 -434
- package/dist/bundled/v2/components/OrTimeRangePickerV3/index.js +3 -3
- package/dist/bundled/v2/components/OrTimeRangePickerV3/props.js +2 -2
- package/dist/bundled/v2/components/OrTimeRangePickerV3/styles.js +1 -8
- package/dist/bundled/v2/components/OrTimeRangePickerV3-4a15e963.js +434 -0
- package/dist/bundled/v2/components/OrToast/OrToast.js +2 -141
- package/dist/bundled/v2/components/OrToast/Timer.js +2 -37
- package/dist/bundled/v2/components/OrToast/composable/index.js +1 -2
- package/dist/bundled/v2/components/OrToast/composable/useQueue.js +2 -33
- package/dist/bundled/v2/components/OrToast/composable/useToast.js +1 -86
- package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +2 -25
- package/dist/bundled/v2/components/OrToast/constants.js +1 -24
- package/dist/bundled/v2/components/OrToast/index.js +1 -5
- package/dist/bundled/v2/components/OrToast-fc8a6f31.js +520 -0
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +2 -201
- package/dist/bundled/v2/components/OrToastContainer/index.js +1 -4
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +2 -223
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +1 -5
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +2 -172
- package/dist/bundled/v2/components/OrToastV3/Timer.js +2 -37
- package/dist/bundled/v2/components/OrToastV3/composable/index.js +1 -2
- package/dist/bundled/v2/components/OrToastV3/composable/useQueue.js +2 -33
- package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +1 -86
- package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +2 -25
- package/dist/bundled/v2/components/OrToastV3/index.js +1 -6
- package/dist/bundled/v2/components/OrToastV3/props.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/styles.js +1 -59
- package/dist/bundled/{v3/components/OrToastV3/OrToast.js → v2/components/OrToastV3-f2aebc72.js} +552 -58
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +2 -180
- package/dist/bundled/v2/components/OrTooltip/index.js +240 -2
- package/dist/bundled/v2/components/OrTooltipContent/OrTooltipContent.js +2 -68
- package/dist/bundled/v2/components/OrTooltipContent/index.js +1 -1
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +2 -139
- package/dist/bundled/v2/components/OrTooltipV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/props.js +1 -1
- package/dist/bundled/v2/components/OrTooltipV3/styles.js +2 -48
- package/dist/bundled/v2/components/OrTooltipV3-8df03b27.js +182 -0
- package/dist/bundled/v2/components/OrTreeV3/OrTree.js +2 -423
- package/dist/bundled/v2/components/OrTreeV3/index.js +429 -2
- package/dist/bundled/v2/components/index.js +92 -173
- package/dist/bundled/v2/directives/dropdown-close.js +2 -14
- package/dist/bundled/v2/directives/dropdown-open.js +2 -19
- package/dist/bundled/v2/directives/index.js +1 -2
- package/dist/bundled/v2/hooks/index.js +1 -10
- package/dist/bundled/v2/hooks/useControlAttributes.js +2 -12
- package/dist/bundled/v2/hooks/useElevation.js +2 -25
- package/dist/bundled/v2/hooks/useIdAttribute.js +2 -12
- package/dist/bundled/v2/hooks/useOverflow.js +2 -75
- package/dist/bundled/v2/hooks/usePopoverState.js +2 -42
- package/dist/bundled/v2/hooks/useProxyModelValue.js +2 -29
- package/dist/bundled/v2/hooks/useResponsive/index.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +2 -203
- package/dist/bundled/v2/hooks/useTheme.js +1 -3753
- package/dist/bundled/v2/hooks/useToggle.js +2 -23
- package/dist/bundled/v2/hooks/useValidationAttributes.js +2 -16
- package/dist/bundled/v2/index.js +94 -199
- package/dist/bundled/v2/utils/constants/color.js +1 -16
- package/dist/bundled/v2/utils/constants/key-codes.js +1 -16
- package/dist/bundled/v2/utils/constants/poper.js +1 -10
- package/dist/bundled/v2/utils/constants/regex.js +1 -49
- package/dist/bundled/v2/utils/functions/color.js +1 -40
- package/dist/bundled/v2/utils/functions/dom.js +1 -2
- package/dist/bundled/v2/utils/functions/flattenDeep.js +1 -6
- package/dist/bundled/v2/utils/functions/hash.js +1 -8
- package/dist/bundled/v2/utils/functions/px-to-rem.js +1 -3
- package/dist/bundled/v2/utils/functions/text.js +2 -9
- package/dist/bundled/v2/utils/index.js +2 -12
- package/dist/bundled/v2/utils/isEmpty.js +1 -5
- package/dist/bundled/v2/utils/isEmptyValue.js +1 -5
- package/dist/bundled/v2/utils/isEqualValue.js +1 -8
- package/dist/bundled/v2/utils/isVisible.js +1 -5
- package/dist/esm/v2/{OrCardCollection-b9198c61.js → OrCardCollection-15ac88fa.js} +1 -1
- package/dist/esm/v2/{OrDateFormat-90426655.js → OrDateFormat-176aef8b.js} +2 -2
- package/dist/esm/v2/{OrDatePicker-40432166.js → OrDatePicker-8784a6a5.js} +2 -2
- package/dist/esm/v2/{OrDateRangePicker-0a9adf41.js → OrDateRangePicker-ae6714e2.js} +2 -2
- package/dist/esm/v2/{OrDateTimeFormat-56dde766.js → OrDateTimeFormat-c2a54cac.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-66aa931a.js → OrDateTimePicker-b085ff13.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-42488637.js → OrDateTimePicker.vue_rollup-plugin-vue_script-3bed9790.js} +1 -1
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-11d972d0.js → OrDateTimePickerTimeSelect-602c5287.js} +1 -1
- package/dist/esm/v2/{OrMenuItem-d204cbc7.js → OrMenuItem-f377dc2d.js} +5 -5
- package/dist/esm/v2/{OrPagination-65a12cc6.js → OrPagination-f4020a6f.js} +1 -1
- package/dist/esm/v2/{OrRichTextEditor-cdbf7790.js → OrRichTextEditor-b7e948b4.js} +1 -1
- package/dist/esm/v2/{OrSelect-2c3cc149.js → OrSelect-6d6eec7a.js} +1 -1
- package/dist/esm/v2/{OrSorting-faf377cc.js → OrSorting-16f81092.js} +1 -1
- package/dist/esm/v2/{OrTab-b0ee117b.js → OrTab-2eea055a.js} +6 -22
- package/dist/esm/v2/{OrTabs-c28c758e.js → OrTabs-e3720a8f.js} +20 -39
- package/dist/esm/v2/{OrTimeFormat-6d3b87bc.js → OrTimeFormat-770f8be3.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-d047d1d9.js → OrTimePicker-70034d60.js} +2 -2
- package/dist/esm/v2/{OrTimeRangePicker-da705573.js → OrTimeRangePicker-4e521ac0.js} +2 -2
- package/dist/esm/v2/components/index.js +18 -18
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-sorting-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tab-v3/OrTab.vue.d.ts +0 -22
- package/dist/esm/v2/components/or-tab-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tab-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +8 -32
- package/dist/esm/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tabs-v3/styles.d.ts +2 -2
- package/dist/esm/v2/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/index.js +18 -18
- package/dist/esm/v3/{OrCardCollection-549e5f80.js → OrCardCollection-8bbbbe26.js} +1 -1
- package/dist/esm/v3/{OrDateFormat-36ba02e5.js → OrDateFormat-8c9095ca.js} +2 -2
- package/dist/esm/v3/{OrDatePicker-7b626917.js → OrDatePicker-be607573.js} +2 -2
- package/dist/esm/v3/{OrDateRangePicker-c7570324.js → OrDateRangePicker-a16dcb30.js} +2 -2
- package/dist/esm/v3/{OrDateTimeFormat-c8076fb8.js → OrDateTimeFormat-88ba723e.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-b1ec68a8.js → OrDateTimePicker-eccf252e.js} +1 -1
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-c97af8c7.js → OrDateTimePickerTimeSelect-bc9342dd.js} +1 -1
- package/dist/esm/v3/{OrMenuItem-77e47b3b.js → OrMenuItem-c5d2a427.js} +5 -5
- package/dist/esm/v3/{OrPagination-18243eb9.js → OrPagination-4d9fa9a6.js} +1 -1
- package/dist/esm/v3/{OrRichTextEditor-eda0097a.js → OrRichTextEditor-995c5f4e.js} +1 -1
- package/dist/esm/v3/{OrSelect-02223247.js → OrSelect-e3032afb.js} +1 -1
- package/dist/esm/v3/{OrSorting-bfe2200c.js → OrSorting-4cf454bb.js} +1 -1
- package/dist/esm/v3/{OrTab-280dbc79.js → OrTab-276ea81d.js} +7 -23
- package/dist/esm/v3/{OrTabs-386a7ea8.js → OrTabs-c68c8be3.js} +21 -38
- package/dist/esm/v3/{OrTimeFormat-26cfaafd.js → OrTimeFormat-fc7a59f2.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-ebfff3ab.js → OrTimePicker-7e4a8000.js} +2 -2
- package/dist/esm/v3/{OrTimeRangePicker-477cadab.js → OrTimeRangePicker-2d5a72ce.js} +2 -2
- package/dist/esm/v3/components/index.js +17 -17
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-sorting-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +0 -18
- package/dist/esm/v3/components/or-tab-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tab-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +7 -26
- package/dist/esm/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tabs-v3/styles.d.ts +2 -2
- package/dist/esm/v3/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/index.js +17 -17
- package/package.json +15 -13
- package/src/components/or-menu-item-v3/OrMenuItem.vue +2 -2
- package/src/components/or-menu-item-v3/styles.ts +3 -4
- package/src/components/or-tab-v3/OrTab.vue +3 -15
- package/src/components/or-tab-v3/styles.ts +7 -25
- package/src/components/or-tabs-v3/OrTabs.vue +13 -34
- package/src/components/or-tabs-v3/styles.ts +13 -13
- package/dist/bundled/v2/OrDateTimePickerMonthSelect-7e3ffd97.js +0 -574
- package/dist/bundled/v2/OrDateTimePickerPopoverHeader-13a1f9e3.js +0 -235
- package/dist/bundled/v2/OrDateTimePickerTimeSelect-7ce1b97d.js +0 -359
- package/dist/bundled/v2/_baseAssignValue-2250dbc9.js +0 -38
- package/dist/bundled/v2/_baseIsEqual-fe2002b6.js +0 -1237
- package/dist/bundled/v2/_baseProperty-a52739e9.js +0 -15
- package/dist/bundled/v2/_commonjsHelpers-1789f0cf.js +0 -7
- package/dist/bundled/v2/components/OrCardCollection/types.js +0 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/types.js +0 -1
- package/dist/bundled/v2/components/OrCheckboxTreeV3/types.js +0 -1
- package/dist/bundled/v2/components/OrColorPicker/types.js +0 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/types.js +0 -1
- package/dist/bundled/v2/components/OrEmptyStateV3/types.js +0 -1
- package/dist/bundled/v2/components/OrListV3/types.js +0 -1
- package/dist/bundled/v2/components/OrLoader/types.js +0 -1
- package/dist/bundled/v2/components/OrOverflowMenu/types.js +0 -1
- package/dist/bundled/v2/components/OrPaginationV3/types.js +0 -1
- package/dist/bundled/v2/components/OrPopoverV3/hooks/types.js +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v2/components/OrSegmentedControlV3/types.js +0 -1
- package/dist/bundled/v2/components/OrSelect/types.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/types.js +0 -1
- package/dist/bundled/v2/components/OrSortingV3/types.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/types.js +0 -1
- package/dist/bundled/v2/components/OrTagsV3/types.js +0 -1
- package/dist/bundled/v2/components/OrToast/types.js +0 -1
- package/dist/bundled/v2/components/OrToastV3/types.js +0 -1
- package/dist/bundled/v2/components/OrTreeV3/types.js +0 -8
- package/dist/bundled/v2/dom-cec392f3.js +0 -260
- package/dist/bundled/v2/eq-44ea4d70.js +0 -77
- package/dist/bundled/v2/get-34aa21f4.js +0 -856
- package/dist/bundled/v2/index-0fa7e6ca.js +0 -114
- package/dist/bundled/v2/index-3de14f24.js +0 -2301
- package/dist/bundled/v2/index-4acf7746.js +0 -94
- package/dist/bundled/v2/index-5564585f.js +0 -295
- package/dist/bundled/v2/index-5d81edfd.js +0 -760
- package/dist/bundled/v2/index-67eff9fe.js +0 -9715
- package/dist/bundled/v2/index-7121b6d0.js +0 -8
- package/dist/bundled/v2/index-8becffff.js +0 -1912
- package/dist/bundled/v2/index-9ab841c5.js +0 -837
- package/dist/bundled/v2/index-c1efbf6a.js +0 -819
- package/dist/bundled/v2/index-c54ed0b9.js +0 -361
- package/dist/bundled/v2/index-c80eecf1.js +0 -1636
- package/dist/bundled/v2/index-d41efd2a.js +0 -1379
- package/dist/bundled/v2/index-f1a845c3.js +0 -3158
- package/dist/bundled/v2/index-f671afe5.js +0 -7127
- package/dist/bundled/v2/isArrayLike-e7fb5cae.js +0 -91
- package/dist/bundled/v2/isEqual-7a8e6106.js +0 -38
- package/dist/bundled/v2/isObject-b7415fc1.js +0 -202
- package/dist/bundled/v2/markdown-7d2cd3a5.js +0 -8287
- package/dist/bundled/v2/normalize-component-6e8e3d80.js +0 -76
- package/dist/bundled/v2/props-7be029c7.js +0 -32
- package/dist/bundled/v2/range-82efa3d4.js +0 -136
- package/dist/bundled/v2/round-567ede34.js +0 -66
- package/dist/bundled/v2/style-inject.es-4c6f2515.js +0 -26
- package/dist/bundled/v2/toFinite-bc59ffb0.js +0 -142
- package/dist/bundled/v2/toInteger-9fa0151c.js +0 -38
- package/dist/bundled/v2/toString-b6e4472a.js +0 -114
- package/dist/bundled/v2/types-668300dd.js +0 -5
- package/dist/bundled/v2/useFocusTrap-f810e0ea.js +0 -1381
- package/dist/bundled/v2/v4-cf8987a3.js +0 -67
- package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-10c2add0.js +0 -55
- package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-d1b297c8.js +0 -59
- package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-0cabf675.js +0 -91
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-0fb2b270.js +0 -105
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-dfeef2d0.js +0 -57
- package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-e9677805.js +0 -100
- package/dist/bundled/v3/OrButtonGroup.vue_vue_type_script_lang-72837423.js +0 -33
- package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-81561dd8.js +0 -21
- package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-adf1d0a3.js +0 -33
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-20f91db4.js +0 -103
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-6e2c25b4.js +0 -136
- package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-cdc466f7.js +0 -105
- package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-de28fcaf.js +0 -86
- package/dist/bundled/v3/OrCheckboxGroup.vue_vue_type_script_lang-0622d8c3.js +0 -57
- package/dist/bundled/v3/OrCheckboxTree.vue_vue_type_script_lang-b939bd8a.js +0 -111
- package/dist/bundled/v3/OrChip.vue_vue_type_script_lang-cacd81e5.js +0 -43
- package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-e1f37564.js +0 -192
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-8376244c.js +0 -237
- package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-be1c8c66.js +0 -112
- package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-b030a96d.js +0 -59
- package/dist/bundled/v3/OrCombinedInput.vue_vue_type_script_lang-cdb2d8ca.js +0 -66
- package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-09002522.js +0 -168
- package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-2887602e.js +0 -163
- package/dist/bundled/v3/OrContextMenu.vue_vue_type_script_lang-16abb02a.js +0 -65
- package/dist/bundled/v3/OrDateFormat.vue_vue_type_script_lang-fef42ccd.js +0 -34
- package/dist/bundled/v3/OrDatePicker.vue_vue_type_script_lang-514737bb.js +0 -193
- package/dist/bundled/v3/OrDateRangePicker.vue_vue_type_script_lang-279b0e67.js +0 -225
- package/dist/bundled/v3/OrDateTimeFormat.vue_vue_type_script_lang-15603748.js +0 -41
- package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-0542cccc.js +0 -763
- package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-76b4b7b7.js +0 -260
- package/dist/bundled/v3/OrDateTimePickerMonthSelect.vue_vue_type_script_lang-60fd42d0.js +0 -336
- package/dist/bundled/v3/OrDateTimePickerPopoverHeader-5e6ba5aa.js +0 -207
- package/dist/bundled/v3/OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-40a2de7e.js +0 -105
- package/dist/bundled/v3/OrDateTimePickerTimeSelect-178aa93a.js +0 -85
- package/dist/bundled/v3/OrDateTimePickerTimeSelect.vue_vue_type_script_lang-636aa4a8.js +0 -215
- 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-fcf91781.js +0 -29
- package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-057dcb3b.js +0 -24
- package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-7fad7b18.js +0 -68
- package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-d68402ac.js +0 -39
- package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-38aa1d83.js +0 -148
- package/dist/bundled/v3/OrFormGroup.vue_vue_type_script_lang-165cf30e.js +0 -63
- package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-0ab8b932.js +0 -29
- package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-5eb3ee22.js +0 -14
- package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-db2e3f85.js +0 -34
- package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-f3cbff23.js +0 -99
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-667eefbf.js +0 -77
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-f6bf7dda.js +0 -143
- package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-5ab4644e.js +0 -141
- package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-fe99c485.js +0 -30
- package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-d2f3ad39.js +0 -233
- package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-c6d82ad5.js +0 -132
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-0d7cb6c3.js +0 -146
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-515ff78a.js +0 -190
- package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-989d5ee6.js +0 -93
- package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-6243e348.js +0 -41
- package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-e2bcff17.js +0 -45
- package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-c35ed9e3.js +0 -46
- package/dist/bundled/v3/OrList.vue_vue_type_script_lang-8df85a8d.js +0 -1008
- package/dist/bundled/v3/OrList.vue_vue_type_script_lang-e1c786c5.js +0 -208
- package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-34a006d0.js +0 -79
- package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-52edc8f8.js +0 -80
- package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-a1fed697.js +0 -48
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-3feb056b.js +0 -76
- package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-0ac024bf.js +0 -39
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-4a14c3ae.js +0 -163
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-70904ce1.js +0 -101
- package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-5fd54a49.js +0 -54
- package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-81d7cfef.js +0 -70
- package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-b832e611.js +0 -114
- package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-5bde29a6.js +0 -139
- package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-2f5d626d.js +0 -33
- package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-4a0cd054.js +0 -40
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-041013db.js +0 -167
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-1165ec6c.js +0 -100
- package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-877797ba.js +0 -162
- package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-4b93a66e.js +0 -136
- package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-c4bd7133.js +0 -130
- package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-750ce51f.js +0 -82
- package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-a4f043e9.js +0 -92
- package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-75b6c81b.js +0 -47
- package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-8fad9a5f.js +0 -56
- package/dist/bundled/v3/OrRangeSlider.vue_vue_type_script_lang-e17cd5a8.js +0 -150
- package/dist/bundled/v3/OrResizeablePanel.vue_vue_type_script_lang-e2f723b0.js +0 -187
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-a22416de.js +0 -1910
- package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-245c9614.js +0 -123
- package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-46df9961.js +0 -83
- package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-10bd4ea8.js +0 -135
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-baf7c270.js +0 -1267
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-d99e4138.js +0 -747
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-777f8c4f.js +0 -131
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-d6e95246.js +0 -85
- package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-2a2e5870.js +0 -44
- package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-b768e00d.js +0 -38
- package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-32f819ad.js +0 -41
- package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-3a1d6b32.js +0 -47
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-502607ef.js +0 -71
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-cfe360bb.js +0 -50
- package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-ae4652e3.js +0 -227
- package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-e26488b0.js +0 -115
- package/dist/bundled/v3/OrSorting.vue_vue_type_script_lang-e819d8a0.js +0 -66
- package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-33639493.js +0 -377
- package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-3ef06bbd.js +0 -78
- package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-9e9e15d1.js +0 -91
- package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-c0fa2c25.js +0 -34
- package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-d9ee65b6.js +0 -57
- package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-e1a0b91f.js +0 -60
- package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-9129d34b.js +0 -46
- package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-d98ae665.js +0 -148
- package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-533656e5.js +0 -55
- package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-b62c0b79.js +0 -58
- package/dist/bundled/v3/OrTagInput.vue_vue_type_script_lang-fa961339.js +0 -202
- package/dist/bundled/v3/OrTags.vue_vue_type_script_lang-4221ee26.js +0 -115
- package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-dfc6301c.js +0 -16
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-5624556c.js +0 -187
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-9f62ecd7.js +0 -112
- package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-d0db6077.js +0 -336
- package/dist/bundled/v3/OrTimeFormat.vue_vue_type_script_lang-acef5eaa.js +0 -39
- package/dist/bundled/v3/OrTimePicker.vue_vue_type_script_lang-4bda3fcb.js +0 -191
- package/dist/bundled/v3/OrTimeRangePicker.vue_vue_type_script_lang-5d813382.js +0 -202
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-84d3f4c8.js +0 -155
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-b019a53c.js +0 -135
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-288c978f.js +0 -113
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-a8c7bc09.js +0 -77
- package/dist/bundled/v3/OrTooltipContent.vue_vue_type_script_lang-4c1afacb.js +0 -19
- package/dist/bundled/v3/OrTree.vue_vue_type_script_lang-f6e6d6ac.js +0 -310
- package/dist/bundled/v3/_baseAssignValue-2250dbc9.js +0 -38
- package/dist/bundled/v3/_baseIsEqual-fe2002b6.js +0 -1237
- package/dist/bundled/v3/_baseProperty-a52739e9.js +0 -15
- package/dist/bundled/v3/_commonjsHelpers-1789f0cf.js +0 -7
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +0 -33
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +0 -47
- package/dist/bundled/v3/components/OrAvatar/constants.d.ts +0 -5
- package/dist/bundled/v3/components/OrAvatar/constants.js +0 -8
- package/dist/bundled/v3/components/OrAvatar/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrAvatar/index.js +0 -2
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +0 -24
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +0 -55
- package/dist/bundled/v3/components/OrAvatarV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrAvatarV3/index.js +0 -2
- package/dist/bundled/v3/components/OrAvatarV3/props.d.ts +0 -15
- package/dist/bundled/v3/components/OrAvatarV3/props.js +0 -19
- package/dist/bundled/v3/components/OrAvatarV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrAvatarV3/styles.js +0 -84
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +0 -31
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -566
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.d.ts +0 -530
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +0 -71
- package/dist/bundled/v3/components/OrBottomSheetV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +0 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrBottomSheetV3/props.js +0 -7
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +0 -48
- package/dist/bundled/v3/components/OrButton/OrButton.js +0 -43
- package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +0 -153
- package/dist/bundled/v3/components/OrButton/constants.d.ts +0 -21
- package/dist/bundled/v3/components/OrButton/constants.js +0 -25
- package/dist/bundled/v3/components/OrButton/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrButton/index.js +0 -2
- package/dist/bundled/v3/components/OrButtonGroupV3/OrButtonGroup.js +0 -13
- package/dist/bundled/v3/components/OrButtonGroupV3/OrButtonGroup.vue.d.ts +0 -37
- package/dist/bundled/v3/components/OrButtonGroupV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrButtonGroupV3/index.js +0 -2
- package/dist/bundled/v3/components/OrButtonGroupV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrButtonGroupV3/props.js +0 -1
- package/dist/bundled/v3/components/OrButtonGroupV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrButtonGroupV3/styles.js +0 -21
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +0 -42
- package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +0 -126
- package/dist/bundled/v3/components/OrButtonV2/constants.d.ts +0 -35
- 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 -3
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +0 -36
- package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +0 -78
- package/dist/bundled/v3/components/OrButtonV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrButtonV3/index.js +0 -2
- package/dist/bundled/v3/components/OrButtonV3/props.d.ts +0 -16
- package/dist/bundled/v3/components/OrButtonV3/props.js +0 -21
- package/dist/bundled/v3/components/OrButtonV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrButtonV3/styles.js +0 -75
- package/dist/bundled/v3/components/OrCard/OrCard.js +0 -21
- package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +0 -18
- package/dist/bundled/v3/components/OrCard/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCard/index.js +0 -1
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +0 -88
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +0 -86
- package/dist/bundled/v3/components/OrCardCollection/constants.d.ts +0 -4
- package/dist/bundled/v3/components/OrCardCollection/constants.js +0 -7
- package/dist/bundled/v3/components/OrCardCollection/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrCardCollection/index.js +0 -2
- package/dist/bundled/v3/components/OrCardCollection/types.d.ts +0 -8
- package/dist/bundled/v3/components/OrCardCollection/types.js +0 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +0 -65
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +0 -93
- package/dist/bundled/v3/components/OrCardCollectionV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +0 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/props.d.ts +0 -8
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +0 -16
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +0 -38
- package/dist/bundled/v3/components/OrCardCollectionV3/types.d.ts +0 -8
- 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/OrCard.vue.d.ts +0 -37
- package/dist/bundled/v3/components/OrCardV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrCardV3/index.js +0 -2
- package/dist/bundled/v3/components/OrCardV3/props.d.ts +0 -5
- package/dist/bundled/v3/components/OrCardV3/props.js +0 -8
- package/dist/bundled/v3/components/OrCardV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrCardV3/styles.js +0 -27
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +0 -68
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +0 -73
- package/dist/bundled/v3/components/OrCheckbox/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCheckbox/index.js +0 -1
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +0 -33
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +0 -73
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +0 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +0 -64
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +0 -65
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +0 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.js +0 -10
- package/dist/bundled/v3/components/OrCheckboxTreeV3/types.d.ts +0 -8
- package/dist/bundled/v3/components/OrCheckboxTreeV3/types.js +0 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/utils/extractChildrenValues.d.ts +0 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/utils/extractChildrenValues.js +0 -19
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +0 -47
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +0 -90
- package/dist/bundled/v3/components/OrCheckboxV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +0 -1
- package/dist/bundled/v3/components/OrCheckboxV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrCheckboxV3/styles.js +0 -31
- package/dist/bundled/v3/components/OrChip/OrChip.js +0 -29
- package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +0 -42
- package/dist/bundled/v3/components/OrChip/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrChip/index.js +0 -1
- package/dist/bundled/v3/components/OrChips/OrChips.js +0 -49
- package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +0 -69
- package/dist/bundled/v3/components/OrChips/constants.d.ts +0 -9
- 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 -2
- package/dist/bundled/v3/components/OrCode/OrCode.js +0 -91
- package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +0 -168
- package/dist/bundled/v3/components/OrCode/constants.d.ts +0 -8
- package/dist/bundled/v3/components/OrCode/constants.js +0 -11
- package/dist/bundled/v3/components/OrCode/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrCode/index.js +0 -7
- package/dist/bundled/v3/components/OrCode/lang.d.ts +0 -11
- package/dist/bundled/v3/components/OrCode/lang.js +0 -27
- package/dist/bundled/v3/components/OrCode/libs.d.ts +0 -5
- package/dist/bundled/v3/components/OrCode/libs.js +0 -5
- package/dist/bundled/v3/components/OrCode/theme.d.ts +0 -24
- package/dist/bundled/v3/components/OrCode/theme.js +0 -189
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +0 -57
- package/dist/bundled/v3/components/OrCodeV3/OrCode.vue.d.ts +0 -131
- package/dist/bundled/v3/components/OrCodeV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrCodeV3/index.js +0 -7
- package/dist/bundled/v3/components/OrCodeV3/libs.d.ts +0 -6
- package/dist/bundled/v3/components/OrCodeV3/libs.js +0 -5
- package/dist/bundled/v3/components/OrCodeV3/props.d.ts +0 -8
- package/dist/bundled/v3/components/OrCodeV3/props.js +0 -11
- package/dist/bundled/v3/components/OrCodeV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrCodeV3/styles.js +0 -28
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +0 -36
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +0 -53
- package/dist/bundled/v3/components/OrCollapse/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCollapse/index.js +0 -1
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +0 -76
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +0 -48
- package/dist/bundled/v3/components/OrColorPicker/constants.d.ts +0 -575
- package/dist/bundled/v3/components/OrColorPicker/constants.js +0 -323
- package/dist/bundled/v3/components/OrColorPicker/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrColorPicker/index.js +0 -2
- package/dist/bundled/v3/components/OrColorPicker/types.d.ts +0 -1
- package/dist/bundled/v3/components/OrColorPicker/types.js +0 -1
- package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.d.ts +0 -2
- package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.js +0 -16
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +0 -54
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +0 -83
- package/dist/bundled/v3/components/OrCombinedInputV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +0 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/props.js +0 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/styles.js +0 -16
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +0 -60
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +0 -176
- package/dist/bundled/v3/components/OrConfirm/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrConfirm/index.js +0 -1
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +0 -67
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +0 -138
- package/dist/bundled/v3/components/OrConfirmV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrConfirmV3/index.js +0 -2
- package/dist/bundled/v3/components/OrConfirmV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrConfirmV3/props.js +0 -7
- package/dist/bundled/v3/components/OrConfirmV3/styles.d.ts +0 -7
- package/dist/bundled/v3/components/OrConfirmV3/styles.js +0 -47
- package/dist/bundled/v3/components/OrContextMenuV3/OrContextMenu.js +0 -20
- package/dist/bundled/v3/components/OrContextMenuV3/OrContextMenu.vue.d.ts +0 -45
- package/dist/bundled/v3/components/OrContextMenuV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrContextMenuV3/index.js +0 -2
- package/dist/bundled/v3/components/OrContextMenuV3/props.d.ts +0 -2
- package/dist/bundled/v3/components/OrContextMenuV3/props.js +0 -1
- package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.js +0 -13
- package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.vue.d.ts +0 -28
- package/dist/bundled/v3/components/OrDateFormatV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateFormatV3/index.js +0 -1
- package/dist/bundled/v3/components/OrDateFormatV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateFormatV3/styles.js +0 -5
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +0 -131
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +0 -263
- package/dist/bundled/v3/components/OrDatePickerV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +0 -2
- package/dist/bundled/v3/components/OrDatePickerV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrDatePickerV3/props.js +0 -1
- package/dist/bundled/v3/components/OrDatePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrDatePickerV3/styles.js +0 -10
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +0 -165
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.vue.d.ts +0 -553
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +0 -2
- package/dist/bundled/v3/components/OrDateRangePickerV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/props.js +0 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.js +0 -10
- package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.js +0 -13
- package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.vue.d.ts +0 -39
- package/dist/bundled/v3/components/OrDateTimeFormatV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/index.js +0 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.js +0 -5
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +0 -228
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +0 -270
- package/dist/bundled/v3/components/OrDateTimePicker/constants.d.ts +0 -24
- package/dist/bundled/v3/components/OrDateTimePicker/constants.js +0 -20
- package/dist/bundled/v3/components/OrDateTimePicker/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +0 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +0 -193
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +0 -296
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.d.ts +0 -5
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +0 -12
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.d.ts +0 -6
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.js +0 -10
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.js +0 -11
- package/dist/bundled/v3/components/OrDateTimePickerV3/types.d.ts +0 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/types.js +0 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.js +0 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.d.ts +0 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.js +0 -11
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.js +0 -6
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +0 -9
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.js +0 -6
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.d.ts +0 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +0 -12
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.d.ts +0 -6
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.js +0 -6
- package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.js +0 -26
- package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.vue.d.ts +0 -86
- package/dist/bundled/v3/components/OrEmptyStateV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrEmptyStateV3/index.js +0 -2
- package/dist/bundled/v3/components/OrEmptyStateV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrEmptyStateV3/props.js +0 -7
- package/dist/bundled/v3/components/OrEmptyStateV3/styles.d.ts +0 -10
- package/dist/bundled/v3/components/OrEmptyStateV3/styles.js +0 -46
- package/dist/bundled/v3/components/OrEmptyStateV3/types.d.ts +0 -2
- package/dist/bundled/v3/components/OrEmptyStateV3/types.js +0 -1
- package/dist/bundled/v3/components/OrError/OrError.js +0 -18
- package/dist/bundled/v3/components/OrError/OrError.vue.d.ts +0 -15
- package/dist/bundled/v3/components/OrError/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrError/index.js +0 -1
- package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.js +0 -20
- package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.vue.d.ts +0 -5
- package/dist/bundled/v3/components/OrErrorTagV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrErrorTagV3/index.js +0 -1
- package/dist/bundled/v3/components/OrErrorTagV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrErrorTagV3/styles.js +0 -15
- package/dist/bundled/v3/components/OrErrorV3/OrError.js +0 -19
- package/dist/bundled/v3/components/OrErrorV3/OrError.vue.d.ts +0 -19
- package/dist/bundled/v3/components/OrErrorV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrErrorV3/index.js +0 -1
- package/dist/bundled/v3/components/OrErrorV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrErrorV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +0 -34
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +0 -73
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +0 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/props.d.ts +0 -13
- package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +0 -18
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.d.ts +0 -7
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +0 -69
- package/dist/bundled/v3/components/OrFabV3/OrFab.js +0 -22
- package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +0 -37
- package/dist/bundled/v3/components/OrFabV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrFabV3/index.js +0 -2
- package/dist/bundled/v3/components/OrFabV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrFabV3/props.js +0 -7
- package/dist/bundled/v3/components/OrFabV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrFabV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrFloating/OrFloating.js +0 -24
- package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +0 -123
- package/dist/bundled/v3/components/OrFloating/constants.d.ts +0 -18
- package/dist/bundled/v3/components/OrFloating/constants.js +0 -22
- package/dist/bundled/v3/components/OrFloating/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrFloating/index.js +0 -2
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +0 -46
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +0 -67
- package/dist/bundled/v3/components/OrFormGroupV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrFormGroupV3/index.js +0 -2
- package/dist/bundled/v3/components/OrFormGroupV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrFormGroupV3/props.js +0 -7
- package/dist/bundled/v3/components/OrFormGroupV3/styles.d.ts +0 -5
- package/dist/bundled/v3/components/OrFormGroupV3/styles.js +0 -17
- package/dist/bundled/v3/components/OrHint/OrHint.js +0 -18
- package/dist/bundled/v3/components/OrHint/OrHint.vue.d.ts +0 -17
- package/dist/bundled/v3/components/OrHint/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrHint/index.js +0 -1
- package/dist/bundled/v3/components/OrHintV3/OrHint.js +0 -19
- package/dist/bundled/v3/components/OrHintV3/OrHint.vue.d.ts +0 -19
- package/dist/bundled/v3/components/OrHintV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrHintV3/index.js +0 -1
- package/dist/bundled/v3/components/OrHintV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrHintV3/styles.js +0 -19
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +0 -44
- package/dist/bundled/v3/components/OrIcon/OrIcon.vue.d.ts +0 -95
- package/dist/bundled/v3/components/OrIcon/constants.d.ts +0 -20
- package/dist/bundled/v3/components/OrIcon/constants.js +0 -24
- package/dist/bundled/v3/components/OrIcon/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrIcon/index.js +0 -2
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +0 -43
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +0 -106
- package/dist/bundled/v3/components/OrIconButtonV2/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +0 -1
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +0 -34
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +0 -82
- package/dist/bundled/v3/components/OrIconButtonV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +0 -3
- package/dist/bundled/v3/components/OrIconButtonV3/props.d.ts +0 -7
- package/dist/bundled/v3/components/OrIconButtonV3/props.js +0 -11
- package/dist/bundled/v3/components/OrIconButtonV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrIconButtonV3/styles.js +0 -72
- package/dist/bundled/v3/components/OrIconV3/OrIcon.js +0 -13
- package/dist/bundled/v3/components/OrIconV3/OrIcon.vue.d.ts +0 -36
- package/dist/bundled/v3/components/OrIconV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrIconV3/index.js +0 -2
- package/dist/bundled/v3/components/OrIconV3/props.d.ts +0 -13
- package/dist/bundled/v3/components/OrIconV3/props.js +0 -17
- package/dist/bundled/v3/components/OrIconV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrIconV3/styles.js +0 -44
- package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.js +0 -15
- package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.vue.d.ts +0 -28
- package/dist/bundled/v3/components/OrInlineInputBoxV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrInlineInputBoxV3/index.js +0 -2
- package/dist/bundled/v3/components/OrInlineInputBoxV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrInlineInputBoxV3/props.js +0 -7
- package/dist/bundled/v3/components/OrInlineInputBoxV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +0 -85
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +0 -106
- package/dist/bundled/v3/components/OrInlineInputV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +0 -3
- package/dist/bundled/v3/components/OrInlineInputV3/props.d.ts +0 -5
- package/dist/bundled/v3/components/OrInlineInputV3/props.js +0 -9
- package/dist/bundled/v3/components/OrInlineInputV3/styles.d.ts +0 -5
- package/dist/bundled/v3/components/OrInlineInputV3/styles.js +0 -29
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +0 -116
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +0 -157
- package/dist/bundled/v3/components/OrInlineTextEdit/constants.d.ts +0 -9
- package/dist/bundled/v3/components/OrInlineTextEdit/constants.js +0 -13
- package/dist/bundled/v3/components/OrInlineTextEdit/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +0 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +0 -84
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +0 -86
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +0 -1
- package/dist/bundled/v3/components/OrInlineTextareaV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +0 -21
- package/dist/bundled/v3/components/OrInput/OrInput.js +0 -117
- package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +0 -153
- package/dist/bundled/v3/components/OrInput/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrInput/index.js +0 -1
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.js +0 -27
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +0 -55
- package/dist/bundled/v3/components/OrInputBoxV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrInputBoxV3/index.js +0 -2
- package/dist/bundled/v3/components/OrInputBoxV3/props.d.ts +0 -8
- package/dist/bundled/v3/components/OrInputBoxV3/props.js +0 -12
- package/dist/bundled/v3/components/OrInputBoxV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrInputBoxV3/styles.js +0 -49
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +0 -121
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +0 -156
- package/dist/bundled/v3/components/OrInputV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrInputV3/index.js +0 -3
- package/dist/bundled/v3/components/OrInputV3/props.d.ts +0 -7
- package/dist/bundled/v3/components/OrInputV3/props.js +0 -11
- package/dist/bundled/v3/components/OrInputV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrInputV3/styles.js +0 -14
- package/dist/bundled/v3/components/OrLabel/OrLabel.js +0 -21
- package/dist/bundled/v3/components/OrLabel/OrLabel.vue.d.ts +0 -32
- package/dist/bundled/v3/components/OrLabel/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrLabel/index.js +0 -1
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +0 -24
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +0 -57
- package/dist/bundled/v3/components/OrLabelV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrLabelV3/index.js +0 -2
- package/dist/bundled/v3/components/OrLabelV3/props.d.ts +0 -5
- package/dist/bundled/v3/components/OrLabelV3/props.js +0 -8
- package/dist/bundled/v3/components/OrLabelV3/styles.d.ts +0 -5
- package/dist/bundled/v3/components/OrLabelV3/styles.js +0 -38
- package/dist/bundled/v3/components/OrLinkV3/OrLink.js +0 -20
- package/dist/bundled/v3/components/OrLinkV3/OrLink.vue.d.ts +0 -63
- package/dist/bundled/v3/components/OrLinkV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrLinkV3/index.js +0 -2
- package/dist/bundled/v3/components/OrLinkV3/props.d.ts +0 -7
- package/dist/bundled/v3/components/OrLinkV3/props.js +0 -10
- package/dist/bundled/v3/components/OrLinkV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrLinkV3/styles.js +0 -32
- package/dist/bundled/v3/components/OrList/OrList.js +0 -84
- package/dist/bundled/v3/components/OrList/OrList.vue.d.ts +0 -125
- package/dist/bundled/v3/components/OrList/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrList/index.js +0 -1
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +0 -91
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +0 -95
- package/dist/bundled/v3/components/OrListOfInputs/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrListOfInputs/index.js +0 -1
- package/dist/bundled/v3/components/OrListV3/OrList.js +0 -63
- package/dist/bundled/v3/components/OrListV3/OrList.vue.d.ts +0 -96
- package/dist/bundled/v3/components/OrListV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrListV3/index.js +0 -1
- package/dist/bundled/v3/components/OrListV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrListV3/styles.js +0 -8
- package/dist/bundled/v3/components/OrListV3/types.d.ts +0 -4
- package/dist/bundled/v3/components/OrListV3/types.js +0 -1
- package/dist/bundled/v3/components/OrLoader/OrLoader.js +0 -43
- package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +0 -57
- package/dist/bundled/v3/components/OrLoader/constants.d.ts +0 -6
- package/dist/bundled/v3/components/OrLoader/constants.js +0 -8
- package/dist/bundled/v3/components/OrLoader/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrLoader/index.js +0 -2
- package/dist/bundled/v3/components/OrLoader/types.d.ts +0 -3
- package/dist/bundled/v3/components/OrLoader/types.js +0 -1
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +0 -65
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +0 -75
- package/dist/bundled/v3/components/OrLoaderV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrLoaderV3/index.js +0 -2
- package/dist/bundled/v3/components/OrLoaderV3/props.d.ts +0 -13
- package/dist/bundled/v3/components/OrLoaderV3/props.js +0 -18
- package/dist/bundled/v3/components/OrLoaderV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrLoaderV3/styles.js +0 -17
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +0 -28
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +0 -40
- package/dist/bundled/v3/components/OrMenuItemV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +0 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +0 -21
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +0 -29
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +0 -66
- package/dist/bundled/v3/components/OrMenuV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrMenuV3/index.js +0 -2
- package/dist/bundled/v3/components/OrMenuV3/props.d.ts +0 -2
- package/dist/bundled/v3/components/OrMenuV3/props.js +0 -1
- package/dist/bundled/v3/components/OrMenuV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrMenuV3/styles.js +0 -7
- package/dist/bundled/v3/components/OrModal/OrModal.js +0 -52
- package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +0 -85
- package/dist/bundled/v3/components/OrModal/constants.d.ts +0 -7
- package/dist/bundled/v3/components/OrModal/constants.js +0 -10
- package/dist/bundled/v3/components/OrModal/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrModal/index.js +0 -2
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +0 -40
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +0 -44
- package/dist/bundled/v3/components/OrModalV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrModalV3/index.js +0 -2
- package/dist/bundled/v3/components/OrModalV3/props.d.ts +0 -5
- package/dist/bundled/v3/components/OrModalV3/props.js +0 -8
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrModalV3/styles.js +0 -30
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +0 -36
- package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +0 -65
- package/dist/bundled/v3/components/OrNotification/constants.d.ts +0 -10
- package/dist/bundled/v3/components/OrNotification/constants.js +0 -14
- package/dist/bundled/v3/components/OrNotification/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrNotification/index.js +0 -2
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +0 -28
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +0 -30
- package/dist/bundled/v3/components/OrNotificationV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrNotificationV3/index.js +0 -2
- package/dist/bundled/v3/components/OrNotificationV3/props.d.ts +0 -6
- package/dist/bundled/v3/components/OrNotificationV3/props.js +0 -9
- package/dist/bundled/v3/components/OrNotificationV3/styles.d.ts +0 -5
- package/dist/bundled/v3/components/OrNotificationV3/styles.js +0 -54
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +0 -60
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +0 -139
- package/dist/bundled/v3/components/OrNumberInput/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrNumberInput/index.js +0 -1
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +0 -57
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +0 -62
- package/dist/bundled/v3/components/OrOverflowMenu/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +0 -1
- package/dist/bundled/v3/components/OrOverflowMenu/types.d.ts +0 -7
- package/dist/bundled/v3/components/OrOverflowMenu/types.js +0 -1
- package/dist/bundled/v3/components/OrOverlay/OrOverlay.js +0 -17
- package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +0 -40
- package/dist/bundled/v3/components/OrOverlay/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrOverlay/index.js +0 -1
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +0 -21
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +0 -17
- package/dist/bundled/v3/components/OrOverlayV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrOverlayV3/index.js +0 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.js +0 -9
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +0 -107
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +0 -57
- package/dist/bundled/v3/components/OrPaginationV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrPaginationV3/index.js +0 -1
- package/dist/bundled/v3/components/OrPaginationV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrPaginationV3/styles.js +0 -26
- package/dist/bundled/v3/components/OrPaginationV3/types.d.ts +0 -4
- package/dist/bundled/v3/components/OrPaginationV3/types.js +0 -1
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +0 -68
- package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +0 -117
- package/dist/bundled/v3/components/OrPassword/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrPassword/index.js +0 -1
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +0 -39
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +0 -115
- package/dist/bundled/v3/components/OrPopoverV3/hooks/types.d.ts +0 -77
- package/dist/bundled/v3/components/OrPopoverV3/hooks/types.js +0 -1
- package/dist/bundled/v3/components/OrPopoverV3/hooks/useFloating.d.ts +0 -4
- package/dist/bundled/v3/components/OrPopoverV3/hooks/useFloating.js +0 -137
- package/dist/bundled/v3/components/OrPopoverV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +0 -2
- package/dist/bundled/v3/components/OrPopoverV3/props.d.ts +0 -21
- package/dist/bundled/v3/components/OrPopoverV3/props.js +0 -23
- package/dist/bundled/v3/components/OrPopoverV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrPopoverV3/styles.js +0 -46
- package/dist/bundled/v3/components/OrProgress/OrProgress.js +0 -63
- package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +0 -122
- package/dist/bundled/v3/components/OrProgress/constants.d.ts +0 -11
- package/dist/bundled/v3/components/OrProgress/constants.js +0 -15
- package/dist/bundled/v3/components/OrProgress/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrProgress/index.js +0 -2
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +0 -78
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +0 -105
- package/dist/bundled/v3/components/OrProgressV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrProgressV3/index.js +0 -2
- package/dist/bundled/v3/components/OrProgressV3/props.d.ts +0 -11
- package/dist/bundled/v3/components/OrProgressV3/props.js +0 -15
- package/dist/bundled/v3/components/OrProgressV3/styles.d.ts +0 -11
- 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/OrRadio.vue.d.ts +0 -68
- package/dist/bundled/v3/components/OrRadio/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRadio/index.js +0 -1
- package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.js +0 -18
- package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +0 -64
- package/dist/bundled/v3/components/OrRadioGroup/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRadioGroup/index.js +0 -1
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +0 -32
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +0 -83
- package/dist/bundled/v3/components/OrRadioGroupV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +0 -1
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +0 -42
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +0 -78
- package/dist/bundled/v3/components/OrRadioV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRadioV3/index.js +0 -1
- package/dist/bundled/v3/components/OrRadioV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrRadioV3/styles.js +0 -31
- package/dist/bundled/v3/components/OrRangeSliderV3/OrRangeSlider.js +0 -71
- package/dist/bundled/v3/components/OrRangeSliderV3/OrRangeSlider.vue.d.ts +0 -96
- package/dist/bundled/v3/components/OrRangeSliderV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrRangeSliderV3/index.js +0 -2
- package/dist/bundled/v3/components/OrRangeSliderV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrRangeSliderV3/props.js +0 -1
- package/dist/bundled/v3/components/OrRangeSliderV3/styles.d.ts +0 -14
- package/dist/bundled/v3/components/OrRangeSliderV3/styles.js +0 -97
- package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.js +0 -39
- package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.vue.d.ts +0 -101
- package/dist/bundled/v3/components/OrResizeablePanelV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrResizeablePanelV3/index.js +0 -2
- package/dist/bundled/v3/components/OrResizeablePanelV3/props.d.ts +0 -12
- package/dist/bundled/v3/components/OrResizeablePanelV3/props.js +0 -16
- package/dist/bundled/v3/components/OrResizeablePanelV3/styles.d.ts +0 -13
- package/dist/bundled/v3/components/OrResizeablePanelV3/styles.js +0 -186
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -202
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -119
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +0 -5
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +0 -7
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +0 -38
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -42
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -183
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -17
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -199
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +0 -2
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +0 -71
- package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +0 -140
- package/dist/bundled/v3/components/OrSearch/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSearch/index.js +0 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +0 -30
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +0 -81
- package/dist/bundled/v3/components/OrSearchV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSearchV3/index.js +0 -2
- package/dist/bundled/v3/components/OrSearchV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrSearchV3/props.js +0 -1
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.js +0 -26
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +0 -50
- package/dist/bundled/v3/components/OrSegmentedControlV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +0 -2
- package/dist/bundled/v3/components/OrSegmentedControlV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrSegmentedControlV3/props.js +0 -7
- package/dist/bundled/v3/components/OrSegmentedControlV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrSegmentedControlV3/styles.js +0 -15
- package/dist/bundled/v3/components/OrSegmentedControlV3/types.d.ts +0 -4
- package/dist/bundled/v3/components/OrSegmentedControlV3/types.js +0 -1
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +0 -56
- package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +0 -181
- package/dist/bundled/v3/components/OrSelect/constants.d.ts +0 -50
- package/dist/bundled/v3/components/OrSelect/constants.js +0 -50
- package/dist/bundled/v3/components/OrSelect/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSelect/index.js +0 -1
- package/dist/bundled/v3/components/OrSelect/types.d.ts +0 -9
- package/dist/bundled/v3/components/OrSelect/types.js +0 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +0 -236
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +0 -213
- package/dist/bundled/v3/components/OrSelectV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrSelectV3/index.js +0 -2
- package/dist/bundled/v3/components/OrSelectV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrSelectV3/props.js +0 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +0 -8
- package/dist/bundled/v3/components/OrSelectV3/styles.js +0 -54
- package/dist/bundled/v3/components/OrSelectV3/types.d.ts +0 -12
- package/dist/bundled/v3/components/OrSelectV3/types.js +0 -1
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +0 -37
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +0 -63
- package/dist/bundled/v3/components/OrSidebar/constants.d.ts +0 -4
- package/dist/bundled/v3/components/OrSidebar/constants.js +0 -7
- package/dist/bundled/v3/components/OrSidebar/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSidebar/index.js +0 -2
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +0 -44
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +0 -159
- package/dist/bundled/v3/components/OrSidebarV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSidebarV3/index.js +0 -3
- package/dist/bundled/v3/components/OrSidebarV3/props.d.ts +0 -9
- package/dist/bundled/v3/components/OrSidebarV3/props.js +0 -9
- package/dist/bundled/v3/components/OrSidebarV3/styles.d.ts +0 -8
- package/dist/bundled/v3/components/OrSidebarV3/styles.js +0 -64
- package/dist/bundled/v3/components/OrSkeleton/constants.d.ts +0 -9
- 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 -4
- package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +0 -18
- package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +0 -32
- package/dist/bundled/v3/components/OrSkeletonCircle/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSkeletonCircle/index.js +0 -2
- package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.js +0 -14
- package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.vue.d.ts +0 -36
- package/dist/bundled/v3/components/OrSkeletonCircleV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSkeletonCircleV3/index.js +0 -1
- package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +0 -18
- package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +0 -43
- package/dist/bundled/v3/components/OrSkeletonRect/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSkeletonRect/index.js +0 -2
- package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.js +0 -14
- package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.vue.d.ts +0 -45
- package/dist/bundled/v3/components/OrSkeletonRectV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSkeletonRectV3/index.js +0 -1
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +0 -23
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +0 -57
- package/dist/bundled/v3/components/OrSkeletonText/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSkeletonText/index.js +0 -2
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +0 -20
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +0 -72
- package/dist/bundled/v3/components/OrSkeletonTextV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +0 -1
- package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrSkeletonV3/index.js +0 -3
- package/dist/bundled/v3/components/OrSkeletonV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrSkeletonV3/styles.js +0 -34
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +0 -98
- package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +0 -136
- package/dist/bundled/v3/components/OrSlider/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSlider/index.js +0 -1
- package/dist/bundled/v3/components/OrSliderV3/OrSlider.js +0 -51
- package/dist/bundled/v3/components/OrSliderV3/OrSlider.vue.d.ts +0 -89
- package/dist/bundled/v3/components/OrSliderV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSliderV3/index.js +0 -2
- package/dist/bundled/v3/components/OrSliderV3/props.d.ts +0 -8
- package/dist/bundled/v3/components/OrSliderV3/props.js +0 -12
- package/dist/bundled/v3/components/OrSliderV3/styles.d.ts +0 -12
- package/dist/bundled/v3/components/OrSliderV3/styles.js +0 -92
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +0 -52
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.vue.d.ts +0 -35
- package/dist/bundled/v3/components/OrSortingV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrSortingV3/index.js +0 -1
- package/dist/bundled/v3/components/OrSortingV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrSortingV3/styles.js +0 -6
- package/dist/bundled/v3/components/OrSortingV3/types.d.ts +0 -4
- package/dist/bundled/v3/components/OrSortingV3/types.js +0 -1
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +0 -53
- package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +0 -79
- package/dist/bundled/v3/components/OrStepper/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrStepper/index.js +0 -1
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +0 -49
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +0 -70
- package/dist/bundled/v3/components/OrSwitch/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSwitch/index.js +0 -1
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +0 -53
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +0 -89
- package/dist/bundled/v3/components/OrSwitchV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrSwitchV3/index.js +0 -1
- package/dist/bundled/v3/components/OrSwitchV3/styles.d.ts +0 -5
- package/dist/bundled/v3/components/OrSwitchV3/styles.js +0 -51
- package/dist/bundled/v3/components/OrTab/OrTab.js +0 -19
- package/dist/bundled/v3/components/OrTab/OrTab.vue.d.ts +0 -44
- package/dist/bundled/v3/components/OrTab/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTab/index.js +0 -1
- package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.js +0 -27
- package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.vue.d.ts +0 -49
- package/dist/bundled/v3/components/OrTabHeaderItem/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTabHeaderItem/index.js +0 -1
- package/dist/bundled/v3/components/OrTabV3/OrTab.js +0 -21
- package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +0 -39
- package/dist/bundled/v3/components/OrTabV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTabV3/index.js +0 -1
- package/dist/bundled/v3/components/OrTabV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrTabV3/styles.js +0 -25
- package/dist/bundled/v3/components/OrTabs/OrTabs.js +0 -43
- package/dist/bundled/v3/components/OrTabs/OrTabs.vue.d.ts +0 -13
- package/dist/bundled/v3/components/OrTabs/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTabs/index.js +0 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +0 -68
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +0 -76
- package/dist/bundled/v3/components/OrTabsV3/index.d.ts +0 -3
- package/dist/bundled/v3/components/OrTabsV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTabsV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrTabsV3/props.js +0 -7
- package/dist/bundled/v3/components/OrTabsV3/styles.d.ts +0 -5
- package/dist/bundled/v3/components/OrTabsV3/styles.js +0 -31
- package/dist/bundled/v3/components/OrTabsV3/types.d.ts +0 -4
- package/dist/bundled/v3/components/OrTabsV3/types.js +0 -1
- package/dist/bundled/v3/components/OrTag/OrTag.js +0 -33
- package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +0 -54
- package/dist/bundled/v3/components/OrTag/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTag/index.js +0 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +0 -126
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.vue.d.ts +0 -150
- package/dist/bundled/v3/components/OrTagInputV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTagInputV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTagInputV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrTagInputV3/props.js +0 -1
- package/dist/bundled/v3/components/OrTagInputV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrTagInputV3/styles.js +0 -17
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +0 -32
- package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +0 -43
- package/dist/bundled/v3/components/OrTagV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTagV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTagV3/props.d.ts +0 -9
- package/dist/bundled/v3/components/OrTagV3/props.js +0 -13
- package/dist/bundled/v3/components/OrTagV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrTagV3/styles.js +0 -32
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +0 -68
- package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +0 -66
- package/dist/bundled/v3/components/OrTagsV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTagsV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTagsV3/props.d.ts +0 -6
- package/dist/bundled/v3/components/OrTagsV3/props.js +0 -11
- package/dist/bundled/v3/components/OrTagsV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrTagsV3/styles.js +0 -46
- package/dist/bundled/v3/components/OrTagsV3/types.d.ts +0 -6
- package/dist/bundled/v3/components/OrTagsV3/types.js +0 -1
- package/dist/bundled/v3/components/OrTagsV3/utils/castToTag.d.ts +0 -2
- package/dist/bundled/v3/components/OrTagsV3/utils/castToTag.js +0 -12
- package/dist/bundled/v3/components/OrTeleport/OrTeleport.js +0 -20
- package/dist/bundled/v3/components/OrTeleport/OrTeleport.vue3.vue.d.ts +0 -27
- package/dist/bundled/v3/components/OrTeleport/constants.d.ts +0 -12
- package/dist/bundled/v3/components/OrTeleport/constants.js +0 -16
- package/dist/bundled/v3/components/OrTeleport/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTeleport/index.js +0 -1
- package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.js +0 -13
- package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.vue3.vue.d.ts +0 -23
- package/dist/bundled/v3/components/OrTeleportV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTeleportV3/index.js +0 -1
- package/dist/bundled/v3/components/OrTextV3/OrText.js +0 -17
- package/dist/bundled/v3/components/OrTextV3/OrText.vue.d.ts +0 -54
- package/dist/bundled/v3/components/OrTextV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTextV3/index.js +0 -1
- package/dist/bundled/v3/components/OrTextV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrTextV3/styles.js +0 -17
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +0 -115
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +0 -131
- package/dist/bundled/v3/components/OrTextarea/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTextarea/index.js +0 -1
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +0 -84
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +0 -117
- package/dist/bundled/v3/components/OrTextareaV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTextareaV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTextareaV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrTextareaV3/props.js +0 -1
- package/dist/bundled/v3/components/OrTextareaV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrTextareaV3/styles.js +0 -16
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +0 -148
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +0 -257
- package/dist/bundled/v3/components/OrTextbox/constants.d.ts +0 -8
- package/dist/bundled/v3/components/OrTextbox/constants.js +0 -11
- package/dist/bundled/v3/components/OrTextbox/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTextbox/index.js +0 -2
- package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.js +0 -13
- package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.vue.d.ts +0 -38
- package/dist/bundled/v3/components/OrTimeFormatV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/index.js +0 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/styles.js +0 -5
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +0 -128
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +0 -263
- package/dist/bundled/v3/components/OrTimePickerV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +0 -3
- package/dist/bundled/v3/components/OrTimePickerV3/props.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimePickerV3/props.js +0 -2
- package/dist/bundled/v3/components/OrTimePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimePickerV3/styles.js +0 -8
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +0 -154
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.vue.d.ts +0 -559
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +0 -3
- package/dist/bundled/v3/components/OrTimeRangePickerV3/props.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/props.js +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.js +0 -8
- package/dist/bundled/v3/components/OrToast/OrToast.js +0 -118
- package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +0 -61
- package/dist/bundled/v3/components/OrToast/Timer.d.ts +0 -11
- package/dist/bundled/v3/components/OrToast/Timer.js +0 -37
- package/dist/bundled/v3/components/OrToast/composable/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrToast/composable/index.js +0 -2
- package/dist/bundled/v3/components/OrToast/composable/useQueue.d.ts +0 -8
- package/dist/bundled/v3/components/OrToast/composable/useQueue.js +0 -33
- package/dist/bundled/v3/components/OrToast/composable/useToast.d.ts +0 -8
- package/dist/bundled/v3/components/OrToast/composable/useToast.js +0 -86
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.d.ts +0 -9
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +0 -25
- package/dist/bundled/v3/components/OrToast/constants.d.ts +0 -18
- 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 -5
- package/dist/bundled/v3/components/OrToast/types.d.ts +0 -35
- package/dist/bundled/v3/components/OrToast/types.js +0 -1
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +0 -42
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +0 -63
- package/dist/bundled/v3/components/OrToastContainer/index.d.ts +0 -4
- package/dist/bundled/v3/components/OrToastContainer/index.js +0 -4
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +0 -43
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +0 -57
- package/dist/bundled/v3/components/OrToastContainerV3/index.d.ts +0 -4
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +0 -5
- package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +0 -56
- package/dist/bundled/v3/components/OrToastV3/Timer.d.ts +0 -11
- package/dist/bundled/v3/components/OrToastV3/Timer.js +0 -37
- package/dist/bundled/v3/components/OrToastV3/composable/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrToastV3/composable/index.js +0 -2
- package/dist/bundled/v3/components/OrToastV3/composable/useQueue.d.ts +0 -8
- package/dist/bundled/v3/components/OrToastV3/composable/useQueue.js +0 -33
- package/dist/bundled/v3/components/OrToastV3/composable/useToast.d.ts +0 -8
- package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +0 -86
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.d.ts +0 -9
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +0 -25
- package/dist/bundled/v3/components/OrToastV3/index.d.ts +0 -5
- package/dist/bundled/v3/components/OrToastV3/index.js +0 -6
- package/dist/bundled/v3/components/OrToastV3/props.d.ts +0 -18
- package/dist/bundled/v3/components/OrToastV3/props.js +0 -1
- package/dist/bundled/v3/components/OrToastV3/styles.d.ts +0 -5
- package/dist/bundled/v3/components/OrToastV3/styles.js +0 -59
- package/dist/bundled/v3/components/OrToastV3/types.d.ts +0 -35
- package/dist/bundled/v3/components/OrToastV3/types.js +0 -1
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +0 -48
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +0 -73
- package/dist/bundled/v3/components/OrTooltip/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTooltip/index.js +0 -2
- package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.js +0 -24
- package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +0 -28
- package/dist/bundled/v3/components/OrTooltipContent/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrTooltipContent/index.js +0 -1
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +0 -33
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +0 -82
- package/dist/bundled/v3/components/OrTooltipV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTooltipV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTooltipV3/props.d.ts +0 -2
- package/dist/bundled/v3/components/OrTooltipV3/props.js +0 -1
- package/dist/bundled/v3/components/OrTooltipV3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/OrTooltipV3/styles.js +0 -48
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +0 -31
- package/dist/bundled/v3/components/OrTreeV3/OrTree.vue.d.ts +0 -35
- package/dist/bundled/v3/components/OrTreeV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTreeV3/index.js +0 -2
- package/dist/bundled/v3/components/OrTreeV3/types.d.ts +0 -15
- package/dist/bundled/v3/components/OrTreeV3/types.js +0 -8
- package/dist/bundled/v3/components/index.d.ts +0 -119
- package/dist/bundled/v3/components/index.js +0 -200
- package/dist/bundled/v3/directives/dropdown-close.d.ts +0 -6
- package/dist/bundled/v3/directives/dropdown-close.js +0 -14
- package/dist/bundled/v3/directives/dropdown-open.d.ts +0 -6
- package/dist/bundled/v3/directives/dropdown-open.js +0 -19
- package/dist/bundled/v3/directives/index.d.ts +0 -2
- package/dist/bundled/v3/directives/index.js +0 -2
- package/dist/bundled/v3/dom-cec392f3.js +0 -260
- package/dist/bundled/v3/eq-44ea4d70.js +0 -77
- package/dist/bundled/v3/floating-ui.dom-d9ef0d1f.js +0 -1443
- package/dist/bundled/v3/get-34aa21f4.js +0 -856
- package/dist/bundled/v3/hooks/index.d.ts +0 -10
- package/dist/bundled/v3/hooks/index.js +0 -10
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +0 -7
- package/dist/bundled/v3/hooks/useControlAttributes.js +0 -12
- package/dist/bundled/v3/hooks/useElevation.d.ts +0 -3
- package/dist/bundled/v3/hooks/useElevation.js +0 -25
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v3/hooks/useIdAttribute.js +0 -12
- package/dist/bundled/v3/hooks/useOverflow.d.ts +0 -11
- package/dist/bundled/v3/hooks/useOverflow.js +0 -75
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +0 -12
- package/dist/bundled/v3/hooks/usePopoverState.js +0 -42
- package/dist/bundled/v3/hooks/useProxyModelValue.d.ts +0 -8
- package/dist/bundled/v3/hooks/useProxyModelValue.js +0 -29
- package/dist/bundled/v3/hooks/useResponsive/index.d.ts +0 -1
- package/dist/bundled/v3/hooks/useResponsive/index.js +0 -1
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +0 -6
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +0 -203
- package/dist/bundled/v3/hooks/useTheme.d.ts +0 -3
- package/dist/bundled/v3/hooks/useToggle.d.ts +0 -8
- package/dist/bundled/v3/hooks/useToggle.js +0 -23
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +0 -11
- package/dist/bundled/v3/hooks/useValidationAttributes.js +0 -16
- package/dist/bundled/v3/index-06852368.js +0 -819
- package/dist/bundled/v3/index-0fa7e6ca.js +0 -114
- package/dist/bundled/v3/index-2ca6453c.js +0 -8
- package/dist/bundled/v3/index-4a4ab262.js +0 -837
- package/dist/bundled/v3/index-57f01e0d.js +0 -94
- package/dist/bundled/v3/index-59ae65a4.js +0 -3158
- package/dist/bundled/v3/index-67eff9fe.js +0 -9715
- package/dist/bundled/v3/index-74353328.js +0 -1912
- package/dist/bundled/v3/index-9b8fe3ec.js +0 -760
- package/dist/bundled/v3/index-c8fc7964.js +0 -361
- package/dist/bundled/v3/index-d32c767e.js +0 -18517
- package/dist/bundled/v3/index-e1e02235.js +0 -1636
- package/dist/bundled/v3/index-f1d66df5.js +0 -2301
- package/dist/bundled/v3/index-f537aa31.js +0 -1379
- package/dist/bundled/v3/index-f671afe5.js +0 -7127
- package/dist/bundled/v3/index-ffeb3fc8.js +0 -295
- package/dist/bundled/v3/index.d.ts +0 -5
- package/dist/bundled/v3/index.js +0 -302
- package/dist/bundled/v3/isArrayLike-e7fb5cae.js +0 -91
- package/dist/bundled/v3/isEqual-7a8e6106.js +0 -38
- package/dist/bundled/v3/isObject-b7415fc1.js +0 -202
- package/dist/bundled/v3/markdown-7d2cd3a5.js +0 -8287
- package/dist/bundled/v3/props-7be029c7.js +0 -32
- package/dist/bundled/v3/range-82efa3d4.js +0 -136
- package/dist/bundled/v3/round-567ede34.js +0 -66
- package/dist/bundled/v3/sortable.esm-11705107.js +0 -2580
- package/dist/bundled/v3/style-inject.es-4c6f2515.js +0 -26
- package/dist/bundled/v3/toFinite-bc59ffb0.js +0 -142
- package/dist/bundled/v3/toInteger-9fa0151c.js +0 -38
- package/dist/bundled/v3/toString-b6e4472a.js +0 -114
- package/dist/bundled/v3/types-668300dd.js +0 -5
- package/dist/bundled/v3/utils/constants/color.d.ts +0 -14
- package/dist/bundled/v3/utils/constants/color.js +0 -16
- package/dist/bundled/v3/utils/constants/key-codes.d.ts +0 -14
- package/dist/bundled/v3/utils/constants/key-codes.js +0 -16
- package/dist/bundled/v3/utils/constants/poper.d.ts +0 -8
- package/dist/bundled/v3/utils/constants/poper.js +0 -10
- package/dist/bundled/v3/utils/constants/regex.d.ts +0 -42
- package/dist/bundled/v3/utils/constants/regex.js +0 -49
- package/dist/bundled/v3/utils/functions/color.d.ts +0 -19
- package/dist/bundled/v3/utils/functions/color.js +0 -40
- package/dist/bundled/v3/utils/functions/dom.d.ts +0 -31
- package/dist/bundled/v3/utils/functions/dom.js +0 -2
- package/dist/bundled/v3/utils/functions/flattenDeep.d.ts +0 -2
- package/dist/bundled/v3/utils/functions/flattenDeep.js +0 -6
- package/dist/bundled/v3/utils/functions/hash.d.ts +0 -2
- package/dist/bundled/v3/utils/functions/hash.js +0 -8
- package/dist/bundled/v3/utils/functions/px-to-rem.d.ts +0 -1
- package/dist/bundled/v3/utils/functions/px-to-rem.js +0 -3
- package/dist/bundled/v3/utils/functions/text.d.ts +0 -1
- package/dist/bundled/v3/utils/functions/text.js +0 -9
- package/dist/bundled/v3/utils/index.d.ts +0 -14
- package/dist/bundled/v3/utils/index.js +0 -12
- package/dist/bundled/v3/utils/isEmpty.d.ts +0 -1
- package/dist/bundled/v3/utils/isEmpty.js +0 -5
- package/dist/bundled/v3/utils/isEmptyValue.d.ts +0 -1
- package/dist/bundled/v3/utils/isEmptyValue.js +0 -5
- package/dist/bundled/v3/utils/isEqualValue.d.ts +0 -1
- package/dist/bundled/v3/utils/isEqualValue.js +0 -8
- package/dist/bundled/v3/utils/isVisible.d.ts +0 -2
- package/dist/bundled/v3/utils/isVisible.js +0 -5
- package/dist/bundled/v3/v4-cf8987a3.js +0 -67
|
@@ -1,1636 +0,0 @@
|
|
|
1
|
-
import { ap as Parser, ao as NodeSet, an as NodeType, ax as DefaultBufferLength, N as NodeProp, ar as Tree, ae as IterMode } from './index-d32c767e.js';
|
|
2
|
-
|
|
3
|
-
/// A parse stack. These are used internally by the parser to track
|
|
4
|
-
/// parsing progress. They also provide some properties and methods
|
|
5
|
-
/// that external code such as a tokenizer can use to get information
|
|
6
|
-
/// about the parse state.
|
|
7
|
-
class Stack {
|
|
8
|
-
/// @internal
|
|
9
|
-
constructor(
|
|
10
|
-
/// The parse that this stack is part of @internal
|
|
11
|
-
p,
|
|
12
|
-
/// Holds state, input pos, buffer index triplets for all but the
|
|
13
|
-
/// top state @internal
|
|
14
|
-
stack,
|
|
15
|
-
/// The current parse state @internal
|
|
16
|
-
state,
|
|
17
|
-
// The position at which the next reduce should take place. This
|
|
18
|
-
// can be less than `this.pos` when skipped expressions have been
|
|
19
|
-
// added to the stack (which should be moved outside of the next
|
|
20
|
-
// reduction)
|
|
21
|
-
/// @internal
|
|
22
|
-
reducePos,
|
|
23
|
-
/// The input position up to which this stack has parsed.
|
|
24
|
-
pos,
|
|
25
|
-
/// The dynamic score of the stack, including dynamic precedence
|
|
26
|
-
/// and error-recovery penalties
|
|
27
|
-
/// @internal
|
|
28
|
-
score,
|
|
29
|
-
// The output buffer. Holds (type, start, end, size) quads
|
|
30
|
-
// representing nodes created by the parser, where `size` is
|
|
31
|
-
// amount of buffer array entries covered by this node.
|
|
32
|
-
/// @internal
|
|
33
|
-
buffer,
|
|
34
|
-
// The base offset of the buffer. When stacks are split, the split
|
|
35
|
-
// instance shared the buffer history with its parent up to
|
|
36
|
-
// `bufferBase`, which is the absolute offset (including the
|
|
37
|
-
// offset of previous splits) into the buffer at which this stack
|
|
38
|
-
// starts writing.
|
|
39
|
-
/// @internal
|
|
40
|
-
bufferBase,
|
|
41
|
-
/// @internal
|
|
42
|
-
curContext) {
|
|
43
|
-
let lookAhead = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : 0;
|
|
44
|
-
let
|
|
45
|
-
// A parent stack from which this was split off, if any. This is
|
|
46
|
-
// set up so that it always points to a stack that has some
|
|
47
|
-
// additional buffer content, never to a stack with an equal
|
|
48
|
-
// `bufferBase`.
|
|
49
|
-
/// @internal
|
|
50
|
-
parent = arguments.length > 10 ? arguments[10] : undefined;
|
|
51
|
-
this.p = p;
|
|
52
|
-
this.stack = stack;
|
|
53
|
-
this.state = state;
|
|
54
|
-
this.reducePos = reducePos;
|
|
55
|
-
this.pos = pos;
|
|
56
|
-
this.score = score;
|
|
57
|
-
this.buffer = buffer;
|
|
58
|
-
this.bufferBase = bufferBase;
|
|
59
|
-
this.curContext = curContext;
|
|
60
|
-
this.lookAhead = lookAhead;
|
|
61
|
-
this.parent = parent;
|
|
62
|
-
}
|
|
63
|
-
/// @internal
|
|
64
|
-
toString() {
|
|
65
|
-
return `[${this.stack.filter((_, i) => i % 3 == 0).concat(this.state)}]@${this.pos}${this.score ? "!" + this.score : ""}`;
|
|
66
|
-
}
|
|
67
|
-
// Start an empty stack
|
|
68
|
-
/// @internal
|
|
69
|
-
static start(p, state) {
|
|
70
|
-
let pos = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
71
|
-
let cx = p.parser.context;
|
|
72
|
-
return new Stack(p, [], state, pos, pos, 0, [], 0, cx ? new StackContext(cx, cx.start) : null, 0, null);
|
|
73
|
-
}
|
|
74
|
-
/// The stack's current [context](#lr.ContextTracker) value, if
|
|
75
|
-
/// any. Its type will depend on the context tracker's type
|
|
76
|
-
/// parameter, or it will be `null` if there is no context
|
|
77
|
-
/// tracker.
|
|
78
|
-
get context() {
|
|
79
|
-
return this.curContext ? this.curContext.context : null;
|
|
80
|
-
}
|
|
81
|
-
// Push a state onto the stack, tracking its start position as well
|
|
82
|
-
// as the buffer base at that point.
|
|
83
|
-
/// @internal
|
|
84
|
-
pushState(state, start) {
|
|
85
|
-
this.stack.push(this.state, start, this.bufferBase + this.buffer.length);
|
|
86
|
-
this.state = state;
|
|
87
|
-
}
|
|
88
|
-
// Apply a reduce action
|
|
89
|
-
/// @internal
|
|
90
|
-
reduce(action) {
|
|
91
|
-
var _a;
|
|
92
|
-
let depth = action >> 19 /* Action.ReduceDepthShift */,
|
|
93
|
-
type = action & 65535 /* Action.ValueMask */;
|
|
94
|
-
let {
|
|
95
|
-
parser
|
|
96
|
-
} = this.p;
|
|
97
|
-
let dPrec = parser.dynamicPrecedence(type);
|
|
98
|
-
if (dPrec) this.score += dPrec;
|
|
99
|
-
if (depth == 0) {
|
|
100
|
-
this.pushState(parser.getGoto(this.state, type, true), this.reducePos);
|
|
101
|
-
// Zero-depth reductions are a special case—they add stuff to
|
|
102
|
-
// the stack without popping anything off.
|
|
103
|
-
if (type < parser.minRepeatTerm) this.storeNode(type, this.reducePos, this.reducePos, 4, true);
|
|
104
|
-
this.reduceContext(type, this.reducePos);
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
// Find the base index into `this.stack`, content after which will
|
|
108
|
-
// be dropped. Note that with `StayFlag` reductions we need to
|
|
109
|
-
// consume two extra frames (the dummy parent node for the skipped
|
|
110
|
-
// expression and the state that we'll be staying in, which should
|
|
111
|
-
// be moved to `this.state`).
|
|
112
|
-
let base = this.stack.length - (depth - 1) * 3 - (action & 262144 /* Action.StayFlag */ ? 6 : 0);
|
|
113
|
-
let start = base ? this.stack[base - 2] : this.p.ranges[0].from,
|
|
114
|
-
size = this.reducePos - start;
|
|
115
|
-
// This is a kludge to try and detect overly deep left-associative
|
|
116
|
-
// trees, which will not increase the parse stack depth and thus
|
|
117
|
-
// won't be caught by the regular stack-depth limit check.
|
|
118
|
-
if (size >= 2000 /* Recover.MinBigReduction */ && !((_a = this.p.parser.nodeSet.types[type]) === null || _a === void 0 ? void 0 : _a.isAnonymous)) {
|
|
119
|
-
if (start == this.p.lastBigReductionStart) {
|
|
120
|
-
this.p.bigReductionCount++;
|
|
121
|
-
this.p.lastBigReductionSize = size;
|
|
122
|
-
} else if (this.p.lastBigReductionSize < size) {
|
|
123
|
-
this.p.bigReductionCount = 1;
|
|
124
|
-
this.p.lastBigReductionStart = start;
|
|
125
|
-
this.p.lastBigReductionSize = size;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
let bufferBase = base ? this.stack[base - 1] : 0,
|
|
129
|
-
count = this.bufferBase + this.buffer.length - bufferBase;
|
|
130
|
-
// Store normal terms or `R -> R R` repeat reductions
|
|
131
|
-
if (type < parser.minRepeatTerm || action & 131072 /* Action.RepeatFlag */) {
|
|
132
|
-
let pos = parser.stateFlag(this.state, 1 /* StateFlag.Skipped */) ? this.pos : this.reducePos;
|
|
133
|
-
this.storeNode(type, start, pos, count + 4, true);
|
|
134
|
-
}
|
|
135
|
-
if (action & 262144 /* Action.StayFlag */) {
|
|
136
|
-
this.state = this.stack[base];
|
|
137
|
-
} else {
|
|
138
|
-
let baseStateID = this.stack[base - 3];
|
|
139
|
-
this.state = parser.getGoto(baseStateID, type, true);
|
|
140
|
-
}
|
|
141
|
-
while (this.stack.length > base) this.stack.pop();
|
|
142
|
-
this.reduceContext(type, start);
|
|
143
|
-
}
|
|
144
|
-
// Shift a value into the buffer
|
|
145
|
-
/// @internal
|
|
146
|
-
storeNode(term, start, end) {
|
|
147
|
-
let size = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 4;
|
|
148
|
-
let isReduce = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
149
|
-
if (term == 0 /* Term.Err */ && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
|
|
150
|
-
// Try to omit/merge adjacent error nodes
|
|
151
|
-
let cur = this,
|
|
152
|
-
top = this.buffer.length;
|
|
153
|
-
if (top == 0 && cur.parent) {
|
|
154
|
-
top = cur.bufferBase - cur.parent.bufferBase;
|
|
155
|
-
cur = cur.parent;
|
|
156
|
-
}
|
|
157
|
-
if (top > 0 && cur.buffer[top - 4] == 0 /* Term.Err */ && cur.buffer[top - 1] > -1) {
|
|
158
|
-
if (start == end) return;
|
|
159
|
-
if (cur.buffer[top - 2] >= start) {
|
|
160
|
-
cur.buffer[top - 2] = end;
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
if (!isReduce || this.pos == end) {
|
|
166
|
-
// Simple case, just append
|
|
167
|
-
this.buffer.push(term, start, end, size);
|
|
168
|
-
} else {
|
|
169
|
-
// There may be skipped nodes that have to be moved forward
|
|
170
|
-
let index = this.buffer.length;
|
|
171
|
-
if (index > 0 && this.buffer[index - 4] != 0 /* Term.Err */) while (index > 0 && this.buffer[index - 2] > end) {
|
|
172
|
-
// Move this record forward
|
|
173
|
-
this.buffer[index] = this.buffer[index - 4];
|
|
174
|
-
this.buffer[index + 1] = this.buffer[index - 3];
|
|
175
|
-
this.buffer[index + 2] = this.buffer[index - 2];
|
|
176
|
-
this.buffer[index + 3] = this.buffer[index - 1];
|
|
177
|
-
index -= 4;
|
|
178
|
-
if (size > 4) size -= 4;
|
|
179
|
-
}
|
|
180
|
-
this.buffer[index] = term;
|
|
181
|
-
this.buffer[index + 1] = start;
|
|
182
|
-
this.buffer[index + 2] = end;
|
|
183
|
-
this.buffer[index + 3] = size;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
// Apply a shift action
|
|
187
|
-
/// @internal
|
|
188
|
-
shift(action, next, nextEnd) {
|
|
189
|
-
let start = this.pos;
|
|
190
|
-
if (action & 131072 /* Action.GotoFlag */) {
|
|
191
|
-
this.pushState(action & 65535 /* Action.ValueMask */, this.pos);
|
|
192
|
-
} else if ((action & 262144 /* Action.StayFlag */) == 0) {
|
|
193
|
-
// Regular shift
|
|
194
|
-
let nextState = action,
|
|
195
|
-
{
|
|
196
|
-
parser
|
|
197
|
-
} = this.p;
|
|
198
|
-
if (nextEnd > this.pos || next <= parser.maxNode) {
|
|
199
|
-
this.pos = nextEnd;
|
|
200
|
-
if (!parser.stateFlag(nextState, 1 /* StateFlag.Skipped */)) this.reducePos = nextEnd;
|
|
201
|
-
}
|
|
202
|
-
this.pushState(nextState, start);
|
|
203
|
-
this.shiftContext(next, start);
|
|
204
|
-
if (next <= parser.maxNode) this.buffer.push(next, start, nextEnd, 4);
|
|
205
|
-
} else {
|
|
206
|
-
// Shift-and-stay, which means this is a skipped token
|
|
207
|
-
this.pos = nextEnd;
|
|
208
|
-
this.shiftContext(next, start);
|
|
209
|
-
if (next <= this.p.parser.maxNode) this.buffer.push(next, start, nextEnd, 4);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
// Apply an action
|
|
213
|
-
/// @internal
|
|
214
|
-
apply(action, next, nextEnd) {
|
|
215
|
-
if (action & 65536 /* Action.ReduceFlag */) this.reduce(action);else this.shift(action, next, nextEnd);
|
|
216
|
-
}
|
|
217
|
-
// Add a prebuilt (reused) node into the buffer.
|
|
218
|
-
/// @internal
|
|
219
|
-
useNode(value, next) {
|
|
220
|
-
let index = this.p.reused.length - 1;
|
|
221
|
-
if (index < 0 || this.p.reused[index] != value) {
|
|
222
|
-
this.p.reused.push(value);
|
|
223
|
-
index++;
|
|
224
|
-
}
|
|
225
|
-
let start = this.pos;
|
|
226
|
-
this.reducePos = this.pos = start + value.length;
|
|
227
|
-
this.pushState(next, start);
|
|
228
|
-
this.buffer.push(index, start, this.reducePos, -1 /* size == -1 means this is a reused value */);
|
|
229
|
-
if (this.curContext) this.updateContext(this.curContext.tracker.reuse(this.curContext.context, value, this, this.p.stream.reset(this.pos - value.length)));
|
|
230
|
-
}
|
|
231
|
-
// Split the stack. Due to the buffer sharing and the fact
|
|
232
|
-
// that `this.stack` tends to stay quite shallow, this isn't very
|
|
233
|
-
// expensive.
|
|
234
|
-
/// @internal
|
|
235
|
-
split() {
|
|
236
|
-
let parent = this;
|
|
237
|
-
let off = parent.buffer.length;
|
|
238
|
-
// Because the top of the buffer (after this.pos) may be mutated
|
|
239
|
-
// to reorder reductions and skipped tokens, and shared buffers
|
|
240
|
-
// should be immutable, this copies any outstanding skipped tokens
|
|
241
|
-
// to the new buffer, and puts the base pointer before them.
|
|
242
|
-
while (off > 0 && parent.buffer[off - 2] > parent.reducePos) off -= 4;
|
|
243
|
-
let buffer = parent.buffer.slice(off),
|
|
244
|
-
base = parent.bufferBase + off;
|
|
245
|
-
// Make sure parent points to an actual parent with content, if there is such a parent.
|
|
246
|
-
while (parent && base == parent.bufferBase) parent = parent.parent;
|
|
247
|
-
return new Stack(this.p, this.stack.slice(), this.state, this.reducePos, this.pos, this.score, buffer, base, this.curContext, this.lookAhead, parent);
|
|
248
|
-
}
|
|
249
|
-
// Try to recover from an error by 'deleting' (ignoring) one token.
|
|
250
|
-
/// @internal
|
|
251
|
-
recoverByDelete(next, nextEnd) {
|
|
252
|
-
let isNode = next <= this.p.parser.maxNode;
|
|
253
|
-
if (isNode) this.storeNode(next, this.pos, nextEnd, 4);
|
|
254
|
-
this.storeNode(0 /* Term.Err */, this.pos, nextEnd, isNode ? 8 : 4);
|
|
255
|
-
this.pos = this.reducePos = nextEnd;
|
|
256
|
-
this.score -= 190 /* Recover.Delete */;
|
|
257
|
-
}
|
|
258
|
-
/// Check if the given term would be able to be shifted (optionally
|
|
259
|
-
/// after some reductions) on this stack. This can be useful for
|
|
260
|
-
/// external tokenizers that want to make sure they only provide a
|
|
261
|
-
/// given token when it applies.
|
|
262
|
-
canShift(term) {
|
|
263
|
-
for (let sim = new SimulatedStack(this);;) {
|
|
264
|
-
let action = this.p.parser.stateSlot(sim.state, 4 /* ParseState.DefaultReduce */) || this.p.parser.hasAction(sim.state, term);
|
|
265
|
-
if (action == 0) return false;
|
|
266
|
-
if ((action & 65536 /* Action.ReduceFlag */) == 0) return true;
|
|
267
|
-
sim.reduce(action);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
// Apply up to Recover.MaxNext recovery actions that conceptually
|
|
271
|
-
// inserts some missing token or rule.
|
|
272
|
-
/// @internal
|
|
273
|
-
recoverByInsert(next) {
|
|
274
|
-
if (this.stack.length >= 300 /* Recover.MaxInsertStackDepth */) return [];
|
|
275
|
-
let nextStates = this.p.parser.nextStates(this.state);
|
|
276
|
-
if (nextStates.length > 4 /* Recover.MaxNext */ << 1 || this.stack.length >= 120 /* Recover.DampenInsertStackDepth */) {
|
|
277
|
-
let best = [];
|
|
278
|
-
for (let i = 0, s; i < nextStates.length; i += 2) {
|
|
279
|
-
if ((s = nextStates[i + 1]) != this.state && this.p.parser.hasAction(s, next)) best.push(nextStates[i], s);
|
|
280
|
-
}
|
|
281
|
-
if (this.stack.length < 120 /* Recover.DampenInsertStackDepth */) for (let i = 0; best.length < 4 /* Recover.MaxNext */ << 1 && i < nextStates.length; i += 2) {
|
|
282
|
-
let s = nextStates[i + 1];
|
|
283
|
-
if (!best.some((v, i) => i & 1 && v == s)) best.push(nextStates[i], s);
|
|
284
|
-
}
|
|
285
|
-
nextStates = best;
|
|
286
|
-
}
|
|
287
|
-
let result = [];
|
|
288
|
-
for (let i = 0; i < nextStates.length && result.length < 4 /* Recover.MaxNext */; i += 2) {
|
|
289
|
-
let s = nextStates[i + 1];
|
|
290
|
-
if (s == this.state) continue;
|
|
291
|
-
let stack = this.split();
|
|
292
|
-
stack.pushState(s, this.pos);
|
|
293
|
-
stack.storeNode(0 /* Term.Err */, stack.pos, stack.pos, 4, true);
|
|
294
|
-
stack.shiftContext(nextStates[i], this.pos);
|
|
295
|
-
stack.score -= 200 /* Recover.Insert */;
|
|
296
|
-
result.push(stack);
|
|
297
|
-
}
|
|
298
|
-
return result;
|
|
299
|
-
}
|
|
300
|
-
// Force a reduce, if possible. Return false if that can't
|
|
301
|
-
// be done.
|
|
302
|
-
/// @internal
|
|
303
|
-
forceReduce() {
|
|
304
|
-
let {
|
|
305
|
-
parser
|
|
306
|
-
} = this.p;
|
|
307
|
-
let reduce = parser.stateSlot(this.state, 5 /* ParseState.ForcedReduce */);
|
|
308
|
-
if ((reduce & 65536 /* Action.ReduceFlag */) == 0) return false;
|
|
309
|
-
if (!parser.validAction(this.state, reduce)) {
|
|
310
|
-
let depth = reduce >> 19 /* Action.ReduceDepthShift */,
|
|
311
|
-
term = reduce & 65535 /* Action.ValueMask */;
|
|
312
|
-
let target = this.stack.length - depth * 3;
|
|
313
|
-
if (target < 0 || parser.getGoto(this.stack[target], term, false) < 0) {
|
|
314
|
-
let backup = this.findForcedReduction();
|
|
315
|
-
if (backup == null) return false;
|
|
316
|
-
reduce = backup;
|
|
317
|
-
}
|
|
318
|
-
this.storeNode(0 /* Term.Err */, this.pos, this.pos, 4, true);
|
|
319
|
-
this.score -= 100 /* Recover.Reduce */;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
this.reducePos = this.pos;
|
|
323
|
-
this.reduce(reduce);
|
|
324
|
-
return true;
|
|
325
|
-
}
|
|
326
|
-
/// Try to scan through the automaton to find some kind of reduction
|
|
327
|
-
/// that can be applied. Used when the regular ForcedReduce field
|
|
328
|
-
/// isn't a valid action. @internal
|
|
329
|
-
findForcedReduction() {
|
|
330
|
-
let {
|
|
331
|
-
parser
|
|
332
|
-
} = this.p,
|
|
333
|
-
seen = [];
|
|
334
|
-
let explore = (state, depth) => {
|
|
335
|
-
if (seen.includes(state)) return;
|
|
336
|
-
seen.push(state);
|
|
337
|
-
return parser.allActions(state, action => {
|
|
338
|
-
if (action & (262144 /* Action.StayFlag */ | 131072 /* Action.GotoFlag */)) ;else if (action & 65536 /* Action.ReduceFlag */) {
|
|
339
|
-
let rDepth = (action >> 19 /* Action.ReduceDepthShift */) - depth;
|
|
340
|
-
if (rDepth > 1) {
|
|
341
|
-
let term = action & 65535 /* Action.ValueMask */,
|
|
342
|
-
target = this.stack.length - rDepth * 3;
|
|
343
|
-
if (target >= 0 && parser.getGoto(this.stack[target], term, false) >= 0) return rDepth << 19 /* Action.ReduceDepthShift */ | 65536 /* Action.ReduceFlag */ | term;
|
|
344
|
-
}
|
|
345
|
-
} else {
|
|
346
|
-
let found = explore(action, depth + 1);
|
|
347
|
-
if (found != null) return found;
|
|
348
|
-
}
|
|
349
|
-
});
|
|
350
|
-
};
|
|
351
|
-
return explore(this.state, 0);
|
|
352
|
-
}
|
|
353
|
-
/// @internal
|
|
354
|
-
forceAll() {
|
|
355
|
-
while (!this.p.parser.stateFlag(this.state, 2 /* StateFlag.Accepting */)) {
|
|
356
|
-
if (!this.forceReduce()) {
|
|
357
|
-
this.storeNode(0 /* Term.Err */, this.pos, this.pos, 4, true);
|
|
358
|
-
break;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
return this;
|
|
362
|
-
}
|
|
363
|
-
/// Check whether this state has no further actions (assumed to be a direct descendant of the
|
|
364
|
-
/// top state, since any other states must be able to continue
|
|
365
|
-
/// somehow). @internal
|
|
366
|
-
get deadEnd() {
|
|
367
|
-
if (this.stack.length != 3) return false;
|
|
368
|
-
let {
|
|
369
|
-
parser
|
|
370
|
-
} = this.p;
|
|
371
|
-
return parser.data[parser.stateSlot(this.state, 1 /* ParseState.Actions */)] == 65535 /* Seq.End */ && !parser.stateSlot(this.state, 4 /* ParseState.DefaultReduce */);
|
|
372
|
-
}
|
|
373
|
-
/// Restart the stack (put it back in its start state). Only safe
|
|
374
|
-
/// when this.stack.length == 3 (state is directly below the top
|
|
375
|
-
/// state). @internal
|
|
376
|
-
restart() {
|
|
377
|
-
this.state = this.stack[0];
|
|
378
|
-
this.stack.length = 0;
|
|
379
|
-
}
|
|
380
|
-
/// @internal
|
|
381
|
-
sameState(other) {
|
|
382
|
-
if (this.state != other.state || this.stack.length != other.stack.length) return false;
|
|
383
|
-
for (let i = 0; i < this.stack.length; i += 3) if (this.stack[i] != other.stack[i]) return false;
|
|
384
|
-
return true;
|
|
385
|
-
}
|
|
386
|
-
/// Get the parser used by this stack.
|
|
387
|
-
get parser() {
|
|
388
|
-
return this.p.parser;
|
|
389
|
-
}
|
|
390
|
-
/// Test whether a given dialect (by numeric ID, as exported from
|
|
391
|
-
/// the terms file) is enabled.
|
|
392
|
-
dialectEnabled(dialectID) {
|
|
393
|
-
return this.p.parser.dialect.flags[dialectID];
|
|
394
|
-
}
|
|
395
|
-
shiftContext(term, start) {
|
|
396
|
-
if (this.curContext) this.updateContext(this.curContext.tracker.shift(this.curContext.context, term, this, this.p.stream.reset(start)));
|
|
397
|
-
}
|
|
398
|
-
reduceContext(term, start) {
|
|
399
|
-
if (this.curContext) this.updateContext(this.curContext.tracker.reduce(this.curContext.context, term, this, this.p.stream.reset(start)));
|
|
400
|
-
}
|
|
401
|
-
/// @internal
|
|
402
|
-
emitContext() {
|
|
403
|
-
let last = this.buffer.length - 1;
|
|
404
|
-
if (last < 0 || this.buffer[last] != -3) this.buffer.push(this.curContext.hash, this.pos, this.pos, -3);
|
|
405
|
-
}
|
|
406
|
-
/// @internal
|
|
407
|
-
emitLookAhead() {
|
|
408
|
-
let last = this.buffer.length - 1;
|
|
409
|
-
if (last < 0 || this.buffer[last] != -4) this.buffer.push(this.lookAhead, this.pos, this.pos, -4);
|
|
410
|
-
}
|
|
411
|
-
updateContext(context) {
|
|
412
|
-
if (context != this.curContext.context) {
|
|
413
|
-
let newCx = new StackContext(this.curContext.tracker, context);
|
|
414
|
-
if (newCx.hash != this.curContext.hash) this.emitContext();
|
|
415
|
-
this.curContext = newCx;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
/// @internal
|
|
419
|
-
setLookAhead(lookAhead) {
|
|
420
|
-
if (lookAhead > this.lookAhead) {
|
|
421
|
-
this.emitLookAhead();
|
|
422
|
-
this.lookAhead = lookAhead;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
/// @internal
|
|
426
|
-
close() {
|
|
427
|
-
if (this.curContext && this.curContext.tracker.strict) this.emitContext();
|
|
428
|
-
if (this.lookAhead > 0) this.emitLookAhead();
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
class StackContext {
|
|
432
|
-
constructor(tracker, context) {
|
|
433
|
-
this.tracker = tracker;
|
|
434
|
-
this.context = context;
|
|
435
|
-
this.hash = tracker.strict ? tracker.hash(context) : 0;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
var Recover;
|
|
439
|
-
(function (Recover) {
|
|
440
|
-
Recover[Recover["Insert"] = 200] = "Insert";
|
|
441
|
-
Recover[Recover["Delete"] = 190] = "Delete";
|
|
442
|
-
Recover[Recover["Reduce"] = 100] = "Reduce";
|
|
443
|
-
Recover[Recover["MaxNext"] = 4] = "MaxNext";
|
|
444
|
-
Recover[Recover["MaxInsertStackDepth"] = 300] = "MaxInsertStackDepth";
|
|
445
|
-
Recover[Recover["DampenInsertStackDepth"] = 120] = "DampenInsertStackDepth";
|
|
446
|
-
Recover[Recover["MinBigReduction"] = 2000] = "MinBigReduction";
|
|
447
|
-
})(Recover || (Recover = {}));
|
|
448
|
-
// Used to cheaply run some reductions to scan ahead without mutating
|
|
449
|
-
// an entire stack
|
|
450
|
-
class SimulatedStack {
|
|
451
|
-
constructor(start) {
|
|
452
|
-
this.start = start;
|
|
453
|
-
this.state = start.state;
|
|
454
|
-
this.stack = start.stack;
|
|
455
|
-
this.base = this.stack.length;
|
|
456
|
-
}
|
|
457
|
-
reduce(action) {
|
|
458
|
-
let term = action & 65535 /* Action.ValueMask */,
|
|
459
|
-
depth = action >> 19 /* Action.ReduceDepthShift */;
|
|
460
|
-
if (depth == 0) {
|
|
461
|
-
if (this.stack == this.start.stack) this.stack = this.stack.slice();
|
|
462
|
-
this.stack.push(this.state, 0, 0);
|
|
463
|
-
this.base += 3;
|
|
464
|
-
} else {
|
|
465
|
-
this.base -= (depth - 1) * 3;
|
|
466
|
-
}
|
|
467
|
-
let goto = this.start.p.parser.getGoto(this.stack[this.base - 3], term, true);
|
|
468
|
-
this.state = goto;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
// This is given to `Tree.build` to build a buffer, and encapsulates
|
|
472
|
-
// the parent-stack-walking necessary to read the nodes.
|
|
473
|
-
class StackBufferCursor {
|
|
474
|
-
constructor(stack, pos, index) {
|
|
475
|
-
this.stack = stack;
|
|
476
|
-
this.pos = pos;
|
|
477
|
-
this.index = index;
|
|
478
|
-
this.buffer = stack.buffer;
|
|
479
|
-
if (this.index == 0) this.maybeNext();
|
|
480
|
-
}
|
|
481
|
-
static create(stack) {
|
|
482
|
-
let pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : stack.bufferBase + stack.buffer.length;
|
|
483
|
-
return new StackBufferCursor(stack, pos, pos - stack.bufferBase);
|
|
484
|
-
}
|
|
485
|
-
maybeNext() {
|
|
486
|
-
let next = this.stack.parent;
|
|
487
|
-
if (next != null) {
|
|
488
|
-
this.index = this.stack.bufferBase - next.bufferBase;
|
|
489
|
-
this.stack = next;
|
|
490
|
-
this.buffer = next.buffer;
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
get id() {
|
|
494
|
-
return this.buffer[this.index - 4];
|
|
495
|
-
}
|
|
496
|
-
get start() {
|
|
497
|
-
return this.buffer[this.index - 3];
|
|
498
|
-
}
|
|
499
|
-
get end() {
|
|
500
|
-
return this.buffer[this.index - 2];
|
|
501
|
-
}
|
|
502
|
-
get size() {
|
|
503
|
-
return this.buffer[this.index - 1];
|
|
504
|
-
}
|
|
505
|
-
next() {
|
|
506
|
-
this.index -= 4;
|
|
507
|
-
this.pos -= 4;
|
|
508
|
-
if (this.index == 0) this.maybeNext();
|
|
509
|
-
}
|
|
510
|
-
fork() {
|
|
511
|
-
return new StackBufferCursor(this.stack, this.pos, this.index);
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
// See lezer-generator/src/encode.ts for comments about the encoding
|
|
516
|
-
// used here
|
|
517
|
-
function decodeArray(input) {
|
|
518
|
-
let Type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Uint16Array;
|
|
519
|
-
if (typeof input != "string") return input;
|
|
520
|
-
let array = null;
|
|
521
|
-
for (let pos = 0, out = 0; pos < input.length;) {
|
|
522
|
-
let value = 0;
|
|
523
|
-
for (;;) {
|
|
524
|
-
let next = input.charCodeAt(pos++),
|
|
525
|
-
stop = false;
|
|
526
|
-
if (next == 126 /* Encode.BigValCode */) {
|
|
527
|
-
value = 65535 /* Encode.BigVal */;
|
|
528
|
-
break;
|
|
529
|
-
}
|
|
530
|
-
if (next >= 92 /* Encode.Gap2 */) next--;
|
|
531
|
-
if (next >= 34 /* Encode.Gap1 */) next--;
|
|
532
|
-
let digit = next - 32 /* Encode.Start */;
|
|
533
|
-
if (digit >= 46 /* Encode.Base */) {
|
|
534
|
-
digit -= 46 /* Encode.Base */;
|
|
535
|
-
stop = true;
|
|
536
|
-
}
|
|
537
|
-
value += digit;
|
|
538
|
-
if (stop) break;
|
|
539
|
-
value *= 46 /* Encode.Base */;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
if (array) array[out++] = value;else array = new Type(value);
|
|
543
|
-
}
|
|
544
|
-
return array;
|
|
545
|
-
}
|
|
546
|
-
class CachedToken {
|
|
547
|
-
constructor() {
|
|
548
|
-
this.start = -1;
|
|
549
|
-
this.value = -1;
|
|
550
|
-
this.end = -1;
|
|
551
|
-
this.extended = -1;
|
|
552
|
-
this.lookAhead = 0;
|
|
553
|
-
this.mask = 0;
|
|
554
|
-
this.context = 0;
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
const nullToken = new CachedToken();
|
|
558
|
-
/// [Tokenizers](#lr.ExternalTokenizer) interact with the input
|
|
559
|
-
/// through this interface. It presents the input as a stream of
|
|
560
|
-
/// characters, tracking lookahead and hiding the complexity of
|
|
561
|
-
/// [ranges](#common.Parser.parse^ranges) from tokenizer code.
|
|
562
|
-
class InputStream {
|
|
563
|
-
/// @internal
|
|
564
|
-
constructor(
|
|
565
|
-
/// @internal
|
|
566
|
-
input,
|
|
567
|
-
/// @internal
|
|
568
|
-
ranges) {
|
|
569
|
-
this.input = input;
|
|
570
|
-
this.ranges = ranges;
|
|
571
|
-
/// @internal
|
|
572
|
-
this.chunk = "";
|
|
573
|
-
/// @internal
|
|
574
|
-
this.chunkOff = 0;
|
|
575
|
-
/// Backup chunk
|
|
576
|
-
this.chunk2 = "";
|
|
577
|
-
this.chunk2Pos = 0;
|
|
578
|
-
/// The character code of the next code unit in the input, or -1
|
|
579
|
-
/// when the stream is at the end of the input.
|
|
580
|
-
this.next = -1;
|
|
581
|
-
/// @internal
|
|
582
|
-
this.token = nullToken;
|
|
583
|
-
this.rangeIndex = 0;
|
|
584
|
-
this.pos = this.chunkPos = ranges[0].from;
|
|
585
|
-
this.range = ranges[0];
|
|
586
|
-
this.end = ranges[ranges.length - 1].to;
|
|
587
|
-
this.readNext();
|
|
588
|
-
}
|
|
589
|
-
/// @internal
|
|
590
|
-
resolveOffset(offset, assoc) {
|
|
591
|
-
let range = this.range,
|
|
592
|
-
index = this.rangeIndex;
|
|
593
|
-
let pos = this.pos + offset;
|
|
594
|
-
while (pos < range.from) {
|
|
595
|
-
if (!index) return null;
|
|
596
|
-
let next = this.ranges[--index];
|
|
597
|
-
pos -= range.from - next.to;
|
|
598
|
-
range = next;
|
|
599
|
-
}
|
|
600
|
-
while (assoc < 0 ? pos > range.to : pos >= range.to) {
|
|
601
|
-
if (index == this.ranges.length - 1) return null;
|
|
602
|
-
let next = this.ranges[++index];
|
|
603
|
-
pos += next.from - range.to;
|
|
604
|
-
range = next;
|
|
605
|
-
}
|
|
606
|
-
return pos;
|
|
607
|
-
}
|
|
608
|
-
/// @internal
|
|
609
|
-
clipPos(pos) {
|
|
610
|
-
if (pos >= this.range.from && pos < this.range.to) return pos;
|
|
611
|
-
for (let range of this.ranges) if (range.to > pos) return Math.max(pos, range.from);
|
|
612
|
-
return this.end;
|
|
613
|
-
}
|
|
614
|
-
/// Look at a code unit near the stream position. `.peek(0)` equals
|
|
615
|
-
/// `.next`, `.peek(-1)` gives you the previous character, and so
|
|
616
|
-
/// on.
|
|
617
|
-
///
|
|
618
|
-
/// Note that looking around during tokenizing creates dependencies
|
|
619
|
-
/// on potentially far-away content, which may reduce the
|
|
620
|
-
/// effectiveness incremental parsing—when looking forward—or even
|
|
621
|
-
/// cause invalid reparses when looking backward more than 25 code
|
|
622
|
-
/// units, since the library does not track lookbehind.
|
|
623
|
-
peek(offset) {
|
|
624
|
-
let idx = this.chunkOff + offset,
|
|
625
|
-
pos,
|
|
626
|
-
result;
|
|
627
|
-
if (idx >= 0 && idx < this.chunk.length) {
|
|
628
|
-
pos = this.pos + offset;
|
|
629
|
-
result = this.chunk.charCodeAt(idx);
|
|
630
|
-
} else {
|
|
631
|
-
let resolved = this.resolveOffset(offset, 1);
|
|
632
|
-
if (resolved == null) return -1;
|
|
633
|
-
pos = resolved;
|
|
634
|
-
if (pos >= this.chunk2Pos && pos < this.chunk2Pos + this.chunk2.length) {
|
|
635
|
-
result = this.chunk2.charCodeAt(pos - this.chunk2Pos);
|
|
636
|
-
} else {
|
|
637
|
-
let i = this.rangeIndex,
|
|
638
|
-
range = this.range;
|
|
639
|
-
while (range.to <= pos) range = this.ranges[++i];
|
|
640
|
-
this.chunk2 = this.input.chunk(this.chunk2Pos = pos);
|
|
641
|
-
if (pos + this.chunk2.length > range.to) this.chunk2 = this.chunk2.slice(0, range.to - pos);
|
|
642
|
-
result = this.chunk2.charCodeAt(0);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
if (pos >= this.token.lookAhead) this.token.lookAhead = pos + 1;
|
|
646
|
-
return result;
|
|
647
|
-
}
|
|
648
|
-
/// Accept a token. By default, the end of the token is set to the
|
|
649
|
-
/// current stream position, but you can pass an offset (relative to
|
|
650
|
-
/// the stream position) to change that.
|
|
651
|
-
acceptToken(token) {
|
|
652
|
-
let endOffset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
653
|
-
let end = endOffset ? this.resolveOffset(endOffset, -1) : this.pos;
|
|
654
|
-
if (end == null || end < this.token.start) throw new RangeError("Token end out of bounds");
|
|
655
|
-
this.token.value = token;
|
|
656
|
-
this.token.end = end;
|
|
657
|
-
}
|
|
658
|
-
getChunk() {
|
|
659
|
-
if (this.pos >= this.chunk2Pos && this.pos < this.chunk2Pos + this.chunk2.length) {
|
|
660
|
-
let {
|
|
661
|
-
chunk,
|
|
662
|
-
chunkPos
|
|
663
|
-
} = this;
|
|
664
|
-
this.chunk = this.chunk2;
|
|
665
|
-
this.chunkPos = this.chunk2Pos;
|
|
666
|
-
this.chunk2 = chunk;
|
|
667
|
-
this.chunk2Pos = chunkPos;
|
|
668
|
-
this.chunkOff = this.pos - this.chunkPos;
|
|
669
|
-
} else {
|
|
670
|
-
this.chunk2 = this.chunk;
|
|
671
|
-
this.chunk2Pos = this.chunkPos;
|
|
672
|
-
let nextChunk = this.input.chunk(this.pos);
|
|
673
|
-
let end = this.pos + nextChunk.length;
|
|
674
|
-
this.chunk = end > this.range.to ? nextChunk.slice(0, this.range.to - this.pos) : nextChunk;
|
|
675
|
-
this.chunkPos = this.pos;
|
|
676
|
-
this.chunkOff = 0;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
readNext() {
|
|
680
|
-
if (this.chunkOff >= this.chunk.length) {
|
|
681
|
-
this.getChunk();
|
|
682
|
-
if (this.chunkOff == this.chunk.length) return this.next = -1;
|
|
683
|
-
}
|
|
684
|
-
return this.next = this.chunk.charCodeAt(this.chunkOff);
|
|
685
|
-
}
|
|
686
|
-
/// Move the stream forward N (defaults to 1) code units. Returns
|
|
687
|
-
/// the new value of [`next`](#lr.InputStream.next).
|
|
688
|
-
advance() {
|
|
689
|
-
let n = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
690
|
-
this.chunkOff += n;
|
|
691
|
-
while (this.pos + n >= this.range.to) {
|
|
692
|
-
if (this.rangeIndex == this.ranges.length - 1) return this.setDone();
|
|
693
|
-
n -= this.range.to - this.pos;
|
|
694
|
-
this.range = this.ranges[++this.rangeIndex];
|
|
695
|
-
this.pos = this.range.from;
|
|
696
|
-
}
|
|
697
|
-
this.pos += n;
|
|
698
|
-
if (this.pos >= this.token.lookAhead) this.token.lookAhead = this.pos + 1;
|
|
699
|
-
return this.readNext();
|
|
700
|
-
}
|
|
701
|
-
setDone() {
|
|
702
|
-
this.pos = this.chunkPos = this.end;
|
|
703
|
-
this.range = this.ranges[this.rangeIndex = this.ranges.length - 1];
|
|
704
|
-
this.chunk = "";
|
|
705
|
-
return this.next = -1;
|
|
706
|
-
}
|
|
707
|
-
/// @internal
|
|
708
|
-
reset(pos, token) {
|
|
709
|
-
if (token) {
|
|
710
|
-
this.token = token;
|
|
711
|
-
token.start = pos;
|
|
712
|
-
token.lookAhead = pos + 1;
|
|
713
|
-
token.value = token.extended = -1;
|
|
714
|
-
} else {
|
|
715
|
-
this.token = nullToken;
|
|
716
|
-
}
|
|
717
|
-
if (this.pos != pos) {
|
|
718
|
-
this.pos = pos;
|
|
719
|
-
if (pos == this.end) {
|
|
720
|
-
this.setDone();
|
|
721
|
-
return this;
|
|
722
|
-
}
|
|
723
|
-
while (pos < this.range.from) this.range = this.ranges[--this.rangeIndex];
|
|
724
|
-
while (pos >= this.range.to) this.range = this.ranges[++this.rangeIndex];
|
|
725
|
-
if (pos >= this.chunkPos && pos < this.chunkPos + this.chunk.length) {
|
|
726
|
-
this.chunkOff = pos - this.chunkPos;
|
|
727
|
-
} else {
|
|
728
|
-
this.chunk = "";
|
|
729
|
-
this.chunkOff = 0;
|
|
730
|
-
}
|
|
731
|
-
this.readNext();
|
|
732
|
-
}
|
|
733
|
-
return this;
|
|
734
|
-
}
|
|
735
|
-
/// @internal
|
|
736
|
-
read(from, to) {
|
|
737
|
-
if (from >= this.chunkPos && to <= this.chunkPos + this.chunk.length) return this.chunk.slice(from - this.chunkPos, to - this.chunkPos);
|
|
738
|
-
if (from >= this.chunk2Pos && to <= this.chunk2Pos + this.chunk2.length) return this.chunk2.slice(from - this.chunk2Pos, to - this.chunk2Pos);
|
|
739
|
-
if (from >= this.range.from && to <= this.range.to) return this.input.read(from, to);
|
|
740
|
-
let result = "";
|
|
741
|
-
for (let r of this.ranges) {
|
|
742
|
-
if (r.from >= to) break;
|
|
743
|
-
if (r.to > from) result += this.input.read(Math.max(r.from, from), Math.min(r.to, to));
|
|
744
|
-
}
|
|
745
|
-
return result;
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
/// @internal
|
|
749
|
-
class TokenGroup {
|
|
750
|
-
constructor(data, id) {
|
|
751
|
-
this.data = data;
|
|
752
|
-
this.id = id;
|
|
753
|
-
}
|
|
754
|
-
token(input, stack) {
|
|
755
|
-
let {
|
|
756
|
-
parser
|
|
757
|
-
} = stack.p;
|
|
758
|
-
readToken(this.data, input, stack, this.id, parser.data, parser.tokenPrecTable);
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
TokenGroup.prototype.contextual = TokenGroup.prototype.fallback = TokenGroup.prototype.extend = false;
|
|
762
|
-
/// @hide
|
|
763
|
-
class LocalTokenGroup {
|
|
764
|
-
constructor(data, precTable, elseToken) {
|
|
765
|
-
this.precTable = precTable;
|
|
766
|
-
this.elseToken = elseToken;
|
|
767
|
-
this.data = typeof data == "string" ? decodeArray(data) : data;
|
|
768
|
-
}
|
|
769
|
-
token(input, stack) {
|
|
770
|
-
let start = input.pos,
|
|
771
|
-
skipped = 0;
|
|
772
|
-
for (;;) {
|
|
773
|
-
let atEof = input.next < 0,
|
|
774
|
-
nextPos = input.resolveOffset(1, 1);
|
|
775
|
-
readToken(this.data, input, stack, 0, this.data, this.precTable);
|
|
776
|
-
if (input.token.value > -1) break;
|
|
777
|
-
if (this.elseToken == null) return;
|
|
778
|
-
if (!atEof) skipped++;
|
|
779
|
-
if (nextPos == null) break;
|
|
780
|
-
input.reset(nextPos, input.token);
|
|
781
|
-
}
|
|
782
|
-
if (skipped) {
|
|
783
|
-
input.reset(start, input.token);
|
|
784
|
-
input.acceptToken(this.elseToken, skipped);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
LocalTokenGroup.prototype.contextual = TokenGroup.prototype.fallback = TokenGroup.prototype.extend = false;
|
|
789
|
-
/// `@external tokens` declarations in the grammar should resolve to
|
|
790
|
-
/// an instance of this class.
|
|
791
|
-
class ExternalTokenizer {
|
|
792
|
-
/// Create a tokenizer. The first argument is the function that,
|
|
793
|
-
/// given an input stream, scans for the types of tokens it
|
|
794
|
-
/// recognizes at the stream's position, and calls
|
|
795
|
-
/// [`acceptToken`](#lr.InputStream.acceptToken) when it finds
|
|
796
|
-
/// one.
|
|
797
|
-
constructor(
|
|
798
|
-
/// @internal
|
|
799
|
-
token) {
|
|
800
|
-
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
801
|
-
this.token = token;
|
|
802
|
-
this.contextual = !!options.contextual;
|
|
803
|
-
this.fallback = !!options.fallback;
|
|
804
|
-
this.extend = !!options.extend;
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
// Tokenizer data is stored a big uint16 array containing, for each
|
|
808
|
-
// state:
|
|
809
|
-
//
|
|
810
|
-
// - A group bitmask, indicating what token groups are reachable from
|
|
811
|
-
// this state, so that paths that can only lead to tokens not in
|
|
812
|
-
// any of the current groups can be cut off early.
|
|
813
|
-
//
|
|
814
|
-
// - The position of the end of the state's sequence of accepting
|
|
815
|
-
// tokens
|
|
816
|
-
//
|
|
817
|
-
// - The number of outgoing edges for the state
|
|
818
|
-
//
|
|
819
|
-
// - The accepting tokens, as (token id, group mask) pairs
|
|
820
|
-
//
|
|
821
|
-
// - The outgoing edges, as (start character, end character, state
|
|
822
|
-
// index) triples, with end character being exclusive
|
|
823
|
-
//
|
|
824
|
-
// This function interprets that data, running through a stream as
|
|
825
|
-
// long as new states with the a matching group mask can be reached,
|
|
826
|
-
// and updating `input.token` when it matches a token.
|
|
827
|
-
function readToken(data, input, stack, group, precTable, precOffset) {
|
|
828
|
-
let state = 0,
|
|
829
|
-
groupMask = 1 << group,
|
|
830
|
-
{
|
|
831
|
-
dialect
|
|
832
|
-
} = stack.p.parser;
|
|
833
|
-
scan: for (;;) {
|
|
834
|
-
if ((groupMask & data[state]) == 0) break;
|
|
835
|
-
let accEnd = data[state + 1];
|
|
836
|
-
// Check whether this state can lead to a token in the current group
|
|
837
|
-
// Accept tokens in this state, possibly overwriting
|
|
838
|
-
// lower-precedence / shorter tokens
|
|
839
|
-
for (let i = state + 3; i < accEnd; i += 2) if ((data[i + 1] & groupMask) > 0) {
|
|
840
|
-
let term = data[i];
|
|
841
|
-
if (dialect.allows(term) && (input.token.value == -1 || input.token.value == term || overrides(term, input.token.value, precTable, precOffset))) {
|
|
842
|
-
input.acceptToken(term);
|
|
843
|
-
break;
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
let next = input.next,
|
|
847
|
-
low = 0,
|
|
848
|
-
high = data[state + 2];
|
|
849
|
-
// Special case for EOF
|
|
850
|
-
if (input.next < 0 && high > low && data[accEnd + high * 3 - 3] == 65535 /* Seq.End */ && data[accEnd + high * 3 - 3] == 65535 /* Seq.End */) {
|
|
851
|
-
state = data[accEnd + high * 3 - 1];
|
|
852
|
-
continue scan;
|
|
853
|
-
}
|
|
854
|
-
// Do a binary search on the state's edges
|
|
855
|
-
for (; low < high;) {
|
|
856
|
-
let mid = low + high >> 1;
|
|
857
|
-
let index = accEnd + mid + (mid << 1);
|
|
858
|
-
let from = data[index],
|
|
859
|
-
to = data[index + 1] || 0x10000;
|
|
860
|
-
if (next < from) high = mid;else if (next >= to) low = mid + 1;else {
|
|
861
|
-
state = data[index + 2];
|
|
862
|
-
input.advance();
|
|
863
|
-
continue scan;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
break;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
function findOffset(data, start, term) {
|
|
870
|
-
for (let i = start, next; (next = data[i]) != 65535 /* Seq.End */; i++) if (next == term) return i - start;
|
|
871
|
-
return -1;
|
|
872
|
-
}
|
|
873
|
-
function overrides(token, prev, tableData, tableOffset) {
|
|
874
|
-
let iPrev = findOffset(tableData, tableOffset, prev);
|
|
875
|
-
return iPrev < 0 || findOffset(tableData, tableOffset, token) < iPrev;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
// Environment variable used to control console output
|
|
879
|
-
const verbose = typeof process != "undefined" && process.env && /\bparse\b/.test(process.env.LOG);
|
|
880
|
-
let stackIDs = null;
|
|
881
|
-
var Safety;
|
|
882
|
-
(function (Safety) {
|
|
883
|
-
Safety[Safety["Margin"] = 25] = "Margin";
|
|
884
|
-
})(Safety || (Safety = {}));
|
|
885
|
-
function cutAt(tree, pos, side) {
|
|
886
|
-
let cursor = tree.cursor(IterMode.IncludeAnonymous);
|
|
887
|
-
cursor.moveTo(pos);
|
|
888
|
-
for (;;) {
|
|
889
|
-
if (!(side < 0 ? cursor.childBefore(pos) : cursor.childAfter(pos))) for (;;) {
|
|
890
|
-
if ((side < 0 ? cursor.to < pos : cursor.from > pos) && !cursor.type.isError) return side < 0 ? Math.max(0, Math.min(cursor.to - 1, pos - 25 /* Safety.Margin */)) : Math.min(tree.length, Math.max(cursor.from + 1, pos + 25 /* Safety.Margin */));
|
|
891
|
-
if (side < 0 ? cursor.prevSibling() : cursor.nextSibling()) break;
|
|
892
|
-
if (!cursor.parent()) return side < 0 ? 0 : tree.length;
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
class FragmentCursor {
|
|
897
|
-
constructor(fragments, nodeSet) {
|
|
898
|
-
this.fragments = fragments;
|
|
899
|
-
this.nodeSet = nodeSet;
|
|
900
|
-
this.i = 0;
|
|
901
|
-
this.fragment = null;
|
|
902
|
-
this.safeFrom = -1;
|
|
903
|
-
this.safeTo = -1;
|
|
904
|
-
this.trees = [];
|
|
905
|
-
this.start = [];
|
|
906
|
-
this.index = [];
|
|
907
|
-
this.nextFragment();
|
|
908
|
-
}
|
|
909
|
-
nextFragment() {
|
|
910
|
-
let fr = this.fragment = this.i == this.fragments.length ? null : this.fragments[this.i++];
|
|
911
|
-
if (fr) {
|
|
912
|
-
this.safeFrom = fr.openStart ? cutAt(fr.tree, fr.from + fr.offset, 1) - fr.offset : fr.from;
|
|
913
|
-
this.safeTo = fr.openEnd ? cutAt(fr.tree, fr.to + fr.offset, -1) - fr.offset : fr.to;
|
|
914
|
-
while (this.trees.length) {
|
|
915
|
-
this.trees.pop();
|
|
916
|
-
this.start.pop();
|
|
917
|
-
this.index.pop();
|
|
918
|
-
}
|
|
919
|
-
this.trees.push(fr.tree);
|
|
920
|
-
this.start.push(-fr.offset);
|
|
921
|
-
this.index.push(0);
|
|
922
|
-
this.nextStart = this.safeFrom;
|
|
923
|
-
} else {
|
|
924
|
-
this.nextStart = 1e9;
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
// `pos` must be >= any previously given `pos` for this cursor
|
|
928
|
-
nodeAt(pos) {
|
|
929
|
-
if (pos < this.nextStart) return null;
|
|
930
|
-
while (this.fragment && this.safeTo <= pos) this.nextFragment();
|
|
931
|
-
if (!this.fragment) return null;
|
|
932
|
-
for (;;) {
|
|
933
|
-
let last = this.trees.length - 1;
|
|
934
|
-
if (last < 0) {
|
|
935
|
-
// End of tree
|
|
936
|
-
this.nextFragment();
|
|
937
|
-
return null;
|
|
938
|
-
}
|
|
939
|
-
let top = this.trees[last],
|
|
940
|
-
index = this.index[last];
|
|
941
|
-
if (index == top.children.length) {
|
|
942
|
-
this.trees.pop();
|
|
943
|
-
this.start.pop();
|
|
944
|
-
this.index.pop();
|
|
945
|
-
continue;
|
|
946
|
-
}
|
|
947
|
-
let next = top.children[index];
|
|
948
|
-
let start = this.start[last] + top.positions[index];
|
|
949
|
-
if (start > pos) {
|
|
950
|
-
this.nextStart = start;
|
|
951
|
-
return null;
|
|
952
|
-
}
|
|
953
|
-
if (next instanceof Tree) {
|
|
954
|
-
if (start == pos) {
|
|
955
|
-
if (start < this.safeFrom) return null;
|
|
956
|
-
let end = start + next.length;
|
|
957
|
-
if (end <= this.safeTo) {
|
|
958
|
-
let lookAhead = next.prop(NodeProp.lookAhead);
|
|
959
|
-
if (!lookAhead || end + lookAhead < this.fragment.to) return next;
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
this.index[last]++;
|
|
963
|
-
if (start + next.length >= Math.max(this.safeFrom, pos)) {
|
|
964
|
-
// Enter this node
|
|
965
|
-
this.trees.push(next);
|
|
966
|
-
this.start.push(start);
|
|
967
|
-
this.index.push(0);
|
|
968
|
-
}
|
|
969
|
-
} else {
|
|
970
|
-
this.index[last]++;
|
|
971
|
-
this.nextStart = start + next.length;
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
class TokenCache {
|
|
977
|
-
constructor(parser, stream) {
|
|
978
|
-
this.stream = stream;
|
|
979
|
-
this.tokens = [];
|
|
980
|
-
this.mainToken = null;
|
|
981
|
-
this.actions = [];
|
|
982
|
-
this.tokens = parser.tokenizers.map(_ => new CachedToken());
|
|
983
|
-
}
|
|
984
|
-
getActions(stack) {
|
|
985
|
-
let actionIndex = 0;
|
|
986
|
-
let main = null;
|
|
987
|
-
let {
|
|
988
|
-
parser
|
|
989
|
-
} = stack.p,
|
|
990
|
-
{
|
|
991
|
-
tokenizers
|
|
992
|
-
} = parser;
|
|
993
|
-
let mask = parser.stateSlot(stack.state, 3 /* ParseState.TokenizerMask */);
|
|
994
|
-
let context = stack.curContext ? stack.curContext.hash : 0;
|
|
995
|
-
let lookAhead = 0;
|
|
996
|
-
for (let i = 0; i < tokenizers.length; i++) {
|
|
997
|
-
if ((1 << i & mask) == 0) continue;
|
|
998
|
-
let tokenizer = tokenizers[i],
|
|
999
|
-
token = this.tokens[i];
|
|
1000
|
-
if (main && !tokenizer.fallback) continue;
|
|
1001
|
-
if (tokenizer.contextual || token.start != stack.pos || token.mask != mask || token.context != context) {
|
|
1002
|
-
this.updateCachedToken(token, tokenizer, stack);
|
|
1003
|
-
token.mask = mask;
|
|
1004
|
-
token.context = context;
|
|
1005
|
-
}
|
|
1006
|
-
if (token.lookAhead > token.end + 25 /* Safety.Margin */) lookAhead = Math.max(token.lookAhead, lookAhead);
|
|
1007
|
-
if (token.value != 0 /* Term.Err */) {
|
|
1008
|
-
let startIndex = actionIndex;
|
|
1009
|
-
if (token.extended > -1) actionIndex = this.addActions(stack, token.extended, token.end, actionIndex);
|
|
1010
|
-
actionIndex = this.addActions(stack, token.value, token.end, actionIndex);
|
|
1011
|
-
if (!tokenizer.extend) {
|
|
1012
|
-
main = token;
|
|
1013
|
-
if (actionIndex > startIndex) break;
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
while (this.actions.length > actionIndex) this.actions.pop();
|
|
1018
|
-
if (lookAhead) stack.setLookAhead(lookAhead);
|
|
1019
|
-
if (!main && stack.pos == this.stream.end) {
|
|
1020
|
-
main = new CachedToken();
|
|
1021
|
-
main.value = stack.p.parser.eofTerm;
|
|
1022
|
-
main.start = main.end = stack.pos;
|
|
1023
|
-
actionIndex = this.addActions(stack, main.value, main.end, actionIndex);
|
|
1024
|
-
}
|
|
1025
|
-
this.mainToken = main;
|
|
1026
|
-
return this.actions;
|
|
1027
|
-
}
|
|
1028
|
-
getMainToken(stack) {
|
|
1029
|
-
if (this.mainToken) return this.mainToken;
|
|
1030
|
-
let main = new CachedToken(),
|
|
1031
|
-
{
|
|
1032
|
-
pos,
|
|
1033
|
-
p
|
|
1034
|
-
} = stack;
|
|
1035
|
-
main.start = pos;
|
|
1036
|
-
main.end = Math.min(pos + 1, p.stream.end);
|
|
1037
|
-
main.value = pos == p.stream.end ? p.parser.eofTerm : 0 /* Term.Err */;
|
|
1038
|
-
return main;
|
|
1039
|
-
}
|
|
1040
|
-
updateCachedToken(token, tokenizer, stack) {
|
|
1041
|
-
let start = this.stream.clipPos(stack.pos);
|
|
1042
|
-
tokenizer.token(this.stream.reset(start, token), stack);
|
|
1043
|
-
if (token.value > -1) {
|
|
1044
|
-
let {
|
|
1045
|
-
parser
|
|
1046
|
-
} = stack.p;
|
|
1047
|
-
for (let i = 0; i < parser.specialized.length; i++) if (parser.specialized[i] == token.value) {
|
|
1048
|
-
let result = parser.specializers[i](this.stream.read(token.start, token.end), stack);
|
|
1049
|
-
if (result >= 0 && stack.p.parser.dialect.allows(result >> 1)) {
|
|
1050
|
-
if ((result & 1) == 0 /* Specialize.Specialize */) token.value = result >> 1;else token.extended = result >> 1;
|
|
1051
|
-
break;
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
} else {
|
|
1055
|
-
token.value = 0 /* Term.Err */;
|
|
1056
|
-
token.end = this.stream.clipPos(start + 1);
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
putAction(action, token, end, index) {
|
|
1060
|
-
// Don't add duplicate actions
|
|
1061
|
-
for (let i = 0; i < index; i += 3) if (this.actions[i] == action) return index;
|
|
1062
|
-
this.actions[index++] = action;
|
|
1063
|
-
this.actions[index++] = token;
|
|
1064
|
-
this.actions[index++] = end;
|
|
1065
|
-
return index;
|
|
1066
|
-
}
|
|
1067
|
-
addActions(stack, token, end, index) {
|
|
1068
|
-
let {
|
|
1069
|
-
state
|
|
1070
|
-
} = stack,
|
|
1071
|
-
{
|
|
1072
|
-
parser
|
|
1073
|
-
} = stack.p,
|
|
1074
|
-
{
|
|
1075
|
-
data
|
|
1076
|
-
} = parser;
|
|
1077
|
-
for (let set = 0; set < 2; set++) {
|
|
1078
|
-
for (let i = parser.stateSlot(state, set ? 2 /* ParseState.Skip */ : 1 /* ParseState.Actions */);; i += 3) {
|
|
1079
|
-
if (data[i] == 65535 /* Seq.End */) {
|
|
1080
|
-
if (data[i + 1] == 1 /* Seq.Next */) {
|
|
1081
|
-
i = pair(data, i + 2);
|
|
1082
|
-
} else {
|
|
1083
|
-
if (index == 0 && data[i + 1] == 2 /* Seq.Other */) index = this.putAction(pair(data, i + 2), token, end, index);
|
|
1084
|
-
break;
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
if (data[i] == token) index = this.putAction(pair(data, i + 1), token, end, index);
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
return index;
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
var Rec;
|
|
1094
|
-
(function (Rec) {
|
|
1095
|
-
Rec[Rec["Distance"] = 5] = "Distance";
|
|
1096
|
-
Rec[Rec["MaxRemainingPerStep"] = 3] = "MaxRemainingPerStep";
|
|
1097
|
-
// When two stacks have been running independently long enough to
|
|
1098
|
-
// add this many elements to their buffers, prune one.
|
|
1099
|
-
Rec[Rec["MinBufferLengthPrune"] = 500] = "MinBufferLengthPrune";
|
|
1100
|
-
Rec[Rec["ForceReduceLimit"] = 10] = "ForceReduceLimit";
|
|
1101
|
-
// Once a stack reaches this depth (in .stack.length) force-reduce
|
|
1102
|
-
// it back to CutTo to avoid creating trees that overflow the stack
|
|
1103
|
-
// on recursive traversal.
|
|
1104
|
-
Rec[Rec["CutDepth"] = 15000] = "CutDepth";
|
|
1105
|
-
Rec[Rec["CutTo"] = 9000] = "CutTo";
|
|
1106
|
-
Rec[Rec["MaxLeftAssociativeReductionCount"] = 300] = "MaxLeftAssociativeReductionCount";
|
|
1107
|
-
// The maximum number of non-recovering stacks to explore (to avoid
|
|
1108
|
-
// getting bogged down with exponentially multiplying stacks in
|
|
1109
|
-
// ambiguous content)
|
|
1110
|
-
Rec[Rec["MaxStackCount"] = 12] = "MaxStackCount";
|
|
1111
|
-
})(Rec || (Rec = {}));
|
|
1112
|
-
class Parse {
|
|
1113
|
-
constructor(parser, input, fragments, ranges) {
|
|
1114
|
-
this.parser = parser;
|
|
1115
|
-
this.input = input;
|
|
1116
|
-
this.ranges = ranges;
|
|
1117
|
-
this.recovering = 0;
|
|
1118
|
-
this.nextStackID = 0x2654; // ♔, ♕, ♖, ♗, ♘, ♙, ♠, ♡, ♢, ♣, ♤, ♥, ♦, ♧
|
|
1119
|
-
this.minStackPos = 0;
|
|
1120
|
-
this.reused = [];
|
|
1121
|
-
this.stoppedAt = null;
|
|
1122
|
-
this.lastBigReductionStart = -1;
|
|
1123
|
-
this.lastBigReductionSize = 0;
|
|
1124
|
-
this.bigReductionCount = 0;
|
|
1125
|
-
this.stream = new InputStream(input, ranges);
|
|
1126
|
-
this.tokens = new TokenCache(parser, this.stream);
|
|
1127
|
-
this.topTerm = parser.top[1];
|
|
1128
|
-
let {
|
|
1129
|
-
from
|
|
1130
|
-
} = ranges[0];
|
|
1131
|
-
this.stacks = [Stack.start(this, parser.top[0], from)];
|
|
1132
|
-
this.fragments = fragments.length && this.stream.end - from > parser.bufferLength * 4 ? new FragmentCursor(fragments, parser.nodeSet) : null;
|
|
1133
|
-
}
|
|
1134
|
-
get parsedPos() {
|
|
1135
|
-
return this.minStackPos;
|
|
1136
|
-
}
|
|
1137
|
-
// Move the parser forward. This will process all parse stacks at
|
|
1138
|
-
// `this.pos` and try to advance them to a further position. If no
|
|
1139
|
-
// stack for such a position is found, it'll start error-recovery.
|
|
1140
|
-
//
|
|
1141
|
-
// When the parse is finished, this will return a syntax tree. When
|
|
1142
|
-
// not, it returns `null`.
|
|
1143
|
-
advance() {
|
|
1144
|
-
let stacks = this.stacks,
|
|
1145
|
-
pos = this.minStackPos;
|
|
1146
|
-
// This will hold stacks beyond `pos`.
|
|
1147
|
-
let newStacks = this.stacks = [];
|
|
1148
|
-
let stopped, stoppedTokens;
|
|
1149
|
-
// If a large amount of reductions happened with the same start
|
|
1150
|
-
// position, force the stack out of that production in order to
|
|
1151
|
-
// avoid creating a tree too deep to recurse through.
|
|
1152
|
-
// (This is an ugly kludge, because unfortunately there is no
|
|
1153
|
-
// straightforward, cheap way to check for this happening, due to
|
|
1154
|
-
// the history of reductions only being available in an
|
|
1155
|
-
// expensive-to-access format in the stack buffers.)
|
|
1156
|
-
if (this.bigReductionCount > 300 /* Rec.MaxLeftAssociativeReductionCount */ && stacks.length == 1) {
|
|
1157
|
-
let [s] = stacks;
|
|
1158
|
-
while (s.forceReduce() && s.stack.length && s.stack[s.stack.length - 2] >= this.lastBigReductionStart) {}
|
|
1159
|
-
this.bigReductionCount = this.lastBigReductionSize = 0;
|
|
1160
|
-
}
|
|
1161
|
-
// Keep advancing any stacks at `pos` until they either move
|
|
1162
|
-
// forward or can't be advanced. Gather stacks that can't be
|
|
1163
|
-
// advanced further in `stopped`.
|
|
1164
|
-
for (let i = 0; i < stacks.length; i++) {
|
|
1165
|
-
let stack = stacks[i];
|
|
1166
|
-
for (;;) {
|
|
1167
|
-
this.tokens.mainToken = null;
|
|
1168
|
-
if (stack.pos > pos) {
|
|
1169
|
-
newStacks.push(stack);
|
|
1170
|
-
} else if (this.advanceStack(stack, newStacks, stacks)) {
|
|
1171
|
-
continue;
|
|
1172
|
-
} else {
|
|
1173
|
-
if (!stopped) {
|
|
1174
|
-
stopped = [];
|
|
1175
|
-
stoppedTokens = [];
|
|
1176
|
-
}
|
|
1177
|
-
stopped.push(stack);
|
|
1178
|
-
let tok = this.tokens.getMainToken(stack);
|
|
1179
|
-
stoppedTokens.push(tok.value, tok.end);
|
|
1180
|
-
}
|
|
1181
|
-
break;
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
if (!newStacks.length) {
|
|
1185
|
-
let finished = stopped && findFinished(stopped);
|
|
1186
|
-
if (finished) return this.stackToTree(finished);
|
|
1187
|
-
if (this.parser.strict) {
|
|
1188
|
-
if (verbose && stopped) console.log("Stuck with token " + (this.tokens.mainToken ? this.parser.getName(this.tokens.mainToken.value) : "none"));
|
|
1189
|
-
throw new SyntaxError("No parse at " + pos);
|
|
1190
|
-
}
|
|
1191
|
-
if (!this.recovering) this.recovering = 5 /* Rec.Distance */;
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
if (this.recovering && stopped) {
|
|
1195
|
-
let finished = this.stoppedAt != null && stopped[0].pos > this.stoppedAt ? stopped[0] : this.runRecovery(stopped, stoppedTokens, newStacks);
|
|
1196
|
-
if (finished) return this.stackToTree(finished.forceAll());
|
|
1197
|
-
}
|
|
1198
|
-
if (this.recovering) {
|
|
1199
|
-
let maxRemaining = this.recovering == 1 ? 1 : this.recovering * 3 /* Rec.MaxRemainingPerStep */;
|
|
1200
|
-
if (newStacks.length > maxRemaining) {
|
|
1201
|
-
newStacks.sort((a, b) => b.score - a.score);
|
|
1202
|
-
while (newStacks.length > maxRemaining) newStacks.pop();
|
|
1203
|
-
}
|
|
1204
|
-
if (newStacks.some(s => s.reducePos > pos)) this.recovering--;
|
|
1205
|
-
} else if (newStacks.length > 1) {
|
|
1206
|
-
// Prune stacks that are in the same state, or that have been
|
|
1207
|
-
// running without splitting for a while, to avoid getting stuck
|
|
1208
|
-
// with multiple successful stacks running endlessly on.
|
|
1209
|
-
outer: for (let i = 0; i < newStacks.length - 1; i++) {
|
|
1210
|
-
let stack = newStacks[i];
|
|
1211
|
-
for (let j = i + 1; j < newStacks.length; j++) {
|
|
1212
|
-
let other = newStacks[j];
|
|
1213
|
-
if (stack.sameState(other) || stack.buffer.length > 500 /* Rec.MinBufferLengthPrune */ && other.buffer.length > 500 /* Rec.MinBufferLengthPrune */) {
|
|
1214
|
-
if ((stack.score - other.score || stack.buffer.length - other.buffer.length) > 0) {
|
|
1215
|
-
newStacks.splice(j--, 1);
|
|
1216
|
-
} else {
|
|
1217
|
-
newStacks.splice(i--, 1);
|
|
1218
|
-
continue outer;
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
if (newStacks.length > 12 /* Rec.MaxStackCount */) newStacks.splice(12 /* Rec.MaxStackCount */, newStacks.length - 12 /* Rec.MaxStackCount */);
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
this.minStackPos = newStacks[0].pos;
|
|
1227
|
-
for (let i = 1; i < newStacks.length; i++) if (newStacks[i].pos < this.minStackPos) this.minStackPos = newStacks[i].pos;
|
|
1228
|
-
return null;
|
|
1229
|
-
}
|
|
1230
|
-
stopAt(pos) {
|
|
1231
|
-
if (this.stoppedAt != null && this.stoppedAt < pos) throw new RangeError("Can't move stoppedAt forward");
|
|
1232
|
-
this.stoppedAt = pos;
|
|
1233
|
-
}
|
|
1234
|
-
// Returns an updated version of the given stack, or null if the
|
|
1235
|
-
// stack can't advance normally. When `split` and `stacks` are
|
|
1236
|
-
// given, stacks split off by ambiguous operations will be pushed to
|
|
1237
|
-
// `split`, or added to `stacks` if they move `pos` forward.
|
|
1238
|
-
advanceStack(stack, stacks, split) {
|
|
1239
|
-
let start = stack.pos,
|
|
1240
|
-
{
|
|
1241
|
-
parser
|
|
1242
|
-
} = this;
|
|
1243
|
-
let base = verbose ? this.stackID(stack) + " -> " : "";
|
|
1244
|
-
if (this.stoppedAt != null && start > this.stoppedAt) return stack.forceReduce() ? stack : null;
|
|
1245
|
-
if (this.fragments) {
|
|
1246
|
-
let strictCx = stack.curContext && stack.curContext.tracker.strict,
|
|
1247
|
-
cxHash = strictCx ? stack.curContext.hash : 0;
|
|
1248
|
-
for (let cached = this.fragments.nodeAt(start); cached;) {
|
|
1249
|
-
let match = this.parser.nodeSet.types[cached.type.id] == cached.type ? parser.getGoto(stack.state, cached.type.id) : -1;
|
|
1250
|
-
if (match > -1 && cached.length && (!strictCx || (cached.prop(NodeProp.contextHash) || 0) == cxHash)) {
|
|
1251
|
-
stack.useNode(cached, match);
|
|
1252
|
-
if (verbose) console.log(base + this.stackID(stack) + ` (via reuse of ${parser.getName(cached.type.id)})`);
|
|
1253
|
-
return true;
|
|
1254
|
-
}
|
|
1255
|
-
if (!(cached instanceof Tree) || cached.children.length == 0 || cached.positions[0] > 0) break;
|
|
1256
|
-
let inner = cached.children[0];
|
|
1257
|
-
if (inner instanceof Tree && cached.positions[0] == 0) cached = inner;else break;
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
let defaultReduce = parser.stateSlot(stack.state, 4 /* ParseState.DefaultReduce */);
|
|
1261
|
-
if (defaultReduce > 0) {
|
|
1262
|
-
stack.reduce(defaultReduce);
|
|
1263
|
-
if (verbose) console.log(base + this.stackID(stack) + ` (via always-reduce ${parser.getName(defaultReduce & 65535 /* Action.ValueMask */)})`);
|
|
1264
|
-
return true;
|
|
1265
|
-
}
|
|
1266
|
-
if (stack.stack.length >= 15000 /* Rec.CutDepth */) {
|
|
1267
|
-
while (stack.stack.length > 9000 /* Rec.CutTo */ && stack.forceReduce()) {}
|
|
1268
|
-
}
|
|
1269
|
-
let actions = this.tokens.getActions(stack);
|
|
1270
|
-
for (let i = 0; i < actions.length;) {
|
|
1271
|
-
let action = actions[i++],
|
|
1272
|
-
term = actions[i++],
|
|
1273
|
-
end = actions[i++];
|
|
1274
|
-
let last = i == actions.length || !split;
|
|
1275
|
-
let localStack = last ? stack : stack.split();
|
|
1276
|
-
localStack.apply(action, term, end);
|
|
1277
|
-
if (verbose) console.log(base + this.stackID(localStack) + ` (via ${(action & 65536 /* Action.ReduceFlag */) == 0 ? "shift" : `reduce of ${parser.getName(action & 65535 /* Action.ValueMask */)}`} for ${parser.getName(term)} @ ${start}${localStack == stack ? "" : ", split"})`);
|
|
1278
|
-
if (last) return true;else if (localStack.pos > start) stacks.push(localStack);else split.push(localStack);
|
|
1279
|
-
}
|
|
1280
|
-
return false;
|
|
1281
|
-
}
|
|
1282
|
-
// Advance a given stack forward as far as it will go. Returns the
|
|
1283
|
-
// (possibly updated) stack if it got stuck, or null if it moved
|
|
1284
|
-
// forward and was given to `pushStackDedup`.
|
|
1285
|
-
advanceFully(stack, newStacks) {
|
|
1286
|
-
let pos = stack.pos;
|
|
1287
|
-
for (;;) {
|
|
1288
|
-
if (!this.advanceStack(stack, null, null)) return false;
|
|
1289
|
-
if (stack.pos > pos) {
|
|
1290
|
-
pushStackDedup(stack, newStacks);
|
|
1291
|
-
return true;
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
}
|
|
1295
|
-
runRecovery(stacks, tokens, newStacks) {
|
|
1296
|
-
let finished = null,
|
|
1297
|
-
restarted = false;
|
|
1298
|
-
for (let i = 0; i < stacks.length; i++) {
|
|
1299
|
-
let stack = stacks[i],
|
|
1300
|
-
token = tokens[i << 1],
|
|
1301
|
-
tokenEnd = tokens[(i << 1) + 1];
|
|
1302
|
-
let base = verbose ? this.stackID(stack) + " -> " : "";
|
|
1303
|
-
if (stack.deadEnd) {
|
|
1304
|
-
if (restarted) continue;
|
|
1305
|
-
restarted = true;
|
|
1306
|
-
stack.restart();
|
|
1307
|
-
if (verbose) console.log(base + this.stackID(stack) + " (restarted)");
|
|
1308
|
-
let done = this.advanceFully(stack, newStacks);
|
|
1309
|
-
if (done) continue;
|
|
1310
|
-
}
|
|
1311
|
-
let force = stack.split(),
|
|
1312
|
-
forceBase = base;
|
|
1313
|
-
for (let j = 0; force.forceReduce() && j < 10 /* Rec.ForceReduceLimit */; j++) {
|
|
1314
|
-
if (verbose) console.log(forceBase + this.stackID(force) + " (via force-reduce)");
|
|
1315
|
-
let done = this.advanceFully(force, newStacks);
|
|
1316
|
-
if (done) break;
|
|
1317
|
-
if (verbose) forceBase = this.stackID(force) + " -> ";
|
|
1318
|
-
}
|
|
1319
|
-
for (let insert of stack.recoverByInsert(token)) {
|
|
1320
|
-
if (verbose) console.log(base + this.stackID(insert) + " (via recover-insert)");
|
|
1321
|
-
this.advanceFully(insert, newStacks);
|
|
1322
|
-
}
|
|
1323
|
-
if (this.stream.end > stack.pos) {
|
|
1324
|
-
if (tokenEnd == stack.pos) {
|
|
1325
|
-
tokenEnd++;
|
|
1326
|
-
token = 0 /* Term.Err */;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
stack.recoverByDelete(token, tokenEnd);
|
|
1330
|
-
if (verbose) console.log(base + this.stackID(stack) + ` (via recover-delete ${this.parser.getName(token)})`);
|
|
1331
|
-
pushStackDedup(stack, newStacks);
|
|
1332
|
-
} else if (!finished || finished.score < stack.score) {
|
|
1333
|
-
finished = stack;
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
return finished;
|
|
1337
|
-
}
|
|
1338
|
-
// Convert the stack's buffer to a syntax tree.
|
|
1339
|
-
stackToTree(stack) {
|
|
1340
|
-
stack.close();
|
|
1341
|
-
return Tree.build({
|
|
1342
|
-
buffer: StackBufferCursor.create(stack),
|
|
1343
|
-
nodeSet: this.parser.nodeSet,
|
|
1344
|
-
topID: this.topTerm,
|
|
1345
|
-
maxBufferLength: this.parser.bufferLength,
|
|
1346
|
-
reused: this.reused,
|
|
1347
|
-
start: this.ranges[0].from,
|
|
1348
|
-
length: stack.pos - this.ranges[0].from,
|
|
1349
|
-
minRepeatType: this.parser.minRepeatTerm
|
|
1350
|
-
});
|
|
1351
|
-
}
|
|
1352
|
-
stackID(stack) {
|
|
1353
|
-
let id = (stackIDs || (stackIDs = new WeakMap())).get(stack);
|
|
1354
|
-
if (!id) stackIDs.set(stack, id = String.fromCodePoint(this.nextStackID++));
|
|
1355
|
-
return id + stack;
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
function pushStackDedup(stack, newStacks) {
|
|
1359
|
-
for (let i = 0; i < newStacks.length; i++) {
|
|
1360
|
-
let other = newStacks[i];
|
|
1361
|
-
if (other.pos == stack.pos && other.sameState(stack)) {
|
|
1362
|
-
if (newStacks[i].score < stack.score) newStacks[i] = stack;
|
|
1363
|
-
return;
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
newStacks.push(stack);
|
|
1367
|
-
}
|
|
1368
|
-
class Dialect {
|
|
1369
|
-
constructor(source, flags, disabled) {
|
|
1370
|
-
this.source = source;
|
|
1371
|
-
this.flags = flags;
|
|
1372
|
-
this.disabled = disabled;
|
|
1373
|
-
}
|
|
1374
|
-
allows(term) {
|
|
1375
|
-
return !this.disabled || this.disabled[term] == 0;
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
const id = x => x;
|
|
1379
|
-
/// Context trackers are used to track stateful context (such as
|
|
1380
|
-
/// indentation in the Python grammar, or parent elements in the XML
|
|
1381
|
-
/// grammar) needed by external tokenizers. You declare them in a
|
|
1382
|
-
/// grammar file as `@context exportName from "module"`.
|
|
1383
|
-
///
|
|
1384
|
-
/// Context values should be immutable, and can be updated (replaced)
|
|
1385
|
-
/// on shift or reduce actions.
|
|
1386
|
-
///
|
|
1387
|
-
/// The export used in a `@context` declaration should be of this
|
|
1388
|
-
/// type.
|
|
1389
|
-
class ContextTracker {
|
|
1390
|
-
/// Define a context tracker.
|
|
1391
|
-
constructor(spec) {
|
|
1392
|
-
this.start = spec.start;
|
|
1393
|
-
this.shift = spec.shift || id;
|
|
1394
|
-
this.reduce = spec.reduce || id;
|
|
1395
|
-
this.reuse = spec.reuse || id;
|
|
1396
|
-
this.hash = spec.hash || (() => 0);
|
|
1397
|
-
this.strict = spec.strict !== false;
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
/// Holds the parse tables for a given grammar, as generated by
|
|
1401
|
-
/// `lezer-generator`, and provides [methods](#common.Parser) to parse
|
|
1402
|
-
/// content with.
|
|
1403
|
-
class LRParser extends Parser {
|
|
1404
|
-
/// @internal
|
|
1405
|
-
constructor(spec) {
|
|
1406
|
-
super();
|
|
1407
|
-
/// @internal
|
|
1408
|
-
this.wrappers = [];
|
|
1409
|
-
if (spec.version != 14 /* File.Version */) throw new RangeError(`Parser version (${spec.version}) doesn't match runtime version (${14 /* File.Version */})`);
|
|
1410
|
-
let nodeNames = spec.nodeNames.split(" ");
|
|
1411
|
-
this.minRepeatTerm = nodeNames.length;
|
|
1412
|
-
for (let i = 0; i < spec.repeatNodeCount; i++) nodeNames.push("");
|
|
1413
|
-
let topTerms = Object.keys(spec.topRules).map(r => spec.topRules[r][1]);
|
|
1414
|
-
let nodeProps = [];
|
|
1415
|
-
for (let i = 0; i < nodeNames.length; i++) nodeProps.push([]);
|
|
1416
|
-
function setProp(nodeID, prop, value) {
|
|
1417
|
-
nodeProps[nodeID].push([prop, prop.deserialize(String(value))]);
|
|
1418
|
-
}
|
|
1419
|
-
if (spec.nodeProps) for (let propSpec of spec.nodeProps) {
|
|
1420
|
-
let prop = propSpec[0];
|
|
1421
|
-
if (typeof prop == "string") prop = NodeProp[prop];
|
|
1422
|
-
for (let i = 1; i < propSpec.length;) {
|
|
1423
|
-
let next = propSpec[i++];
|
|
1424
|
-
if (next >= 0) {
|
|
1425
|
-
setProp(next, prop, propSpec[i++]);
|
|
1426
|
-
} else {
|
|
1427
|
-
let value = propSpec[i + -next];
|
|
1428
|
-
for (let j = -next; j > 0; j--) setProp(propSpec[i++], prop, value);
|
|
1429
|
-
i++;
|
|
1430
|
-
}
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
this.nodeSet = new NodeSet(nodeNames.map((name, i) => NodeType.define({
|
|
1434
|
-
name: i >= this.minRepeatTerm ? undefined : name,
|
|
1435
|
-
id: i,
|
|
1436
|
-
props: nodeProps[i],
|
|
1437
|
-
top: topTerms.indexOf(i) > -1,
|
|
1438
|
-
error: i == 0,
|
|
1439
|
-
skipped: spec.skippedNodes && spec.skippedNodes.indexOf(i) > -1
|
|
1440
|
-
})));
|
|
1441
|
-
if (spec.propSources) this.nodeSet = this.nodeSet.extend(...spec.propSources);
|
|
1442
|
-
this.strict = false;
|
|
1443
|
-
this.bufferLength = DefaultBufferLength;
|
|
1444
|
-
let tokenArray = decodeArray(spec.tokenData);
|
|
1445
|
-
this.context = spec.context;
|
|
1446
|
-
this.specializerSpecs = spec.specialized || [];
|
|
1447
|
-
this.specialized = new Uint16Array(this.specializerSpecs.length);
|
|
1448
|
-
for (let i = 0; i < this.specializerSpecs.length; i++) this.specialized[i] = this.specializerSpecs[i].term;
|
|
1449
|
-
this.specializers = this.specializerSpecs.map(getSpecializer);
|
|
1450
|
-
this.states = decodeArray(spec.states, Uint32Array);
|
|
1451
|
-
this.data = decodeArray(spec.stateData);
|
|
1452
|
-
this.goto = decodeArray(spec.goto);
|
|
1453
|
-
this.maxTerm = spec.maxTerm;
|
|
1454
|
-
this.tokenizers = spec.tokenizers.map(value => typeof value == "number" ? new TokenGroup(tokenArray, value) : value);
|
|
1455
|
-
this.topRules = spec.topRules;
|
|
1456
|
-
this.dialects = spec.dialects || {};
|
|
1457
|
-
this.dynamicPrecedences = spec.dynamicPrecedences || null;
|
|
1458
|
-
this.tokenPrecTable = spec.tokenPrec;
|
|
1459
|
-
this.termNames = spec.termNames || null;
|
|
1460
|
-
this.maxNode = this.nodeSet.types.length - 1;
|
|
1461
|
-
this.dialect = this.parseDialect();
|
|
1462
|
-
this.top = this.topRules[Object.keys(this.topRules)[0]];
|
|
1463
|
-
}
|
|
1464
|
-
createParse(input, fragments, ranges) {
|
|
1465
|
-
let parse = new Parse(this, input, fragments, ranges);
|
|
1466
|
-
for (let w of this.wrappers) parse = w(parse, input, fragments, ranges);
|
|
1467
|
-
return parse;
|
|
1468
|
-
}
|
|
1469
|
-
/// Get a goto table entry @internal
|
|
1470
|
-
getGoto(state, term) {
|
|
1471
|
-
let loose = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
1472
|
-
let table = this.goto;
|
|
1473
|
-
if (term >= table[0]) return -1;
|
|
1474
|
-
for (let pos = table[term + 1];;) {
|
|
1475
|
-
let groupTag = table[pos++],
|
|
1476
|
-
last = groupTag & 1;
|
|
1477
|
-
let target = table[pos++];
|
|
1478
|
-
if (last && loose) return target;
|
|
1479
|
-
for (let end = pos + (groupTag >> 1); pos < end; pos++) if (table[pos] == state) return target;
|
|
1480
|
-
if (last) return -1;
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
/// Check if this state has an action for a given terminal @internal
|
|
1484
|
-
hasAction(state, terminal) {
|
|
1485
|
-
let data = this.data;
|
|
1486
|
-
for (let set = 0; set < 2; set++) {
|
|
1487
|
-
for (let i = this.stateSlot(state, set ? 2 /* ParseState.Skip */ : 1 /* ParseState.Actions */), next;; i += 3) {
|
|
1488
|
-
if ((next = data[i]) == 65535 /* Seq.End */) {
|
|
1489
|
-
if (data[i + 1] == 1 /* Seq.Next */) next = data[i = pair(data, i + 2)];else if (data[i + 1] == 2 /* Seq.Other */) return pair(data, i + 2);else break;
|
|
1490
|
-
}
|
|
1491
|
-
if (next == terminal || next == 0 /* Term.Err */) return pair(data, i + 1);
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
return 0;
|
|
1495
|
-
}
|
|
1496
|
-
/// @internal
|
|
1497
|
-
stateSlot(state, slot) {
|
|
1498
|
-
return this.states[state * 6 /* ParseState.Size */ + slot];
|
|
1499
|
-
}
|
|
1500
|
-
/// @internal
|
|
1501
|
-
stateFlag(state, flag) {
|
|
1502
|
-
return (this.stateSlot(state, 0 /* ParseState.Flags */) & flag) > 0;
|
|
1503
|
-
}
|
|
1504
|
-
/// @internal
|
|
1505
|
-
validAction(state, action) {
|
|
1506
|
-
return !!this.allActions(state, a => a == action ? true : null);
|
|
1507
|
-
}
|
|
1508
|
-
/// @internal
|
|
1509
|
-
allActions(state, action) {
|
|
1510
|
-
let deflt = this.stateSlot(state, 4 /* ParseState.DefaultReduce */);
|
|
1511
|
-
let result = deflt ? action(deflt) : undefined;
|
|
1512
|
-
for (let i = this.stateSlot(state, 1 /* ParseState.Actions */); result == null; i += 3) {
|
|
1513
|
-
if (this.data[i] == 65535 /* Seq.End */) {
|
|
1514
|
-
if (this.data[i + 1] == 1 /* Seq.Next */) i = pair(this.data, i + 2);else break;
|
|
1515
|
-
}
|
|
1516
|
-
result = action(pair(this.data, i + 1));
|
|
1517
|
-
}
|
|
1518
|
-
return result;
|
|
1519
|
-
}
|
|
1520
|
-
/// Get the states that can follow this one through shift actions or
|
|
1521
|
-
/// goto jumps. @internal
|
|
1522
|
-
nextStates(state) {
|
|
1523
|
-
let result = [];
|
|
1524
|
-
for (let i = this.stateSlot(state, 1 /* ParseState.Actions */);; i += 3) {
|
|
1525
|
-
if (this.data[i] == 65535 /* Seq.End */) {
|
|
1526
|
-
if (this.data[i + 1] == 1 /* Seq.Next */) i = pair(this.data, i + 2);else break;
|
|
1527
|
-
}
|
|
1528
|
-
if ((this.data[i + 2] & 65536 /* Action.ReduceFlag */ >> 16) == 0) {
|
|
1529
|
-
let value = this.data[i + 1];
|
|
1530
|
-
if (!result.some((v, i) => i & 1 && v == value)) result.push(this.data[i], value);
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
return result;
|
|
1534
|
-
}
|
|
1535
|
-
/// Configure the parser. Returns a new parser instance that has the
|
|
1536
|
-
/// given settings modified. Settings not provided in `config` are
|
|
1537
|
-
/// kept from the original parser.
|
|
1538
|
-
configure(config) {
|
|
1539
|
-
// Hideous reflection-based kludge to make it easy to create a
|
|
1540
|
-
// slightly modified copy of a parser.
|
|
1541
|
-
let copy = Object.assign(Object.create(LRParser.prototype), this);
|
|
1542
|
-
if (config.props) copy.nodeSet = this.nodeSet.extend(...config.props);
|
|
1543
|
-
if (config.top) {
|
|
1544
|
-
let info = this.topRules[config.top];
|
|
1545
|
-
if (!info) throw new RangeError(`Invalid top rule name ${config.top}`);
|
|
1546
|
-
copy.top = info;
|
|
1547
|
-
}
|
|
1548
|
-
if (config.tokenizers) copy.tokenizers = this.tokenizers.map(t => {
|
|
1549
|
-
let found = config.tokenizers.find(r => r.from == t);
|
|
1550
|
-
return found ? found.to : t;
|
|
1551
|
-
});
|
|
1552
|
-
if (config.specializers) {
|
|
1553
|
-
copy.specializers = this.specializers.slice();
|
|
1554
|
-
copy.specializerSpecs = this.specializerSpecs.map((s, i) => {
|
|
1555
|
-
let found = config.specializers.find(r => r.from == s.external);
|
|
1556
|
-
if (!found) return s;
|
|
1557
|
-
let spec = Object.assign(Object.assign({}, s), {
|
|
1558
|
-
external: found.to
|
|
1559
|
-
});
|
|
1560
|
-
copy.specializers[i] = getSpecializer(spec);
|
|
1561
|
-
return spec;
|
|
1562
|
-
});
|
|
1563
|
-
}
|
|
1564
|
-
if (config.contextTracker) copy.context = config.contextTracker;
|
|
1565
|
-
if (config.dialect) copy.dialect = this.parseDialect(config.dialect);
|
|
1566
|
-
if (config.strict != null) copy.strict = config.strict;
|
|
1567
|
-
if (config.wrap) copy.wrappers = copy.wrappers.concat(config.wrap);
|
|
1568
|
-
if (config.bufferLength != null) copy.bufferLength = config.bufferLength;
|
|
1569
|
-
return copy;
|
|
1570
|
-
}
|
|
1571
|
-
/// Tells you whether any [parse wrappers](#lr.ParserConfig.wrap)
|
|
1572
|
-
/// are registered for this parser.
|
|
1573
|
-
hasWrappers() {
|
|
1574
|
-
return this.wrappers.length > 0;
|
|
1575
|
-
}
|
|
1576
|
-
/// Returns the name associated with a given term. This will only
|
|
1577
|
-
/// work for all terms when the parser was generated with the
|
|
1578
|
-
/// `--names` option. By default, only the names of tagged terms are
|
|
1579
|
-
/// stored.
|
|
1580
|
-
getName(term) {
|
|
1581
|
-
return this.termNames ? this.termNames[term] : String(term <= this.maxNode && this.nodeSet.types[term].name || term);
|
|
1582
|
-
}
|
|
1583
|
-
/// The eof term id is always allocated directly after the node
|
|
1584
|
-
/// types. @internal
|
|
1585
|
-
get eofTerm() {
|
|
1586
|
-
return this.maxNode + 1;
|
|
1587
|
-
}
|
|
1588
|
-
/// The type of top node produced by the parser.
|
|
1589
|
-
get topNode() {
|
|
1590
|
-
return this.nodeSet.types[this.top[1]];
|
|
1591
|
-
}
|
|
1592
|
-
/// @internal
|
|
1593
|
-
dynamicPrecedence(term) {
|
|
1594
|
-
let prec = this.dynamicPrecedences;
|
|
1595
|
-
return prec == null ? 0 : prec[term] || 0;
|
|
1596
|
-
}
|
|
1597
|
-
/// @internal
|
|
1598
|
-
parseDialect(dialect) {
|
|
1599
|
-
let values = Object.keys(this.dialects),
|
|
1600
|
-
flags = values.map(() => false);
|
|
1601
|
-
if (dialect) for (let part of dialect.split(" ")) {
|
|
1602
|
-
let id = values.indexOf(part);
|
|
1603
|
-
if (id >= 0) flags[id] = true;
|
|
1604
|
-
}
|
|
1605
|
-
let disabled = null;
|
|
1606
|
-
for (let i = 0; i < values.length; i++) if (!flags[i]) {
|
|
1607
|
-
for (let j = this.dialects[values[i]], id; (id = this.data[j++]) != 65535 /* Seq.End */;) (disabled || (disabled = new Uint8Array(this.maxTerm + 1)))[id] = 1;
|
|
1608
|
-
}
|
|
1609
|
-
return new Dialect(dialect, flags, disabled);
|
|
1610
|
-
}
|
|
1611
|
-
/// Used by the output of the parser generator. Not available to
|
|
1612
|
-
/// user code. @hide
|
|
1613
|
-
static deserialize(spec) {
|
|
1614
|
-
return new LRParser(spec);
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
function pair(data, off) {
|
|
1618
|
-
return data[off] | data[off + 1] << 16;
|
|
1619
|
-
}
|
|
1620
|
-
function findFinished(stacks) {
|
|
1621
|
-
let best = null;
|
|
1622
|
-
for (let stack of stacks) {
|
|
1623
|
-
let stopped = stack.p.stoppedAt;
|
|
1624
|
-
if ((stack.pos == stack.p.stream.end || stopped != null && stack.pos > stopped) && stack.p.parser.stateFlag(stack.state, 2 /* StateFlag.Accepting */) && (!best || best.score < stack.score)) best = stack;
|
|
1625
|
-
}
|
|
1626
|
-
return best;
|
|
1627
|
-
}
|
|
1628
|
-
function getSpecializer(spec) {
|
|
1629
|
-
if (spec.external) {
|
|
1630
|
-
let mask = spec.extend ? 1 /* Specialize.Extend */ : 0 /* Specialize.Specialize */;
|
|
1631
|
-
return (value, stack) => spec.external(value, stack) << 1 | mask;
|
|
1632
|
-
}
|
|
1633
|
-
return spec.get;
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
export { ContextTracker as C, ExternalTokenizer as E, LRParser as L, LocalTokenGroup as a };
|