@central-design-system/components 3.0.0-alpha.9 → 3.0.0-beta.10
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/cds.css +1 -1
- package/dist/cds.d.ts +34 -1
- package/dist/cds.es.js +15758 -6208
- package/dist/cds.umd.js +22 -1
- package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +1038 -0
- package/dist/components/CdsAutocomplete/index.d.ts +1 -0
- package/dist/components/CdsBadge/CdsBadge.vue.d.ts +35 -14
- package/dist/components/CdsBadge/index.d.ts +1 -0
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +12 -5
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +12 -6
- package/dist/components/CdsButton/CdsButton.vue.d.ts +95 -33
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +19 -8
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +21 -8
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +764 -585
- package/dist/components/CdsCombobox/composable/highlight.d.ts +1 -1
- package/dist/components/CdsCombobox/composable/index.d.ts +1 -0
- package/dist/components/CdsCombobox/index.d.ts +1 -0
- package/dist/components/CdsContainer/CdsContainer.vue.d.ts +220 -0
- package/dist/components/CdsContainer/CdsContainerItem.vue.d.ts +123 -0
- package/dist/components/CdsContainer/context.d.ts +15 -0
- package/dist/components/CdsContainer/index.d.ts +2 -0
- package/dist/components/CdsContentSwitcher/CdsContentSwitcher.vue.d.ts +66 -0
- package/dist/components/CdsContentSwitcher/CdsContentSwitcherItem.vue.d.ts +212 -0
- package/dist/components/CdsContentSwitcher/index.d.ts +2 -0
- package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +24 -46
- package/dist/components/CdsDatePicker/index.d.ts +1 -0
- package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +20 -3
- package/dist/components/CdsDrawer/index.d.ts +1 -0
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +797 -622
- package/dist/components/CdsDropdown/composable/index.d.ts +1 -0
- package/dist/components/CdsDropdown/composable/scrolling.d.ts +7 -0
- package/dist/components/CdsDropdown/index.d.ts +1 -0
- package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +4 -4
- package/dist/components/CdsEmptyState/index.d.ts +1 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanel.vue.d.ts +119 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelContent.vue.d.ts +15 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelTitle.vue.d.ts +55 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanels.vue.d.ts +126 -0
- package/dist/components/CdsExpandablePanel/composable/expandablePanelTitleProps.d.ts +31 -0
- package/dist/components/CdsExpandablePanel/composable/expandablePanels.d.ts +16 -0
- package/dist/components/CdsExpandablePanel/composable/index.d.ts +1 -0
- package/dist/components/CdsExpandablePanel/index.d.ts +4 -0
- package/dist/components/CdsFooter/CdsFooter.vue.d.ts +86 -0
- package/dist/components/CdsFooter/index.d.ts +1 -0
- package/dist/components/CdsForm/CdsForm.vue.d.ts +13 -29
- package/dist/components/CdsForm/index.d.ts +1 -0
- package/dist/components/CdsGrid/index.d.ts +3 -0
- package/dist/components/CdsHeader/CdsHeader.vue.d.ts +86 -0
- package/dist/components/CdsHeader/index.d.ts +1 -0
- package/dist/components/CdsIcon/CdsIcon.vue.d.ts +16 -3
- package/dist/components/CdsInput/CdsInput.vue.d.ts +29 -37
- package/dist/components/CdsInput/CdsInputDescription.vue.d.ts +1 -1
- package/dist/components/CdsInput/CdsInputLabel.vue.d.ts +1 -1
- package/dist/components/CdsInput/CdsInputMessages.vue.d.ts +1 -1
- package/dist/components/CdsLayout/CdsLayout.vue.d.ts +47 -0
- package/dist/components/CdsLayout/components/LayoutResizeObserver.d.ts +19 -0
- package/dist/components/CdsLayout/components/LayoutScrollObserver.d.ts +55 -0
- package/dist/components/CdsLayout/components/index.d.ts +2 -0
- package/dist/components/CdsLayout/context.d.ts +33 -0
- package/dist/components/CdsLayout/index.d.ts +1 -0
- package/dist/components/CdsLink/CdsLink.vue.d.ts +13 -1
- package/dist/components/CdsList/CdsList.vue.d.ts +16 -9
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +8 -8
- package/dist/components/CdsList/CdsListItem.vue.d.ts +19 -31
- package/dist/components/CdsLoader/CdsLoader.vue.d.ts +13 -1
- package/dist/components/CdsMain/CdsMain.vue.d.ts +3 -0
- package/dist/components/CdsMain/context.d.ts +4 -0
- package/dist/components/CdsMain/index.d.ts +1 -0
- package/dist/components/CdsMenu/CdsMenu.vue.d.ts +25 -331
- package/dist/components/CdsModal/CdsModal.vue.d.ts +458 -0
- package/dist/components/CdsModal/index.d.ts +1 -0
- package/dist/components/CdsNotification/CdsNotification.vue.d.ts +166 -0
- package/dist/components/CdsNotification/CdsNotificationAlert.vue.d.ts +465 -0
- package/dist/components/CdsNotification/composable/index.d.ts +1 -0
- package/dist/components/CdsNotification/composable/notification.d.ts +64 -0
- package/dist/components/CdsNotification/index.d.ts +2 -0
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +14 -11
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +18 -0
- package/dist/components/CdsPage/CdsPage.vue.d.ts +25 -0
- package/dist/components/CdsPage/index.d.ts +1 -0
- package/dist/components/CdsPagination/CdsPagination.vue.d.ts +15 -9
- package/dist/components/CdsPagination/index.d.ts +1 -0
- package/dist/components/CdsProgress/CdsProgress.vue.d.ts +156 -0
- package/dist/components/CdsProgress/index.d.ts +1 -0
- package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +233 -8
- package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +21 -8
- package/dist/components/CdsRadioButton/index.d.ts +2 -0
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +136 -114
- package/dist/components/CdsSelect/index.d.ts +1 -0
- package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +28 -0
- package/dist/components/CdsSidebar/index.d.ts +1 -0
- package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.vue.d.ts +132 -0
- package/dist/components/CdsSkeletonLoader/index.d.ts +1 -0
- package/dist/components/CdsSkeletonLoader/types.d.ts +37 -0
- package/dist/components/CdsSlideGroup/CdsSlideGroup.vue.d.ts +162 -0
- package/dist/components/CdsSlideGroup/CdsSlideGroupItem.vue.d.ts +43 -0
- package/dist/components/CdsSlideGroup/index.d.ts +2 -0
- package/dist/components/CdsSlideGroup/utils/calculate.d.ts +14 -0
- package/dist/components/CdsSlideGroup/utils/index.d.ts +1 -0
- package/dist/components/CdsStages/CdsStages.vue.d.ts +12 -0
- package/dist/components/CdsStages/index.d.ts +1 -0
- package/dist/components/CdsStatus/CdsStatus.vue.d.ts +12 -0
- package/dist/components/CdsStatus/index.d.ts +1 -0
- package/dist/components/CdsSteps/CdsSteps.vue.d.ts +170 -0
- package/dist/components/CdsSteps/CdsStepsItem.vue.d.ts +84 -0
- package/dist/components/CdsSteps/context.d.ts +11 -0
- package/dist/components/CdsSteps/index.d.ts +2 -0
- package/dist/components/CdsSteps/svg/_CdsStepCurrentIcon.vue.d.ts +2 -0
- package/dist/components/CdsSteps/svg/_CdsStepsIconIncomplete.vue.d.ts +2 -0
- package/dist/components/CdsTable/CdsTable.vue.d.ts +1188 -0
- package/dist/components/CdsTable/CdsTableColumn.vue.d.ts +10 -0
- package/dist/components/CdsTable/CdsTableColumnGroup.vue.d.ts +10 -0
- package/dist/components/CdsTable/components/Body/Body.d.ts +12 -0
- package/dist/components/CdsTable/components/Body/BodyRow.d.ts +22 -0
- package/dist/components/CdsTable/components/Body/ExpandedRow.d.ts +13 -0
- package/dist/components/CdsTable/components/Body/index.d.ts +1 -0
- package/dist/components/CdsTable/components/Cell/Cell.d.ts +34 -0
- package/dist/components/CdsTable/components/Cell/MeasureCell.d.ts +7 -0
- package/dist/components/CdsTable/components/Cell/index.d.ts +2 -0
- package/dist/components/CdsTable/components/ColGroup/ColGroup.d.ts +8 -0
- package/dist/components/CdsTable/components/ColGroup/index.d.ts +1 -0
- package/dist/components/CdsTable/components/Filter/FilterDropdown.d.ts +14 -0
- package/dist/components/CdsTable/components/Filter/FilterSearch.d.ts +9 -0
- package/dist/components/CdsTable/components/Filter/FilterWrapper.d.ts +4 -0
- package/dist/components/CdsTable/components/Filter/index.d.ts +1 -0
- package/dist/components/CdsTable/components/FixedHolder/FixedHolder.d.ts +21 -0
- package/dist/components/CdsTable/components/FixedHolder/index.d.ts +1 -0
- package/dist/components/CdsTable/components/Footer/Footer.d.ts +8 -0
- package/dist/components/CdsTable/components/Footer/index.d.ts +1 -0
- package/dist/components/CdsTable/components/Header/DragHandle.d.ts +44 -0
- package/dist/components/CdsTable/components/Header/Header.d.ts +11 -0
- package/dist/components/CdsTable/components/Header/HeaderRow.d.ts +15 -0
- package/dist/components/CdsTable/components/Header/index.d.ts +1 -0
- package/dist/components/CdsTable/components/Icons/ExpandIcon.d.ts +12 -0
- package/dist/components/CdsTable/components/Panel/Panel.d.ts +4 -0
- package/dist/components/CdsTable/components/Panel/index.d.ts +1 -0
- package/dist/components/CdsTable/components/ResizeObserver/ResizeObserver.d.ts +11 -0
- package/dist/components/CdsTable/components/ResizeObserver/index.d.ts +1 -0
- package/dist/components/CdsTable/components/StickyScrollbar/StickyScrollbar.d.ts +15 -0
- package/dist/components/CdsTable/components/StickyScrollbar/index.d.ts +1 -0
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +1172 -0
- package/dist/components/CdsTable/components/TableProvider.d.ts +1176 -0
- package/dist/components/CdsTable/composable/columns.d.ts +28 -0
- package/dist/components/CdsTable/composable/filter.d.ts +16 -0
- package/dist/components/CdsTable/composable/flat.d.ts +17 -0
- package/dist/components/CdsTable/composable/frame.d.ts +6 -0
- package/dist/components/CdsTable/composable/index.d.ts +10 -0
- package/dist/components/CdsTable/composable/pagination.d.ts +18 -0
- package/dist/components/CdsTable/composable/selection.d.ts +23 -0
- package/dist/components/CdsTable/composable/sorter.d.ts +21 -0
- package/dist/components/CdsTable/composable/sticky.d.ts +12 -0
- package/dist/components/CdsTable/composable/table.d.ts +655 -0
- package/dist/components/CdsTable/constants.d.ts +2 -0
- package/dist/components/CdsTable/context/body.d.ts +19 -0
- package/dist/components/CdsTable/context/expandedRow.d.ts +10 -0
- package/dist/components/CdsTable/context/hover.d.ts +9 -0
- package/dist/components/CdsTable/context/index.d.ts +8 -0
- package/dist/components/CdsTable/context/resize.d.ts +9 -0
- package/dist/components/CdsTable/context/slots.d.ts +17 -0
- package/dist/components/CdsTable/context/sticky.d.ts +2 -0
- package/dist/components/CdsTable/context/summary.d.ts +14 -0
- package/dist/components/CdsTable/context/table.d.ts +20 -0
- package/dist/components/CdsTable/index.d.ts +6 -0
- package/dist/components/CdsTable/interface.d.ts +323 -0
- package/dist/components/CdsTable/utils/column.d.ts +7 -0
- package/dist/components/CdsTable/utils/expand.d.ts +2 -0
- package/dist/components/CdsTable/utils/fixed.d.ts +13 -0
- package/dist/components/CdsTable/utils/index.d.ts +5 -0
- package/dist/components/CdsTable/utils/listener.d.ts +5 -0
- package/dist/components/CdsTable/utils/value.d.ts +10 -0
- package/dist/components/CdsTabs/CdsTab.vue.d.ts +132 -0
- package/dist/components/CdsTabs/CdsTabs.vue.d.ts +236 -0
- package/dist/components/CdsTabs/index.d.ts +2 -0
- package/dist/components/CdsTabs/shared.d.ts +3 -0
- package/dist/components/CdsTabs/utils/helpers.d.ts +2 -0
- package/dist/components/CdsTabs/utils/index.d.ts +1 -0
- package/dist/components/CdsTag/CdsTag.vue.d.ts +14 -2
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +159 -157
- package/dist/components/CdsTextArea/index.d.ts +1 -0
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +170 -140
- package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +21 -37
- package/dist/components/CdsTimePicker/index.d.ts +1 -0
- package/dist/components/CdsToggle/CdsToggle.vue.d.ts +197 -0
- package/dist/components/CdsToggle/index.d.ts +1 -0
- package/dist/components/CdsToolbar/CdsToolbar.vue.d.ts +56 -0
- package/dist/components/CdsToolbar/CdsToolbarTitle.vue.d.ts +18 -0
- package/dist/components/CdsToolbar/index.d.ts +2 -0
- package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +34 -331
- package/dist/components/CdsTooltip/index.d.ts +1 -0
- package/dist/components/CdsTree/composable/index.d.ts +1 -0
- package/dist/components/CdsTree/composable/tree.d.ts +6 -0
- package/dist/components/CdsTree/interface.d.ts +60 -0
- package/dist/components/CdsTree/utils/conduct.d.ts +11 -0
- package/dist/components/CdsTree/utils/data.d.ts +36 -0
- package/dist/components/CdsTree/utils/index.d.ts +2 -0
- package/dist/components/CdsUploader/CdsUploader.vue.d.ts +548 -0
- package/dist/components/CdsUploader/components/AjaxUploader.d.ts +342 -0
- package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +418 -0
- package/dist/components/CdsUploader/components/UploadList/UploadList.d.ts +421 -0
- package/dist/components/CdsUploader/components/index.d.ts +2 -0
- package/dist/components/CdsUploader/composable/index.d.ts +2 -0
- package/dist/components/CdsUploader/composable/request.d.ts +4 -0
- package/dist/components/CdsUploader/composable/upload.d.ts +370 -0
- package/dist/components/CdsUploader/index.d.ts +1 -0
- package/dist/components/CdsUploader/interface.d.ts +98 -0
- package/dist/components/CdsUploader/utils/accept.d.ts +2 -0
- package/dist/components/CdsUploader/utils/helpers.d.ts +5 -0
- package/dist/components/CdsUploader/utils/index.d.ts +4 -0
- package/dist/components/CdsUploader/utils/traverseFileTree.d.ts +14 -0
- package/dist/components/CdsUploader/utils/uid.d.ts +1 -0
- package/dist/components/index.d.ts +82 -1
- package/dist/composable/align.d.ts +17 -0
- package/dist/composable/datetime.d.ts +4 -20
- package/dist/composable/delay.d.ts +2 -2
- package/dist/composable/display.d.ts +3 -0
- package/dist/composable/field.d.ts +22 -4
- package/dist/composable/filter.d.ts +10 -2
- package/dist/composable/form.d.ts +1 -1
- package/dist/composable/group.d.ts +139 -0
- package/dist/composable/icon.d.ts +2 -2
- package/dist/composable/index.d.ts +9 -0
- package/dist/composable/input.d.ts +1 -1
- package/dist/composable/intersectionObserver.d.ts +4 -0
- package/dist/composable/items.d.ts +6 -0
- package/dist/composable/layout.d.ts +79 -0
- package/dist/composable/loading.d.ts +2 -2
- package/dist/composable/locale.d.ts +18 -0
- package/dist/composable/nested/nested.d.ts +1 -2
- package/dist/composable/overlay.d.ts +8 -0
- package/dist/composable/resizeObserver.d.ts +1 -1
- package/dist/composable/select.d.ts +124 -14
- package/dist/composable/ssrBoot.d.ts +6 -0
- package/dist/composable/state.d.ts +13 -0
- package/dist/composable/status.d.ts +5 -1
- package/dist/composable/tag.d.ts +0 -3
- package/dist/composable/text.d.ts +3 -1
- package/dist/composable/theme.d.ts +82 -0
- package/dist/composable/variant.d.ts +26 -0
- package/dist/create.d.ts +4 -1
- package/dist/directives/index.d.ts +2 -0
- package/dist/directives/intersect/index.d.ts +19 -0
- package/dist/directives/touch/index.d.ts +46 -0
- package/dist/globals.d.ts +13 -0
- package/dist/locale/en.d.ts +3 -0
- package/dist/locale/index.d.ts +23 -10
- package/dist/themes/b2b.d.ts +26 -0
- package/dist/themes/cds.d.ts +26 -0
- package/dist/themes/dark.d.ts +26 -0
- package/dist/themes/index.d.ts +5 -0
- package/dist/themes/promo.d.ts +26 -0
- package/dist/themes/themes.d.ts +10 -0
- package/dist/transitions/index.d.ts +61 -0
- package/dist/transitions/modalTransition.d.ts +8 -0
- package/dist/utils/colors.d.ts +368 -0
- package/dist/utils/colorsUtils/APCA.d.ts +7 -0
- package/dist/utils/colorsUtils/index.d.ts +1 -0
- package/dist/utils/colorsUtils/transformCIELAB.d.ts +3 -0
- package/dist/utils/colorsUtils/transformSRGB.d.ts +3 -0
- package/dist/utils/colorsUtils/utils.d.ts +41 -0
- package/dist/utils/{date.d.ts → date/date.d.ts} +22 -14
- package/dist/utils/dom/classNames.d.ts +4 -0
- package/dist/utils/dom/dom.d.ts +11 -0
- package/dist/utils/dom/getScrollParent.d.ts +16 -0
- package/dist/utils/dom/hRender.d.ts +9 -0
- package/dist/utils/dom/scrollTo.d.ts +10 -0
- package/dist/utils/dom/warn.d.ts +1 -0
- package/dist/utils/dom/wrapperRaf.d.ts +4 -0
- package/dist/utils/helpers.d.ts +92 -2
- package/dist/utils/index.d.ts +20 -9
- package/dist/utils/use/copyToClipboard.d.ts +1 -0
- package/dist/utils/use/eagerComputed.d.ts +3 -0
- package/dist/utils/use/pickAttrs.d.ts +11 -0
- package/dist/utils/use/reactiveComputed.d.ts +4 -0
- package/dist/utils/use/reactivePick.d.ts +8 -0
- package/dist/utils/use/toReactive.d.ts +8 -0
- package/dist/utils/use/toValue.d.ts +5 -0
- package/package.json +8 -4
- package/src/scss/modules/_reset.scss +5 -0
- package/src/scss/modules/_transition.scss +72 -1
- package/src/scss/modules/grid/_mixins.scss +4 -2
- package/src/scss/themes/index.ts +1 -1
- package/src/scss/utility/display.scss +56 -5
- package/src/scss/utility/flexbox.scss +26 -28
- package/src/scss/utility/index.scss +0 -2
- package/src/scss/utility/layout.scss +65 -3
- package/src/scss/utility/spacing.scss +46 -86
- package/src/scss/utility/variables/display.scss +10 -0
- package/src/scss/utility/variables/exports/_display.scss +7 -0
- package/src/scss/utility/variables/exports/_flex.scss +13 -0
- package/src/scss/utility/variables/exports/_overflow.scss +7 -0
- package/src/scss/utility/variables/exports/_position.scss +7 -0
- package/src/scss/utility/variables/exports/_spacing.scss +14 -0
- package/src/scss/utility/variables/exports/_visibility.scss +7 -0
- package/src/scss/utility/variables/exports/_widthHeight.scss +7 -0
- package/src/scss/utility/variables/flex.scss +140 -0
- package/src/scss/utility/variables/index.scss +11 -0
- package/src/scss/utility/variables/overflow.scss +6 -0
- package/src/scss/utility/variables/position.scss +7 -0
- package/src/scss/utility/variables/spacing.scss +37 -0
- package/src/scss/utility/variables/visibility.scss +5 -0
- package/src/scss/utility/variables/widthHeight.scss +69 -0
- package/dist/utils/dom.d.ts +0 -6
- package/dist/utils/getScrollParent.d.ts +0 -3
- package/src/scss/utility/generatedFiles/generatedStyles.json +0 -1
- package/src/scss/utility/generatedFiles/generatedStyles.scss +0 -300
- package/src/scss/utility/typography.scss +0 -16
- package/src/scss/utility/variables.scss +0 -116
- /package/dist/utils/{anchor.d.ts → dom/anchor.d.ts} +0 -0
- /package/dist/utils/{animation.d.ts → dom/animation.d.ts} +0 -0
- /package/dist/utils/{box.d.ts → dom/box.d.ts} +0 -0
- /package/dist/utils/{globals.d.ts → dom/globals.d.ts} +0 -0
- /package/dist/utils/{cache.d.ts → use/cache.d.ts} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { TScrollObserver } from './components';
|
|
3
|
+
declare type TLayoutPart = {
|
|
4
|
+
size: number;
|
|
5
|
+
offset: number;
|
|
6
|
+
space: boolean;
|
|
7
|
+
};
|
|
8
|
+
export interface ILayoutContextProps {
|
|
9
|
+
instances: any;
|
|
10
|
+
view: ComputedRef<string>;
|
|
11
|
+
isContainer: ComputedRef<boolean>;
|
|
12
|
+
rootRef: Ref<HTMLElement | undefined>;
|
|
13
|
+
height: Ref<number>;
|
|
14
|
+
containerHeight: Ref<number>;
|
|
15
|
+
scrollbarWidth: Ref<number>;
|
|
16
|
+
totalWidth: ComputedRef<number>;
|
|
17
|
+
rows: ComputedRef<{
|
|
18
|
+
top: string[];
|
|
19
|
+
middle: string[];
|
|
20
|
+
bottom: string[];
|
|
21
|
+
}>;
|
|
22
|
+
header: TLayoutPart;
|
|
23
|
+
right: TLayoutPart;
|
|
24
|
+
footer: TLayoutPart;
|
|
25
|
+
left: TLayoutPart;
|
|
26
|
+
scroll: Ref<TScrollObserver>;
|
|
27
|
+
animate: () => void;
|
|
28
|
+
update: (part: keyof ILayoutContextProps, prop: string, value: any) => void;
|
|
29
|
+
}
|
|
30
|
+
export declare const CdsLayoutSymbol: InjectionKey<ILayoutContextProps>;
|
|
31
|
+
export declare const useProvideLayout: (props: ILayoutContextProps) => void;
|
|
32
|
+
export declare const useInjectLayout: () => ILayoutContextProps;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsLayout } from './CdsLayout.vue';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare const componentName = "CdsLink";
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
theme: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
3
8
|
disabled: {
|
|
4
9
|
type: import("vue").PropType<boolean>;
|
|
5
10
|
default: boolean;
|
|
@@ -21,6 +26,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
26
|
to: import("vue").ComputedRef<import("vue-router").RouteLocationRaw | undefined>;
|
|
22
27
|
href: import("vue").ComputedRef<string | undefined>;
|
|
23
28
|
disabledClasses: import("vue").ComputedRef<string | undefined>;
|
|
29
|
+
themeClasses: Readonly<import("vue").ComputedRef<string | undefined>>;
|
|
24
30
|
handleClick: (event: MouseEvent) => void;
|
|
25
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
32
|
/**
|
|
@@ -30,6 +36,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
30
36
|
*/
|
|
31
37
|
click: (event: MouseEvent) => true;
|
|
32
38
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
theme: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
33
44
|
disabled: {
|
|
34
45
|
type: import("vue").PropType<boolean>;
|
|
35
46
|
default: boolean;
|
|
@@ -49,9 +60,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
49
60
|
}>> & {
|
|
50
61
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
51
62
|
}, {
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
theme: string;
|
|
52
65
|
text: string;
|
|
53
66
|
href: string;
|
|
54
67
|
to: import("vue-router").RouteLocationRaw;
|
|
55
|
-
disabled: boolean;
|
|
56
68
|
}>;
|
|
57
69
|
export default _sfc_main;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
export declare const componentName = "CdsList";
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
4
9
|
selectStrategy: {
|
|
5
10
|
type: PropType<NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>>;
|
|
6
11
|
default: NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>;
|
|
@@ -65,11 +70,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
65
70
|
type: PropType<false | "one" | "two" | "three">;
|
|
66
71
|
default: string;
|
|
67
72
|
};
|
|
68
|
-
}, {
|
|
69
|
-
open: (id: unknown, value: boolean, event?: Event | undefined) => void;
|
|
70
|
-
select: (id: unknown, value: boolean, event?: Event | undefined) => void;
|
|
71
|
-
focus: (location?: import("./composable").TFocusLocation | undefined) => void;
|
|
72
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
74
|
/**
|
|
74
75
|
* Событие выбора элемента списка, возвращает массив id выбранных элементов списка
|
|
75
76
|
* @type { unknown[] } value
|
|
@@ -101,6 +102,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
101
102
|
event: Event;
|
|
102
103
|
}) => boolean;
|
|
103
104
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
theme: {
|
|
106
|
+
type: PropType<string>;
|
|
107
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
104
110
|
selectStrategy: {
|
|
105
111
|
type: PropType<NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>>;
|
|
106
112
|
default: NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>;
|
|
@@ -181,19 +187,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
181
187
|
event: Event;
|
|
182
188
|
}) => any) | undefined;
|
|
183
189
|
}, {
|
|
184
|
-
dark: boolean;
|
|
185
|
-
required: boolean;
|
|
186
|
-
disabled: boolean;
|
|
187
|
-
tag: string;
|
|
188
190
|
items: any[];
|
|
189
191
|
itemTitle: import("../../composable").TItemKey;
|
|
190
192
|
itemValue: import("../../composable").TItemKey;
|
|
191
193
|
itemChildren: import("../../composable").TItemKey;
|
|
192
194
|
itemProps: import("../../composable").TItemKey;
|
|
193
195
|
returnObject: boolean;
|
|
196
|
+
tag: string;
|
|
194
197
|
size: NonNullable<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
198
|
+
disabled: boolean;
|
|
199
|
+
dark: boolean;
|
|
200
|
+
required: boolean;
|
|
195
201
|
selectStrategy: NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>;
|
|
196
202
|
openStrategy: NonNullable<import("../../composable/nested/openStrategies").TOpenStrategyProp>;
|
|
203
|
+
theme: string;
|
|
197
204
|
lines: false | "one" | "two" | "three";
|
|
198
205
|
}>;
|
|
199
206
|
export default _sfc_main;
|
|
@@ -17,14 +17,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
17
17
|
* Иконка свернутой группы списка
|
|
18
18
|
*/
|
|
19
19
|
collapseIcon: {
|
|
20
|
-
type: PropType<"link" | "
|
|
20
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Иконка развернутой группы списка
|
|
25
25
|
*/
|
|
26
26
|
expandIcon: {
|
|
27
|
-
type: PropType<"link" | "
|
|
27
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -54,7 +54,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
54
54
|
activatorProps: import("vue").ComputedRef<{
|
|
55
55
|
onClick: (event: Event) => void;
|
|
56
56
|
id: string;
|
|
57
|
-
appendIcon: "link" | "
|
|
57
|
+
appendIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
58
58
|
class: string;
|
|
59
59
|
isClickable: boolean;
|
|
60
60
|
}>;
|
|
@@ -82,14 +82,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
82
82
|
* Иконка свернутой группы списка
|
|
83
83
|
*/
|
|
84
84
|
collapseIcon: {
|
|
85
|
-
type: PropType<"link" | "
|
|
85
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
86
86
|
default: string;
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
89
89
|
* Иконка развернутой группы списка
|
|
90
90
|
*/
|
|
91
91
|
expandIcon: {
|
|
92
|
-
type: PropType<"link" | "
|
|
92
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
93
93
|
default: string;
|
|
94
94
|
};
|
|
95
95
|
/**
|
|
@@ -114,11 +114,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
114
114
|
default: boolean;
|
|
115
115
|
};
|
|
116
116
|
}>>, {
|
|
117
|
-
tag: string;
|
|
118
117
|
title: string;
|
|
119
118
|
value: string | number;
|
|
120
|
-
|
|
121
|
-
expandIcon: "link" | "
|
|
119
|
+
tag: string;
|
|
120
|
+
expandIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
121
|
+
collapseIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
122
122
|
fluid: boolean;
|
|
123
123
|
subgroup: boolean;
|
|
124
124
|
}>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import type { IItemSlotProps } from '../../composable';
|
|
2
3
|
export declare const componentName = "CdsListItem";
|
|
3
4
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
5
|
disabled: {
|
|
5
6
|
type: PropType<boolean>;
|
|
6
|
-
default: boolean;
|
|
7
|
-
* Заголовок элемента списка
|
|
8
|
-
*/
|
|
7
|
+
default: boolean;
|
|
9
8
|
};
|
|
10
9
|
tag: {
|
|
11
10
|
type: PropType<string>;
|
|
@@ -21,16 +20,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
20
|
default: undefined;
|
|
22
21
|
};
|
|
23
22
|
prependIcon: {
|
|
24
|
-
type: PropType<"link" | "
|
|
25
|
-
* Активное состояние
|
|
26
|
-
*/
|
|
23
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
27
24
|
default: undefined;
|
|
28
|
-
validator: (value: "link" | "
|
|
25
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
29
26
|
};
|
|
30
27
|
appendIcon: {
|
|
31
|
-
type: PropType<"link" | "
|
|
28
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
32
29
|
default: undefined;
|
|
33
|
-
validator: (value: "link" | "
|
|
30
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
34
31
|
};
|
|
35
32
|
/**
|
|
36
33
|
* Заголовок элемента списка
|
|
@@ -71,12 +68,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
71
68
|
tag: import("vue").ComputedRef<string>;
|
|
72
69
|
href: import("vue").ComputedRef<string | undefined>;
|
|
73
70
|
to: import("vue").ComputedRef<import("vue-router").RouteLocationRaw | undefined>;
|
|
74
|
-
slotProps: import("vue").ComputedRef<
|
|
75
|
-
isActive: boolean;
|
|
76
|
-
select: (selected: boolean, event?: Event | undefined) => void;
|
|
77
|
-
isSelected: boolean;
|
|
78
|
-
isIndeterminate: boolean;
|
|
79
|
-
}>;
|
|
71
|
+
slotProps: import("vue").ComputedRef<IItemSlotProps>;
|
|
80
72
|
hasTitle: import("vue").ComputedRef<boolean>;
|
|
81
73
|
hasDescription: import("vue").ComputedRef<boolean>;
|
|
82
74
|
hasPrepend: import("vue").ComputedRef<boolean>;
|
|
@@ -99,9 +91,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
99
91
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
92
|
disabled: {
|
|
101
93
|
type: PropType<boolean>;
|
|
102
|
-
default: boolean;
|
|
103
|
-
* Заголовок элемента списка
|
|
104
|
-
*/
|
|
94
|
+
default: boolean;
|
|
105
95
|
};
|
|
106
96
|
tag: {
|
|
107
97
|
type: PropType<string>;
|
|
@@ -117,16 +107,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
117
107
|
default: undefined;
|
|
118
108
|
};
|
|
119
109
|
prependIcon: {
|
|
120
|
-
type: PropType<"link" | "
|
|
121
|
-
* Активное состояние
|
|
122
|
-
*/
|
|
110
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
123
111
|
default: undefined;
|
|
124
|
-
validator: (value: "link" | "
|
|
112
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
125
113
|
};
|
|
126
114
|
appendIcon: {
|
|
127
|
-
type: PropType<"link" | "
|
|
115
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
128
116
|
default: undefined;
|
|
129
|
-
validator: (value: "link" | "
|
|
117
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
130
118
|
};
|
|
131
119
|
/**
|
|
132
120
|
* Заголовок элемента списка
|
|
@@ -166,16 +154,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
166
154
|
}>> & {
|
|
167
155
|
onClick?: ((event: MouseEvent | KeyboardEvent | TouchEvent) => any) | undefined;
|
|
168
156
|
}, {
|
|
169
|
-
description: string;
|
|
170
|
-
href: string;
|
|
171
|
-
to: import("vue-router").RouteLocationRaw;
|
|
172
|
-
disabled: boolean;
|
|
173
|
-
tag: string;
|
|
174
157
|
title: string;
|
|
175
158
|
value: any;
|
|
176
|
-
|
|
177
|
-
|
|
159
|
+
tag: string;
|
|
160
|
+
description: string;
|
|
161
|
+
disabled: boolean;
|
|
178
162
|
active: boolean;
|
|
163
|
+
prependIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
164
|
+
appendIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
165
|
+
href: string;
|
|
166
|
+
to: import("vue-router").RouteLocationRaw;
|
|
179
167
|
isClickable: boolean;
|
|
180
168
|
}>;
|
|
181
169
|
export default _sfc_main;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
export declare const componentName = "CdsLoader";
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
4
9
|
size: {
|
|
5
10
|
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
6
11
|
default: string;
|
|
@@ -31,7 +36,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
31
36
|
'cds-loader__fixed': boolean;
|
|
32
37
|
}>;
|
|
33
38
|
sizeClasses: import("vue").ComputedRef<string>;
|
|
39
|
+
themeClasses: Readonly<import("vue").ComputedRef<string | undefined>>;
|
|
34
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
theme: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
35
46
|
size: {
|
|
36
47
|
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
37
48
|
default: string;
|
|
@@ -54,9 +65,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
54
65
|
description: string;
|
|
55
66
|
};
|
|
56
67
|
}>>, {
|
|
57
|
-
description: string;
|
|
58
68
|
fixed: boolean;
|
|
69
|
+
description: string;
|
|
59
70
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
71
|
+
theme: string;
|
|
60
72
|
overlay: boolean;
|
|
61
73
|
}>;
|
|
62
74
|
export default _sfc_main;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const componentName = "CdsMain";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsMain } from './CdsMain.vue';
|