@onereach/ui-components 8.3.1 → 8.4.0-beta.3653.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-56c993c9.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-3f78b50a.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-a3df65d0.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/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-b5541e8a.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-7c6155ec.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-8e93dfbc.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-004191cf.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-ce2f935d.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-e08e43a4.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-bae73a11.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-0a5ec298.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-6608e26d.js → v2/components/OrCodeV3-6cf8786e.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-a8fd02f4.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-385b36b7.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-8eacc14c.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-e5e9ae73.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-2a884d32.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-afeb334c.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-ba1e4bfe.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-93cd2d91.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-4d75450e.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-43deef9a.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-8c97a748.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-dbcbe140.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-58bf57d3.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-96ab91d2.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-27721d1a.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-b7306559.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-f369037b.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-785c9cb4.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-7e033be9.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-f514dbe4.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-14f7725c.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-c991c475.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-590b465b.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-2ed5bb91.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-9e3412a7.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-39d41774.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-e1a24b86.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-dda38b72.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-746fc406.js → components/OrListV3-89fc240d.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-ac6fb35c.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-1f9e504e.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-f642c1e3.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-daa83157.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-fa3bcbc9.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-06ae8301.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-d081cbd5.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-1d426176.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-e3e14417.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-f8030d25.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-4635fa2a.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-c1b1d2b3.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-adc0cd8f.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-911ab48c.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-192407a3.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-80ce7587.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-f9bbbb8e.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-39f0fc69.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-faa32728.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-14fef364.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-5a8ea9fb.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-a76598f2.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-c2ec11e7.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-a3d692df.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 -76
- package/dist/bundled/v2/components/OrTabV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTabV3/styles.js +1 -19
- package/dist/bundled/v2/components/OrTabV3-39ec082e.js +93 -0
- package/dist/bundled/v2/components/OrTabs/OrTabs.js +1 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +2 -216
- 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.js +1 -31
- package/dist/bundled/v2/components/OrTabsV3-530007de.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-429cc3b9.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-b2630912.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-aadd26d4.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-93a6a4eb.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-17c9dea1.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-501a7cfd.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-9e374805.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-57c942b6.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-3bcd711c.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-d94d464a.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-f1194c3f.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-9ef1918a.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 +91 -172
- 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 -3750
- package/dist/bundled/v2/hooks/useToggle.js +2 -23
- package/dist/bundled/v2/hooks/useValidationAttributes.js +2 -16
- package/dist/bundled/v2/index.js +92 -197
- 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/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
- package/package.json +13 -13
- package/dist/bundled/v2/OrDateTimePickerMonthSelect-18ba0793.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-248139f6.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/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-b6e741bc.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-21ef5ff5.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-5a64e05d.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-e59aa8b4.js +0 -193
- package/dist/bundled/v3/OrDateRangePicker.vue_vue_type_script_lang-736e93bd.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-238e7a86.js +0 -260
- package/dist/bundled/v3/OrDateTimePickerMonthSelect.vue_vue_type_script_lang-f5d0e738.js +0 -336
- package/dist/bundled/v3/OrDateTimePickerPopoverHeader-57dbb127.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-6c4f3216.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-a678b2c3.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-75a4d0b4.js +0 -132
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-2520e0f2.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-4218ec79.js +0 -208
- package/dist/bundled/v3/OrList.vue_vue_type_script_lang-8df85a8d.js +0 -1008
- 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-8a3c6cfc.js +0 -76
- package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-11569833.js +0 -39
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-70904ce1.js +0 -101
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-9b908bb2.js +0 -163
- package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-4d7bb6fd.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-dcc37a32.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-cb38a064.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-206b8321.js +0 -150
- package/dist/bundled/v3/OrResizeablePanel.vue_vue_type_script_lang-ce7a2c31.js +0 -187
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-ee6edbe6.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-33e6f81a.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-4b6e13dd.js +0 -747
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-baf7c270.js +0 -1267
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-12bfe1fb.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-e2eb7acc.js +0 -115
- package/dist/bundled/v3/OrSorting.vue_vue_type_script_lang-cbce5820.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-886e334a.js +0 -26
- 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-ab443a23.js +0 -134
- package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-27978933.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-af84dfd0.js +0 -202
- package/dist/bundled/v3/OrTags.vue_vue_type_script_lang-15f2054e.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-017d79ec.js +0 -191
- package/dist/bundled/v3/OrTimeRangePicker.vue_vue_type_script_lang-d4690ca9.js +0 -202
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-7a137b51.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-8ae35930.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/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 -19
- package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +0 -21
- 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 -19
- 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 -65
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +0 -57
- 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 -118
- package/dist/bundled/v3/components/index.js +0 -199
- 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 -300
- 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,3 +1,3040 @@
|
|
|
1
|
+
import { R as RX_ABBREVIATION_FROM_STRING } from './OrAvatarV3-3f78b50a.js';
|
|
2
|
+
import { effectScope, isRef, ref, watch, unref, customRef, getCurrentScope, onScopeDispose, computed, toRefs as toRefs$1, getCurrentInstance, onMounted, nextTick, reactive, isVue2, watchEffect, readonly, useAttrs, isVue3, defineComponent } from 'vue-demi';
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrOverlayV3-d081cbd5.js';
|
|
4
|
+
import { n as normalizeComponent } from './OrAvatar-56c993c9.js';
|
|
5
|
+
|
|
6
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
|
+
|
|
8
|
+
function getDefaultExportFromCjs (x) {
|
|
9
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
14
|
+
* and has a `typeof` result of "object".
|
|
15
|
+
*
|
|
16
|
+
* @static
|
|
17
|
+
* @memberOf _
|
|
18
|
+
* @since 4.0.0
|
|
19
|
+
* @category Lang
|
|
20
|
+
* @param {*} value The value to check.
|
|
21
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
22
|
+
* @example
|
|
23
|
+
*
|
|
24
|
+
* _.isObjectLike({});
|
|
25
|
+
* // => true
|
|
26
|
+
*
|
|
27
|
+
* _.isObjectLike([1, 2, 3]);
|
|
28
|
+
* // => true
|
|
29
|
+
*
|
|
30
|
+
* _.isObjectLike(_.noop);
|
|
31
|
+
* // => false
|
|
32
|
+
*
|
|
33
|
+
* _.isObjectLike(null);
|
|
34
|
+
* // => false
|
|
35
|
+
*/
|
|
36
|
+
function isObjectLike$3(value) {
|
|
37
|
+
return value != null && typeof value == 'object';
|
|
38
|
+
}
|
|
39
|
+
var isObjectLike_1 = isObjectLike$3;
|
|
40
|
+
|
|
41
|
+
/** Detect free variable `global` from Node.js. */
|
|
42
|
+
var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
43
|
+
var _freeGlobal = freeGlobal$1;
|
|
44
|
+
|
|
45
|
+
var freeGlobal = _freeGlobal;
|
|
46
|
+
|
|
47
|
+
/** Detect free variable `self`. */
|
|
48
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
49
|
+
|
|
50
|
+
/** Used as a reference to the global object. */
|
|
51
|
+
var root$3 = freeGlobal || freeSelf || Function('return this')();
|
|
52
|
+
var _root = root$3;
|
|
53
|
+
|
|
54
|
+
var root$2 = _root;
|
|
55
|
+
|
|
56
|
+
/** Built-in value references. */
|
|
57
|
+
var Symbol$4 = root$2.Symbol;
|
|
58
|
+
var _Symbol = Symbol$4;
|
|
59
|
+
|
|
60
|
+
var Symbol$3 = _Symbol;
|
|
61
|
+
|
|
62
|
+
/** Used for built-in method references. */
|
|
63
|
+
var objectProto$5 = Object.prototype;
|
|
64
|
+
|
|
65
|
+
/** Used to check objects for own properties. */
|
|
66
|
+
var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Used to resolve the
|
|
70
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
71
|
+
* of values.
|
|
72
|
+
*/
|
|
73
|
+
var nativeObjectToString$1 = objectProto$5.toString;
|
|
74
|
+
|
|
75
|
+
/** Built-in value references. */
|
|
76
|
+
var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : undefined;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
80
|
+
*
|
|
81
|
+
* @private
|
|
82
|
+
* @param {*} value The value to query.
|
|
83
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
84
|
+
*/
|
|
85
|
+
function getRawTag$1(value) {
|
|
86
|
+
var isOwn = hasOwnProperty$4.call(value, symToStringTag$1),
|
|
87
|
+
tag = value[symToStringTag$1];
|
|
88
|
+
try {
|
|
89
|
+
value[symToStringTag$1] = undefined;
|
|
90
|
+
var unmasked = true;
|
|
91
|
+
} catch (e) {}
|
|
92
|
+
var result = nativeObjectToString$1.call(value);
|
|
93
|
+
if (unmasked) {
|
|
94
|
+
if (isOwn) {
|
|
95
|
+
value[symToStringTag$1] = tag;
|
|
96
|
+
} else {
|
|
97
|
+
delete value[symToStringTag$1];
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return result;
|
|
101
|
+
}
|
|
102
|
+
var _getRawTag = getRawTag$1;
|
|
103
|
+
|
|
104
|
+
/** Used for built-in method references. */
|
|
105
|
+
var objectProto$4 = Object.prototype;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Used to resolve the
|
|
109
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
110
|
+
* of values.
|
|
111
|
+
*/
|
|
112
|
+
var nativeObjectToString = objectProto$4.toString;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
116
|
+
*
|
|
117
|
+
* @private
|
|
118
|
+
* @param {*} value The value to convert.
|
|
119
|
+
* @returns {string} Returns the converted string.
|
|
120
|
+
*/
|
|
121
|
+
function objectToString$1(value) {
|
|
122
|
+
return nativeObjectToString.call(value);
|
|
123
|
+
}
|
|
124
|
+
var _objectToString = objectToString$1;
|
|
125
|
+
|
|
126
|
+
var Symbol$2 = _Symbol,
|
|
127
|
+
getRawTag = _getRawTag,
|
|
128
|
+
objectToString = _objectToString;
|
|
129
|
+
|
|
130
|
+
/** `Object#toString` result references. */
|
|
131
|
+
var nullTag = '[object Null]',
|
|
132
|
+
undefinedTag = '[object Undefined]';
|
|
133
|
+
|
|
134
|
+
/** Built-in value references. */
|
|
135
|
+
var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : undefined;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
139
|
+
*
|
|
140
|
+
* @private
|
|
141
|
+
* @param {*} value The value to query.
|
|
142
|
+
* @returns {string} Returns the `toStringTag`.
|
|
143
|
+
*/
|
|
144
|
+
function baseGetTag$3(value) {
|
|
145
|
+
if (value == null) {
|
|
146
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
147
|
+
}
|
|
148
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
149
|
+
}
|
|
150
|
+
var _baseGetTag = baseGetTag$3;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
154
|
+
*
|
|
155
|
+
* @private
|
|
156
|
+
* @param {Function} func The function to wrap.
|
|
157
|
+
* @param {Function} transform The argument transform.
|
|
158
|
+
* @returns {Function} Returns the new function.
|
|
159
|
+
*/
|
|
160
|
+
function overArg$1(func, transform) {
|
|
161
|
+
return function (arg) {
|
|
162
|
+
return func(transform(arg));
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
var _overArg = overArg$1;
|
|
166
|
+
|
|
167
|
+
var overArg = _overArg;
|
|
168
|
+
|
|
169
|
+
/** Built-in value references. */
|
|
170
|
+
var getPrototype$1 = overArg(Object.getPrototypeOf, Object);
|
|
171
|
+
var _getPrototype = getPrototype$1;
|
|
172
|
+
|
|
173
|
+
var baseGetTag$2 = _baseGetTag,
|
|
174
|
+
getPrototype = _getPrototype,
|
|
175
|
+
isObjectLike$2 = isObjectLike_1;
|
|
176
|
+
|
|
177
|
+
/** `Object#toString` result references. */
|
|
178
|
+
var objectTag = '[object Object]';
|
|
179
|
+
|
|
180
|
+
/** Used for built-in method references. */
|
|
181
|
+
var funcProto$2 = Function.prototype,
|
|
182
|
+
objectProto$3 = Object.prototype;
|
|
183
|
+
|
|
184
|
+
/** Used to resolve the decompiled source of functions. */
|
|
185
|
+
var funcToString$2 = funcProto$2.toString;
|
|
186
|
+
|
|
187
|
+
/** Used to check objects for own properties. */
|
|
188
|
+
var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
|
|
189
|
+
|
|
190
|
+
/** Used to infer the `Object` constructor. */
|
|
191
|
+
var objectCtorString = funcToString$2.call(Object);
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Checks if `value` is a plain object, that is, an object created by the
|
|
195
|
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
196
|
+
*
|
|
197
|
+
* @static
|
|
198
|
+
* @memberOf _
|
|
199
|
+
* @since 0.8.0
|
|
200
|
+
* @category Lang
|
|
201
|
+
* @param {*} value The value to check.
|
|
202
|
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
203
|
+
* @example
|
|
204
|
+
*
|
|
205
|
+
* function Foo() {
|
|
206
|
+
* this.a = 1;
|
|
207
|
+
* }
|
|
208
|
+
*
|
|
209
|
+
* _.isPlainObject(new Foo);
|
|
210
|
+
* // => false
|
|
211
|
+
*
|
|
212
|
+
* _.isPlainObject([1, 2, 3]);
|
|
213
|
+
* // => false
|
|
214
|
+
*
|
|
215
|
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
216
|
+
* // => true
|
|
217
|
+
*
|
|
218
|
+
* _.isPlainObject(Object.create(null));
|
|
219
|
+
* // => true
|
|
220
|
+
*/
|
|
221
|
+
function isPlainObject$1(value) {
|
|
222
|
+
if (!isObjectLike$2(value) || baseGetTag$2(value) != objectTag) {
|
|
223
|
+
return false;
|
|
224
|
+
}
|
|
225
|
+
var proto = getPrototype(value);
|
|
226
|
+
if (proto === null) {
|
|
227
|
+
return true;
|
|
228
|
+
}
|
|
229
|
+
var Ctor = hasOwnProperty$3.call(proto, 'constructor') && proto.constructor;
|
|
230
|
+
return typeof Ctor == 'function' && Ctor instanceof Ctor && funcToString$2.call(Ctor) == objectCtorString;
|
|
231
|
+
}
|
|
232
|
+
var isPlainObject_1 = isPlainObject$1;
|
|
233
|
+
|
|
234
|
+
var isObjectLike$1 = isObjectLike_1,
|
|
235
|
+
isPlainObject = isPlainObject_1;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Checks if `value` is likely a DOM element.
|
|
239
|
+
*
|
|
240
|
+
* @static
|
|
241
|
+
* @memberOf _
|
|
242
|
+
* @since 0.1.0
|
|
243
|
+
* @category Lang
|
|
244
|
+
* @param {*} value The value to check.
|
|
245
|
+
* @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
|
|
246
|
+
* @example
|
|
247
|
+
*
|
|
248
|
+
* _.isElement(document.body);
|
|
249
|
+
* // => true
|
|
250
|
+
*
|
|
251
|
+
* _.isElement('<body>');
|
|
252
|
+
* // => false
|
|
253
|
+
*/
|
|
254
|
+
function isElement(value) {
|
|
255
|
+
return isObjectLike$1(value) && value.nodeType === 1 && !isPlainObject(value);
|
|
256
|
+
}
|
|
257
|
+
var isElement_1 = isElement;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Checks if `value` is classified as an `Array` object.
|
|
261
|
+
*
|
|
262
|
+
* @static
|
|
263
|
+
* @memberOf _
|
|
264
|
+
* @since 0.1.0
|
|
265
|
+
* @category Lang
|
|
266
|
+
* @param {*} value The value to check.
|
|
267
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
268
|
+
* @example
|
|
269
|
+
*
|
|
270
|
+
* _.isArray([1, 2, 3]);
|
|
271
|
+
* // => true
|
|
272
|
+
*
|
|
273
|
+
* _.isArray(document.body.children);
|
|
274
|
+
* // => false
|
|
275
|
+
*
|
|
276
|
+
* _.isArray('abc');
|
|
277
|
+
* // => false
|
|
278
|
+
*
|
|
279
|
+
* _.isArray(_.noop);
|
|
280
|
+
* // => false
|
|
281
|
+
*/
|
|
282
|
+
var isArray$3 = Array.isArray;
|
|
283
|
+
var isArray_1 = isArray$3;
|
|
284
|
+
|
|
285
|
+
var baseGetTag$1 = _baseGetTag,
|
|
286
|
+
isObjectLike = isObjectLike_1;
|
|
287
|
+
|
|
288
|
+
/** `Object#toString` result references. */
|
|
289
|
+
var symbolTag = '[object Symbol]';
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
293
|
+
*
|
|
294
|
+
* @static
|
|
295
|
+
* @memberOf _
|
|
296
|
+
* @since 4.0.0
|
|
297
|
+
* @category Lang
|
|
298
|
+
* @param {*} value The value to check.
|
|
299
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
300
|
+
* @example
|
|
301
|
+
*
|
|
302
|
+
* _.isSymbol(Symbol.iterator);
|
|
303
|
+
* // => true
|
|
304
|
+
*
|
|
305
|
+
* _.isSymbol('abc');
|
|
306
|
+
* // => false
|
|
307
|
+
*/
|
|
308
|
+
function isSymbol$3(value) {
|
|
309
|
+
return typeof value == 'symbol' || isObjectLike(value) && baseGetTag$1(value) == symbolTag;
|
|
310
|
+
}
|
|
311
|
+
var isSymbol_1 = isSymbol$3;
|
|
312
|
+
|
|
313
|
+
var isArray$2 = isArray_1,
|
|
314
|
+
isSymbol$2 = isSymbol_1;
|
|
315
|
+
|
|
316
|
+
/** Used to match property names within property paths. */
|
|
317
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
318
|
+
reIsPlainProp = /^\w*$/;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Checks if `value` is a property name and not a property path.
|
|
322
|
+
*
|
|
323
|
+
* @private
|
|
324
|
+
* @param {*} value The value to check.
|
|
325
|
+
* @param {Object} [object] The object to query keys on.
|
|
326
|
+
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
|
327
|
+
*/
|
|
328
|
+
function isKey$1(value, object) {
|
|
329
|
+
if (isArray$2(value)) {
|
|
330
|
+
return false;
|
|
331
|
+
}
|
|
332
|
+
var type = typeof value;
|
|
333
|
+
if (type == 'number' || type == 'symbol' || type == 'boolean' || value == null || isSymbol$2(value)) {
|
|
334
|
+
return true;
|
|
335
|
+
}
|
|
336
|
+
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
337
|
+
}
|
|
338
|
+
var _isKey = isKey$1;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Checks if `value` is the
|
|
342
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
343
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
344
|
+
*
|
|
345
|
+
* @static
|
|
346
|
+
* @memberOf _
|
|
347
|
+
* @since 0.1.0
|
|
348
|
+
* @category Lang
|
|
349
|
+
* @param {*} value The value to check.
|
|
350
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
351
|
+
* @example
|
|
352
|
+
*
|
|
353
|
+
* _.isObject({});
|
|
354
|
+
* // => true
|
|
355
|
+
*
|
|
356
|
+
* _.isObject([1, 2, 3]);
|
|
357
|
+
* // => true
|
|
358
|
+
*
|
|
359
|
+
* _.isObject(_.noop);
|
|
360
|
+
* // => true
|
|
361
|
+
*
|
|
362
|
+
* _.isObject(null);
|
|
363
|
+
* // => false
|
|
364
|
+
*/
|
|
365
|
+
function isObject$2(value) {
|
|
366
|
+
var type = typeof value;
|
|
367
|
+
return value != null && (type == 'object' || type == 'function');
|
|
368
|
+
}
|
|
369
|
+
var isObject_1 = isObject$2;
|
|
370
|
+
|
|
371
|
+
var baseGetTag = _baseGetTag,
|
|
372
|
+
isObject$1 = isObject_1;
|
|
373
|
+
|
|
374
|
+
/** `Object#toString` result references. */
|
|
375
|
+
var asyncTag = '[object AsyncFunction]',
|
|
376
|
+
funcTag = '[object Function]',
|
|
377
|
+
genTag = '[object GeneratorFunction]',
|
|
378
|
+
proxyTag = '[object Proxy]';
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Checks if `value` is classified as a `Function` object.
|
|
382
|
+
*
|
|
383
|
+
* @static
|
|
384
|
+
* @memberOf _
|
|
385
|
+
* @since 0.1.0
|
|
386
|
+
* @category Lang
|
|
387
|
+
* @param {*} value The value to check.
|
|
388
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
389
|
+
* @example
|
|
390
|
+
*
|
|
391
|
+
* _.isFunction(_);
|
|
392
|
+
* // => true
|
|
393
|
+
*
|
|
394
|
+
* _.isFunction(/abc/);
|
|
395
|
+
* // => false
|
|
396
|
+
*/
|
|
397
|
+
function isFunction$2(value) {
|
|
398
|
+
if (!isObject$1(value)) {
|
|
399
|
+
return false;
|
|
400
|
+
}
|
|
401
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
402
|
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
403
|
+
var tag = baseGetTag(value);
|
|
404
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
405
|
+
}
|
|
406
|
+
var isFunction_1 = isFunction$2;
|
|
407
|
+
|
|
408
|
+
var root$1 = _root;
|
|
409
|
+
|
|
410
|
+
/** Used to detect overreaching core-js shims. */
|
|
411
|
+
var coreJsData$1 = root$1['__core-js_shared__'];
|
|
412
|
+
var _coreJsData = coreJsData$1;
|
|
413
|
+
|
|
414
|
+
var coreJsData = _coreJsData;
|
|
415
|
+
|
|
416
|
+
/** Used to detect methods masquerading as native. */
|
|
417
|
+
var maskSrcKey = function () {
|
|
418
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
|
|
419
|
+
return uid ? 'Symbol(src)_1.' + uid : '';
|
|
420
|
+
}();
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* Checks if `func` has its source masked.
|
|
424
|
+
*
|
|
425
|
+
* @private
|
|
426
|
+
* @param {Function} func The function to check.
|
|
427
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
428
|
+
*/
|
|
429
|
+
function isMasked$1(func) {
|
|
430
|
+
return !!maskSrcKey && maskSrcKey in func;
|
|
431
|
+
}
|
|
432
|
+
var _isMasked = isMasked$1;
|
|
433
|
+
|
|
434
|
+
/** Used for built-in method references. */
|
|
435
|
+
var funcProto$1 = Function.prototype;
|
|
436
|
+
|
|
437
|
+
/** Used to resolve the decompiled source of functions. */
|
|
438
|
+
var funcToString$1 = funcProto$1.toString;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Converts `func` to its source code.
|
|
442
|
+
*
|
|
443
|
+
* @private
|
|
444
|
+
* @param {Function} func The function to convert.
|
|
445
|
+
* @returns {string} Returns the source code.
|
|
446
|
+
*/
|
|
447
|
+
function toSource$1(func) {
|
|
448
|
+
if (func != null) {
|
|
449
|
+
try {
|
|
450
|
+
return funcToString$1.call(func);
|
|
451
|
+
} catch (e) {}
|
|
452
|
+
try {
|
|
453
|
+
return func + '';
|
|
454
|
+
} catch (e) {}
|
|
455
|
+
}
|
|
456
|
+
return '';
|
|
457
|
+
}
|
|
458
|
+
var _toSource = toSource$1;
|
|
459
|
+
|
|
460
|
+
var isFunction$1 = isFunction_1,
|
|
461
|
+
isMasked = _isMasked,
|
|
462
|
+
isObject = isObject_1,
|
|
463
|
+
toSource = _toSource;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Used to match `RegExp`
|
|
467
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
468
|
+
*/
|
|
469
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
470
|
+
|
|
471
|
+
/** Used to detect host constructors (Safari). */
|
|
472
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
473
|
+
|
|
474
|
+
/** Used for built-in method references. */
|
|
475
|
+
var funcProto = Function.prototype,
|
|
476
|
+
objectProto$2 = Object.prototype;
|
|
477
|
+
|
|
478
|
+
/** Used to resolve the decompiled source of functions. */
|
|
479
|
+
var funcToString = funcProto.toString;
|
|
480
|
+
|
|
481
|
+
/** Used to check objects for own properties. */
|
|
482
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
483
|
+
|
|
484
|
+
/** Used to detect if a method is native. */
|
|
485
|
+
var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$');
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
489
|
+
*
|
|
490
|
+
* @private
|
|
491
|
+
* @param {*} value The value to check.
|
|
492
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
493
|
+
* else `false`.
|
|
494
|
+
*/
|
|
495
|
+
function baseIsNative$1(value) {
|
|
496
|
+
if (!isObject(value) || isMasked(value)) {
|
|
497
|
+
return false;
|
|
498
|
+
}
|
|
499
|
+
var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
|
|
500
|
+
return pattern.test(toSource(value));
|
|
501
|
+
}
|
|
502
|
+
var _baseIsNative = baseIsNative$1;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Gets the value at `key` of `object`.
|
|
506
|
+
*
|
|
507
|
+
* @private
|
|
508
|
+
* @param {Object} [object] The object to query.
|
|
509
|
+
* @param {string} key The key of the property to get.
|
|
510
|
+
* @returns {*} Returns the property value.
|
|
511
|
+
*/
|
|
512
|
+
function getValue$1(object, key) {
|
|
513
|
+
return object == null ? undefined : object[key];
|
|
514
|
+
}
|
|
515
|
+
var _getValue = getValue$1;
|
|
516
|
+
|
|
517
|
+
var baseIsNative = _baseIsNative,
|
|
518
|
+
getValue = _getValue;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Gets the native function at `key` of `object`.
|
|
522
|
+
*
|
|
523
|
+
* @private
|
|
524
|
+
* @param {Object} object The object to query.
|
|
525
|
+
* @param {string} key The key of the method to get.
|
|
526
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
527
|
+
*/
|
|
528
|
+
function getNative$2(object, key) {
|
|
529
|
+
var value = getValue(object, key);
|
|
530
|
+
return baseIsNative(value) ? value : undefined;
|
|
531
|
+
}
|
|
532
|
+
var _getNative = getNative$2;
|
|
533
|
+
|
|
534
|
+
var getNative$1 = _getNative;
|
|
535
|
+
|
|
536
|
+
/* Built-in method references that are verified to be native. */
|
|
537
|
+
var nativeCreate$4 = getNative$1(Object, 'create');
|
|
538
|
+
var _nativeCreate = nativeCreate$4;
|
|
539
|
+
|
|
540
|
+
var nativeCreate$3 = _nativeCreate;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Removes all key-value entries from the hash.
|
|
544
|
+
*
|
|
545
|
+
* @private
|
|
546
|
+
* @name clear
|
|
547
|
+
* @memberOf Hash
|
|
548
|
+
*/
|
|
549
|
+
function hashClear$1() {
|
|
550
|
+
this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
|
|
551
|
+
this.size = 0;
|
|
552
|
+
}
|
|
553
|
+
var _hashClear = hashClear$1;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Removes `key` and its value from the hash.
|
|
557
|
+
*
|
|
558
|
+
* @private
|
|
559
|
+
* @name delete
|
|
560
|
+
* @memberOf Hash
|
|
561
|
+
* @param {Object} hash The hash to modify.
|
|
562
|
+
* @param {string} key The key of the value to remove.
|
|
563
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
564
|
+
*/
|
|
565
|
+
function hashDelete$1(key) {
|
|
566
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
567
|
+
this.size -= result ? 1 : 0;
|
|
568
|
+
return result;
|
|
569
|
+
}
|
|
570
|
+
var _hashDelete = hashDelete$1;
|
|
571
|
+
|
|
572
|
+
var nativeCreate$2 = _nativeCreate;
|
|
573
|
+
|
|
574
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
575
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
576
|
+
|
|
577
|
+
/** Used for built-in method references. */
|
|
578
|
+
var objectProto$1 = Object.prototype;
|
|
579
|
+
|
|
580
|
+
/** Used to check objects for own properties. */
|
|
581
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Gets the hash value for `key`.
|
|
585
|
+
*
|
|
586
|
+
* @private
|
|
587
|
+
* @name get
|
|
588
|
+
* @memberOf Hash
|
|
589
|
+
* @param {string} key The key of the value to get.
|
|
590
|
+
* @returns {*} Returns the entry value.
|
|
591
|
+
*/
|
|
592
|
+
function hashGet$1(key) {
|
|
593
|
+
var data = this.__data__;
|
|
594
|
+
if (nativeCreate$2) {
|
|
595
|
+
var result = data[key];
|
|
596
|
+
return result === HASH_UNDEFINED$1 ? undefined : result;
|
|
597
|
+
}
|
|
598
|
+
return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
|
|
599
|
+
}
|
|
600
|
+
var _hashGet = hashGet$1;
|
|
601
|
+
|
|
602
|
+
var nativeCreate$1 = _nativeCreate;
|
|
603
|
+
|
|
604
|
+
/** Used for built-in method references. */
|
|
605
|
+
var objectProto = Object.prototype;
|
|
606
|
+
|
|
607
|
+
/** Used to check objects for own properties. */
|
|
608
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Checks if a hash value for `key` exists.
|
|
612
|
+
*
|
|
613
|
+
* @private
|
|
614
|
+
* @name has
|
|
615
|
+
* @memberOf Hash
|
|
616
|
+
* @param {string} key The key of the entry to check.
|
|
617
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
618
|
+
*/
|
|
619
|
+
function hashHas$1(key) {
|
|
620
|
+
var data = this.__data__;
|
|
621
|
+
return nativeCreate$1 ? data[key] !== undefined : hasOwnProperty.call(data, key);
|
|
622
|
+
}
|
|
623
|
+
var _hashHas = hashHas$1;
|
|
624
|
+
|
|
625
|
+
var nativeCreate = _nativeCreate;
|
|
626
|
+
|
|
627
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
628
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Sets the hash `key` to `value`.
|
|
632
|
+
*
|
|
633
|
+
* @private
|
|
634
|
+
* @name set
|
|
635
|
+
* @memberOf Hash
|
|
636
|
+
* @param {string} key The key of the value to set.
|
|
637
|
+
* @param {*} value The value to set.
|
|
638
|
+
* @returns {Object} Returns the hash instance.
|
|
639
|
+
*/
|
|
640
|
+
function hashSet$1(key, value) {
|
|
641
|
+
var data = this.__data__;
|
|
642
|
+
this.size += this.has(key) ? 0 : 1;
|
|
643
|
+
data[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;
|
|
644
|
+
return this;
|
|
645
|
+
}
|
|
646
|
+
var _hashSet = hashSet$1;
|
|
647
|
+
|
|
648
|
+
var hashClear = _hashClear,
|
|
649
|
+
hashDelete = _hashDelete,
|
|
650
|
+
hashGet = _hashGet,
|
|
651
|
+
hashHas = _hashHas,
|
|
652
|
+
hashSet = _hashSet;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Creates a hash object.
|
|
656
|
+
*
|
|
657
|
+
* @private
|
|
658
|
+
* @constructor
|
|
659
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
660
|
+
*/
|
|
661
|
+
function Hash$1(entries) {
|
|
662
|
+
var index = -1,
|
|
663
|
+
length = entries == null ? 0 : entries.length;
|
|
664
|
+
this.clear();
|
|
665
|
+
while (++index < length) {
|
|
666
|
+
var entry = entries[index];
|
|
667
|
+
this.set(entry[0], entry[1]);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
// Add methods to `Hash`.
|
|
672
|
+
Hash$1.prototype.clear = hashClear;
|
|
673
|
+
Hash$1.prototype['delete'] = hashDelete;
|
|
674
|
+
Hash$1.prototype.get = hashGet;
|
|
675
|
+
Hash$1.prototype.has = hashHas;
|
|
676
|
+
Hash$1.prototype.set = hashSet;
|
|
677
|
+
var _Hash = Hash$1;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Removes all key-value entries from the list cache.
|
|
681
|
+
*
|
|
682
|
+
* @private
|
|
683
|
+
* @name clear
|
|
684
|
+
* @memberOf ListCache
|
|
685
|
+
*/
|
|
686
|
+
function listCacheClear$1() {
|
|
687
|
+
this.__data__ = [];
|
|
688
|
+
this.size = 0;
|
|
689
|
+
}
|
|
690
|
+
var _listCacheClear = listCacheClear$1;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Performs a
|
|
694
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
695
|
+
* comparison between two values to determine if they are equivalent.
|
|
696
|
+
*
|
|
697
|
+
* @static
|
|
698
|
+
* @memberOf _
|
|
699
|
+
* @since 4.0.0
|
|
700
|
+
* @category Lang
|
|
701
|
+
* @param {*} value The value to compare.
|
|
702
|
+
* @param {*} other The other value to compare.
|
|
703
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
704
|
+
* @example
|
|
705
|
+
*
|
|
706
|
+
* var object = { 'a': 1 };
|
|
707
|
+
* var other = { 'a': 1 };
|
|
708
|
+
*
|
|
709
|
+
* _.eq(object, object);
|
|
710
|
+
* // => true
|
|
711
|
+
*
|
|
712
|
+
* _.eq(object, other);
|
|
713
|
+
* // => false
|
|
714
|
+
*
|
|
715
|
+
* _.eq('a', 'a');
|
|
716
|
+
* // => true
|
|
717
|
+
*
|
|
718
|
+
* _.eq('a', Object('a'));
|
|
719
|
+
* // => false
|
|
720
|
+
*
|
|
721
|
+
* _.eq(NaN, NaN);
|
|
722
|
+
* // => true
|
|
723
|
+
*/
|
|
724
|
+
function eq$1(value, other) {
|
|
725
|
+
return value === other || value !== value && other !== other;
|
|
726
|
+
}
|
|
727
|
+
var eq_1 = eq$1;
|
|
728
|
+
|
|
729
|
+
var eq = eq_1;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
733
|
+
*
|
|
734
|
+
* @private
|
|
735
|
+
* @param {Array} array The array to inspect.
|
|
736
|
+
* @param {*} key The key to search for.
|
|
737
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
738
|
+
*/
|
|
739
|
+
function assocIndexOf$4(array, key) {
|
|
740
|
+
var length = array.length;
|
|
741
|
+
while (length--) {
|
|
742
|
+
if (eq(array[length][0], key)) {
|
|
743
|
+
return length;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
return -1;
|
|
747
|
+
}
|
|
748
|
+
var _assocIndexOf = assocIndexOf$4;
|
|
749
|
+
|
|
750
|
+
var assocIndexOf$3 = _assocIndexOf;
|
|
751
|
+
|
|
752
|
+
/** Used for built-in method references. */
|
|
753
|
+
var arrayProto = Array.prototype;
|
|
754
|
+
|
|
755
|
+
/** Built-in value references. */
|
|
756
|
+
var splice = arrayProto.splice;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Removes `key` and its value from the list cache.
|
|
760
|
+
*
|
|
761
|
+
* @private
|
|
762
|
+
* @name delete
|
|
763
|
+
* @memberOf ListCache
|
|
764
|
+
* @param {string} key The key of the value to remove.
|
|
765
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
766
|
+
*/
|
|
767
|
+
function listCacheDelete$1(key) {
|
|
768
|
+
var data = this.__data__,
|
|
769
|
+
index = assocIndexOf$3(data, key);
|
|
770
|
+
if (index < 0) {
|
|
771
|
+
return false;
|
|
772
|
+
}
|
|
773
|
+
var lastIndex = data.length - 1;
|
|
774
|
+
if (index == lastIndex) {
|
|
775
|
+
data.pop();
|
|
776
|
+
} else {
|
|
777
|
+
splice.call(data, index, 1);
|
|
778
|
+
}
|
|
779
|
+
--this.size;
|
|
780
|
+
return true;
|
|
781
|
+
}
|
|
782
|
+
var _listCacheDelete = listCacheDelete$1;
|
|
783
|
+
|
|
784
|
+
var assocIndexOf$2 = _assocIndexOf;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Gets the list cache value for `key`.
|
|
788
|
+
*
|
|
789
|
+
* @private
|
|
790
|
+
* @name get
|
|
791
|
+
* @memberOf ListCache
|
|
792
|
+
* @param {string} key The key of the value to get.
|
|
793
|
+
* @returns {*} Returns the entry value.
|
|
794
|
+
*/
|
|
795
|
+
function listCacheGet$1(key) {
|
|
796
|
+
var data = this.__data__,
|
|
797
|
+
index = assocIndexOf$2(data, key);
|
|
798
|
+
return index < 0 ? undefined : data[index][1];
|
|
799
|
+
}
|
|
800
|
+
var _listCacheGet = listCacheGet$1;
|
|
801
|
+
|
|
802
|
+
var assocIndexOf$1 = _assocIndexOf;
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Checks if a list cache value for `key` exists.
|
|
806
|
+
*
|
|
807
|
+
* @private
|
|
808
|
+
* @name has
|
|
809
|
+
* @memberOf ListCache
|
|
810
|
+
* @param {string} key The key of the entry to check.
|
|
811
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
812
|
+
*/
|
|
813
|
+
function listCacheHas$1(key) {
|
|
814
|
+
return assocIndexOf$1(this.__data__, key) > -1;
|
|
815
|
+
}
|
|
816
|
+
var _listCacheHas = listCacheHas$1;
|
|
817
|
+
|
|
818
|
+
var assocIndexOf = _assocIndexOf;
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Sets the list cache `key` to `value`.
|
|
822
|
+
*
|
|
823
|
+
* @private
|
|
824
|
+
* @name set
|
|
825
|
+
* @memberOf ListCache
|
|
826
|
+
* @param {string} key The key of the value to set.
|
|
827
|
+
* @param {*} value The value to set.
|
|
828
|
+
* @returns {Object} Returns the list cache instance.
|
|
829
|
+
*/
|
|
830
|
+
function listCacheSet$1(key, value) {
|
|
831
|
+
var data = this.__data__,
|
|
832
|
+
index = assocIndexOf(data, key);
|
|
833
|
+
if (index < 0) {
|
|
834
|
+
++this.size;
|
|
835
|
+
data.push([key, value]);
|
|
836
|
+
} else {
|
|
837
|
+
data[index][1] = value;
|
|
838
|
+
}
|
|
839
|
+
return this;
|
|
840
|
+
}
|
|
841
|
+
var _listCacheSet = listCacheSet$1;
|
|
842
|
+
|
|
843
|
+
var listCacheClear = _listCacheClear,
|
|
844
|
+
listCacheDelete = _listCacheDelete,
|
|
845
|
+
listCacheGet = _listCacheGet,
|
|
846
|
+
listCacheHas = _listCacheHas,
|
|
847
|
+
listCacheSet = _listCacheSet;
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* Creates an list cache object.
|
|
851
|
+
*
|
|
852
|
+
* @private
|
|
853
|
+
* @constructor
|
|
854
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
855
|
+
*/
|
|
856
|
+
function ListCache$1(entries) {
|
|
857
|
+
var index = -1,
|
|
858
|
+
length = entries == null ? 0 : entries.length;
|
|
859
|
+
this.clear();
|
|
860
|
+
while (++index < length) {
|
|
861
|
+
var entry = entries[index];
|
|
862
|
+
this.set(entry[0], entry[1]);
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
// Add methods to `ListCache`.
|
|
867
|
+
ListCache$1.prototype.clear = listCacheClear;
|
|
868
|
+
ListCache$1.prototype['delete'] = listCacheDelete;
|
|
869
|
+
ListCache$1.prototype.get = listCacheGet;
|
|
870
|
+
ListCache$1.prototype.has = listCacheHas;
|
|
871
|
+
ListCache$1.prototype.set = listCacheSet;
|
|
872
|
+
var _ListCache = ListCache$1;
|
|
873
|
+
|
|
874
|
+
var getNative = _getNative,
|
|
875
|
+
root = _root;
|
|
876
|
+
|
|
877
|
+
/* Built-in method references that are verified to be native. */
|
|
878
|
+
var Map$2 = getNative(root, 'Map');
|
|
879
|
+
var _Map = Map$2;
|
|
880
|
+
|
|
881
|
+
var Hash = _Hash,
|
|
882
|
+
ListCache = _ListCache,
|
|
883
|
+
Map$1 = _Map;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Removes all key-value entries from the map.
|
|
887
|
+
*
|
|
888
|
+
* @private
|
|
889
|
+
* @name clear
|
|
890
|
+
* @memberOf MapCache
|
|
891
|
+
*/
|
|
892
|
+
function mapCacheClear$1() {
|
|
893
|
+
this.size = 0;
|
|
894
|
+
this.__data__ = {
|
|
895
|
+
'hash': new Hash(),
|
|
896
|
+
'map': new (Map$1 || ListCache)(),
|
|
897
|
+
'string': new Hash()
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
var _mapCacheClear = mapCacheClear$1;
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Checks if `value` is suitable for use as unique object key.
|
|
904
|
+
*
|
|
905
|
+
* @private
|
|
906
|
+
* @param {*} value The value to check.
|
|
907
|
+
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
908
|
+
*/
|
|
909
|
+
function isKeyable$1(value) {
|
|
910
|
+
var type = typeof value;
|
|
911
|
+
return type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean' ? value !== '__proto__' : value === null;
|
|
912
|
+
}
|
|
913
|
+
var _isKeyable = isKeyable$1;
|
|
914
|
+
|
|
915
|
+
var isKeyable = _isKeyable;
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Gets the data for `map`.
|
|
919
|
+
*
|
|
920
|
+
* @private
|
|
921
|
+
* @param {Object} map The map to query.
|
|
922
|
+
* @param {string} key The reference key.
|
|
923
|
+
* @returns {*} Returns the map data.
|
|
924
|
+
*/
|
|
925
|
+
function getMapData$4(map, key) {
|
|
926
|
+
var data = map.__data__;
|
|
927
|
+
return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;
|
|
928
|
+
}
|
|
929
|
+
var _getMapData = getMapData$4;
|
|
930
|
+
|
|
931
|
+
var getMapData$3 = _getMapData;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Removes `key` and its value from the map.
|
|
935
|
+
*
|
|
936
|
+
* @private
|
|
937
|
+
* @name delete
|
|
938
|
+
* @memberOf MapCache
|
|
939
|
+
* @param {string} key The key of the value to remove.
|
|
940
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
941
|
+
*/
|
|
942
|
+
function mapCacheDelete$1(key) {
|
|
943
|
+
var result = getMapData$3(this, key)['delete'](key);
|
|
944
|
+
this.size -= result ? 1 : 0;
|
|
945
|
+
return result;
|
|
946
|
+
}
|
|
947
|
+
var _mapCacheDelete = mapCacheDelete$1;
|
|
948
|
+
|
|
949
|
+
var getMapData$2 = _getMapData;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Gets the map value for `key`.
|
|
953
|
+
*
|
|
954
|
+
* @private
|
|
955
|
+
* @name get
|
|
956
|
+
* @memberOf MapCache
|
|
957
|
+
* @param {string} key The key of the value to get.
|
|
958
|
+
* @returns {*} Returns the entry value.
|
|
959
|
+
*/
|
|
960
|
+
function mapCacheGet$1(key) {
|
|
961
|
+
return getMapData$2(this, key).get(key);
|
|
962
|
+
}
|
|
963
|
+
var _mapCacheGet = mapCacheGet$1;
|
|
964
|
+
|
|
965
|
+
var getMapData$1 = _getMapData;
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Checks if a map value for `key` exists.
|
|
969
|
+
*
|
|
970
|
+
* @private
|
|
971
|
+
* @name has
|
|
972
|
+
* @memberOf MapCache
|
|
973
|
+
* @param {string} key The key of the entry to check.
|
|
974
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
975
|
+
*/
|
|
976
|
+
function mapCacheHas$1(key) {
|
|
977
|
+
return getMapData$1(this, key).has(key);
|
|
978
|
+
}
|
|
979
|
+
var _mapCacheHas = mapCacheHas$1;
|
|
980
|
+
|
|
981
|
+
var getMapData = _getMapData;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Sets the map `key` to `value`.
|
|
985
|
+
*
|
|
986
|
+
* @private
|
|
987
|
+
* @name set
|
|
988
|
+
* @memberOf MapCache
|
|
989
|
+
* @param {string} key The key of the value to set.
|
|
990
|
+
* @param {*} value The value to set.
|
|
991
|
+
* @returns {Object} Returns the map cache instance.
|
|
992
|
+
*/
|
|
993
|
+
function mapCacheSet$1(key, value) {
|
|
994
|
+
var data = getMapData(this, key),
|
|
995
|
+
size = data.size;
|
|
996
|
+
data.set(key, value);
|
|
997
|
+
this.size += data.size == size ? 0 : 1;
|
|
998
|
+
return this;
|
|
999
|
+
}
|
|
1000
|
+
var _mapCacheSet = mapCacheSet$1;
|
|
1001
|
+
|
|
1002
|
+
var mapCacheClear = _mapCacheClear,
|
|
1003
|
+
mapCacheDelete = _mapCacheDelete,
|
|
1004
|
+
mapCacheGet = _mapCacheGet,
|
|
1005
|
+
mapCacheHas = _mapCacheHas,
|
|
1006
|
+
mapCacheSet = _mapCacheSet;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Creates a map cache object to store key-value pairs.
|
|
1010
|
+
*
|
|
1011
|
+
* @private
|
|
1012
|
+
* @constructor
|
|
1013
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
1014
|
+
*/
|
|
1015
|
+
function MapCache$1(entries) {
|
|
1016
|
+
var index = -1,
|
|
1017
|
+
length = entries == null ? 0 : entries.length;
|
|
1018
|
+
this.clear();
|
|
1019
|
+
while (++index < length) {
|
|
1020
|
+
var entry = entries[index];
|
|
1021
|
+
this.set(entry[0], entry[1]);
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
// Add methods to `MapCache`.
|
|
1026
|
+
MapCache$1.prototype.clear = mapCacheClear;
|
|
1027
|
+
MapCache$1.prototype['delete'] = mapCacheDelete;
|
|
1028
|
+
MapCache$1.prototype.get = mapCacheGet;
|
|
1029
|
+
MapCache$1.prototype.has = mapCacheHas;
|
|
1030
|
+
MapCache$1.prototype.set = mapCacheSet;
|
|
1031
|
+
var _MapCache = MapCache$1;
|
|
1032
|
+
|
|
1033
|
+
var MapCache = _MapCache;
|
|
1034
|
+
|
|
1035
|
+
/** Error message constants. */
|
|
1036
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* Creates a function that memoizes the result of `func`. If `resolver` is
|
|
1040
|
+
* provided, it determines the cache key for storing the result based on the
|
|
1041
|
+
* arguments provided to the memoized function. By default, the first argument
|
|
1042
|
+
* provided to the memoized function is used as the map cache key. The `func`
|
|
1043
|
+
* is invoked with the `this` binding of the memoized function.
|
|
1044
|
+
*
|
|
1045
|
+
* **Note:** The cache is exposed as the `cache` property on the memoized
|
|
1046
|
+
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
|
1047
|
+
* constructor with one whose instances implement the
|
|
1048
|
+
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
|
1049
|
+
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
|
1050
|
+
*
|
|
1051
|
+
* @static
|
|
1052
|
+
* @memberOf _
|
|
1053
|
+
* @since 0.1.0
|
|
1054
|
+
* @category Function
|
|
1055
|
+
* @param {Function} func The function to have its output memoized.
|
|
1056
|
+
* @param {Function} [resolver] The function to resolve the cache key.
|
|
1057
|
+
* @returns {Function} Returns the new memoized function.
|
|
1058
|
+
* @example
|
|
1059
|
+
*
|
|
1060
|
+
* var object = { 'a': 1, 'b': 2 };
|
|
1061
|
+
* var other = { 'c': 3, 'd': 4 };
|
|
1062
|
+
*
|
|
1063
|
+
* var values = _.memoize(_.values);
|
|
1064
|
+
* values(object);
|
|
1065
|
+
* // => [1, 2]
|
|
1066
|
+
*
|
|
1067
|
+
* values(other);
|
|
1068
|
+
* // => [3, 4]
|
|
1069
|
+
*
|
|
1070
|
+
* object.a = 2;
|
|
1071
|
+
* values(object);
|
|
1072
|
+
* // => [1, 2]
|
|
1073
|
+
*
|
|
1074
|
+
* // Modify the result cache.
|
|
1075
|
+
* values.cache.set(object, ['a', 'b']);
|
|
1076
|
+
* values(object);
|
|
1077
|
+
* // => ['a', 'b']
|
|
1078
|
+
*
|
|
1079
|
+
* // Replace `_.memoize.Cache`.
|
|
1080
|
+
* _.memoize.Cache = WeakMap;
|
|
1081
|
+
*/
|
|
1082
|
+
function memoize$1(func, resolver) {
|
|
1083
|
+
if (typeof func != 'function' || resolver != null && typeof resolver != 'function') {
|
|
1084
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1085
|
+
}
|
|
1086
|
+
var memoized = function () {
|
|
1087
|
+
var args = arguments,
|
|
1088
|
+
key = resolver ? resolver.apply(this, args) : args[0],
|
|
1089
|
+
cache = memoized.cache;
|
|
1090
|
+
if (cache.has(key)) {
|
|
1091
|
+
return cache.get(key);
|
|
1092
|
+
}
|
|
1093
|
+
var result = func.apply(this, args);
|
|
1094
|
+
memoized.cache = cache.set(key, result) || cache;
|
|
1095
|
+
return result;
|
|
1096
|
+
};
|
|
1097
|
+
memoized.cache = new (memoize$1.Cache || MapCache)();
|
|
1098
|
+
return memoized;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
// Expose `MapCache`.
|
|
1102
|
+
memoize$1.Cache = MapCache;
|
|
1103
|
+
var memoize_1 = memoize$1;
|
|
1104
|
+
|
|
1105
|
+
var memoize = memoize_1;
|
|
1106
|
+
|
|
1107
|
+
/** Used as the maximum memoize cache size. */
|
|
1108
|
+
var MAX_MEMOIZE_SIZE = 500;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* A specialized version of `_.memoize` which clears the memoized function's
|
|
1112
|
+
* cache when it exceeds `MAX_MEMOIZE_SIZE`.
|
|
1113
|
+
*
|
|
1114
|
+
* @private
|
|
1115
|
+
* @param {Function} func The function to have its output memoized.
|
|
1116
|
+
* @returns {Function} Returns the new memoized function.
|
|
1117
|
+
*/
|
|
1118
|
+
function memoizeCapped$1(func) {
|
|
1119
|
+
var result = memoize(func, function (key) {
|
|
1120
|
+
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
1121
|
+
cache.clear();
|
|
1122
|
+
}
|
|
1123
|
+
return key;
|
|
1124
|
+
});
|
|
1125
|
+
var cache = result.cache;
|
|
1126
|
+
return result;
|
|
1127
|
+
}
|
|
1128
|
+
var _memoizeCapped = memoizeCapped$1;
|
|
1129
|
+
|
|
1130
|
+
var memoizeCapped = _memoizeCapped;
|
|
1131
|
+
|
|
1132
|
+
/** Used to match property names within property paths. */
|
|
1133
|
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
1134
|
+
|
|
1135
|
+
/** Used to match backslashes in property paths. */
|
|
1136
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Converts `string` to a property path array.
|
|
1140
|
+
*
|
|
1141
|
+
* @private
|
|
1142
|
+
* @param {string} string The string to convert.
|
|
1143
|
+
* @returns {Array} Returns the property path array.
|
|
1144
|
+
*/
|
|
1145
|
+
var stringToPath$1 = memoizeCapped(function (string) {
|
|
1146
|
+
var result = [];
|
|
1147
|
+
if (string.charCodeAt(0) === 46 /* . */) {
|
|
1148
|
+
result.push('');
|
|
1149
|
+
}
|
|
1150
|
+
string.replace(rePropName, function (match, number, quote, subString) {
|
|
1151
|
+
result.push(quote ? subString.replace(reEscapeChar, '$1') : number || match);
|
|
1152
|
+
});
|
|
1153
|
+
return result;
|
|
1154
|
+
});
|
|
1155
|
+
var _stringToPath = stringToPath$1;
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
1159
|
+
* shorthands.
|
|
1160
|
+
*
|
|
1161
|
+
* @private
|
|
1162
|
+
* @param {Array} [array] The array to iterate over.
|
|
1163
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
1164
|
+
* @returns {Array} Returns the new mapped array.
|
|
1165
|
+
*/
|
|
1166
|
+
function arrayMap$1(array, iteratee) {
|
|
1167
|
+
var index = -1,
|
|
1168
|
+
length = array == null ? 0 : array.length,
|
|
1169
|
+
result = Array(length);
|
|
1170
|
+
while (++index < length) {
|
|
1171
|
+
result[index] = iteratee(array[index], index, array);
|
|
1172
|
+
}
|
|
1173
|
+
return result;
|
|
1174
|
+
}
|
|
1175
|
+
var _arrayMap = arrayMap$1;
|
|
1176
|
+
|
|
1177
|
+
var Symbol$1 = _Symbol,
|
|
1178
|
+
arrayMap = _arrayMap,
|
|
1179
|
+
isArray$1 = isArray_1,
|
|
1180
|
+
isSymbol$1 = isSymbol_1;
|
|
1181
|
+
|
|
1182
|
+
/** Used as references for various `Number` constants. */
|
|
1183
|
+
var INFINITY$1 = 1 / 0;
|
|
1184
|
+
|
|
1185
|
+
/** Used to convert symbols to primitives and strings. */
|
|
1186
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
|
|
1187
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
1191
|
+
* values to empty strings.
|
|
1192
|
+
*
|
|
1193
|
+
* @private
|
|
1194
|
+
* @param {*} value The value to process.
|
|
1195
|
+
* @returns {string} Returns the string.
|
|
1196
|
+
*/
|
|
1197
|
+
function baseToString$1(value) {
|
|
1198
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
1199
|
+
if (typeof value == 'string') {
|
|
1200
|
+
return value;
|
|
1201
|
+
}
|
|
1202
|
+
if (isArray$1(value)) {
|
|
1203
|
+
// Recursively convert values (susceptible to call stack limits).
|
|
1204
|
+
return arrayMap(value, baseToString$1) + '';
|
|
1205
|
+
}
|
|
1206
|
+
if (isSymbol$1(value)) {
|
|
1207
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
1208
|
+
}
|
|
1209
|
+
var result = value + '';
|
|
1210
|
+
return result == '0' && 1 / value == -INFINITY$1 ? '-0' : result;
|
|
1211
|
+
}
|
|
1212
|
+
var _baseToString = baseToString$1;
|
|
1213
|
+
|
|
1214
|
+
var baseToString = _baseToString;
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
1218
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
1219
|
+
*
|
|
1220
|
+
* @static
|
|
1221
|
+
* @memberOf _
|
|
1222
|
+
* @since 4.0.0
|
|
1223
|
+
* @category Lang
|
|
1224
|
+
* @param {*} value The value to convert.
|
|
1225
|
+
* @returns {string} Returns the converted string.
|
|
1226
|
+
* @example
|
|
1227
|
+
*
|
|
1228
|
+
* _.toString(null);
|
|
1229
|
+
* // => ''
|
|
1230
|
+
*
|
|
1231
|
+
* _.toString(-0);
|
|
1232
|
+
* // => '-0'
|
|
1233
|
+
*
|
|
1234
|
+
* _.toString([1, 2, 3]);
|
|
1235
|
+
* // => '1,2,3'
|
|
1236
|
+
*/
|
|
1237
|
+
function toString$1(value) {
|
|
1238
|
+
return value == null ? '' : baseToString(value);
|
|
1239
|
+
}
|
|
1240
|
+
var toString_1 = toString$1;
|
|
1241
|
+
|
|
1242
|
+
var isArray = isArray_1,
|
|
1243
|
+
isKey = _isKey,
|
|
1244
|
+
stringToPath = _stringToPath,
|
|
1245
|
+
toString = toString_1;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Casts `value` to a path array if it's not one.
|
|
1249
|
+
*
|
|
1250
|
+
* @private
|
|
1251
|
+
* @param {*} value The value to inspect.
|
|
1252
|
+
* @param {Object} [object] The object to query keys on.
|
|
1253
|
+
* @returns {Array} Returns the cast property path array.
|
|
1254
|
+
*/
|
|
1255
|
+
function castPath$1(value, object) {
|
|
1256
|
+
if (isArray(value)) {
|
|
1257
|
+
return value;
|
|
1258
|
+
}
|
|
1259
|
+
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
1260
|
+
}
|
|
1261
|
+
var _castPath = castPath$1;
|
|
1262
|
+
|
|
1263
|
+
var isSymbol = isSymbol_1;
|
|
1264
|
+
|
|
1265
|
+
/** Used as references for various `Number` constants. */
|
|
1266
|
+
var INFINITY = 1 / 0;
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* Converts `value` to a string key if it's not a string or symbol.
|
|
1270
|
+
*
|
|
1271
|
+
* @private
|
|
1272
|
+
* @param {*} value The value to inspect.
|
|
1273
|
+
* @returns {string|symbol} Returns the key.
|
|
1274
|
+
*/
|
|
1275
|
+
function toKey$1(value) {
|
|
1276
|
+
if (typeof value == 'string' || isSymbol(value)) {
|
|
1277
|
+
return value;
|
|
1278
|
+
}
|
|
1279
|
+
var result = value + '';
|
|
1280
|
+
return result == '0' && 1 / value == -INFINITY ? '-0' : result;
|
|
1281
|
+
}
|
|
1282
|
+
var _toKey = toKey$1;
|
|
1283
|
+
|
|
1284
|
+
var castPath = _castPath,
|
|
1285
|
+
toKey = _toKey;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* The base implementation of `_.get` without support for default values.
|
|
1289
|
+
*
|
|
1290
|
+
* @private
|
|
1291
|
+
* @param {Object} object The object to query.
|
|
1292
|
+
* @param {Array|string} path The path of the property to get.
|
|
1293
|
+
* @returns {*} Returns the resolved value.
|
|
1294
|
+
*/
|
|
1295
|
+
function baseGet$1(object, path) {
|
|
1296
|
+
path = castPath(path, object);
|
|
1297
|
+
var index = 0,
|
|
1298
|
+
length = path.length;
|
|
1299
|
+
while (object != null && index < length) {
|
|
1300
|
+
object = object[toKey(path[index++])];
|
|
1301
|
+
}
|
|
1302
|
+
return index && index == length ? object : undefined;
|
|
1303
|
+
}
|
|
1304
|
+
var _baseGet = baseGet$1;
|
|
1305
|
+
|
|
1306
|
+
var baseGet = _baseGet;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Gets the value at `path` of `object`. If the resolved value is
|
|
1310
|
+
* `undefined`, the `defaultValue` is returned in its place.
|
|
1311
|
+
*
|
|
1312
|
+
* @static
|
|
1313
|
+
* @memberOf _
|
|
1314
|
+
* @since 3.7.0
|
|
1315
|
+
* @category Object
|
|
1316
|
+
* @param {Object} object The object to query.
|
|
1317
|
+
* @param {Array|string} path The path of the property to get.
|
|
1318
|
+
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
|
1319
|
+
* @returns {*} Returns the resolved value.
|
|
1320
|
+
* @example
|
|
1321
|
+
*
|
|
1322
|
+
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
|
1323
|
+
*
|
|
1324
|
+
* _.get(object, 'a[0].b.c');
|
|
1325
|
+
* // => 3
|
|
1326
|
+
*
|
|
1327
|
+
* _.get(object, ['a', '0', 'b', 'c']);
|
|
1328
|
+
* // => 3
|
|
1329
|
+
*
|
|
1330
|
+
* _.get(object, 'a.b.c', 'default');
|
|
1331
|
+
* // => 'default'
|
|
1332
|
+
*/
|
|
1333
|
+
function get(object, path, defaultValue) {
|
|
1334
|
+
var result = object == null ? undefined : baseGet(object, path);
|
|
1335
|
+
return result === undefined ? defaultValue : result;
|
|
1336
|
+
}
|
|
1337
|
+
var get_1 = get;
|
|
1338
|
+
|
|
1339
|
+
const WINDOW = typeof window !== 'undefined' ? window : null;
|
|
1340
|
+
const MutationObs = (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.MutationObserver) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.WebKitMutationObserver) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.MozMutationObserver) || null;
|
|
1341
|
+
const requestAF = ((WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.requestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.webkitRequestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.mozRequestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.msRequestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.oRequestAnimationFrame) || (
|
|
1342
|
+
// Fallback, but not a true polyfill
|
|
1343
|
+
// Only needed for Opera Mini
|
|
1344
|
+
cb => setTimeout(cb, 16))).bind(WINDOW);
|
|
1345
|
+
// eslint-disable-next-line no-unsafe-optional-chaining
|
|
1346
|
+
const cancelAF = ((WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.cancelAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.mozCancelAnimationFrame)).bind(WINDOW);
|
|
1347
|
+
// Remove a node from DOM
|
|
1348
|
+
const removeNode = el => {
|
|
1349
|
+
el && el.parentNode && el.parentNode.removeChild(el);
|
|
1350
|
+
};
|
|
1351
|
+
// Determine if an HTML element is visible - Faster than CSS check
|
|
1352
|
+
const isVisible$1 = el => {
|
|
1353
|
+
if (!isElement_1(el) || !el.parentNode || !contains(document.body, el)) {
|
|
1354
|
+
// Note this can fail for shadow dom elements since they
|
|
1355
|
+
// are not a direct descendant of document.body
|
|
1356
|
+
return false;
|
|
1357
|
+
}
|
|
1358
|
+
if (getStyle(el, 'display') === 'none') {
|
|
1359
|
+
// We do this check to help with vue-test-utils when using v-show
|
|
1360
|
+
return false;
|
|
1361
|
+
}
|
|
1362
|
+
// All browsers support getBoundingClientRect(), except JSDOM as it returns all 0's for values :(
|
|
1363
|
+
// So any tests that need isVisible will fail in JSDOM
|
|
1364
|
+
// Except when we override the getBCR prototype in some tests
|
|
1365
|
+
const bcr = getBCR(el);
|
|
1366
|
+
return !!(bcr && bcr.height > 0 && bcr.width > 0);
|
|
1367
|
+
};
|
|
1368
|
+
// Cause/wait-for an element to reflow its content (adjusting its height/width)
|
|
1369
|
+
const reflow = el => {
|
|
1370
|
+
// Requesting an elements offsetHeight will trigger a reflow of the element content
|
|
1371
|
+
return get_1(el, ['offsetHeight'], null);
|
|
1372
|
+
};
|
|
1373
|
+
// Select all elements matching selector. Returns `[]` if none found
|
|
1374
|
+
const selectAll = (selector, root) => [...(root && isElement_1(root) ? root : document).querySelectorAll(selector)];
|
|
1375
|
+
// Select a single element, returns `null` if not found
|
|
1376
|
+
const select = (selector, root) => (root && isElement_1(root) ? root : document).querySelector(selector) || null;
|
|
1377
|
+
// Returns true if the parent element contains the child element
|
|
1378
|
+
const contains = (parent, child) => parent && typeof parent.contains === 'function' ? parent.contains(child) : false;
|
|
1379
|
+
// Get an element given an ID
|
|
1380
|
+
const getById = id => document.getElementById(/^#/.test(id) ? id.slice(1) : id) || null;
|
|
1381
|
+
// Add a class to an element
|
|
1382
|
+
const addClass = (el, className) => {
|
|
1383
|
+
// We are checking for `el.classList` existence here since IE 11
|
|
1384
|
+
// returns `undefined` for some elements (e.g. SVG elements)
|
|
1385
|
+
if (className && isElement_1(el) && el.classList) {
|
|
1386
|
+
el.classList.add(className);
|
|
1387
|
+
}
|
|
1388
|
+
};
|
|
1389
|
+
// Remove a class from an element
|
|
1390
|
+
const removeClass = (el, className) => {
|
|
1391
|
+
// We are checking for `el.classList` existence here since IE 11
|
|
1392
|
+
// returns `undefined` for some elements (e.g. SVG elements)
|
|
1393
|
+
if (className && isElement_1(el) && el.classList) el.classList.remove(className);
|
|
1394
|
+
};
|
|
1395
|
+
// Test if an element has a class
|
|
1396
|
+
const hasClass = (el, className) => {
|
|
1397
|
+
// We are checking for `el.classList` existence here since IE 11
|
|
1398
|
+
// returns `undefined` for some elements (e.g. SVG elements)
|
|
1399
|
+
if (className && isElement_1(el) && el.classList) return el.classList.contains(className);
|
|
1400
|
+
return false;
|
|
1401
|
+
};
|
|
1402
|
+
// Set an attribute on an element
|
|
1403
|
+
const setAttr = (el, attr, value) => {
|
|
1404
|
+
if (attr && isElement_1(el)) {
|
|
1405
|
+
el.setAttribute(attr, value);
|
|
1406
|
+
}
|
|
1407
|
+
};
|
|
1408
|
+
// Remove an attribute from an element
|
|
1409
|
+
const removeAttr = (el, attr) => {
|
|
1410
|
+
if (attr && isElement_1(el)) {
|
|
1411
|
+
el.removeAttribute(attr);
|
|
1412
|
+
}
|
|
1413
|
+
};
|
|
1414
|
+
// Get an attribute value from an element
|
|
1415
|
+
const getAttr = (el, attr) => attr && isElement_1(el) ? el.getAttribute(attr) : null;
|
|
1416
|
+
// Determine if an attribute exists on an element
|
|
1417
|
+
// Returns `true` or `false`, or `null` if element not found
|
|
1418
|
+
const hasAttr = (el, attr) => attr && isElement_1(el) ? el.hasAttribute(attr) : null;
|
|
1419
|
+
// Set an style property on an element
|
|
1420
|
+
const setStyle = (el, prop, value) => {
|
|
1421
|
+
if (prop && isElement_1(el)) {
|
|
1422
|
+
el.style[prop] = value;
|
|
1423
|
+
}
|
|
1424
|
+
};
|
|
1425
|
+
// Remove an style property from an element
|
|
1426
|
+
const removeStyle = (el, prop) => {
|
|
1427
|
+
if (prop && isElement_1(el)) {
|
|
1428
|
+
el.style[prop] = '';
|
|
1429
|
+
}
|
|
1430
|
+
};
|
|
1431
|
+
// Get an style property value from an element
|
|
1432
|
+
// Returns `null` if not found
|
|
1433
|
+
const getStyle = (el, prop) => prop && isElement_1(el) ? el.style[prop] || null : null;
|
|
1434
|
+
// Return the Bounding Client Rect of an element
|
|
1435
|
+
const getBCR = el => isElement_1(el) ? el.getBoundingClientRect() : null;
|
|
1436
|
+
// Get computed style object for an element
|
|
1437
|
+
const getCS = el => get_1(WINDOW, 'getComputedStyle', null) && isElement_1(el) ? getComputedStyle(el) : {};
|
|
1438
|
+
// Return an element's offset with respect to document element
|
|
1439
|
+
const offset = el => {
|
|
1440
|
+
const _offset = {
|
|
1441
|
+
top: 0,
|
|
1442
|
+
left: 0
|
|
1443
|
+
};
|
|
1444
|
+
if (!isElement_1(el) || el.getClientRects().length === 0) {
|
|
1445
|
+
return _offset;
|
|
1446
|
+
}
|
|
1447
|
+
const bcr = getBCR(el);
|
|
1448
|
+
if (bcr) {
|
|
1449
|
+
const win = el.ownerDocument.defaultView;
|
|
1450
|
+
_offset.top = bcr.top + get_1(win, 'pageYOffset', 0);
|
|
1451
|
+
_offset.left = bcr.left + get_1(win, 'pageXOffset', 0);
|
|
1452
|
+
}
|
|
1453
|
+
return _offset;
|
|
1454
|
+
};
|
|
1455
|
+
// Return an element's offset with respect to to its offsetParent
|
|
1456
|
+
const position = el => {
|
|
1457
|
+
let _offset = {
|
|
1458
|
+
top: 0,
|
|
1459
|
+
left: 0
|
|
1460
|
+
};
|
|
1461
|
+
if (!isElement_1(el)) {
|
|
1462
|
+
return _offset;
|
|
1463
|
+
}
|
|
1464
|
+
let parentOffset = {
|
|
1465
|
+
top: 0,
|
|
1466
|
+
left: 0
|
|
1467
|
+
};
|
|
1468
|
+
const elStyles = getCS(el);
|
|
1469
|
+
if (elStyles.position === 'fixed') {
|
|
1470
|
+
_offset = getBCR(el) || _offset;
|
|
1471
|
+
} else {
|
|
1472
|
+
_offset = offset(el);
|
|
1473
|
+
const doc = el.ownerDocument;
|
|
1474
|
+
let offsetParent = el.offsetParent || doc.documentElement;
|
|
1475
|
+
while (offsetParent && (offsetParent === doc.body || offsetParent === doc.documentElement) && getCS(offsetParent).position === 'static') {
|
|
1476
|
+
offsetParent = offsetParent.parentNode;
|
|
1477
|
+
}
|
|
1478
|
+
if (offsetParent && offsetParent !== el && offsetParent.nodeType === Node.ELEMENT_NODE) {
|
|
1479
|
+
parentOffset = offset(offsetParent);
|
|
1480
|
+
const offsetParentStyles = getCS(offsetParent);
|
|
1481
|
+
parentOffset.top += parseFloat(offsetParentStyles.borderTopWidth);
|
|
1482
|
+
parentOffset.left += parseFloat(offsetParentStyles.borderLeftWidth);
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
return {
|
|
1486
|
+
top: _offset.top - parentOffset.top - parseFloat(elStyles.marginTop),
|
|
1487
|
+
left: _offset.left - parentOffset.left - parseFloat(elStyles.marginLeft)
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
const getMaxZIndex = element => {
|
|
1491
|
+
let maxZIndex = 0;
|
|
1492
|
+
while (element) {
|
|
1493
|
+
const cs = getCS(element);
|
|
1494
|
+
const zIndex = cs.zIndex;
|
|
1495
|
+
if (zIndex !== 'auto') {
|
|
1496
|
+
maxZIndex = +zIndex > maxZIndex ? +zIndex : maxZIndex;
|
|
1497
|
+
}
|
|
1498
|
+
element = element.parentElement;
|
|
1499
|
+
}
|
|
1500
|
+
return maxZIndex;
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1503
|
+
const pxToRem = value => value === 0 ? '0' : `${value / 16}rem`;
|
|
1504
|
+
|
|
1505
|
+
var _a;
|
|
1506
|
+
const isClient = typeof window !== "undefined";
|
|
1507
|
+
const isDef = (val) => typeof val !== "undefined";
|
|
1508
|
+
const isFunction = (val) => typeof val === "function";
|
|
1509
|
+
const isString = (val) => typeof val === "string";
|
|
1510
|
+
const clamp = (n, min, max) => Math.min(max, Math.max(min, n));
|
|
1511
|
+
const noop = () => {
|
|
1512
|
+
};
|
|
1513
|
+
const isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1514
|
+
|
|
1515
|
+
function resolveUnref(r) {
|
|
1516
|
+
return typeof r === "function" ? r() : unref(r);
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
function createFilterWrapper(filter, fn) {
|
|
1520
|
+
function wrapper(...args) {
|
|
1521
|
+
filter(() => fn.apply(this, args), { fn, thisArg: this, args });
|
|
1522
|
+
}
|
|
1523
|
+
return wrapper;
|
|
1524
|
+
}
|
|
1525
|
+
const bypassFilter = (invoke) => {
|
|
1526
|
+
return invoke();
|
|
1527
|
+
};
|
|
1528
|
+
function debounceFilter(ms, options = {}) {
|
|
1529
|
+
let timer;
|
|
1530
|
+
let maxTimer;
|
|
1531
|
+
const filter = (invoke) => {
|
|
1532
|
+
const duration = resolveUnref(ms);
|
|
1533
|
+
const maxDuration = resolveUnref(options.maxWait);
|
|
1534
|
+
if (timer)
|
|
1535
|
+
clearTimeout(timer);
|
|
1536
|
+
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
1537
|
+
if (maxTimer) {
|
|
1538
|
+
clearTimeout(maxTimer);
|
|
1539
|
+
maxTimer = null;
|
|
1540
|
+
}
|
|
1541
|
+
return invoke();
|
|
1542
|
+
}
|
|
1543
|
+
if (maxDuration && !maxTimer) {
|
|
1544
|
+
maxTimer = setTimeout(() => {
|
|
1545
|
+
if (timer)
|
|
1546
|
+
clearTimeout(timer);
|
|
1547
|
+
maxTimer = null;
|
|
1548
|
+
invoke();
|
|
1549
|
+
}, maxDuration);
|
|
1550
|
+
}
|
|
1551
|
+
timer = setTimeout(() => {
|
|
1552
|
+
if (maxTimer)
|
|
1553
|
+
clearTimeout(maxTimer);
|
|
1554
|
+
maxTimer = null;
|
|
1555
|
+
invoke();
|
|
1556
|
+
}, duration);
|
|
1557
|
+
};
|
|
1558
|
+
return filter;
|
|
1559
|
+
}
|
|
1560
|
+
function identity(arg) {
|
|
1561
|
+
return arg;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
function computedWithControl(source, fn) {
|
|
1565
|
+
let v = void 0;
|
|
1566
|
+
let track;
|
|
1567
|
+
let trigger;
|
|
1568
|
+
const dirty = ref(true);
|
|
1569
|
+
const update = () => {
|
|
1570
|
+
dirty.value = true;
|
|
1571
|
+
trigger();
|
|
1572
|
+
};
|
|
1573
|
+
watch(source, update, { flush: "sync" });
|
|
1574
|
+
const get = isFunction(fn) ? fn : fn.get;
|
|
1575
|
+
const set = isFunction(fn) ? void 0 : fn.set;
|
|
1576
|
+
const result = customRef((_track, _trigger) => {
|
|
1577
|
+
track = _track;
|
|
1578
|
+
trigger = _trigger;
|
|
1579
|
+
return {
|
|
1580
|
+
get() {
|
|
1581
|
+
if (dirty.value) {
|
|
1582
|
+
v = get();
|
|
1583
|
+
dirty.value = false;
|
|
1584
|
+
}
|
|
1585
|
+
track();
|
|
1586
|
+
return v;
|
|
1587
|
+
},
|
|
1588
|
+
set(v2) {
|
|
1589
|
+
set == null ? void 0 : set(v2);
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1592
|
+
});
|
|
1593
|
+
if (Object.isExtensible(result))
|
|
1594
|
+
result.trigger = update;
|
|
1595
|
+
return result;
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
function tryOnScopeDispose(fn) {
|
|
1599
|
+
if (getCurrentScope()) {
|
|
1600
|
+
onScopeDispose(fn);
|
|
1601
|
+
return true;
|
|
1602
|
+
}
|
|
1603
|
+
return false;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
function createSharedComposable(composable) {
|
|
1607
|
+
let subscribers = 0;
|
|
1608
|
+
let state;
|
|
1609
|
+
let scope;
|
|
1610
|
+
const dispose = () => {
|
|
1611
|
+
subscribers -= 1;
|
|
1612
|
+
if (scope && subscribers <= 0) {
|
|
1613
|
+
scope.stop();
|
|
1614
|
+
state = void 0;
|
|
1615
|
+
scope = void 0;
|
|
1616
|
+
}
|
|
1617
|
+
};
|
|
1618
|
+
return (...args) => {
|
|
1619
|
+
subscribers += 1;
|
|
1620
|
+
if (!state) {
|
|
1621
|
+
scope = effectScope(true);
|
|
1622
|
+
state = scope.run(() => composable(...args));
|
|
1623
|
+
}
|
|
1624
|
+
tryOnScopeDispose(dispose);
|
|
1625
|
+
return state;
|
|
1626
|
+
};
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
function useDebounceFn(fn, ms = 200, options = {}) {
|
|
1630
|
+
return createFilterWrapper(debounceFilter(ms, options), fn);
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
function refDebounced(value, ms = 200, options = {}) {
|
|
1634
|
+
const debounced = ref(value.value);
|
|
1635
|
+
const updater = useDebounceFn(() => {
|
|
1636
|
+
debounced.value = value.value;
|
|
1637
|
+
}, ms, options);
|
|
1638
|
+
watch(value, () => updater());
|
|
1639
|
+
return debounced;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
function resolveRef(r) {
|
|
1643
|
+
return typeof r === "function" ? computed(r) : ref(r);
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
var __defProp$7 = Object.defineProperty;
|
|
1647
|
+
var __defProps$5 = Object.defineProperties;
|
|
1648
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
1649
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
1650
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
1651
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
1652
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1653
|
+
var __spreadValues$7 = (a, b) => {
|
|
1654
|
+
for (var prop in b || (b = {}))
|
|
1655
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
1656
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
1657
|
+
if (__getOwnPropSymbols$9)
|
|
1658
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
1659
|
+
if (__propIsEnum$9.call(b, prop))
|
|
1660
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
1661
|
+
}
|
|
1662
|
+
return a;
|
|
1663
|
+
};
|
|
1664
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
1665
|
+
function toRefs(objectRef) {
|
|
1666
|
+
if (!isRef(objectRef))
|
|
1667
|
+
return toRefs$1(objectRef);
|
|
1668
|
+
const result = Array.isArray(objectRef.value) ? new Array(objectRef.value.length) : {};
|
|
1669
|
+
for (const key in objectRef.value) {
|
|
1670
|
+
result[key] = customRef(() => ({
|
|
1671
|
+
get() {
|
|
1672
|
+
return objectRef.value[key];
|
|
1673
|
+
},
|
|
1674
|
+
set(v) {
|
|
1675
|
+
if (Array.isArray(objectRef.value)) {
|
|
1676
|
+
const copy = [...objectRef.value];
|
|
1677
|
+
copy[key] = v;
|
|
1678
|
+
objectRef.value = copy;
|
|
1679
|
+
} else {
|
|
1680
|
+
const newObject = __spreadProps$5(__spreadValues$7({}, objectRef.value), { [key]: v });
|
|
1681
|
+
Object.setPrototypeOf(newObject, objectRef.value);
|
|
1682
|
+
objectRef.value = newObject;
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
}));
|
|
1686
|
+
}
|
|
1687
|
+
return result;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
function tryOnMounted(fn, sync = true) {
|
|
1691
|
+
if (getCurrentInstance())
|
|
1692
|
+
onMounted(fn);
|
|
1693
|
+
else if (sync)
|
|
1694
|
+
fn();
|
|
1695
|
+
else
|
|
1696
|
+
nextTick(fn);
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
function useToggle$1(initialValue = false, options = {}) {
|
|
1700
|
+
const {
|
|
1701
|
+
truthyValue = true,
|
|
1702
|
+
falsyValue = false
|
|
1703
|
+
} = options;
|
|
1704
|
+
const valueIsRef = isRef(initialValue);
|
|
1705
|
+
const _value = ref(initialValue);
|
|
1706
|
+
function toggle(value) {
|
|
1707
|
+
if (arguments.length) {
|
|
1708
|
+
_value.value = value;
|
|
1709
|
+
return _value.value;
|
|
1710
|
+
} else {
|
|
1711
|
+
const truthy = resolveUnref(truthyValue);
|
|
1712
|
+
_value.value = _value.value === truthy ? resolveUnref(falsyValue) : truthy;
|
|
1713
|
+
return _value.value;
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
if (valueIsRef)
|
|
1717
|
+
return toggle;
|
|
1718
|
+
else
|
|
1719
|
+
return [_value, toggle];
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
1723
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
1724
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
1725
|
+
var __objRest$5 = (source, exclude) => {
|
|
1726
|
+
var target = {};
|
|
1727
|
+
for (var prop in source)
|
|
1728
|
+
if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1729
|
+
target[prop] = source[prop];
|
|
1730
|
+
if (source != null && __getOwnPropSymbols$6)
|
|
1731
|
+
for (var prop of __getOwnPropSymbols$6(source)) {
|
|
1732
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))
|
|
1733
|
+
target[prop] = source[prop];
|
|
1734
|
+
}
|
|
1735
|
+
return target;
|
|
1736
|
+
};
|
|
1737
|
+
function watchWithFilter(source, cb, options = {}) {
|
|
1738
|
+
const _a = options, {
|
|
1739
|
+
eventFilter = bypassFilter
|
|
1740
|
+
} = _a, watchOptions = __objRest$5(_a, [
|
|
1741
|
+
"eventFilter"
|
|
1742
|
+
]);
|
|
1743
|
+
return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
var __defProp$4 = Object.defineProperty;
|
|
1747
|
+
var __defProps$4$1 = Object.defineProperties;
|
|
1748
|
+
var __getOwnPropDescs$4$1 = Object.getOwnPropertyDescriptors;
|
|
1749
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
1750
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
1751
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
1752
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1753
|
+
var __spreadValues$4 = (a, b) => {
|
|
1754
|
+
for (var prop in b || (b = {}))
|
|
1755
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
1756
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
1757
|
+
if (__getOwnPropSymbols$4)
|
|
1758
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
1759
|
+
if (__propIsEnum$4.call(b, prop))
|
|
1760
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
1761
|
+
}
|
|
1762
|
+
return a;
|
|
1763
|
+
};
|
|
1764
|
+
var __spreadProps$4$1 = (a, b) => __defProps$4$1(a, __getOwnPropDescs$4$1(b));
|
|
1765
|
+
var __objRest$3 = (source, exclude) => {
|
|
1766
|
+
var target = {};
|
|
1767
|
+
for (var prop in source)
|
|
1768
|
+
if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1769
|
+
target[prop] = source[prop];
|
|
1770
|
+
if (source != null && __getOwnPropSymbols$4)
|
|
1771
|
+
for (var prop of __getOwnPropSymbols$4(source)) {
|
|
1772
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
|
|
1773
|
+
target[prop] = source[prop];
|
|
1774
|
+
}
|
|
1775
|
+
return target;
|
|
1776
|
+
};
|
|
1777
|
+
function watchDebounced(source, cb, options = {}) {
|
|
1778
|
+
const _a = options, {
|
|
1779
|
+
debounce = 0,
|
|
1780
|
+
maxWait = void 0
|
|
1781
|
+
} = _a, watchOptions = __objRest$3(_a, [
|
|
1782
|
+
"debounce",
|
|
1783
|
+
"maxWait"
|
|
1784
|
+
]);
|
|
1785
|
+
return watchWithFilter(source, cb, __spreadProps$4$1(__spreadValues$4({}, watchOptions), {
|
|
1786
|
+
eventFilter: debounceFilter(debounce, { maxWait })
|
|
1787
|
+
}));
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
function whenever(source, cb, options) {
|
|
1791
|
+
return watch(source, (v, ov, onInvalidate) => {
|
|
1792
|
+
if (v)
|
|
1793
|
+
cb(v, ov, onInvalidate);
|
|
1794
|
+
}, options);
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
function unrefElement(elRef) {
|
|
1798
|
+
var _a;
|
|
1799
|
+
const plain = resolveUnref(elRef);
|
|
1800
|
+
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
const defaultWindow = isClient ? window : void 0;
|
|
1804
|
+
|
|
1805
|
+
function useEventListener(...args) {
|
|
1806
|
+
let target;
|
|
1807
|
+
let events;
|
|
1808
|
+
let listeners;
|
|
1809
|
+
let options;
|
|
1810
|
+
if (isString(args[0]) || Array.isArray(args[0])) {
|
|
1811
|
+
[events, listeners, options] = args;
|
|
1812
|
+
target = defaultWindow;
|
|
1813
|
+
} else {
|
|
1814
|
+
[target, events, listeners, options] = args;
|
|
1815
|
+
}
|
|
1816
|
+
if (!target)
|
|
1817
|
+
return noop;
|
|
1818
|
+
if (!Array.isArray(events))
|
|
1819
|
+
events = [events];
|
|
1820
|
+
if (!Array.isArray(listeners))
|
|
1821
|
+
listeners = [listeners];
|
|
1822
|
+
const cleanups = [];
|
|
1823
|
+
const cleanup = () => {
|
|
1824
|
+
cleanups.forEach((fn) => fn());
|
|
1825
|
+
cleanups.length = 0;
|
|
1826
|
+
};
|
|
1827
|
+
const register = (el, event, listener) => {
|
|
1828
|
+
el.addEventListener(event, listener, options);
|
|
1829
|
+
return () => el.removeEventListener(event, listener, options);
|
|
1830
|
+
};
|
|
1831
|
+
const stopWatch = watch(() => unrefElement(target), (el) => {
|
|
1832
|
+
cleanup();
|
|
1833
|
+
if (!el)
|
|
1834
|
+
return;
|
|
1835
|
+
cleanups.push(...events.flatMap((event) => {
|
|
1836
|
+
return listeners.map((listener) => register(el, event, listener));
|
|
1837
|
+
}));
|
|
1838
|
+
}, { immediate: true, flush: "post" });
|
|
1839
|
+
const stop = () => {
|
|
1840
|
+
stopWatch();
|
|
1841
|
+
cleanup();
|
|
1842
|
+
};
|
|
1843
|
+
tryOnScopeDispose(stop);
|
|
1844
|
+
return stop;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
function onClickOutside(target, handler, options = {}) {
|
|
1848
|
+
const { window = defaultWindow, ignore, capture = true, detectIframe = false } = options;
|
|
1849
|
+
if (!window)
|
|
1850
|
+
return;
|
|
1851
|
+
const shouldListen = ref(true);
|
|
1852
|
+
let fallback;
|
|
1853
|
+
const listener = (event) => {
|
|
1854
|
+
window.clearTimeout(fallback);
|
|
1855
|
+
const el = unrefElement(target);
|
|
1856
|
+
if (!el || el === event.target || event.composedPath().includes(el) || !shouldListen.value)
|
|
1857
|
+
return;
|
|
1858
|
+
handler(event);
|
|
1859
|
+
};
|
|
1860
|
+
const shouldIgnore = (event) => {
|
|
1861
|
+
return ignore && ignore.some((target2) => {
|
|
1862
|
+
const el = unrefElement(target2);
|
|
1863
|
+
return el && (event.target === el || event.composedPath().includes(el));
|
|
1864
|
+
});
|
|
1865
|
+
};
|
|
1866
|
+
const cleanup = [
|
|
1867
|
+
useEventListener(window, "click", listener, { passive: true, capture }),
|
|
1868
|
+
useEventListener(window, "pointerdown", (e) => {
|
|
1869
|
+
const el = unrefElement(target);
|
|
1870
|
+
shouldListen.value = !!el && !e.composedPath().includes(el) && !shouldIgnore(e);
|
|
1871
|
+
}, { passive: true }),
|
|
1872
|
+
useEventListener(window, "pointerup", (e) => {
|
|
1873
|
+
if (e.button === 0) {
|
|
1874
|
+
const path = e.composedPath();
|
|
1875
|
+
e.composedPath = () => path;
|
|
1876
|
+
fallback = window.setTimeout(() => listener(e), 50);
|
|
1877
|
+
}
|
|
1878
|
+
}, { passive: true }),
|
|
1879
|
+
detectIframe && useEventListener(window, "blur", (event) => {
|
|
1880
|
+
var _a;
|
|
1881
|
+
const el = unrefElement(target);
|
|
1882
|
+
if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement)))
|
|
1883
|
+
handler(event);
|
|
1884
|
+
})
|
|
1885
|
+
].filter(Boolean);
|
|
1886
|
+
const stop = () => cleanup.forEach((fn) => fn());
|
|
1887
|
+
return stop;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
function useActiveElement(options = {}) {
|
|
1891
|
+
const { window = defaultWindow } = options;
|
|
1892
|
+
const activeElement = computedWithControl(() => null, () => window == null ? void 0 : window.document.activeElement);
|
|
1893
|
+
if (window) {
|
|
1894
|
+
useEventListener(window, "blur", activeElement.trigger, true);
|
|
1895
|
+
useEventListener(window, "focus", activeElement.trigger, true);
|
|
1896
|
+
}
|
|
1897
|
+
return activeElement;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
function useSupported(callback, sync = false) {
|
|
1901
|
+
const isSupported = ref();
|
|
1902
|
+
const update = () => isSupported.value = Boolean(callback());
|
|
1903
|
+
update();
|
|
1904
|
+
tryOnMounted(update, sync);
|
|
1905
|
+
return isSupported;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
function useMediaQuery(query, options = {}) {
|
|
1909
|
+
const { window = defaultWindow } = options;
|
|
1910
|
+
const isSupported = useSupported(() => window && "matchMedia" in window && typeof window.matchMedia === "function");
|
|
1911
|
+
let mediaQuery;
|
|
1912
|
+
const matches = ref(false);
|
|
1913
|
+
const cleanup = () => {
|
|
1914
|
+
if (!mediaQuery)
|
|
1915
|
+
return;
|
|
1916
|
+
if ("removeEventListener" in mediaQuery)
|
|
1917
|
+
mediaQuery.removeEventListener("change", update);
|
|
1918
|
+
else
|
|
1919
|
+
mediaQuery.removeListener(update);
|
|
1920
|
+
};
|
|
1921
|
+
const update = () => {
|
|
1922
|
+
if (!isSupported.value)
|
|
1923
|
+
return;
|
|
1924
|
+
cleanup();
|
|
1925
|
+
mediaQuery = window.matchMedia(resolveRef(query).value);
|
|
1926
|
+
matches.value = mediaQuery.matches;
|
|
1927
|
+
if ("addEventListener" in mediaQuery)
|
|
1928
|
+
mediaQuery.addEventListener("change", update);
|
|
1929
|
+
else
|
|
1930
|
+
mediaQuery.addListener(update);
|
|
1931
|
+
};
|
|
1932
|
+
watchEffect(update);
|
|
1933
|
+
tryOnScopeDispose(() => cleanup());
|
|
1934
|
+
return matches;
|
|
1935
|
+
}
|
|
1936
|
+
function cloneFnJSON(source) {
|
|
1937
|
+
return JSON.parse(JSON.stringify(source));
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
1941
|
+
const globalKey = "__vueuse_ssr_handlers__";
|
|
1942
|
+
_global[globalKey] = _global[globalKey] || {};
|
|
1943
|
+
_global[globalKey];
|
|
1944
|
+
|
|
1945
|
+
var __defProp$e = Object.defineProperty;
|
|
1946
|
+
var __defProps$4 = Object.defineProperties;
|
|
1947
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
1948
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
1949
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
1950
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
1951
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1952
|
+
var __spreadValues$e = (a, b) => {
|
|
1953
|
+
for (var prop in b || (b = {}))
|
|
1954
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
1955
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
1956
|
+
if (__getOwnPropSymbols$g)
|
|
1957
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
1958
|
+
if (__propIsEnum$g.call(b, prop))
|
|
1959
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
1960
|
+
}
|
|
1961
|
+
return a;
|
|
1962
|
+
};
|
|
1963
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
1964
|
+
function useDraggable(target, options = {}) {
|
|
1965
|
+
var _a, _b, _c;
|
|
1966
|
+
const draggingElement = (_a = options.draggingElement) != null ? _a : defaultWindow;
|
|
1967
|
+
const draggingHandle = (_b = options.handle) != null ? _b : target;
|
|
1968
|
+
const position = ref((_c = resolveUnref(options.initialValue)) != null ? _c : { x: 0, y: 0 });
|
|
1969
|
+
const pressedDelta = ref();
|
|
1970
|
+
const filterEvent = (e) => {
|
|
1971
|
+
if (options.pointerTypes)
|
|
1972
|
+
return options.pointerTypes.includes(e.pointerType);
|
|
1973
|
+
return true;
|
|
1974
|
+
};
|
|
1975
|
+
const handleEvent = (e) => {
|
|
1976
|
+
if (resolveUnref(options.preventDefault))
|
|
1977
|
+
e.preventDefault();
|
|
1978
|
+
if (resolveUnref(options.stopPropagation))
|
|
1979
|
+
e.stopPropagation();
|
|
1980
|
+
};
|
|
1981
|
+
const start = (e) => {
|
|
1982
|
+
var _a2;
|
|
1983
|
+
if (!filterEvent(e))
|
|
1984
|
+
return;
|
|
1985
|
+
if (resolveUnref(options.exact) && e.target !== resolveUnref(target))
|
|
1986
|
+
return;
|
|
1987
|
+
const rect = resolveUnref(target).getBoundingClientRect();
|
|
1988
|
+
const pos = {
|
|
1989
|
+
x: e.pageX - rect.left,
|
|
1990
|
+
y: e.pageY - rect.top
|
|
1991
|
+
};
|
|
1992
|
+
if (((_a2 = options.onStart) == null ? void 0 : _a2.call(options, pos, e)) === false)
|
|
1993
|
+
return;
|
|
1994
|
+
pressedDelta.value = pos;
|
|
1995
|
+
handleEvent(e);
|
|
1996
|
+
};
|
|
1997
|
+
const move = (e) => {
|
|
1998
|
+
var _a2;
|
|
1999
|
+
if (!filterEvent(e))
|
|
2000
|
+
return;
|
|
2001
|
+
if (!pressedDelta.value)
|
|
2002
|
+
return;
|
|
2003
|
+
position.value = {
|
|
2004
|
+
x: e.pageX - pressedDelta.value.x,
|
|
2005
|
+
y: e.pageY - pressedDelta.value.y
|
|
2006
|
+
};
|
|
2007
|
+
(_a2 = options.onMove) == null ? void 0 : _a2.call(options, position.value, e);
|
|
2008
|
+
handleEvent(e);
|
|
2009
|
+
};
|
|
2010
|
+
const end = (e) => {
|
|
2011
|
+
var _a2;
|
|
2012
|
+
if (!filterEvent(e))
|
|
2013
|
+
return;
|
|
2014
|
+
if (!pressedDelta.value)
|
|
2015
|
+
return;
|
|
2016
|
+
pressedDelta.value = void 0;
|
|
2017
|
+
(_a2 = options.onEnd) == null ? void 0 : _a2.call(options, position.value, e);
|
|
2018
|
+
handleEvent(e);
|
|
2019
|
+
};
|
|
2020
|
+
if (isClient) {
|
|
2021
|
+
useEventListener(draggingHandle, "pointerdown", start, true);
|
|
2022
|
+
useEventListener(draggingElement, "pointermove", move, true);
|
|
2023
|
+
useEventListener(draggingElement, "pointerup", end, true);
|
|
2024
|
+
}
|
|
2025
|
+
return __spreadProps$4(__spreadValues$e({}, toRefs(position)), {
|
|
2026
|
+
position,
|
|
2027
|
+
isDragging: computed(() => !!pressedDelta.value),
|
|
2028
|
+
style: computed(() => `left:${position.value.x}px;top:${position.value.y}px;`)
|
|
2029
|
+
});
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
2033
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
2034
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
2035
|
+
var __objRest$2 = (source, exclude) => {
|
|
2036
|
+
var target = {};
|
|
2037
|
+
for (var prop in source)
|
|
2038
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2039
|
+
target[prop] = source[prop];
|
|
2040
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
2041
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
2042
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
2043
|
+
target[prop] = source[prop];
|
|
2044
|
+
}
|
|
2045
|
+
return target;
|
|
2046
|
+
};
|
|
2047
|
+
function useResizeObserver(target, callback, options = {}) {
|
|
2048
|
+
const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, ["window"]);
|
|
2049
|
+
let observer;
|
|
2050
|
+
const isSupported = useSupported(() => window && "ResizeObserver" in window);
|
|
2051
|
+
const cleanup = () => {
|
|
2052
|
+
if (observer) {
|
|
2053
|
+
observer.disconnect();
|
|
2054
|
+
observer = void 0;
|
|
2055
|
+
}
|
|
2056
|
+
};
|
|
2057
|
+
const stopWatch = watch(() => unrefElement(target), (el) => {
|
|
2058
|
+
cleanup();
|
|
2059
|
+
if (isSupported.value && window && el) {
|
|
2060
|
+
observer = new ResizeObserver(callback);
|
|
2061
|
+
observer.observe(el, observerOptions);
|
|
2062
|
+
}
|
|
2063
|
+
}, { immediate: true, flush: "post" });
|
|
2064
|
+
const stop = () => {
|
|
2065
|
+
cleanup();
|
|
2066
|
+
stopWatch();
|
|
2067
|
+
};
|
|
2068
|
+
tryOnScopeDispose(stop);
|
|
2069
|
+
return {
|
|
2070
|
+
isSupported,
|
|
2071
|
+
stop
|
|
2072
|
+
};
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
function useElementBounding(target, options = {}) {
|
|
2076
|
+
const {
|
|
2077
|
+
reset = true,
|
|
2078
|
+
windowResize = true,
|
|
2079
|
+
windowScroll = true,
|
|
2080
|
+
immediate = true
|
|
2081
|
+
} = options;
|
|
2082
|
+
const height = ref(0);
|
|
2083
|
+
const bottom = ref(0);
|
|
2084
|
+
const left = ref(0);
|
|
2085
|
+
const right = ref(0);
|
|
2086
|
+
const top = ref(0);
|
|
2087
|
+
const width = ref(0);
|
|
2088
|
+
const x = ref(0);
|
|
2089
|
+
const y = ref(0);
|
|
2090
|
+
function update() {
|
|
2091
|
+
const el = unrefElement(target);
|
|
2092
|
+
if (!el) {
|
|
2093
|
+
if (reset) {
|
|
2094
|
+
height.value = 0;
|
|
2095
|
+
bottom.value = 0;
|
|
2096
|
+
left.value = 0;
|
|
2097
|
+
right.value = 0;
|
|
2098
|
+
top.value = 0;
|
|
2099
|
+
width.value = 0;
|
|
2100
|
+
x.value = 0;
|
|
2101
|
+
y.value = 0;
|
|
2102
|
+
}
|
|
2103
|
+
return;
|
|
2104
|
+
}
|
|
2105
|
+
const rect = el.getBoundingClientRect();
|
|
2106
|
+
height.value = rect.height;
|
|
2107
|
+
bottom.value = rect.bottom;
|
|
2108
|
+
left.value = rect.left;
|
|
2109
|
+
right.value = rect.right;
|
|
2110
|
+
top.value = rect.top;
|
|
2111
|
+
width.value = rect.width;
|
|
2112
|
+
x.value = rect.x;
|
|
2113
|
+
y.value = rect.y;
|
|
2114
|
+
}
|
|
2115
|
+
useResizeObserver(target, update);
|
|
2116
|
+
watch(() => unrefElement(target), (ele) => !ele && update());
|
|
2117
|
+
if (windowScroll)
|
|
2118
|
+
useEventListener("scroll", update, { passive: true });
|
|
2119
|
+
if (windowResize)
|
|
2120
|
+
useEventListener("resize", update, { passive: true });
|
|
2121
|
+
tryOnMounted(() => {
|
|
2122
|
+
if (immediate)
|
|
2123
|
+
update();
|
|
2124
|
+
});
|
|
2125
|
+
return {
|
|
2126
|
+
height,
|
|
2127
|
+
bottom,
|
|
2128
|
+
left,
|
|
2129
|
+
right,
|
|
2130
|
+
top,
|
|
2131
|
+
width,
|
|
2132
|
+
x,
|
|
2133
|
+
y,
|
|
2134
|
+
update
|
|
2135
|
+
};
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
function useElementHover(el) {
|
|
2139
|
+
const isHovered = ref(false);
|
|
2140
|
+
useEventListener(el, "mouseenter", () => isHovered.value = true);
|
|
2141
|
+
useEventListener(el, "mouseleave", () => isHovered.value = false);
|
|
2142
|
+
return isHovered;
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
function useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {
|
|
2146
|
+
const { box = "content-box" } = options;
|
|
2147
|
+
const width = ref(initialSize.width);
|
|
2148
|
+
const height = ref(initialSize.height);
|
|
2149
|
+
useResizeObserver(target, ([entry]) => {
|
|
2150
|
+
const boxSize = box === "border-box" ? entry.borderBoxSize : box === "content-box" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;
|
|
2151
|
+
if (boxSize) {
|
|
2152
|
+
width.value = boxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);
|
|
2153
|
+
height.value = boxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);
|
|
2154
|
+
} else {
|
|
2155
|
+
width.value = entry.contentRect.width;
|
|
2156
|
+
height.value = entry.contentRect.height;
|
|
2157
|
+
}
|
|
2158
|
+
}, options);
|
|
2159
|
+
watch(() => unrefElement(target), (ele) => {
|
|
2160
|
+
width.value = ele ? initialSize.width : 0;
|
|
2161
|
+
height.value = ele ? initialSize.height : 0;
|
|
2162
|
+
});
|
|
2163
|
+
return {
|
|
2164
|
+
width,
|
|
2165
|
+
height
|
|
2166
|
+
};
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
const events = new Map();
|
|
2170
|
+
|
|
2171
|
+
function useEventBus(key) {
|
|
2172
|
+
const scope = getCurrentScope();
|
|
2173
|
+
function on(listener) {
|
|
2174
|
+
var _a;
|
|
2175
|
+
const listeners = events.get(key) || [];
|
|
2176
|
+
listeners.push(listener);
|
|
2177
|
+
events.set(key, listeners);
|
|
2178
|
+
const _off = () => off(listener);
|
|
2179
|
+
(_a = scope == null ? void 0 : scope.cleanups) == null ? void 0 : _a.push(_off);
|
|
2180
|
+
return _off;
|
|
2181
|
+
}
|
|
2182
|
+
function once(listener) {
|
|
2183
|
+
function _listener(...args) {
|
|
2184
|
+
off(_listener);
|
|
2185
|
+
listener(...args);
|
|
2186
|
+
}
|
|
2187
|
+
return on(_listener);
|
|
2188
|
+
}
|
|
2189
|
+
function off(listener) {
|
|
2190
|
+
const listeners = events.get(key);
|
|
2191
|
+
if (!listeners)
|
|
2192
|
+
return;
|
|
2193
|
+
const index = listeners.indexOf(listener);
|
|
2194
|
+
if (index > -1)
|
|
2195
|
+
listeners.splice(index, 1);
|
|
2196
|
+
if (!listeners.length)
|
|
2197
|
+
events.delete(key);
|
|
2198
|
+
}
|
|
2199
|
+
function reset() {
|
|
2200
|
+
events.delete(key);
|
|
2201
|
+
}
|
|
2202
|
+
function emit(event, payload) {
|
|
2203
|
+
var _a;
|
|
2204
|
+
(_a = events.get(key)) == null ? void 0 : _a.forEach((v) => v(event, payload));
|
|
2205
|
+
}
|
|
2206
|
+
return { on, once, off, emit, reset };
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
function useFocus(target, options = {}) {
|
|
2210
|
+
const { initialValue = false } = options;
|
|
2211
|
+
const activeElement = useActiveElement(options);
|
|
2212
|
+
const targetElement = computed(() => unrefElement(target));
|
|
2213
|
+
const focused = computed({
|
|
2214
|
+
get() {
|
|
2215
|
+
return isDef(activeElement.value) && isDef(targetElement.value) && activeElement.value === targetElement.value;
|
|
2216
|
+
},
|
|
2217
|
+
set(value) {
|
|
2218
|
+
var _a, _b;
|
|
2219
|
+
if (!value && focused.value)
|
|
2220
|
+
(_a = targetElement.value) == null ? void 0 : _a.blur();
|
|
2221
|
+
if (value && !focused.value)
|
|
2222
|
+
(_b = targetElement.value) == null ? void 0 : _b.focus();
|
|
2223
|
+
}
|
|
2224
|
+
});
|
|
2225
|
+
watch(targetElement, () => {
|
|
2226
|
+
focused.value = initialValue;
|
|
2227
|
+
}, { immediate: true, flush: "post" });
|
|
2228
|
+
return { focused };
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
const DefaultMagicKeysAliasMap = {
|
|
2232
|
+
ctrl: "control",
|
|
2233
|
+
command: "meta",
|
|
2234
|
+
cmd: "meta",
|
|
2235
|
+
option: "alt",
|
|
2236
|
+
up: "arrowup",
|
|
2237
|
+
down: "arrowdown",
|
|
2238
|
+
left: "arrowleft",
|
|
2239
|
+
right: "arrowright"
|
|
2240
|
+
};
|
|
2241
|
+
|
|
2242
|
+
function useMagicKeys(options = {}) {
|
|
2243
|
+
const {
|
|
2244
|
+
reactive: useReactive = false,
|
|
2245
|
+
target = defaultWindow,
|
|
2246
|
+
aliasMap = DefaultMagicKeysAliasMap,
|
|
2247
|
+
passive = true,
|
|
2248
|
+
onEventFired = noop
|
|
2249
|
+
} = options;
|
|
2250
|
+
const current = reactive(new Set());
|
|
2251
|
+
const obj = { toJSON() {
|
|
2252
|
+
return {};
|
|
2253
|
+
}, current };
|
|
2254
|
+
const refs = useReactive ? reactive(obj) : obj;
|
|
2255
|
+
const metaDeps = new Set();
|
|
2256
|
+
const usedKeys = new Set();
|
|
2257
|
+
function setRefs(key, value) {
|
|
2258
|
+
if (key in refs) {
|
|
2259
|
+
if (useReactive)
|
|
2260
|
+
refs[key] = value;
|
|
2261
|
+
else
|
|
2262
|
+
refs[key].value = value;
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
function reset() {
|
|
2266
|
+
for (const key of usedKeys)
|
|
2267
|
+
setRefs(key, false);
|
|
2268
|
+
}
|
|
2269
|
+
function updateRefs(e, value) {
|
|
2270
|
+
var _a, _b;
|
|
2271
|
+
const key = (_a = e.key) == null ? void 0 : _a.toLowerCase();
|
|
2272
|
+
const code = (_b = e.code) == null ? void 0 : _b.toLowerCase();
|
|
2273
|
+
const values = [code, key].filter(Boolean);
|
|
2274
|
+
if (key) {
|
|
2275
|
+
if (value)
|
|
2276
|
+
current.add(key);
|
|
2277
|
+
else
|
|
2278
|
+
current.delete(key);
|
|
2279
|
+
}
|
|
2280
|
+
for (const key2 of values) {
|
|
2281
|
+
usedKeys.add(key2);
|
|
2282
|
+
setRefs(key2, value);
|
|
2283
|
+
}
|
|
2284
|
+
if (key === "meta" && !value) {
|
|
2285
|
+
metaDeps.forEach((key2) => {
|
|
2286
|
+
current.delete(key2);
|
|
2287
|
+
setRefs(key2, false);
|
|
2288
|
+
});
|
|
2289
|
+
metaDeps.clear();
|
|
2290
|
+
} else if (typeof e.getModifierState === "function" && e.getModifierState("Meta") && value) {
|
|
2291
|
+
[...current, ...values].forEach((key2) => metaDeps.add(key2));
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
useEventListener(target, "keydown", (e) => {
|
|
2295
|
+
updateRefs(e, true);
|
|
2296
|
+
return onEventFired(e);
|
|
2297
|
+
}, { passive });
|
|
2298
|
+
useEventListener(target, "keyup", (e) => {
|
|
2299
|
+
updateRefs(e, false);
|
|
2300
|
+
return onEventFired(e);
|
|
2301
|
+
}, { passive });
|
|
2302
|
+
useEventListener("blur", reset, { passive: true });
|
|
2303
|
+
useEventListener("focus", reset, { passive: true });
|
|
2304
|
+
const proxy = new Proxy(refs, {
|
|
2305
|
+
get(target2, prop, rec) {
|
|
2306
|
+
if (typeof prop !== "string")
|
|
2307
|
+
return Reflect.get(target2, prop, rec);
|
|
2308
|
+
prop = prop.toLowerCase();
|
|
2309
|
+
if (prop in aliasMap)
|
|
2310
|
+
prop = aliasMap[prop];
|
|
2311
|
+
if (!(prop in refs)) {
|
|
2312
|
+
if (/[+_-]/.test(prop)) {
|
|
2313
|
+
const keys = prop.split(/[+_-]/g).map((i) => i.trim());
|
|
2314
|
+
refs[prop] = computed(() => keys.every((key) => unref(proxy[key])));
|
|
2315
|
+
} else {
|
|
2316
|
+
refs[prop] = ref(false);
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2319
|
+
const r = Reflect.get(target2, prop, rec);
|
|
2320
|
+
return useReactive ? unref(r) : r;
|
|
2321
|
+
}
|
|
2322
|
+
});
|
|
2323
|
+
return proxy;
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
2327
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
2328
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
2329
|
+
var __objRest$1 = (source, exclude) => {
|
|
2330
|
+
var target = {};
|
|
2331
|
+
for (var prop in source)
|
|
2332
|
+
if (__hasOwnProp$7.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2333
|
+
target[prop] = source[prop];
|
|
2334
|
+
if (source != null && __getOwnPropSymbols$7)
|
|
2335
|
+
for (var prop of __getOwnPropSymbols$7(source)) {
|
|
2336
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$7.call(source, prop))
|
|
2337
|
+
target[prop] = source[prop];
|
|
2338
|
+
}
|
|
2339
|
+
return target;
|
|
2340
|
+
};
|
|
2341
|
+
function useMutationObserver(target, callback, options = {}) {
|
|
2342
|
+
const _a = options, { window = defaultWindow } = _a, mutationOptions = __objRest$1(_a, ["window"]);
|
|
2343
|
+
let observer;
|
|
2344
|
+
const isSupported = useSupported(() => window && "MutationObserver" in window);
|
|
2345
|
+
const cleanup = () => {
|
|
2346
|
+
if (observer) {
|
|
2347
|
+
observer.disconnect();
|
|
2348
|
+
observer = void 0;
|
|
2349
|
+
}
|
|
2350
|
+
};
|
|
2351
|
+
const stopWatch = watch(() => unrefElement(target), (el) => {
|
|
2352
|
+
cleanup();
|
|
2353
|
+
if (isSupported.value && window && el) {
|
|
2354
|
+
observer = new MutationObserver(callback);
|
|
2355
|
+
observer.observe(el, mutationOptions);
|
|
2356
|
+
}
|
|
2357
|
+
}, { immediate: true });
|
|
2358
|
+
const stop = () => {
|
|
2359
|
+
cleanup();
|
|
2360
|
+
stopWatch();
|
|
2361
|
+
};
|
|
2362
|
+
tryOnScopeDispose(stop);
|
|
2363
|
+
return {
|
|
2364
|
+
isSupported,
|
|
2365
|
+
stop
|
|
2366
|
+
};
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
var SwipeDirection;
|
|
2370
|
+
(function(SwipeDirection2) {
|
|
2371
|
+
SwipeDirection2["UP"] = "UP";
|
|
2372
|
+
SwipeDirection2["RIGHT"] = "RIGHT";
|
|
2373
|
+
SwipeDirection2["DOWN"] = "DOWN";
|
|
2374
|
+
SwipeDirection2["LEFT"] = "LEFT";
|
|
2375
|
+
SwipeDirection2["NONE"] = "NONE";
|
|
2376
|
+
})(SwipeDirection || (SwipeDirection = {}));
|
|
2377
|
+
|
|
2378
|
+
function usePointerSwipe(target, options = {}) {
|
|
2379
|
+
const targetRef = resolveRef(target);
|
|
2380
|
+
const {
|
|
2381
|
+
threshold = 50,
|
|
2382
|
+
onSwipe,
|
|
2383
|
+
onSwipeEnd,
|
|
2384
|
+
onSwipeStart
|
|
2385
|
+
} = options;
|
|
2386
|
+
const posStart = reactive({ x: 0, y: 0 });
|
|
2387
|
+
const updatePosStart = (x, y) => {
|
|
2388
|
+
posStart.x = x;
|
|
2389
|
+
posStart.y = y;
|
|
2390
|
+
};
|
|
2391
|
+
const posEnd = reactive({ x: 0, y: 0 });
|
|
2392
|
+
const updatePosEnd = (x, y) => {
|
|
2393
|
+
posEnd.x = x;
|
|
2394
|
+
posEnd.y = y;
|
|
2395
|
+
};
|
|
2396
|
+
const distanceX = computed(() => posStart.x - posEnd.x);
|
|
2397
|
+
const distanceY = computed(() => posStart.y - posEnd.y);
|
|
2398
|
+
const { max, abs } = Math;
|
|
2399
|
+
const isThresholdExceeded = computed(() => max(abs(distanceX.value), abs(distanceY.value)) >= threshold);
|
|
2400
|
+
const isSwiping = ref(false);
|
|
2401
|
+
const isPointerDown = ref(false);
|
|
2402
|
+
const direction = computed(() => {
|
|
2403
|
+
if (!isThresholdExceeded.value)
|
|
2404
|
+
return SwipeDirection.NONE;
|
|
2405
|
+
if (abs(distanceX.value) > abs(distanceY.value)) {
|
|
2406
|
+
return distanceX.value > 0 ? SwipeDirection.LEFT : SwipeDirection.RIGHT;
|
|
2407
|
+
} else {
|
|
2408
|
+
return distanceY.value > 0 ? SwipeDirection.UP : SwipeDirection.DOWN;
|
|
2409
|
+
}
|
|
2410
|
+
});
|
|
2411
|
+
const eventIsAllowed = (e) => {
|
|
2412
|
+
var _a, _b, _c;
|
|
2413
|
+
const isReleasingButton = e.buttons === 0;
|
|
2414
|
+
const isPrimaryButton = e.buttons === 1;
|
|
2415
|
+
return (_c = (_b = (_a = options.pointerTypes) == null ? void 0 : _a.includes(e.pointerType)) != null ? _b : isReleasingButton || isPrimaryButton) != null ? _c : true;
|
|
2416
|
+
};
|
|
2417
|
+
const stops = [
|
|
2418
|
+
useEventListener(target, "pointerdown", (e) => {
|
|
2419
|
+
var _a, _b;
|
|
2420
|
+
if (!eventIsAllowed(e))
|
|
2421
|
+
return;
|
|
2422
|
+
isPointerDown.value = true;
|
|
2423
|
+
(_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty("touch-action", "none");
|
|
2424
|
+
const eventTarget = e.target;
|
|
2425
|
+
eventTarget == null ? void 0 : eventTarget.setPointerCapture(e.pointerId);
|
|
2426
|
+
const { clientX: x, clientY: y } = e;
|
|
2427
|
+
updatePosStart(x, y);
|
|
2428
|
+
updatePosEnd(x, y);
|
|
2429
|
+
onSwipeStart == null ? void 0 : onSwipeStart(e);
|
|
2430
|
+
}),
|
|
2431
|
+
useEventListener(target, "pointermove", (e) => {
|
|
2432
|
+
if (!eventIsAllowed(e))
|
|
2433
|
+
return;
|
|
2434
|
+
if (!isPointerDown.value)
|
|
2435
|
+
return;
|
|
2436
|
+
const { clientX: x, clientY: y } = e;
|
|
2437
|
+
updatePosEnd(x, y);
|
|
2438
|
+
if (!isSwiping.value && isThresholdExceeded.value)
|
|
2439
|
+
isSwiping.value = true;
|
|
2440
|
+
if (isSwiping.value)
|
|
2441
|
+
onSwipe == null ? void 0 : onSwipe(e);
|
|
2442
|
+
}),
|
|
2443
|
+
useEventListener(target, "pointerup", (e) => {
|
|
2444
|
+
var _a, _b;
|
|
2445
|
+
if (!eventIsAllowed(e))
|
|
2446
|
+
return;
|
|
2447
|
+
if (isSwiping.value)
|
|
2448
|
+
onSwipeEnd == null ? void 0 : onSwipeEnd(e, direction.value);
|
|
2449
|
+
isPointerDown.value = false;
|
|
2450
|
+
isSwiping.value = false;
|
|
2451
|
+
(_b = (_a = targetRef.value) == null ? void 0 : _a.style) == null ? void 0 : _b.setProperty("touch-action", "initial");
|
|
2452
|
+
})
|
|
2453
|
+
];
|
|
2454
|
+
const stop = () => stops.forEach((s) => s());
|
|
2455
|
+
return {
|
|
2456
|
+
isSwiping: readonly(isSwiping),
|
|
2457
|
+
direction: readonly(direction),
|
|
2458
|
+
posStart: readonly(posStart),
|
|
2459
|
+
posEnd: readonly(posEnd),
|
|
2460
|
+
distanceX,
|
|
2461
|
+
distanceY,
|
|
2462
|
+
stop
|
|
2463
|
+
};
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
function preventDefault(rawEvent) {
|
|
2467
|
+
const e = rawEvent || window.event;
|
|
2468
|
+
if (e.touches.length > 1)
|
|
2469
|
+
return true;
|
|
2470
|
+
if (e.preventDefault)
|
|
2471
|
+
e.preventDefault();
|
|
2472
|
+
return false;
|
|
2473
|
+
}
|
|
2474
|
+
function useScrollLock(element, initialState = false) {
|
|
2475
|
+
const isLocked = ref(initialState);
|
|
2476
|
+
let stopTouchMoveListener = null;
|
|
2477
|
+
let initialOverflow;
|
|
2478
|
+
watch(resolveRef(element), (el) => {
|
|
2479
|
+
if (el) {
|
|
2480
|
+
const ele = el;
|
|
2481
|
+
initialOverflow = ele.style.overflow;
|
|
2482
|
+
if (isLocked.value)
|
|
2483
|
+
ele.style.overflow = "hidden";
|
|
2484
|
+
}
|
|
2485
|
+
}, {
|
|
2486
|
+
immediate: true
|
|
2487
|
+
});
|
|
2488
|
+
const lock = () => {
|
|
2489
|
+
const ele = resolveUnref(element);
|
|
2490
|
+
if (!ele || isLocked.value)
|
|
2491
|
+
return;
|
|
2492
|
+
if (isIOS) {
|
|
2493
|
+
stopTouchMoveListener = useEventListener(ele, "touchmove", preventDefault, { passive: false });
|
|
2494
|
+
}
|
|
2495
|
+
ele.style.overflow = "hidden";
|
|
2496
|
+
isLocked.value = true;
|
|
2497
|
+
};
|
|
2498
|
+
const unlock = () => {
|
|
2499
|
+
const ele = resolveUnref(element);
|
|
2500
|
+
if (!ele || !isLocked.value)
|
|
2501
|
+
return;
|
|
2502
|
+
isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());
|
|
2503
|
+
ele.style.overflow = initialOverflow;
|
|
2504
|
+
isLocked.value = false;
|
|
2505
|
+
};
|
|
2506
|
+
tryOnScopeDispose(unlock);
|
|
2507
|
+
return computed({
|
|
2508
|
+
get() {
|
|
2509
|
+
return isLocked.value;
|
|
2510
|
+
},
|
|
2511
|
+
set(v) {
|
|
2512
|
+
if (v)
|
|
2513
|
+
lock();
|
|
2514
|
+
else
|
|
2515
|
+
unlock();
|
|
2516
|
+
}
|
|
2517
|
+
});
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
var __defProp = Object.defineProperty;
|
|
2521
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
2522
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
2523
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
2524
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2525
|
+
var __spreadValues = (a, b) => {
|
|
2526
|
+
for (var prop in b || (b = {}))
|
|
2527
|
+
if (__hasOwnProp.call(b, prop))
|
|
2528
|
+
__defNormalProp(a, prop, b[prop]);
|
|
2529
|
+
if (__getOwnPropSymbols)
|
|
2530
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
2531
|
+
if (__propIsEnum.call(b, prop))
|
|
2532
|
+
__defNormalProp(a, prop, b[prop]);
|
|
2533
|
+
}
|
|
2534
|
+
return a;
|
|
2535
|
+
};
|
|
2536
|
+
const _TransitionPresets = {
|
|
2537
|
+
easeInSine: [0.12, 0, 0.39, 0],
|
|
2538
|
+
easeOutSine: [0.61, 1, 0.88, 1],
|
|
2539
|
+
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
2540
|
+
easeInQuad: [0.11, 0, 0.5, 0],
|
|
2541
|
+
easeOutQuad: [0.5, 1, 0.89, 1],
|
|
2542
|
+
easeInOutQuad: [0.45, 0, 0.55, 1],
|
|
2543
|
+
easeInCubic: [0.32, 0, 0.67, 0],
|
|
2544
|
+
easeOutCubic: [0.33, 1, 0.68, 1],
|
|
2545
|
+
easeInOutCubic: [0.65, 0, 0.35, 1],
|
|
2546
|
+
easeInQuart: [0.5, 0, 0.75, 0],
|
|
2547
|
+
easeOutQuart: [0.25, 1, 0.5, 1],
|
|
2548
|
+
easeInOutQuart: [0.76, 0, 0.24, 1],
|
|
2549
|
+
easeInQuint: [0.64, 0, 0.78, 0],
|
|
2550
|
+
easeOutQuint: [0.22, 1, 0.36, 1],
|
|
2551
|
+
easeInOutQuint: [0.83, 0, 0.17, 1],
|
|
2552
|
+
easeInExpo: [0.7, 0, 0.84, 0],
|
|
2553
|
+
easeOutExpo: [0.16, 1, 0.3, 1],
|
|
2554
|
+
easeInOutExpo: [0.87, 0, 0.13, 1],
|
|
2555
|
+
easeInCirc: [0.55, 0, 1, 0.45],
|
|
2556
|
+
easeOutCirc: [0, 0.55, 0.45, 1],
|
|
2557
|
+
easeInOutCirc: [0.85, 0, 0.15, 1],
|
|
2558
|
+
easeInBack: [0.36, 0, 0.66, -0.56],
|
|
2559
|
+
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
2560
|
+
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
2561
|
+
};
|
|
2562
|
+
__spreadValues({
|
|
2563
|
+
linear: identity
|
|
2564
|
+
}, _TransitionPresets);
|
|
2565
|
+
|
|
2566
|
+
function useVModel(props, key, emit, options = {}) {
|
|
2567
|
+
var _a, _b, _c, _d, _e;
|
|
2568
|
+
const {
|
|
2569
|
+
clone = false,
|
|
2570
|
+
passive = false,
|
|
2571
|
+
eventName,
|
|
2572
|
+
deep = false,
|
|
2573
|
+
defaultValue
|
|
2574
|
+
} = options;
|
|
2575
|
+
const vm = getCurrentInstance();
|
|
2576
|
+
const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));
|
|
2577
|
+
let event = eventName;
|
|
2578
|
+
if (!key) {
|
|
2579
|
+
if (isVue2) {
|
|
2580
|
+
const modelOptions = (_e = (_d = vm == null ? void 0 : vm.proxy) == null ? void 0 : _d.$options) == null ? void 0 : _e.model;
|
|
2581
|
+
key = (modelOptions == null ? void 0 : modelOptions.value) || "value";
|
|
2582
|
+
if (!eventName)
|
|
2583
|
+
event = (modelOptions == null ? void 0 : modelOptions.event) || "input";
|
|
2584
|
+
} else {
|
|
2585
|
+
key = "modelValue";
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
event = eventName || event || `update:${key.toString()}`;
|
|
2589
|
+
const cloneFn = (val) => !clone ? val : isFunction(clone) ? clone(val) : cloneFnJSON(val);
|
|
2590
|
+
const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;
|
|
2591
|
+
if (passive) {
|
|
2592
|
+
const initialValue = getValue();
|
|
2593
|
+
const proxy = ref(initialValue);
|
|
2594
|
+
watch(() => props[key], (v) => proxy.value = cloneFn(v));
|
|
2595
|
+
watch(proxy, (v) => {
|
|
2596
|
+
if (v !== props[key] || deep)
|
|
2597
|
+
_emit(event, v);
|
|
2598
|
+
}, { deep });
|
|
2599
|
+
return proxy;
|
|
2600
|
+
} else {
|
|
2601
|
+
return computed({
|
|
2602
|
+
get() {
|
|
2603
|
+
return getValue();
|
|
2604
|
+
},
|
|
2605
|
+
set(value) {
|
|
2606
|
+
_emit(event, value);
|
|
2607
|
+
}
|
|
2608
|
+
});
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
function useControlAttributes() {
|
|
2613
|
+
const attributes = useAttrs();
|
|
2614
|
+
return {
|
|
2615
|
+
readonly: computed(() => attributes['readonly']),
|
|
2616
|
+
disabled: computed(() => attributes['disabled']),
|
|
2617
|
+
'force-state': computed(() => attributes['force-state'])
|
|
2618
|
+
};
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2621
|
+
function isVisible(element) {
|
|
2622
|
+
return element.getClientRects().length > 0;
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
function useElevation(element, trigger) {
|
|
2626
|
+
const elementRef = isRef(element) ? element : ref(element);
|
|
2627
|
+
const triggerRef = isRef(trigger) ? trigger : ref();
|
|
2628
|
+
// Functions
|
|
2629
|
+
function getPageElevations(currentElement) {
|
|
2630
|
+
return [...document.body.querySelectorAll('*')].filter(isVisible).filter(element => !element.isEqualNode(currentElement)).map(element => getComputedStyle(element)).map(style => Number(style.zIndex)).filter(zIndex => !isNaN(zIndex));
|
|
2631
|
+
}
|
|
2632
|
+
function setElementElevation(element) {
|
|
2633
|
+
element.style.zIndex = String(Math.max(0, ...getPageElevations(element)) + 1);
|
|
2634
|
+
}
|
|
2635
|
+
// Effects
|
|
2636
|
+
watch([elementRef, triggerRef], _ref => {
|
|
2637
|
+
let [element] = _ref;
|
|
2638
|
+
if (element) {
|
|
2639
|
+
setElementElevation(element);
|
|
2640
|
+
}
|
|
2641
|
+
}, {
|
|
2642
|
+
immediate: true
|
|
2643
|
+
});
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
function useIdAttribute() {
|
|
2647
|
+
const attributes = useAttrs(),
|
|
2648
|
+
component = getCurrentInstance();
|
|
2649
|
+
return computed(() => {
|
|
2650
|
+
var _a;
|
|
2651
|
+
return (_a = attributes['id']) !== null && _a !== void 0 ? _a : component === null || component === void 0 ? void 0 : component.uid.toString();
|
|
2652
|
+
});
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2655
|
+
const CODE_BACKSPACE = 8;
|
|
2656
|
+
const CODE_BREAK = 19;
|
|
2657
|
+
const CODE_DELETE = 46;
|
|
2658
|
+
const CODE_DOWN = 40;
|
|
2659
|
+
const CODE_END = 35;
|
|
2660
|
+
const CODE_ENTER = 13;
|
|
2661
|
+
const CODE_ESC = 27;
|
|
2662
|
+
const CODE_HOME = 36;
|
|
2663
|
+
const CODE_LEFT = 37;
|
|
2664
|
+
const CODE_PAGEDOWN = 34;
|
|
2665
|
+
const CODE_PAGEUP = 33;
|
|
2666
|
+
const CODE_RIGHT = 39;
|
|
2667
|
+
const CODE_SPACE = 32;
|
|
2668
|
+
const CODE_UP = 38;
|
|
2669
|
+
|
|
2670
|
+
const PLACEMENT_TOP_START = 'top-start';
|
|
2671
|
+
const PLACEMENT_TOP_END = 'top-end';
|
|
2672
|
+
const PLACEMENT_BOTTOM_START = 'bottom-start';
|
|
2673
|
+
const PLACEMENT_BOTTOM_END = 'bottom-end';
|
|
2674
|
+
const PLACEMENT_RIGHT_START = 'right-start';
|
|
2675
|
+
const PLACEMENT_RIGHT_END = 'right-end';
|
|
2676
|
+
const PLACEMENT_LEFT_START = 'left-start';
|
|
2677
|
+
const PLACEMENT_LEFT_END = 'left-end';
|
|
2678
|
+
|
|
2679
|
+
function flattenDeep() {
|
|
2680
|
+
let arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
2681
|
+
return arr.flatMap(subArray => Array.isArray(subArray) ? flattenDeep(subArray) : subArray);
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
function getAbbreviation(text, limit) {
|
|
2685
|
+
var _a;
|
|
2686
|
+
if (typeof text != 'string' || !text) return '';
|
|
2687
|
+
return ((_a = text.match(RX_ABBREVIATION_FROM_STRING)) !== null && _a !== void 0 ? _a : []).reduce((previous, next) => previous + (+next === 0 || parseInt(next) ? parseInt(next) : next[0] || ''), '').toUpperCase().substring(0, limit);
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
function isEmpty(val) {
|
|
2691
|
+
return val == null || !(Object.keys(val) || val).length;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
function isEmptyValue(val) {
|
|
2695
|
+
return val === undefined || val === null || val === '';
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
function isEqualValue(val1, val2) {
|
|
2699
|
+
if (typeof val1 === 'object' && typeof val2 === 'object') {
|
|
2700
|
+
return JSON.stringify(val1) === JSON.stringify(val2);
|
|
2701
|
+
}
|
|
2702
|
+
return val1 === val2;
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
function useOverflow(container) {
|
|
2706
|
+
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
2707
|
+
const {
|
|
2708
|
+
hide = true,
|
|
2709
|
+
threshold = 0
|
|
2710
|
+
} = options;
|
|
2711
|
+
const containerRef = isRef(container) ? container : ref(container);
|
|
2712
|
+
// State
|
|
2713
|
+
const innerItemsRef = ref([]);
|
|
2714
|
+
const outerItemsRef = ref([]);
|
|
2715
|
+
// Functions
|
|
2716
|
+
function updateState() {
|
|
2717
|
+
const container = containerRef.value;
|
|
2718
|
+
if (container) {
|
|
2719
|
+
const update = [...container.children].reduce((_ref, child) => {
|
|
2720
|
+
let {
|
|
2721
|
+
innerItems,
|
|
2722
|
+
outerItems
|
|
2723
|
+
} = _ref;
|
|
2724
|
+
const item = child;
|
|
2725
|
+
const {
|
|
2726
|
+
x: itemOffset,
|
|
2727
|
+
width: itemWidth
|
|
2728
|
+
} = item.getBoundingClientRect();
|
|
2729
|
+
const {
|
|
2730
|
+
x: containerOffset,
|
|
2731
|
+
width: containerWidth
|
|
2732
|
+
} = container.getBoundingClientRect();
|
|
2733
|
+
if (itemOffset + itemWidth > containerOffset + containerWidth + threshold) {
|
|
2734
|
+
if (hide) {
|
|
2735
|
+
item.style.setProperty('visibility', 'hidden');
|
|
2736
|
+
}
|
|
2737
|
+
return {
|
|
2738
|
+
innerItems,
|
|
2739
|
+
outerItems: [...outerItems, item]
|
|
2740
|
+
};
|
|
2741
|
+
} else {
|
|
2742
|
+
if (hide) {
|
|
2743
|
+
item.style.removeProperty('visibility');
|
|
2744
|
+
}
|
|
2745
|
+
return {
|
|
2746
|
+
innerItems: [...innerItems, item],
|
|
2747
|
+
outerItems
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
}, {
|
|
2751
|
+
innerItems: [],
|
|
2752
|
+
outerItems: []
|
|
2753
|
+
});
|
|
2754
|
+
innerItemsRef.value = update.innerItems;
|
|
2755
|
+
outerItemsRef.value = update.outerItems;
|
|
2756
|
+
} else {
|
|
2757
|
+
innerItemsRef.value = [];
|
|
2758
|
+
outerItemsRef.value = [];
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
// Effects
|
|
2762
|
+
watch(containerRef, updateState, {
|
|
2763
|
+
immediate: true
|
|
2764
|
+
});
|
|
2765
|
+
useMutationObserver(containerRef, updateState, {
|
|
2766
|
+
childList: true
|
|
2767
|
+
});
|
|
2768
|
+
useResizeObserver(containerRef, () => requestAF(updateState));
|
|
2769
|
+
return {
|
|
2770
|
+
innerItems: innerItemsRef,
|
|
2771
|
+
outerItems: outerItemsRef
|
|
2772
|
+
};
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
// TODO: Use `defineEmits` after migration to Vue 3
|
|
2776
|
+
function usePopoverState(isOpen, emit) {
|
|
2777
|
+
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
2778
|
+
// State
|
|
2779
|
+
const state = ref(isOpen.value ? 'open' : 'closed');
|
|
2780
|
+
watch(isOpen, value => {
|
|
2781
|
+
state.value = value ? 'open' : 'closed';
|
|
2782
|
+
});
|
|
2783
|
+
const debouncedState = options.debounce ? refDebounced(state, options.debounce) : state;
|
|
2784
|
+
watch(debouncedState, value => {
|
|
2785
|
+
emit('update:state', value);
|
|
2786
|
+
switch (value) {
|
|
2787
|
+
case 'open':
|
|
2788
|
+
emit('open');
|
|
2789
|
+
break;
|
|
2790
|
+
case 'closed':
|
|
2791
|
+
emit('close');
|
|
2792
|
+
break;
|
|
2793
|
+
}
|
|
2794
|
+
});
|
|
2795
|
+
// Methods
|
|
2796
|
+
function open() {
|
|
2797
|
+
state.value = 'open';
|
|
2798
|
+
}
|
|
2799
|
+
function close() {
|
|
2800
|
+
state.value = 'closed';
|
|
2801
|
+
}
|
|
2802
|
+
function toggle() {
|
|
2803
|
+
state.value = state.value === 'open' ? 'closed' : 'open';
|
|
2804
|
+
}
|
|
2805
|
+
return {
|
|
2806
|
+
state: debouncedState,
|
|
2807
|
+
open,
|
|
2808
|
+
close,
|
|
2809
|
+
toggle
|
|
2810
|
+
};
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
function useProxyModelValue(modelValue, emit) {
|
|
2814
|
+
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
2815
|
+
const {
|
|
2816
|
+
defaultValue
|
|
2817
|
+
} = options;
|
|
2818
|
+
if (defaultValue) {
|
|
2819
|
+
return computed({
|
|
2820
|
+
get: () => {
|
|
2821
|
+
var _a;
|
|
2822
|
+
return (_a = modelValue.value) !== null && _a !== void 0 ? _a : defaultValue.value;
|
|
2823
|
+
},
|
|
2824
|
+
set: value => {
|
|
2825
|
+
emit('update:modelValue', value);
|
|
2826
|
+
}
|
|
2827
|
+
});
|
|
2828
|
+
}
|
|
2829
|
+
return computed({
|
|
2830
|
+
get: () => {
|
|
2831
|
+
return modelValue.value;
|
|
2832
|
+
},
|
|
2833
|
+
set: value => {
|
|
2834
|
+
emit('update:modelValue', value);
|
|
2835
|
+
}
|
|
2836
|
+
});
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
var createPlugin$2 = {};
|
|
2840
|
+
|
|
2841
|
+
var createPlugin$1 = {};
|
|
2842
|
+
|
|
2843
|
+
(function (exports) {
|
|
2844
|
+
|
|
2845
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2846
|
+
value: true
|
|
2847
|
+
});
|
|
2848
|
+
Object.defineProperty(exports, "default", {
|
|
2849
|
+
enumerable: true,
|
|
2850
|
+
get: function () {
|
|
2851
|
+
return _default;
|
|
2852
|
+
}
|
|
2853
|
+
});
|
|
2854
|
+
function createPlugin(plugin, config) {
|
|
2855
|
+
return {
|
|
2856
|
+
handler: plugin,
|
|
2857
|
+
config
|
|
2858
|
+
};
|
|
2859
|
+
}
|
|
2860
|
+
createPlugin.withOptions = function (pluginFunction) {
|
|
2861
|
+
let configFunction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => ({});
|
|
2862
|
+
const optionsFunction = function (options) {
|
|
2863
|
+
return {
|
|
2864
|
+
__options: options,
|
|
2865
|
+
handler: pluginFunction(options),
|
|
2866
|
+
config: configFunction(options)
|
|
2867
|
+
};
|
|
2868
|
+
};
|
|
2869
|
+
optionsFunction.__isOptionsFunction = true;
|
|
2870
|
+
// Expose plugin dependencies so that `object-hash` returns a different
|
|
2871
|
+
// value if anything here changes, to ensure a rebuild is triggered.
|
|
2872
|
+
optionsFunction.__pluginFunction = pluginFunction;
|
|
2873
|
+
optionsFunction.__configFunction = configFunction;
|
|
2874
|
+
return optionsFunction;
|
|
2875
|
+
};
|
|
2876
|
+
const _default = createPlugin;
|
|
2877
|
+
})(createPlugin$1);
|
|
2878
|
+
|
|
2879
|
+
(function (exports) {
|
|
2880
|
+
|
|
2881
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2882
|
+
value: true
|
|
2883
|
+
});
|
|
2884
|
+
Object.defineProperty(exports, "default", {
|
|
2885
|
+
enumerable: true,
|
|
2886
|
+
get: function () {
|
|
2887
|
+
return _default;
|
|
2888
|
+
}
|
|
2889
|
+
});
|
|
2890
|
+
const _createPlugin = /*#__PURE__*/_interop_require_default(createPlugin$1);
|
|
2891
|
+
function _interop_require_default(obj) {
|
|
2892
|
+
return obj && obj.__esModule ? obj : {
|
|
2893
|
+
default: obj
|
|
2894
|
+
};
|
|
2895
|
+
}
|
|
2896
|
+
const _default = _createPlugin.default;
|
|
2897
|
+
})(createPlugin$2);
|
|
2898
|
+
|
|
2899
|
+
let createPlugin = createPlugin$2;
|
|
2900
|
+
var plugin$1 = (createPlugin.__esModule ? createPlugin : {
|
|
2901
|
+
default: createPlugin
|
|
2902
|
+
}).default;
|
|
2903
|
+
|
|
2904
|
+
const plugin = plugin$1;
|
|
2905
|
+
|
|
2906
|
+
const screens = {
|
|
2907
|
+
'sm': '640px',
|
|
2908
|
+
'md': '768px',
|
|
2909
|
+
'lg': '1024px',
|
|
2910
|
+
'xl': '1280px',
|
|
2911
|
+
'2xl': '1536px',
|
|
2912
|
+
};
|
|
2913
|
+
|
|
2914
|
+
const variants = {
|
|
2915
|
+
'children': ['& > *'],
|
|
2916
|
+
|
|
2917
|
+
'first-child': ['& > *:first-child'],
|
|
2918
|
+
'middle-child': ['& > *:not(:first-child, :last-child)'],
|
|
2919
|
+
'last-child': ['& > *:last-child'],
|
|
2920
|
+
|
|
2921
|
+
'links': ['& :any-link'],
|
|
2922
|
+
|
|
2923
|
+
'checked': ['&[checked]:not([checked="false"])', '&:checked'],
|
|
2924
|
+
'selected': ['&[selected]:not([selected="false"])', '&:checked'],
|
|
2925
|
+
'activated': ['&[activated]:not([activated="false"])'],
|
|
2926
|
+
|
|
2927
|
+
'valid': ['&:not([invalid])', '&[invalid="false"]'],
|
|
2928
|
+
'invalid': ['&[invalid]:not([invalid="false"])'],
|
|
2929
|
+
|
|
2930
|
+
'required': ['&[required]:not([required="false"])'],
|
|
2931
|
+
'optional': ['&:not([required])', '&[required="false"]'],
|
|
2932
|
+
|
|
2933
|
+
'read-write': ['&:not([readonly])', '&[readonly="false"]'],
|
|
2934
|
+
'read-only': ['&[readonly]:not([readonly="false"])'],
|
|
2935
|
+
|
|
2936
|
+
'enabled': ['&:not([disabled])', '&[disabled="false"]'],
|
|
2937
|
+
'disabled': ['&[disabled]:not([disabled="false"])'],
|
|
2938
|
+
|
|
2939
|
+
'draggable': ['&[draggable]:not([draggable="false"])'],
|
|
2940
|
+
|
|
2941
|
+
'hover': [
|
|
2942
|
+
'&:not(.interactivity-none):hover',
|
|
2943
|
+
'&:not(.interactivity-none)[force-state="hover"]',
|
|
2944
|
+
],
|
|
2945
|
+
|
|
2946
|
+
'focus': [
|
|
2947
|
+
'&:not(.interactivity-none):focus',
|
|
2948
|
+
'&:not(.interactivity-none)[force-state="focus"]',
|
|
2949
|
+
],
|
|
2950
|
+
|
|
2951
|
+
'focus-within': [
|
|
2952
|
+
'&:not(.interactivity-none):focus-within',
|
|
2953
|
+
'&:not(.interactivity-none)[force-state="focus-within"]',
|
|
2954
|
+
],
|
|
2955
|
+
|
|
2956
|
+
'focus-visible': [
|
|
2957
|
+
'&:not(.interactivity-none):focus-visible',
|
|
2958
|
+
'&:not(.interactivity-none)[force-state="focus-visible"]',
|
|
2959
|
+
],
|
|
2960
|
+
|
|
2961
|
+
'active': [
|
|
2962
|
+
'&:not(.interactivity-none):active',
|
|
2963
|
+
'&:not(.interactivity-none)[force-state="active"]',
|
|
2964
|
+
],
|
|
2965
|
+
};
|
|
2966
|
+
|
|
2967
|
+
var core = {
|
|
2968
|
+
screens,
|
|
2969
|
+
variants,
|
|
2970
|
+
|
|
2971
|
+
plugin: plugin(({ addVariant, addUtilities }) => {
|
|
2972
|
+
Object.entries(screens).forEach(([breakpoint, width]) => {
|
|
2973
|
+
addVariant(breakpoint, [
|
|
2974
|
+
`@media (min-width: ${width})`,
|
|
2975
|
+
`[force-screen~="${breakpoint}"] &`,
|
|
2976
|
+
`&[force-screen~="${breakpoint}"]`,
|
|
2977
|
+
]);
|
|
2978
|
+
});
|
|
2979
|
+
|
|
2980
|
+
Object.entries(variants).forEach(([modifier, selectors]) => {
|
|
2981
|
+
addVariant(modifier, selectors);
|
|
2982
|
+
});
|
|
2983
|
+
|
|
2984
|
+
// TODO: Remove when migration complete
|
|
2985
|
+
addUtilities({
|
|
2986
|
+
'.visually-hidden': {
|
|
2987
|
+
width: 0,
|
|
2988
|
+
height: 0,
|
|
2989
|
+
visibility: 'hidden',
|
|
2990
|
+
},
|
|
2991
|
+
});
|
|
2992
|
+
}),
|
|
2993
|
+
};
|
|
2994
|
+
|
|
2995
|
+
function useResponsive(element) {
|
|
2996
|
+
const currentInstance = getCurrentInstance();
|
|
2997
|
+
const currentRootElement = ref();
|
|
2998
|
+
if (element) {
|
|
2999
|
+
watch(element, value => {
|
|
3000
|
+
currentRootElement.value = value;
|
|
3001
|
+
});
|
|
3002
|
+
} else {
|
|
3003
|
+
onMounted(() => {
|
|
3004
|
+
if (currentInstance) {
|
|
3005
|
+
const element = currentInstance.vnode[isVue3 ? 'el' : 'elm'];
|
|
3006
|
+
if (element instanceof Element) {
|
|
3007
|
+
currentRootElement.value = element;
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
3010
|
+
});
|
|
3011
|
+
}
|
|
3012
|
+
// State
|
|
3013
|
+
const isDesktop = computed(() => {
|
|
3014
|
+
return isForcedDesktop(currentRootElement.value) || desktopQuery.value;
|
|
3015
|
+
});
|
|
3016
|
+
const isMobile = computed(() => {
|
|
3017
|
+
return !isDesktop.value;
|
|
3018
|
+
});
|
|
3019
|
+
const desktopQuery = useMediaQuery(`(min-width: ${core.screens.md})`);
|
|
3020
|
+
// Helpers
|
|
3021
|
+
function isForcedDesktop(element) {
|
|
3022
|
+
var _a, _b;
|
|
3023
|
+
if (!element) {
|
|
3024
|
+
return false;
|
|
3025
|
+
}
|
|
3026
|
+
const forcedScreens = (_a = element.getAttribute('force-screen')) === null || _a === void 0 ? void 0 : _a.split(/\s+/);
|
|
3027
|
+
if (forcedScreens === null || forcedScreens === void 0 ? void 0 : forcedScreens.some(forcedScreen => ['md', 'lg', 'xl', '2xl'].includes(forcedScreen))) {
|
|
3028
|
+
return true;
|
|
3029
|
+
}
|
|
3030
|
+
return isForcedDesktop((_b = element.parentElement) !== null && _b !== void 0 ? _b : undefined);
|
|
3031
|
+
}
|
|
3032
|
+
return {
|
|
3033
|
+
isDesktop,
|
|
3034
|
+
isMobile
|
|
3035
|
+
};
|
|
3036
|
+
}
|
|
3037
|
+
|
|
1
3038
|
var theme = {
|
|
2
3039
|
screens: {
|
|
3
3040
|
},
|
|
@@ -3747,4 +6784,280 @@ function useTheme() {
|
|
|
3747
6784
|
return defaultConfig.theme;
|
|
3748
6785
|
}
|
|
3749
6786
|
|
|
3750
|
-
|
|
6787
|
+
function useToggle() {
|
|
6788
|
+
let defaultValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
6789
|
+
const isActiveToggle = ref(defaultValue);
|
|
6790
|
+
function show() {
|
|
6791
|
+
isActiveToggle.value = true;
|
|
6792
|
+
}
|
|
6793
|
+
function hide() {
|
|
6794
|
+
isActiveToggle.value = false;
|
|
6795
|
+
}
|
|
6796
|
+
function toggle() {
|
|
6797
|
+
isActiveToggle.value = !isActiveToggle.value;
|
|
6798
|
+
}
|
|
6799
|
+
return {
|
|
6800
|
+
isActiveToggle,
|
|
6801
|
+
show,
|
|
6802
|
+
hide,
|
|
6803
|
+
toggle
|
|
6804
|
+
};
|
|
6805
|
+
}
|
|
6806
|
+
|
|
6807
|
+
function useValidationAttributes() {
|
|
6808
|
+
const attributes = useAttrs();
|
|
6809
|
+
return {
|
|
6810
|
+
required: computed(() => attributes['required']),
|
|
6811
|
+
minlength: computed(() => attributes['minlength']),
|
|
6812
|
+
maxlength: computed(() => attributes['maxlength']),
|
|
6813
|
+
pattern: computed(() => attributes['pattern']),
|
|
6814
|
+
min: computed(() => attributes['min']),
|
|
6815
|
+
max: computed(() => attributes['max']),
|
|
6816
|
+
step: computed(() => attributes['step'])
|
|
6817
|
+
};
|
|
6818
|
+
}
|
|
6819
|
+
|
|
6820
|
+
var BottomSheetVariant;
|
|
6821
|
+
(function (BottomSheetVariant) {
|
|
6822
|
+
BottomSheetVariant["Basic"] = "basic";
|
|
6823
|
+
BottomSheetVariant["Advanced"] = "advanced";
|
|
6824
|
+
})(BottomSheetVariant || (BottomSheetVariant = {}));
|
|
6825
|
+
|
|
6826
|
+
function useBottomSheetSwipeState(root, content, fullscreen, variant, close) {
|
|
6827
|
+
const inlineSwipingStyles = ref({});
|
|
6828
|
+
const skipSwipe = ref(false);
|
|
6829
|
+
const theme = useTheme();
|
|
6830
|
+
const isEventSkipped = event => {
|
|
6831
|
+
return variant.value === BottomSheetVariant.Basic || event.composedPath().includes(content.value) && fullscreen.value;
|
|
6832
|
+
};
|
|
6833
|
+
const {
|
|
6834
|
+
isSwiping
|
|
6835
|
+
} = usePointerSwipe(root, {
|
|
6836
|
+
threshold: 12,
|
|
6837
|
+
onSwipe(event) {
|
|
6838
|
+
skipSwipe.value = isEventSkipped(event);
|
|
6839
|
+
if (variant.value === BottomSheetVariant.Advanced) {
|
|
6840
|
+
const rootElement = unref(root);
|
|
6841
|
+
inlineSwipingStyles.value = {
|
|
6842
|
+
transitionProperty: 'none',
|
|
6843
|
+
minHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
6844
|
+
maxHeight: `${rootElement.clientHeight - event.offsetY}px`
|
|
6845
|
+
};
|
|
6846
|
+
}
|
|
6847
|
+
},
|
|
6848
|
+
onSwipeEnd(event, direction) {
|
|
6849
|
+
if (isEventSkipped(event)) {
|
|
6850
|
+
return;
|
|
6851
|
+
}
|
|
6852
|
+
if (variant.value === BottomSheetVariant.Advanced) {
|
|
6853
|
+
switch (direction) {
|
|
6854
|
+
case SwipeDirection.UP:
|
|
6855
|
+
fullscreen.value = true;
|
|
6856
|
+
break;
|
|
6857
|
+
case SwipeDirection.DOWN:
|
|
6858
|
+
if (fullscreen.value) {
|
|
6859
|
+
fullscreen.value = false;
|
|
6860
|
+
} else {
|
|
6861
|
+
close();
|
|
6862
|
+
}
|
|
6863
|
+
break;
|
|
6864
|
+
}
|
|
6865
|
+
}
|
|
6866
|
+
}
|
|
6867
|
+
});
|
|
6868
|
+
const rootInlineStyles = computed(() => {
|
|
6869
|
+
if (variant.value === BottomSheetVariant.Basic) {
|
|
6870
|
+
return {
|
|
6871
|
+
transitionProperty: 'min-height, max-height',
|
|
6872
|
+
minHeight: '0',
|
|
6873
|
+
maxHeight: `calc(100% - ${theme.spacing.xl})`
|
|
6874
|
+
};
|
|
6875
|
+
}
|
|
6876
|
+
return isSwiping.value && !skipSwipe.value ? inlineSwipingStyles.value : fullscreen.value ? {
|
|
6877
|
+
transitionProperty: 'min-height, max-height',
|
|
6878
|
+
minHeight: `calc(100% - ${theme.spacing.xl})`,
|
|
6879
|
+
maxHeight: `calc(100% - ${theme.spacing.xl})`
|
|
6880
|
+
} : {
|
|
6881
|
+
transitionProperty: 'min-height, max-height',
|
|
6882
|
+
minHeight: '0',
|
|
6883
|
+
maxHeight: '50%'
|
|
6884
|
+
};
|
|
6885
|
+
});
|
|
6886
|
+
return {
|
|
6887
|
+
rootInlineStyles
|
|
6888
|
+
};
|
|
6889
|
+
}
|
|
6890
|
+
|
|
6891
|
+
const BottomSheet = [
|
|
6892
|
+
// Position
|
|
6893
|
+
'fixed', 'left-none', 'right-none', 'bottom-none',
|
|
6894
|
+
// Layout
|
|
6895
|
+
'layout-column',
|
|
6896
|
+
// Shape
|
|
6897
|
+
'rounded-t-lg',
|
|
6898
|
+
// Elevation
|
|
6899
|
+
'shadow-contextual', 'dark:shadow-contextual-dark',
|
|
6900
|
+
// Typography
|
|
6901
|
+
'typography-body-2-regular',
|
|
6902
|
+
// Theme
|
|
6903
|
+
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
6904
|
+
const BottomSheetVariants = {
|
|
6905
|
+
[BottomSheetVariant.Basic]: [],
|
|
6906
|
+
[BottomSheetVariant.Advanced]: [
|
|
6907
|
+
// Box
|
|
6908
|
+
'max-h-[50%]',
|
|
6909
|
+
// Transition
|
|
6910
|
+
'transition-[min-height]', 'transition-[max-height]']
|
|
6911
|
+
};
|
|
6912
|
+
const BottomSheetHandle = [
|
|
6913
|
+
// Layout
|
|
6914
|
+
'layout-row justify-center',
|
|
6915
|
+
// Interactivity
|
|
6916
|
+
'interactivity-drag',
|
|
6917
|
+
// Box
|
|
6918
|
+
'after:w-2xl', 'after:h-xs',
|
|
6919
|
+
// Spacing
|
|
6920
|
+
'px-sm', 'py-sm',
|
|
6921
|
+
// Shape
|
|
6922
|
+
'after:rounded-full',
|
|
6923
|
+
// Theme
|
|
6924
|
+
'after:bg-outline', 'after:dark:bg-outline'];
|
|
6925
|
+
const BottomSheetHeader = [
|
|
6926
|
+
// Layout (empty)
|
|
6927
|
+
'empty:hidden',
|
|
6928
|
+
// Spacing
|
|
6929
|
+
'px-lg', 'py-md',
|
|
6930
|
+
// Typography
|
|
6931
|
+
'typography-headline-3'];
|
|
6932
|
+
const BottomSheetContent = [
|
|
6933
|
+
// Layout
|
|
6934
|
+
'layout-column', 'grow'];
|
|
6935
|
+
|
|
6936
|
+
var script = defineComponent({
|
|
6937
|
+
name: 'OrBottomSheet',
|
|
6938
|
+
components: {
|
|
6939
|
+
OrOverlay: __vue_component__$1
|
|
6940
|
+
},
|
|
6941
|
+
inheritAttrs: false,
|
|
6942
|
+
props: {
|
|
6943
|
+
isOpen: {
|
|
6944
|
+
type: Boolean,
|
|
6945
|
+
default: false
|
|
6946
|
+
},
|
|
6947
|
+
variant: {
|
|
6948
|
+
type: String,
|
|
6949
|
+
default: BottomSheetVariant.Advanced
|
|
6950
|
+
}
|
|
6951
|
+
},
|
|
6952
|
+
emits: ['update:state', 'open', 'close'],
|
|
6953
|
+
expose: ['root', 'state', 'open', 'close', 'toggle'],
|
|
6954
|
+
setup(props, context) {
|
|
6955
|
+
// Refs
|
|
6956
|
+
const root = ref();
|
|
6957
|
+
const content = ref();
|
|
6958
|
+
// Props
|
|
6959
|
+
const {
|
|
6960
|
+
variant,
|
|
6961
|
+
isOpen
|
|
6962
|
+
} = toRefs$1(props);
|
|
6963
|
+
// State
|
|
6964
|
+
const {
|
|
6965
|
+
state,
|
|
6966
|
+
open,
|
|
6967
|
+
close,
|
|
6968
|
+
toggle
|
|
6969
|
+
} = usePopoverState(isOpen, context.emit);
|
|
6970
|
+
const fullscreen = ref(false);
|
|
6971
|
+
// Styles
|
|
6972
|
+
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
6973
|
+
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
6974
|
+
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
6975
|
+
const contentStyles = computed(() => [...BottomSheetContent, fullscreen.value || variant.value === 'basic' ? 'overflow-y-auto' : 'overflow-hidden']);
|
|
6976
|
+
// Effects
|
|
6977
|
+
// #region Swipe
|
|
6978
|
+
const {
|
|
6979
|
+
rootInlineStyles
|
|
6980
|
+
} = useBottomSheetSwipeState(root, content, fullscreen, variant, close);
|
|
6981
|
+
// #endregion
|
|
6982
|
+
watch(state, value => {
|
|
6983
|
+
if (value === 'closed') {
|
|
6984
|
+
fullscreen.value = false;
|
|
6985
|
+
}
|
|
6986
|
+
});
|
|
6987
|
+
// #region Click Outside
|
|
6988
|
+
onClickOutside(root, event => {
|
|
6989
|
+
const path = event.composedPath();
|
|
6990
|
+
if (!path.some(_ref => {
|
|
6991
|
+
let {
|
|
6992
|
+
classList
|
|
6993
|
+
} = _ref;
|
|
6994
|
+
return (classList === null || classList === void 0 ? void 0 : classList.contains('or-popover-v3')) || (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3'));
|
|
6995
|
+
})) {
|
|
6996
|
+
close();
|
|
6997
|
+
}
|
|
6998
|
+
});
|
|
6999
|
+
// #endregion
|
|
7000
|
+
return {
|
|
7001
|
+
root,
|
|
7002
|
+
content,
|
|
7003
|
+
rootStyles,
|
|
7004
|
+
rootInlineStyles,
|
|
7005
|
+
handleStyles,
|
|
7006
|
+
headerStyles,
|
|
7007
|
+
contentStyles,
|
|
7008
|
+
state,
|
|
7009
|
+
fullscreen,
|
|
7010
|
+
open,
|
|
7011
|
+
close,
|
|
7012
|
+
toggle
|
|
7013
|
+
};
|
|
7014
|
+
}
|
|
7015
|
+
});
|
|
7016
|
+
|
|
7017
|
+
/* script */
|
|
7018
|
+
const __vue_script__ = script;
|
|
7019
|
+
|
|
7020
|
+
/* template */
|
|
7021
|
+
var __vue_render__ = function () {
|
|
7022
|
+
var _vm = this;
|
|
7023
|
+
var _h = _vm.$createElement;
|
|
7024
|
+
var _c = _vm._self._c || _h;
|
|
7025
|
+
return _vm.state === 'open' ? _c('OrOverlay', {
|
|
7026
|
+
attrs: {
|
|
7027
|
+
"fullscreen": _vm.fullscreen
|
|
7028
|
+
}
|
|
7029
|
+
}, [_c('div', _vm._b({
|
|
7030
|
+
ref: "root",
|
|
7031
|
+
class: _vm.rootStyles,
|
|
7032
|
+
style: _vm.rootInlineStyles
|
|
7033
|
+
}, 'div', _vm.$attrs, false), [_vm.variant === 'advanced' ? [_c('div', {
|
|
7034
|
+
class: _vm.handleStyles
|
|
7035
|
+
})] : _vm._e(), _vm._v(" "), _c('div', {
|
|
7036
|
+
class: _vm.headerStyles
|
|
7037
|
+
}, [_vm._t("header")], 2), _vm._v(" "), _c('div', {
|
|
7038
|
+
ref: "content",
|
|
7039
|
+
class: _vm.contentStyles
|
|
7040
|
+
}, [_vm._t("default")], 2)], 2)]) : _vm._e();
|
|
7041
|
+
};
|
|
7042
|
+
var __vue_staticRenderFns__ = [];
|
|
7043
|
+
|
|
7044
|
+
/* style */
|
|
7045
|
+
const __vue_inject_styles__ = undefined;
|
|
7046
|
+
/* scoped */
|
|
7047
|
+
const __vue_scope_id__ = undefined;
|
|
7048
|
+
/* module identifier */
|
|
7049
|
+
const __vue_module_identifier__ = undefined;
|
|
7050
|
+
/* functional template */
|
|
7051
|
+
const __vue_is_functional_template__ = false;
|
|
7052
|
+
/* style inject */
|
|
7053
|
+
|
|
7054
|
+
/* style inject SSR */
|
|
7055
|
+
|
|
7056
|
+
/* style inject shadow dom */
|
|
7057
|
+
|
|
7058
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
7059
|
+
render: __vue_render__,
|
|
7060
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
7061
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
7062
|
+
|
|
7063
|
+
export { useElementBounding as $, getCS as A, getMaxZIndex as B, useVModel as C, _ListCache as D, _Map as E, _MapCache as F, _getNative as G, eq_1 as H, _baseGetTag as I, isObjectLike_1 as J, _root as K, _freeGlobal as L, isArray_1 as M, _overArg as N, isFunction_1 as O, _getPrototype as P, _toSource as Q, _Symbol as R, isEmpty as S, useElementSize as T, unrefElement as U, tryOnScopeDispose as V, useElevation as W, useScrollLock as X, useToggle as Y, __vue_component__ as Z, _baseToString as _, useToggle$1 as a, BottomSheetHandle as a$, get_1 as a0, useDraggable as a1, clamp as a2, commonjsGlobal as a3, getDefaultExportFromCjs as a4, useResizeObserver as a5, useDebounceFn as a6, watchDebounced as a7, _castPath as a8, _toKey as a9, PLACEMENT_TOP_END as aA, PLACEMENT_BOTTOM_START as aB, PLACEMENT_BOTTOM_END as aC, PLACEMENT_RIGHT_START as aD, PLACEMENT_RIGHT_END as aE, PLACEMENT_LEFT_START as aF, PLACEMENT_LEFT_END as aG, MutationObs as aH, removeNode as aI, isVisible$1 as aJ, selectAll as aK, select as aL, contains as aM, getById as aN, hasClass as aO, setAttr as aP, removeAttr as aQ, getAttr as aR, hasAttr as aS, getStyle as aT, offset as aU, position as aV, getAbbreviation as aW, isVisible as aX, useBottomSheetSwipeState as aY, BottomSheet as aZ, BottomSheetVariants as a_, _isKey as aa, _baseGet as ab, useFocus as ac, isEqualValue as ad, addClass as ae, removeClass as af, useOverflow as ag, createSharedComposable as ah, useEventBus as ai, noop as aj, BottomSheetVariant as ak, CODE_BACKSPACE as al, CODE_BREAK as am, CODE_DELETE as an, CODE_DOWN as ao, CODE_END as ap, CODE_ENTER as aq, CODE_ESC as ar, CODE_HOME as as, CODE_LEFT as at, CODE_PAGEDOWN as au, CODE_PAGEUP as av, CODE_RIGHT as aw, CODE_SPACE as ax, CODE_UP as ay, PLACEMENT_TOP_START as az, useIdAttribute as b, BottomSheetHeader as b0, BottomSheetContent as b1, useControlAttributes as c, useElementHover as d, useValidationAttributes as e, flattenDeep as f, useTheme as g, reflow as h, isEmptyValue as i, removeStyle as j, cancelAF as k, getBCR as l, resolveUnref as m, useMagicKeys as n, onClickOutside as o, pxToRem as p, useActiveElement as q, requestAF as r, setStyle as s, usePopoverState as t, useProxyModelValue as u, useResponsive as v, whenever as w, isObject_1 as x, isSymbol_1 as y, toString_1 as z };
|