@dxtmisha/wiki 0.39.4 → 0.39.5
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/package.json +7 -18
- package/src/classes/WikiStorybook.ts +353 -0
- package/src/classes/WikiStorybookDescriptions.ts +77 -0
- package/src/classes/WikiStorybookItem.ts +400 -0
- package/src/classes/WikiStorybookProp.ts +118 -0
- package/src/library-lite.ts +9 -0
- package/src/library.ts +9 -11
- package/src/media/descriptions/wikiDescriptions.ts +109 -0
- package/src/media/descriptions/wikiDescriptionsAccordion.ts +177 -0
- package/src/media/descriptions/wikiDescriptionsActionSheet.ts +148 -0
- package/src/media/descriptions/wikiDescriptionsActions.ts +73 -0
- package/src/media/descriptions/wikiDescriptionsAnchor.ts +49 -0
- package/src/media/descriptions/wikiDescriptionsArrow.ts +193 -0
- package/src/media/descriptions/wikiDescriptionsBadge.ts +150 -0
- package/src/media/descriptions/wikiDescriptionsBars.ts +177 -0
- package/src/media/descriptions/wikiDescriptionsBlock.ts +115 -0
- package/src/media/descriptions/wikiDescriptionsButton.ts +200 -0
- package/src/media/descriptions/wikiDescriptionsCell.ts +121 -0
- package/src/media/descriptions/wikiDescriptionsCheckbox.ts +134 -0
- package/src/media/descriptions/wikiDescriptionsChip.ts +144 -0
- package/src/media/descriptions/wikiDescriptionsChipGroup.ts +113 -0
- package/src/media/descriptions/wikiDescriptionsDialog.ts +198 -0
- package/src/media/descriptions/wikiDescriptionsDummy.ts +42 -0
- package/src/media/descriptions/wikiDescriptionsField.ts +222 -0
- package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +75 -0
- package/src/media/descriptions/wikiDescriptionsFieldLabel.ts +46 -0
- package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +71 -0
- package/src/media/descriptions/wikiDescriptionsGrid.ts +68 -0
- package/src/media/descriptions/wikiDescriptionsGridItem.ts +55 -0
- package/src/media/descriptions/wikiDescriptionsGroup.ts +118 -0
- package/src/media/descriptions/wikiDescriptionsHorizontalScroll.ts +93 -0
- package/src/media/descriptions/wikiDescriptionsIcon.ts +134 -0
- package/src/media/descriptions/wikiDescriptionsImage.ts +197 -0
- package/src/media/descriptions/wikiDescriptionsInput.ts +264 -0
- package/src/media/descriptions/wikiDescriptionsList.ts +131 -0
- package/src/media/descriptions/wikiDescriptionsListGroup.ts +99 -0
- package/src/media/descriptions/wikiDescriptionsListItem.ts +167 -0
- package/src/media/descriptions/wikiDescriptionsListMenu.ts +97 -0
- package/src/media/descriptions/wikiDescriptionsMask.ts +239 -0
- package/src/media/descriptions/wikiDescriptionsMenu.ts +228 -0
- package/src/media/descriptions/wikiDescriptionsModal.ts +143 -0
- package/src/media/descriptions/wikiDescriptionsMotionAxis.ts +196 -0
- package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +235 -0
- package/src/media/descriptions/wikiDescriptionsPage.ts +116 -0
- package/src/media/descriptions/wikiDescriptionsProgress.ts +220 -0
- package/src/media/descriptions/wikiDescriptionsRipple.ts +52 -0
- package/src/media/descriptions/wikiDescriptionsScrollbar.ts +111 -0
- package/src/media/descriptions/wikiDescriptionsSection.ts +116 -0
- package/src/media/descriptions/wikiDescriptionsSelect.ts +223 -0
- package/src/media/descriptions/wikiDescriptionsSelectValue.ts +85 -0
- package/src/media/descriptions/wikiDescriptionsSkeleton.ts +140 -0
- package/src/media/descriptions/wikiDescriptionsSnackbar.ts +86 -0
- package/src/media/descriptions/wikiDescriptionsSnackbarItem.ts +96 -0
- package/src/media/descriptions/wikiDescriptionsTabItem.ts +79 -0
- package/src/media/descriptions/wikiDescriptionsTabs.ts +115 -0
- package/src/media/descriptions/wikiDescriptionsTabsNavigation.ts +102 -0
- package/src/media/descriptions/wikiDescriptionsTextarea.ts +58 -0
- package/src/media/descriptions/wikiDescriptionsTextareaAutosize.ts +57 -0
- package/src/media/descriptions/wikiDescriptionsTooltip.ts +105 -0
- package/src/media/descriptions/wikiDescriptionsWindow.ts +241 -0
- package/src/media/functional/ui/properties/about/about.en.mdx +13 -12
- package/src/media/functional/ui/properties/about/about.ru.mdx +13 -12
- package/src/media/functional/ui/properties/about/about.vi.mdx +13 -12
- package/src/media/functional/ui/properties/quick-start/quick-start.en.mdx +62 -32
- package/src/media/functional/ui/properties/quick-start/quick-start.ru.mdx +62 -32
- package/src/media/functional/ui/properties/quick-start/quick-start.vi.mdx +62 -32
- package/src/media/functional/ui/properties/type-media/type-media.en.mdx +29 -0
- package/src/media/functional/ui/properties/type-media/type-media.ru.mdx +29 -0
- package/src/media/functional/ui/properties/type-media/type-media.vi.mdx +29 -0
- package/src/media/mdx/Accordion/accordion.en.mdx +59 -0
- package/src/media/mdx/Accordion/accordion.ru.mdx +59 -0
- package/src/media/mdx/Accordion/slots.en.mdx +9 -0
- package/src/media/mdx/Accordion/slots.ru.mdx +9 -0
- package/src/media/mdx/Accordion/wikiMdxAccordion.ts +25 -0
- package/src/media/mdx/ActionSheet/actionSheet.en.mdx +61 -0
- package/src/media/mdx/ActionSheet/actionSheet.ru.mdx +61 -0
- package/src/media/mdx/ActionSheet/touchClose.en.mdx +21 -0
- package/src/media/mdx/ActionSheet/touchClose.ru.mdx +21 -0
- package/src/media/mdx/ActionSheet/wikiMdxActionSheet.ts +25 -0
- package/src/media/mdx/Actions/actions.en.mdx +48 -0
- package/src/media/mdx/Actions/actions.ru.mdx +48 -0
- package/src/media/mdx/Actions/flexible.en.mdx +19 -0
- package/src/media/mdx/Actions/flexible.ru.mdx +19 -0
- package/src/media/mdx/Actions/list.en.mdx +50 -0
- package/src/media/mdx/Actions/list.ru.mdx +50 -0
- package/src/media/mdx/Actions/wikiMdxActions.ts +31 -0
- package/src/media/mdx/Anchor/anchor.en.mdx +34 -0
- package/src/media/mdx/Anchor/anchor.ru.mdx +34 -0
- package/src/media/mdx/Anchor/expose.go.en.mdx +1 -0
- package/src/media/mdx/Anchor/expose.go.ru.mdx +1 -0
- package/src/media/mdx/Anchor/hide.en.mdx +28 -0
- package/src/media/mdx/Anchor/hide.ru.mdx +28 -0
- package/src/media/mdx/Anchor/isCopy.en.mdx +23 -0
- package/src/media/mdx/Anchor/isCopy.ru.mdx +23 -0
- package/src/media/mdx/Anchor/scroll.en.mdx +34 -0
- package/src/media/mdx/Anchor/scroll.ru.mdx +35 -0
- package/src/media/mdx/Anchor/wikiMdxAnchor.ts +43 -0
- package/src/media/mdx/Arrow/arrow.en.mdx +33 -0
- package/src/media/mdx/Arrow/arrow.ru.mdx +33 -0
- package/src/media/mdx/Arrow/wikiMdxArrow.ts +19 -0
- package/src/media/mdx/Badge/badge.en.mdx +89 -0
- package/src/media/mdx/Badge/badge.ru.mdx +89 -0
- package/src/media/mdx/Badge/dot.en.mdx +21 -0
- package/src/media/mdx/Badge/dot.ru.mdx +21 -0
- package/src/media/mdx/Badge/outline.en.mdx +16 -0
- package/src/media/mdx/Badge/outline.ru.mdx +16 -0
- package/src/media/mdx/Badge/primary.en.mdx +16 -0
- package/src/media/mdx/Badge/primary.ru.mdx +16 -0
- package/src/media/mdx/Badge/secondary.en.mdx +16 -0
- package/src/media/mdx/Badge/secondary.ru.mdx +16 -0
- package/src/media/mdx/Badge/wikiMdxBadge.ts +43 -0
- package/src/media/mdx/Bars/action.en.mdx +84 -0
- package/src/media/mdx/Bars/action.ru.mdx +84 -0
- package/src/media/mdx/Bars/bars.en.mdx +97 -0
- package/src/media/mdx/Bars/bars.ru.mdx +98 -0
- package/src/media/mdx/Bars/slots.en.mdx +2 -0
- package/src/media/mdx/Bars/slots.ru.mdx +2 -0
- package/src/media/mdx/Bars/v-model.en.mdx +28 -0
- package/src/media/mdx/Bars/v-model.ru.mdx +28 -0
- package/src/media/mdx/Bars/wikiMdxBars.ts +37 -0
- package/src/media/mdx/Block/block.en.mdx +42 -0
- package/src/media/mdx/Block/block.ru.mdx +42 -0
- package/src/media/mdx/Block/differences.en.mdx +47 -0
- package/src/media/mdx/Block/differences.ru.mdx +47 -0
- package/src/media/mdx/Block/wikiMdxBlock.ts +25 -0
- package/src/media/mdx/Button/button.en.mdx +29 -0
- package/src/media/mdx/Button/button.ru.mdx +29 -0
- package/src/media/mdx/Button/outline.en.mdx +16 -0
- package/src/media/mdx/Button/outline.ru.mdx +16 -0
- package/src/media/mdx/Button/primary.en.mdx +16 -0
- package/src/media/mdx/Button/primary.ru.mdx +16 -0
- package/src/media/mdx/Button/secondary.en.mdx +16 -0
- package/src/media/mdx/Button/secondary.ru.mdx +16 -0
- package/src/media/mdx/Button/text.en.mdx +16 -0
- package/src/media/mdx/Button/text.ru.mdx +16 -0
- package/src/media/mdx/Button/wikiMdxButton.ts +43 -0
- package/src/media/mdx/Cell/cell.en.mdx +57 -0
- package/src/media/mdx/Cell/cell.ru.mdx +57 -0
- package/src/media/mdx/Cell/slots.en.mdx +8 -0
- package/src/media/mdx/Cell/slots.ru.mdx +8 -0
- package/src/media/mdx/Cell/wikiMdxCell.ts +25 -0
- package/src/media/mdx/Checkbox/checkbox.en.mdx +22 -0
- package/src/media/mdx/Checkbox/checkbox.ru.mdx +22 -0
- package/src/media/mdx/Checkbox/indeterminate.en.mdx +61 -0
- package/src/media/mdx/Checkbox/indeterminate.ru.mdx +61 -0
- package/src/media/mdx/Checkbox/value.en.mdx +64 -0
- package/src/media/mdx/Checkbox/value.ru.mdx +64 -0
- package/src/media/mdx/Checkbox/wikiMdxCheckbox.ts +31 -0
- package/src/media/mdx/Chip/assistive.en.mdx +16 -0
- package/src/media/mdx/Chip/assistive.ru.mdx +16 -0
- package/src/media/mdx/Chip/chip.en.mdx +75 -0
- package/src/media/mdx/Chip/chip.ru.mdx +75 -0
- package/src/media/mdx/Chip/input.en.mdx +16 -0
- package/src/media/mdx/Chip/input.ru.mdx +16 -0
- package/src/media/mdx/Chip/wikiMdxChip.ts +31 -0
- package/src/media/mdx/ChipGroup/chipGroup.en.mdx +51 -0
- package/src/media/mdx/ChipGroup/chipGroup.ru.mdx +51 -0
- package/src/media/mdx/ChipGroup/selected.en.mdx +50 -0
- package/src/media/mdx/ChipGroup/selected.ru.mdx +50 -0
- package/src/media/mdx/ChipGroup/wikiMdxChipGroup.ts +25 -0
- package/src/media/mdx/Dialog/buttons.en.mdx +45 -0
- package/src/media/mdx/Dialog/buttons.ru.mdx +45 -0
- package/src/media/mdx/Dialog/dialog.en.mdx +66 -0
- package/src/media/mdx/Dialog/dialog.ru.mdx +65 -0
- package/src/media/mdx/Dialog/events.en.mdx +63 -0
- package/src/media/mdx/Dialog/events.ru.mdx +63 -0
- package/src/media/mdx/Dialog/states.en.mdx +58 -0
- package/src/media/mdx/Dialog/states.ru.mdx +57 -0
- package/src/media/mdx/Dialog/wikiMdxDialog.ts +37 -0
- package/src/media/mdx/Dummy/dummy.en.mdx +35 -0
- package/src/media/mdx/Dummy/dummy.ru.mdx +35 -0
- package/src/media/mdx/Dummy/wikiMdxDummy.ts +19 -0
- package/src/media/mdx/Field/arrows.en.mdx +91 -0
- package/src/media/mdx/Field/arrows.ru.mdx +91 -0
- package/src/media/mdx/Field/cancel.en.mdx +54 -0
- package/src/media/mdx/Field/cancel.ru.mdx +54 -0
- package/src/media/mdx/Field/field.en.mdx +52 -0
- package/src/media/mdx/Field/field.ru.mdx +52 -0
- package/src/media/mdx/Field/slots.en.mdx +10 -0
- package/src/media/mdx/Field/slots.ru.mdx +10 -0
- package/src/media/mdx/Field/value.en.mdx +49 -0
- package/src/media/mdx/Field/value.ru.mdx +49 -0
- package/src/media/mdx/Field/width.en.mdx +28 -0
- package/src/media/mdx/Field/width.ru.mdx +26 -0
- package/src/media/mdx/Field/wikiMdxField.ts +49 -0
- package/src/media/mdx/FieldCounter/fieldCounter.en.mdx +34 -0
- package/src/media/mdx/FieldCounter/fieldCounter.ru.mdx +34 -0
- package/src/media/mdx/FieldCounter/templates.en.mdx +39 -0
- package/src/media/mdx/FieldCounter/templates.ru.mdx +39 -0
- package/src/media/mdx/FieldCounter/wikiMdxFieldCounter.ts +25 -0
- package/src/media/mdx/FieldLabel/fieldLabel.en.mdx +39 -0
- package/src/media/mdx/FieldLabel/fieldLabel.ru.mdx +39 -0
- package/src/media/mdx/FieldLabel/wikiMdxFieldLabel.ts +19 -0
- package/src/media/mdx/FieldMessage/fieldMessage.en.mdx +38 -0
- package/src/media/mdx/FieldMessage/fieldMessage.ru.mdx +38 -0
- package/src/media/mdx/FieldMessage/slots.en.mdx +7 -0
- package/src/media/mdx/FieldMessage/slots.ru.mdx +7 -0
- package/src/media/mdx/FieldMessage/wikiMdxFieldMessage.ts +25 -0
- package/src/media/mdx/Grid/grid.en.mdx +21 -0
- package/src/media/mdx/Grid/grid.ru.mdx +23 -0
- package/src/media/mdx/Grid/wikiMdxGrid.ts +19 -0
- package/src/media/mdx/GridItem/gridItem.en.mdx +25 -0
- package/src/media/mdx/GridItem/gridItem.ru.mdx +27 -0
- package/src/media/mdx/GridItem/wikiMdxGridItem.ts +19 -0
- package/src/media/mdx/Group/group.en.mdx +40 -0
- package/src/media/mdx/Group/group.ru.mdx +40 -0
- package/src/media/mdx/Group/wikiMdxGroup.ts +19 -0
- package/src/media/mdx/HorizontalScroll/expose.toSelected.en.mdx +1 -0
- package/src/media/mdx/HorizontalScroll/expose.toSelected.ru.mdx +1 -0
- package/src/media/mdx/HorizontalScroll/horizontalScroll.en.mdx +62 -0
- package/src/media/mdx/HorizontalScroll/horizontalScroll.ru.mdx +62 -0
- package/src/media/mdx/HorizontalScroll/selected.en.mdx +33 -0
- package/src/media/mdx/HorizontalScroll/selected.ru.mdx +33 -0
- package/src/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.ts +31 -0
- package/src/media/mdx/Icon/expose.isActive.en.mdx +1 -0
- package/src/media/mdx/Icon/expose.isActive.ru.mdx +1 -0
- package/src/media/mdx/Icon/icon.en.mdx +77 -0
- package/src/media/mdx/Icon/icon.ru.mdx +42 -0
- package/src/media/mdx/Icon/wikiMdxIcon.ts +21 -0
- package/src/media/mdx/Image/adaptive.en.mdx +75 -0
- package/src/media/mdx/Image/adaptive.ru.mdx +75 -0
- package/src/media/mdx/Image/event.load.en.mdx +39 -0
- package/src/media/mdx/Image/event.load.ru.mdx +39 -0
- package/src/media/mdx/Image/expose.en.mdx +12 -0
- package/src/media/mdx/Image/expose.ru.mdx +12 -0
- package/src/media/mdx/Image/flag.en.mdx +23 -0
- package/src/media/mdx/Image/flag.ru.mdx +23 -0
- package/src/media/mdx/Image/image.en.mdx +51 -0
- package/src/media/mdx/Image/image.ru.mdx +51 -0
- package/src/media/mdx/Image/img-tag.en.mdx +105 -0
- package/src/media/mdx/Image/img-tag.ru.mdx +105 -0
- package/src/media/mdx/Image/size.en.mdx +32 -0
- package/src/media/mdx/Image/size.ru.mdx +32 -0
- package/src/media/mdx/Image/value.en.mdx +23 -0
- package/src/media/mdx/Image/value.ru.mdx +23 -0
- package/src/media/mdx/Image/wikiMdxImage.ts +58 -0
- package/src/media/mdx/Input/currency.en.mdx +38 -0
- package/src/media/mdx/Input/currency.ru.mdx +38 -0
- package/src/media/mdx/Input/date.en.mdx +53 -0
- package/src/media/mdx/Input/date.ru.mdx +53 -0
- package/src/media/mdx/Input/input.en.mdx +143 -0
- package/src/media/mdx/Input/input.ru.mdx +71 -0
- package/src/media/mdx/Input/mask.en.mdx +30 -0
- package/src/media/mdx/Input/mask.ru.mdx +30 -0
- package/src/media/mdx/Input/number.en.mdx +41 -0
- package/src/media/mdx/Input/number.ru.mdx +41 -0
- package/src/media/mdx/Input/type.en.mdx +26 -0
- package/src/media/mdx/Input/type.ru.mdx +26 -0
- package/src/media/mdx/Input/wikiMdxInput.ts +49 -0
- package/src/media/mdx/List/event.close.en.mdx +8 -0
- package/src/media/mdx/List/event.close.ru.mdx +8 -0
- package/src/media/mdx/List/list.en.mdx +64 -0
- package/src/media/mdx/List/list.ru.mdx +64 -0
- package/src/media/mdx/List/lite.en.mdx +24 -0
- package/src/media/mdx/List/lite.ru.mdx +24 -0
- package/src/media/mdx/List/slot.html.en.mdx +1 -0
- package/src/media/mdx/List/slot.html.ru.mdx +1 -0
- package/src/media/mdx/List/wikiMdxList.ts +37 -0
- package/src/media/mdx/ListGroup/listGroup.en.mdx +56 -0
- package/src/media/mdx/ListGroup/listGroup.ru.mdx +56 -0
- package/src/media/mdx/ListGroup/slots.en.mdx +2 -0
- package/src/media/mdx/ListGroup/slots.ru.mdx +2 -0
- package/src/media/mdx/ListGroup/wikiMdxListGroup.ts +25 -0
- package/src/media/mdx/ListItem/basic.en.mdx +55 -0
- package/src/media/mdx/ListItem/basic.ru.mdx +55 -0
- package/src/media/mdx/ListItem/fill.en.mdx +24 -0
- package/src/media/mdx/ListItem/fill.ru.mdx +24 -0
- package/src/media/mdx/ListItem/slots.en.mdx +2 -0
- package/src/media/mdx/ListItem/slots.ru.mdx +2 -0
- package/src/media/mdx/ListItem/wikiMdxListItem.ts +31 -0
- package/src/media/mdx/ListMenu/listMenu.en.mdx +63 -0
- package/src/media/mdx/ListMenu/listMenu.ru.mdx +63 -0
- package/src/media/mdx/ListMenu/wikiMdxListMenu.ts +19 -0
- package/src/media/mdx/Mask/basic.en.mdx +76 -0
- package/src/media/mdx/Mask/basic.ru.mdx +76 -0
- package/src/media/mdx/Mask/dateTypes.en.mdx +38 -0
- package/src/media/mdx/Mask/dateTypes.ru.mdx +38 -0
- package/src/media/mdx/Mask/expose.en.mdx +3 -0
- package/src/media/mdx/Mask/expose.ru.mdx +3 -0
- package/src/media/mdx/Mask/groupSave.en.mdx +26 -0
- package/src/media/mdx/Mask/groupSave.ru.mdx +26 -0
- package/src/media/mdx/Mask/mask.en.mdx +21 -0
- package/src/media/mdx/Mask/mask.ru.mdx +21 -0
- package/src/media/mdx/Mask/match.en.mdx +28 -0
- package/src/media/mdx/Mask/match.ru.mdx +28 -0
- package/src/media/mdx/Mask/numberTypes.en.mdx +38 -0
- package/src/media/mdx/Mask/numberTypes.ru.mdx +38 -0
- package/src/media/mdx/Mask/pattern.en.mdx +66 -0
- package/src/media/mdx/Mask/pattern.ru.mdx +66 -0
- package/src/media/mdx/Mask/special.en.mdx +106 -0
- package/src/media/mdx/Mask/special.ru.mdx +106 -0
- package/src/media/mdx/Mask/type.en.mdx +22 -0
- package/src/media/mdx/Mask/type.ru.mdx +22 -0
- package/src/media/mdx/Mask/visible.en.mdx +40 -0
- package/src/media/mdx/Mask/visible.ru.mdx +40 -0
- package/src/media/mdx/Mask/wikiMdxMask.ts +79 -0
- package/src/media/mdx/Menu/ajax.en.mdx +49 -0
- package/src/media/mdx/Menu/ajax.ru.mdx +49 -0
- package/src/media/mdx/Menu/event.updateValue.en.mdx +29 -0
- package/src/media/mdx/Menu/event.updateValue.ru.mdx +30 -0
- package/src/media/mdx/Menu/expose.navigation.en.mdx +2 -0
- package/src/media/mdx/Menu/expose.navigation.ru.mdx +2 -0
- package/src/media/mdx/Menu/menu.en.mdx +64 -0
- package/src/media/mdx/Menu/menu.ru.mdx +64 -0
- package/src/media/mdx/Menu/navigation.en.mdx +56 -0
- package/src/media/mdx/Menu/navigation.ru.mdx +56 -0
- package/src/media/mdx/Menu/slots.control.en.mdx +1 -0
- package/src/media/mdx/Menu/slots.control.ru.mdx +1 -0
- package/src/media/mdx/Menu/slots.en.mdx +14 -0
- package/src/media/mdx/Menu/slots.ru.mdx +14 -0
- package/src/media/mdx/Menu/wikiMdxMenu.ts +51 -0
- package/src/media/mdx/Modal/differences.en.mdx +130 -0
- package/src/media/mdx/Modal/differences.ru.mdx +65 -0
- package/src/media/mdx/Modal/modal.en.mdx +63 -0
- package/src/media/mdx/Modal/modal.ru.mdx +63 -0
- package/src/media/mdx/Modal/wikiMdxModal.ts +25 -0
- package/src/media/mdx/MotionAxis/classes.en.mdx +18 -0
- package/src/media/mdx/MotionAxis/classes.ru.mdx +18 -0
- package/src/media/mdx/MotionAxis/event.en.mdx +53 -0
- package/src/media/mdx/MotionAxis/event.ru.mdx +53 -0
- package/src/media/mdx/MotionAxis/expose.en.mdx +9 -0
- package/src/media/mdx/MotionAxis/expose.ru.mdx +9 -0
- package/src/media/mdx/MotionAxis/motionAxis.en.mdx +43 -0
- package/src/media/mdx/MotionAxis/motionAxis.ru.mdx +43 -0
- package/src/media/mdx/MotionAxis/slots.en.mdx +1 -0
- package/src/media/mdx/MotionAxis/slots.ru.mdx +1 -0
- package/src/media/mdx/MotionAxis/v-model.en.mdx +30 -0
- package/src/media/mdx/MotionAxis/v-model.ru.mdx +30 -0
- package/src/media/mdx/MotionAxis/wikiMdxMotionAxis.ts +49 -0
- package/src/media/mdx/MotionTransform/animationHeadPosition.en.mdx +18 -0
- package/src/media/mdx/MotionTransform/animationHeadPosition.ru.mdx +18 -0
- package/src/media/mdx/MotionTransform/classes.en.mdx +25 -0
- package/src/media/mdx/MotionTransform/classes.ru.mdx +25 -0
- package/src/media/mdx/MotionTransform/events.en.mdx +39 -0
- package/src/media/mdx/MotionTransform/events.ru.mdx +39 -0
- package/src/media/mdx/MotionTransform/expose.en.mdx +6 -0
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.en.mdx +9 -0
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.ru.mdx +9 -0
- package/src/media/mdx/MotionTransform/expose.ru.mdx +6 -0
- package/src/media/mdx/MotionTransform/ignore.en.mdx +32 -0
- package/src/media/mdx/MotionTransform/ignore.ru.mdx +32 -0
- package/src/media/mdx/MotionTransform/motionTransform.en.mdx +51 -0
- package/src/media/mdx/MotionTransform/motionTransform.ru.mdx +51 -0
- package/src/media/mdx/MotionTransform/slots.en.mdx +5 -0
- package/src/media/mdx/MotionTransform/slots.ru.mdx +5 -0
- package/src/media/mdx/MotionTransform/v-model.en.mdx +19 -0
- package/src/media/mdx/MotionTransform/v-model.ru.mdx +19 -0
- package/src/media/mdx/MotionTransform/wikiMdxMotionTransform.ts +67 -0
- package/src/media/mdx/Page/page.en.mdx +38 -0
- package/src/media/mdx/Page/page.ru.mdx +38 -0
- package/src/media/mdx/Page/wikiMdxPage.ts +19 -0
- package/src/media/mdx/Progress/circular.en.mdx +24 -0
- package/src/media/mdx/Progress/circular.ru.mdx +24 -0
- package/src/media/mdx/Progress/delays.en.mdx +24 -0
- package/src/media/mdx/Progress/delays.ru.mdx +24 -0
- package/src/media/mdx/Progress/linear.en.mdx +25 -0
- package/src/media/mdx/Progress/linear.ru.mdx +25 -0
- package/src/media/mdx/Progress/progress.en.mdx +71 -0
- package/src/media/mdx/Progress/progress.ru.mdx +71 -0
- package/src/media/mdx/Progress/values.en.mdx +24 -0
- package/src/media/mdx/Progress/values.ru.mdx +24 -0
- package/src/media/mdx/Progress/wikiMdxProgress.ts +38 -0
- package/src/media/mdx/Ripple/ripple.en.mdx +42 -0
- package/src/media/mdx/Ripple/ripple.ru.mdx +42 -0
- package/src/media/mdx/Ripple/wikiMdxRipple.ts +14 -0
- package/src/media/mdx/Scrollbar/emits-include.en.mdx +38 -0
- package/src/media/mdx/Scrollbar/emits-include.ru.mdx +38 -0
- package/src/media/mdx/Scrollbar/emits.en.mdx +38 -0
- package/src/media/mdx/Scrollbar/emits.ru.mdx +38 -0
- package/src/media/mdx/Scrollbar/scrollbar.en.mdx +39 -0
- package/src/media/mdx/Scrollbar/scrollbar.ru.mdx +39 -0
- package/src/media/mdx/Scrollbar/wikiMdxScrollbar.ts +31 -0
- package/src/media/mdx/Section/section.en.mdx +38 -0
- package/src/media/mdx/Section/section.ru.mdx +38 -0
- package/src/media/mdx/Section/wikiMdxSection.ts +19 -0
- package/src/media/mdx/Select/select.en.mdx +69 -0
- package/src/media/mdx/Select/select.ru.mdx +69 -0
- package/src/media/mdx/Select/wikiMdxSelect.ts +19 -0
- package/src/media/mdx/SelectValue/selectValue.en.mdx +64 -0
- package/src/media/mdx/SelectValue/selectValue.ru.mdx +64 -0
- package/src/media/mdx/SelectValue/wikiMdxSelectValue.ts +19 -0
- package/src/media/mdx/Skeleton/classes.en.mdx +13 -0
- package/src/media/mdx/Skeleton/classes.ru.mdx +13 -0
- package/src/media/mdx/Skeleton/expose.isActive.en.mdx +1 -0
- package/src/media/mdx/Skeleton/expose.isActive.ru.mdx +1 -0
- package/src/media/mdx/Skeleton/skeleton.en.mdx +45 -0
- package/src/media/mdx/Skeleton/skeleton.ru.mdx +45 -0
- package/src/media/mdx/Skeleton/wikiMdxSkeleton.ts +28 -0
- package/src/media/mdx/Snackbar/adaptation.en.mdx +10 -0
- package/src/media/mdx/Snackbar/adaptation.ru.mdx +10 -0
- package/src/media/mdx/Snackbar/add.en.mdx +44 -0
- package/src/media/mdx/Snackbar/add.ru.mdx +44 -0
- package/src/media/mdx/Snackbar/event.hide.en.mdx +12 -0
- package/src/media/mdx/Snackbar/event.hide.ru.mdx +12 -0
- package/src/media/mdx/Snackbar/event.show.en.mdx +11 -0
- package/src/media/mdx/Snackbar/event.show.ru.mdx +11 -0
- package/src/media/mdx/Snackbar/expose.add.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.add.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.clear.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.clear.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.isItem.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.isItem.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.remove.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.remove.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/position.en.mdx +10 -0
- package/src/media/mdx/Snackbar/position.ru.mdx +10 -0
- package/src/media/mdx/Snackbar/snackbar.en.mdx +46 -0
- package/src/media/mdx/Snackbar/snackbar.ru.mdx +46 -0
- package/src/media/mdx/Snackbar/wikiMdxSnackbar.ts +73 -0
- package/src/media/mdx/SnackbarItem/component.en.mdx +9 -0
- package/src/media/mdx/SnackbarItem/component.ru.mdx +9 -0
- package/src/media/mdx/SnackbarItem/event.close.en.mdx +18 -0
- package/src/media/mdx/SnackbarItem/event.close.ru.mdx +18 -0
- package/src/media/mdx/SnackbarItem/html.en.mdx +6 -0
- package/src/media/mdx/SnackbarItem/html.ru.mdx +6 -0
- package/src/media/mdx/SnackbarItem/role.en.mdx +18 -0
- package/src/media/mdx/SnackbarItem/role.ru.mdx +18 -0
- package/src/media/mdx/SnackbarItem/snackbarItem.en.mdx +44 -0
- package/src/media/mdx/SnackbarItem/snackbarItem.ru.mdx +44 -0
- package/src/media/mdx/SnackbarItem/wikiMdxSnackbarItem.ts +47 -0
- package/src/media/mdx/TabItem/tabItem.en.mdx +52 -0
- package/src/media/mdx/TabItem/tabItem.ru.mdx +38 -0
- package/src/media/mdx/TabItem/wikiMdxTabItem.ts +19 -0
- package/src/media/mdx/Tabs/tabs.en.mdx +44 -0
- package/src/media/mdx/Tabs/tabs.ru.mdx +44 -0
- package/src/media/mdx/Tabs/v-model.en.mdx +27 -0
- package/src/media/mdx/Tabs/v-model.ru.mdx +27 -0
- package/src/media/mdx/Tabs/wikiMdxTabs.ts +25 -0
- package/src/media/mdx/TabsNavigation/tabsNavigation.en.mdx +40 -0
- package/src/media/mdx/TabsNavigation/tabsNavigation.ru.mdx +40 -0
- package/src/media/mdx/TabsNavigation/v-model.en.mdx +27 -0
- package/src/media/mdx/TabsNavigation/v-model.ru.mdx +27 -0
- package/src/media/mdx/TabsNavigation/wikiMdxTabsNavigation.ts +25 -0
- package/src/media/mdx/Textarea/autosize.en.mdx +35 -0
- package/src/media/mdx/Textarea/autosize.ru.mdx +35 -0
- package/src/media/mdx/Textarea/textarea.en.mdx +39 -0
- package/src/media/mdx/Textarea/textarea.ru.mdx +39 -0
- package/src/media/mdx/Textarea/wikiMdxTextarea.ts +25 -0
- package/src/media/mdx/TextareaAutosize/textarea-autosize.en.mdx +65 -0
- package/src/media/mdx/TextareaAutosize/textarea-autosize.ru.mdx +65 -0
- package/src/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.ts +19 -0
- package/src/media/mdx/Tooltip/event.tooltip.en.mdx +7 -0
- package/src/media/mdx/Tooltip/event.tooltip.ru.mdx +8 -0
- package/src/media/mdx/Tooltip/slot.control.en.mdx +5 -0
- package/src/media/mdx/Tooltip/slot.control.ru.mdx +5 -0
- package/src/media/mdx/Tooltip/tooltip.en.mdx +34 -0
- package/src/media/mdx/Tooltip/tooltip.ru.mdx +34 -0
- package/src/media/mdx/Tooltip/wikiMdxTooltip.ts +31 -0
- package/src/media/mdx/Window/axis.en.mdx +17 -0
- package/src/media/mdx/Window/axis.ru.mdx +17 -0
- package/src/media/mdx/Window/classes.en.mdx +11 -0
- package/src/media/mdx/Window/classes.ru.mdx +11 -0
- package/src/media/mdx/Window/event.window.en.mdx +31 -0
- package/src/media/mdx/Window/event.window.ru.mdx +31 -0
- package/src/media/mdx/Window/expose.en.mdx +17 -0
- package/src/media/mdx/Window/expose.ru.mdx +17 -0
- package/src/media/mdx/Window/hooks.en.mdx +31 -0
- package/src/media/mdx/Window/hooks.ru.mdx +31 -0
- package/src/media/mdx/Window/slots.en.mdx +29 -0
- package/src/media/mdx/Window/slots.ru.mdx +29 -0
- package/src/media/mdx/Window/staticMode.en.mdx +10 -0
- package/src/media/mdx/Window/staticMode.ru.mdx +10 -0
- package/src/media/mdx/Window/v-model.en.mdx +25 -0
- package/src/media/mdx/Window/v-model.ru.mdx +25 -0
- package/src/media/mdx/Window/wikiMdxWindow.ts +67 -0
- package/src/media/mdx/Window/window.en.mdx +55 -0
- package/src/media/mdx/Window/window.ru.mdx +55 -0
- package/src/media/mdx/event/events.actions.en.mdx +44 -0
- package/src/media/mdx/event/events.actions.ru.mdx +44 -0
- package/src/media/mdx/event/events.bars.en.mdx +50 -0
- package/src/media/mdx/event/events.bars.ru.mdx +50 -0
- package/src/media/mdx/event/events.beforeinput.en.mdx +13 -0
- package/src/media/mdx/event/events.beforeinput.ru.mdx +13 -0
- package/src/media/mdx/event/events.click.en.mdx +36 -0
- package/src/media/mdx/event/events.click.ru.mdx +36 -0
- package/src/media/mdx/event/events.focus.en.mdx +13 -0
- package/src/media/mdx/event/events.focus.ru.mdx +13 -0
- package/src/media/mdx/event/events.input.en.mdx +89 -0
- package/src/media/mdx/event/events.input.ru.mdx +88 -0
- package/src/media/mdx/event/events.inputStandard.en.mdx +6 -0
- package/src/media/mdx/event/events.inputStandard.ru.mdx +6 -0
- package/src/media/mdx/event/events.keyboard.en.mdx +13 -0
- package/src/media/mdx/event/events.keyboard.ru.mdx +13 -0
- package/src/media/mdx/event/events.paste.en.mdx +6 -0
- package/src/media/mdx/event/events.paste.ru.mdx +6 -0
- package/src/media/mdx/event/events.reset.en.mdx +6 -0
- package/src/media/mdx/event/events.reset.ru.mdx +6 -0
- package/src/media/mdx/event/wikiMdxEvent.ts +68 -0
- package/src/media/mdx/expose/expose.checkValidity.en.mdx +1 -0
- package/src/media/mdx/expose/expose.checkValidity.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.clear.en.mdx +1 -0
- package/src/media/mdx/expose/expose.clear.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.descriptionId.en.mdx +2 -0
- package/src/media/mdx/expose/expose.descriptionId.ru.mdx +2 -0
- package/src/media/mdx/expose/expose.detail.en.mdx +1 -0
- package/src/media/mdx/expose/expose.detail.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.id.en.mdx +2 -0
- package/src/media/mdx/expose/expose.id.ru.mdx +2 -0
- package/src/media/mdx/expose/expose.labelId.en.mdx +2 -0
- package/src/media/mdx/expose/expose.labelId.ru.mdx +2 -0
- package/src/media/mdx/expose/expose.open.en.mdx +1 -0
- package/src/media/mdx/expose/expose.open.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.selected.en.mdx +4 -0
- package/src/media/mdx/expose/expose.selected.ru.mdx +4 -0
- package/src/media/mdx/expose/expose.validationMessage.en.mdx +1 -0
- package/src/media/mdx/expose/expose.validationMessage.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.value.en.mdx +1 -0
- package/src/media/mdx/expose/expose.value.ru.mdx +1 -0
- package/src/media/mdx/expose/wikiMdxExpose.ts +68 -0
- package/src/media/mdx/slot/body.en.mdx +1 -0
- package/src/media/mdx/slot/body.ru.mdx +1 -0
- package/src/media/mdx/slot/caption.en.mdx +1 -0
- package/src/media/mdx/slot/caption.ru.mdx +1 -0
- package/src/media/mdx/slot/control.en.mdx +1 -0
- package/src/media/mdx/slot/control.ru.mdx +1 -0
- package/src/media/mdx/slot/default.en.mdx +1 -0
- package/src/media/mdx/slot/default.ru.mdx +1 -0
- package/src/media/mdx/slot/description.en.mdx +1 -0
- package/src/media/mdx/slot/description.ru.mdx +1 -0
- package/src/media/mdx/slot/footer.en.mdx +1 -0
- package/src/media/mdx/slot/footer.ru.mdx +1 -0
- package/src/media/mdx/slot/headline.en.mdx +1 -0
- package/src/media/mdx/slot/headline.ru.mdx +1 -0
- package/src/media/mdx/slot/label.en.mdx +1 -0
- package/src/media/mdx/slot/label.ru.mdx +1 -0
- package/src/media/mdx/slot/leading.en.mdx +1 -0
- package/src/media/mdx/slot/leading.ru.mdx +1 -0
- package/src/media/mdx/slot/prefix.en.mdx +1 -0
- package/src/media/mdx/slot/prefix.ru.mdx +1 -0
- package/src/media/mdx/slot/secondary.en.mdx +1 -0
- package/src/media/mdx/slot/secondary.ru.mdx +1 -0
- package/src/media/mdx/slot/suffix.en.mdx +1 -0
- package/src/media/mdx/slot/suffix.ru.mdx +1 -0
- package/src/media/mdx/slot/trailing.en.mdx +1 -0
- package/src/media/mdx/slot/trailing.ru.mdx +1 -0
- package/src/media/mdx/slot/wikiMdxSlot.ts +84 -0
- package/src/media/mdx/style/adaptive.en.mdx +10 -0
- package/src/media/mdx/style/adaptive.ru.mdx +10 -0
- package/src/media/mdx/style/asPalette.en.mdx +17 -0
- package/src/media/mdx/style/asPalette.ru.mdx +17 -0
- package/src/media/mdx/style/dir.en.mdx +17 -0
- package/src/media/mdx/style/dir.ru.mdx +17 -0
- package/src/media/mdx/style/isSkeleton.en.mdx +22 -0
- package/src/media/mdx/style/isSkeleton.ru.mdx +22 -0
- package/src/media/mdx/style/wikiMdxStyle.ts +20 -0
- package/src/media/mdx/value/highlight.en.mdx +25 -0
- package/src/media/mdx/value/highlight.ru.mdx +25 -0
- package/src/media/mdx/value/labelNumber.en.mdx +47 -0
- package/src/media/mdx/value/labelNumber.ru.mdx +47 -0
- package/src/media/mdx/value/v-model-selected.en.mdx +28 -0
- package/src/media/mdx/value/v-model-selected.ru.mdx +28 -0
- package/src/media/mdx/value/v-model.en.mdx +26 -0
- package/src/media/mdx/value/v-model.ru.mdx +26 -0
- package/src/media/mdx/value/value.en.mdx +10 -0
- package/src/media/mdx/value/value.ru.mdx +10 -0
- package/src/media/mdx/value/wikiMdxValue.ts +38 -0
- package/src/media/mdx/wikiMdx.ts +121 -0
- package/src/media/props/wiki.ts +107 -0
- package/src/media/props/wikiActions.ts +45 -0
- package/src/media/props/wikiActionsInclude.ts +66 -0
- package/src/media/props/wikiAnchor.ts +91 -0
- package/src/media/props/wikiAria.ts +145 -0
- package/src/media/props/wikiArrow.ts +25 -0
- package/src/media/props/wikiArrowInclude.ts +48 -0
- package/src/media/props/wikiAttributes.ts +211 -0
- package/src/media/props/wikiBadge.ts +48 -0
- package/src/media/props/wikiBars.ts +145 -0
- package/src/media/props/wikiBarsInclude.ts +87 -0
- package/src/media/props/wikiButton.ts +61 -0
- package/src/media/props/wikiCheckbox.ts +25 -0
- package/src/media/props/wikiChip.ts +37 -0
- package/src/media/props/wikiChipGroup.ts +39 -0
- package/src/media/props/wikiDialog.ts +33 -0
- package/src/media/props/wikiField.ts +121 -0
- package/src/media/props/wikiFieldCounterInclude.ts +89 -0
- package/src/media/props/wikiForm.ts +323 -0
- package/src/media/props/wikiGridItem.ts +73 -0
- package/src/media/props/wikiHook.ts +79 -0
- package/src/media/props/wikiIcon.ts +146 -0
- package/src/media/props/wikiIconInclude.ts +365 -0
- package/src/media/props/wikiImage.ts +208 -0
- package/src/media/props/wikiInformation.ts +220 -0
- package/src/media/props/wikiInput.ts +35 -0
- package/src/media/props/wikiList.ts +281 -0
- package/src/media/props/wikiListItem.ts +101 -0
- package/src/media/props/wikiMask.ts +123 -0
- package/src/media/props/wikiMaskInclude.ts +58 -0
- package/src/media/props/wikiMenu.ts +84 -0
- package/src/media/props/wikiMotionAxis.ts +55 -0
- package/src/media/props/wikiMotionTransform.ts +82 -0
- package/src/media/props/wikiOption.ts +410 -0
- package/src/media/props/wikiProgress.ts +104 -0
- package/src/media/props/wikiPropsTextarea.ts +24 -0
- package/src/media/props/wikiScrollbar.ts +89 -0
- package/src/media/props/wikiSelect.ts +68 -0
- package/src/media/props/wikiSelectValue.ts +30 -0
- package/src/media/props/wikiSnackbar.ts +58 -0
- package/src/media/props/wikiSnackbarItem.ts +39 -0
- package/src/media/props/wikiStatus.ts +172 -0
- package/src/media/props/wikiStyle.ts +382 -0
- package/src/media/props/wikiTabs.ts +15 -0
- package/src/media/props/wikiTabsNavigation.ts +54 -0
- package/src/media/props/wikiTechnical.ts +199 -0
- package/src/media/props/wikiText.ts +181 -0
- package/src/media/props/wikiTooltip.ts +53 -0
- package/src/media/props/wikiValue.ts +197 -0
- package/src/media/props/wikiWindow.ts +277 -0
- package/src/media/styles/en/about.mdx +79 -0
- package/src/media/styles/en/color.mdx +711 -0
- package/src/media/styles/en/content.mdx +29 -0
- package/src/media/styles/en/dimension.mdx +233 -0
- package/src/media/styles/en/dir.mdx +193 -0
- package/src/media/styles/en/flex.mdx +249 -0
- package/src/media/styles/en/font.mdx +171 -0
- package/src/media/styles/en/margin.mdx +115 -0
- package/src/media/styles/en/media.mdx +133 -0
- package/src/media/styles/en/padding.mdx +115 -0
- package/src/media/styles/en/position.mdx +183 -0
- package/src/media/styles/en/rules.mdx +117 -0
- package/src/media/styles/en/scrollbar.mdx +27 -0
- package/src/media/styles/en/selector.mdx +153 -0
- package/src/media/styles/en/transform.mdx +114 -0
- package/src/media/styles/ru/about.mdx +78 -0
- package/src/media/styles/ru/color.mdx +711 -0
- package/src/media/styles/ru/content.mdx +30 -0
- package/src/media/styles/ru/dimension.mdx +233 -0
- package/src/media/styles/ru/dir.mdx +193 -0
- package/src/media/styles/ru/flex.mdx +249 -0
- package/src/media/styles/ru/font.mdx +171 -0
- package/src/media/styles/ru/margin.mdx +115 -0
- package/src/media/styles/ru/media.mdx +133 -0
- package/src/media/styles/ru/padding.mdx +115 -0
- package/src/media/styles/ru/position.mdx +183 -0
- package/src/media/styles/ru/rules.mdx +117 -0
- package/src/media/styles/ru/scrollbar.mdx +27 -0
- package/src/media/styles/ru/selector.mdx +153 -0
- package/src/media/styles/ru/transform.mdx +114 -0
- package/src/media.ts +3 -0
- package/src/types/storybookTypes.ts +273 -0
- package/src/types/wikiTypes.ts +10 -0
- package/src/vite-env.d.ts +1 -0
- package/dist/classes/WikiStorybook.d.ts +0 -161
- package/dist/classes/WikiStorybookDescriptions.d.ts +0 -29
- package/dist/classes/WikiStorybookItem.d.ts +0 -122
- package/dist/classes/WikiStorybookProp.d.ts +0 -76
- package/dist/documentation/storybook/StorybookDescriptions.d.ts +0 -12
- package/dist/documentation/storybook/StorybookMain.d.ts +0 -6
- package/dist/library.d.ts +0 -8
- package/dist/library.js +0 -35863
- package/dist/media/descriptions/wikiDescriptions.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsAccordion.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsActionSheet.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsActions.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsAnchor.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsArrow.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsBadge.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsBars.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsBlock.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsButton.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsCell.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsCheckbox.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsChip.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsChipGroup.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsDialog.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsDummy.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsField.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsFieldCounter.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsFieldLabel.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsFieldMessage.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsGrid.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsGridItem.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsGroup.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsHorizontalScroll.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsIcon.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsImage.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsInput.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsList.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsListGroup.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsListItem.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsListMenu.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMask.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMenu.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsModal.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMotionAxis.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMotionTransform.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsPage.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsProgress.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsRipple.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsScrollbar.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSection.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSelect.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSelectValue.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSkeleton.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsSnackbar.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSnackbarItem.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsTabItem.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsTabs.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsTabsNavigation.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsTextarea.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsTextareaAutosize.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsTooltip.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsWindow.d.ts +0 -7
- package/dist/media/mdx/Accordion/wikiMdxAccordion.d.ts +0 -7
- package/dist/media/mdx/ActionSheet/wikiMdxActionSheet.d.ts +0 -7
- package/dist/media/mdx/Actions/wikiMdxActions.d.ts +0 -7
- package/dist/media/mdx/Anchor/wikiMdxAnchor.d.ts +0 -7
- package/dist/media/mdx/Arrow/wikiMdxArrow.d.ts +0 -7
- package/dist/media/mdx/Badge/wikiMdxBadge.d.ts +0 -7
- package/dist/media/mdx/Bars/wikiMdxBars.d.ts +0 -7
- package/dist/media/mdx/Block/wikiMdxBlock.d.ts +0 -7
- package/dist/media/mdx/Button/wikiMdxButton.d.ts +0 -7
- package/dist/media/mdx/Cell/wikiMdxCell.d.ts +0 -7
- package/dist/media/mdx/Checkbox/wikiMdxCheckbox.d.ts +0 -7
- package/dist/media/mdx/Chip/wikiMdxChip.d.ts +0 -7
- package/dist/media/mdx/ChipGroup/wikiMdxChipGroup.d.ts +0 -7
- package/dist/media/mdx/Dialog/wikiMdxDialog.d.ts +0 -7
- package/dist/media/mdx/Dummy/wikiMdxDummy.d.ts +0 -7
- package/dist/media/mdx/Field/wikiMdxField.d.ts +0 -7
- package/dist/media/mdx/FieldCounter/wikiMdxFieldCounter.d.ts +0 -7
- package/dist/media/mdx/FieldLabel/wikiMdxFieldLabel.d.ts +0 -7
- package/dist/media/mdx/FieldMessage/wikiMdxFieldMessage.d.ts +0 -7
- package/dist/media/mdx/Grid/wikiMdxGrid.d.ts +0 -7
- package/dist/media/mdx/GridItem/wikiMdxGridItem.d.ts +0 -7
- package/dist/media/mdx/Group/wikiMdxGroup.d.ts +0 -7
- package/dist/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.d.ts +0 -7
- package/dist/media/mdx/Icon/wikiMdxIcon.d.ts +0 -2
- package/dist/media/mdx/Image/wikiMdxImage.d.ts +0 -2
- package/dist/media/mdx/Input/wikiMdxInput.d.ts +0 -7
- package/dist/media/mdx/List/wikiMdxList.d.ts +0 -7
- package/dist/media/mdx/ListGroup/wikiMdxListGroup.d.ts +0 -7
- package/dist/media/mdx/ListItem/wikiMdxListItem.d.ts +0 -7
- package/dist/media/mdx/ListMenu/wikiMdxListMenu.d.ts +0 -7
- package/dist/media/mdx/Mask/wikiMdxMask.d.ts +0 -7
- package/dist/media/mdx/Menu/wikiMdxMenu.d.ts +0 -3
- package/dist/media/mdx/Modal/wikiMdxModal.d.ts +0 -7
- package/dist/media/mdx/MotionAxis/wikiMdxMotionAxis.d.ts +0 -7
- package/dist/media/mdx/MotionTransform/wikiMdxMotionTransform.d.ts +0 -7
- package/dist/media/mdx/Page/wikiMdxPage.d.ts +0 -7
- package/dist/media/mdx/Progress/wikiMdxProgress.d.ts +0 -2
- package/dist/media/mdx/Ripple/wikiMdxRipple.d.ts +0 -2
- package/dist/media/mdx/Scrollbar/wikiMdxScrollbar.d.ts +0 -7
- package/dist/media/mdx/Section/wikiMdxSection.d.ts +0 -7
- package/dist/media/mdx/Select/wikiMdxSelect.d.ts +0 -7
- package/dist/media/mdx/SelectValue/wikiMdxSelectValue.d.ts +0 -7
- package/dist/media/mdx/Skeleton/wikiMdxSkeleton.d.ts +0 -2
- package/dist/media/mdx/Snackbar/wikiMdxSnackbar.d.ts +0 -7
- package/dist/media/mdx/SnackbarItem/wikiMdxSnackbarItem.d.ts +0 -7
- package/dist/media/mdx/TabItem/wikiMdxTabItem.d.ts +0 -7
- package/dist/media/mdx/Tabs/wikiMdxTabs.d.ts +0 -7
- package/dist/media/mdx/TabsNavigation/wikiMdxTabsNavigation.d.ts +0 -7
- package/dist/media/mdx/Textarea/wikiMdxTextarea.d.ts +0 -7
- package/dist/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.d.ts +0 -7
- package/dist/media/mdx/Tooltip/wikiMdxTooltip.d.ts +0 -7
- package/dist/media/mdx/Window/wikiMdxWindow.d.ts +0 -7
- package/dist/media/mdx/event/wikiMdxEvent.d.ts +0 -2
- package/dist/media/mdx/expose/wikiMdxExpose.d.ts +0 -2
- package/dist/media/mdx/slot/wikiMdxSlot.d.ts +0 -2
- package/dist/media/mdx/style/wikiMdxStyle.d.ts +0 -2
- package/dist/media/mdx/value/wikiMdxValue.d.ts +0 -2
- package/dist/media/mdx/wikiMdx.d.ts +0 -2
- package/dist/media/props/wiki.d.ts +0 -2
- package/dist/media/props/wikiActions.d.ts +0 -7
- package/dist/media/props/wikiActionsInclude.d.ts +0 -7
- package/dist/media/props/wikiAnchor.d.ts +0 -7
- package/dist/media/props/wikiAria.d.ts +0 -7
- package/dist/media/props/wikiArrow.d.ts +0 -7
- package/dist/media/props/wikiArrowInclude.d.ts +0 -7
- package/dist/media/props/wikiAttributes.d.ts +0 -7
- package/dist/media/props/wikiBadge.d.ts +0 -7
- package/dist/media/props/wikiBars.d.ts +0 -7
- package/dist/media/props/wikiBarsInclude.d.ts +0 -7
- package/dist/media/props/wikiButton.d.ts +0 -7
- package/dist/media/props/wikiCheckbox.d.ts +0 -7
- package/dist/media/props/wikiChip.d.ts +0 -7
- package/dist/media/props/wikiChipGroup.d.ts +0 -7
- package/dist/media/props/wikiDialog.d.ts +0 -7
- package/dist/media/props/wikiField.d.ts +0 -7
- package/dist/media/props/wikiFieldCounterInclude.d.ts +0 -7
- package/dist/media/props/wikiForm.d.ts +0 -2
- package/dist/media/props/wikiGridItem.d.ts +0 -7
- package/dist/media/props/wikiHook.d.ts +0 -7
- package/dist/media/props/wikiIcon.d.ts +0 -2
- package/dist/media/props/wikiIconInclude.d.ts +0 -2
- package/dist/media/props/wikiImage.d.ts +0 -7
- package/dist/media/props/wikiInformation.d.ts +0 -2
- package/dist/media/props/wikiInput.d.ts +0 -7
- package/dist/media/props/wikiList.d.ts +0 -7
- package/dist/media/props/wikiListItem.d.ts +0 -7
- package/dist/media/props/wikiMask.d.ts +0 -7
- package/dist/media/props/wikiMaskInclude.d.ts +0 -7
- package/dist/media/props/wikiMenu.d.ts +0 -7
- package/dist/media/props/wikiMotionAxis.d.ts +0 -7
- package/dist/media/props/wikiMotionTransform.d.ts +0 -7
- package/dist/media/props/wikiOption.d.ts +0 -7
- package/dist/media/props/wikiProgress.d.ts +0 -7
- package/dist/media/props/wikiPropsTextarea.d.ts +0 -7
- package/dist/media/props/wikiScrollbar.d.ts +0 -7
- package/dist/media/props/wikiSelect.d.ts +0 -7
- package/dist/media/props/wikiSelectValue.d.ts +0 -7
- package/dist/media/props/wikiSnackbar.d.ts +0 -7
- package/dist/media/props/wikiSnackbarItem.d.ts +0 -7
- package/dist/media/props/wikiStatus.d.ts +0 -7
- package/dist/media/props/wikiStyle.d.ts +0 -7
- package/dist/media/props/wikiTabs.d.ts +0 -7
- package/dist/media/props/wikiTabsNavigation.d.ts +0 -7
- package/dist/media/props/wikiTechnical.d.ts +0 -7
- package/dist/media/props/wikiText.d.ts +0 -7
- package/dist/media/props/wikiTooltip.d.ts +0 -7
- package/dist/media/props/wikiValue.d.ts +0 -7
- package/dist/media/props/wikiWindow.d.ts +0 -7
- package/dist/media.d.ts +0 -6
- package/dist/storybook.d.ts +0 -2
- package/dist/types/storybookTypes.d.ts +0 -244
- package/dist/types/wikiTypes.d.ts +0 -9
- /package/{dist → src}/shims-mdx.d.ts +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
Компонент текстового поля ввода с поддержкой валидации, маскирования и форматирования.
|
|
2
|
+
|
|
3
|
+
Input предоставляет гибкий интерфейс для ввода данных различных типов: текст, числа, email, пароли, телефоны, URL, даты и время. Компонент автоматически применяет соответствующую валидацию, форматирование и клавиатуру в зависимости от указанного типа. Поддерживает маскирование для структурированного ввода (телефоны, даты, кастомные паттерны), форматирование валют и чисел, управление видимостью пароля и интеграцию с компонентом Field для единообразной стилизации.
|
|
4
|
+
|
|
5
|
+
**Основные возможности:**
|
|
6
|
+
|
|
7
|
+
- Множественные типы ввода (text, number, email, password, tel, url, date, time и другие)
|
|
8
|
+
- Встроенная валидация с пользовательскими сообщениями
|
|
9
|
+
- Маскирование для форматированного ввода
|
|
10
|
+
- Форматирование валюты и чисел с локализацией
|
|
11
|
+
- Переключатель видимости пароля
|
|
12
|
+
- Префикс и суффикс для дополнительного контекста
|
|
13
|
+
- Счётчик символов для ограничения длины
|
|
14
|
+
- Стрелки навигации для числовых значений
|
|
15
|
+
- Поддержка автозаполнения и проверки орфографии
|
|
16
|
+
- Кнопка очистки значения
|
|
17
|
+
|
|
18
|
+
**Типичные сценарии использования:**
|
|
19
|
+
|
|
20
|
+
- Формы регистрации и авторизации
|
|
21
|
+
- Поля ввода контактных данных (email, телефон)
|
|
22
|
+
- Числовые поля (количество, цена, возраст)
|
|
23
|
+
- Поля для ввода паролей с переключением видимости
|
|
24
|
+
- Поля поиска с быстрой очисткой
|
|
25
|
+
- Форматированный ввод (телефоны, даты, карты)
|
|
26
|
+
- Валютные поля с автоматическим форматированием
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<script setup>
|
|
30
|
+
import { ref } from 'vue'
|
|
31
|
+
|
|
32
|
+
const email = ref('')
|
|
33
|
+
const password = ref('')
|
|
34
|
+
|
|
35
|
+
const handleInput = (event, validation) => {
|
|
36
|
+
console.log('Введённое значение:', validation.value)
|
|
37
|
+
console.log('Валидно:', validation.status)
|
|
38
|
+
}
|
|
39
|
+
</script>
|
|
40
|
+
|
|
41
|
+
<template>
|
|
42
|
+
<div class="form">
|
|
43
|
+
<Input
|
|
44
|
+
v-model="email"
|
|
45
|
+
type="email"
|
|
46
|
+
label="Email"
|
|
47
|
+
placeholder="example@mail.com"
|
|
48
|
+
required
|
|
49
|
+
@input="handleInput"
|
|
50
|
+
/>
|
|
51
|
+
|
|
52
|
+
<Input
|
|
53
|
+
v-model="password"
|
|
54
|
+
type="password"
|
|
55
|
+
label="Пароль"
|
|
56
|
+
placeholder="Введите пароль"
|
|
57
|
+
minlength="8"
|
|
58
|
+
required
|
|
59
|
+
iconVisibility="visibility"
|
|
60
|
+
iconVisibilityOff="visibility_off"
|
|
61
|
+
/>
|
|
62
|
+
|
|
63
|
+
<Input
|
|
64
|
+
type="currency"
|
|
65
|
+
label="Цена"
|
|
66
|
+
currency="RUB"
|
|
67
|
+
language="ru-RU"
|
|
68
|
+
/>
|
|
69
|
+
</div>
|
|
70
|
+
</template>
|
|
71
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
## Input Masking
|
|
2
|
+
|
|
3
|
+
Properties `mask`, `maskVisible`, `maskNone`, and `maskAttrs` are designed to manage formatted input with automatic separator insertion and character control at specified positions.
|
|
4
|
+
|
|
5
|
+
**Properties:**
|
|
6
|
+
|
|
7
|
+
- `mask` — mask template as a string (e.g., `+1 (***) ***-****`)
|
|
8
|
+
- `maskVisible` — controls placeholder characters display (default `true`)
|
|
9
|
+
- `maskNone` — completely disables the mask
|
|
10
|
+
- `maskAttrs` — object with extended mask settings
|
|
11
|
+
|
|
12
|
+
Properties work together: `mask` defines the formatting structure, where special character (default `*`) defines positions for digit input, and other characters (spaces, brackets, hyphens) are automatically inserted as fixed separators. `maskVisible` controls the display of unfilled positions, where when set to `true` they are displayed with placeholder characters `_`, and when `false` only entered characters with separators are shown. `maskNone` allows completely disabling masking logic, converting the field to a regular text input. `maskAttrs` provides access to extended settings, allowing configuration of special characters (`special`), regular expressions for validation (`match`), custom placeholder characters (`view`), validation patterns (`pattern`), and rubber groups (`rubber`).
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<script setup>
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
const value = ref('')
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<!-- US Phone -->
|
|
22
|
+
<Input v-model="value" type="tel" mask="+1 (###) ###-####" placeholder="+1 (555) 000-0000" label="Phone" />
|
|
23
|
+
|
|
24
|
+
<!-- Credit Card -->
|
|
25
|
+
<Input v-model="value" type="text" mask="#### #### #### ####" placeholder="0000 0000 0000 0000" label="Card" />
|
|
26
|
+
|
|
27
|
+
<!-- Without placeholder display -->
|
|
28
|
+
<Input v-model="value" type="tel" mask="+1 (###) ###-####" :mask-visible="false" label="No placeholder" />
|
|
29
|
+
</template>
|
|
30
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
## Маскирование ввода
|
|
2
|
+
|
|
3
|
+
Свойства `mask`, `maskVisible`, `maskNone` и `maskAttrs` предназначены для управления форматированным вводом с автоматической подстановкой разделителей и контролем символов в заданных позициях.
|
|
4
|
+
|
|
5
|
+
**Свойства:**
|
|
6
|
+
|
|
7
|
+
- `mask` — шаблон маски в виде строки (например, `+1 (***) ***-****`)
|
|
8
|
+
- `maskVisible` — управляет отображением символов-заполнителей (по умолчанию `true`)
|
|
9
|
+
- `maskNone` — полностью отключает маску
|
|
10
|
+
- `maskAttrs` — объект с расширенными настройками маски
|
|
11
|
+
|
|
12
|
+
Свойства работают совместно: `mask` определяет структуру форматирования, где специальный символ (по умолчанию `*`) определяет позиции для ввода цифр, а остальные символы (пробелы, скобки, дефисы) автоматически подставляются как фиксированные разделители. `maskVisible` управляет отображением незаполненных позиций, где при значении `true` они отображаются символами-заполнителями `_`, а при `false` показываются только введённые символы с разделителями. `maskNone` позволяет полностью отключить логику маскирования, превращая поле в обычный текстовый инпут. `maskAttrs` обеспечивает доступ к расширенным настройкам, позволяя настраивать специальные символы (`special`), регулярные выражения для проверки (`match`), кастомные символы-заполнители (`view`), паттерны валидации (`pattern`) и резиновые группы (`rubber`).
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<script setup>
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
const value = ref('')
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<!-- Телефон США -->
|
|
22
|
+
<Input v-model="value" type="tel" mask="+1 (###) ###-####" placeholder="+1 (555) 000-0000" label="Телефон" />
|
|
23
|
+
|
|
24
|
+
<!-- Кредитная карта -->
|
|
25
|
+
<Input v-model="value" type="text" mask="#### #### #### ####" placeholder="0000 0000 0000 0000" label="Карта" />
|
|
26
|
+
|
|
27
|
+
<!-- Без отображения символов-заполнителей -->
|
|
28
|
+
<Input v-model="value" type="tel" mask="+1 (###) ###-####" :mask-visible="false" label="Без заполнителя" />
|
|
29
|
+
</template>
|
|
30
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
## Working with Numbers
|
|
2
|
+
|
|
3
|
+
Properties `type`, `fraction`, `language`, `min`, `max`, `step`, `arrow`, `arrowStep`, and `align` are designed to manage numeric value input and formatting with localization support and interactive control elements.
|
|
4
|
+
|
|
5
|
+
**Properties:**
|
|
6
|
+
|
|
7
|
+
- `type` — input type (`number` or `number-format`)
|
|
8
|
+
- `fraction` — number of decimal places (number, `true` for dynamic fractional part)
|
|
9
|
+
- `language` — locale code for formatting (e.g., `ru-RU`, `en-US`)
|
|
10
|
+
- `min` — minimum allowed value
|
|
11
|
+
- `max` — maximum allowed value
|
|
12
|
+
- `step` — step size for keyboard input
|
|
13
|
+
- `arrow` — control arrows type (`auto`, `stepper`, `carousel`, `none`)
|
|
14
|
+
- `arrowStep` — step size for arrow clicks
|
|
15
|
+
- `align` — arrows placement (`left`, `center`, `right`)
|
|
16
|
+
|
|
17
|
+
Properties work together: `type` defines the base input mode, where `number` activates simple numeric input with basic validation without formatting, and `number-format` enables automatic formatting with thousands separators and decimal places depending on locale. `language` defines regional rules for thousands separators (space, comma, period) and decimal separator (period or comma). Properties `min` and `max` activate built-in range validation. `step` defines increment/decrement magnitude when using arrow keys up/down and Page Up/Down. Properties `arrow` and `arrowStep` add visual control elements (± buttons or < > arrows) with customizable step size, where if `arrowStep` is not specified, `step` value is used. `align` controls arrows placement in the input field.
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<script setup>
|
|
21
|
+
import { ref } from 'vue'
|
|
22
|
+
const value = ref('1234567.89')
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<template>
|
|
26
|
+
<!-- Simple numeric input -->
|
|
27
|
+
<Input v-model="value" type="number" label="Number" />
|
|
28
|
+
|
|
29
|
+
<!-- Formatted number with locale -->
|
|
30
|
+
<Input v-model="value" type="number-format" language="en-US" label="Formatted" />
|
|
31
|
+
|
|
32
|
+
<!-- With range constraints -->
|
|
33
|
+
<Input v-model="value" type="number" :min="0" :max="100" label="From 0 to 100" />
|
|
34
|
+
|
|
35
|
+
<!-- With step and stepper arrows -->
|
|
36
|
+
<Input v-model="value" type="number" arrow="stepper" :step="5" :arrow-step="10" label="Step 5/10" />
|
|
37
|
+
|
|
38
|
+
<!-- With center alignment -->
|
|
39
|
+
<Input v-model="value" type="number-format" align="center" :fraction="2" label="Centered" />
|
|
40
|
+
</template>
|
|
41
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
## Работа с числами
|
|
2
|
+
|
|
3
|
+
Свойства `type`, `fraction`, `language`, `min`, `max`, `step`, `arrow`, `arrowStep` и `align` предназначены для управления вводом и форматированием числовых значений с поддержкой локализации и интерактивных элементов управления.
|
|
4
|
+
|
|
5
|
+
**Свойства:**
|
|
6
|
+
|
|
7
|
+
- `type` — тип инпута (`number` или `number-format`)
|
|
8
|
+
- `fraction` — количество знаков после запятой (число, `true` для динамической дробной части)
|
|
9
|
+
- `language` — код локали для форматирования (например, `ru-RU`, `en-US`)
|
|
10
|
+
- `min` — минимальное допустимое значение
|
|
11
|
+
- `max` — максимальное допустимое значение
|
|
12
|
+
- `step` — шаг изменения при клавиатурном вводе
|
|
13
|
+
- `arrow` — тип управляющих стрелок (`auto`, `stepper`, `carousel`, `none`)
|
|
14
|
+
- `arrowStep` — шаг изменения при нажатии на стрелки
|
|
15
|
+
- `align` — расположение стрелок (`left`, `center`, `right`)
|
|
16
|
+
|
|
17
|
+
Свойства работают совместно: `type` определяет базовый режим ввода, где `number` активирует простой числовой ввод с базовой валидацией без форматирования, а `number-format` включает автоматическое форматирование с разделителями тысяч и десятичными знаками в зависимости от локали. `language` определяет региональные правила для разделителей тысяч (пробел, запятая, точка) и десятичного разделителя (точка или запятая). Свойства `min` и `max` активируют встроенную валидацию диапазона. `step` определяет величину инкремента/декремента при использовании клавиш стрелок вверх/вниз и Page Up/Down. Свойства `arrow` и `arrowStep` добавляют визуальные элементы управления (кнопки ± или стрелки < >) с настраиваемым шагом изменения, где если `arrowStep` не указан, используется значение `step`. `align` управляет расположением стрелок в поле ввода.
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<script setup>
|
|
21
|
+
import { ref } from 'vue'
|
|
22
|
+
const value = ref('1234567.89')
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<template>
|
|
26
|
+
<!-- Простой числовой ввод -->
|
|
27
|
+
<Input v-model="value" type="number" label="Число" />
|
|
28
|
+
|
|
29
|
+
<!-- Форматированное число с локалью -->
|
|
30
|
+
<Input v-model="value" type="number-format" language="ru-RU" label="Форматированное" />
|
|
31
|
+
|
|
32
|
+
<!-- С ограничениями диапазона -->
|
|
33
|
+
<Input v-model="value" type="number" :min="0" :max="100" label="От 0 до 100" />
|
|
34
|
+
|
|
35
|
+
<!-- С шагом и стрелками stepper -->
|
|
36
|
+
<Input v-model="value" type="number" arrow="stepper" :step="5" :arrow-step="10" label="Шаг 5/10" />
|
|
37
|
+
|
|
38
|
+
<!-- С выравниванием по центру -->
|
|
39
|
+
<Input v-model="value" type="number-format" align="center" :fraction="2" label="По центру" />
|
|
40
|
+
</template>
|
|
41
|
+
```
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
## Input Field Type
|
|
2
|
+
|
|
3
|
+
The `type` property defines the type and behavior of the Input field.
|
|
4
|
+
|
|
5
|
+
**Available values:**
|
|
6
|
+
|
|
7
|
+
- `'text'` — standard text field (default value)
|
|
8
|
+
- `'search'` — search field with quick clear functionality
|
|
9
|
+
- `'number'` — numeric field with basic number validation
|
|
10
|
+
- `'number-format'` — numeric field with formatting (thousands separators)
|
|
11
|
+
- `'currency'` — field for currency input with currency formatting
|
|
12
|
+
- `'email'` — field for email input with corresponding validation
|
|
13
|
+
- `'password'` — field for password input (hides characters)
|
|
14
|
+
- `'datetime'` — field for date and time input
|
|
15
|
+
- `'date'` — field for date input
|
|
16
|
+
- `'year-month'` — field for year and month input
|
|
17
|
+
- `'time'` — field for time input
|
|
18
|
+
- `'hour-minute'` — field for hours and minutes input
|
|
19
|
+
- `'tel'` — field for telephone number input
|
|
20
|
+
- `'url'` — field for web address input with URL validation
|
|
21
|
+
- `'checkbox'` — checkbox (used for boolean values)
|
|
22
|
+
- `'radio'` — radio button (used for selecting one option from a group)
|
|
23
|
+
|
|
24
|
+
Each type activates corresponding validation, formatting, and input mechanisms. For the `password` type, a visibility toggle function is available through a special icon. Types `number`, `number-format`, and `currency` automatically enable formatting and restrict input to numeric values only. Types `email`, `tel`, and `url` apply built-in HTML5 validation and set the appropriate `inputMode` for mobile keyboards. Date and time related types (`datetime`, `date`, `year-month`, `time`, `hour-minute`) activate special input masks and value formatting.
|
|
25
|
+
|
|
26
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
## Тип поля ввода
|
|
2
|
+
|
|
3
|
+
Свойство `type` определяет тип и поведение поля ввода Input.
|
|
4
|
+
|
|
5
|
+
**Возможные значения:**
|
|
6
|
+
|
|
7
|
+
- `'text'` — обычное текстовое поле (значение по умолчанию)
|
|
8
|
+
- `'search'` — поле для поиска с возможностью быстрой очистки
|
|
9
|
+
- `'number'` — числовое поле с базовой валидацией чисел
|
|
10
|
+
- `'number-format'` — числовое поле с форматированием (разделители тысяч)
|
|
11
|
+
- `'currency'` — поле для ввода денежных значений с форматированием валюты
|
|
12
|
+
- `'email'` — поле для ввода электронной почты с соответствующей валидацией
|
|
13
|
+
- `'password'` — поле для ввода пароля (скрывает символы)
|
|
14
|
+
- `'datetime'` — поле для ввода даты и времени
|
|
15
|
+
- `'date'` — поле для ввода даты
|
|
16
|
+
- `'year-month'` — поле для ввода года и месяца
|
|
17
|
+
- `'time'` — поле для ввода времени
|
|
18
|
+
- `'hour-minute'` — поле для ввода часов и минут
|
|
19
|
+
- `'tel'` — поле для ввода телефонного номера
|
|
20
|
+
- `'url'` — поле для ввода веб-адреса с валидацией URL
|
|
21
|
+
- `'checkbox'` — чекбокс (используется для булевых значений)
|
|
22
|
+
- `'radio'` — радиокнопка (используется для выбора одного варианта из группы)
|
|
23
|
+
|
|
24
|
+
Каждый тип активирует соответствующие механизмы валидации, форматирования и ввода. Для типа `password` доступна функция переключения видимости через специальную иконку. Типы `number`, `number-format` и `currency` автоматически включают форматирование и ограничивают ввод только числовыми значениями. Типы `email`, `tel` и `url` применяют встроенную HTML5-валидацию и устанавливают соответствующий `inputMode` для мобильных клавиатур. Типы, связанные с датой и временем (`datetime`, `date`, `year-month`, `time`, `hour-minute`), активируют специальные маски ввода и форматирование значений.
|
|
25
|
+
|
|
26
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { StorybookComponentsMdxItem } from '../../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
import currencyEn from './currency.en.mdx'
|
|
4
|
+
import currencyRu from './currency.ru.mdx'
|
|
5
|
+
import dateEn from './date.en.mdx'
|
|
6
|
+
import dateRu from './date.ru.mdx'
|
|
7
|
+
import inputEn from './input.en.mdx'
|
|
8
|
+
import inputRu from './input.ru.mdx'
|
|
9
|
+
import maskEn from './mask.en.mdx'
|
|
10
|
+
import maskRu from './mask.ru.mdx'
|
|
11
|
+
import numberEn from './number.en.mdx'
|
|
12
|
+
import numberRu from './number.ru.mdx'
|
|
13
|
+
import typeEn from './type.en.mdx'
|
|
14
|
+
import typeRu from './type.ru.mdx'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* MDX files for Input component
|
|
18
|
+
*
|
|
19
|
+
* MDX файлы для компонента Input
|
|
20
|
+
*/
|
|
21
|
+
export const wikiMdxInput: StorybookComponentsMdxItem = {
|
|
22
|
+
name: 'Input',
|
|
23
|
+
descriptions: {
|
|
24
|
+
currency: {
|
|
25
|
+
en: currencyEn,
|
|
26
|
+
ru: currencyRu
|
|
27
|
+
},
|
|
28
|
+
date: {
|
|
29
|
+
en: dateEn,
|
|
30
|
+
ru: dateRu
|
|
31
|
+
},
|
|
32
|
+
input: {
|
|
33
|
+
en: inputEn,
|
|
34
|
+
ru: inputRu
|
|
35
|
+
},
|
|
36
|
+
mask: {
|
|
37
|
+
en: maskEn,
|
|
38
|
+
ru: maskRu
|
|
39
|
+
},
|
|
40
|
+
number: {
|
|
41
|
+
en: numberEn,
|
|
42
|
+
ru: numberRu
|
|
43
|
+
},
|
|
44
|
+
type: {
|
|
45
|
+
en: typeEn,
|
|
46
|
+
ru: typeRu
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
### `close`
|
|
2
|
+
|
|
3
|
+
Event fires when attempting to close the list after navigation has reached the root level.
|
|
4
|
+
|
|
5
|
+
**When it fires:**
|
|
6
|
+
- Pressing the **Escape** key at the root level of the list
|
|
7
|
+
- Pressing the **←** (left arrow) key when there are no open submenus/groups
|
|
8
|
+
- Attempting to navigate back when there are no nested items
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
### `close`
|
|
2
|
+
|
|
3
|
+
Событие срабатывает при попытке закрыть список, когда навигация достигла корневого уровня.
|
|
4
|
+
|
|
5
|
+
**Когда срабатывает:**
|
|
6
|
+
- Нажатие клавиши **Escape** на корневом уровне списка
|
|
7
|
+
- Нажатие клавиши **←** (стрелка влево), когда нет открытых подменю/групп
|
|
8
|
+
- Попытка навигации назад при отсутствии вложенных элементов
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
A component for creating interactive lists with support for hierarchical data, keyboard navigation, and search functionality.
|
|
2
|
+
|
|
3
|
+
List manages the display of structured data with navigation capabilities, item selection, and interaction through keyboard and mouse. The component supports various item types (regular items, groups, menus, dividers, subtitles, HTML content), automatically handles complex hierarchical structures, and provides intuitive navigation. The built-in search system works in real-time with match highlighting across the entire data hierarchy.
|
|
4
|
+
|
|
5
|
+
**Key features:**
|
|
6
|
+
|
|
7
|
+
- Various item types (item, group, menu, line, subtitle, html)
|
|
8
|
+
- Hierarchical structure with nested groups and menus
|
|
9
|
+
- Full keyboard navigation (↑/↓, Enter, →, ←)
|
|
10
|
+
- Built-in real-time search with match highlighting
|
|
11
|
+
- Item selection control via v-model:selected
|
|
12
|
+
- Focus control via v-model:focus
|
|
13
|
+
- Lightweight mode for large lists (lite)
|
|
14
|
+
- Display axis configuration (x/y) and dividers
|
|
15
|
+
- Click and menu close events
|
|
16
|
+
|
|
17
|
+
**Typical use cases:**
|
|
18
|
+
|
|
19
|
+
- Navigation menus and option lists
|
|
20
|
+
- Dropdown lists with hierarchical structure
|
|
21
|
+
- Product and category catalogs
|
|
22
|
+
- Settings lists with grouping
|
|
23
|
+
- Context menus with submenus
|
|
24
|
+
- File and folder lists
|
|
25
|
+
- Filters with multiple selection
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<script setup>
|
|
29
|
+
import { ref } from 'vue'
|
|
30
|
+
|
|
31
|
+
const selected = ref(['item2'])
|
|
32
|
+
const focus = ref(null)
|
|
33
|
+
|
|
34
|
+
const listData = ref([
|
|
35
|
+
{ label: 'First item', value: 'item1' },
|
|
36
|
+
{ label: 'Second item', value: 'item2' },
|
|
37
|
+
{ type: 'line' },
|
|
38
|
+
{ type: 'subtitle', label: 'Item group' },
|
|
39
|
+
{
|
|
40
|
+
label: 'Group with submenu',
|
|
41
|
+
value: 'group1',
|
|
42
|
+
type: 'group',
|
|
43
|
+
list: [
|
|
44
|
+
{ label: 'Nested item 1', value: 'nested1' },
|
|
45
|
+
{ label: 'Nested item 2', value: 'nested2' }
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
])
|
|
49
|
+
|
|
50
|
+
const handleClick = (event) => {
|
|
51
|
+
console.log('Item clicked:', event.detail.value)
|
|
52
|
+
}
|
|
53
|
+
</script>
|
|
54
|
+
|
|
55
|
+
<template>
|
|
56
|
+
<List
|
|
57
|
+
v-model:selected="selected"
|
|
58
|
+
v-model:focus="focus"
|
|
59
|
+
:list="listData"
|
|
60
|
+
highlight="text"
|
|
61
|
+
@click="handleClick"
|
|
62
|
+
/>
|
|
63
|
+
</template>
|
|
64
|
+
```
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
Компонент для создания интерактивных списков с поддержкой иерархических данных, клавиатурной навигации и функциональности поиска.
|
|
2
|
+
|
|
3
|
+
List управляет отображением структурированных данных с возможностью навигации, выбора элементов и взаимодействия через клавиатуру и мышь. Компонент поддерживает различные типы элементов (обычные элементы, группы, меню, разделители, подзаголовки, HTML-контент), автоматически обрабатывает сложные иерархические структуры и предоставляет интуитивную навигацию. Встроенная система поиска работает в реальном времени с выделением совпадений по всей иерархии данных.
|
|
4
|
+
|
|
5
|
+
**Основные возможности:**
|
|
6
|
+
|
|
7
|
+
- Различные типы элементов (item, group, menu, line, subtitle, html)
|
|
8
|
+
- Иерархическая структура с вложенными группами и меню
|
|
9
|
+
- Полная клавиатурная навигация (↑/↓, Enter, →, ←)
|
|
10
|
+
- Встроенный поиск в реальном времени с подсветкой совпадений
|
|
11
|
+
- Управление выбором элементов через v-model:selected
|
|
12
|
+
- Управление фокусом через v-model:focus
|
|
13
|
+
- Облегченный режим для больших списков (lite)
|
|
14
|
+
- Настройка осей отображения (x/y) и разделителей
|
|
15
|
+
- События клика и закрытия меню
|
|
16
|
+
|
|
17
|
+
**Типичные сценарии использования:**
|
|
18
|
+
|
|
19
|
+
- Навигационные меню и списки опций
|
|
20
|
+
- Выпадающие списки с иерархической структурой
|
|
21
|
+
- Каталоги товаров и категорий
|
|
22
|
+
- Списки настроек с группировкой
|
|
23
|
+
- Контекстные меню с подменю
|
|
24
|
+
- Списки файлов и папок
|
|
25
|
+
- Фильтры с множественным выбором
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<script setup>
|
|
29
|
+
import { ref } from 'vue'
|
|
30
|
+
|
|
31
|
+
const selected = ref(['item2'])
|
|
32
|
+
const focus = ref(null)
|
|
33
|
+
|
|
34
|
+
const listData = ref([
|
|
35
|
+
{ label: 'Первый элемент', value: 'item1' },
|
|
36
|
+
{ label: 'Второй элемент', value: 'item2' },
|
|
37
|
+
{ type: 'line' },
|
|
38
|
+
{ type: 'subtitle', label: 'Группа элементов' },
|
|
39
|
+
{
|
|
40
|
+
label: 'Группа с подменю',
|
|
41
|
+
value: 'group1',
|
|
42
|
+
type: 'group',
|
|
43
|
+
list: [
|
|
44
|
+
{ label: 'Вложенный элемент 1', value: 'nested1' },
|
|
45
|
+
{ label: 'Вложенный элемент 2', value: 'nested2' }
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
])
|
|
49
|
+
|
|
50
|
+
const handleClick = (event) => {
|
|
51
|
+
console.log('Клик по элементу:', event.detail.value)
|
|
52
|
+
}
|
|
53
|
+
</script>
|
|
54
|
+
|
|
55
|
+
<template>
|
|
56
|
+
<List
|
|
57
|
+
v-model:selected="selected"
|
|
58
|
+
v-model:focus="focus"
|
|
59
|
+
:list="listData"
|
|
60
|
+
highlight="text"
|
|
61
|
+
@click="handleClick"
|
|
62
|
+
/>
|
|
63
|
+
</template>
|
|
64
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## Managing list performance
|
|
2
|
+
|
|
3
|
+
The `lite` and `liteThreshold` properties work together to optimize rendering of large lists. They enable a lightweight display mode that reduces visual complexity and improves performance when the threshold number of items is exceeded.
|
|
4
|
+
|
|
5
|
+
**Properties:**
|
|
6
|
+
|
|
7
|
+
- `lite` — enables lightweight list display mode
|
|
8
|
+
- `liteThreshold` — item count threshold for activating simplified mode, defaults to configuration value
|
|
9
|
+
|
|
10
|
+
Display mode is determined automatically: when `lite=false`, the list always renders in full mode. When `lite=true`, the component compares the total item count with `liteThreshold`. If the item count does not exceed the threshold, full mode with extended visualization is used. When the threshold is exceeded, lightweight mode is activated to reduce rendering load. Use `lite` for working with dynamic data of variable size.
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<!-- Automatic mode switching -->
|
|
14
|
+
<List :list="items" :lite="true" :liteThreshold="50" />
|
|
15
|
+
|
|
16
|
+
<!-- Always full mode -->
|
|
17
|
+
<List :list="items" :lite="false" />
|
|
18
|
+
|
|
19
|
+
<!-- Lightweight mode for large catalogs -->
|
|
20
|
+
<List :list="products" :lite="true" :liteThreshold="100" />
|
|
21
|
+
|
|
22
|
+
<!-- Custom threshold for mobile devices -->
|
|
23
|
+
<List :list="data" :lite="true" :liteThreshold="30" />
|
|
24
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## Управление производительностью списка
|
|
2
|
+
|
|
3
|
+
Свойства `lite` и `liteThreshold` работают в связке для оптимизации рендеринга больших списков. Они включают облегченный режим отображения, который снижает визуальную сложность и ускоряет производительность при превышении порогового количества элементов.
|
|
4
|
+
|
|
5
|
+
**Свойства:**
|
|
6
|
+
|
|
7
|
+
- `lite` — включает облегченный режим отображения списка
|
|
8
|
+
- `liteThreshold` — порог количества элементов для активации упрощенного режима, по умолчанию зависит от конфигурации
|
|
9
|
+
|
|
10
|
+
Режим отображения определяется автоматически: при `lite=false` список всегда рендерится в полном режиме. При `lite=true` компонент сравнивает общее количество элементов с `liteThreshold`. Если количество элементов не превышает порог, используется полный режим с расширенной визуализацией. При превышении порога включается облегченный режим для снижения нагрузки на рендеринг. Используйте `lite` для работы с динамическими данными переменного размера.
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<!-- Автоматическое переключение режима -->
|
|
14
|
+
<List :list="items" :lite="true" :liteThreshold="50" />
|
|
15
|
+
|
|
16
|
+
<!-- Всегда полный режим -->
|
|
17
|
+
<List :list="items" :lite="false" />
|
|
18
|
+
|
|
19
|
+
<!-- Облегченный режим для больших каталогов -->
|
|
20
|
+
<List :list="products" :lite="true" :liteThreshold="100" />
|
|
21
|
+
|
|
22
|
+
<!-- Пользовательский порог для мобильных устройств -->
|
|
23
|
+
<List :list="data" :lite="true" :liteThreshold="30" />
|
|
24
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
- `[value]: any` — Dynamic slot for rendering custom content (Vue components or HTML) when item `type` is `'html'`. Item's `value` is used as slot name.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
- `[value]: any` — Динамический слот для рендеринга пользовательского контента (Vue-компонентов или HTML), когда `type` элемента равен `'html'`. Поле `value` элемента используется как имя слота.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { StorybookComponentsMdxItem } from '../../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
import listEn from './list.en.mdx'
|
|
4
|
+
import listRu from './list.ru.mdx'
|
|
5
|
+
import liteEn from './lite.en.mdx'
|
|
6
|
+
import liteRu from './lite.ru.mdx'
|
|
7
|
+
import eventCloseEn from './event.close.en.mdx'
|
|
8
|
+
import eventCloseRu from './event.close.ru.mdx'
|
|
9
|
+
import slotHtmlEn from './slot.html.en.mdx'
|
|
10
|
+
import slotHtmlRu from './slot.html.ru.mdx'
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* MDX documentation for List component
|
|
14
|
+
*
|
|
15
|
+
* MDX документация для компонента List
|
|
16
|
+
*/
|
|
17
|
+
export const wikiMdxList: StorybookComponentsMdxItem = {
|
|
18
|
+
name: 'List',
|
|
19
|
+
descriptions: {
|
|
20
|
+
'list': {
|
|
21
|
+
en: listEn,
|
|
22
|
+
ru: listRu
|
|
23
|
+
},
|
|
24
|
+
'lite': {
|
|
25
|
+
en: liteEn,
|
|
26
|
+
ru: liteRu
|
|
27
|
+
},
|
|
28
|
+
'event.close': {
|
|
29
|
+
en: eventCloseEn,
|
|
30
|
+
ru: eventCloseRu
|
|
31
|
+
},
|
|
32
|
+
'slot.html': {
|
|
33
|
+
en: slotHtmlEn,
|
|
34
|
+
ru: slotHtmlRu
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Component for grouping and organizing list items with collapsible structure.
|
|
2
|
+
|
|
3
|
+
ListGroup is an auxiliary component for List, managing hierarchical content organization with expand/collapse functionality. The component integrates with MotionTransform for smooth animations, supports unlimited nesting levels, and provides convenient navigation through structured data.
|
|
4
|
+
|
|
5
|
+
**Key features:**
|
|
6
|
+
|
|
7
|
+
- Hierarchical content organization with unlimited nesting
|
|
8
|
+
- Expand/collapse animations via MotionTransform
|
|
9
|
+
- State management via props or internal state
|
|
10
|
+
- Automatic group content visibility control
|
|
11
|
+
- Integration with List component ecosystem
|
|
12
|
+
- Customization support via head and list slots
|
|
13
|
+
- Group state change events
|
|
14
|
+
|
|
15
|
+
**Common use cases:**
|
|
16
|
+
|
|
17
|
+
- Grouping list items by categories
|
|
18
|
+
- Creating tree-like navigation structures
|
|
19
|
+
- Organizing settings and options by sections
|
|
20
|
+
- Multi-level menus and catalogs
|
|
21
|
+
- FAQ sections with expandable answers
|
|
22
|
+
|
|
23
|
+
```html
|
|
24
|
+
<script setup>
|
|
25
|
+
import { ref } from 'vue'
|
|
26
|
+
|
|
27
|
+
const items = [
|
|
28
|
+
{ text: 'Item 1', value: '1' },
|
|
29
|
+
{ text: 'Item 2', value: '2' },
|
|
30
|
+
{ text: 'Item 3', value: '3' }
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
const isOpen = ref(true)
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<template>
|
|
37
|
+
<List>
|
|
38
|
+
<ListGroup v-model:open="isOpen">
|
|
39
|
+
<template #head="{ open }">
|
|
40
|
+
<div class="group-header">
|
|
41
|
+
<span>{{ open ? '▼' : '▶' }}</span>
|
|
42
|
+
<span>Group Items</span>
|
|
43
|
+
</div>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<template #list>
|
|
47
|
+
<ListItem
|
|
48
|
+
v-for="item in items"
|
|
49
|
+
:key="item.value"
|
|
50
|
+
:text="item.text"
|
|
51
|
+
/>
|
|
52
|
+
</template>
|
|
53
|
+
</ListGroup>
|
|
54
|
+
</List>
|
|
55
|
+
</template>
|
|
56
|
+
```
|