@onereach/ui-components 4.10.4 → 4.10.5-beta.2960.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrDateTimePickerMonthSelect-9ca79b52.js → OrDateTimePickerMonthSelect-88a629fe.js} +7 -23
- package/dist/bundled/v2/{OrDateTimePickerTimeSelect-c52ee823.js → OrDateTimePickerTimeSelect-8851268e.js} +5 -15
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +2 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +1 -1
- package/dist/bundled/v2/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +2 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +2 -1
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +7 -9
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +3 -3
- package/dist/bundled/v2/components/OrCheckboxGroupV3/index.js +4 -3
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +6 -8
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrCheckboxTreeV3/index.js +4 -3
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +6 -10
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +1 -2
- package/dist/bundled/v2/components/OrCode/OrCode.js +5 -3793
- package/dist/bundled/v2/components/OrCode/index.js +5 -3
- package/dist/bundled/v2/components/OrCode/lang.js +24 -3
- package/dist/bundled/v2/components/OrCode/theme.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +356 -0
- package/dist/bundled/v2/components/OrCodeV3/OrCode.vue.d.ts +169 -0
- package/dist/bundled/v2/components/OrCodeV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrCodeV3/index.js +54 -0
- package/dist/bundled/v2/components/OrCodeV3/props.d.ts +8 -0
- package/dist/bundled/v2/components/OrCodeV3/props.js +11 -0
- package/dist/bundled/v2/components/OrCodeV3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/OrCodeV3/styles.js +16 -0
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/index.js +1 -1
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +1 -1
- package/dist/bundled/v2/components/OrConfirm/index.js +1 -1
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +4 -3
- package/dist/bundled/v2/components/OrConfirmV3/index.js +2 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +8 -14
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +4 -3
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +9 -15
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +5 -4
- package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanel.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +10 -18
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -1
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +1 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -16
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +6 -10
- package/dist/bundled/v2/components/OrInputV3/OrInput.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -1
- package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +1 -1
- package/dist/bundled/v2/components/OrLoaderV3/index.js +1 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +3 -3
- package/dist/bundled/v2/components/OrMenuV3/index.js +1 -1
- package/dist/bundled/v2/components/OrModal/OrModal.js +2 -2
- package/dist/bundled/v2/components/OrModal/index.js +1 -1
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +4 -4
- package/dist/bundled/v2/components/OrModalV3/index.js +1 -1
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +1 -1
- package/dist/bundled/v2/components/OrNotificationV3/index.js +1 -1
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +1 -1
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +4 -8
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +2 -1
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +1 -1
- package/dist/bundled/v2/components/OrPassword/index.js +1 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/index.js +1 -1
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +1 -1
- package/dist/bundled/v2/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v2/components/OrRadioGroupV3/OrRadioGroup.js +4 -8
- package/dist/bundled/v2/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrRadioGroupV3/index.js +1 -2
- package/dist/bundled/v2/components/OrRadioV3/OrRadio.js +6 -10
- package/dist/bundled/v2/components/OrRadioV3/OrRadio.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrRadioV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +2 -1
- package/dist/bundled/v2/components/OrSearchV3/index.js +2 -1
- package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControl.js +3 -7
- package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrSelect/index.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +5 -9
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrSelectV3/index.js +3 -2
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +1 -1
- package/dist/bundled/v2/components/OrSidebar/index.js +1 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +1 -1
- package/dist/bundled/v2/components/OrSidebarV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +1 -1
- package/dist/bundled/v2/components/OrSlider/index.js +1 -1
- package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeader.js +3 -7
- package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrSortHeaderV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSwitchV3/OrSwitch.js +7 -11
- package/dist/bundled/v2/components/OrSwitchV3/OrSwitch.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrSwitchV3/index.js +2 -1
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +4 -8
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTabsV3/index.js +2 -1
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +7 -11
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/index.js +2 -1
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +1 -1
- package/dist/bundled/v2/components/OrTagV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +1 -1
- package/dist/bundled/v2/components/OrTagsV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.js +6 -10
- package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextareaV3/index.js +1 -0
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +7 -13
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +4 -3
- package/dist/bundled/v2/components/OrToast/composable/index.js +1 -1
- package/dist/bundled/v2/components/OrToast/composable/useToast.js +1 -1
- package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v2/components/OrToast/index.js +1 -1
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +1 -1
- package/dist/bundled/v2/components/OrToastContainer/index.js +1 -1
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +2 -2
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/index.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/index.js +1 -1
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +17 -8
- package/dist/bundled/v2/hooks/index.d.ts +9 -8
- package/dist/bundled/v2/hooks/index.js +2 -1
- package/dist/bundled/v2/hooks/useOverflow.js +1 -1
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +8 -7
- package/dist/bundled/v2/hooks/usePopoverState.js +6 -6
- package/dist/bundled/v2/hooks/useProxyModelValue.d.ts +8 -0
- package/dist/bundled/v2/hooks/useProxyModelValue.js +29 -0
- package/dist/bundled/v2/hooks/useResponsive/index.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +1 -1
- package/dist/bundled/v2/hooks/useTheme.d.ts +2 -1
- package/dist/bundled/v2/hooks/useTheme.js +173 -172
- package/dist/bundled/v2/{lang-0fb8f78b.js → index-11e9d6f2.js} +797 -575
- package/dist/bundled/v2/{index-cf2c3c27.js → index-451f3d87.js} +393 -253
- package/dist/bundled/v2/{index-c92e2839.js → index-760079e7.js} +1 -1
- package/dist/bundled/{v3/OrCode.vue_vue_type_script_lang-46846a36.js → v2/index-9c1d2908.js} +30 -316
- package/dist/bundled/v2/index.js +17 -11
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-214a0eea.js → OrBottomSheet.vue_vue_type_script_lang-ec375126.js} +3 -3
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-e8969bd3.js → OrButton.vue_vue_type_script_lang-7370e903.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3e7aa91a.js → OrCardCollection.vue_vue_type_script_lang-c7d9f452.js} +4 -4
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-616a0cce.js → OrCheckbox.vue_vue_type_script_lang-a27167e0.js} +5 -8
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-6946b630.js → OrCheckboxGroup.vue_vue_type_script_lang-386971f8.js} +5 -8
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-e2647349.js → OrCheckboxTree.vue_vue_type_script_lang-1d754ac1.js} +7 -10
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-22c66c0d.js +220 -0
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-ce5a4f02.js +237 -0
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-2e1845d8.js → OrColorPicker.vue_vue_type_script_lang-7c9b353d.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-51f9e144.js → OrConfirm.vue_vue_type_script_lang-836e2a0f.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-93458f1f.js → OrConfirm.vue_vue_type_script_lang-88d3aeda.js} +6 -6
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-ffc163f4.js → OrDatePicker.vue_vue_type_script_lang-80de9d3a.js} +8 -14
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-265a8788.js → OrDateTimePicker.vue_vue_type_script_lang-300f009d.js} +9 -15
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-882ae7ce.js → OrDateTimePicker.vue_vue_type_script_lang-b7857a99.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-9a9e89c5.js → OrDateTimePickerMonthSelect-44038b6b.js} +10 -26
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-ec90761f.js → OrDateTimePickerPopoverHeader-4959231c.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-683ab20d.js → OrDateTimePickerTimeSelect-b8cc72af.js} +6 -16
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-ca9d5307.js → OrExpansionPanel.vue_vue_type_script_lang-6ea94b95.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-c3a78c23.js → OrIconButton.vue_vue_type_script_lang-41792494.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-820cc7e9.js → OrInlineInput.vue_vue_type_script_lang-fec60585.js} +10 -18
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-588178e5.js → OrInlineTextEdit.vue_vue_type_script_lang-58bc1a00.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8e639991.js → OrInlineTextarea.vue_vue_type_script_lang-4265a2a2.js} +10 -17
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-66363c62.js → OrInput.vue_vue_type_script_lang-0b8a2b69.js} +6 -10
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-f076f6b3.js → OrLoader.vue_vue_type_script_lang-a21dc976.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-8fa5ef6c.js → OrMenu.vue_vue_type_script_lang-f8611f9d.js} +3 -3
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-153819d3.js → OrModal.vue_vue_type_script_lang-32c395a3.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-83469d51.js → OrModal.vue_vue_type_script_lang-e00165f1.js} +3 -3
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-242a7186.js → OrNotification.vue_vue_type_script_lang-9d3dd0d9.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-ba3b94e2.js → OrOverflowMenu.vue_vue_type_script_lang-e077c7fd.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-0fdf19ba.js → OrOverlay.vue_vue_type_script_lang-9036d75d.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-193cf67a.js → OrPagination.vue_vue_type_script_lang-cf545aab.js} +6 -10
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-fc9e7dc8.js → OrPassword.vue_vue_type_script_lang-0a87f331.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-506ae7bb.js → OrPopover.vue_vue_type_script_lang-d15ec5cb.js} +4 -4
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-6a2fef77.js → OrProgress.vue_vue_type_script_lang-2d5ead47.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-e9ac87e8.js → OrRadio.vue_vue_type_script_lang-48c2bc6b.js} +5 -9
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-a82cb83b.js → OrRadioGroup.vue_vue_type_script_lang-d7f6f8ca.js} +5 -8
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-18dc2df8.js → OrSearch.vue_vue_type_script_lang-3fa2209d.js} +1 -1
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-ed0d9fe7.js → OrSegmentedControl.vue_vue_type_script_lang-3a7df112.js} +3 -7
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-72c1db17.js → OrSelect.vue_vue_type_script_lang-b11ea2e9.js} +8 -12
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-45cf8f8c.js → OrSelect.vue_vue_type_script_lang-b8b014f6.js} +1 -1
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-3d9676ea.js → OrSidebar.vue_vue_type_script_lang-55f0db3b.js} +2 -2
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-56608f4a.js → OrSidebar.vue_vue_type_script_lang-cac8e5b7.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-2a698707.js → OrSlider.vue_vue_type_script_lang-9ae4141f.js} +1 -1
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-424696e5.js → OrSortHeader.vue_vue_type_script_lang-a444d88b.js} +3 -7
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-5a6d0202.js → OrSwitch.vue_vue_type_script_lang-2014e70b.js} +6 -10
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-2d08458d.js → OrTabs.vue_vue_type_script_lang-9072248f.js} +5 -9
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-c7065625.js → OrTag.vue_vue_type_script_lang-640a19c4.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-60f6d6de.js → OrTagInput.vue_vue_type_script_lang-67c8d12f.js} +8 -12
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-45bbc68e.js → OrTags.vue_vue_type_script_lang-18b7221b.js} +3 -3
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-0d1a7a48.js → OrTextarea.vue_vue_type_script_lang-44484741.js} +6 -10
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-a300ab1b.js → OrTimePicker.vue_vue_type_script_lang-5c88aee4.js} +8 -14
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-227592d8.js → OrTooltip.vue_vue_type_script_lang-7f5d792c.js} +2 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +4 -4
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +4 -4
- package/dist/bundled/v3/components/OrButtonV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +14 -13
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +13 -12
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +10 -9
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +9 -8
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +9 -8
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +8 -7
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +3 -4
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -3
- package/dist/bundled/v3/components/OrCode/OrCode.js +9 -7
- package/dist/bundled/v3/components/OrCode/index.js +7 -5
- package/dist/bundled/v3/components/OrCode/lang.js +24 -3
- package/dist/bundled/v3/components/OrCode/theme.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +147 -0
- package/dist/bundled/v3/components/OrCodeV3/OrCode.vue.d.ts +119 -0
- package/dist/bundled/v3/components/OrCodeV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrCodeV3/index.js +65 -0
- package/dist/bundled/v3/components/OrCodeV3/props.d.ts +8 -0
- package/dist/bundled/v3/components/OrCodeV3/props.js +11 -0
- package/dist/bundled/v3/components/OrCodeV3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/OrCodeV3/styles.js +16 -0
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +3 -3
- package/dist/bundled/v3/components/OrColorPicker/index.js +2 -2
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +4 -4
- package/dist/bundled/v3/components/OrConfirm/index.js +3 -3
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +12 -11
- package/dist/bundled/v3/components/OrConfirmV3/index.js +11 -10
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +14 -13
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +64 -2
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +13 -12
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +15 -14
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +64 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +14 -13
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +2 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +7 -7
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +6 -6
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -8
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +8 -7
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +8 -7
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +10 -9
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrInputV3/index.js +9 -8
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +3 -3
- package/dist/bundled/v3/components/OrLoaderV3/index.js +2 -2
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +6 -6
- package/dist/bundled/v3/components/OrMenuV3/index.js +5 -5
- package/dist/bundled/v3/components/OrModal/OrModal.js +3 -3
- package/dist/bundled/v3/components/OrModal/index.js +2 -2
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +8 -8
- package/dist/bundled/v3/components/OrModalV3/index.js +7 -7
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +8 -8
- package/dist/bundled/v3/components/OrNotificationV3/index.js +7 -7
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +3 -3
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +3 -3
- package/dist/bundled/v3/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +10 -9
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/index.js +9 -8
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +3 -3
- package/dist/bundled/v3/components/OrPassword/index.js +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +5 -5
- package/dist/bundled/v3/components/OrPopoverV3/index.js +4 -4
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +3 -3
- package/dist/bundled/v3/components/OrProgressV3/index.js +2 -2
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +4 -5
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +3 -4
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +3 -2
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrRadioV3/index.js +2 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +11 -10
- package/dist/bundled/v3/components/OrSearchV3/index.js +10 -9
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.js +3 -2
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +2 -1
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelect/index.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +15 -14
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +14 -13
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +3 -3
- package/dist/bundled/v3/components/OrSidebar/index.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +8 -8
- package/dist/bundled/v3/components/OrSidebarV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +3 -3
- package/dist/bundled/v3/components/OrSlider/index.js +2 -2
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.js +3 -2
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrSortHeaderV3/index.js +2 -1
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +5 -4
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrSwitchV3/index.js +4 -3
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +8 -7
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrTabsV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +13 -12
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/index.js +12 -11
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +8 -8
- package/dist/bundled/v3/components/OrTagV3/index.js +7 -7
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +11 -11
- package/dist/bundled/v3/components/OrTagsV3/index.js +10 -10
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +3 -2
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrTextareaV3/index.js +2 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +13 -12
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +64 -2
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +12 -11
- package/dist/bundled/v3/components/OrToast/composable/index.js +1 -1
- package/dist/bundled/v3/components/OrToast/composable/useToast.js +1 -1
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v3/components/OrToast/index.js +2 -2
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +3 -3
- package/dist/bundled/v3/components/OrToastContainer/index.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +9 -9
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +8 -8
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +7 -7
- package/dist/bundled/v3/components/OrToastV3/composable/index.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +6 -6
- package/dist/bundled/v3/components/OrTooltipV3/index.js +5 -5
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +68 -58
- package/dist/bundled/v3/hooks/index.d.ts +9 -8
- package/dist/bundled/v3/hooks/index.js +2 -1
- package/dist/bundled/v3/hooks/useOverflow.js +1 -1
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +8 -7
- package/dist/bundled/v3/hooks/usePopoverState.js +6 -6
- package/dist/bundled/v3/hooks/useProxyModelValue.d.ts +8 -0
- package/dist/bundled/v3/hooks/useProxyModelValue.js +29 -0
- package/dist/bundled/v3/hooks/useResponsive/index.js +1 -1
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +1 -1
- package/dist/bundled/v3/hooks/useTheme.d.ts +2 -1
- package/dist/bundled/v3/hooks/useTheme.js +173 -172
- package/dist/bundled/v3/{lang-0fb8f78b.js → index-11e9d6f2.js} +797 -575
- package/dist/bundled/v3/{index-cf2c3c27.js → index-451f3d87.js} +393 -253
- package/dist/bundled/v3/index-9c1d2908.js +3740 -0
- package/dist/bundled/v3/{index-09d1cb24.js → index-e11e05e2.js} +1 -1
- package/dist/bundled/v3/index.js +72 -65
- package/dist/esm/v2/{OrBottomSheet-af25c131.js → OrBottomSheet-6bc632c4.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-79b90811.js → OrCardCollection-779ba7ca.js} +4 -4
- package/dist/esm/v2/{OrCheckbox-41f2822d.js → OrCheckbox-43615f70.js} +7 -9
- package/dist/esm/v2/{OrCheckboxGroup-97cfcbda.js → OrCheckboxGroup-4e6dbdd3.js} +8 -8
- package/dist/esm/v2/{OrCheckboxTree-a7dc126c.js → OrCheckboxTree-ba023624.js} +14 -14
- package/dist/esm/v2/OrCode-26295220.js +351 -0
- package/dist/esm/v2/{OrConfirm-0b56c11f.js → OrConfirm-cda74328.js} +3 -3
- package/dist/esm/v2/{OrDatePicker-6646573e.js → OrDatePicker-a4f95898.js} +10 -13
- package/dist/esm/v2/{OrDateTimePicker-908fbd9a.js → OrDateTimePicker-99d3445b.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-c4431300.js → OrDateTimePicker.vue_rollup-plugin-vue_script-729b254d.js} +13 -27
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-fa799185.js → OrDateTimePickerPopoverHeader-5fa89936.js} +13 -26
- package/dist/esm/v2/{OrExpansionPanel-b8411db6.js → OrExpansionPanel-acfffe82.js} +2 -2
- package/dist/esm/v2/{OrIconButton-ab726d49.js → OrIconButton-2ab8fa02.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-84a8398c.js → OrInlineInput-0c62b3a6.js} +10 -18
- package/dist/esm/v2/{OrInlineTextarea-f2ecbd39.js → OrInlineTextarea-c24708a7.js} +9 -16
- package/dist/esm/v2/{OrInput-2eeff16a.js → OrInput-dcb61699.js} +6 -10
- package/dist/esm/v2/{OrMenu-d03831b0.js → OrMenu-6b3de1c1.js} +3 -3
- package/dist/esm/v2/{OrModal-7b7c35e1.js → OrModal-abc3b1d9.js} +3 -3
- package/dist/esm/v2/{OrNotification-f44ef921.js → OrNotification-5b7028d7.js} +1 -1
- package/dist/esm/v2/{OrPagination-3756c1d1.js → OrPagination-4ece4568.js} +5 -9
- package/dist/esm/v2/{OrPopover-ef16a904.js → OrPopover-71380b24.js} +3 -3
- package/dist/esm/v2/{OrRadio-23810acd.js → OrRadio-b32dfbfe.js} +5 -9
- package/dist/esm/v2/{OrRadioGroup-0e1bf22c.js → OrRadioGroup-d1c2e460.js} +8 -8
- package/dist/esm/v2/{OrSearch-33e3b0e4.js → OrSearch-879c7656.js} +1 -1
- package/dist/esm/v2/{OrSegmentedControl-a1ea5b72.js → OrSegmentedControl-d4e32f80.js} +6 -7
- package/dist/esm/v2/{OrSelect-1ee299d9.js → OrSelect-01d61a9a.js} +8 -12
- package/dist/esm/v2/{OrSidebar-865f307e.js → OrSidebar-bd385865.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-b3a41f02.js → OrSidebarCollapseButton-49da331a.js} +1 -1
- package/dist/esm/v2/{OrSortHeader-8596b958.js → OrSortHeader-46a92f09.js} +6 -7
- package/dist/esm/v2/{OrSwitch-cb97f4d3.js → OrSwitch-e49ce2d8.js} +5 -9
- package/dist/esm/v2/{OrTabs-930e1c26.js → OrTabs-f9c88893.js} +7 -9
- package/dist/esm/v2/{OrTag-d16c9d12.js → OrTag-2b9e664b.js} +1 -1
- package/dist/esm/v2/{OrTagInput-63697869.js → OrTagInput-1548f007.js} +7 -11
- package/dist/esm/v2/{OrTags-9048733c.js → OrTags-25a70212.js} +2 -2
- package/dist/esm/v2/{OrTextarea-978fb518.js → OrTextarea-9221a04a.js} +5 -9
- package/dist/esm/v2/{OrTimePicker-80817ae1.js → OrTimePicker-9c9a44bc.js} +11 -14
- package/dist/esm/v2/{OrTooltip-bf4c725c.js → OrTooltip-a32c182a.js} +3 -3
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +42 -39
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -9
- package/dist/esm/v2/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +3 -3
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +12 -11
- package/dist/esm/v2/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +8 -7
- package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -2
- package/dist/esm/v2/components/or-code-v3/OrCode.vue.d.ts +169 -0
- package/dist/esm/v2/components/or-code-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-code-v3/index.js +37 -0
- package/dist/esm/v2/components/or-code-v3/props.d.ts +8 -0
- package/dist/esm/v2/components/or-code-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -7
- package/dist/esm/v2/components/or-date-picker-v3/OrDatePicker.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-date-picker-v3/index.js +12 -11
- package/dist/esm/v2/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +13 -12
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -6
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +7 -6
- package/dist/esm/v2/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v2/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -5
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v2/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-radio-group-v3/index.js +5 -4
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v2/components/or-search-v3/index.js +8 -7
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +5 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +11 -10
- package/dist/esm/v2/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +6 -6
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-sort-header-v3/index.js +5 -1
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +8 -7
- package/dist/esm/v2/components/or-tag-input-v3/OrTagInput.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tag-input-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tags-v3/index.js +7 -7
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -1
- package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-time-picker-v3/index.js +13 -12
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v2/hooks/index.d.ts +9 -8
- package/dist/esm/v2/hooks/index.js +2 -1
- package/dist/esm/v2/hooks/usePopoverState.d.ts +8 -7
- package/dist/esm/v2/hooks/useProxyModelValue.d.ts +8 -0
- package/dist/esm/v2/hooks/useTheme.d.ts +2 -1
- package/dist/esm/v2/index.js +40 -38
- package/dist/esm/v2/{types-6b40ad64.js → types-a74e1e20.js} +1 -1
- package/dist/esm/v2/{usePopoverState-8a95a300.js → usePopoverState-b92c698b.js} +6 -6
- package/dist/esm/v2/useProxyModelValue-940010d2.js +29 -0
- package/dist/esm/v3/{OrBottomSheet-f2f3aef9.js → OrBottomSheet-79db2626.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-76f937d5.js → OrCardCollection-4516594a.js} +4 -4
- package/dist/esm/v3/{OrCheckbox-2194e473.js → OrCheckbox-bb06af0f.js} +5 -7
- package/dist/esm/v3/{OrCheckboxGroup-6c36527f.js → OrCheckboxGroup-9a8ab902.js} +8 -8
- package/dist/esm/v3/{OrCheckboxTree-1873a941.js → OrCheckboxTree-969bc928.js} +14 -14
- package/dist/esm/v3/OrCode-0c2310e5.js +325 -0
- package/dist/esm/v3/{OrConfirm-5509c440.js → OrConfirm-240cfe0a.js} +3 -3
- package/dist/esm/v3/{OrDatePicker-276545bb.js → OrDatePicker-f4470d79.js} +10 -13
- package/dist/esm/v3/{OrDateTimePicker-85a01f0d.js → OrDateTimePicker-546c15ec.js} +13 -27
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-43785ea5.js → OrDateTimePickerPopoverHeader-96a38b4b.js} +13 -26
- package/dist/esm/v3/{OrExpansionPanel-df527763.js → OrExpansionPanel-af3a0d63.js} +2 -2
- package/dist/esm/v3/{OrIconButton-0aaadc68.js → OrIconButton-00f8f0c7.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-a6c33dc0.js → OrInlineInput-4d47d731.js} +8 -16
- package/dist/esm/v3/{OrInlineTextarea-f060dab5.js → OrInlineTextarea-1415bed9.js} +7 -14
- package/dist/esm/v3/{OrInput-c653aedb.js → OrInput-f0e12c81.js} +4 -8
- package/dist/esm/v3/{OrMenu-9659b8eb.js → OrMenu-dbe1db1e.js} +3 -3
- package/dist/esm/v3/{OrModal-cabce172.js → OrModal-6a90ea79.js} +3 -3
- package/dist/esm/v3/{OrNotification-cbcb0b4a.js → OrNotification-117f2dcb.js} +1 -1
- package/dist/esm/v3/{OrPagination-38067570.js → OrPagination-858337d1.js} +5 -9
- package/dist/esm/v3/{OrPopover-337df396.js → OrPopover-94dc1203.js} +3 -3
- package/dist/esm/v3/{OrRadio-4f0026c9.js → OrRadio-7b722b16.js} +3 -7
- package/dist/esm/v3/{OrRadioGroup-d215409c.js → OrRadioGroup-58c0214c.js} +8 -8
- package/dist/esm/v3/{OrSearch-b945651d.js → OrSearch-051adc07.js} +1 -1
- package/dist/esm/v3/{OrSegmentedControl-359fbf3a.js → OrSegmentedControl-c8eb217d.js} +6 -7
- package/dist/esm/v3/{OrSelect-5a2c078d.js → OrSelect-b3885148.js} +8 -12
- package/dist/esm/v3/{OrSidebar-7f5795da.js → OrSidebar-47f9d02a.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-5fb7a6a1.js → OrSidebarCollapseButton-86dafbbc.js} +1 -1
- package/dist/esm/v3/{OrSortHeader-54d85a25.js → OrSortHeader-21a443f9.js} +6 -7
- package/dist/esm/v3/{OrSwitch-ed9868db.js → OrSwitch-a6efd081.js} +3 -7
- package/dist/esm/v3/{OrTabs-9e741419.js → OrTabs-52e49d84.js} +7 -9
- package/dist/esm/v3/{OrTag-fbeca419.js → OrTag-9adef1cd.js} +1 -1
- package/dist/esm/v3/{OrTagInput-6a6d1365.js → OrTagInput-63d0f5fb.js} +5 -9
- package/dist/esm/v3/{OrTags-1621cbb9.js → OrTags-d7a90658.js} +2 -2
- package/dist/esm/v3/{OrTextarea-1e19417a.js → OrTextarea-6202e867.js} +3 -7
- package/dist/esm/v3/{OrTimePicker-0d308a6a.js → OrTimePicker-98c00a9b.js} +11 -14
- package/dist/esm/v3/{OrTooltip-3025564a.js → OrTooltip-d7d40e38.js} +3 -3
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +41 -38
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -9
- package/dist/esm/v3/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +12 -11
- package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +8 -7
- package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -2
- package/dist/esm/v3/components/or-code-v3/OrCode.vue.d.ts +119 -0
- package/dist/esm/v3/components/or-code-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-code-v3/index.js +35 -0
- package/dist/esm/v3/components/or-code-v3/props.d.ts +8 -0
- package/dist/esm/v3/components/or-code-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -7
- package/dist/esm/v3/components/or-date-picker-v3/OrDatePicker.vue.d.ts +64 -2
- package/dist/esm/v3/components/or-date-picker-v3/index.js +12 -11
- package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +64 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +12 -11
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -6
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +7 -6
- package/dist/esm/v3/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -5
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v3/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-radio-group-v3/index.js +5 -4
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v3/components/or-search-v3/index.js +8 -7
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +5 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +11 -10
- package/dist/esm/v3/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +6 -6
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-sort-header-v3/index.js +5 -1
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +8 -7
- package/dist/esm/v3/components/or-tag-input-v3/OrTagInput.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-tag-input-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tags-v3/index.js +7 -7
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -1
- package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +64 -2
- package/dist/esm/v3/components/or-time-picker-v3/index.js +13 -12
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v3/hooks/index.d.ts +9 -8
- package/dist/esm/v3/hooks/index.js +2 -1
- package/dist/esm/v3/hooks/usePopoverState.d.ts +8 -7
- package/dist/esm/v3/hooks/useProxyModelValue.d.ts +8 -0
- package/dist/esm/v3/hooks/useTheme.d.ts +2 -1
- package/dist/esm/v3/index.js +39 -37
- package/dist/esm/v3/{types-53cb1e6c.js → types-c78924f3.js} +1 -1
- package/dist/esm/v3/{usePopoverState-8a95a300.js → usePopoverState-b92c698b.js} +6 -6
- package/dist/esm/v3/useProxyModelValue-940010d2.js +29 -0
- package/package.json +9 -10
- package/src/components/index.ts +1 -0
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +1 -1
- package/src/components/or-checkbox-group-v3/OrCheckboxGroup.vue +8 -7
- package/src/components/or-checkbox-tree-v3/OrCheckboxTree.vue +8 -7
- package/src/components/or-checkbox-v3/OrCheckbox.vue +4 -5
- package/src/components/or-code-v3/OrCode.vue +365 -0
- package/src/components/or-code-v3/index.ts +2 -0
- package/src/components/or-code-v3/props.ts +8 -0
- package/src/components/or-code-v3/styles.ts +23 -0
- package/src/components/or-confirm-v3/OrConfirm.vue +1 -1
- package/src/components/or-date-picker-v3/OrDatePicker.vue +5 -11
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +5 -11
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue +3 -8
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue +4 -7
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +4 -7
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue +3 -8
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +4 -7
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +1 -1
- package/src/components/or-inline-input-v3/OrInlineInput.vue +7 -15
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +6 -14
- package/src/components/or-input-v3/OrInput.vue +3 -9
- package/src/components/or-menu-v3/OrMenu.vue +1 -1
- package/src/components/or-modal-v3/OrModal.vue +1 -1
- package/src/components/or-pagination-v3/OrPagination.vue +3 -9
- package/src/components/or-popover-v3/OrPopover.vue +1 -1
- package/src/components/or-radio-group-v3/OrRadioGroup.vue +5 -6
- package/src/components/or-radio-v3/OrRadio.vue +3 -9
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +3 -8
- package/src/components/or-select-v3/OrSelect.vue +3 -9
- package/src/components/or-sort-header-v3/OrSortHeader.vue +3 -8
- package/src/components/or-switch-v3/OrSwitch.vue +3 -9
- package/src/components/or-tabs-v3/OrTabs.vue +3 -8
- package/src/components/or-tag-input-v3/OrTagInput.vue +3 -10
- package/src/components/or-textarea-v3/OrTextarea.vue +3 -9
- package/src/components/or-time-picker-v3/OrTimePicker.vue +5 -11
- package/src/components/or-tooltip-v3/OrTooltip.vue +1 -1
- package/src/hooks/index.ts +9 -8
- package/src/hooks/usePopoverState.ts +17 -16
- package/src/hooks/useProxyModelValue.ts +50 -0
- package/src/hooks/useTheme.ts +4 -2
- package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-28995b95.js → OrDateTimePickerPopoverHeader-52a99e6a.js} +0 -0
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-d1a074fe.js → OrToastContainer.vue_vue_type_script_lang-7d44207e.js} +1 -1
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-c47d63be.js → OrToastContainer.vue_vue_type_script_lang-f9813bc6.js} +0 -0
|
@@ -1966,6 +1966,8 @@ var tailwind_config_preset = {
|
|
|
1966
1966
|
...parseSpacingTokens(spacingTokens),
|
|
1967
1967
|
},
|
|
1968
1968
|
|
|
1969
|
+
colors: {},
|
|
1970
|
+
|
|
1969
1971
|
textColor: {
|
|
1970
1972
|
...parseColorTokens(colorTokens, ['generic', 'text']),
|
|
1971
1973
|
'transparent': 'transparent',
|
|
@@ -5004,7 +5006,6 @@ var unesc = {
|
|
|
5004
5006
|
|
|
5005
5007
|
exports.__esModule = true;
|
|
5006
5008
|
exports["default"] = unesc;
|
|
5007
|
-
|
|
5008
5009
|
// Many thanks for this post which made this migration much easier.
|
|
5009
5010
|
// https://mathiasbynens.be/notes/css-escapes
|
|
5010
5011
|
|
|
@@ -5018,10 +5019,10 @@ var unesc = {
|
|
|
5018
5019
|
var hex = '';
|
|
5019
5020
|
var spaceTerminated = false;
|
|
5020
5021
|
for (var i = 0; i < 6 && lower[i] !== undefined; i++) {
|
|
5021
|
-
var code = lower.charCodeAt(i);
|
|
5022
|
-
|
|
5023
|
-
var valid = code >= 97 && code <= 102 || code >= 48 && code <= 57;
|
|
5024
|
-
|
|
5022
|
+
var code = lower.charCodeAt(i);
|
|
5023
|
+
// check to see if we are dealing with a valid hex char [a-f|0-9]
|
|
5024
|
+
var valid = code >= 97 && code <= 102 || code >= 48 && code <= 57;
|
|
5025
|
+
// https://drafts.csswg.org/css-syntax/#consume-escaped-code-point
|
|
5025
5026
|
spaceTerminated = code === 32;
|
|
5026
5027
|
if (!valid) {
|
|
5027
5028
|
break;
|
|
@@ -5032,10 +5033,10 @@ var unesc = {
|
|
|
5032
5033
|
return undefined;
|
|
5033
5034
|
}
|
|
5034
5035
|
var codePoint = parseInt(hex, 16);
|
|
5035
|
-
var isSurrogate = codePoint >= 0xD800 && codePoint <= 0xDFFF;
|
|
5036
|
+
var isSurrogate = codePoint >= 0xD800 && codePoint <= 0xDFFF;
|
|
5037
|
+
// Add special case for
|
|
5036
5038
|
// "If this number is zero, or is for a surrogate, or is greater than the maximum allowed code point"
|
|
5037
5039
|
// https://drafts.csswg.org/css-syntax/#maximum-allowed-code-point
|
|
5038
|
-
|
|
5039
5040
|
if (isSurrogate || codePoint === 0x0000 || codePoint > 0x10FFFF) {
|
|
5040
5041
|
return ["\uFFFD", hex.length + (spaceTerminated ? 1 : 0)];
|
|
5041
5042
|
}
|
|
@@ -5055,16 +5056,18 @@ var unesc = {
|
|
|
5055
5056
|
ret += gobbled[0];
|
|
5056
5057
|
i += gobbled[1];
|
|
5057
5058
|
continue;
|
|
5058
|
-
}
|
|
5059
|
-
// https://github.com/postcss/postcss-selector-parser/commit/268c9a7656fb53f543dc620aa5b73a30ec3ff20e
|
|
5059
|
+
}
|
|
5060
5060
|
|
|
5061
|
+
// Retain a pair of \\ if double escaped `\\\\`
|
|
5062
|
+
// https://github.com/postcss/postcss-selector-parser/commit/268c9a7656fb53f543dc620aa5b73a30ec3ff20e
|
|
5061
5063
|
if (str[i + 1] === "\\") {
|
|
5062
5064
|
ret += "\\";
|
|
5063
5065
|
i++;
|
|
5064
5066
|
continue;
|
|
5065
|
-
}
|
|
5066
|
-
// https://github.com/postcss/postcss-selector-parser/commit/01a6b346e3612ce1ab20219acc26abdc259ccefb
|
|
5067
|
+
}
|
|
5067
5068
|
|
|
5069
|
+
// if \\ is at the end of the string retain it
|
|
5070
|
+
// https://github.com/postcss/postcss-selector-parser/commit/01a6b346e3612ce1ab20219acc26abdc259ccefb
|
|
5068
5071
|
if (str.length === i + 1) {
|
|
5069
5072
|
ret += str[i];
|
|
5070
5073
|
}
|
|
@@ -5158,7 +5161,7 @@ var stripComments = {
|
|
|
5158
5161
|
})(stripComments, stripCommentsExports);
|
|
5159
5162
|
|
|
5160
5163
|
util.__esModule = true;
|
|
5161
|
-
util.
|
|
5164
|
+
util.unesc = util.stripComments = util.getProp = util.ensureObject = void 0;
|
|
5162
5165
|
var _unesc = _interopRequireDefault$7(unescExports);
|
|
5163
5166
|
util.unesc = _unesc["default"];
|
|
5164
5167
|
var _getProp = _interopRequireDefault$7(getPropExports);
|
|
@@ -5190,6 +5193,9 @@ function _interopRequireDefault$7(obj) {
|
|
|
5190
5193
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5191
5194
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5192
5195
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5196
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
5197
|
+
writable: false
|
|
5198
|
+
});
|
|
5193
5199
|
return Constructor;
|
|
5194
5200
|
}
|
|
5195
5201
|
var cloneNode = function cloneNode(obj, parent) {
|
|
@@ -5260,6 +5266,7 @@ function _interopRequireDefault$7(obj) {
|
|
|
5260
5266
|
}
|
|
5261
5267
|
return cloned;
|
|
5262
5268
|
}
|
|
5269
|
+
|
|
5263
5270
|
/**
|
|
5264
5271
|
* Some non-standard syntax doesn't follow normal escaping rules for css.
|
|
5265
5272
|
* This allows non standard syntax to be appended to an existing property
|
|
@@ -5269,7 +5276,6 @@ function _interopRequireDefault$7(obj) {
|
|
|
5269
5276
|
* @param {any} value the unescaped value of the property
|
|
5270
5277
|
* @param {string} valueEscaped optional. the escaped value of the property.
|
|
5271
5278
|
*/;
|
|
5272
|
-
|
|
5273
5279
|
_proto.appendToPropertyAndEscape = function appendToPropertyAndEscape(name, value, valueEscaped) {
|
|
5274
5280
|
if (!this.raws) {
|
|
5275
5281
|
this.raws = {};
|
|
@@ -5277,13 +5283,13 @@ function _interopRequireDefault$7(obj) {
|
|
|
5277
5283
|
var originalValue = this[name];
|
|
5278
5284
|
var originalEscaped = this.raws[name];
|
|
5279
5285
|
this[name] = originalValue + value; // this may trigger a setter that updates raws, so it has to be set first.
|
|
5280
|
-
|
|
5281
5286
|
if (originalEscaped || valueEscaped !== value) {
|
|
5282
5287
|
this.raws[name] = (originalEscaped || originalValue) + valueEscaped;
|
|
5283
5288
|
} else {
|
|
5284
5289
|
delete this.raws[name]; // delete any escaped value that was created by the setter.
|
|
5285
5290
|
}
|
|
5286
5291
|
}
|
|
5292
|
+
|
|
5287
5293
|
/**
|
|
5288
5294
|
* Some non-standard syntax doesn't follow normal escaping rules for css.
|
|
5289
5295
|
* This allows the escaped value to be specified directly, allowing illegal
|
|
@@ -5292,15 +5298,14 @@ function _interopRequireDefault$7(obj) {
|
|
|
5292
5298
|
* @param {any} value the unescaped value of the property
|
|
5293
5299
|
* @param {string} valueEscaped the escaped value of the property.
|
|
5294
5300
|
*/;
|
|
5295
|
-
|
|
5296
5301
|
_proto.setPropertyAndEscape = function setPropertyAndEscape(name, value, valueEscaped) {
|
|
5297
5302
|
if (!this.raws) {
|
|
5298
5303
|
this.raws = {};
|
|
5299
5304
|
}
|
|
5300
5305
|
this[name] = value; // this may trigger a setter that updates raws, so it has to be set first.
|
|
5301
|
-
|
|
5302
5306
|
this.raws[name] = valueEscaped;
|
|
5303
5307
|
}
|
|
5308
|
+
|
|
5304
5309
|
/**
|
|
5305
5310
|
* When you want a value to passed through to CSS directly. This method
|
|
5306
5311
|
* deletes the corresponding raw value causing the stringifier to fallback
|
|
@@ -5308,20 +5313,18 @@ function _interopRequireDefault$7(obj) {
|
|
|
5308
5313
|
* @param {string} name the property to set.
|
|
5309
5314
|
* @param {any} value The value that is both escaped and unescaped.
|
|
5310
5315
|
*/;
|
|
5311
|
-
|
|
5312
5316
|
_proto.setPropertyWithoutEscape = function setPropertyWithoutEscape(name, value) {
|
|
5313
5317
|
this[name] = value; // this may trigger a setter that updates raws, so it has to be set first.
|
|
5314
|
-
|
|
5315
5318
|
if (this.raws) {
|
|
5316
5319
|
delete this.raws[name];
|
|
5317
5320
|
}
|
|
5318
5321
|
}
|
|
5322
|
+
|
|
5319
5323
|
/**
|
|
5320
5324
|
*
|
|
5321
5325
|
* @param {number} line The number (starting with 1)
|
|
5322
5326
|
* @param {number} column The column number (starting with 1)
|
|
5323
5327
|
*/;
|
|
5324
|
-
|
|
5325
5328
|
_proto.isAtPosition = function isAtPosition(line, column) {
|
|
5326
5329
|
if (this.source && this.source.start && this.source.end) {
|
|
5327
5330
|
if (this.source.start.line > line) {
|
|
@@ -5385,7 +5388,7 @@ function _interopRequireDefault$7(obj) {
|
|
|
5385
5388
|
var types = {};
|
|
5386
5389
|
|
|
5387
5390
|
types.__esModule = true;
|
|
5388
|
-
types.UNIVERSAL = types.
|
|
5391
|
+
types.UNIVERSAL = types.TAG = types.STRING = types.SELECTOR = types.ROOT = types.PSEUDO = types.NESTING = types.ID = types.COMMENT = types.COMBINATOR = types.CLASS = types.ATTRIBUTE = void 0;
|
|
5389
5392
|
var TAG = 'tag';
|
|
5390
5393
|
types.TAG = TAG;
|
|
5391
5394
|
var STRING = 'string';
|
|
@@ -5417,16 +5420,16 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5417
5420
|
exports["default"] = void 0;
|
|
5418
5421
|
var _node = _interopRequireDefault(nodeExports);
|
|
5419
5422
|
var types$1 = _interopRequireWildcard(types);
|
|
5420
|
-
function _getRequireWildcardCache() {
|
|
5423
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
5421
5424
|
if (typeof WeakMap !== "function") return null;
|
|
5422
|
-
var
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
}
|
|
5428
|
-
function _interopRequireWildcard(obj) {
|
|
5429
|
-
if (obj && obj.__esModule) {
|
|
5425
|
+
var cacheBabelInterop = new WeakMap();
|
|
5426
|
+
var cacheNodeInterop = new WeakMap();
|
|
5427
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {
|
|
5428
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
5429
|
+
})(nodeInterop);
|
|
5430
|
+
}
|
|
5431
|
+
function _interopRequireWildcard(obj, nodeInterop) {
|
|
5432
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
5430
5433
|
return obj;
|
|
5431
5434
|
}
|
|
5432
5435
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -5434,14 +5437,14 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5434
5437
|
"default": obj
|
|
5435
5438
|
};
|
|
5436
5439
|
}
|
|
5437
|
-
var cache = _getRequireWildcardCache();
|
|
5440
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
5438
5441
|
if (cache && cache.has(obj)) {
|
|
5439
5442
|
return cache.get(obj);
|
|
5440
5443
|
}
|
|
5441
5444
|
var newObj = {};
|
|
5442
5445
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
5443
5446
|
for (var key in obj) {
|
|
5444
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
5447
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
5445
5448
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
5446
5449
|
if (desc && (desc.get || desc.set)) {
|
|
5447
5450
|
Object.defineProperty(newObj, key, desc);
|
|
@@ -5462,25 +5465,22 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5462
5465
|
};
|
|
5463
5466
|
}
|
|
5464
5467
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
5465
|
-
var it;
|
|
5466
|
-
if (
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
};
|
|
5474
|
-
return {
|
|
5475
|
-
done: false,
|
|
5476
|
-
value: o[i++]
|
|
5477
|
-
};
|
|
5468
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
5469
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
5470
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
5471
|
+
if (it) o = it;
|
|
5472
|
+
var i = 0;
|
|
5473
|
+
return function () {
|
|
5474
|
+
if (i >= o.length) return {
|
|
5475
|
+
done: true
|
|
5478
5476
|
};
|
|
5479
|
-
|
|
5480
|
-
|
|
5477
|
+
return {
|
|
5478
|
+
done: false,
|
|
5479
|
+
value: o[i++]
|
|
5480
|
+
};
|
|
5481
|
+
};
|
|
5481
5482
|
}
|
|
5482
|
-
|
|
5483
|
-
return it.next.bind(it);
|
|
5483
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5484
5484
|
}
|
|
5485
5485
|
function _unsupportedIterableToArray(o, minLen) {
|
|
5486
5486
|
if (!o) return;
|
|
@@ -5509,6 +5509,9 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5509
5509
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5510
5510
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5511
5511
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5512
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
5513
|
+
writable: false
|
|
5514
|
+
});
|
|
5512
5515
|
return Constructor;
|
|
5513
5516
|
}
|
|
5514
5517
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -5517,7 +5520,7 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5517
5520
|
_setPrototypeOf(subClass, superClass);
|
|
5518
5521
|
}
|
|
5519
5522
|
function _setPrototypeOf(o, p) {
|
|
5520
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
5523
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
5521
5524
|
o.__proto__ = p;
|
|
5522
5525
|
return o;
|
|
5523
5526
|
};
|
|
@@ -5621,6 +5624,7 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5621
5624
|
});
|
|
5622
5625
|
return found;
|
|
5623
5626
|
}
|
|
5627
|
+
|
|
5624
5628
|
/**
|
|
5625
5629
|
* Return the most specific node at the line and column number given.
|
|
5626
5630
|
* The source location is based on the original parsed location, locations aren't
|
|
@@ -5634,7 +5638,6 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5634
5638
|
* @param {number} line The line number of the node to find. (1-based index)
|
|
5635
5639
|
* @param {number} col The column number of the node to find. (1-based index)
|
|
5636
5640
|
*/;
|
|
5637
|
-
|
|
5638
5641
|
_proto.atPosition = function atPosition(line, col) {
|
|
5639
5642
|
if (this.isAtPosition(line, col)) {
|
|
5640
5643
|
return this._findChildAtPosition(line, col) || this;
|
|
@@ -5840,6 +5843,9 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5840
5843
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5841
5844
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5842
5845
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5846
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
5847
|
+
writable: false
|
|
5848
|
+
});
|
|
5843
5849
|
return Constructor;
|
|
5844
5850
|
}
|
|
5845
5851
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -5848,7 +5854,7 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5848
5854
|
_setPrototypeOf(subClass, superClass);
|
|
5849
5855
|
}
|
|
5850
5856
|
function _setPrototypeOf(o, p) {
|
|
5851
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
5857
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
5852
5858
|
o.__proto__ = p;
|
|
5853
5859
|
return o;
|
|
5854
5860
|
};
|
|
@@ -5912,7 +5918,7 @@ var selector$1 = {
|
|
|
5912
5918
|
_setPrototypeOf(subClass, superClass);
|
|
5913
5919
|
}
|
|
5914
5920
|
function _setPrototypeOf(o, p) {
|
|
5915
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
5921
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
5916
5922
|
o.__proto__ = p;
|
|
5917
5923
|
return o;
|
|
5918
5924
|
};
|
|
@@ -6065,6 +6071,9 @@ var cssesc_1 = cssesc;
|
|
|
6065
6071
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
6066
6072
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
6067
6073
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
6074
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
6075
|
+
writable: false
|
|
6076
|
+
});
|
|
6068
6077
|
return Constructor;
|
|
6069
6078
|
}
|
|
6070
6079
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -6073,7 +6082,7 @@ var cssesc_1 = cssesc;
|
|
|
6073
6082
|
_setPrototypeOf(subClass, superClass);
|
|
6074
6083
|
}
|
|
6075
6084
|
function _setPrototypeOf(o, p) {
|
|
6076
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6085
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6077
6086
|
o.__proto__ = p;
|
|
6078
6087
|
return o;
|
|
6079
6088
|
};
|
|
@@ -6141,7 +6150,7 @@ var comment$2 = {
|
|
|
6141
6150
|
_setPrototypeOf(subClass, superClass);
|
|
6142
6151
|
}
|
|
6143
6152
|
function _setPrototypeOf(o, p) {
|
|
6144
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6153
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6145
6154
|
o.__proto__ = p;
|
|
6146
6155
|
return o;
|
|
6147
6156
|
};
|
|
@@ -6184,7 +6193,7 @@ var id$1 = {
|
|
|
6184
6193
|
_setPrototypeOf(subClass, superClass);
|
|
6185
6194
|
}
|
|
6186
6195
|
function _setPrototypeOf(o, p) {
|
|
6187
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6196
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6188
6197
|
o.__proto__ = p;
|
|
6189
6198
|
return o;
|
|
6190
6199
|
};
|
|
@@ -6244,6 +6253,9 @@ var namespace = {
|
|
|
6244
6253
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
6245
6254
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
6246
6255
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
6256
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
6257
|
+
writable: false
|
|
6258
|
+
});
|
|
6247
6259
|
return Constructor;
|
|
6248
6260
|
}
|
|
6249
6261
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -6252,7 +6264,7 @@ var namespace = {
|
|
|
6252
6264
|
_setPrototypeOf(subClass, superClass);
|
|
6253
6265
|
}
|
|
6254
6266
|
function _setPrototypeOf(o, p) {
|
|
6255
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6267
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6256
6268
|
o.__proto__ = p;
|
|
6257
6269
|
return o;
|
|
6258
6270
|
};
|
|
@@ -6344,7 +6356,7 @@ var namespace = {
|
|
|
6344
6356
|
_setPrototypeOf(subClass, superClass);
|
|
6345
6357
|
}
|
|
6346
6358
|
function _setPrototypeOf(o, p) {
|
|
6347
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6359
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6348
6360
|
o.__proto__ = p;
|
|
6349
6361
|
return o;
|
|
6350
6362
|
};
|
|
@@ -6387,7 +6399,7 @@ var string$1 = {
|
|
|
6387
6399
|
_setPrototypeOf(subClass, superClass);
|
|
6388
6400
|
}
|
|
6389
6401
|
function _setPrototypeOf(o, p) {
|
|
6390
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6402
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6391
6403
|
o.__proto__ = p;
|
|
6392
6404
|
return o;
|
|
6393
6405
|
};
|
|
@@ -6430,7 +6442,7 @@ var pseudo$1 = {
|
|
|
6430
6442
|
_setPrototypeOf(subClass, superClass);
|
|
6431
6443
|
}
|
|
6432
6444
|
function _setPrototypeOf(o, p) {
|
|
6433
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6445
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6434
6446
|
o.__proto__ = p;
|
|
6435
6447
|
return o;
|
|
6436
6448
|
};
|
|
@@ -6466,8 +6478,8 @@ var node = require$$0$1.deprecate;
|
|
|
6466
6478
|
(function (exports) {
|
|
6467
6479
|
|
|
6468
6480
|
exports.__esModule = true;
|
|
6469
|
-
exports.unescapeValue = unescapeValue;
|
|
6470
6481
|
exports["default"] = void 0;
|
|
6482
|
+
exports.unescapeValue = unescapeValue;
|
|
6471
6483
|
var _cssesc = _interopRequireDefault(cssesc_1);
|
|
6472
6484
|
var _unesc = _interopRequireDefault(unescExports);
|
|
6473
6485
|
var _namespace = _interopRequireDefault(namespaceExports);
|
|
@@ -6490,6 +6502,9 @@ var node = require$$0$1.deprecate;
|
|
|
6490
6502
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
6491
6503
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
6492
6504
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
6505
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
6506
|
+
writable: false
|
|
6507
|
+
});
|
|
6493
6508
|
return Constructor;
|
|
6494
6509
|
}
|
|
6495
6510
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -6498,7 +6513,7 @@ var node = require$$0$1.deprecate;
|
|
|
6498
6513
|
_setPrototypeOf(subClass, superClass);
|
|
6499
6514
|
}
|
|
6500
6515
|
function _setPrototypeOf(o, p) {
|
|
6501
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6516
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6502
6517
|
o.__proto__ = p;
|
|
6503
6518
|
return o;
|
|
6504
6519
|
};
|
|
@@ -6570,6 +6585,7 @@ var node = require$$0$1.deprecate;
|
|
|
6570
6585
|
_this._constructed = true;
|
|
6571
6586
|
return _this;
|
|
6572
6587
|
}
|
|
6588
|
+
|
|
6573
6589
|
/**
|
|
6574
6590
|
* Returns the Attribute's value quoted such that it would be legal to use
|
|
6575
6591
|
* in the value of a css file. The original value's quotation setting
|
|
@@ -6591,7 +6607,6 @@ var node = require$$0$1.deprecate;
|
|
|
6591
6607
|
* and the other options specified here. See the `smartQuoteMark()`
|
|
6592
6608
|
* method.
|
|
6593
6609
|
**/
|
|
6594
|
-
|
|
6595
6610
|
var _proto = Attribute.prototype;
|
|
6596
6611
|
_proto.getQuotedValue = function getQuotedValue(options) {
|
|
6597
6612
|
if (options === void 0) {
|
|
@@ -6605,12 +6620,12 @@ var node = require$$0$1.deprecate;
|
|
|
6605
6620
|
_proto._determineQuoteMark = function _determineQuoteMark(options) {
|
|
6606
6621
|
return options.smart ? this.smartQuoteMark(options) : this.preferredQuoteMark(options);
|
|
6607
6622
|
}
|
|
6623
|
+
|
|
6608
6624
|
/**
|
|
6609
6625
|
* Set the unescaped value with the specified quotation options. The value
|
|
6610
6626
|
* provided must not include any wrapping quote marks -- those quotes will
|
|
6611
6627
|
* be interpreted as part of the value and escaped accordingly.
|
|
6612
6628
|
*/;
|
|
6613
|
-
|
|
6614
6629
|
_proto.setValue = function setValue(value, options) {
|
|
6615
6630
|
if (options === void 0) {
|
|
6616
6631
|
options = {};
|
|
@@ -6619,6 +6634,7 @@ var node = require$$0$1.deprecate;
|
|
|
6619
6634
|
this._quoteMark = this._determineQuoteMark(options);
|
|
6620
6635
|
this._syncRawValue();
|
|
6621
6636
|
}
|
|
6637
|
+
|
|
6622
6638
|
/**
|
|
6623
6639
|
* Intelligently select a quoteMark value based on the value's contents. If
|
|
6624
6640
|
* the value is a legal CSS ident, it will not be quoted. Otherwise a quote
|
|
@@ -6631,7 +6647,6 @@ var node = require$$0$1.deprecate;
|
|
|
6631
6647
|
* @param options This takes the quoteMark and preferCurrentQuoteMark options
|
|
6632
6648
|
* from the quoteValue method.
|
|
6633
6649
|
*/;
|
|
6634
|
-
|
|
6635
6650
|
_proto.smartQuoteMark = function smartQuoteMark(options) {
|
|
6636
6651
|
var v = this.value;
|
|
6637
6652
|
var numSingleQuotes = v.replace(/[^']/g, '').length;
|
|
@@ -6663,12 +6678,12 @@ var node = require$$0$1.deprecate;
|
|
|
6663
6678
|
return Attribute.SINGLE_QUOTE;
|
|
6664
6679
|
}
|
|
6665
6680
|
}
|
|
6681
|
+
|
|
6666
6682
|
/**
|
|
6667
6683
|
* Selects the preferred quote mark based on the options and the current quote mark value.
|
|
6668
6684
|
* If you want the quote mark to depend on the attribute value, call `smartQuoteMark(opts)`
|
|
6669
6685
|
* instead.
|
|
6670
6686
|
*/;
|
|
6671
|
-
|
|
6672
6687
|
_proto.preferredQuoteMark = function preferredQuoteMark(options) {
|
|
6673
6688
|
var quoteMark = options.preferCurrentQuoteMark ? this.quoteMark : options.quoteMark;
|
|
6674
6689
|
if (quoteMark === undefined) {
|
|
@@ -6720,6 +6735,7 @@ var node = require$$0$1.deprecate;
|
|
|
6720
6735
|
var attrSpaces = this._spacesFor(spaceName);
|
|
6721
6736
|
return concat(this.stringifyProperty(name), attrSpaces);
|
|
6722
6737
|
}
|
|
6738
|
+
|
|
6723
6739
|
/**
|
|
6724
6740
|
* returns the offset of the attribute part specified relative to the
|
|
6725
6741
|
* start of the node of the output string.
|
|
@@ -6734,7 +6750,6 @@ var node = require$$0$1.deprecate;
|
|
|
6734
6750
|
* @param part One of the possible values inside an attribute.
|
|
6735
6751
|
* @returns -1 if the name is invalid or the value doesn't exist in this attribute.
|
|
6736
6752
|
*/;
|
|
6737
|
-
|
|
6738
6753
|
_proto.offsetOf = function offsetOf(name) {
|
|
6739
6754
|
var count = 1;
|
|
6740
6755
|
var attributeSpaces = this._spacesFor("attribute");
|
|
@@ -6804,6 +6819,7 @@ var node = require$$0$1.deprecate;
|
|
|
6804
6819
|
set: function set(value) {
|
|
6805
6820
|
warnOfDeprecatedQuotedAssignment();
|
|
6806
6821
|
}
|
|
6822
|
+
|
|
6807
6823
|
/**
|
|
6808
6824
|
* returns a single (`'`) or double (`"`) quote character if the value is quoted.
|
|
6809
6825
|
* returns `null` if the value is not quoted.
|
|
@@ -6815,6 +6831,7 @@ var node = require$$0$1.deprecate;
|
|
|
6815
6831
|
get: function get() {
|
|
6816
6832
|
return this._quoteMark;
|
|
6817
6833
|
}
|
|
6834
|
+
|
|
6818
6835
|
/**
|
|
6819
6836
|
* Set the quote mark to be used by this attribute's value.
|
|
6820
6837
|
* If the quote mark changes, the raw (escaped) value at `attr.raws.value` of the attribute
|
|
@@ -6822,7 +6839,6 @@ var node = require$$0$1.deprecate;
|
|
|
6822
6839
|
*
|
|
6823
6840
|
* @param {"'" | '"' | null} quoteMark The quote mark or `null` if the value should be unquoted.
|
|
6824
6841
|
*/,
|
|
6825
|
-
|
|
6826
6842
|
set: function set(quoteMark) {
|
|
6827
6843
|
if (!this._constructed) {
|
|
6828
6844
|
this._quoteMark = quoteMark;
|
|
@@ -6885,6 +6901,7 @@ var node = require$$0$1.deprecate;
|
|
|
6885
6901
|
get: function get() {
|
|
6886
6902
|
return this._insensitive;
|
|
6887
6903
|
}
|
|
6904
|
+
|
|
6888
6905
|
/**
|
|
6889
6906
|
* Set the case insensitive flag.
|
|
6890
6907
|
* If the case insensitive flag changes, the raw (escaped) value at `attr.raws.insensitiveFlag`
|
|
@@ -6892,12 +6909,12 @@ var node = require$$0$1.deprecate;
|
|
|
6892
6909
|
*
|
|
6893
6910
|
* @param {true | false} insensitive true if the attribute should match case-insensitively.
|
|
6894
6911
|
*/,
|
|
6895
|
-
|
|
6896
6912
|
set: function set(insensitive) {
|
|
6897
6913
|
if (!insensitive) {
|
|
6898
|
-
this._insensitive = false;
|
|
6899
|
-
// When setting `attr.insensitive = false` both should be erased to ensure correct serialization.
|
|
6914
|
+
this._insensitive = false;
|
|
6900
6915
|
|
|
6916
|
+
// "i" and "I" can be used in "this.raws.insensitiveFlag" to store the original notation.
|
|
6917
|
+
// When setting `attr.insensitive = false` both should be erased to ensure correct serialization.
|
|
6901
6918
|
if (this.raws && (this.raws.insensitiveFlag === 'I' || this.raws.insensitiveFlag === 'i')) {
|
|
6902
6919
|
this.raws.insensitiveFlag = undefined;
|
|
6903
6920
|
}
|
|
@@ -6960,7 +6977,7 @@ var universal$1 = {
|
|
|
6960
6977
|
_setPrototypeOf(subClass, superClass);
|
|
6961
6978
|
}
|
|
6962
6979
|
function _setPrototypeOf(o, p) {
|
|
6963
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6980
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6964
6981
|
o.__proto__ = p;
|
|
6965
6982
|
return o;
|
|
6966
6983
|
};
|
|
@@ -7004,7 +7021,7 @@ var combinator$2 = {
|
|
|
7004
7021
|
_setPrototypeOf(subClass, superClass);
|
|
7005
7022
|
}
|
|
7006
7023
|
function _setPrototypeOf(o, p) {
|
|
7007
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
7024
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
7008
7025
|
o.__proto__ = p;
|
|
7009
7026
|
return o;
|
|
7010
7027
|
};
|
|
@@ -7047,7 +7064,7 @@ var nesting$1 = {
|
|
|
7047
7064
|
_setPrototypeOf(subClass, superClass);
|
|
7048
7065
|
}
|
|
7049
7066
|
function _setPrototypeOf(o, p) {
|
|
7050
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
7067
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
7051
7068
|
o.__proto__ = p;
|
|
7052
7069
|
return o;
|
|
7053
7070
|
};
|
|
@@ -7091,91 +7108,66 @@ var tokenize = {};
|
|
|
7091
7108
|
var tokenTypes = {};
|
|
7092
7109
|
|
|
7093
7110
|
tokenTypes.__esModule = true;
|
|
7094
|
-
tokenTypes.
|
|
7111
|
+
tokenTypes.word = tokenTypes.tilde = tokenTypes.tab = tokenTypes.str = tokenTypes.space = tokenTypes.slash = tokenTypes.singleQuote = tokenTypes.semicolon = tokenTypes.plus = tokenTypes.pipe = tokenTypes.openSquare = tokenTypes.openParenthesis = tokenTypes.newline = tokenTypes.greaterThan = tokenTypes.feed = tokenTypes.equals = tokenTypes.doubleQuote = tokenTypes.dollar = tokenTypes.cr = tokenTypes.comment = tokenTypes.comma = tokenTypes.combinator = tokenTypes.colon = tokenTypes.closeSquare = tokenTypes.closeParenthesis = tokenTypes.caret = tokenTypes.bang = tokenTypes.backslash = tokenTypes.at = tokenTypes.asterisk = tokenTypes.ampersand = void 0;
|
|
7095
7112
|
var ampersand = 38; // `&`.charCodeAt(0);
|
|
7096
|
-
|
|
7097
7113
|
tokenTypes.ampersand = ampersand;
|
|
7098
7114
|
var asterisk = 42; // `*`.charCodeAt(0);
|
|
7099
|
-
|
|
7100
7115
|
tokenTypes.asterisk = asterisk;
|
|
7101
7116
|
var at = 64; // `@`.charCodeAt(0);
|
|
7102
|
-
|
|
7103
7117
|
tokenTypes.at = at;
|
|
7104
7118
|
var comma = 44; // `,`.charCodeAt(0);
|
|
7105
|
-
|
|
7106
7119
|
tokenTypes.comma = comma;
|
|
7107
7120
|
var colon = 58; // `:`.charCodeAt(0);
|
|
7108
|
-
|
|
7109
7121
|
tokenTypes.colon = colon;
|
|
7110
7122
|
var semicolon = 59; // `;`.charCodeAt(0);
|
|
7111
|
-
|
|
7112
7123
|
tokenTypes.semicolon = semicolon;
|
|
7113
7124
|
var openParenthesis = 40; // `(`.charCodeAt(0);
|
|
7114
|
-
|
|
7115
7125
|
tokenTypes.openParenthesis = openParenthesis;
|
|
7116
7126
|
var closeParenthesis = 41; // `)`.charCodeAt(0);
|
|
7117
|
-
|
|
7118
7127
|
tokenTypes.closeParenthesis = closeParenthesis;
|
|
7119
7128
|
var openSquare = 91; // `[`.charCodeAt(0);
|
|
7120
|
-
|
|
7121
7129
|
tokenTypes.openSquare = openSquare;
|
|
7122
7130
|
var closeSquare = 93; // `]`.charCodeAt(0);
|
|
7123
|
-
|
|
7124
7131
|
tokenTypes.closeSquare = closeSquare;
|
|
7125
7132
|
var dollar = 36; // `$`.charCodeAt(0);
|
|
7126
|
-
|
|
7127
7133
|
tokenTypes.dollar = dollar;
|
|
7128
7134
|
var tilde = 126; // `~`.charCodeAt(0);
|
|
7129
|
-
|
|
7130
7135
|
tokenTypes.tilde = tilde;
|
|
7131
7136
|
var caret = 94; // `^`.charCodeAt(0);
|
|
7132
|
-
|
|
7133
7137
|
tokenTypes.caret = caret;
|
|
7134
7138
|
var plus = 43; // `+`.charCodeAt(0);
|
|
7135
|
-
|
|
7136
7139
|
tokenTypes.plus = plus;
|
|
7137
7140
|
var equals = 61; // `=`.charCodeAt(0);
|
|
7138
|
-
|
|
7139
7141
|
tokenTypes.equals = equals;
|
|
7140
7142
|
var pipe = 124; // `|`.charCodeAt(0);
|
|
7141
|
-
|
|
7142
7143
|
tokenTypes.pipe = pipe;
|
|
7143
7144
|
var greaterThan = 62; // `>`.charCodeAt(0);
|
|
7144
|
-
|
|
7145
7145
|
tokenTypes.greaterThan = greaterThan;
|
|
7146
7146
|
var space = 32; // ` `.charCodeAt(0);
|
|
7147
|
-
|
|
7148
7147
|
tokenTypes.space = space;
|
|
7149
7148
|
var singleQuote = 39; // `'`.charCodeAt(0);
|
|
7150
|
-
|
|
7151
7149
|
tokenTypes.singleQuote = singleQuote;
|
|
7152
7150
|
var doubleQuote = 34; // `"`.charCodeAt(0);
|
|
7153
|
-
|
|
7154
7151
|
tokenTypes.doubleQuote = doubleQuote;
|
|
7155
7152
|
var slash = 47; // `/`.charCodeAt(0);
|
|
7156
|
-
|
|
7157
7153
|
tokenTypes.slash = slash;
|
|
7158
7154
|
var bang = 33; // `!`.charCodeAt(0);
|
|
7159
|
-
|
|
7160
7155
|
tokenTypes.bang = bang;
|
|
7161
7156
|
var backslash = 92; // '\\'.charCodeAt(0);
|
|
7162
|
-
|
|
7163
7157
|
tokenTypes.backslash = backslash;
|
|
7164
7158
|
var cr = 13; // '\r'.charCodeAt(0);
|
|
7165
|
-
|
|
7166
7159
|
tokenTypes.cr = cr;
|
|
7167
7160
|
var feed = 12; // '\f'.charCodeAt(0);
|
|
7168
|
-
|
|
7169
7161
|
tokenTypes.feed = feed;
|
|
7170
7162
|
var newline = 10; // '\n'.charCodeAt(0);
|
|
7171
|
-
|
|
7172
7163
|
tokenTypes.newline = newline;
|
|
7173
7164
|
var tab = 9; // '\t'.charCodeAt(0);
|
|
7174
|
-
// Expose aliases primarily for readability.
|
|
7175
7165
|
|
|
7166
|
+
// Expose aliases primarily for readability.
|
|
7176
7167
|
tokenTypes.tab = tab;
|
|
7177
|
-
var str = singleQuote;
|
|
7168
|
+
var str = singleQuote;
|
|
7178
7169
|
|
|
7170
|
+
// No good single character representation!
|
|
7179
7171
|
tokenTypes.str = str;
|
|
7180
7172
|
var comment$1 = -1;
|
|
7181
7173
|
tokenTypes.comment = comment$1;
|
|
@@ -7187,20 +7179,20 @@ tokenTypes.combinator = combinator$1;
|
|
|
7187
7179
|
(function (exports) {
|
|
7188
7180
|
|
|
7189
7181
|
exports.__esModule = true;
|
|
7190
|
-
exports["default"] = tokenize;
|
|
7191
7182
|
exports.FIELDS = void 0;
|
|
7183
|
+
exports["default"] = tokenize;
|
|
7192
7184
|
var t = _interopRequireWildcard(tokenTypes);
|
|
7193
7185
|
var _unescapable, _wordDelimiters;
|
|
7194
|
-
function _getRequireWildcardCache() {
|
|
7186
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
7195
7187
|
if (typeof WeakMap !== "function") return null;
|
|
7196
|
-
var
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
}
|
|
7202
|
-
function _interopRequireWildcard(obj) {
|
|
7203
|
-
if (obj && obj.__esModule) {
|
|
7188
|
+
var cacheBabelInterop = new WeakMap();
|
|
7189
|
+
var cacheNodeInterop = new WeakMap();
|
|
7190
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {
|
|
7191
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
7192
|
+
})(nodeInterop);
|
|
7193
|
+
}
|
|
7194
|
+
function _interopRequireWildcard(obj, nodeInterop) {
|
|
7195
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
7204
7196
|
return obj;
|
|
7205
7197
|
}
|
|
7206
7198
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -7208,14 +7200,14 @@ tokenTypes.combinator = combinator$1;
|
|
|
7208
7200
|
"default": obj
|
|
7209
7201
|
};
|
|
7210
7202
|
}
|
|
7211
|
-
var cache = _getRequireWildcardCache();
|
|
7203
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
7212
7204
|
if (cache && cache.has(obj)) {
|
|
7213
7205
|
return cache.get(obj);
|
|
7214
7206
|
}
|
|
7215
7207
|
var newObj = {};
|
|
7216
7208
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
7217
7209
|
for (var key in obj) {
|
|
7218
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7210
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7219
7211
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
7220
7212
|
if (desc && (desc.get || desc.set)) {
|
|
7221
7213
|
Object.defineProperty(newObj, key, desc);
|
|
@@ -7237,12 +7229,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
7237
7229
|
for (var i = 0; i < hexChars.length; i++) {
|
|
7238
7230
|
hex[hexChars.charCodeAt(i)] = true;
|
|
7239
7231
|
}
|
|
7232
|
+
|
|
7240
7233
|
/**
|
|
7241
7234
|
* Returns the last index of the bar css word
|
|
7242
7235
|
* @param {string} css The string in which the word begins
|
|
7243
7236
|
* @param {number} start The index into the string where word's first letter occurs
|
|
7244
7237
|
*/
|
|
7245
|
-
|
|
7246
7238
|
function consumeWord(css, start) {
|
|
7247
7239
|
var next = start;
|
|
7248
7240
|
var code;
|
|
@@ -7259,24 +7251,24 @@ tokenTypes.combinator = combinator$1;
|
|
|
7259
7251
|
} while (next < css.length);
|
|
7260
7252
|
return next - 1;
|
|
7261
7253
|
}
|
|
7254
|
+
|
|
7262
7255
|
/**
|
|
7263
7256
|
* Returns the last index of the escape sequence
|
|
7264
7257
|
* @param {string} css The string in which the sequence begins
|
|
7265
7258
|
* @param {number} start The index into the string where escape character (`\`) occurs.
|
|
7266
7259
|
*/
|
|
7267
|
-
|
|
7268
7260
|
function consumeEscape(css, start) {
|
|
7269
7261
|
var next = start;
|
|
7270
7262
|
var code = css.charCodeAt(next + 1);
|
|
7271
7263
|
if (unescapable[code]) ; else if (hex[code]) {
|
|
7272
|
-
var hexDigits = 0;
|
|
7273
|
-
|
|
7264
|
+
var hexDigits = 0;
|
|
7265
|
+
// consume up to 6 hex chars
|
|
7274
7266
|
do {
|
|
7275
7267
|
next++;
|
|
7276
7268
|
hexDigits++;
|
|
7277
7269
|
code = css.charCodeAt(next + 1);
|
|
7278
|
-
} while (hex[code] && hexDigits < 6);
|
|
7279
|
-
|
|
7270
|
+
} while (hex[code] && hexDigits < 6);
|
|
7271
|
+
// if fewer than 6 hex chars, a trailing space ends the escape
|
|
7280
7272
|
if (hexDigits < 6 && code === t.space) {
|
|
7281
7273
|
next++;
|
|
7282
7274
|
}
|
|
@@ -7355,8 +7347,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
7355
7347
|
endColumn = start - offset;
|
|
7356
7348
|
end = next;
|
|
7357
7349
|
break;
|
|
7358
|
-
// Consume these characters as single tokens.
|
|
7359
7350
|
|
|
7351
|
+
// Consume these characters as single tokens.
|
|
7360
7352
|
case t.asterisk:
|
|
7361
7353
|
case t.ampersand:
|
|
7362
7354
|
case t.bang:
|
|
@@ -7431,8 +7423,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
7431
7423
|
}
|
|
7432
7424
|
end = next + 1;
|
|
7433
7425
|
break;
|
|
7434
|
-
}
|
|
7426
|
+
}
|
|
7435
7427
|
|
|
7428
|
+
// Ensure that the token structure remains consistent
|
|
7436
7429
|
tokens.push([tokenType,
|
|
7437
7430
|
// [0] Token type
|
|
7438
7431
|
line,
|
|
@@ -7446,8 +7439,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
7446
7439
|
start,
|
|
7447
7440
|
// [5] Start position / Source index
|
|
7448
7441
|
end // [6] End position
|
|
7449
|
-
]);
|
|
7442
|
+
]);
|
|
7450
7443
|
|
|
7444
|
+
// Reset offset for the next token
|
|
7451
7445
|
if (nextOffset) {
|
|
7452
7446
|
offset = nextOffset;
|
|
7453
7447
|
nextOffset = null;
|
|
@@ -7480,16 +7474,16 @@ tokenTypes.combinator = combinator$1;
|
|
|
7480
7474
|
var types$1 = _interopRequireWildcard(types);
|
|
7481
7475
|
var _util = util;
|
|
7482
7476
|
var _WHITESPACE_TOKENS, _Object$assign;
|
|
7483
|
-
function _getRequireWildcardCache() {
|
|
7477
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
7484
7478
|
if (typeof WeakMap !== "function") return null;
|
|
7485
|
-
var
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
}
|
|
7491
|
-
function _interopRequireWildcard(obj) {
|
|
7492
|
-
if (obj && obj.__esModule) {
|
|
7479
|
+
var cacheBabelInterop = new WeakMap();
|
|
7480
|
+
var cacheNodeInterop = new WeakMap();
|
|
7481
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {
|
|
7482
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
7483
|
+
})(nodeInterop);
|
|
7484
|
+
}
|
|
7485
|
+
function _interopRequireWildcard(obj, nodeInterop) {
|
|
7486
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
7493
7487
|
return obj;
|
|
7494
7488
|
}
|
|
7495
7489
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -7497,14 +7491,14 @@ tokenTypes.combinator = combinator$1;
|
|
|
7497
7491
|
"default": obj
|
|
7498
7492
|
};
|
|
7499
7493
|
}
|
|
7500
|
-
var cache = _getRequireWildcardCache();
|
|
7494
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
7501
7495
|
if (cache && cache.has(obj)) {
|
|
7502
7496
|
return cache.get(obj);
|
|
7503
7497
|
}
|
|
7504
7498
|
var newObj = {};
|
|
7505
7499
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
7506
7500
|
for (var key in obj) {
|
|
7507
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7501
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7508
7502
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
7509
7503
|
if (desc && (desc.get || desc.set)) {
|
|
7510
7504
|
Object.defineProperty(newObj, key, desc);
|
|
@@ -7536,6 +7530,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
7536
7530
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
7537
7531
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
7538
7532
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
7533
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
7534
|
+
writable: false
|
|
7535
|
+
});
|
|
7539
7536
|
return Constructor;
|
|
7540
7537
|
}
|
|
7541
7538
|
var WHITESPACE_TOKENS = (_WHITESPACE_TOKENS = {}, _WHITESPACE_TOKENS[tokens.space] = true, _WHITESPACE_TOKENS[tokens.cr] = true, _WHITESPACE_TOKENS[tokens.feed] = true, _WHITESPACE_TOKENS[tokens.newline] = true, _WHITESPACE_TOKENS[tokens.tab] = true, _WHITESPACE_TOKENS);
|
|
@@ -7731,9 +7728,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
7731
7728
|
}
|
|
7732
7729
|
break;
|
|
7733
7730
|
}
|
|
7734
|
-
|
|
7735
7731
|
// Falls through
|
|
7736
|
-
|
|
7737
7732
|
case tokens.caret:
|
|
7738
7733
|
if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {
|
|
7739
7734
|
node.operator = content;
|
|
@@ -7879,6 +7874,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
7879
7874
|
this.newNode(new _attribute["default"](node));
|
|
7880
7875
|
this.position++;
|
|
7881
7876
|
}
|
|
7877
|
+
|
|
7882
7878
|
/**
|
|
7883
7879
|
* return a node containing meaningless garbage up to (but not including) the specified token position.
|
|
7884
7880
|
* if the token position is negative, all remaining tokens are consumed.
|
|
@@ -7891,7 +7887,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
7891
7887
|
*
|
|
7892
7888
|
* In lossy mode, this returns only comments.
|
|
7893
7889
|
*/;
|
|
7894
|
-
|
|
7895
7890
|
_proto.parseWhitespaceEquivalentTokens = function parseWhitespaceEquivalentTokens(stopPosition) {
|
|
7896
7891
|
if (stopPosition < 0) {
|
|
7897
7892
|
stopPosition = this.tokens.length;
|
|
@@ -7939,11 +7934,11 @@ tokenTypes.combinator = combinator$1;
|
|
|
7939
7934
|
}
|
|
7940
7935
|
return nodes;
|
|
7941
7936
|
}
|
|
7937
|
+
|
|
7942
7938
|
/**
|
|
7943
7939
|
*
|
|
7944
7940
|
* @param {*} nodes
|
|
7945
7941
|
*/;
|
|
7946
|
-
|
|
7947
7942
|
_proto.convertWhitespaceNodesToSpace = function convertWhitespaceNodesToSpace(nodes, requiredSpace) {
|
|
7948
7943
|
var _this2 = this;
|
|
7949
7944
|
if (requiredSpace === void 0) {
|
|
@@ -7996,8 +7991,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
7996
7991
|
var _this3 = this;
|
|
7997
7992
|
if (this.content() === '|') {
|
|
7998
7993
|
return this.namespace();
|
|
7999
|
-
}
|
|
8000
|
-
|
|
7994
|
+
}
|
|
7995
|
+
// We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
|
|
8001
7996
|
var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);
|
|
8002
7997
|
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma) {
|
|
8003
7998
|
var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
|
|
@@ -8122,6 +8117,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
8122
8117
|
_proto.unexpected = function unexpected() {
|
|
8123
8118
|
return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[_tokenize.FIELDS.START_POS]);
|
|
8124
8119
|
};
|
|
8120
|
+
_proto.unexpectedPipe = function unexpectedPipe() {
|
|
8121
|
+
return this.error("Unexpected '|'.", this.currToken[_tokenize.FIELDS.START_POS]);
|
|
8122
|
+
};
|
|
8125
8123
|
_proto.namespace = function namespace() {
|
|
8126
8124
|
var before = this.prevToken && this.content(this.prevToken) || true;
|
|
8127
8125
|
if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.word) {
|
|
@@ -8131,6 +8129,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
8131
8129
|
this.position++;
|
|
8132
8130
|
return this.universal(before);
|
|
8133
8131
|
}
|
|
8132
|
+
this.unexpectedPipe();
|
|
8134
8133
|
};
|
|
8135
8134
|
_proto.nesting = function nesting() {
|
|
8136
8135
|
if (this.nextToken) {
|
|
@@ -8238,8 +8237,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
8238
8237
|
}
|
|
8239
8238
|
};
|
|
8240
8239
|
_proto.space = function space() {
|
|
8241
|
-
var content = this.content();
|
|
8242
|
-
|
|
8240
|
+
var content = this.content();
|
|
8241
|
+
// Handle space before and after the selector
|
|
8243
8242
|
if (this.position === 0 || this.prevToken[_tokenize.FIELDS.TYPE] === tokens.comma || this.prevToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis || this.current.nodes.every(function (node) {
|
|
8244
8243
|
return node.type === 'comment';
|
|
8245
8244
|
})) {
|
|
@@ -8294,15 +8293,15 @@ tokenTypes.combinator = combinator$1;
|
|
|
8294
8293
|
}
|
|
8295
8294
|
var hasClass = indexesOf(word, '.').filter(function (i) {
|
|
8296
8295
|
// Allow escaped dot within class name
|
|
8297
|
-
var escapedDot = word[i - 1] === '\\';
|
|
8298
|
-
|
|
8296
|
+
var escapedDot = word[i - 1] === '\\';
|
|
8297
|
+
// Allow decimal numbers percent in @keyframes
|
|
8299
8298
|
var isKeyframesPercent = /^\d+\.\d+%$/.test(word);
|
|
8300
8299
|
return !escapedDot && !isKeyframesPercent;
|
|
8301
8300
|
});
|
|
8302
8301
|
var hasId = indexesOf(word, '#').filter(function (i) {
|
|
8303
8302
|
return word[i - 1] !== '\\';
|
|
8304
|
-
});
|
|
8305
|
-
|
|
8303
|
+
});
|
|
8304
|
+
// Eliminate Sass interpolations from the list of id indexes
|
|
8306
8305
|
var interpolations = indexesOf(word, '#{');
|
|
8307
8306
|
if (interpolations.length) {
|
|
8308
8307
|
hasId = hasId.filter(function (hashIndex) {
|
|
@@ -8343,8 +8342,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
8343
8342
|
unescapeProp(tagOpts, "value");
|
|
8344
8343
|
node = new _tag["default"](tagOpts);
|
|
8345
8344
|
}
|
|
8346
|
-
_this5.newNode(node, namespace);
|
|
8347
|
-
|
|
8345
|
+
_this5.newNode(node, namespace);
|
|
8346
|
+
// Ensure that the namespace is used only once
|
|
8348
8347
|
namespace = null;
|
|
8349
8348
|
});
|
|
8350
8349
|
this.position++;
|
|
@@ -8409,7 +8408,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
8409
8408
|
this.string();
|
|
8410
8409
|
break;
|
|
8411
8410
|
// These cases throw; no break needed.
|
|
8412
|
-
|
|
8413
8411
|
case tokens.closeSquare:
|
|
8414
8412
|
this.missingSquareBracket();
|
|
8415
8413
|
case tokens.semicolon:
|
|
@@ -8418,10 +8416,10 @@ tokenTypes.combinator = combinator$1;
|
|
|
8418
8416
|
this.unexpected();
|
|
8419
8417
|
}
|
|
8420
8418
|
}
|
|
8419
|
+
|
|
8421
8420
|
/**
|
|
8422
8421
|
* Helpers
|
|
8423
8422
|
*/;
|
|
8424
|
-
|
|
8425
8423
|
_proto.expected = function expected(description, index, found) {
|
|
8426
8424
|
if (Array.isArray(description)) {
|
|
8427
8425
|
var last = description.pop();
|
|
@@ -8481,7 +8479,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
8481
8479
|
}
|
|
8482
8480
|
return this.css.slice(token[_tokenize.FIELDS.START_POS], token[_tokenize.FIELDS.END_POS]);
|
|
8483
8481
|
};
|
|
8484
|
-
|
|
8485
8482
|
/**
|
|
8486
8483
|
* returns the index of the next non-whitespace, non-comment token.
|
|
8487
8484
|
* returns -1 if no meaningful token is found.
|
|
@@ -8620,6 +8617,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
8620
8617
|
string: string
|
|
8621
8618
|
};
|
|
8622
8619
|
}
|
|
8620
|
+
|
|
8623
8621
|
/**
|
|
8624
8622
|
* Process rule into a selector AST.
|
|
8625
8623
|
*
|
|
@@ -8627,12 +8625,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
8627
8625
|
* @param options The options for processing
|
|
8628
8626
|
* @returns {Promise<parser.Root>} The AST of the selector after processing it.
|
|
8629
8627
|
*/;
|
|
8630
|
-
|
|
8631
8628
|
_proto.ast = function ast(rule, options) {
|
|
8632
8629
|
return this._run(rule, options).then(function (result) {
|
|
8633
8630
|
return result.root;
|
|
8634
8631
|
});
|
|
8635
8632
|
}
|
|
8633
|
+
|
|
8636
8634
|
/**
|
|
8637
8635
|
* Process rule into a selector AST synchronously.
|
|
8638
8636
|
*
|
|
@@ -8640,10 +8638,10 @@ tokenTypes.combinator = combinator$1;
|
|
|
8640
8638
|
* @param options The options for processing
|
|
8641
8639
|
* @returns {parser.Root} The AST of the selector after processing it.
|
|
8642
8640
|
*/;
|
|
8643
|
-
|
|
8644
8641
|
_proto.astSync = function astSync(rule, options) {
|
|
8645
8642
|
return this._runSync(rule, options).root;
|
|
8646
8643
|
}
|
|
8644
|
+
|
|
8647
8645
|
/**
|
|
8648
8646
|
* Process a selector into a transformed value asynchronously
|
|
8649
8647
|
*
|
|
@@ -8651,12 +8649,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
8651
8649
|
* @param options The options for processing
|
|
8652
8650
|
* @returns {Promise<any>} The value returned by the processor.
|
|
8653
8651
|
*/;
|
|
8654
|
-
|
|
8655
8652
|
_proto.transform = function transform(rule, options) {
|
|
8656
8653
|
return this._run(rule, options).then(function (result) {
|
|
8657
8654
|
return result.transform;
|
|
8658
8655
|
});
|
|
8659
8656
|
}
|
|
8657
|
+
|
|
8660
8658
|
/**
|
|
8661
8659
|
* Process a selector into a transformed value synchronously.
|
|
8662
8660
|
*
|
|
@@ -8664,10 +8662,10 @@ tokenTypes.combinator = combinator$1;
|
|
|
8664
8662
|
* @param options The options for processing
|
|
8665
8663
|
* @returns {any} The value returned by the processor.
|
|
8666
8664
|
*/;
|
|
8667
|
-
|
|
8668
8665
|
_proto.transformSync = function transformSync(rule, options) {
|
|
8669
8666
|
return this._runSync(rule, options).transform;
|
|
8670
8667
|
}
|
|
8668
|
+
|
|
8671
8669
|
/**
|
|
8672
8670
|
* Process a selector into a new selector string asynchronously.
|
|
8673
8671
|
*
|
|
@@ -8675,12 +8673,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
8675
8673
|
* @param options The options for processing
|
|
8676
8674
|
* @returns {string} the selector after processing.
|
|
8677
8675
|
*/;
|
|
8678
|
-
|
|
8679
8676
|
_proto.process = function process(rule, options) {
|
|
8680
8677
|
return this._run(rule, options).then(function (result) {
|
|
8681
8678
|
return result.string || result.root.toString();
|
|
8682
8679
|
});
|
|
8683
8680
|
}
|
|
8681
|
+
|
|
8684
8682
|
/**
|
|
8685
8683
|
* Process a selector into a new selector string synchronously.
|
|
8686
8684
|
*
|
|
@@ -8688,7 +8686,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
8688
8686
|
* @param options The options for processing
|
|
8689
8687
|
* @returns {string} the selector after processing.
|
|
8690
8688
|
*/;
|
|
8691
|
-
|
|
8692
8689
|
_proto.processSync = function processSync(rule, options) {
|
|
8693
8690
|
var result = this._runSync(rule, options);
|
|
8694
8691
|
return result.string || result.root.toString();
|
|
@@ -8774,12 +8771,16 @@ constructors.universal = universal;
|
|
|
8774
8771
|
var guards = {};
|
|
8775
8772
|
|
|
8776
8773
|
guards.__esModule = true;
|
|
8777
|
-
guards.
|
|
8778
|
-
guards.isPseudoElement = isPseudoElement;
|
|
8779
|
-
guards.isPseudoClass = isPseudoClass;
|
|
8774
|
+
guards.isComment = guards.isCombinator = guards.isClassName = guards.isAttribute = void 0;
|
|
8780
8775
|
guards.isContainer = isContainer;
|
|
8776
|
+
guards.isIdentifier = void 0;
|
|
8781
8777
|
guards.isNamespace = isNamespace;
|
|
8782
|
-
guards.
|
|
8778
|
+
guards.isNesting = void 0;
|
|
8779
|
+
guards.isNode = isNode;
|
|
8780
|
+
guards.isPseudo = void 0;
|
|
8781
|
+
guards.isPseudoClass = isPseudoClass;
|
|
8782
|
+
guards.isPseudoElement = isPseudoElement;
|
|
8783
|
+
guards.isUniversal = guards.isTag = guards.isString = guards.isSelector = guards.isRoot = void 0;
|
|
8783
8784
|
var _types = types;
|
|
8784
8785
|
var _IS_TYPE;
|
|
8785
8786
|
var IS_TYPE = (_IS_TYPE = {}, _IS_TYPE[_types.ATTRIBUTE] = true, _IS_TYPE[_types.CLASS] = true, _IS_TYPE[_types.COMBINATOR] = true, _IS_TYPE[_types.COMMENT] = true, _IS_TYPE[_types.ID] = true, _IS_TYPE[_types.NESTING] = true, _IS_TYPE[_types.PSEUDO] = true, _IS_TYPE[_types.ROOT] = true, _IS_TYPE[_types.SELECTOR] = true, _IS_TYPE[_types.STRING] = true, _IS_TYPE[_types.TAG] = true, _IS_TYPE[_types.UNIVERSAL] = true, _IS_TYPE);
|
|
@@ -8855,16 +8856,16 @@ function isNamespace(node) {
|
|
|
8855
8856
|
exports["default"] = void 0;
|
|
8856
8857
|
var _processor = _interopRequireDefault(processorExports);
|
|
8857
8858
|
var selectors$1 = _interopRequireWildcard(selectors);
|
|
8858
|
-
function _getRequireWildcardCache() {
|
|
8859
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
8859
8860
|
if (typeof WeakMap !== "function") return null;
|
|
8860
|
-
var
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
}
|
|
8866
|
-
function _interopRequireWildcard(obj) {
|
|
8867
|
-
if (obj && obj.__esModule) {
|
|
8861
|
+
var cacheBabelInterop = new WeakMap();
|
|
8862
|
+
var cacheNodeInterop = new WeakMap();
|
|
8863
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {
|
|
8864
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
8865
|
+
})(nodeInterop);
|
|
8866
|
+
}
|
|
8867
|
+
function _interopRequireWildcard(obj, nodeInterop) {
|
|
8868
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
8868
8869
|
return obj;
|
|
8869
8870
|
}
|
|
8870
8871
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -8872,14 +8873,14 @@ function isNamespace(node) {
|
|
|
8872
8873
|
"default": obj
|
|
8873
8874
|
};
|
|
8874
8875
|
}
|
|
8875
|
-
var cache = _getRequireWildcardCache();
|
|
8876
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
8876
8877
|
if (cache && cache.has(obj)) {
|
|
8877
8878
|
return cache.get(obj);
|
|
8878
8879
|
}
|
|
8879
8880
|
var newObj = {};
|
|
8880
8881
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
8881
8882
|
for (var key in obj) {
|
|
8882
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
8883
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
8883
8884
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
8884
8885
|
if (desc && (desc.get || desc.set)) {
|
|
8885
8886
|
Object.defineProperty(newObj, key, desc);
|