@dxtmisha/wiki 0.39.2 → 0.39.3
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/classes/WikiStorybook.d.ts +161 -0
- package/dist/classes/WikiStorybookDescriptions.d.ts +29 -0
- package/dist/classes/WikiStorybookItem.d.ts +122 -0
- package/dist/classes/WikiStorybookProp.d.ts +76 -0
- package/dist/documentation/storybook/StorybookDescriptions.d.ts +12 -0
- package/dist/documentation/storybook/StorybookMain.d.ts +6 -0
- package/dist/library.d.ts +6 -0
- package/dist/library.js +30346 -0
- package/dist/media/descriptions/wikiDescriptions.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsAccordion.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsActionSheet.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsActions.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsAnchor.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsArrow.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsBadge.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsBars.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsBlock.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsButton.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsCell.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsCheckbox.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsChip.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsChipGroup.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsDialog.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsDummy.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsField.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsFieldCounter.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsFieldLabel.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsFieldMessage.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsGrid.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsGridItem.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsGroup.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsHorizontalScroll.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsIcon.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsImage.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsInput.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsList.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsListGroup.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsListItem.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsListMenu.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMask.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMenu.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsModal.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMotionAxis.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsMotionTransform.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsPage.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsProgress.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsRipple.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsScrollbar.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSection.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSelect.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSelectValue.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSkeleton.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsSnackbar.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsSnackbarItem.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsTabItem.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsTabs.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsTabsNavigation.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsTextarea.d.ts +2 -0
- package/dist/media/descriptions/wikiDescriptionsTextareaAutosize.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsTooltip.d.ts +7 -0
- package/dist/media/descriptions/wikiDescriptionsWindow.d.ts +7 -0
- package/dist/media/mdx/Accordion/wikiMdxAccordion.d.ts +7 -0
- package/dist/media/mdx/ActionSheet/wikiMdxActionSheet.d.ts +7 -0
- package/dist/media/mdx/Actions/wikiMdxActions.d.ts +7 -0
- package/dist/media/mdx/Anchor/wikiMdxAnchor.d.ts +7 -0
- package/dist/media/mdx/Arrow/wikiMdxArrow.d.ts +7 -0
- package/dist/media/mdx/Badge/wikiMdxBadge.d.ts +7 -0
- package/dist/media/mdx/Bars/wikiMdxBars.d.ts +7 -0
- package/dist/media/mdx/Block/wikiMdxBlock.d.ts +7 -0
- package/dist/media/mdx/Button/wikiMdxButton.d.ts +7 -0
- package/dist/media/mdx/Cell/wikiMdxCell.d.ts +7 -0
- package/dist/media/mdx/Checkbox/wikiMdxCheckbox.d.ts +7 -0
- package/dist/media/mdx/Chip/wikiMdxChip.d.ts +7 -0
- package/dist/media/mdx/ChipGroup/wikiMdxChipGroup.d.ts +7 -0
- package/dist/media/mdx/Dialog/wikiMdxDialog.d.ts +7 -0
- package/dist/media/mdx/Dummy/wikiMdxDummy.d.ts +7 -0
- package/dist/media/mdx/Field/wikiMdxField.d.ts +7 -0
- package/dist/media/mdx/FieldCounter/wikiMdxFieldCounter.d.ts +7 -0
- package/dist/media/mdx/FieldLabel/wikiMdxFieldLabel.d.ts +7 -0
- package/dist/media/mdx/FieldMessage/wikiMdxFieldMessage.d.ts +7 -0
- package/dist/media/mdx/Grid/wikiMdxGrid.d.ts +7 -0
- package/dist/media/mdx/GridItem/wikiMdxGridItem.d.ts +7 -0
- package/dist/media/mdx/Group/wikiMdxGroup.d.ts +7 -0
- package/dist/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.d.ts +7 -0
- package/dist/media/mdx/Icon/wikiMdxIcon.d.ts +2 -0
- package/dist/media/mdx/Image/wikiMdxImage.d.ts +2 -0
- package/dist/media/mdx/Input/wikiMdxInput.d.ts +7 -0
- package/dist/media/mdx/List/wikiMdxList.d.ts +7 -0
- package/dist/media/mdx/ListGroup/wikiMdxListGroup.d.ts +7 -0
- package/dist/media/mdx/ListItem/wikiMdxListItem.d.ts +7 -0
- package/dist/media/mdx/ListMenu/wikiMdxListMenu.d.ts +7 -0
- package/dist/media/mdx/Mask/wikiMdxMask.d.ts +7 -0
- package/dist/media/mdx/Menu/wikiMdxMenu.d.ts +3 -0
- package/dist/media/mdx/Modal/wikiMdxModal.d.ts +7 -0
- package/dist/media/mdx/MotionAxis/wikiMdxMotionAxis.d.ts +7 -0
- package/dist/media/mdx/MotionTransform/wikiMdxMotionTransform.d.ts +7 -0
- package/dist/media/mdx/Page/wikiMdxPage.d.ts +7 -0
- package/dist/media/mdx/Progress/wikiMdxProgress.d.ts +2 -0
- package/dist/media/mdx/Ripple/wikiMdxRipple.d.ts +2 -0
- package/dist/media/mdx/Scrollbar/wikiMdxScrollbar.d.ts +7 -0
- package/dist/media/mdx/Section/wikiMdxSection.d.ts +7 -0
- package/dist/media/mdx/Select/wikiMdxSelect.d.ts +7 -0
- package/dist/media/mdx/SelectValue/wikiMdxSelectValue.d.ts +7 -0
- package/dist/media/mdx/Skeleton/wikiMdxSkeleton.d.ts +2 -0
- package/dist/media/mdx/Snackbar/wikiMdxSnackbar.d.ts +7 -0
- package/dist/media/mdx/SnackbarItem/wikiMdxSnackbarItem.d.ts +7 -0
- package/dist/media/mdx/TabItem/wikiMdxTabItem.d.ts +7 -0
- package/dist/media/mdx/Tabs/wikiMdxTabs.d.ts +7 -0
- package/dist/media/mdx/TabsNavigation/wikiMdxTabsNavigation.d.ts +7 -0
- package/dist/media/mdx/Textarea/wikiMdxTextarea.d.ts +7 -0
- package/dist/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.d.ts +7 -0
- package/dist/media/mdx/Tooltip/wikiMdxTooltip.d.ts +7 -0
- package/dist/media/mdx/Window/wikiMdxWindow.d.ts +7 -0
- package/dist/media/mdx/event/wikiMdxEvent.d.ts +2 -0
- package/dist/media/mdx/expose/wikiMdxExpose.d.ts +2 -0
- package/dist/media/mdx/slot/wikiMdxSlot.d.ts +2 -0
- package/dist/media/mdx/style/wikiMdxStyle.d.ts +2 -0
- package/dist/media/mdx/value/wikiMdxValue.d.ts +2 -0
- package/dist/media/mdx/wikiMdx.d.ts +2 -0
- package/dist/media/props/wiki.d.ts +2 -0
- package/dist/media/props/wikiActions.d.ts +7 -0
- package/dist/media/props/wikiActionsInclude.d.ts +7 -0
- package/dist/media/props/wikiAnchor.d.ts +7 -0
- package/dist/media/props/wikiAria.d.ts +7 -0
- package/dist/media/props/wikiArrow.d.ts +7 -0
- package/dist/media/props/wikiArrowInclude.d.ts +7 -0
- package/dist/media/props/wikiAttributes.d.ts +7 -0
- package/dist/media/props/wikiBadge.d.ts +7 -0
- package/dist/media/props/wikiBars.d.ts +7 -0
- package/dist/media/props/wikiBarsInclude.d.ts +7 -0
- package/dist/media/props/wikiButton.d.ts +7 -0
- package/dist/media/props/wikiCheckbox.d.ts +7 -0
- package/dist/media/props/wikiChip.d.ts +7 -0
- package/dist/media/props/wikiChipGroup.d.ts +7 -0
- package/dist/media/props/wikiDialog.d.ts +7 -0
- package/dist/media/props/wikiField.d.ts +7 -0
- package/dist/media/props/wikiFieldCounterInclude.d.ts +7 -0
- package/dist/media/props/wikiForm.d.ts +2 -0
- package/dist/media/props/wikiGridItem.d.ts +7 -0
- package/dist/media/props/wikiHook.d.ts +7 -0
- package/dist/media/props/wikiIcon.d.ts +2 -0
- package/dist/media/props/wikiIconInclude.d.ts +2 -0
- package/dist/media/props/wikiImage.d.ts +7 -0
- package/dist/media/props/wikiInformation.d.ts +2 -0
- package/dist/media/props/wikiInput.d.ts +7 -0
- package/dist/media/props/wikiList.d.ts +7 -0
- package/dist/media/props/wikiListItem.d.ts +7 -0
- package/dist/media/props/wikiMask.d.ts +7 -0
- package/dist/media/props/wikiMaskInclude.d.ts +7 -0
- package/dist/media/props/wikiMenu.d.ts +7 -0
- package/dist/media/props/wikiMotionAxis.d.ts +7 -0
- package/dist/media/props/wikiMotionTransform.d.ts +7 -0
- package/dist/media/props/wikiOption.d.ts +7 -0
- package/dist/media/props/wikiProgress.d.ts +7 -0
- package/dist/media/props/wikiPropsTextarea.d.ts +7 -0
- package/dist/media/props/wikiScrollbar.d.ts +7 -0
- package/dist/media/props/wikiSelect.d.ts +7 -0
- package/dist/media/props/wikiSelectValue.d.ts +7 -0
- package/dist/media/props/wikiSnackbar.d.ts +7 -0
- package/dist/media/props/wikiSnackbarItem.d.ts +7 -0
- package/dist/media/props/wikiStatus.d.ts +7 -0
- package/dist/media/props/wikiStyle.d.ts +7 -0
- package/dist/media/props/wikiTabs.d.ts +7 -0
- package/dist/media/props/wikiTabsNavigation.d.ts +7 -0
- package/dist/media/props/wikiTechnical.d.ts +7 -0
- package/dist/media/props/wikiText.d.ts +7 -0
- package/dist/media/props/wikiTooltip.d.ts +7 -0
- package/dist/media/props/wikiValue.d.ts +7 -0
- package/dist/media/props/wikiWindow.d.ts +7 -0
- package/dist/media.d.ts +8 -0
- package/dist/storybook.d.ts +2 -0
- package/dist/types/storybookTypes.d.ts +244 -0
- package/dist/types/wikiTypes.d.ts +9 -0
- package/package.json +16 -3
- package/src/media/functional/ui/properties/about/about.en.mdx +20 -0
- package/src/media/functional/ui/properties/about/about.ru.mdx +20 -0
- package/src/media/functional/ui/properties/about/about.vi.mdx +20 -0
- package/src/media/functional/ui/properties/flag-default/flag-default.en.mdx +27 -0
- package/src/media/functional/ui/properties/flag-default/flag-default.ru.mdx +27 -0
- package/src/media/functional/ui/properties/flag-default/flag-default.vi.mdx +27 -0
- package/src/media/functional/ui/properties/flag-fullName/flag-fullName.en.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullName/flag-fullName.ru.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullName/flag-fullName.vi.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullValue/flag-fullValue.en.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullValue/flag-fullValue.ru.mdx +26 -0
- package/src/media/functional/ui/properties/flag-fullValue/flag-fullValue.vi.mdx +26 -0
- package/src/media/functional/ui/properties/flag-prop/flag-prop.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-prop/flag-prop.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-prop/flag-prop.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-rename/flag-rename.en.mdx +26 -0
- package/src/media/functional/ui/properties/flag-rename/flag-rename.ru.mdx +26 -0
- package/src/media/functional/ui/properties/flag-rename/flag-rename.vi.mdx +26 -0
- package/src/media/functional/ui/properties/flag-replace/flag-replace.en.mdx +30 -0
- package/src/media/functional/ui/properties/flag-replace/flag-replace.ru.mdx +30 -0
- package/src/media/functional/ui/properties/flag-replace/flag-replace.vi.mdx +30 -0
- package/src/media/functional/ui/properties/flag-state/flag-state.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-state/flag-state.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-state/flag-state.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-subclass/flag-subclass.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-subclass/flag-subclass.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-subclass/flag-subclass.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-theme/flag-theme.en.mdx +28 -0
- package/src/media/functional/ui/properties/flag-theme/flag-theme.ru.mdx +28 -0
- package/src/media/functional/ui/properties/flag-theme/flag-theme.vi.mdx +28 -0
- package/src/media/functional/ui/properties/flag-var/flag-var.en.mdx +27 -0
- package/src/media/functional/ui/properties/flag-var/flag-var.ru.mdx +27 -0
- package/src/media/functional/ui/properties/flag-var/flag-var.vi.mdx +27 -0
- package/src/media/functional/ui/properties/quick-start/quick-start.en.mdx +78 -0
- package/src/media/functional/ui/properties/quick-start/quick-start.ru.mdx +78 -0
- package/src/media/functional/ui/properties/quick-start/quick-start.vi.mdx +78 -0
- package/src/media/functional/ui/properties/structure/structure.en.mdx +155 -0
- package/src/media/functional/ui/properties/structure/structure.ru.mdx +155 -0
- package/src/media/functional/ui/properties/structure/structure.vi.mdx +155 -0
- package/src/media/functional/ui/properties/type-animate/type-animate.en.mdx +42 -0
- package/src/media/functional/ui/properties/type-animate/type-animate.ru.mdx +42 -0
- package/src/media/functional/ui/properties/type-animate/type-animate.vi.mdx +42 -0
- package/src/media/functional/ui/properties/type-media/type-media.en.mdx +56 -0
- package/src/media/functional/ui/properties/type-media/type-media.ru.mdx +56 -0
- package/src/media/functional/ui/properties/type-media/type-media.vi.mdx +56 -0
- package/src/media/functional/ui/properties/type-property/type-property.en.mdx +57 -0
- package/src/media/functional/ui/properties/type-property/type-property.ru.mdx +57 -0
- package/src/media/functional/ui/properties/type-property/type-property.vi.mdx +57 -0
- package/src/media/functional/ui/properties/type-selector-virtual/type-selector-virtual.en.mdx +49 -0
- package/src/media/functional/ui/properties/type-selector-virtual/type-selector-virtual.ru.mdx +49 -0
- package/src/media/functional/ui/properties/type-selector-virtual/type-selector-virtual.vi.mdx +49 -0
- package/src/media/functional/ui/properties/type-state/type-state.en.mdx +66 -0
- package/src/media/functional/ui/properties/type-state/type-state.ru.mdx +66 -0
- package/src/media/functional/ui/properties/type-state/type-state.vi.mdx +66 -0
- package/src/media/functional/ui/properties/type-subclass/type-subclass.en.mdx +44 -0
- package/src/media/functional/ui/properties/type-subclass/type-subclass.ru.mdx +44 -0
- package/src/media/functional/ui/properties/type-subclass/type-subclass.vi.mdx +44 -0
- package/src/media/functional/ui/properties/type-var/type-var.en.mdx +63 -0
- package/src/media/functional/ui/properties/type-var/type-var.ru.mdx +63 -0
- package/src/media/functional/ui/properties/type-var/type-var.vi.mdx +63 -0
- package/src/media/functional/ui/properties/types/types.en.mdx +128 -0
- package/src/media/functional/ui/properties/types/types.ru.mdx +128 -0
- package/src/media/functional/ui/properties/types/types.vi.mdx +128 -0
- package/src/media/functional/ui/properties/values/values.en.mdx +103 -0
- package/src/media/functional/ui/properties/values/values.ru.mdx +103 -0
- package/src/media/functional/ui/properties/values/values.vi.mdx +103 -0
- package/src/classes/WikiStorybook.ts +0 -353
- package/src/classes/WikiStorybookDescriptions.ts +0 -60
- package/src/classes/WikiStorybookItem.ts +0 -400
- package/src/classes/WikiStorybookProp.ts +0 -118
- package/src/media/descriptions/wikiDescriptions.ts +0 -109
- package/src/media/descriptions/wikiDescriptionsAccordion.ts +0 -177
- package/src/media/descriptions/wikiDescriptionsActionSheet.ts +0 -148
- package/src/media/descriptions/wikiDescriptionsActions.ts +0 -73
- package/src/media/descriptions/wikiDescriptionsAnchor.ts +0 -49
- package/src/media/descriptions/wikiDescriptionsArrow.ts +0 -193
- package/src/media/descriptions/wikiDescriptionsBadge.ts +0 -150
- package/src/media/descriptions/wikiDescriptionsBars.ts +0 -177
- package/src/media/descriptions/wikiDescriptionsBlock.ts +0 -115
- package/src/media/descriptions/wikiDescriptionsButton.ts +0 -200
- package/src/media/descriptions/wikiDescriptionsCell.ts +0 -121
- package/src/media/descriptions/wikiDescriptionsCheckbox.ts +0 -134
- package/src/media/descriptions/wikiDescriptionsChip.ts +0 -144
- package/src/media/descriptions/wikiDescriptionsChipGroup.ts +0 -113
- package/src/media/descriptions/wikiDescriptionsDialog.ts +0 -198
- package/src/media/descriptions/wikiDescriptionsDummy.ts +0 -42
- package/src/media/descriptions/wikiDescriptionsField.ts +0 -222
- package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +0 -75
- package/src/media/descriptions/wikiDescriptionsFieldLabel.ts +0 -46
- package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +0 -71
- package/src/media/descriptions/wikiDescriptionsGrid.ts +0 -68
- package/src/media/descriptions/wikiDescriptionsGridItem.ts +0 -55
- package/src/media/descriptions/wikiDescriptionsGroup.ts +0 -118
- package/src/media/descriptions/wikiDescriptionsHorizontalScroll.ts +0 -93
- package/src/media/descriptions/wikiDescriptionsIcon.ts +0 -134
- package/src/media/descriptions/wikiDescriptionsImage.ts +0 -197
- package/src/media/descriptions/wikiDescriptionsInput.ts +0 -264
- package/src/media/descriptions/wikiDescriptionsList.ts +0 -131
- package/src/media/descriptions/wikiDescriptionsListGroup.ts +0 -99
- package/src/media/descriptions/wikiDescriptionsListItem.ts +0 -167
- package/src/media/descriptions/wikiDescriptionsListMenu.ts +0 -97
- package/src/media/descriptions/wikiDescriptionsMask.ts +0 -239
- package/src/media/descriptions/wikiDescriptionsMenu.ts +0 -228
- package/src/media/descriptions/wikiDescriptionsModal.ts +0 -143
- package/src/media/descriptions/wikiDescriptionsMotionAxis.ts +0 -196
- package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +0 -235
- package/src/media/descriptions/wikiDescriptionsPage.ts +0 -116
- package/src/media/descriptions/wikiDescriptionsProgress.ts +0 -220
- package/src/media/descriptions/wikiDescriptionsRipple.ts +0 -52
- package/src/media/descriptions/wikiDescriptionsScrollbar.ts +0 -111
- package/src/media/descriptions/wikiDescriptionsSection.ts +0 -116
- package/src/media/descriptions/wikiDescriptionsSelect.ts +0 -223
- package/src/media/descriptions/wikiDescriptionsSelectValue.ts +0 -85
- package/src/media/descriptions/wikiDescriptionsSkeleton.ts +0 -140
- package/src/media/descriptions/wikiDescriptionsSnackbar.ts +0 -86
- package/src/media/descriptions/wikiDescriptionsSnackbarItem.ts +0 -96
- package/src/media/descriptions/wikiDescriptionsTabItem.ts +0 -79
- package/src/media/descriptions/wikiDescriptionsTabs.ts +0 -115
- package/src/media/descriptions/wikiDescriptionsTabsNavigation.ts +0 -102
- package/src/media/descriptions/wikiDescriptionsTextarea.ts +0 -58
- package/src/media/descriptions/wikiDescriptionsTextareaAutosize.ts +0 -57
- package/src/media/descriptions/wikiDescriptionsTooltip.ts +0 -105
- package/src/media/descriptions/wikiDescriptionsWindow.ts +0 -241
- package/src/media/mdx/Accordion/accordion.en.mdx +0 -59
- package/src/media/mdx/Accordion/accordion.ru.mdx +0 -59
- package/src/media/mdx/Accordion/slots.en.mdx +0 -9
- package/src/media/mdx/Accordion/slots.ru.mdx +0 -9
- package/src/media/mdx/Accordion/wikiMdxAccordion.ts +0 -25
- package/src/media/mdx/ActionSheet/actionSheet.en.mdx +0 -61
- package/src/media/mdx/ActionSheet/actionSheet.ru.mdx +0 -61
- package/src/media/mdx/ActionSheet/touchClose.en.mdx +0 -21
- package/src/media/mdx/ActionSheet/touchClose.ru.mdx +0 -21
- package/src/media/mdx/ActionSheet/wikiMdxActionSheet.ts +0 -25
- package/src/media/mdx/Actions/actions.en.mdx +0 -48
- package/src/media/mdx/Actions/actions.ru.mdx +0 -48
- package/src/media/mdx/Actions/flexible.en.mdx +0 -19
- package/src/media/mdx/Actions/flexible.ru.mdx +0 -19
- package/src/media/mdx/Actions/list.en.mdx +0 -50
- package/src/media/mdx/Actions/list.ru.mdx +0 -50
- package/src/media/mdx/Actions/wikiMdxActions.ts +0 -31
- package/src/media/mdx/Anchor/anchor.en.mdx +0 -34
- package/src/media/mdx/Anchor/anchor.ru.mdx +0 -34
- package/src/media/mdx/Anchor/expose.go.en.mdx +0 -1
- package/src/media/mdx/Anchor/expose.go.ru.mdx +0 -1
- package/src/media/mdx/Anchor/hide.en.mdx +0 -28
- package/src/media/mdx/Anchor/hide.ru.mdx +0 -28
- package/src/media/mdx/Anchor/isCopy.en.mdx +0 -23
- package/src/media/mdx/Anchor/isCopy.ru.mdx +0 -23
- package/src/media/mdx/Anchor/scroll.en.mdx +0 -34
- package/src/media/mdx/Anchor/scroll.ru.mdx +0 -35
- package/src/media/mdx/Anchor/wikiMdxAnchor.ts +0 -43
- package/src/media/mdx/Arrow/arrow.en.mdx +0 -33
- package/src/media/mdx/Arrow/arrow.ru.mdx +0 -33
- package/src/media/mdx/Arrow/wikiMdxArrow.ts +0 -19
- package/src/media/mdx/Badge/badge.en.mdx +0 -89
- package/src/media/mdx/Badge/badge.ru.mdx +0 -89
- package/src/media/mdx/Badge/dot.en.mdx +0 -21
- package/src/media/mdx/Badge/dot.ru.mdx +0 -21
- package/src/media/mdx/Badge/outline.en.mdx +0 -16
- package/src/media/mdx/Badge/outline.ru.mdx +0 -16
- package/src/media/mdx/Badge/primary.en.mdx +0 -16
- package/src/media/mdx/Badge/primary.ru.mdx +0 -16
- package/src/media/mdx/Badge/secondary.en.mdx +0 -16
- package/src/media/mdx/Badge/secondary.ru.mdx +0 -16
- package/src/media/mdx/Badge/wikiMdxBadge.ts +0 -43
- package/src/media/mdx/Bars/action.en.mdx +0 -84
- package/src/media/mdx/Bars/action.ru.mdx +0 -84
- package/src/media/mdx/Bars/bars.en.mdx +0 -97
- package/src/media/mdx/Bars/bars.ru.mdx +0 -98
- package/src/media/mdx/Bars/slots.en.mdx +0 -2
- package/src/media/mdx/Bars/slots.ru.mdx +0 -2
- package/src/media/mdx/Bars/v-model.en.mdx +0 -28
- package/src/media/mdx/Bars/v-model.ru.mdx +0 -28
- package/src/media/mdx/Bars/wikiMdxBars.ts +0 -37
- package/src/media/mdx/Block/block.en.mdx +0 -42
- package/src/media/mdx/Block/block.ru.mdx +0 -42
- package/src/media/mdx/Block/differences.en.mdx +0 -47
- package/src/media/mdx/Block/differences.ru.mdx +0 -47
- package/src/media/mdx/Block/wikiMdxBlock.ts +0 -25
- package/src/media/mdx/Button/button.en.mdx +0 -29
- package/src/media/mdx/Button/button.ru.mdx +0 -29
- package/src/media/mdx/Button/outline.en.mdx +0 -16
- package/src/media/mdx/Button/outline.ru.mdx +0 -16
- package/src/media/mdx/Button/primary.en.mdx +0 -16
- package/src/media/mdx/Button/primary.ru.mdx +0 -16
- package/src/media/mdx/Button/secondary.en.mdx +0 -16
- package/src/media/mdx/Button/secondary.ru.mdx +0 -16
- package/src/media/mdx/Button/text.en.mdx +0 -16
- package/src/media/mdx/Button/text.ru.mdx +0 -16
- package/src/media/mdx/Button/wikiMdxButton.ts +0 -43
- package/src/media/mdx/Cell/cell.en.mdx +0 -57
- package/src/media/mdx/Cell/cell.ru.mdx +0 -57
- package/src/media/mdx/Cell/slots.en.mdx +0 -8
- package/src/media/mdx/Cell/slots.ru.mdx +0 -8
- package/src/media/mdx/Cell/wikiMdxCell.ts +0 -25
- package/src/media/mdx/Checkbox/checkbox.en.mdx +0 -22
- package/src/media/mdx/Checkbox/checkbox.ru.mdx +0 -22
- package/src/media/mdx/Checkbox/indeterminate.en.mdx +0 -61
- package/src/media/mdx/Checkbox/indeterminate.ru.mdx +0 -61
- package/src/media/mdx/Checkbox/value.en.mdx +0 -64
- package/src/media/mdx/Checkbox/value.ru.mdx +0 -64
- package/src/media/mdx/Checkbox/wikiMdxCheckbox.ts +0 -31
- package/src/media/mdx/Chip/assistive.en.mdx +0 -16
- package/src/media/mdx/Chip/assistive.ru.mdx +0 -16
- package/src/media/mdx/Chip/chip.en.mdx +0 -75
- package/src/media/mdx/Chip/chip.ru.mdx +0 -75
- package/src/media/mdx/Chip/input.en.mdx +0 -16
- package/src/media/mdx/Chip/input.ru.mdx +0 -16
- package/src/media/mdx/Chip/wikiMdxChip.ts +0 -31
- package/src/media/mdx/ChipGroup/chipGroup.en.mdx +0 -51
- package/src/media/mdx/ChipGroup/chipGroup.ru.mdx +0 -51
- package/src/media/mdx/ChipGroup/selected.en.mdx +0 -50
- package/src/media/mdx/ChipGroup/selected.ru.mdx +0 -50
- package/src/media/mdx/ChipGroup/wikiMdxChipGroup.ts +0 -25
- package/src/media/mdx/Dialog/buttons.en.mdx +0 -45
- package/src/media/mdx/Dialog/buttons.ru.mdx +0 -45
- package/src/media/mdx/Dialog/dialog.en.mdx +0 -66
- package/src/media/mdx/Dialog/dialog.ru.mdx +0 -65
- package/src/media/mdx/Dialog/events.en.mdx +0 -63
- package/src/media/mdx/Dialog/events.ru.mdx +0 -63
- package/src/media/mdx/Dialog/states.en.mdx +0 -58
- package/src/media/mdx/Dialog/states.ru.mdx +0 -57
- package/src/media/mdx/Dialog/wikiMdxDialog.ts +0 -37
- package/src/media/mdx/Dummy/dummy.en.mdx +0 -35
- package/src/media/mdx/Dummy/dummy.ru.mdx +0 -35
- package/src/media/mdx/Dummy/wikiMdxDummy.ts +0 -19
- package/src/media/mdx/Field/arrows.en.mdx +0 -91
- package/src/media/mdx/Field/arrows.ru.mdx +0 -91
- package/src/media/mdx/Field/cancel.en.mdx +0 -54
- package/src/media/mdx/Field/cancel.ru.mdx +0 -54
- package/src/media/mdx/Field/field.en.mdx +0 -52
- package/src/media/mdx/Field/field.ru.mdx +0 -52
- package/src/media/mdx/Field/slots.en.mdx +0 -10
- package/src/media/mdx/Field/slots.ru.mdx +0 -10
- package/src/media/mdx/Field/value.en.mdx +0 -49
- package/src/media/mdx/Field/value.ru.mdx +0 -49
- package/src/media/mdx/Field/width.en.mdx +0 -28
- package/src/media/mdx/Field/width.ru.mdx +0 -26
- package/src/media/mdx/Field/wikiMdxField.ts +0 -49
- package/src/media/mdx/FieldCounter/fieldCounter.en.mdx +0 -34
- package/src/media/mdx/FieldCounter/fieldCounter.ru.mdx +0 -34
- package/src/media/mdx/FieldCounter/templates.en.mdx +0 -39
- package/src/media/mdx/FieldCounter/templates.ru.mdx +0 -39
- package/src/media/mdx/FieldCounter/wikiMdxFieldCounter.ts +0 -25
- package/src/media/mdx/FieldLabel/fieldLabel.en.mdx +0 -39
- package/src/media/mdx/FieldLabel/fieldLabel.ru.mdx +0 -39
- package/src/media/mdx/FieldLabel/wikiMdxFieldLabel.ts +0 -19
- package/src/media/mdx/FieldMessage/fieldMessage.en.mdx +0 -38
- package/src/media/mdx/FieldMessage/fieldMessage.ru.mdx +0 -38
- package/src/media/mdx/FieldMessage/slots.en.mdx +0 -7
- package/src/media/mdx/FieldMessage/slots.ru.mdx +0 -7
- package/src/media/mdx/FieldMessage/wikiMdxFieldMessage.ts +0 -25
- package/src/media/mdx/Grid/grid.en.mdx +0 -21
- package/src/media/mdx/Grid/grid.ru.mdx +0 -23
- package/src/media/mdx/Grid/wikiMdxGrid.ts +0 -19
- package/src/media/mdx/GridItem/gridItem.en.mdx +0 -25
- package/src/media/mdx/GridItem/gridItem.ru.mdx +0 -27
- package/src/media/mdx/GridItem/wikiMdxGridItem.ts +0 -19
- package/src/media/mdx/Group/group.en.mdx +0 -40
- package/src/media/mdx/Group/group.ru.mdx +0 -40
- package/src/media/mdx/Group/wikiMdxGroup.ts +0 -19
- package/src/media/mdx/HorizontalScroll/expose.toSelected.en.mdx +0 -1
- package/src/media/mdx/HorizontalScroll/expose.toSelected.ru.mdx +0 -1
- package/src/media/mdx/HorizontalScroll/horizontalScroll.en.mdx +0 -62
- package/src/media/mdx/HorizontalScroll/horizontalScroll.ru.mdx +0 -62
- package/src/media/mdx/HorizontalScroll/selected.en.mdx +0 -33
- package/src/media/mdx/HorizontalScroll/selected.ru.mdx +0 -33
- package/src/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.ts +0 -31
- package/src/media/mdx/Icon/expose.isActive.en.mdx +0 -1
- package/src/media/mdx/Icon/expose.isActive.ru.mdx +0 -1
- package/src/media/mdx/Icon/icon.en.mdx +0 -77
- package/src/media/mdx/Icon/icon.ru.mdx +0 -42
- package/src/media/mdx/Icon/wikiMdxIcon.ts +0 -21
- package/src/media/mdx/Image/adaptive.en.mdx +0 -75
- package/src/media/mdx/Image/adaptive.ru.mdx +0 -75
- package/src/media/mdx/Image/event.load.en.mdx +0 -39
- package/src/media/mdx/Image/event.load.ru.mdx +0 -39
- package/src/media/mdx/Image/expose.en.mdx +0 -12
- package/src/media/mdx/Image/expose.ru.mdx +0 -12
- package/src/media/mdx/Image/flag.en.mdx +0 -23
- package/src/media/mdx/Image/flag.ru.mdx +0 -23
- package/src/media/mdx/Image/image.en.mdx +0 -51
- package/src/media/mdx/Image/image.ru.mdx +0 -51
- package/src/media/mdx/Image/img-tag.en.mdx +0 -105
- package/src/media/mdx/Image/img-tag.ru.mdx +0 -105
- package/src/media/mdx/Image/size.en.mdx +0 -32
- package/src/media/mdx/Image/size.ru.mdx +0 -32
- package/src/media/mdx/Image/value.en.mdx +0 -23
- package/src/media/mdx/Image/value.ru.mdx +0 -23
- package/src/media/mdx/Image/wikiMdxImage.ts +0 -58
- package/src/media/mdx/Input/currency.en.mdx +0 -38
- package/src/media/mdx/Input/currency.ru.mdx +0 -38
- package/src/media/mdx/Input/date.en.mdx +0 -53
- package/src/media/mdx/Input/date.ru.mdx +0 -53
- package/src/media/mdx/Input/input.en.mdx +0 -143
- package/src/media/mdx/Input/input.ru.mdx +0 -71
- package/src/media/mdx/Input/mask.en.mdx +0 -30
- package/src/media/mdx/Input/mask.ru.mdx +0 -30
- package/src/media/mdx/Input/number.en.mdx +0 -41
- package/src/media/mdx/Input/number.ru.mdx +0 -41
- package/src/media/mdx/Input/type.en.mdx +0 -26
- package/src/media/mdx/Input/type.ru.mdx +0 -26
- package/src/media/mdx/Input/wikiMdxInput.ts +0 -49
- package/src/media/mdx/List/event.close.en.mdx +0 -8
- package/src/media/mdx/List/event.close.ru.mdx +0 -8
- package/src/media/mdx/List/list.en.mdx +0 -64
- package/src/media/mdx/List/list.ru.mdx +0 -64
- package/src/media/mdx/List/lite.en.mdx +0 -24
- package/src/media/mdx/List/lite.ru.mdx +0 -24
- package/src/media/mdx/List/slot.html.en.mdx +0 -1
- package/src/media/mdx/List/slot.html.ru.mdx +0 -1
- package/src/media/mdx/List/wikiMdxList.ts +0 -37
- package/src/media/mdx/ListGroup/listGroup.en.mdx +0 -56
- package/src/media/mdx/ListGroup/listGroup.ru.mdx +0 -56
- package/src/media/mdx/ListGroup/slots.en.mdx +0 -2
- package/src/media/mdx/ListGroup/slots.ru.mdx +0 -2
- package/src/media/mdx/ListGroup/wikiMdxListGroup.ts +0 -25
- package/src/media/mdx/ListItem/basic.en.mdx +0 -55
- package/src/media/mdx/ListItem/basic.ru.mdx +0 -55
- package/src/media/mdx/ListItem/fill.en.mdx +0 -24
- package/src/media/mdx/ListItem/fill.ru.mdx +0 -24
- package/src/media/mdx/ListItem/slots.en.mdx +0 -2
- package/src/media/mdx/ListItem/slots.ru.mdx +0 -2
- package/src/media/mdx/ListItem/wikiMdxListItem.ts +0 -31
- package/src/media/mdx/ListMenu/listMenu.en.mdx +0 -63
- package/src/media/mdx/ListMenu/listMenu.ru.mdx +0 -63
- package/src/media/mdx/ListMenu/wikiMdxListMenu.ts +0 -19
- package/src/media/mdx/Mask/basic.en.mdx +0 -76
- package/src/media/mdx/Mask/basic.ru.mdx +0 -76
- package/src/media/mdx/Mask/dateTypes.en.mdx +0 -38
- package/src/media/mdx/Mask/dateTypes.ru.mdx +0 -38
- package/src/media/mdx/Mask/expose.en.mdx +0 -3
- package/src/media/mdx/Mask/expose.ru.mdx +0 -3
- package/src/media/mdx/Mask/groupSave.en.mdx +0 -26
- package/src/media/mdx/Mask/groupSave.ru.mdx +0 -26
- package/src/media/mdx/Mask/mask.en.mdx +0 -21
- package/src/media/mdx/Mask/mask.ru.mdx +0 -21
- package/src/media/mdx/Mask/match.en.mdx +0 -28
- package/src/media/mdx/Mask/match.ru.mdx +0 -28
- package/src/media/mdx/Mask/numberTypes.en.mdx +0 -38
- package/src/media/mdx/Mask/numberTypes.ru.mdx +0 -38
- package/src/media/mdx/Mask/pattern.en.mdx +0 -66
- package/src/media/mdx/Mask/pattern.ru.mdx +0 -66
- package/src/media/mdx/Mask/special.en.mdx +0 -106
- package/src/media/mdx/Mask/special.ru.mdx +0 -106
- package/src/media/mdx/Mask/type.en.mdx +0 -22
- package/src/media/mdx/Mask/type.ru.mdx +0 -22
- package/src/media/mdx/Mask/visible.en.mdx +0 -40
- package/src/media/mdx/Mask/visible.ru.mdx +0 -40
- package/src/media/mdx/Mask/wikiMdxMask.ts +0 -79
- package/src/media/mdx/Menu/ajax.en.mdx +0 -49
- package/src/media/mdx/Menu/ajax.ru.mdx +0 -49
- package/src/media/mdx/Menu/event.updateValue.en.mdx +0 -29
- package/src/media/mdx/Menu/event.updateValue.ru.mdx +0 -30
- package/src/media/mdx/Menu/expose.navigation.en.mdx +0 -2
- package/src/media/mdx/Menu/expose.navigation.ru.mdx +0 -2
- package/src/media/mdx/Menu/menu.en.mdx +0 -64
- package/src/media/mdx/Menu/menu.ru.mdx +0 -64
- package/src/media/mdx/Menu/navigation.en.mdx +0 -56
- package/src/media/mdx/Menu/navigation.ru.mdx +0 -56
- package/src/media/mdx/Menu/slots.control.en.mdx +0 -1
- package/src/media/mdx/Menu/slots.control.ru.mdx +0 -1
- package/src/media/mdx/Menu/slots.en.mdx +0 -14
- package/src/media/mdx/Menu/slots.ru.mdx +0 -14
- package/src/media/mdx/Menu/wikiMdxMenu.ts +0 -51
- package/src/media/mdx/Modal/differences.en.mdx +0 -130
- package/src/media/mdx/Modal/differences.ru.mdx +0 -65
- package/src/media/mdx/Modal/modal.en.mdx +0 -63
- package/src/media/mdx/Modal/modal.ru.mdx +0 -63
- package/src/media/mdx/Modal/wikiMdxModal.ts +0 -25
- package/src/media/mdx/MotionAxis/classes.en.mdx +0 -18
- package/src/media/mdx/MotionAxis/classes.ru.mdx +0 -18
- package/src/media/mdx/MotionAxis/event.en.mdx +0 -53
- package/src/media/mdx/MotionAxis/event.ru.mdx +0 -53
- package/src/media/mdx/MotionAxis/expose.en.mdx +0 -9
- package/src/media/mdx/MotionAxis/expose.ru.mdx +0 -9
- package/src/media/mdx/MotionAxis/motionAxis.en.mdx +0 -43
- package/src/media/mdx/MotionAxis/motionAxis.ru.mdx +0 -43
- package/src/media/mdx/MotionAxis/slots.en.mdx +0 -1
- package/src/media/mdx/MotionAxis/slots.ru.mdx +0 -1
- package/src/media/mdx/MotionAxis/v-model.en.mdx +0 -30
- package/src/media/mdx/MotionAxis/v-model.ru.mdx +0 -30
- package/src/media/mdx/MotionAxis/wikiMdxMotionAxis.ts +0 -49
- package/src/media/mdx/MotionTransform/animationHeadPosition.en.mdx +0 -18
- package/src/media/mdx/MotionTransform/animationHeadPosition.ru.mdx +0 -18
- package/src/media/mdx/MotionTransform/classes.en.mdx +0 -25
- package/src/media/mdx/MotionTransform/classes.ru.mdx +0 -25
- package/src/media/mdx/MotionTransform/events.en.mdx +0 -39
- package/src/media/mdx/MotionTransform/events.ru.mdx +0 -39
- package/src/media/mdx/MotionTransform/expose.en.mdx +0 -6
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.en.mdx +0 -9
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.ru.mdx +0 -9
- package/src/media/mdx/MotionTransform/expose.ru.mdx +0 -6
- package/src/media/mdx/MotionTransform/ignore.en.mdx +0 -32
- package/src/media/mdx/MotionTransform/ignore.ru.mdx +0 -32
- package/src/media/mdx/MotionTransform/motionTransform.en.mdx +0 -51
- package/src/media/mdx/MotionTransform/motionTransform.ru.mdx +0 -51
- package/src/media/mdx/MotionTransform/slots.en.mdx +0 -5
- package/src/media/mdx/MotionTransform/slots.ru.mdx +0 -5
- package/src/media/mdx/MotionTransform/v-model.en.mdx +0 -19
- package/src/media/mdx/MotionTransform/v-model.ru.mdx +0 -19
- package/src/media/mdx/MotionTransform/wikiMdxMotionTransform.ts +0 -67
- package/src/media/mdx/Page/page.en.mdx +0 -38
- package/src/media/mdx/Page/page.ru.mdx +0 -38
- package/src/media/mdx/Page/wikiMdxPage.ts +0 -19
- package/src/media/mdx/Progress/circular.en.mdx +0 -24
- package/src/media/mdx/Progress/circular.ru.mdx +0 -24
- package/src/media/mdx/Progress/delays.en.mdx +0 -24
- package/src/media/mdx/Progress/delays.ru.mdx +0 -24
- package/src/media/mdx/Progress/linear.en.mdx +0 -25
- package/src/media/mdx/Progress/linear.ru.mdx +0 -25
- package/src/media/mdx/Progress/progress.en.mdx +0 -71
- package/src/media/mdx/Progress/progress.ru.mdx +0 -71
- package/src/media/mdx/Progress/values.en.mdx +0 -24
- package/src/media/mdx/Progress/values.ru.mdx +0 -24
- package/src/media/mdx/Progress/wikiMdxProgress.ts +0 -38
- package/src/media/mdx/Ripple/ripple.en.mdx +0 -42
- package/src/media/mdx/Ripple/ripple.ru.mdx +0 -42
- package/src/media/mdx/Ripple/wikiMdxRipple.ts +0 -14
- package/src/media/mdx/Scrollbar/emits-include.en.mdx +0 -38
- package/src/media/mdx/Scrollbar/emits-include.ru.mdx +0 -38
- package/src/media/mdx/Scrollbar/emits.en.mdx +0 -38
- package/src/media/mdx/Scrollbar/emits.ru.mdx +0 -38
- package/src/media/mdx/Scrollbar/scrollbar.en.mdx +0 -39
- package/src/media/mdx/Scrollbar/scrollbar.ru.mdx +0 -39
- package/src/media/mdx/Scrollbar/wikiMdxScrollbar.ts +0 -31
- package/src/media/mdx/Section/section.en.mdx +0 -38
- package/src/media/mdx/Section/section.ru.mdx +0 -38
- package/src/media/mdx/Section/wikiMdxSection.ts +0 -19
- package/src/media/mdx/Select/select.en.mdx +0 -69
- package/src/media/mdx/Select/select.ru.mdx +0 -69
- package/src/media/mdx/Select/wikiMdxSelect.ts +0 -19
- package/src/media/mdx/SelectValue/selectValue.en.mdx +0 -64
- package/src/media/mdx/SelectValue/selectValue.ru.mdx +0 -64
- package/src/media/mdx/SelectValue/wikiMdxSelectValue.ts +0 -19
- package/src/media/mdx/Skeleton/classes.en.mdx +0 -13
- package/src/media/mdx/Skeleton/classes.ru.mdx +0 -13
- package/src/media/mdx/Skeleton/expose.isActive.en.mdx +0 -1
- package/src/media/mdx/Skeleton/expose.isActive.ru.mdx +0 -1
- package/src/media/mdx/Skeleton/skeleton.en.mdx +0 -45
- package/src/media/mdx/Skeleton/skeleton.ru.mdx +0 -45
- package/src/media/mdx/Skeleton/wikiMdxSkeleton.ts +0 -28
- package/src/media/mdx/Snackbar/adaptation.en.mdx +0 -10
- package/src/media/mdx/Snackbar/adaptation.ru.mdx +0 -10
- package/src/media/mdx/Snackbar/add.en.mdx +0 -44
- package/src/media/mdx/Snackbar/add.ru.mdx +0 -44
- package/src/media/mdx/Snackbar/event.hide.en.mdx +0 -12
- package/src/media/mdx/Snackbar/event.hide.ru.mdx +0 -12
- package/src/media/mdx/Snackbar/event.show.en.mdx +0 -11
- package/src/media/mdx/Snackbar/event.show.ru.mdx +0 -11
- package/src/media/mdx/Snackbar/expose.add.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.add.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.clear.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.clear.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.isItem.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.isItem.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.remove.en.mdx +0 -1
- package/src/media/mdx/Snackbar/expose.remove.ru.mdx +0 -1
- package/src/media/mdx/Snackbar/position.en.mdx +0 -10
- package/src/media/mdx/Snackbar/position.ru.mdx +0 -10
- package/src/media/mdx/Snackbar/snackbar.en.mdx +0 -46
- package/src/media/mdx/Snackbar/snackbar.ru.mdx +0 -46
- package/src/media/mdx/Snackbar/wikiMdxSnackbar.ts +0 -73
- package/src/media/mdx/SnackbarItem/component.en.mdx +0 -9
- package/src/media/mdx/SnackbarItem/component.ru.mdx +0 -9
- package/src/media/mdx/SnackbarItem/event.close.en.mdx +0 -18
- package/src/media/mdx/SnackbarItem/event.close.ru.mdx +0 -18
- package/src/media/mdx/SnackbarItem/html.en.mdx +0 -6
- package/src/media/mdx/SnackbarItem/html.ru.mdx +0 -6
- package/src/media/mdx/SnackbarItem/role.en.mdx +0 -18
- package/src/media/mdx/SnackbarItem/role.ru.mdx +0 -18
- package/src/media/mdx/SnackbarItem/snackbarItem.en.mdx +0 -44
- package/src/media/mdx/SnackbarItem/snackbarItem.ru.mdx +0 -44
- package/src/media/mdx/SnackbarItem/wikiMdxSnackbarItem.ts +0 -47
- package/src/media/mdx/TabItem/tabItem.en.mdx +0 -52
- package/src/media/mdx/TabItem/tabItem.ru.mdx +0 -38
- package/src/media/mdx/TabItem/wikiMdxTabItem.ts +0 -19
- package/src/media/mdx/Tabs/tabs.en.mdx +0 -44
- package/src/media/mdx/Tabs/tabs.ru.mdx +0 -44
- package/src/media/mdx/Tabs/v-model.en.mdx +0 -27
- package/src/media/mdx/Tabs/v-model.ru.mdx +0 -27
- package/src/media/mdx/Tabs/wikiMdxTabs.ts +0 -25
- package/src/media/mdx/TabsNavigation/tabsNavigation.en.mdx +0 -40
- package/src/media/mdx/TabsNavigation/tabsNavigation.ru.mdx +0 -40
- package/src/media/mdx/TabsNavigation/v-model.en.mdx +0 -27
- package/src/media/mdx/TabsNavigation/v-model.ru.mdx +0 -27
- package/src/media/mdx/TabsNavigation/wikiMdxTabsNavigation.ts +0 -25
- package/src/media/mdx/Textarea/autosize.en.mdx +0 -35
- package/src/media/mdx/Textarea/autosize.ru.mdx +0 -35
- package/src/media/mdx/Textarea/textarea.en.mdx +0 -39
- package/src/media/mdx/Textarea/textarea.ru.mdx +0 -39
- package/src/media/mdx/Textarea/wikiMdxTextarea.ts +0 -25
- package/src/media/mdx/TextareaAutosize/textarea-autosize.en.mdx +0 -65
- package/src/media/mdx/TextareaAutosize/textarea-autosize.ru.mdx +0 -65
- package/src/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.ts +0 -19
- package/src/media/mdx/Tooltip/event.tooltip.en.mdx +0 -7
- package/src/media/mdx/Tooltip/event.tooltip.ru.mdx +0 -8
- package/src/media/mdx/Tooltip/slot.control.en.mdx +0 -5
- package/src/media/mdx/Tooltip/slot.control.ru.mdx +0 -5
- package/src/media/mdx/Tooltip/tooltip.en.mdx +0 -34
- package/src/media/mdx/Tooltip/tooltip.ru.mdx +0 -34
- package/src/media/mdx/Tooltip/wikiMdxTooltip.ts +0 -31
- package/src/media/mdx/Window/axis.en.mdx +0 -17
- package/src/media/mdx/Window/axis.ru.mdx +0 -17
- package/src/media/mdx/Window/classes.en.mdx +0 -11
- package/src/media/mdx/Window/classes.ru.mdx +0 -11
- package/src/media/mdx/Window/event.window.en.mdx +0 -31
- package/src/media/mdx/Window/event.window.ru.mdx +0 -31
- package/src/media/mdx/Window/expose.en.mdx +0 -17
- package/src/media/mdx/Window/expose.ru.mdx +0 -17
- package/src/media/mdx/Window/hooks.en.mdx +0 -31
- package/src/media/mdx/Window/hooks.ru.mdx +0 -31
- package/src/media/mdx/Window/slots.en.mdx +0 -29
- package/src/media/mdx/Window/slots.ru.mdx +0 -29
- package/src/media/mdx/Window/staticMode.en.mdx +0 -10
- package/src/media/mdx/Window/staticMode.ru.mdx +0 -10
- package/src/media/mdx/Window/v-model.en.mdx +0 -25
- package/src/media/mdx/Window/v-model.ru.mdx +0 -25
- package/src/media/mdx/Window/wikiMdxWindow.ts +0 -67
- package/src/media/mdx/Window/window.en.mdx +0 -55
- package/src/media/mdx/Window/window.ru.mdx +0 -55
- package/src/media/mdx/event/events.actions.en.mdx +0 -44
- package/src/media/mdx/event/events.actions.ru.mdx +0 -44
- package/src/media/mdx/event/events.bars.en.mdx +0 -50
- package/src/media/mdx/event/events.bars.ru.mdx +0 -50
- package/src/media/mdx/event/events.beforeinput.en.mdx +0 -13
- package/src/media/mdx/event/events.beforeinput.ru.mdx +0 -13
- package/src/media/mdx/event/events.click.en.mdx +0 -36
- package/src/media/mdx/event/events.click.ru.mdx +0 -36
- package/src/media/mdx/event/events.focus.en.mdx +0 -13
- package/src/media/mdx/event/events.focus.ru.mdx +0 -13
- package/src/media/mdx/event/events.input.en.mdx +0 -89
- package/src/media/mdx/event/events.input.ru.mdx +0 -88
- package/src/media/mdx/event/events.inputStandard.en.mdx +0 -6
- package/src/media/mdx/event/events.inputStandard.ru.mdx +0 -6
- package/src/media/mdx/event/events.keyboard.en.mdx +0 -13
- package/src/media/mdx/event/events.keyboard.ru.mdx +0 -13
- package/src/media/mdx/event/events.paste.en.mdx +0 -6
- package/src/media/mdx/event/events.paste.ru.mdx +0 -6
- package/src/media/mdx/event/events.reset.en.mdx +0 -6
- package/src/media/mdx/event/events.reset.ru.mdx +0 -6
- package/src/media/mdx/event/wikiMdxEvent.ts +0 -68
- package/src/media/mdx/expose/expose.checkValidity.en.mdx +0 -1
- package/src/media/mdx/expose/expose.checkValidity.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.clear.en.mdx +0 -1
- package/src/media/mdx/expose/expose.clear.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.descriptionId.en.mdx +0 -2
- package/src/media/mdx/expose/expose.descriptionId.ru.mdx +0 -2
- package/src/media/mdx/expose/expose.detail.en.mdx +0 -1
- package/src/media/mdx/expose/expose.detail.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.id.en.mdx +0 -2
- package/src/media/mdx/expose/expose.id.ru.mdx +0 -2
- package/src/media/mdx/expose/expose.labelId.en.mdx +0 -2
- package/src/media/mdx/expose/expose.labelId.ru.mdx +0 -2
- package/src/media/mdx/expose/expose.open.en.mdx +0 -1
- package/src/media/mdx/expose/expose.open.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.selected.en.mdx +0 -4
- package/src/media/mdx/expose/expose.selected.ru.mdx +0 -4
- package/src/media/mdx/expose/expose.validationMessage.en.mdx +0 -1
- package/src/media/mdx/expose/expose.validationMessage.ru.mdx +0 -1
- package/src/media/mdx/expose/expose.value.en.mdx +0 -1
- package/src/media/mdx/expose/expose.value.ru.mdx +0 -1
- package/src/media/mdx/expose/wikiMdxExpose.ts +0 -68
- package/src/media/mdx/slot/body.en.mdx +0 -1
- package/src/media/mdx/slot/body.ru.mdx +0 -1
- package/src/media/mdx/slot/caption.en.mdx +0 -1
- package/src/media/mdx/slot/caption.ru.mdx +0 -1
- package/src/media/mdx/slot/control.en.mdx +0 -1
- package/src/media/mdx/slot/control.ru.mdx +0 -1
- package/src/media/mdx/slot/default.en.mdx +0 -1
- package/src/media/mdx/slot/default.ru.mdx +0 -1
- package/src/media/mdx/slot/description.en.mdx +0 -1
- package/src/media/mdx/slot/description.ru.mdx +0 -1
- package/src/media/mdx/slot/footer.en.mdx +0 -1
- package/src/media/mdx/slot/footer.ru.mdx +0 -1
- package/src/media/mdx/slot/headline.en.mdx +0 -1
- package/src/media/mdx/slot/headline.ru.mdx +0 -1
- package/src/media/mdx/slot/label.en.mdx +0 -1
- package/src/media/mdx/slot/label.ru.mdx +0 -1
- package/src/media/mdx/slot/leading.en.mdx +0 -1
- package/src/media/mdx/slot/leading.ru.mdx +0 -1
- package/src/media/mdx/slot/prefix.en.mdx +0 -1
- package/src/media/mdx/slot/prefix.ru.mdx +0 -1
- package/src/media/mdx/slot/secondary.en.mdx +0 -1
- package/src/media/mdx/slot/secondary.ru.mdx +0 -1
- package/src/media/mdx/slot/suffix.en.mdx +0 -1
- package/src/media/mdx/slot/suffix.ru.mdx +0 -1
- package/src/media/mdx/slot/trailing.en.mdx +0 -1
- package/src/media/mdx/slot/trailing.ru.mdx +0 -1
- package/src/media/mdx/slot/wikiMdxSlot.ts +0 -84
- package/src/media/mdx/style/adaptive.en.mdx +0 -10
- package/src/media/mdx/style/adaptive.ru.mdx +0 -10
- package/src/media/mdx/style/asPalette.en.mdx +0 -17
- package/src/media/mdx/style/asPalette.ru.mdx +0 -17
- package/src/media/mdx/style/dir.en.mdx +0 -17
- package/src/media/mdx/style/dir.ru.mdx +0 -17
- package/src/media/mdx/style/isSkeleton.en.mdx +0 -22
- package/src/media/mdx/style/isSkeleton.ru.mdx +0 -22
- package/src/media/mdx/style/wikiMdxStyle.ts +0 -20
- package/src/media/mdx/value/highlight.en.mdx +0 -25
- package/src/media/mdx/value/highlight.ru.mdx +0 -25
- package/src/media/mdx/value/labelNumber.en.mdx +0 -47
- package/src/media/mdx/value/labelNumber.ru.mdx +0 -47
- package/src/media/mdx/value/v-model-selected.en.mdx +0 -28
- package/src/media/mdx/value/v-model-selected.ru.mdx +0 -28
- package/src/media/mdx/value/v-model.en.mdx +0 -26
- package/src/media/mdx/value/v-model.ru.mdx +0 -26
- package/src/media/mdx/value/value.en.mdx +0 -10
- package/src/media/mdx/value/value.ru.mdx +0 -10
- package/src/media/mdx/value/wikiMdxValue.ts +0 -38
- package/src/media/mdx/wikiMdx.ts +0 -121
- package/src/media/props/wiki.ts +0 -107
- package/src/media/props/wikiActions.ts +0 -45
- package/src/media/props/wikiActionsInclude.ts +0 -66
- package/src/media/props/wikiAnchor.ts +0 -91
- package/src/media/props/wikiAria.ts +0 -145
- package/src/media/props/wikiArrow.ts +0 -25
- package/src/media/props/wikiArrowInclude.ts +0 -48
- package/src/media/props/wikiAttributes.ts +0 -211
- package/src/media/props/wikiBadge.ts +0 -48
- package/src/media/props/wikiBars.ts +0 -145
- package/src/media/props/wikiBarsInclude.ts +0 -87
- package/src/media/props/wikiButton.ts +0 -61
- package/src/media/props/wikiCheckbox.ts +0 -25
- package/src/media/props/wikiChip.ts +0 -37
- package/src/media/props/wikiChipGroup.ts +0 -39
- package/src/media/props/wikiDialog.ts +0 -33
- package/src/media/props/wikiField.ts +0 -121
- package/src/media/props/wikiFieldCounterInclude.ts +0 -89
- package/src/media/props/wikiForm.ts +0 -323
- package/src/media/props/wikiGridItem.ts +0 -73
- package/src/media/props/wikiHook.ts +0 -79
- package/src/media/props/wikiIcon.ts +0 -146
- package/src/media/props/wikiIconInclude.ts +0 -365
- package/src/media/props/wikiImage.ts +0 -208
- package/src/media/props/wikiInformation.ts +0 -220
- package/src/media/props/wikiInput.ts +0 -35
- package/src/media/props/wikiList.ts +0 -281
- package/src/media/props/wikiListItem.ts +0 -101
- package/src/media/props/wikiMask.ts +0 -123
- package/src/media/props/wikiMaskInclude.ts +0 -58
- package/src/media/props/wikiMenu.ts +0 -84
- package/src/media/props/wikiMotionAxis.ts +0 -55
- package/src/media/props/wikiMotionTransform.ts +0 -82
- package/src/media/props/wikiOption.ts +0 -410
- package/src/media/props/wikiProgress.ts +0 -104
- package/src/media/props/wikiPropsTextarea.ts +0 -24
- package/src/media/props/wikiScrollbar.ts +0 -89
- package/src/media/props/wikiSelect.ts +0 -68
- package/src/media/props/wikiSelectValue.ts +0 -30
- package/src/media/props/wikiSnackbar.ts +0 -58
- package/src/media/props/wikiSnackbarItem.ts +0 -39
- package/src/media/props/wikiStatus.ts +0 -172
- package/src/media/props/wikiStyle.ts +0 -382
- package/src/media/props/wikiTabs.ts +0 -15
- package/src/media/props/wikiTabsNavigation.ts +0 -54
- package/src/media/props/wikiTechnical.ts +0 -199
- package/src/media/props/wikiText.ts +0 -181
- package/src/media/props/wikiTooltip.ts +0 -53
- package/src/media/props/wikiValue.ts +0 -197
- package/src/media/props/wikiWindow.ts +0 -277
- package/src/media/styles/en/about.mdx +0 -79
- package/src/media/styles/en/color.mdx +0 -711
- package/src/media/styles/en/content.mdx +0 -29
- package/src/media/styles/en/dimension.mdx +0 -233
- package/src/media/styles/en/dir.mdx +0 -193
- package/src/media/styles/en/flex.mdx +0 -249
- package/src/media/styles/en/font.mdx +0 -171
- package/src/media/styles/en/margin.mdx +0 -115
- package/src/media/styles/en/media.mdx +0 -133
- package/src/media/styles/en/padding.mdx +0 -115
- package/src/media/styles/en/position.mdx +0 -183
- package/src/media/styles/en/rules.mdx +0 -117
- package/src/media/styles/en/scrollbar.mdx +0 -27
- package/src/media/styles/en/selector.mdx +0 -153
- package/src/media/styles/en/transform.mdx +0 -114
- package/src/media/styles/ru/about.mdx +0 -78
- package/src/media/styles/ru/color.mdx +0 -711
- package/src/media/styles/ru/content.mdx +0 -30
- package/src/media/styles/ru/dimension.mdx +0 -233
- package/src/media/styles/ru/dir.mdx +0 -193
- package/src/media/styles/ru/flex.mdx +0 -249
- package/src/media/styles/ru/font.mdx +0 -171
- package/src/media/styles/ru/margin.mdx +0 -115
- package/src/media/styles/ru/media.mdx +0 -133
- package/src/media/styles/ru/padding.mdx +0 -115
- package/src/media/styles/ru/position.mdx +0 -183
- package/src/media/styles/ru/rules.mdx +0 -117
- package/src/media/styles/ru/scrollbar.mdx +0 -27
- package/src/media/styles/ru/selector.mdx +0 -153
- package/src/media/styles/ru/transform.mdx +0 -114
- package/src/types/storybookTypes.ts +0 -273
- package/src/types/wikiTypes.ts +0 -10
- package/src/vite-env.d.ts +0 -1
- /package/{src → dist}/shims-mdx.d.ts +0 -0
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
## Adaptive scaling
|
|
2
|
-
|
|
3
|
-
The `adaptive`, `adaptiveGroup`, `adaptiveAlways`, `objectWidth`, and `objectHeight` properties control automatic image scaling to ensure visual consistency of physical object sizes across different images.
|
|
4
|
-
|
|
5
|
-
**Properties:**
|
|
6
|
-
|
|
7
|
-
- `adaptive` — enables adaptive scaling mode
|
|
8
|
-
- `adaptiveGroup` — group name for scale synchronization (default `'basic'`)
|
|
9
|
-
- `objectWidth` — physical width of the object in the image in millimeters
|
|
10
|
-
- `objectHeight` — physical height of the object in the image in millimeters
|
|
11
|
-
- `adaptiveAlways` — perform calculations even for invisible elements
|
|
12
|
-
|
|
13
|
-
Properties work together to ensure proportional display of images with objects of different physical sizes. When `adaptive` is activated, the component starts tracking element dimensions and comparing them with other images in the same group, automatically selecting the optimal scale for each element.
|
|
14
|
-
|
|
15
|
-
The `objectWidth` or `objectHeight` properties specify the real physical dimensions of the object in the image in millimeters. These values are necessary for calculating the scaling coefficient — the component uses them to determine how much to enlarge or reduce the image so that objects in different images appear the same size. It is sufficient to specify only one property — either width or height.
|
|
16
|
-
|
|
17
|
-
The component automatically determines which axis (horizontal or vertical) to scale on, based on available dimensions and image proportions. If `objectWidth` is specified, scaling will occur horizontally, if `objectHeight` — vertically. This allows flexible work with images of different orientations.
|
|
18
|
-
|
|
19
|
-
Elements with the same `adaptiveGroup` value scale synchronously, ensuring consistent visual object sizes across all images in the group. This is especially useful when displaying product galleries or comparison tables where maintaining visual size correspondence is important.
|
|
20
|
-
|
|
21
|
-
For performance optimization, scaling calculations are performed only for visible elements within the viewport plus a small margin. If an element is outside the visible area, calculations are paused until the element appears on screen. The `adaptiveAlways` property disables this optimization and forces the component to constantly recalculate the scale regardless of element visibility.
|
|
22
|
-
|
|
23
|
-
```html
|
|
24
|
-
<script setup>
|
|
25
|
-
import { ref } from 'vue'
|
|
26
|
-
|
|
27
|
-
const phone1 = ref('/images/phone-model-a.png')
|
|
28
|
-
const phone2 = ref('/images/phone-model-b.png')
|
|
29
|
-
const phone3 = ref('/images/phone-model-c.png')
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
<template>
|
|
33
|
-
<!-- Basic usage with object width -->
|
|
34
|
-
<Image
|
|
35
|
-
:value="phone1"
|
|
36
|
-
adaptive
|
|
37
|
-
object-width="76.2"
|
|
38
|
-
/>
|
|
39
|
-
|
|
40
|
-
<!-- Multiple images in one group -->
|
|
41
|
-
<Image
|
|
42
|
-
:value="phone1"
|
|
43
|
-
adaptive
|
|
44
|
-
adaptive-group="phones"
|
|
45
|
-
object-width="76.2"
|
|
46
|
-
/>
|
|
47
|
-
<Image
|
|
48
|
-
:value="phone2"
|
|
49
|
-
adaptive
|
|
50
|
-
adaptive-group="phones"
|
|
51
|
-
object-width="71.9"
|
|
52
|
-
/>
|
|
53
|
-
<Image
|
|
54
|
-
:value="phone3"
|
|
55
|
-
adaptive
|
|
56
|
-
adaptive-group="phones"
|
|
57
|
-
object-width="129.9"
|
|
58
|
-
/>
|
|
59
|
-
|
|
60
|
-
<!-- With height instead of width -->
|
|
61
|
-
<Image
|
|
62
|
-
adaptive
|
|
63
|
-
object-height="154.8"
|
|
64
|
-
:value="phone1"
|
|
65
|
-
/>
|
|
66
|
-
|
|
67
|
-
<!-- Constant scaling -->
|
|
68
|
-
<Image
|
|
69
|
-
adaptive
|
|
70
|
-
adaptive-always
|
|
71
|
-
object-width="76.2"
|
|
72
|
-
:value="phone1"
|
|
73
|
-
/>
|
|
74
|
-
</template>
|
|
75
|
-
```
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
## Адаптивное масштабирование
|
|
2
|
-
|
|
3
|
-
Свойства `adaptive`, `adaptiveGroup`, `adaptiveAlways`, `objectWidth` и `objectHeight` управляют автоматическим масштабированием изображений для обеспечения визуального соответствия физических размеров объектов на разных изображениях.
|
|
4
|
-
|
|
5
|
-
**Свойства:**
|
|
6
|
-
|
|
7
|
-
- `adaptive` — включает режим адаптивного масштабирования
|
|
8
|
-
- `adaptiveGroup` — название группы для синхронизации масштаба (по умолчанию `'basic'`)
|
|
9
|
-
- `objectWidth` — физическая ширина объекта на изображении в миллиметрах
|
|
10
|
-
- `objectHeight` — физическая высота объекта на изображении в миллиметрах
|
|
11
|
-
- `adaptiveAlways` — выполнять расчёты даже для невидимых элементов
|
|
12
|
-
|
|
13
|
-
Свойства работают совместно для обеспечения пропорционального отображения изображений с объектами разных физических размеров. При активации `adaptive` компонент начинает отслеживать размеры элемента и сравнивать их с другими изображениями в той же группе, автоматически подбирая оптимальный масштаб для каждого элемента.
|
|
14
|
-
|
|
15
|
-
Свойства `objectWidth` или `objectHeight` задают реальные физические размеры объекта на изображении в миллиметрах. Эти значения необходимы для расчёта коэффициента масштабирования — компонент использует их для определения, во сколько раз нужно увеличить или уменьшить изображение, чтобы объекты на разных изображениях выглядели одинакового размера. Достаточно указать только одно из свойств — либо ширину, либо высоту.
|
|
16
|
-
|
|
17
|
-
Компонент автоматически определяет, по какой оси (горизонтальной или вертикальной) производить масштабирование, основываясь на доступных размерах и пропорциях изображения. Если указан `objectWidth`, масштабирование будет происходить по горизонтали, если `objectHeight` — по вертикали. Это позволяет гибко работать с изображениями разных ориентаций.
|
|
18
|
-
|
|
19
|
-
Элементы с одинаковым значением `adaptiveGroup` масштабируются синхронно, обеспечивая одинаковый визуальный размер объектов на всех изображениях группы. Это особенно полезно при отображении галерей продуктов или сравнительных таблиц, где важно сохранить визуальное соответствие размеров.
|
|
20
|
-
|
|
21
|
-
Для оптимизации производительности расчёты масштабирования выполняются только для видимых элементов в пределах области просмотра (viewport) плюс небольшой запас. Если элемент находится за пределами видимой области, расчёты приостанавливаются до момента, когда элемент появится на экране. Свойство `adaptiveAlways` отключает эту оптимизацию и заставляет компонент постоянно пересчитывать масштаб независимо от видимости элемента.
|
|
22
|
-
|
|
23
|
-
```html
|
|
24
|
-
<script setup>
|
|
25
|
-
import { ref } from 'vue'
|
|
26
|
-
|
|
27
|
-
const phone1 = ref('/images/phone-model-a.png')
|
|
28
|
-
const phone2 = ref('/images/phone-model-b.png')
|
|
29
|
-
const phone3 = ref('/images/phone-model-c.png')
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
<template>
|
|
33
|
-
<!-- Базовое использование с шириной объекта -->
|
|
34
|
-
<Image
|
|
35
|
-
:value="phone1"
|
|
36
|
-
adaptive
|
|
37
|
-
object-width="76.2"
|
|
38
|
-
/>
|
|
39
|
-
|
|
40
|
-
<!-- Несколько изображений в одной группе -->
|
|
41
|
-
<Image
|
|
42
|
-
:value="phone1"
|
|
43
|
-
adaptive
|
|
44
|
-
adaptive-group="phones"
|
|
45
|
-
object-width="76.2"
|
|
46
|
-
/>
|
|
47
|
-
<Image
|
|
48
|
-
:value="phone2"
|
|
49
|
-
adaptive
|
|
50
|
-
adaptive-group="phones"
|
|
51
|
-
object-width="71.9"
|
|
52
|
-
/>
|
|
53
|
-
<Image
|
|
54
|
-
:value="phone3"
|
|
55
|
-
adaptive
|
|
56
|
-
adaptive-group="phones"
|
|
57
|
-
object-width="129.9"
|
|
58
|
-
/>
|
|
59
|
-
|
|
60
|
-
<!-- С высотой вместо ширины -->
|
|
61
|
-
<Image
|
|
62
|
-
adaptive
|
|
63
|
-
object-height="154.8"
|
|
64
|
-
:value="phone1"
|
|
65
|
-
/>
|
|
66
|
-
|
|
67
|
-
<!-- Постоянное масштабирование -->
|
|
68
|
-
<Image
|
|
69
|
-
adaptive
|
|
70
|
-
adaptive-always
|
|
71
|
-
object-width="76.2"
|
|
72
|
-
:value="phone1"
|
|
73
|
-
/>
|
|
74
|
-
</template>
|
|
75
|
-
```
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
### `load`
|
|
2
|
-
|
|
3
|
-
Event fires after the image is loaded.
|
|
4
|
-
|
|
5
|
-
**Parameters:**
|
|
6
|
-
- `image: ImageEventData` — object with image data
|
|
7
|
-
|
|
8
|
-
**ImageEventData structure:**
|
|
9
|
-
- `type: ImageTypeItem` — image type (`'image'`, `'icon'`, `'pdf'`, `'file'`, `'flag'`, `'color'`, etc.)
|
|
10
|
-
- `image: ImageEventItem` — image data (`ImageItem` object, URL string, or `undefined`)
|
|
11
|
-
|
|
12
|
-
**ImageItem structure (when image is an object):**
|
|
13
|
-
- `width: number` — image width
|
|
14
|
-
- `height: number` — image height
|
|
15
|
-
- `image: HTMLImageElement` — image DOM element
|
|
16
|
-
- `src: string` — image source (URL)
|
|
17
|
-
|
|
18
|
-
```html
|
|
19
|
-
<script setup>
|
|
20
|
-
const handleLoad = (data) => {
|
|
21
|
-
console.log('Image type:', data.type)
|
|
22
|
-
|
|
23
|
-
if (typeof data.image === 'object' && data.image) {
|
|
24
|
-
console.log('Width:', data.image.width)
|
|
25
|
-
console.log('Height:', data.image.height)
|
|
26
|
-
console.log('URL:', data.image.src)
|
|
27
|
-
} else {
|
|
28
|
-
console.log('Image URL:', data.image)
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
</script>
|
|
32
|
-
|
|
33
|
-
<template>
|
|
34
|
-
<Image
|
|
35
|
-
src="/path/to/image.jpg"
|
|
36
|
-
@load="handleLoad"
|
|
37
|
-
/>
|
|
38
|
-
</template>
|
|
39
|
-
```
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
### `load`
|
|
2
|
-
|
|
3
|
-
Событие срабатывает после загрузки изображения.
|
|
4
|
-
|
|
5
|
-
**Параметры:**
|
|
6
|
-
- `image: ImageEventData` — объект с данными изображения
|
|
7
|
-
|
|
8
|
-
**Структура ImageEventData:**
|
|
9
|
-
- `type: ImageTypeItem` — тип изображения (`'image'`, `'icon'`, `'pdf'`, `'file'`, `'flag'`, `'color'` и др.)
|
|
10
|
-
- `image: ImageEventItem` — данные изображения (объект `ImageItem`, строка URL или `undefined`)
|
|
11
|
-
|
|
12
|
-
**Структура ImageItem (если image - объект):**
|
|
13
|
-
- `width: number` — ширина изображения
|
|
14
|
-
- `height: number` — высота изображения
|
|
15
|
-
- `image: HTMLImageElement` — DOM элемент изображения
|
|
16
|
-
- `src: string` — источник изображения (URL)
|
|
17
|
-
|
|
18
|
-
```html
|
|
19
|
-
<script setup>
|
|
20
|
-
const handleLoad = (data) => {
|
|
21
|
-
console.log('Тип изображения:', data.type)
|
|
22
|
-
|
|
23
|
-
if (typeof data.image === 'object' && data.image) {
|
|
24
|
-
console.log('Ширина:', data.image.width)
|
|
25
|
-
console.log('Высота:', data.image.height)
|
|
26
|
-
console.log('URL:', data.image.src)
|
|
27
|
-
} else {
|
|
28
|
-
console.log('URL изображения:', data.image)
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
</script>
|
|
32
|
-
|
|
33
|
-
<template>
|
|
34
|
-
<Image
|
|
35
|
-
src="/path/to/image.jpg"
|
|
36
|
-
@load="handleLoad"
|
|
37
|
-
/>
|
|
38
|
-
</template>
|
|
39
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
- `type: ComputedRef<ImageTypeItem>` — Type of the loaded image.
|
|
2
|
-
|
|
3
|
-
> **ImageTypeItem values:**
|
|
4
|
-
> `pdf`, `file`, `array`, `image`, `flag`, `flag-compressed`, `color`, `public`, `filled`, `outlined`, `round`, `sharp`, `two-tone`, `material`, `icon`.
|
|
5
|
-
|
|
6
|
-
- `data: Ref<ImageEventItem>` — Information about the loaded image, including its source and metadata.
|
|
7
|
-
|
|
8
|
-
> **ImageEventItem:**
|
|
9
|
-
> - `src: string` — source URL.
|
|
10
|
-
> - `width: number` — image width.
|
|
11
|
-
> - `height: number` — image height.
|
|
12
|
-
> - `image: HTMLImageElement` — DOM element of the image.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
- `type: ComputedRef<ImageTypeItem>` — Тип загруженного изображения.
|
|
2
|
-
|
|
3
|
-
> **Значения ImageTypeItem:**
|
|
4
|
-
> `pdf`, `file`, `array`, `image`, `flag`, `flag-compressed`, `color`, `public`, `filled`, `outlined`, `round`, `sharp`, `two-tone`, `material`, `icon`.
|
|
5
|
-
|
|
6
|
-
- `data: Ref<ImageEventItem>` — Информация о загруженном изображении, включая его источник и метаданные.
|
|
7
|
-
|
|
8
|
-
> **ImageEventItem:**
|
|
9
|
-
> - `src: string` — URL-источник.
|
|
10
|
-
> - `width: number` — ширина изображения.
|
|
11
|
-
> - `height: number` — высота изображения.
|
|
12
|
-
> - `image: HTMLImageElement` — DOM-элемент изображения.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
## Flags
|
|
2
|
-
|
|
3
|
-
The `Image` component supports displaying country flags. A special format for the `value` property is used for this purpose.
|
|
4
|
-
|
|
5
|
-
**Formats:**
|
|
6
|
-
|
|
7
|
-
- `flag-xx` — standard flag (where `xx` is the ISO 3166-1 alpha-2 country code)
|
|
8
|
-
- `f-xx` — compressed flag (where `xx` is the ISO 3166-1 alpha-2 country code)
|
|
9
|
-
|
|
10
|
-
**Features:**
|
|
11
|
-
|
|
12
|
-
- Automatic flag type detection by prefix
|
|
13
|
-
- Support for all countries according to ISO 3166-1 alpha-2 standard
|
|
14
|
-
|
|
15
|
-
```html
|
|
16
|
-
<template>
|
|
17
|
-
<!-- Standard US flag -->
|
|
18
|
-
<Image value="flag-us" />
|
|
19
|
-
|
|
20
|
-
<!-- Compressed Germany flag -->
|
|
21
|
-
<Image value="f-de" />
|
|
22
|
-
</template>
|
|
23
|
-
```
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
## Флаги
|
|
2
|
-
|
|
3
|
-
Компонент `Image` поддерживает отображение флагов стран. Для этого используется специальный формат значения свойства `value`.
|
|
4
|
-
|
|
5
|
-
**Форматы:**
|
|
6
|
-
|
|
7
|
-
- `flag-xx` — стандартный флаг (где `xx` — код страны ISO 3166-1 alpha-2)
|
|
8
|
-
- `f-xx` — сжатый флаг (где `xx` — код страны ISO 3166-1 alpha-2)
|
|
9
|
-
|
|
10
|
-
**Особенности:**
|
|
11
|
-
|
|
12
|
-
- Автоматическое определение типа флага по префиксу
|
|
13
|
-
- Поддержка всех стран по стандарту ISO 3166-1 alpha-2
|
|
14
|
-
|
|
15
|
-
```html
|
|
16
|
-
<template>
|
|
17
|
-
<!-- Стандартный флаг США -->
|
|
18
|
-
<Image value="flag-us" />
|
|
19
|
-
|
|
20
|
-
<!-- Сжатый флаг Германии -->
|
|
21
|
-
<Image value="f-de" />
|
|
22
|
-
</template>
|
|
23
|
-
```
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
Universal component for displaying images, icons, flags, and PDF documents with advanced size, positioning, and adaptability controls.
|
|
2
|
-
|
|
3
|
-
Image provides a flexible API for working with various types of visual content. The component automatically detects the source type (image, icon, color, file), selects the optimal rendering method (`<img>`, `background-image`, `<picture>`, `<object>`, or icon font), and supports advanced cropping and adaptation features.
|
|
4
|
-
|
|
5
|
-
**Key Features:**
|
|
6
|
-
|
|
7
|
-
- Support for multiple source types (URL, File, PDF, Material Icons, flags, colors)
|
|
8
|
-
- Flexible rendering with automatic choice between background and img tag
|
|
9
|
-
- Adaptive scaling with aspect ratio preservation and srcset support
|
|
10
|
-
- Display control via fill modes and coordinate cropping
|
|
11
|
-
- Styling support with masks and color filling
|
|
12
|
-
- Integration with Material Symbols and system flags
|
|
13
|
-
|
|
14
|
-
**Typical Use Cases:**
|
|
15
|
-
|
|
16
|
-
- Responsive images with picture and srcset
|
|
17
|
-
- Interface icons (Material Design or SVG masks)
|
|
18
|
-
- User avatars with automatic cropping
|
|
19
|
-
- Previews of uploaded files and PDF documents
|
|
20
|
-
- Background images with complex positioning
|
|
21
|
-
- Displaying country flags via CSS sprites
|
|
22
|
-
|
|
23
|
-
```html
|
|
24
|
-
<script setup>
|
|
25
|
-
import { ref } from 'vue'
|
|
26
|
-
import { Image } from '@dxtmisha/constructor'
|
|
27
|
-
|
|
28
|
-
const imageUrl = ref('https://example.com/image.jpg')
|
|
29
|
-
</script>
|
|
30
|
-
|
|
31
|
-
<template>
|
|
32
|
-
<!-- Background image with cropping -->
|
|
33
|
-
<Image
|
|
34
|
-
:value="imageUrl"
|
|
35
|
-
size="cover"
|
|
36
|
-
:coordinator="[10, 10, 10, 10]"
|
|
37
|
-
/>
|
|
38
|
-
|
|
39
|
-
<!-- SEO-friendly image -->
|
|
40
|
-
<Image
|
|
41
|
-
:value="imageUrl"
|
|
42
|
-
tag-img
|
|
43
|
-
alt="Description"
|
|
44
|
-
/>
|
|
45
|
-
|
|
46
|
-
<!-- Material Design Icon -->
|
|
47
|
-
<Image value="filled-home" />
|
|
48
|
-
</template>
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
> The component automatically manages content type and optimizes display based on the source.
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
Универсальный компонент для отображения изображений, иконок, флагов и PDF-документов с расширенными возможностями управления размером, позиционированием и адаптивностью.
|
|
2
|
-
|
|
3
|
-
Image предоставляет гибкий API для работы с различными типами визуального контента. Компонент автоматически определяет тип источника (изображение, иконка, цвет, файл), выбирает оптимальный способ рендеринга (`<img>`, `background-image`, `<picture>`, `<object>` или иконочный шрифт) и поддерживает продвинутые функции кадрирования и адаптации.
|
|
4
|
-
|
|
5
|
-
**Основные возможности:**
|
|
6
|
-
|
|
7
|
-
- Поддержка множества типов источников (URL, File, PDF, Material Icons, флаги, цвета)
|
|
8
|
-
- Гибкий рендеринг с автоматическим выбором между фоном и тегом img
|
|
9
|
-
- Адаптивное масштабирование с сохранением пропорций и поддержкой srcset
|
|
10
|
-
- Управление отображением через режимы заполнения и координатное кадрирование
|
|
11
|
-
- Стилизация с поддержкой масок и заливки цветом
|
|
12
|
-
- Интеграция с Material Symbols и системными флагами
|
|
13
|
-
|
|
14
|
-
**Типичные сценарии использования:**
|
|
15
|
-
|
|
16
|
-
- Адаптивные изображения с picture и srcset
|
|
17
|
-
- Иконки интерфейса (Material Design или SVG маски)
|
|
18
|
-
- Аватары пользователей с автоматическим кадрированием
|
|
19
|
-
- Превью загружаемых файлов и PDF документов
|
|
20
|
-
- Фоновые изображения со сложным позиционированием
|
|
21
|
-
- Отображение флагов стран через CSS спрайты
|
|
22
|
-
|
|
23
|
-
```html
|
|
24
|
-
<script setup>
|
|
25
|
-
import { ref } from 'vue'
|
|
26
|
-
import { Image } from '@dxtmisha/constructor'
|
|
27
|
-
|
|
28
|
-
const imageUrl = ref('https://example.com/image.jpg')
|
|
29
|
-
</script>
|
|
30
|
-
|
|
31
|
-
<template>
|
|
32
|
-
<!-- Фоновое изображение с кадрированием -->
|
|
33
|
-
<Image
|
|
34
|
-
:value="imageUrl"
|
|
35
|
-
size="cover"
|
|
36
|
-
:coordinator="[10, 10, 10, 10]"
|
|
37
|
-
/>
|
|
38
|
-
|
|
39
|
-
<!-- SEO-дружественное изображение -->
|
|
40
|
-
<Image
|
|
41
|
-
:value="imageUrl"
|
|
42
|
-
tag-img
|
|
43
|
-
alt="Описание"
|
|
44
|
-
/>
|
|
45
|
-
|
|
46
|
-
<!-- Иконка Material Design -->
|
|
47
|
-
<Image value="filled-home" />
|
|
48
|
-
</template>
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
> Компонент автоматически управляет типом контента и оптимизирует отображение в зависимости от источника.
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
## Using the img tag
|
|
2
|
-
|
|
3
|
-
The `tagImg`, `srcset`, `picture`, `alt`, `lazy`, `preloadOffset` and `fetchPriority` properties are designed to control the image display mode using the HTML `<img>` tag instead of a background image.
|
|
4
|
-
|
|
5
|
-
**Properties:**
|
|
6
|
-
|
|
7
|
-
- `tagImg` — use the `<img>` tag instead of a background image
|
|
8
|
-
- `srcset` — set of image sources for different screen resolutions
|
|
9
|
-
- `picture` — sources for different display conditions using the `<picture>` tag
|
|
10
|
-
- `alt` — alternative text for the image
|
|
11
|
-
- `lazy` — enables lazy loading of the image
|
|
12
|
-
- `preloadOffset` — offset for image preloading (default `1024px`)
|
|
13
|
-
- `fetchPriority` — image loading priority (`low`, `high`, `auto`)
|
|
14
|
-
|
|
15
|
-
The properties work together: if `tagImg` is not set or equals `false`, the image is displayed as a CSS background via `background-image`. When `tagImg` is activated (value `true`), the component uses the semantic HTML `<img>` tag, providing better accessibility and SEO optimization. The `alt` property defines alternative text that is displayed when the image is unavailable and is used by screen readers for people with disabilities.
|
|
16
|
-
|
|
17
|
-
The `srcset` property allows you to provide multiple versions of an image for different pixel densities and screen sizes. It accepts a string in the standard `srcset` attribute format or an object where keys are width descriptors (numbers or strings like `'2x'`) and values are image URLs. When using numeric keys, the `w` suffix (width descriptor) is automatically added. The browser automatically selects the optimal image based on screen size and pixel density.
|
|
18
|
-
|
|
19
|
-
The `picture` property enables the use of the HTML `<picture>` tag for art direction — when you need to load different images depending on screen size or other media query conditions. It accepts an object where keys are media conditions (such as screen width in pixels) and values are image URLs, or an array of objects with `<source>` attributes. When using an object, media queries like `(width >= 768px)` are automatically generated. The `<picture>` tag provides more flexible control over image selection compared to `srcset`, allowing you to load images with different aspect ratios or content for various viewing conditions.
|
|
20
|
-
|
|
21
|
-
The `lazy` property activates native browser lazy loading via the `loading="lazy"` attribute. Images with this attribute are loaded only when approaching the visible screen area, which significantly speeds up initial page load and reduces traffic consumption. It is especially effective for pages with a large number of images or long lists.
|
|
22
|
-
|
|
23
|
-
The `preloadOffset` property defines the pixel offset for preloading images when using lazy loading. The default value is `1024px`, which means the image starts loading 1024 pixels before it enters the visible area. This ensures smooth image loading without delays during scrolling. You can specify either a numeric value or a string with a unit of measurement.
|
|
24
|
-
|
|
25
|
-
The `fetchPriority` property allows you to control the browser's image loading priority. It accepts three values: `high` — high priority for critical images (such as hero images or main banners), `low` — low priority for secondary images, `auto` — the browser determines the priority automatically (default value). Proper use of this property helps optimize page loading by ensuring fast loading of important content.
|
|
26
|
-
|
|
27
|
-
```html
|
|
28
|
-
<script setup>
|
|
29
|
-
import { ref } from 'vue'
|
|
30
|
-
|
|
31
|
-
const productImage = ref('/images/product.jpg')
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<template>
|
|
35
|
-
<!-- Basic usage -->
|
|
36
|
-
<Image
|
|
37
|
-
:value="productImage"
|
|
38
|
-
tag-img
|
|
39
|
-
alt="Product description"
|
|
40
|
-
/>
|
|
41
|
-
|
|
42
|
-
<!-- With lazy loading -->
|
|
43
|
-
<Image
|
|
44
|
-
:value="productImage"
|
|
45
|
-
tag-img
|
|
46
|
-
alt="Product"
|
|
47
|
-
lazy
|
|
48
|
-
/>
|
|
49
|
-
|
|
50
|
-
<!-- With srcset object -->
|
|
51
|
-
<Image
|
|
52
|
-
:value="productImage"
|
|
53
|
-
tag-img
|
|
54
|
-
alt="Responsive image"
|
|
55
|
-
:srcset="{
|
|
56
|
-
'1x': '/images/product.jpg',
|
|
57
|
-
'2x': '/images/product@2x.jpg'
|
|
58
|
-
}"
|
|
59
|
-
/>
|
|
60
|
-
|
|
61
|
-
<!-- With picture for different screen sizes -->
|
|
62
|
-
<Image
|
|
63
|
-
:value="productImage"
|
|
64
|
-
tag-img
|
|
65
|
-
alt="Responsive image for different devices"
|
|
66
|
-
:picture="{
|
|
67
|
-
768: '/images/product-tablet.jpg',
|
|
68
|
-
1024: '/images/product-desktop.jpg'
|
|
69
|
-
}"
|
|
70
|
-
/>
|
|
71
|
-
|
|
72
|
-
<!-- With preload offset configuration -->
|
|
73
|
-
<Image
|
|
74
|
-
:value="productImage"
|
|
75
|
-
tag-img
|
|
76
|
-
alt="Image with early preload"
|
|
77
|
-
lazy
|
|
78
|
-
preload-offset="2048px"
|
|
79
|
-
/>
|
|
80
|
-
|
|
81
|
-
<!-- With high loading priority -->
|
|
82
|
-
<Image
|
|
83
|
-
:value="productImage"
|
|
84
|
-
tag-img
|
|
85
|
-
alt="Main page image"
|
|
86
|
-
fetch-priority="high"
|
|
87
|
-
/>
|
|
88
|
-
|
|
89
|
-
<!-- Complex example -->
|
|
90
|
-
<Image
|
|
91
|
-
:value="productImage"
|
|
92
|
-
tag-img
|
|
93
|
-
alt="Responsive product image"
|
|
94
|
-
lazy
|
|
95
|
-
preload-offset="1536px"
|
|
96
|
-
fetch-priority="low"
|
|
97
|
-
:srcset="{
|
|
98
|
-
'1x': '/images/product.jpg',
|
|
99
|
-
'2x': '/images/product@2x.jpg',
|
|
100
|
-
'3x': '/images/product@3x.jpg'
|
|
101
|
-
}"
|
|
102
|
-
/>
|
|
103
|
-
</template>
|
|
104
|
-
```
|
|
105
|
-
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
## Использование тега img
|
|
2
|
-
|
|
3
|
-
Свойства `tagImg`, `srcset`, `picture`, `alt`, `lazy`, `preloadOffset` и `fetchPriority` предназначены для управления режимом отображения изображения через HTML-тег `<img>` вместо фонового изображения.
|
|
4
|
-
|
|
5
|
-
**Свойства:**
|
|
6
|
-
|
|
7
|
-
- `tagImg` — использовать тег `<img>` вместо фонового изображения
|
|
8
|
-
- `srcset` — набор источников изображения для разных разрешений экрана
|
|
9
|
-
- `picture` — источники для разных условий отображения с использованием тега `<picture>`
|
|
10
|
-
- `alt` — альтернативный текст для изображения
|
|
11
|
-
- `lazy` — включает ленивую загрузку изображения
|
|
12
|
-
- `preloadOffset` — смещение для предзагрузки изображения (по умолчанию `1024px`)
|
|
13
|
-
- `fetchPriority` — приоритет загрузки изображения (`low`, `high`, `auto`)
|
|
14
|
-
|
|
15
|
-
Свойства работают совместно: если `tagImg` не задан или равен `false`, изображение отображается как CSS-фон через `background-image`. При активации `tagImg` (значение `true`), компонент использует семантический HTML-тег `<img>`, обеспечивая лучшую доступность и SEO-оптимизацию. Свойство `alt` определяет альтернативный текст, который отображается при недоступности изображения и используется программами чтения с экрана для людей с ограниченными возможностями.
|
|
16
|
-
|
|
17
|
-
Свойство `srcset` позволяет предоставить несколько версий изображения для разных плотностей пикселей и размеров экрана. Принимает строку в формате стандартного атрибута `srcset` или объект, где ключи — это дескрипторы ширины (числа или строки вроде `'2x'`), а значения — URL изображений. При использовании числовых ключей автоматически добавляется суффикс `w` (width descriptor). Браузер самостоятельно выбирает оптимальное изображение на основе размера экрана и плотности пикселей.
|
|
18
|
-
|
|
19
|
-
Свойство `picture` позволяет использовать HTML-тег `<picture>` для art direction — когда требуется загружать разные изображения в зависимости от размера экрана или других условий медиа-запросов. Принимает объект, где ключи — это медиа-условия (например, ширина экрана в пикселях), а значения — URL изображений, или массив объектов с атрибутами `<source>`. При использовании объекта автоматически генерируются медиа-запросы вида `(width >= 768px)`. Тег `<picture>` обеспечивает более гибкий контроль над выбором изображения по сравнению с `srcset`, позволяя загружать изображения разных пропорций или содержания для различных условий просмотра.
|
|
20
|
-
|
|
21
|
-
Свойство `lazy` активирует нативную ленивую загрузку браузера через атрибут `loading="lazy"`. Изображения с этим атрибутом загружаются только при приближении к видимой области экрана, что значительно ускоряет начальную загрузку страницы и снижает потребление трафика. Особенно эффективно для страниц с большим количеством изображений или длинных списков.
|
|
22
|
-
|
|
23
|
-
Свойство `preloadOffset` определяет смещение в пикселях для предварительной загрузки изображений при использовании ленивой загрузки. По умолчанию установлено значение `1024px`, что означает начало загрузки изображения за 1024 пикселя до того, как оно попадет в видимую область. Это обеспечивает плавную загрузку изображений без задержек при прокрутке. Можно указать как числовое значение, так и строку с единицей измерения.
|
|
24
|
-
|
|
25
|
-
Свойство `fetchPriority` позволяет управлять приоритетом загрузки изображения браузером. Принимает три значения: `high` — высокий приоритет для критически важных изображений (например, главный баннер или hero-изображение), `low` — низкий приоритет для второстепенных изображений, `auto` — браузер самостоятельно определяет приоритет (значение по умолчанию). Правильное использование этого свойства помогает оптимизировать загрузку страницы, обеспечивая быструю загрузку важного контента.
|
|
26
|
-
|
|
27
|
-
```html
|
|
28
|
-
<script setup>
|
|
29
|
-
import { ref } from 'vue'
|
|
30
|
-
|
|
31
|
-
const productImage = ref('/images/product.jpg')
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<template>
|
|
35
|
-
<!-- Базовое использование -->
|
|
36
|
-
<Image
|
|
37
|
-
:value="productImage"
|
|
38
|
-
tag-img
|
|
39
|
-
alt="Описание продукта"
|
|
40
|
-
/>
|
|
41
|
-
|
|
42
|
-
<!-- С ленивой загрузкой -->
|
|
43
|
-
<Image
|
|
44
|
-
:value="productImage"
|
|
45
|
-
tag-img
|
|
46
|
-
alt="Товар"
|
|
47
|
-
lazy
|
|
48
|
-
/>
|
|
49
|
-
|
|
50
|
-
<!-- С srcset объектом -->
|
|
51
|
-
<Image
|
|
52
|
-
:value="productImage"
|
|
53
|
-
tag-img
|
|
54
|
-
alt="Адаптивное изображение"
|
|
55
|
-
:srcset="{
|
|
56
|
-
'1x': '/images/product.jpg',
|
|
57
|
-
'2x': '/images/product@2x.jpg'
|
|
58
|
-
}"
|
|
59
|
-
/>
|
|
60
|
-
|
|
61
|
-
<!-- С picture для разных размеров экрана -->
|
|
62
|
-
<Image
|
|
63
|
-
:value="productImage"
|
|
64
|
-
tag-img
|
|
65
|
-
alt="Адаптивное изображение для разных устройств"
|
|
66
|
-
:picture="{
|
|
67
|
-
768: '/images/product-tablet.jpg',
|
|
68
|
-
1024: '/images/product-desktop.jpg'
|
|
69
|
-
}"
|
|
70
|
-
/>
|
|
71
|
-
|
|
72
|
-
<!-- С настройкой предзагрузки -->
|
|
73
|
-
<Image
|
|
74
|
-
:value="productImage"
|
|
75
|
-
tag-img
|
|
76
|
-
alt="Изображение с ранней предзагрузкой"
|
|
77
|
-
lazy
|
|
78
|
-
preload-offset="2048px"
|
|
79
|
-
/>
|
|
80
|
-
|
|
81
|
-
<!-- С высоким приоритетом загрузки -->
|
|
82
|
-
<Image
|
|
83
|
-
:value="productImage"
|
|
84
|
-
tag-img
|
|
85
|
-
alt="Главное изображение страницы"
|
|
86
|
-
fetch-priority="high"
|
|
87
|
-
/>
|
|
88
|
-
|
|
89
|
-
<!-- Комплексный пример -->
|
|
90
|
-
<Image
|
|
91
|
-
:value="productImage"
|
|
92
|
-
tag-img
|
|
93
|
-
alt="Адаптивное изображение товара"
|
|
94
|
-
lazy
|
|
95
|
-
preload-offset="1536px"
|
|
96
|
-
fetch-priority="low"
|
|
97
|
-
:srcset="{
|
|
98
|
-
'1x': '/images/product.jpg',
|
|
99
|
-
'2x': '/images/product@2x.jpg',
|
|
100
|
-
'3x': '/images/product@3x.jpg'
|
|
101
|
-
}"
|
|
102
|
-
/>
|
|
103
|
-
</template>
|
|
104
|
-
```
|
|
105
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
## Image display control
|
|
2
|
-
|
|
3
|
-
The `size`, `coordinator`, `x`, and `y` properties allow you to precisely control image scaling, visible area, and positioning within the container.
|
|
4
|
-
|
|
5
|
-
**Properties:**
|
|
6
|
-
|
|
7
|
-
- `size` — scaling and fill mode of the image (`auto`, `contain`, `cover`)
|
|
8
|
-
- `coordinator` — array of coordinates for cropping the display area `[left, top, right, bottom]` in percentages
|
|
9
|
-
- `x` — horizontal offset of the image (pixels, percentages)
|
|
10
|
-
- `y` — vertical offset of the image (pixels, percentages)
|
|
11
|
-
|
|
12
|
-
Properties work together or individually. The `size` value defines the scaling mode: `auto` uses the original size, `contain` fits the image completely, `cover` fills the container with possible cropping. The `coordinator` property sets the visible area by cropping the image at specified coordinates. The `x` and `y` parameters shift the image relative to the container for precise positioning.
|
|
13
|
-
|
|
14
|
-
```html
|
|
15
|
-
<!-- Scaling mode -->
|
|
16
|
-
<Image value="image.png" size="contain" />
|
|
17
|
-
|
|
18
|
-
<!-- Cropping by coordinates -->
|
|
19
|
-
<Image value="image.png" :coordinator="[10, 20, 100, 80]" />
|
|
20
|
-
|
|
21
|
-
<!-- Position offset -->
|
|
22
|
-
<Image value="image.png" x="15" y="-10" />
|
|
23
|
-
|
|
24
|
-
<!-- Combined parameters -->
|
|
25
|
-
<Image
|
|
26
|
-
value="image.png"
|
|
27
|
-
size="cover"
|
|
28
|
-
:coordinator="[0, 0, 100, 50]"
|
|
29
|
-
x="10"
|
|
30
|
-
y="5"
|
|
31
|
-
/>
|
|
32
|
-
```
|