@central-design-system/components 3.0.0-alpha.9 → 3.0.0-beta.2
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 +31 -1
- package/dist/cds.es.js +13731 -5362
- package/dist/cds.umd.js +18 -1
- package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +963 -0
- package/dist/components/CdsAutocomplete/index.d.ts +1 -0
- package/dist/components/CdsBadge/CdsBadge.vue.d.ts +4 -7
- package/dist/components/CdsBadge/index.d.ts +1 -0
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +1 -5
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +1 -6
- package/dist/components/CdsButton/CdsButton.vue.d.ts +84 -33
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +10 -56
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +8 -8
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +687 -588
- 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 +205 -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/CdsDatePicker/CdsDatePicker.vue.d.ts +13 -46
- package/dist/components/CdsDatePicker/index.d.ts +1 -0
- package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +8 -3
- package/dist/components/CdsDrawer/index.d.ts +1 -0
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +668 -618
- 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 +115 -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 +75 -0
- package/dist/components/CdsFooter/index.d.ts +1 -0
- package/dist/components/CdsForm/CdsForm.vue.d.ts +2 -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 +75 -0
- package/dist/components/CdsHeader/index.d.ts +1 -0
- package/dist/components/CdsIcon/CdsIcon.vue.d.ts +3 -3
- package/dist/components/CdsInput/CdsInput.vue.d.ts +24 -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 +36 -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 +1 -1
- package/dist/components/CdsList/CdsList.vue.d.ts +21 -11
- 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 +1 -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 +14 -331
- package/dist/components/CdsModal/CdsModal.vue.d.ts +447 -0
- package/dist/components/CdsModal/index.d.ts +1 -0
- package/dist/components/CdsNotification/CdsNotification.vue.d.ts +155 -0
- package/dist/components/CdsNotification/CdsNotificationAlert.vue.d.ts +454 -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 +3 -8
- package/dist/components/CdsPagination/index.d.ts +1 -0
- package/dist/components/CdsProgress/CdsProgress.vue.d.ts +145 -0
- package/dist/components/CdsProgress/index.d.ts +1 -0
- package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +222 -8
- package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +8 -8
- package/dist/components/CdsRadioButton/index.d.ts +2 -0
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +121 -115
- package/dist/components/CdsSelect/index.d.ts +1 -0
- package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +8 -2
- package/dist/components/CdsSidebar/index.d.ts +1 -0
- package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.vue.d.ts +121 -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/index.d.ts +1 -0
- package/dist/components/CdsStatus/index.d.ts +1 -0
- package/dist/components/CdsSteps/CdsSteps.vue.d.ts +163 -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 +1162 -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 +1154 -0
- package/dist/components/CdsTable/components/TableProvider.d.ts +1147 -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 +649 -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 +225 -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 +2 -2
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +102 -104
- package/dist/components/CdsTextArea/index.d.ts +1 -0
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +137 -139
- package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +10 -37
- package/dist/components/CdsTimePicker/index.d.ts +1 -0
- package/dist/components/CdsToggle/CdsToggle.vue.d.ts +192 -0
- package/dist/components/CdsToggle/index.d.ts +1 -0
- package/dist/components/CdsToolbar/CdsToolbar.vue.d.ts +45 -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 +15 -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 +525 -0
- package/dist/components/CdsUploader/components/AjaxUploader.d.ts +342 -0
- package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +400 -0
- package/dist/components/CdsUploader/components/UploadList/UploadList.d.ts +403 -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 +360 -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 +79 -1
- package/dist/composable/align.d.ts +17 -0
- package/dist/composable/datetime.d.ts +2 -18
- package/dist/composable/display.d.ts +3 -0
- package/dist/composable/field.d.ts +19 -3
- package/dist/composable/filter.d.ts +2 -2
- package/dist/composable/group.d.ts +139 -0
- package/dist/composable/icon.d.ts +2 -2
- package/dist/composable/index.d.ts +8 -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/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 +100 -15
- 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/text.d.ts +3 -1
- package/dist/composable/variant.d.ts +26 -0
- package/dist/create.d.ts +2 -0
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/touch/index.d.ts +46 -0
- package/dist/globals.d.ts +5 -0
- package/dist/locale/en.d.ts +3 -0
- package/dist/locale/index.d.ts +23 -10
- package/dist/transitions/index.d.ts +61 -0
- package/dist/transitions/modalTransition.d.ts +8 -0
- package/dist/utils/{date.d.ts → date/date.d.ts} +10 -2
- 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 +63 -2
- package/dist/utils/index.d.ts +18 -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/themes/index.ts +1 -1
- package/dist/utils/dom.d.ts +0 -6
- package/dist/utils/getScrollParent.d.ts +0 -3
- /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,447 @@
|
|
|
1
|
+
import type { PropType, Component } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsModal";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
transition: Omit<{
|
|
5
|
+
type: PropType<string | boolean | (import("vue").TransitionProps & {
|
|
6
|
+
component?: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
7
|
+
})>;
|
|
8
|
+
default: string;
|
|
9
|
+
validator: (value: unknown) => boolean;
|
|
10
|
+
}, "default" | "type"> & {
|
|
11
|
+
type: PropType<NonNullable<string | boolean | (import("vue").TransitionProps & {
|
|
12
|
+
component?: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
13
|
+
})> | {
|
|
14
|
+
component: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
15
|
+
}>;
|
|
16
|
+
default: NonNullable<string | boolean | (import("vue").TransitionProps & {
|
|
17
|
+
component?: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
18
|
+
})> | {
|
|
19
|
+
component: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
scrollStrategy: Omit<{
|
|
23
|
+
type: PropType<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: any) => boolean;
|
|
26
|
+
}, "default" | "type"> & {
|
|
27
|
+
type: PropType<NonNullable<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>>;
|
|
28
|
+
default: NonNullable<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>;
|
|
29
|
+
};
|
|
30
|
+
locationStrategy: {
|
|
31
|
+
type: PropType<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: import("../CdsOverlay/composable").ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
32
|
+
updateLocation: (event: Event) => void;
|
|
33
|
+
} | undefined)>;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (value: any) => boolean;
|
|
36
|
+
};
|
|
37
|
+
location: {
|
|
38
|
+
type: PropType<import('../../utils').TAnchor>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
origin: Omit<{
|
|
42
|
+
type: PropType<import('../../utils').TAnchor | "auto" | "overlap">;
|
|
43
|
+
default: string;
|
|
44
|
+
}, "default" | "type"> & {
|
|
45
|
+
type: PropType<NonNullable<import('../../utils').TAnchor | "auto" | "overlap">>;
|
|
46
|
+
default: NonNullable<import('../../utils').TAnchor | "auto" | "overlap">;
|
|
47
|
+
};
|
|
48
|
+
offset: {
|
|
49
|
+
type: PropType<string | number | number[]>;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
52
|
+
attach: {
|
|
53
|
+
type: PropType<string | boolean | Element>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
contained: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
persistent: {
|
|
65
|
+
type: PropType<boolean>;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
scrim: {
|
|
69
|
+
type: PropType<string | boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
modelValue: {
|
|
73
|
+
type: PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
closeOnBack: {
|
|
77
|
+
type: PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
zIndex: Omit<{
|
|
81
|
+
type: PropType<string | number>;
|
|
82
|
+
default: number;
|
|
83
|
+
}, "default" | "type"> & {
|
|
84
|
+
type: PropType<NonNullable<string | number>>;
|
|
85
|
+
default: NonNullable<string | number>;
|
|
86
|
+
};
|
|
87
|
+
contentClasses: {
|
|
88
|
+
type: PropType<string | string[] | Record<string, boolean>>;
|
|
89
|
+
default: null;
|
|
90
|
+
};
|
|
91
|
+
contentProps: {
|
|
92
|
+
type: PropType<Record<string, unknown>>;
|
|
93
|
+
default: () => {};
|
|
94
|
+
};
|
|
95
|
+
noClickAnimation: {
|
|
96
|
+
type: PropType<boolean>;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
size: {
|
|
100
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
101
|
+
default: string;
|
|
102
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
103
|
+
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
104
|
+
};
|
|
105
|
+
loading: {
|
|
106
|
+
type: PropType<boolean>;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
closeDelay: {
|
|
110
|
+
type: PropType<string | number>;
|
|
111
|
+
default: null;
|
|
112
|
+
};
|
|
113
|
+
openDelay: {
|
|
114
|
+
type: PropType<string | number>;
|
|
115
|
+
default: null;
|
|
116
|
+
};
|
|
117
|
+
eager: {
|
|
118
|
+
type: PropType<boolean>;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
height: {
|
|
122
|
+
type: PropType<string | number>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
width: {
|
|
126
|
+
type: PropType<string | number>;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
maxHeight: {
|
|
130
|
+
type: PropType<string | number>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
maxWidth: {
|
|
134
|
+
type: PropType<string | number>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
minHeight: {
|
|
138
|
+
type: PropType<string | number>;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
minWidth: {
|
|
142
|
+
type: PropType<string | number>;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
activator: {
|
|
146
|
+
type: PropType<string | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element>;
|
|
147
|
+
default: null;
|
|
148
|
+
};
|
|
149
|
+
activatorProps: {
|
|
150
|
+
type: PropType<Record<string, any>>;
|
|
151
|
+
default: () => {};
|
|
152
|
+
};
|
|
153
|
+
openOnClick: {
|
|
154
|
+
type: PropType<boolean | undefined>;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
openOnHover: {
|
|
158
|
+
type: PropType<boolean>;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
openOnFocus: {
|
|
162
|
+
type: PropType<boolean | undefined>;
|
|
163
|
+
default: undefined;
|
|
164
|
+
};
|
|
165
|
+
closeOnContentClick: {
|
|
166
|
+
type: PropType<boolean>;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Модальное окно на весь экран
|
|
171
|
+
*/
|
|
172
|
+
fullscreen: {
|
|
173
|
+
type: PropType<boolean>;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Модальное окно с прокруткой
|
|
178
|
+
*/
|
|
179
|
+
scrollable: {
|
|
180
|
+
type: PropType<boolean>;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Сохранять фокус внутри модального окна, по-умолчанию true.
|
|
185
|
+
* Его можно отключить, если необходимо использовать собственный элемент для фокусировки
|
|
186
|
+
*/
|
|
187
|
+
retainFocus: {
|
|
188
|
+
type: PropType<boolean>;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Показывать кнопку закрытия модального окна (или слот dismissBtn)
|
|
193
|
+
*/
|
|
194
|
+
dismissBtn: {
|
|
195
|
+
type: PropType<boolean>;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
199
|
+
/**
|
|
200
|
+
* Событие изменения состояния модального окна
|
|
201
|
+
* @param value
|
|
202
|
+
*/
|
|
203
|
+
'update:modelValue': (value: boolean) => true;
|
|
204
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
|
+
transition: Omit<{
|
|
206
|
+
type: PropType<string | boolean | (import("vue").TransitionProps & {
|
|
207
|
+
component?: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
208
|
+
})>;
|
|
209
|
+
default: string;
|
|
210
|
+
validator: (value: unknown) => boolean;
|
|
211
|
+
}, "default" | "type"> & {
|
|
212
|
+
type: PropType<NonNullable<string | boolean | (import("vue").TransitionProps & {
|
|
213
|
+
component?: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
214
|
+
})> | {
|
|
215
|
+
component: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
216
|
+
}>;
|
|
217
|
+
default: NonNullable<string | boolean | (import("vue").TransitionProps & {
|
|
218
|
+
component?: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
219
|
+
})> | {
|
|
220
|
+
component: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
scrollStrategy: Omit<{
|
|
224
|
+
type: PropType<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>;
|
|
225
|
+
default: string;
|
|
226
|
+
validator: (value: any) => boolean;
|
|
227
|
+
}, "default" | "type"> & {
|
|
228
|
+
type: PropType<NonNullable<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>>;
|
|
229
|
+
default: NonNullable<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>;
|
|
230
|
+
};
|
|
231
|
+
locationStrategy: {
|
|
232
|
+
type: PropType<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: import("../CdsOverlay/composable").ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
233
|
+
updateLocation: (event: Event) => void;
|
|
234
|
+
} | undefined)>;
|
|
235
|
+
default: string;
|
|
236
|
+
validator: (value: any) => boolean;
|
|
237
|
+
};
|
|
238
|
+
location: {
|
|
239
|
+
type: PropType<import('../../utils').TAnchor>;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
origin: Omit<{
|
|
243
|
+
type: PropType<import('../../utils').TAnchor | "auto" | "overlap">;
|
|
244
|
+
default: string;
|
|
245
|
+
}, "default" | "type"> & {
|
|
246
|
+
type: PropType<NonNullable<import('../../utils').TAnchor | "auto" | "overlap">>;
|
|
247
|
+
default: NonNullable<import('../../utils').TAnchor | "auto" | "overlap">;
|
|
248
|
+
};
|
|
249
|
+
offset: {
|
|
250
|
+
type: PropType<string | number | number[]>;
|
|
251
|
+
default: null;
|
|
252
|
+
};
|
|
253
|
+
attach: {
|
|
254
|
+
type: PropType<string | boolean | Element>;
|
|
255
|
+
default: boolean;
|
|
256
|
+
};
|
|
257
|
+
contained: {
|
|
258
|
+
type: PropType<boolean>;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
disabled: {
|
|
262
|
+
type: PropType<boolean>;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
persistent: {
|
|
266
|
+
type: PropType<boolean>;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
scrim: {
|
|
270
|
+
type: PropType<string | boolean>;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
modelValue: {
|
|
274
|
+
type: PropType<boolean>;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
closeOnBack: {
|
|
278
|
+
type: PropType<boolean>;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
281
|
+
zIndex: Omit<{
|
|
282
|
+
type: PropType<string | number>;
|
|
283
|
+
default: number;
|
|
284
|
+
}, "default" | "type"> & {
|
|
285
|
+
type: PropType<NonNullable<string | number>>;
|
|
286
|
+
default: NonNullable<string | number>;
|
|
287
|
+
};
|
|
288
|
+
contentClasses: {
|
|
289
|
+
type: PropType<string | string[] | Record<string, boolean>>;
|
|
290
|
+
default: null;
|
|
291
|
+
};
|
|
292
|
+
contentProps: {
|
|
293
|
+
type: PropType<Record<string, unknown>>;
|
|
294
|
+
default: () => {};
|
|
295
|
+
};
|
|
296
|
+
noClickAnimation: {
|
|
297
|
+
type: PropType<boolean>;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
size: {
|
|
301
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
302
|
+
default: string;
|
|
303
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
304
|
+
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
305
|
+
};
|
|
306
|
+
loading: {
|
|
307
|
+
type: PropType<boolean>;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
310
|
+
closeDelay: {
|
|
311
|
+
type: PropType<string | number>;
|
|
312
|
+
default: null;
|
|
313
|
+
};
|
|
314
|
+
openDelay: {
|
|
315
|
+
type: PropType<string | number>;
|
|
316
|
+
default: null;
|
|
317
|
+
};
|
|
318
|
+
eager: {
|
|
319
|
+
type: PropType<boolean>;
|
|
320
|
+
default: boolean;
|
|
321
|
+
};
|
|
322
|
+
height: {
|
|
323
|
+
type: PropType<string | number>;
|
|
324
|
+
default: string;
|
|
325
|
+
};
|
|
326
|
+
width: {
|
|
327
|
+
type: PropType<string | number>;
|
|
328
|
+
default: string;
|
|
329
|
+
};
|
|
330
|
+
maxHeight: {
|
|
331
|
+
type: PropType<string | number>;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
maxWidth: {
|
|
335
|
+
type: PropType<string | number>;
|
|
336
|
+
default: string;
|
|
337
|
+
};
|
|
338
|
+
minHeight: {
|
|
339
|
+
type: PropType<string | number>;
|
|
340
|
+
default: string;
|
|
341
|
+
};
|
|
342
|
+
minWidth: {
|
|
343
|
+
type: PropType<string | number>;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
346
|
+
activator: {
|
|
347
|
+
type: PropType<string | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element>;
|
|
348
|
+
default: null;
|
|
349
|
+
};
|
|
350
|
+
activatorProps: {
|
|
351
|
+
type: PropType<Record<string, any>>;
|
|
352
|
+
default: () => {};
|
|
353
|
+
};
|
|
354
|
+
openOnClick: {
|
|
355
|
+
type: PropType<boolean | undefined>;
|
|
356
|
+
default: undefined;
|
|
357
|
+
};
|
|
358
|
+
openOnHover: {
|
|
359
|
+
type: PropType<boolean>;
|
|
360
|
+
default: boolean;
|
|
361
|
+
};
|
|
362
|
+
openOnFocus: {
|
|
363
|
+
type: PropType<boolean | undefined>;
|
|
364
|
+
default: undefined;
|
|
365
|
+
};
|
|
366
|
+
closeOnContentClick: {
|
|
367
|
+
type: PropType<boolean>;
|
|
368
|
+
default: boolean;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Модальное окно на весь экран
|
|
372
|
+
*/
|
|
373
|
+
fullscreen: {
|
|
374
|
+
type: PropType<boolean>;
|
|
375
|
+
default: boolean;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Модальное окно с прокруткой
|
|
379
|
+
*/
|
|
380
|
+
scrollable: {
|
|
381
|
+
type: PropType<boolean>;
|
|
382
|
+
default: boolean;
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* Сохранять фокус внутри модального окна, по-умолчанию true.
|
|
386
|
+
* Его можно отключить, если необходимо использовать собственный элемент для фокусировки
|
|
387
|
+
*/
|
|
388
|
+
retainFocus: {
|
|
389
|
+
type: PropType<boolean>;
|
|
390
|
+
default: boolean;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* Показывать кнопку закрытия модального окна (или слот dismissBtn)
|
|
394
|
+
*/
|
|
395
|
+
dismissBtn: {
|
|
396
|
+
type: PropType<boolean>;
|
|
397
|
+
default: boolean;
|
|
398
|
+
};
|
|
399
|
+
}>> & {
|
|
400
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
401
|
+
}, {
|
|
402
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
403
|
+
disabled: boolean;
|
|
404
|
+
location: import('../../utils').TAnchor;
|
|
405
|
+
modelValue: boolean;
|
|
406
|
+
eager: boolean;
|
|
407
|
+
loading: boolean;
|
|
408
|
+
transition: NonNullable<string | boolean | (import("vue").TransitionProps & {
|
|
409
|
+
component?: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
410
|
+
})> | {
|
|
411
|
+
component: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
412
|
+
};
|
|
413
|
+
attach: string | boolean | Element;
|
|
414
|
+
contained: boolean;
|
|
415
|
+
persistent: boolean;
|
|
416
|
+
scrim: string | boolean;
|
|
417
|
+
closeOnBack: boolean;
|
|
418
|
+
zIndex: NonNullable<string | number>;
|
|
419
|
+
contentClasses: string | string[] | Record<string, boolean>;
|
|
420
|
+
contentProps: Record<string, unknown>;
|
|
421
|
+
noClickAnimation: boolean;
|
|
422
|
+
activator: string | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element;
|
|
423
|
+
activatorProps: Record<string, any>;
|
|
424
|
+
openOnClick: boolean | undefined;
|
|
425
|
+
openOnHover: boolean;
|
|
426
|
+
openOnFocus: boolean | undefined;
|
|
427
|
+
closeOnContentClick: boolean;
|
|
428
|
+
closeDelay: string | number;
|
|
429
|
+
openDelay: string | number;
|
|
430
|
+
locationStrategy: "static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: import("../CdsOverlay/composable").ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
431
|
+
updateLocation: (event: Event) => void;
|
|
432
|
+
} | undefined);
|
|
433
|
+
origin: NonNullable<import('../../utils').TAnchor | "auto" | "overlap">;
|
|
434
|
+
offset: string | number | number[];
|
|
435
|
+
scrollStrategy: NonNullable<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>;
|
|
436
|
+
height: string | number;
|
|
437
|
+
width: string | number;
|
|
438
|
+
maxHeight: string | number;
|
|
439
|
+
maxWidth: string | number;
|
|
440
|
+
minHeight: string | number;
|
|
441
|
+
minWidth: string | number;
|
|
442
|
+
fullscreen: boolean;
|
|
443
|
+
scrollable: boolean;
|
|
444
|
+
retainFocus: boolean;
|
|
445
|
+
dismissBtn: boolean;
|
|
446
|
+
}>;
|
|
447
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsModal } from './CdsModal.vue';
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsNotification";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
locale: {
|
|
5
|
+
type: PropType<"ru" | "en" | import("../../locale").ILocale>; /**
|
|
6
|
+
* Состояние уведомления
|
|
7
|
+
*/
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
tag: {
|
|
11
|
+
type: PropType<string>;
|
|
12
|
+
default: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
status: {
|
|
16
|
+
type: PropType<"error" | "info" | "success" | "warning" | "progress">;
|
|
17
|
+
default: string;
|
|
18
|
+
available: readonly ["info", "success", "warning", "error", "progress"];
|
|
19
|
+
description: string;
|
|
20
|
+
validator: (value: "error" | "info" | "success" | "warning" | "progress") => boolean;
|
|
21
|
+
};
|
|
22
|
+
variant: {
|
|
23
|
+
type: PropType<any>;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: "default" | "important") => boolean;
|
|
26
|
+
};
|
|
27
|
+
icon: {
|
|
28
|
+
type: PropType<false | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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">;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
customIcon: {
|
|
32
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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" | undefined>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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" | undefined) => boolean;
|
|
35
|
+
};
|
|
36
|
+
closable: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
closeLabel: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
closeIcon: {
|
|
45
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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">;
|
|
46
|
+
default: string;
|
|
47
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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;
|
|
48
|
+
};
|
|
49
|
+
text: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
title: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Состояние уведомления
|
|
59
|
+
*/
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
}, () => false | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
67
|
+
/**
|
|
68
|
+
* Событие клика по кнопке закрытия
|
|
69
|
+
* @param event
|
|
70
|
+
*/
|
|
71
|
+
'click:close': (event: MouseEvent) => true;
|
|
72
|
+
/**
|
|
73
|
+
* Событие изменения состояния
|
|
74
|
+
* @param value
|
|
75
|
+
*/
|
|
76
|
+
'update:modelValue': (value: boolean) => true;
|
|
77
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
locale: {
|
|
79
|
+
type: PropType<"ru" | "en" | import("../../locale").ILocale>; /**
|
|
80
|
+
* Состояние уведомления
|
|
81
|
+
*/
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
tag: {
|
|
85
|
+
type: PropType<string>;
|
|
86
|
+
default: string;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
status: {
|
|
90
|
+
type: PropType<"error" | "info" | "success" | "warning" | "progress">;
|
|
91
|
+
default: string;
|
|
92
|
+
available: readonly ["info", "success", "warning", "error", "progress"];
|
|
93
|
+
description: string;
|
|
94
|
+
validator: (value: "error" | "info" | "success" | "warning" | "progress") => boolean;
|
|
95
|
+
};
|
|
96
|
+
variant: {
|
|
97
|
+
type: PropType<any>;
|
|
98
|
+
default: string;
|
|
99
|
+
validator: (value: "default" | "important") => boolean;
|
|
100
|
+
};
|
|
101
|
+
icon: {
|
|
102
|
+
type: PropType<false | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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">;
|
|
103
|
+
default: null;
|
|
104
|
+
};
|
|
105
|
+
customIcon: {
|
|
106
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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" | undefined>;
|
|
107
|
+
default: undefined;
|
|
108
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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" | undefined) => boolean;
|
|
109
|
+
};
|
|
110
|
+
closable: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
closeLabel: {
|
|
115
|
+
type: PropType<string>;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
closeIcon: {
|
|
119
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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">;
|
|
120
|
+
default: string;
|
|
121
|
+
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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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;
|
|
122
|
+
};
|
|
123
|
+
text: {
|
|
124
|
+
type: PropType<string>;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
title: {
|
|
128
|
+
type: PropType<string>;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Состояние уведомления
|
|
133
|
+
*/
|
|
134
|
+
modelValue: {
|
|
135
|
+
type: PropType<boolean>;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
}>> & {
|
|
139
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
140
|
+
"onClick:close"?: ((event: MouseEvent) => any) | undefined;
|
|
141
|
+
}, {
|
|
142
|
+
title: string;
|
|
143
|
+
tag: string;
|
|
144
|
+
text: string;
|
|
145
|
+
modelValue: boolean;
|
|
146
|
+
locale: "ru" | "en" | import("../../locale").ILocale;
|
|
147
|
+
icon: false | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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";
|
|
148
|
+
variant: any;
|
|
149
|
+
customIcon: "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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" | undefined;
|
|
150
|
+
closable: boolean;
|
|
151
|
+
closeLabel: string;
|
|
152
|
+
closeIcon: "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "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";
|
|
153
|
+
status: "error" | "info" | "success" | "warning" | "progress";
|
|
154
|
+
}>;
|
|
155
|
+
export default _sfc_main;
|