@onereach/ui-components 4.11.0-beta.2941.0 → 4.11.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-2c1b5116.js → OrDateTimePickerMonthSelect-88a629fe.js} +8 -24
- 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 -1
- package/dist/bundled/v2/components/index.js +17 -11
- 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 -175
- 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 -14
- 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-0e648149.js → OrDatePicker.vue_vue_type_script_lang-80de9d3a.js} +8 -14
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-69d65518.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-8857f024.js → OrDateTimePickerMonthSelect-44038b6b.js} +11 -27
- 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 -1
- package/dist/bundled/v3/components/index.js +68 -61
- 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 -175
- 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 -70
- 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-328189a2.js → OrDatePicker-a4f95898.js} +10 -13
- package/dist/esm/v2/{OrDateTimePicker-8bcc71c3.js → OrDateTimePicker-99d3445b.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-399a44b5.js → OrDateTimePicker.vue_rollup-plugin-vue_script-729b254d.js} +13 -27
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-fa88e970.js → OrDateTimePickerPopoverHeader-5fa89936.js} +14 -27
- 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-a9c5547b.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 -1
- package/dist/esm/v2/components/index.js +42 -43
- 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 -42
- 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-4c4fd5dc.js → OrDatePicker-f4470d79.js} +10 -13
- package/dist/esm/v3/{OrDateTimePicker-0a4d194e.js → OrDateTimePicker-546c15ec.js} +13 -27
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-bc8e0bcf.js → OrDateTimePickerPopoverHeader-96a38b4b.js} +14 -27
- 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-67f75e85.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 -1
- package/dist/esm/v3/components/index.js +41 -42
- 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 -41
- 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 +11 -15
- package/src/components/index.ts +1 -1
- 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-date-select/styles.ts +1 -1
- 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/src/shims.d.ts +0 -1
- package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +0 -2886
- package/dist/bundled/v2/components/OrCarousel/OrCarousel.vue.d.ts +0 -1132
- package/dist/bundled/v2/components/OrCarousel/constants.d.ts +0 -15
- package/dist/bundled/v2/components/OrCarousel/constants.js +0 -21
- package/dist/bundled/v2/components/OrCarousel/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrCarousel/index.js +0 -22
- package/dist/bundled/v2/components/OrCarouselItem/OrCarouselItem.js +0 -41
- package/dist/bundled/v2/components/OrCarouselItem/OrCarouselItem.vue.d.ts +0 -2
- package/dist/bundled/v2/components/OrCarouselItem/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrCarouselItem/index.js +0 -3
- package/dist/bundled/v2/components/OrHint/OrHint.stories.bundled.d.ts +0 -8
- package/dist/bundled/v3/OrCarousel.vue_vue_type_script_lang-75c50882.js +0 -2809
- package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-42da2f4a.js +0 -7
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +0 -66
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +0 -582
- package/dist/bundled/v3/components/OrCarousel/constants.d.ts +0 -15
- package/dist/bundled/v3/components/OrCarousel/constants.js +0 -21
- package/dist/bundled/v3/components/OrCarousel/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrCarousel/index.js +0 -24
- package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.js +0 -14
- package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +0 -2
- package/dist/bundled/v3/components/OrCarouselItem/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCarouselItem/index.js +0 -2
- package/dist/bundled/v3/components/OrHint/OrHint.stories.bundled.d.ts +0 -8
- package/dist/esm/v2/OrCarousel-b220cf82.js +0 -251
- package/dist/esm/v2/OrCarouselItem-c614bab9.js +0 -41
- package/dist/esm/v2/components/or-carousel/OrCarousel.vue.d.ts +0 -1132
- package/dist/esm/v2/components/or-carousel/constants.d.ts +0 -15
- package/dist/esm/v2/components/or-carousel/index.d.ts +0 -2
- package/dist/esm/v2/components/or-carousel/index.js +0 -19
- package/dist/esm/v2/components/or-carousel/or-carousel-item/OrCarouselItem.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-carousel/or-carousel-item/index.d.ts +0 -1
- package/dist/esm/v2/components/or-carousel/or-carousel-item/index.js +0 -3
- package/dist/esm/v2/components/or-hint/OrHint.stories.bundled.d.ts +0 -8
- package/dist/esm/v3/OrCarousel-5cc74f26.js +0 -231
- package/dist/esm/v3/OrCarouselItem-8c7ccd0f.js +0 -18
- package/dist/esm/v3/components/or-carousel/OrCarousel.vue.d.ts +0 -582
- package/dist/esm/v3/components/or-carousel/constants.d.ts +0 -15
- package/dist/esm/v3/components/or-carousel/index.d.ts +0 -2
- package/dist/esm/v3/components/or-carousel/index.js +0 -18
- package/dist/esm/v3/components/or-carousel/or-carousel-item/OrCarouselItem.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-carousel/or-carousel-item/index.d.ts +0 -1
- package/dist/esm/v3/components/or-carousel/or-carousel-item/index.js +0 -3
- package/dist/esm/v3/components/or-hint/OrHint.stories.bundled.d.ts +0 -8
- package/src/components/or-carousel/OrCarousel.stories.mdx +0 -34
- package/src/components/or-carousel/OrCarousel.stories.ts +0 -103
- package/src/components/or-carousel/OrCarousel.vue +0 -204
- package/src/components/or-carousel/constants.ts +0 -49
- package/src/components/or-carousel/index.ts +0 -2
- package/src/components/or-carousel/or-carousel-item/OrCarouselItem.vue +0 -12
- package/src/components/or-carousel/or-carousel-item/index.ts +0 -1
- package/src/components/or-hint/OrHint.stories.bundled.ts +0 -28
- 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',
|
|
@@ -2181,10 +2183,7 @@ var tailwind_config_preset = {
|
|
|
2181
2183
|
flex: prefix === 'inline-' ? '0 0 auto' : undefined,
|
|
2182
2184
|
|
|
2183
2185
|
alignContent: direction === 'row' ? 'center' : undefined,
|
|
2184
|
-
justifyContent: direction === 'column' ? 'stretch' : undefined,
|
|
2185
|
-
|
|
2186
2186
|
alignItems: direction === 'row' ? 'center' : undefined,
|
|
2187
|
-
justifyItems: direction === 'column' ? 'stretch' : undefined,
|
|
2188
2187
|
|
|
2189
2188
|
maxWidth: prefix === 'inline-' ? '100%' : undefined,
|
|
2190
2189
|
};
|
|
@@ -5007,7 +5006,6 @@ var unesc = {
|
|
|
5007
5006
|
|
|
5008
5007
|
exports.__esModule = true;
|
|
5009
5008
|
exports["default"] = unesc;
|
|
5010
|
-
|
|
5011
5009
|
// Many thanks for this post which made this migration much easier.
|
|
5012
5010
|
// https://mathiasbynens.be/notes/css-escapes
|
|
5013
5011
|
|
|
@@ -5021,10 +5019,10 @@ var unesc = {
|
|
|
5021
5019
|
var hex = '';
|
|
5022
5020
|
var spaceTerminated = false;
|
|
5023
5021
|
for (var i = 0; i < 6 && lower[i] !== undefined; i++) {
|
|
5024
|
-
var code = lower.charCodeAt(i);
|
|
5025
|
-
|
|
5026
|
-
var valid = code >= 97 && code <= 102 || code >= 48 && code <= 57;
|
|
5027
|
-
|
|
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
|
|
5028
5026
|
spaceTerminated = code === 32;
|
|
5029
5027
|
if (!valid) {
|
|
5030
5028
|
break;
|
|
@@ -5035,10 +5033,10 @@ var unesc = {
|
|
|
5035
5033
|
return undefined;
|
|
5036
5034
|
}
|
|
5037
5035
|
var codePoint = parseInt(hex, 16);
|
|
5038
|
-
var isSurrogate = codePoint >= 0xD800 && codePoint <= 0xDFFF;
|
|
5036
|
+
var isSurrogate = codePoint >= 0xD800 && codePoint <= 0xDFFF;
|
|
5037
|
+
// Add special case for
|
|
5039
5038
|
// "If this number is zero, or is for a surrogate, or is greater than the maximum allowed code point"
|
|
5040
5039
|
// https://drafts.csswg.org/css-syntax/#maximum-allowed-code-point
|
|
5041
|
-
|
|
5042
5040
|
if (isSurrogate || codePoint === 0x0000 || codePoint > 0x10FFFF) {
|
|
5043
5041
|
return ["\uFFFD", hex.length + (spaceTerminated ? 1 : 0)];
|
|
5044
5042
|
}
|
|
@@ -5058,16 +5056,18 @@ var unesc = {
|
|
|
5058
5056
|
ret += gobbled[0];
|
|
5059
5057
|
i += gobbled[1];
|
|
5060
5058
|
continue;
|
|
5061
|
-
}
|
|
5062
|
-
// https://github.com/postcss/postcss-selector-parser/commit/268c9a7656fb53f543dc620aa5b73a30ec3ff20e
|
|
5059
|
+
}
|
|
5063
5060
|
|
|
5061
|
+
// Retain a pair of \\ if double escaped `\\\\`
|
|
5062
|
+
// https://github.com/postcss/postcss-selector-parser/commit/268c9a7656fb53f543dc620aa5b73a30ec3ff20e
|
|
5064
5063
|
if (str[i + 1] === "\\") {
|
|
5065
5064
|
ret += "\\";
|
|
5066
5065
|
i++;
|
|
5067
5066
|
continue;
|
|
5068
|
-
}
|
|
5069
|
-
// https://github.com/postcss/postcss-selector-parser/commit/01a6b346e3612ce1ab20219acc26abdc259ccefb
|
|
5067
|
+
}
|
|
5070
5068
|
|
|
5069
|
+
// if \\ is at the end of the string retain it
|
|
5070
|
+
// https://github.com/postcss/postcss-selector-parser/commit/01a6b346e3612ce1ab20219acc26abdc259ccefb
|
|
5071
5071
|
if (str.length === i + 1) {
|
|
5072
5072
|
ret += str[i];
|
|
5073
5073
|
}
|
|
@@ -5161,7 +5161,7 @@ var stripComments = {
|
|
|
5161
5161
|
})(stripComments, stripCommentsExports);
|
|
5162
5162
|
|
|
5163
5163
|
util.__esModule = true;
|
|
5164
|
-
util.
|
|
5164
|
+
util.unesc = util.stripComments = util.getProp = util.ensureObject = void 0;
|
|
5165
5165
|
var _unesc = _interopRequireDefault$7(unescExports);
|
|
5166
5166
|
util.unesc = _unesc["default"];
|
|
5167
5167
|
var _getProp = _interopRequireDefault$7(getPropExports);
|
|
@@ -5193,6 +5193,9 @@ function _interopRequireDefault$7(obj) {
|
|
|
5193
5193
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5194
5194
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5195
5195
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5196
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
5197
|
+
writable: false
|
|
5198
|
+
});
|
|
5196
5199
|
return Constructor;
|
|
5197
5200
|
}
|
|
5198
5201
|
var cloneNode = function cloneNode(obj, parent) {
|
|
@@ -5263,6 +5266,7 @@ function _interopRequireDefault$7(obj) {
|
|
|
5263
5266
|
}
|
|
5264
5267
|
return cloned;
|
|
5265
5268
|
}
|
|
5269
|
+
|
|
5266
5270
|
/**
|
|
5267
5271
|
* Some non-standard syntax doesn't follow normal escaping rules for css.
|
|
5268
5272
|
* This allows non standard syntax to be appended to an existing property
|
|
@@ -5272,7 +5276,6 @@ function _interopRequireDefault$7(obj) {
|
|
|
5272
5276
|
* @param {any} value the unescaped value of the property
|
|
5273
5277
|
* @param {string} valueEscaped optional. the escaped value of the property.
|
|
5274
5278
|
*/;
|
|
5275
|
-
|
|
5276
5279
|
_proto.appendToPropertyAndEscape = function appendToPropertyAndEscape(name, value, valueEscaped) {
|
|
5277
5280
|
if (!this.raws) {
|
|
5278
5281
|
this.raws = {};
|
|
@@ -5280,13 +5283,13 @@ function _interopRequireDefault$7(obj) {
|
|
|
5280
5283
|
var originalValue = this[name];
|
|
5281
5284
|
var originalEscaped = this.raws[name];
|
|
5282
5285
|
this[name] = originalValue + value; // this may trigger a setter that updates raws, so it has to be set first.
|
|
5283
|
-
|
|
5284
5286
|
if (originalEscaped || valueEscaped !== value) {
|
|
5285
5287
|
this.raws[name] = (originalEscaped || originalValue) + valueEscaped;
|
|
5286
5288
|
} else {
|
|
5287
5289
|
delete this.raws[name]; // delete any escaped value that was created by the setter.
|
|
5288
5290
|
}
|
|
5289
5291
|
}
|
|
5292
|
+
|
|
5290
5293
|
/**
|
|
5291
5294
|
* Some non-standard syntax doesn't follow normal escaping rules for css.
|
|
5292
5295
|
* This allows the escaped value to be specified directly, allowing illegal
|
|
@@ -5295,15 +5298,14 @@ function _interopRequireDefault$7(obj) {
|
|
|
5295
5298
|
* @param {any} value the unescaped value of the property
|
|
5296
5299
|
* @param {string} valueEscaped the escaped value of the property.
|
|
5297
5300
|
*/;
|
|
5298
|
-
|
|
5299
5301
|
_proto.setPropertyAndEscape = function setPropertyAndEscape(name, value, valueEscaped) {
|
|
5300
5302
|
if (!this.raws) {
|
|
5301
5303
|
this.raws = {};
|
|
5302
5304
|
}
|
|
5303
5305
|
this[name] = value; // this may trigger a setter that updates raws, so it has to be set first.
|
|
5304
|
-
|
|
5305
5306
|
this.raws[name] = valueEscaped;
|
|
5306
5307
|
}
|
|
5308
|
+
|
|
5307
5309
|
/**
|
|
5308
5310
|
* When you want a value to passed through to CSS directly. This method
|
|
5309
5311
|
* deletes the corresponding raw value causing the stringifier to fallback
|
|
@@ -5311,20 +5313,18 @@ function _interopRequireDefault$7(obj) {
|
|
|
5311
5313
|
* @param {string} name the property to set.
|
|
5312
5314
|
* @param {any} value The value that is both escaped and unescaped.
|
|
5313
5315
|
*/;
|
|
5314
|
-
|
|
5315
5316
|
_proto.setPropertyWithoutEscape = function setPropertyWithoutEscape(name, value) {
|
|
5316
5317
|
this[name] = value; // this may trigger a setter that updates raws, so it has to be set first.
|
|
5317
|
-
|
|
5318
5318
|
if (this.raws) {
|
|
5319
5319
|
delete this.raws[name];
|
|
5320
5320
|
}
|
|
5321
5321
|
}
|
|
5322
|
+
|
|
5322
5323
|
/**
|
|
5323
5324
|
*
|
|
5324
5325
|
* @param {number} line The number (starting with 1)
|
|
5325
5326
|
* @param {number} column The column number (starting with 1)
|
|
5326
5327
|
*/;
|
|
5327
|
-
|
|
5328
5328
|
_proto.isAtPosition = function isAtPosition(line, column) {
|
|
5329
5329
|
if (this.source && this.source.start && this.source.end) {
|
|
5330
5330
|
if (this.source.start.line > line) {
|
|
@@ -5388,7 +5388,7 @@ function _interopRequireDefault$7(obj) {
|
|
|
5388
5388
|
var types = {};
|
|
5389
5389
|
|
|
5390
5390
|
types.__esModule = true;
|
|
5391
|
-
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;
|
|
5392
5392
|
var TAG = 'tag';
|
|
5393
5393
|
types.TAG = TAG;
|
|
5394
5394
|
var STRING = 'string';
|
|
@@ -5420,16 +5420,16 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5420
5420
|
exports["default"] = void 0;
|
|
5421
5421
|
var _node = _interopRequireDefault(nodeExports);
|
|
5422
5422
|
var types$1 = _interopRequireWildcard(types);
|
|
5423
|
-
function _getRequireWildcardCache() {
|
|
5423
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
5424
5424
|
if (typeof WeakMap !== "function") return null;
|
|
5425
|
-
var
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
}
|
|
5431
|
-
function _interopRequireWildcard(obj) {
|
|
5432
|
-
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) {
|
|
5433
5433
|
return obj;
|
|
5434
5434
|
}
|
|
5435
5435
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -5437,14 +5437,14 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5437
5437
|
"default": obj
|
|
5438
5438
|
};
|
|
5439
5439
|
}
|
|
5440
|
-
var cache = _getRequireWildcardCache();
|
|
5440
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
5441
5441
|
if (cache && cache.has(obj)) {
|
|
5442
5442
|
return cache.get(obj);
|
|
5443
5443
|
}
|
|
5444
5444
|
var newObj = {};
|
|
5445
5445
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
5446
5446
|
for (var key in obj) {
|
|
5447
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
5447
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
5448
5448
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
5449
5449
|
if (desc && (desc.get || desc.set)) {
|
|
5450
5450
|
Object.defineProperty(newObj, key, desc);
|
|
@@ -5465,25 +5465,22 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5465
5465
|
};
|
|
5466
5466
|
}
|
|
5467
5467
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
5468
|
-
var it;
|
|
5469
|
-
if (
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
};
|
|
5477
|
-
return {
|
|
5478
|
-
done: false,
|
|
5479
|
-
value: o[i++]
|
|
5480
|
-
};
|
|
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
|
|
5481
5476
|
};
|
|
5482
|
-
|
|
5483
|
-
|
|
5477
|
+
return {
|
|
5478
|
+
done: false,
|
|
5479
|
+
value: o[i++]
|
|
5480
|
+
};
|
|
5481
|
+
};
|
|
5484
5482
|
}
|
|
5485
|
-
|
|
5486
|
-
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.");
|
|
5487
5484
|
}
|
|
5488
5485
|
function _unsupportedIterableToArray(o, minLen) {
|
|
5489
5486
|
if (!o) return;
|
|
@@ -5512,6 +5509,9 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5512
5509
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5513
5510
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5514
5511
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5512
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
5513
|
+
writable: false
|
|
5514
|
+
});
|
|
5515
5515
|
return Constructor;
|
|
5516
5516
|
}
|
|
5517
5517
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -5520,7 +5520,7 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5520
5520
|
_setPrototypeOf(subClass, superClass);
|
|
5521
5521
|
}
|
|
5522
5522
|
function _setPrototypeOf(o, p) {
|
|
5523
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
5523
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
5524
5524
|
o.__proto__ = p;
|
|
5525
5525
|
return o;
|
|
5526
5526
|
};
|
|
@@ -5624,6 +5624,7 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5624
5624
|
});
|
|
5625
5625
|
return found;
|
|
5626
5626
|
}
|
|
5627
|
+
|
|
5627
5628
|
/**
|
|
5628
5629
|
* Return the most specific node at the line and column number given.
|
|
5629
5630
|
* The source location is based on the original parsed location, locations aren't
|
|
@@ -5637,7 +5638,6 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5637
5638
|
* @param {number} line The line number of the node to find. (1-based index)
|
|
5638
5639
|
* @param {number} col The column number of the node to find. (1-based index)
|
|
5639
5640
|
*/;
|
|
5640
|
-
|
|
5641
5641
|
_proto.atPosition = function atPosition(line, col) {
|
|
5642
5642
|
if (this.isAtPosition(line, col)) {
|
|
5643
5643
|
return this._findChildAtPosition(line, col) || this;
|
|
@@ -5843,6 +5843,9 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5843
5843
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5844
5844
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5845
5845
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5846
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
5847
|
+
writable: false
|
|
5848
|
+
});
|
|
5846
5849
|
return Constructor;
|
|
5847
5850
|
}
|
|
5848
5851
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -5851,7 +5854,7 @@ types.UNIVERSAL = UNIVERSAL;
|
|
|
5851
5854
|
_setPrototypeOf(subClass, superClass);
|
|
5852
5855
|
}
|
|
5853
5856
|
function _setPrototypeOf(o, p) {
|
|
5854
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
5857
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
5855
5858
|
o.__proto__ = p;
|
|
5856
5859
|
return o;
|
|
5857
5860
|
};
|
|
@@ -5915,7 +5918,7 @@ var selector$1 = {
|
|
|
5915
5918
|
_setPrototypeOf(subClass, superClass);
|
|
5916
5919
|
}
|
|
5917
5920
|
function _setPrototypeOf(o, p) {
|
|
5918
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
5921
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
5919
5922
|
o.__proto__ = p;
|
|
5920
5923
|
return o;
|
|
5921
5924
|
};
|
|
@@ -6068,6 +6071,9 @@ var cssesc_1 = cssesc;
|
|
|
6068
6071
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
6069
6072
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
6070
6073
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
6074
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
6075
|
+
writable: false
|
|
6076
|
+
});
|
|
6071
6077
|
return Constructor;
|
|
6072
6078
|
}
|
|
6073
6079
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -6076,7 +6082,7 @@ var cssesc_1 = cssesc;
|
|
|
6076
6082
|
_setPrototypeOf(subClass, superClass);
|
|
6077
6083
|
}
|
|
6078
6084
|
function _setPrototypeOf(o, p) {
|
|
6079
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6085
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6080
6086
|
o.__proto__ = p;
|
|
6081
6087
|
return o;
|
|
6082
6088
|
};
|
|
@@ -6144,7 +6150,7 @@ var comment$2 = {
|
|
|
6144
6150
|
_setPrototypeOf(subClass, superClass);
|
|
6145
6151
|
}
|
|
6146
6152
|
function _setPrototypeOf(o, p) {
|
|
6147
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6153
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6148
6154
|
o.__proto__ = p;
|
|
6149
6155
|
return o;
|
|
6150
6156
|
};
|
|
@@ -6187,7 +6193,7 @@ var id$1 = {
|
|
|
6187
6193
|
_setPrototypeOf(subClass, superClass);
|
|
6188
6194
|
}
|
|
6189
6195
|
function _setPrototypeOf(o, p) {
|
|
6190
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6196
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6191
6197
|
o.__proto__ = p;
|
|
6192
6198
|
return o;
|
|
6193
6199
|
};
|
|
@@ -6247,6 +6253,9 @@ var namespace = {
|
|
|
6247
6253
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
6248
6254
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
6249
6255
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
6256
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
6257
|
+
writable: false
|
|
6258
|
+
});
|
|
6250
6259
|
return Constructor;
|
|
6251
6260
|
}
|
|
6252
6261
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -6255,7 +6264,7 @@ var namespace = {
|
|
|
6255
6264
|
_setPrototypeOf(subClass, superClass);
|
|
6256
6265
|
}
|
|
6257
6266
|
function _setPrototypeOf(o, p) {
|
|
6258
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6267
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6259
6268
|
o.__proto__ = p;
|
|
6260
6269
|
return o;
|
|
6261
6270
|
};
|
|
@@ -6347,7 +6356,7 @@ var namespace = {
|
|
|
6347
6356
|
_setPrototypeOf(subClass, superClass);
|
|
6348
6357
|
}
|
|
6349
6358
|
function _setPrototypeOf(o, p) {
|
|
6350
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6359
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6351
6360
|
o.__proto__ = p;
|
|
6352
6361
|
return o;
|
|
6353
6362
|
};
|
|
@@ -6390,7 +6399,7 @@ var string$1 = {
|
|
|
6390
6399
|
_setPrototypeOf(subClass, superClass);
|
|
6391
6400
|
}
|
|
6392
6401
|
function _setPrototypeOf(o, p) {
|
|
6393
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6402
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6394
6403
|
o.__proto__ = p;
|
|
6395
6404
|
return o;
|
|
6396
6405
|
};
|
|
@@ -6433,7 +6442,7 @@ var pseudo$1 = {
|
|
|
6433
6442
|
_setPrototypeOf(subClass, superClass);
|
|
6434
6443
|
}
|
|
6435
6444
|
function _setPrototypeOf(o, p) {
|
|
6436
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6445
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6437
6446
|
o.__proto__ = p;
|
|
6438
6447
|
return o;
|
|
6439
6448
|
};
|
|
@@ -6469,8 +6478,8 @@ var node = require$$0$1.deprecate;
|
|
|
6469
6478
|
(function (exports) {
|
|
6470
6479
|
|
|
6471
6480
|
exports.__esModule = true;
|
|
6472
|
-
exports.unescapeValue = unescapeValue;
|
|
6473
6481
|
exports["default"] = void 0;
|
|
6482
|
+
exports.unescapeValue = unescapeValue;
|
|
6474
6483
|
var _cssesc = _interopRequireDefault(cssesc_1);
|
|
6475
6484
|
var _unesc = _interopRequireDefault(unescExports);
|
|
6476
6485
|
var _namespace = _interopRequireDefault(namespaceExports);
|
|
@@ -6493,6 +6502,9 @@ var node = require$$0$1.deprecate;
|
|
|
6493
6502
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
6494
6503
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
6495
6504
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
6505
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
6506
|
+
writable: false
|
|
6507
|
+
});
|
|
6496
6508
|
return Constructor;
|
|
6497
6509
|
}
|
|
6498
6510
|
function _inheritsLoose(subClass, superClass) {
|
|
@@ -6501,7 +6513,7 @@ var node = require$$0$1.deprecate;
|
|
|
6501
6513
|
_setPrototypeOf(subClass, superClass);
|
|
6502
6514
|
}
|
|
6503
6515
|
function _setPrototypeOf(o, p) {
|
|
6504
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6516
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6505
6517
|
o.__proto__ = p;
|
|
6506
6518
|
return o;
|
|
6507
6519
|
};
|
|
@@ -6573,6 +6585,7 @@ var node = require$$0$1.deprecate;
|
|
|
6573
6585
|
_this._constructed = true;
|
|
6574
6586
|
return _this;
|
|
6575
6587
|
}
|
|
6588
|
+
|
|
6576
6589
|
/**
|
|
6577
6590
|
* Returns the Attribute's value quoted such that it would be legal to use
|
|
6578
6591
|
* in the value of a css file. The original value's quotation setting
|
|
@@ -6594,7 +6607,6 @@ var node = require$$0$1.deprecate;
|
|
|
6594
6607
|
* and the other options specified here. See the `smartQuoteMark()`
|
|
6595
6608
|
* method.
|
|
6596
6609
|
**/
|
|
6597
|
-
|
|
6598
6610
|
var _proto = Attribute.prototype;
|
|
6599
6611
|
_proto.getQuotedValue = function getQuotedValue(options) {
|
|
6600
6612
|
if (options === void 0) {
|
|
@@ -6608,12 +6620,12 @@ var node = require$$0$1.deprecate;
|
|
|
6608
6620
|
_proto._determineQuoteMark = function _determineQuoteMark(options) {
|
|
6609
6621
|
return options.smart ? this.smartQuoteMark(options) : this.preferredQuoteMark(options);
|
|
6610
6622
|
}
|
|
6623
|
+
|
|
6611
6624
|
/**
|
|
6612
6625
|
* Set the unescaped value with the specified quotation options. The value
|
|
6613
6626
|
* provided must not include any wrapping quote marks -- those quotes will
|
|
6614
6627
|
* be interpreted as part of the value and escaped accordingly.
|
|
6615
6628
|
*/;
|
|
6616
|
-
|
|
6617
6629
|
_proto.setValue = function setValue(value, options) {
|
|
6618
6630
|
if (options === void 0) {
|
|
6619
6631
|
options = {};
|
|
@@ -6622,6 +6634,7 @@ var node = require$$0$1.deprecate;
|
|
|
6622
6634
|
this._quoteMark = this._determineQuoteMark(options);
|
|
6623
6635
|
this._syncRawValue();
|
|
6624
6636
|
}
|
|
6637
|
+
|
|
6625
6638
|
/**
|
|
6626
6639
|
* Intelligently select a quoteMark value based on the value's contents. If
|
|
6627
6640
|
* the value is a legal CSS ident, it will not be quoted. Otherwise a quote
|
|
@@ -6634,7 +6647,6 @@ var node = require$$0$1.deprecate;
|
|
|
6634
6647
|
* @param options This takes the quoteMark and preferCurrentQuoteMark options
|
|
6635
6648
|
* from the quoteValue method.
|
|
6636
6649
|
*/;
|
|
6637
|
-
|
|
6638
6650
|
_proto.smartQuoteMark = function smartQuoteMark(options) {
|
|
6639
6651
|
var v = this.value;
|
|
6640
6652
|
var numSingleQuotes = v.replace(/[^']/g, '').length;
|
|
@@ -6666,12 +6678,12 @@ var node = require$$0$1.deprecate;
|
|
|
6666
6678
|
return Attribute.SINGLE_QUOTE;
|
|
6667
6679
|
}
|
|
6668
6680
|
}
|
|
6681
|
+
|
|
6669
6682
|
/**
|
|
6670
6683
|
* Selects the preferred quote mark based on the options and the current quote mark value.
|
|
6671
6684
|
* If you want the quote mark to depend on the attribute value, call `smartQuoteMark(opts)`
|
|
6672
6685
|
* instead.
|
|
6673
6686
|
*/;
|
|
6674
|
-
|
|
6675
6687
|
_proto.preferredQuoteMark = function preferredQuoteMark(options) {
|
|
6676
6688
|
var quoteMark = options.preferCurrentQuoteMark ? this.quoteMark : options.quoteMark;
|
|
6677
6689
|
if (quoteMark === undefined) {
|
|
@@ -6723,6 +6735,7 @@ var node = require$$0$1.deprecate;
|
|
|
6723
6735
|
var attrSpaces = this._spacesFor(spaceName);
|
|
6724
6736
|
return concat(this.stringifyProperty(name), attrSpaces);
|
|
6725
6737
|
}
|
|
6738
|
+
|
|
6726
6739
|
/**
|
|
6727
6740
|
* returns the offset of the attribute part specified relative to the
|
|
6728
6741
|
* start of the node of the output string.
|
|
@@ -6737,7 +6750,6 @@ var node = require$$0$1.deprecate;
|
|
|
6737
6750
|
* @param part One of the possible values inside an attribute.
|
|
6738
6751
|
* @returns -1 if the name is invalid or the value doesn't exist in this attribute.
|
|
6739
6752
|
*/;
|
|
6740
|
-
|
|
6741
6753
|
_proto.offsetOf = function offsetOf(name) {
|
|
6742
6754
|
var count = 1;
|
|
6743
6755
|
var attributeSpaces = this._spacesFor("attribute");
|
|
@@ -6807,6 +6819,7 @@ var node = require$$0$1.deprecate;
|
|
|
6807
6819
|
set: function set(value) {
|
|
6808
6820
|
warnOfDeprecatedQuotedAssignment();
|
|
6809
6821
|
}
|
|
6822
|
+
|
|
6810
6823
|
/**
|
|
6811
6824
|
* returns a single (`'`) or double (`"`) quote character if the value is quoted.
|
|
6812
6825
|
* returns `null` if the value is not quoted.
|
|
@@ -6818,6 +6831,7 @@ var node = require$$0$1.deprecate;
|
|
|
6818
6831
|
get: function get() {
|
|
6819
6832
|
return this._quoteMark;
|
|
6820
6833
|
}
|
|
6834
|
+
|
|
6821
6835
|
/**
|
|
6822
6836
|
* Set the quote mark to be used by this attribute's value.
|
|
6823
6837
|
* If the quote mark changes, the raw (escaped) value at `attr.raws.value` of the attribute
|
|
@@ -6825,7 +6839,6 @@ var node = require$$0$1.deprecate;
|
|
|
6825
6839
|
*
|
|
6826
6840
|
* @param {"'" | '"' | null} quoteMark The quote mark or `null` if the value should be unquoted.
|
|
6827
6841
|
*/,
|
|
6828
|
-
|
|
6829
6842
|
set: function set(quoteMark) {
|
|
6830
6843
|
if (!this._constructed) {
|
|
6831
6844
|
this._quoteMark = quoteMark;
|
|
@@ -6888,6 +6901,7 @@ var node = require$$0$1.deprecate;
|
|
|
6888
6901
|
get: function get() {
|
|
6889
6902
|
return this._insensitive;
|
|
6890
6903
|
}
|
|
6904
|
+
|
|
6891
6905
|
/**
|
|
6892
6906
|
* Set the case insensitive flag.
|
|
6893
6907
|
* If the case insensitive flag changes, the raw (escaped) value at `attr.raws.insensitiveFlag`
|
|
@@ -6895,12 +6909,12 @@ var node = require$$0$1.deprecate;
|
|
|
6895
6909
|
*
|
|
6896
6910
|
* @param {true | false} insensitive true if the attribute should match case-insensitively.
|
|
6897
6911
|
*/,
|
|
6898
|
-
|
|
6899
6912
|
set: function set(insensitive) {
|
|
6900
6913
|
if (!insensitive) {
|
|
6901
|
-
this._insensitive = false;
|
|
6902
|
-
// When setting `attr.insensitive = false` both should be erased to ensure correct serialization.
|
|
6914
|
+
this._insensitive = false;
|
|
6903
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.
|
|
6904
6918
|
if (this.raws && (this.raws.insensitiveFlag === 'I' || this.raws.insensitiveFlag === 'i')) {
|
|
6905
6919
|
this.raws.insensitiveFlag = undefined;
|
|
6906
6920
|
}
|
|
@@ -6963,7 +6977,7 @@ var universal$1 = {
|
|
|
6963
6977
|
_setPrototypeOf(subClass, superClass);
|
|
6964
6978
|
}
|
|
6965
6979
|
function _setPrototypeOf(o, p) {
|
|
6966
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
6980
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
6967
6981
|
o.__proto__ = p;
|
|
6968
6982
|
return o;
|
|
6969
6983
|
};
|
|
@@ -7007,7 +7021,7 @@ var combinator$2 = {
|
|
|
7007
7021
|
_setPrototypeOf(subClass, superClass);
|
|
7008
7022
|
}
|
|
7009
7023
|
function _setPrototypeOf(o, p) {
|
|
7010
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
7024
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
7011
7025
|
o.__proto__ = p;
|
|
7012
7026
|
return o;
|
|
7013
7027
|
};
|
|
@@ -7050,7 +7064,7 @@ var nesting$1 = {
|
|
|
7050
7064
|
_setPrototypeOf(subClass, superClass);
|
|
7051
7065
|
}
|
|
7052
7066
|
function _setPrototypeOf(o, p) {
|
|
7053
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
7067
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
7054
7068
|
o.__proto__ = p;
|
|
7055
7069
|
return o;
|
|
7056
7070
|
};
|
|
@@ -7094,91 +7108,66 @@ var tokenize = {};
|
|
|
7094
7108
|
var tokenTypes = {};
|
|
7095
7109
|
|
|
7096
7110
|
tokenTypes.__esModule = true;
|
|
7097
|
-
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;
|
|
7098
7112
|
var ampersand = 38; // `&`.charCodeAt(0);
|
|
7099
|
-
|
|
7100
7113
|
tokenTypes.ampersand = ampersand;
|
|
7101
7114
|
var asterisk = 42; // `*`.charCodeAt(0);
|
|
7102
|
-
|
|
7103
7115
|
tokenTypes.asterisk = asterisk;
|
|
7104
7116
|
var at = 64; // `@`.charCodeAt(0);
|
|
7105
|
-
|
|
7106
7117
|
tokenTypes.at = at;
|
|
7107
7118
|
var comma = 44; // `,`.charCodeAt(0);
|
|
7108
|
-
|
|
7109
7119
|
tokenTypes.comma = comma;
|
|
7110
7120
|
var colon = 58; // `:`.charCodeAt(0);
|
|
7111
|
-
|
|
7112
7121
|
tokenTypes.colon = colon;
|
|
7113
7122
|
var semicolon = 59; // `;`.charCodeAt(0);
|
|
7114
|
-
|
|
7115
7123
|
tokenTypes.semicolon = semicolon;
|
|
7116
7124
|
var openParenthesis = 40; // `(`.charCodeAt(0);
|
|
7117
|
-
|
|
7118
7125
|
tokenTypes.openParenthesis = openParenthesis;
|
|
7119
7126
|
var closeParenthesis = 41; // `)`.charCodeAt(0);
|
|
7120
|
-
|
|
7121
7127
|
tokenTypes.closeParenthesis = closeParenthesis;
|
|
7122
7128
|
var openSquare = 91; // `[`.charCodeAt(0);
|
|
7123
|
-
|
|
7124
7129
|
tokenTypes.openSquare = openSquare;
|
|
7125
7130
|
var closeSquare = 93; // `]`.charCodeAt(0);
|
|
7126
|
-
|
|
7127
7131
|
tokenTypes.closeSquare = closeSquare;
|
|
7128
7132
|
var dollar = 36; // `$`.charCodeAt(0);
|
|
7129
|
-
|
|
7130
7133
|
tokenTypes.dollar = dollar;
|
|
7131
7134
|
var tilde = 126; // `~`.charCodeAt(0);
|
|
7132
|
-
|
|
7133
7135
|
tokenTypes.tilde = tilde;
|
|
7134
7136
|
var caret = 94; // `^`.charCodeAt(0);
|
|
7135
|
-
|
|
7136
7137
|
tokenTypes.caret = caret;
|
|
7137
7138
|
var plus = 43; // `+`.charCodeAt(0);
|
|
7138
|
-
|
|
7139
7139
|
tokenTypes.plus = plus;
|
|
7140
7140
|
var equals = 61; // `=`.charCodeAt(0);
|
|
7141
|
-
|
|
7142
7141
|
tokenTypes.equals = equals;
|
|
7143
7142
|
var pipe = 124; // `|`.charCodeAt(0);
|
|
7144
|
-
|
|
7145
7143
|
tokenTypes.pipe = pipe;
|
|
7146
7144
|
var greaterThan = 62; // `>`.charCodeAt(0);
|
|
7147
|
-
|
|
7148
7145
|
tokenTypes.greaterThan = greaterThan;
|
|
7149
7146
|
var space = 32; // ` `.charCodeAt(0);
|
|
7150
|
-
|
|
7151
7147
|
tokenTypes.space = space;
|
|
7152
7148
|
var singleQuote = 39; // `'`.charCodeAt(0);
|
|
7153
|
-
|
|
7154
7149
|
tokenTypes.singleQuote = singleQuote;
|
|
7155
7150
|
var doubleQuote = 34; // `"`.charCodeAt(0);
|
|
7156
|
-
|
|
7157
7151
|
tokenTypes.doubleQuote = doubleQuote;
|
|
7158
7152
|
var slash = 47; // `/`.charCodeAt(0);
|
|
7159
|
-
|
|
7160
7153
|
tokenTypes.slash = slash;
|
|
7161
7154
|
var bang = 33; // `!`.charCodeAt(0);
|
|
7162
|
-
|
|
7163
7155
|
tokenTypes.bang = bang;
|
|
7164
7156
|
var backslash = 92; // '\\'.charCodeAt(0);
|
|
7165
|
-
|
|
7166
7157
|
tokenTypes.backslash = backslash;
|
|
7167
7158
|
var cr = 13; // '\r'.charCodeAt(0);
|
|
7168
|
-
|
|
7169
7159
|
tokenTypes.cr = cr;
|
|
7170
7160
|
var feed = 12; // '\f'.charCodeAt(0);
|
|
7171
|
-
|
|
7172
7161
|
tokenTypes.feed = feed;
|
|
7173
7162
|
var newline = 10; // '\n'.charCodeAt(0);
|
|
7174
|
-
|
|
7175
7163
|
tokenTypes.newline = newline;
|
|
7176
7164
|
var tab = 9; // '\t'.charCodeAt(0);
|
|
7177
|
-
// Expose aliases primarily for readability.
|
|
7178
7165
|
|
|
7166
|
+
// Expose aliases primarily for readability.
|
|
7179
7167
|
tokenTypes.tab = tab;
|
|
7180
|
-
var str = singleQuote;
|
|
7168
|
+
var str = singleQuote;
|
|
7181
7169
|
|
|
7170
|
+
// No good single character representation!
|
|
7182
7171
|
tokenTypes.str = str;
|
|
7183
7172
|
var comment$1 = -1;
|
|
7184
7173
|
tokenTypes.comment = comment$1;
|
|
@@ -7190,20 +7179,20 @@ tokenTypes.combinator = combinator$1;
|
|
|
7190
7179
|
(function (exports) {
|
|
7191
7180
|
|
|
7192
7181
|
exports.__esModule = true;
|
|
7193
|
-
exports["default"] = tokenize;
|
|
7194
7182
|
exports.FIELDS = void 0;
|
|
7183
|
+
exports["default"] = tokenize;
|
|
7195
7184
|
var t = _interopRequireWildcard(tokenTypes);
|
|
7196
7185
|
var _unescapable, _wordDelimiters;
|
|
7197
|
-
function _getRequireWildcardCache() {
|
|
7186
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
7198
7187
|
if (typeof WeakMap !== "function") return null;
|
|
7199
|
-
var
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
}
|
|
7205
|
-
function _interopRequireWildcard(obj) {
|
|
7206
|
-
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) {
|
|
7207
7196
|
return obj;
|
|
7208
7197
|
}
|
|
7209
7198
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -7211,14 +7200,14 @@ tokenTypes.combinator = combinator$1;
|
|
|
7211
7200
|
"default": obj
|
|
7212
7201
|
};
|
|
7213
7202
|
}
|
|
7214
|
-
var cache = _getRequireWildcardCache();
|
|
7203
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
7215
7204
|
if (cache && cache.has(obj)) {
|
|
7216
7205
|
return cache.get(obj);
|
|
7217
7206
|
}
|
|
7218
7207
|
var newObj = {};
|
|
7219
7208
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
7220
7209
|
for (var key in obj) {
|
|
7221
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7210
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7222
7211
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
7223
7212
|
if (desc && (desc.get || desc.set)) {
|
|
7224
7213
|
Object.defineProperty(newObj, key, desc);
|
|
@@ -7240,12 +7229,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
7240
7229
|
for (var i = 0; i < hexChars.length; i++) {
|
|
7241
7230
|
hex[hexChars.charCodeAt(i)] = true;
|
|
7242
7231
|
}
|
|
7232
|
+
|
|
7243
7233
|
/**
|
|
7244
7234
|
* Returns the last index of the bar css word
|
|
7245
7235
|
* @param {string} css The string in which the word begins
|
|
7246
7236
|
* @param {number} start The index into the string where word's first letter occurs
|
|
7247
7237
|
*/
|
|
7248
|
-
|
|
7249
7238
|
function consumeWord(css, start) {
|
|
7250
7239
|
var next = start;
|
|
7251
7240
|
var code;
|
|
@@ -7262,24 +7251,24 @@ tokenTypes.combinator = combinator$1;
|
|
|
7262
7251
|
} while (next < css.length);
|
|
7263
7252
|
return next - 1;
|
|
7264
7253
|
}
|
|
7254
|
+
|
|
7265
7255
|
/**
|
|
7266
7256
|
* Returns the last index of the escape sequence
|
|
7267
7257
|
* @param {string} css The string in which the sequence begins
|
|
7268
7258
|
* @param {number} start The index into the string where escape character (`\`) occurs.
|
|
7269
7259
|
*/
|
|
7270
|
-
|
|
7271
7260
|
function consumeEscape(css, start) {
|
|
7272
7261
|
var next = start;
|
|
7273
7262
|
var code = css.charCodeAt(next + 1);
|
|
7274
7263
|
if (unescapable[code]) ; else if (hex[code]) {
|
|
7275
|
-
var hexDigits = 0;
|
|
7276
|
-
|
|
7264
|
+
var hexDigits = 0;
|
|
7265
|
+
// consume up to 6 hex chars
|
|
7277
7266
|
do {
|
|
7278
7267
|
next++;
|
|
7279
7268
|
hexDigits++;
|
|
7280
7269
|
code = css.charCodeAt(next + 1);
|
|
7281
|
-
} while (hex[code] && hexDigits < 6);
|
|
7282
|
-
|
|
7270
|
+
} while (hex[code] && hexDigits < 6);
|
|
7271
|
+
// if fewer than 6 hex chars, a trailing space ends the escape
|
|
7283
7272
|
if (hexDigits < 6 && code === t.space) {
|
|
7284
7273
|
next++;
|
|
7285
7274
|
}
|
|
@@ -7358,8 +7347,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
7358
7347
|
endColumn = start - offset;
|
|
7359
7348
|
end = next;
|
|
7360
7349
|
break;
|
|
7361
|
-
// Consume these characters as single tokens.
|
|
7362
7350
|
|
|
7351
|
+
// Consume these characters as single tokens.
|
|
7363
7352
|
case t.asterisk:
|
|
7364
7353
|
case t.ampersand:
|
|
7365
7354
|
case t.bang:
|
|
@@ -7434,8 +7423,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
7434
7423
|
}
|
|
7435
7424
|
end = next + 1;
|
|
7436
7425
|
break;
|
|
7437
|
-
}
|
|
7426
|
+
}
|
|
7438
7427
|
|
|
7428
|
+
// Ensure that the token structure remains consistent
|
|
7439
7429
|
tokens.push([tokenType,
|
|
7440
7430
|
// [0] Token type
|
|
7441
7431
|
line,
|
|
@@ -7449,8 +7439,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
7449
7439
|
start,
|
|
7450
7440
|
// [5] Start position / Source index
|
|
7451
7441
|
end // [6] End position
|
|
7452
|
-
]);
|
|
7442
|
+
]);
|
|
7453
7443
|
|
|
7444
|
+
// Reset offset for the next token
|
|
7454
7445
|
if (nextOffset) {
|
|
7455
7446
|
offset = nextOffset;
|
|
7456
7447
|
nextOffset = null;
|
|
@@ -7483,16 +7474,16 @@ tokenTypes.combinator = combinator$1;
|
|
|
7483
7474
|
var types$1 = _interopRequireWildcard(types);
|
|
7484
7475
|
var _util = util;
|
|
7485
7476
|
var _WHITESPACE_TOKENS, _Object$assign;
|
|
7486
|
-
function _getRequireWildcardCache() {
|
|
7477
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
7487
7478
|
if (typeof WeakMap !== "function") return null;
|
|
7488
|
-
var
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
}
|
|
7494
|
-
function _interopRequireWildcard(obj) {
|
|
7495
|
-
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) {
|
|
7496
7487
|
return obj;
|
|
7497
7488
|
}
|
|
7498
7489
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -7500,14 +7491,14 @@ tokenTypes.combinator = combinator$1;
|
|
|
7500
7491
|
"default": obj
|
|
7501
7492
|
};
|
|
7502
7493
|
}
|
|
7503
|
-
var cache = _getRequireWildcardCache();
|
|
7494
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
7504
7495
|
if (cache && cache.has(obj)) {
|
|
7505
7496
|
return cache.get(obj);
|
|
7506
7497
|
}
|
|
7507
7498
|
var newObj = {};
|
|
7508
7499
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
7509
7500
|
for (var key in obj) {
|
|
7510
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7501
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
7511
7502
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
7512
7503
|
if (desc && (desc.get || desc.set)) {
|
|
7513
7504
|
Object.defineProperty(newObj, key, desc);
|
|
@@ -7539,6 +7530,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
7539
7530
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
7540
7531
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
7541
7532
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
7533
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
7534
|
+
writable: false
|
|
7535
|
+
});
|
|
7542
7536
|
return Constructor;
|
|
7543
7537
|
}
|
|
7544
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);
|
|
@@ -7734,9 +7728,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
7734
7728
|
}
|
|
7735
7729
|
break;
|
|
7736
7730
|
}
|
|
7737
|
-
|
|
7738
7731
|
// Falls through
|
|
7739
|
-
|
|
7740
7732
|
case tokens.caret:
|
|
7741
7733
|
if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {
|
|
7742
7734
|
node.operator = content;
|
|
@@ -7882,6 +7874,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
7882
7874
|
this.newNode(new _attribute["default"](node));
|
|
7883
7875
|
this.position++;
|
|
7884
7876
|
}
|
|
7877
|
+
|
|
7885
7878
|
/**
|
|
7886
7879
|
* return a node containing meaningless garbage up to (but not including) the specified token position.
|
|
7887
7880
|
* if the token position is negative, all remaining tokens are consumed.
|
|
@@ -7894,7 +7887,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
7894
7887
|
*
|
|
7895
7888
|
* In lossy mode, this returns only comments.
|
|
7896
7889
|
*/;
|
|
7897
|
-
|
|
7898
7890
|
_proto.parseWhitespaceEquivalentTokens = function parseWhitespaceEquivalentTokens(stopPosition) {
|
|
7899
7891
|
if (stopPosition < 0) {
|
|
7900
7892
|
stopPosition = this.tokens.length;
|
|
@@ -7942,11 +7934,11 @@ tokenTypes.combinator = combinator$1;
|
|
|
7942
7934
|
}
|
|
7943
7935
|
return nodes;
|
|
7944
7936
|
}
|
|
7937
|
+
|
|
7945
7938
|
/**
|
|
7946
7939
|
*
|
|
7947
7940
|
* @param {*} nodes
|
|
7948
7941
|
*/;
|
|
7949
|
-
|
|
7950
7942
|
_proto.convertWhitespaceNodesToSpace = function convertWhitespaceNodesToSpace(nodes, requiredSpace) {
|
|
7951
7943
|
var _this2 = this;
|
|
7952
7944
|
if (requiredSpace === void 0) {
|
|
@@ -7999,8 +7991,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
7999
7991
|
var _this3 = this;
|
|
8000
7992
|
if (this.content() === '|') {
|
|
8001
7993
|
return this.namespace();
|
|
8002
|
-
}
|
|
8003
|
-
|
|
7994
|
+
}
|
|
7995
|
+
// We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
|
|
8004
7996
|
var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);
|
|
8005
7997
|
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma) {
|
|
8006
7998
|
var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
|
|
@@ -8125,6 +8117,9 @@ tokenTypes.combinator = combinator$1;
|
|
|
8125
8117
|
_proto.unexpected = function unexpected() {
|
|
8126
8118
|
return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[_tokenize.FIELDS.START_POS]);
|
|
8127
8119
|
};
|
|
8120
|
+
_proto.unexpectedPipe = function unexpectedPipe() {
|
|
8121
|
+
return this.error("Unexpected '|'.", this.currToken[_tokenize.FIELDS.START_POS]);
|
|
8122
|
+
};
|
|
8128
8123
|
_proto.namespace = function namespace() {
|
|
8129
8124
|
var before = this.prevToken && this.content(this.prevToken) || true;
|
|
8130
8125
|
if (this.nextToken[_tokenize.FIELDS.TYPE] === tokens.word) {
|
|
@@ -8134,6 +8129,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
8134
8129
|
this.position++;
|
|
8135
8130
|
return this.universal(before);
|
|
8136
8131
|
}
|
|
8132
|
+
this.unexpectedPipe();
|
|
8137
8133
|
};
|
|
8138
8134
|
_proto.nesting = function nesting() {
|
|
8139
8135
|
if (this.nextToken) {
|
|
@@ -8241,8 +8237,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
8241
8237
|
}
|
|
8242
8238
|
};
|
|
8243
8239
|
_proto.space = function space() {
|
|
8244
|
-
var content = this.content();
|
|
8245
|
-
|
|
8240
|
+
var content = this.content();
|
|
8241
|
+
// Handle space before and after the selector
|
|
8246
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) {
|
|
8247
8243
|
return node.type === 'comment';
|
|
8248
8244
|
})) {
|
|
@@ -8297,15 +8293,15 @@ tokenTypes.combinator = combinator$1;
|
|
|
8297
8293
|
}
|
|
8298
8294
|
var hasClass = indexesOf(word, '.').filter(function (i) {
|
|
8299
8295
|
// Allow escaped dot within class name
|
|
8300
|
-
var escapedDot = word[i - 1] === '\\';
|
|
8301
|
-
|
|
8296
|
+
var escapedDot = word[i - 1] === '\\';
|
|
8297
|
+
// Allow decimal numbers percent in @keyframes
|
|
8302
8298
|
var isKeyframesPercent = /^\d+\.\d+%$/.test(word);
|
|
8303
8299
|
return !escapedDot && !isKeyframesPercent;
|
|
8304
8300
|
});
|
|
8305
8301
|
var hasId = indexesOf(word, '#').filter(function (i) {
|
|
8306
8302
|
return word[i - 1] !== '\\';
|
|
8307
|
-
});
|
|
8308
|
-
|
|
8303
|
+
});
|
|
8304
|
+
// Eliminate Sass interpolations from the list of id indexes
|
|
8309
8305
|
var interpolations = indexesOf(word, '#{');
|
|
8310
8306
|
if (interpolations.length) {
|
|
8311
8307
|
hasId = hasId.filter(function (hashIndex) {
|
|
@@ -8346,8 +8342,8 @@ tokenTypes.combinator = combinator$1;
|
|
|
8346
8342
|
unescapeProp(tagOpts, "value");
|
|
8347
8343
|
node = new _tag["default"](tagOpts);
|
|
8348
8344
|
}
|
|
8349
|
-
_this5.newNode(node, namespace);
|
|
8350
|
-
|
|
8345
|
+
_this5.newNode(node, namespace);
|
|
8346
|
+
// Ensure that the namespace is used only once
|
|
8351
8347
|
namespace = null;
|
|
8352
8348
|
});
|
|
8353
8349
|
this.position++;
|
|
@@ -8412,7 +8408,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
8412
8408
|
this.string();
|
|
8413
8409
|
break;
|
|
8414
8410
|
// These cases throw; no break needed.
|
|
8415
|
-
|
|
8416
8411
|
case tokens.closeSquare:
|
|
8417
8412
|
this.missingSquareBracket();
|
|
8418
8413
|
case tokens.semicolon:
|
|
@@ -8421,10 +8416,10 @@ tokenTypes.combinator = combinator$1;
|
|
|
8421
8416
|
this.unexpected();
|
|
8422
8417
|
}
|
|
8423
8418
|
}
|
|
8419
|
+
|
|
8424
8420
|
/**
|
|
8425
8421
|
* Helpers
|
|
8426
8422
|
*/;
|
|
8427
|
-
|
|
8428
8423
|
_proto.expected = function expected(description, index, found) {
|
|
8429
8424
|
if (Array.isArray(description)) {
|
|
8430
8425
|
var last = description.pop();
|
|
@@ -8484,7 +8479,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
8484
8479
|
}
|
|
8485
8480
|
return this.css.slice(token[_tokenize.FIELDS.START_POS], token[_tokenize.FIELDS.END_POS]);
|
|
8486
8481
|
};
|
|
8487
|
-
|
|
8488
8482
|
/**
|
|
8489
8483
|
* returns the index of the next non-whitespace, non-comment token.
|
|
8490
8484
|
* returns -1 if no meaningful token is found.
|
|
@@ -8623,6 +8617,7 @@ tokenTypes.combinator = combinator$1;
|
|
|
8623
8617
|
string: string
|
|
8624
8618
|
};
|
|
8625
8619
|
}
|
|
8620
|
+
|
|
8626
8621
|
/**
|
|
8627
8622
|
* Process rule into a selector AST.
|
|
8628
8623
|
*
|
|
@@ -8630,12 +8625,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
8630
8625
|
* @param options The options for processing
|
|
8631
8626
|
* @returns {Promise<parser.Root>} The AST of the selector after processing it.
|
|
8632
8627
|
*/;
|
|
8633
|
-
|
|
8634
8628
|
_proto.ast = function ast(rule, options) {
|
|
8635
8629
|
return this._run(rule, options).then(function (result) {
|
|
8636
8630
|
return result.root;
|
|
8637
8631
|
});
|
|
8638
8632
|
}
|
|
8633
|
+
|
|
8639
8634
|
/**
|
|
8640
8635
|
* Process rule into a selector AST synchronously.
|
|
8641
8636
|
*
|
|
@@ -8643,10 +8638,10 @@ tokenTypes.combinator = combinator$1;
|
|
|
8643
8638
|
* @param options The options for processing
|
|
8644
8639
|
* @returns {parser.Root} The AST of the selector after processing it.
|
|
8645
8640
|
*/;
|
|
8646
|
-
|
|
8647
8641
|
_proto.astSync = function astSync(rule, options) {
|
|
8648
8642
|
return this._runSync(rule, options).root;
|
|
8649
8643
|
}
|
|
8644
|
+
|
|
8650
8645
|
/**
|
|
8651
8646
|
* Process a selector into a transformed value asynchronously
|
|
8652
8647
|
*
|
|
@@ -8654,12 +8649,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
8654
8649
|
* @param options The options for processing
|
|
8655
8650
|
* @returns {Promise<any>} The value returned by the processor.
|
|
8656
8651
|
*/;
|
|
8657
|
-
|
|
8658
8652
|
_proto.transform = function transform(rule, options) {
|
|
8659
8653
|
return this._run(rule, options).then(function (result) {
|
|
8660
8654
|
return result.transform;
|
|
8661
8655
|
});
|
|
8662
8656
|
}
|
|
8657
|
+
|
|
8663
8658
|
/**
|
|
8664
8659
|
* Process a selector into a transformed value synchronously.
|
|
8665
8660
|
*
|
|
@@ -8667,10 +8662,10 @@ tokenTypes.combinator = combinator$1;
|
|
|
8667
8662
|
* @param options The options for processing
|
|
8668
8663
|
* @returns {any} The value returned by the processor.
|
|
8669
8664
|
*/;
|
|
8670
|
-
|
|
8671
8665
|
_proto.transformSync = function transformSync(rule, options) {
|
|
8672
8666
|
return this._runSync(rule, options).transform;
|
|
8673
8667
|
}
|
|
8668
|
+
|
|
8674
8669
|
/**
|
|
8675
8670
|
* Process a selector into a new selector string asynchronously.
|
|
8676
8671
|
*
|
|
@@ -8678,12 +8673,12 @@ tokenTypes.combinator = combinator$1;
|
|
|
8678
8673
|
* @param options The options for processing
|
|
8679
8674
|
* @returns {string} the selector after processing.
|
|
8680
8675
|
*/;
|
|
8681
|
-
|
|
8682
8676
|
_proto.process = function process(rule, options) {
|
|
8683
8677
|
return this._run(rule, options).then(function (result) {
|
|
8684
8678
|
return result.string || result.root.toString();
|
|
8685
8679
|
});
|
|
8686
8680
|
}
|
|
8681
|
+
|
|
8687
8682
|
/**
|
|
8688
8683
|
* Process a selector into a new selector string synchronously.
|
|
8689
8684
|
*
|
|
@@ -8691,7 +8686,6 @@ tokenTypes.combinator = combinator$1;
|
|
|
8691
8686
|
* @param options The options for processing
|
|
8692
8687
|
* @returns {string} the selector after processing.
|
|
8693
8688
|
*/;
|
|
8694
|
-
|
|
8695
8689
|
_proto.processSync = function processSync(rule, options) {
|
|
8696
8690
|
var result = this._runSync(rule, options);
|
|
8697
8691
|
return result.string || result.root.toString();
|
|
@@ -8777,12 +8771,16 @@ constructors.universal = universal;
|
|
|
8777
8771
|
var guards = {};
|
|
8778
8772
|
|
|
8779
8773
|
guards.__esModule = true;
|
|
8780
|
-
guards.
|
|
8781
|
-
guards.isPseudoElement = isPseudoElement;
|
|
8782
|
-
guards.isPseudoClass = isPseudoClass;
|
|
8774
|
+
guards.isComment = guards.isCombinator = guards.isClassName = guards.isAttribute = void 0;
|
|
8783
8775
|
guards.isContainer = isContainer;
|
|
8776
|
+
guards.isIdentifier = void 0;
|
|
8784
8777
|
guards.isNamespace = isNamespace;
|
|
8785
|
-
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;
|
|
8786
8784
|
var _types = types;
|
|
8787
8785
|
var _IS_TYPE;
|
|
8788
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);
|
|
@@ -8858,16 +8856,16 @@ function isNamespace(node) {
|
|
|
8858
8856
|
exports["default"] = void 0;
|
|
8859
8857
|
var _processor = _interopRequireDefault(processorExports);
|
|
8860
8858
|
var selectors$1 = _interopRequireWildcard(selectors);
|
|
8861
|
-
function _getRequireWildcardCache() {
|
|
8859
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
8862
8860
|
if (typeof WeakMap !== "function") return null;
|
|
8863
|
-
var
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
|
|
8868
|
-
}
|
|
8869
|
-
function _interopRequireWildcard(obj) {
|
|
8870
|
-
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) {
|
|
8871
8869
|
return obj;
|
|
8872
8870
|
}
|
|
8873
8871
|
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -8875,14 +8873,14 @@ function isNamespace(node) {
|
|
|
8875
8873
|
"default": obj
|
|
8876
8874
|
};
|
|
8877
8875
|
}
|
|
8878
|
-
var cache = _getRequireWildcardCache();
|
|
8876
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
8879
8877
|
if (cache && cache.has(obj)) {
|
|
8880
8878
|
return cache.get(obj);
|
|
8881
8879
|
}
|
|
8882
8880
|
var newObj = {};
|
|
8883
8881
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
8884
8882
|
for (var key in obj) {
|
|
8885
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
8883
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
8886
8884
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
8887
8885
|
if (desc && (desc.get || desc.set)) {
|
|
8888
8886
|
Object.defineProperty(newObj, key, desc);
|