@central-design-system/components 3.0.0-alpha.0 → 3.0.0-alpha.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 +54 -24
- package/dist/cds.es.js +12619 -1577
- package/dist/cds.umd.js +18 -1
- package/dist/components/CdsBadge/index.d.ts +1 -0
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +64 -0
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +54 -0
- package/dist/components/CdsBreadcrumbs/index.d.ts +2 -0
- package/dist/components/CdsButton/CdsButton.vue.d.ts +28 -18
- package/dist/components/CdsButton/index.d.ts +1 -0
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +254 -0
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +227 -0
- package/dist/components/CdsCheckbox/index.d.ts +2 -0
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +2457 -0
- package/dist/components/CdsCombobox/composable/highlight.d.ts +12 -0
- package/dist/components/CdsCombobox/index.d.ts +1 -0
- package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +249 -0
- package/dist/components/CdsDatePicker/composable/calendar.d.ts +317 -0
- package/dist/components/CdsDatePicker/composable/index.d.ts +1 -0
- package/dist/components/CdsDatePicker/index.d.ts +1 -0
- package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +22 -6
- package/dist/components/CdsDrawer/index.d.ts +1 -0
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +2413 -0
- package/dist/components/CdsDropdown/index.d.ts +1 -0
- package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +54 -0
- package/dist/components/CdsEmptyState/index.d.ts +1 -0
- package/dist/components/CdsForm/CdsForm.vue.d.ts +109 -0
- package/dist/components/CdsForm/index.d.ts +1 -0
- package/dist/components/CdsGrid/CdsCol.vue.d.ts +1 -1
- package/dist/components/CdsGrid/composable/grid.d.ts +2 -1
- package/dist/components/CdsGrid/index.d.ts +3 -0
- package/dist/components/CdsIcon/CdsIcon.vue.d.ts +4 -4
- package/dist/components/CdsInput/CdsInput.vue.d.ts +239 -0
- package/dist/components/CdsInput/CdsInputCounter.vue.d.ts +39 -0
- package/dist/components/CdsInput/CdsInputDescription.vue.d.ts +26 -0
- package/dist/components/CdsInput/CdsInputLabel.vue.d.ts +32 -0
- package/dist/components/CdsInput/CdsInputMessages.vue.d.ts +221 -0
- package/dist/components/CdsInput/index.d.ts +5 -0
- package/dist/components/CdsLink/CdsLink.vue.d.ts +10 -3
- package/dist/components/CdsLink/index.d.ts +1 -0
- package/dist/components/CdsList/CdsList.vue.d.ts +62 -33
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +7 -7
- package/dist/components/CdsList/CdsListItem.vue.d.ts +35 -26
- package/dist/components/CdsList/composable/focus.d.ts +12 -0
- package/dist/components/CdsList/composable/index.d.ts +1 -0
- package/dist/components/CdsList/composable/list.d.ts +1 -1
- package/dist/components/CdsLoader/CdsLoader.vue.d.ts +1 -1
- package/dist/components/CdsMenu/CdsMenu.vue.d.ts +697 -0
- package/dist/components/CdsMenu/index.d.ts +1 -0
- package/dist/components/CdsMenu/shared.d.ts +10 -0
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +343 -0
- package/dist/components/CdsOverlay/composable/activator.d.ts +81 -0
- package/dist/components/CdsOverlay/composable/index.d.ts +6 -0
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +78 -0
- package/dist/components/CdsOverlay/composable/scrim.d.ts +8 -0
- package/dist/components/CdsOverlay/composable/scrollStrategies.d.ts +33 -0
- package/dist/components/CdsOverlay/composable/stack.d.ts +9 -0
- package/dist/components/CdsOverlay/composable/teleport.d.ts +6 -0
- package/dist/components/CdsOverlay/index.d.ts +1 -0
- package/dist/components/CdsOverlay/utils/index.d.ts +2 -0
- package/dist/components/CdsOverlay/utils/point.d.ts +20 -0
- package/dist/components/CdsOverlay/utils/requestNewFrame.d.ts +5 -0
- package/dist/components/CdsPagination/CdsPagination.vue.d.ts +142 -0
- package/dist/components/CdsPagination/index.d.ts +1 -0
- package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +230 -0
- package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +228 -0
- package/dist/components/CdsRadioButton/index.d.ts +2 -0
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +775 -0
- package/dist/components/CdsSelect/index.d.ts +1 -0
- package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +66 -0
- package/dist/components/CdsSidebar/index.d.ts +1 -0
- package/dist/components/CdsStages/CdsStages.vue.d.ts +102 -0
- package/dist/components/CdsStages/index.d.ts +1 -0
- package/dist/components/CdsStatus/index.d.ts +1 -0
- package/dist/components/CdsTable/CdsTable.vue.d.ts +1147 -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 +1139 -0
- package/dist/components/CdsTable/components/TableProvider.d.ts +1132 -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 +640 -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/CdsTag/CdsTag.vue.d.ts +11 -6
- package/dist/components/CdsTag/index.d.ts +1 -0
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +782 -0
- package/dist/components/CdsTextArea/index.d.ts +1 -0
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +735 -0
- package/dist/components/CdsTextInput/index.d.ts +1 -0
- package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +144 -0
- package/dist/components/CdsTimePicker/composable/index.d.ts +1 -0
- package/dist/components/CdsTimePicker/composable/time.d.ts +134 -0
- package/dist/components/CdsTimePicker/index.d.ts +1 -0
- package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +765 -0
- 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/index.d.ts +60 -1
- package/dist/composable/color.d.ts +4 -2
- package/dist/composable/datetime.d.ts +45 -0
- package/dist/composable/delay.d.ts +29 -0
- package/dist/composable/dimensions.d.ts +65 -0
- package/dist/composable/direction.d.ts +24 -0
- package/dist/composable/display.d.ts +59 -0
- package/dist/composable/field.d.ts +139 -0
- package/dist/composable/filter.d.ts +52 -0
- package/dist/composable/focus.d.ts +19 -9
- package/dist/composable/form.d.ts +128 -0
- package/dist/composable/hidration.d.ts +2 -0
- package/dist/composable/icon.d.ts +29 -4
- package/dist/composable/index.d.ts +24 -0
- package/dist/composable/input.d.ts +99 -0
- package/dist/composable/items.d.ts +12 -9
- package/dist/composable/lazy.d.ts +21 -0
- package/dist/composable/link.d.ts +1 -2
- package/dist/composable/loading.d.ts +1 -0
- package/dist/composable/locale.d.ts +18 -0
- package/dist/composable/menu.d.ts +37 -0
- package/dist/composable/nested/nested.d.ts +2 -2
- package/dist/composable/overlay.d.ts +98 -0
- package/dist/composable/readonly.d.ts +19 -0
- package/dist/composable/refs.d.ts +6 -0
- package/dist/composable/resizeObserver.d.ts +7 -0
- package/dist/composable/router.d.ts +3 -0
- package/dist/composable/scopeId.d.ts +5 -0
- package/dist/composable/select.d.ts +86 -0
- package/dist/composable/state.d.ts +13 -0
- package/dist/composable/title.d.ts +21 -0
- package/dist/composable/transition.d.ts +22 -0
- package/dist/composable/validation.d.ts +112 -0
- package/dist/create.d.ts +23 -0
- package/dist/directives/click-outside/index.d.ts +14 -0
- package/dist/directives/index.d.ts +1 -2
- package/dist/globals.d.ts +18 -0
- package/dist/locale/en.d.ts +3 -0
- package/dist/locale/index.d.ts +13 -0
- package/dist/locale/ru.d.ts +3 -0
- package/dist/transitions/createTransition.d.ts +31 -2
- package/dist/transitions/index.d.ts +240 -0
- package/dist/utils/date/date.d.ts +190 -0
- package/dist/utils/dom/anchor.d.ts +23 -0
- package/dist/utils/dom/animation.d.ts +6 -0
- package/dist/utils/dom/box.d.ts +26 -0
- package/dist/utils/dom/classNames.d.ts +1 -0
- package/dist/utils/dom/dom.d.ts +10 -0
- package/dist/utils/dom/getScrollParent.d.ts +12 -0
- package/dist/utils/dom/globals.d.ts +4 -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 +133 -20
- package/dist/utils/index.d.ts +16 -1
- package/dist/utils/use/cache.d.ts +4 -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 -5
- package/src/scss/mixins/layout/_shadow.scss +4 -0
- package/src/scss/mixins/layout/index.scss +1 -0
- package/src/scss/modules/_transition.scss +133 -3
- package/src/scss/themes/index.ts +1 -1
- package/src/scss/utility/lists.scss +1 -0
- package/dist/types/CdsOptions.d.ts +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsDropdown } from './CdsDropdown.vue';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { TCdsIllustrationsName } from '@central-design-system/illustrations';
|
|
3
|
+
export declare const componentName = "CdsEmptyState";
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
title: {
|
|
6
|
+
type: PropType<string>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Описание
|
|
11
|
+
*/
|
|
12
|
+
description: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Иллюстрация
|
|
18
|
+
*/
|
|
19
|
+
illustration: {
|
|
20
|
+
type: PropType<"actives-rise-rub" | "bank-rub" | "book-building" | "book-chat" | "book-finger" | "books-apple-hat" | "calendar-watch" | "car-boxes" | "chip" | "chocholate-menu" | "display-analytics" | "display-demo" | "display-user-profile" | "doc-laptop" | "finger-click-rub" | "hammer-buildings" | "hand-card-rub" | "hand-gear" | "hand-glass" | "hand-money" | "handshake-rub" | "key" | "like-display-click" | "like-profile-rub" | "mail-opened" | "man-laptop-world" | "man-spyglass" | "phone-in-hand" | "rocket" | "sandwatch-rub" | "search-interface" | "support" | "user-analytics" | "woman-chat">;
|
|
21
|
+
default: undefined;
|
|
22
|
+
validator: (value: TCdsIllustrationsName) => boolean;
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
illustrationComponent: import("vue").ComputedRef<string>;
|
|
26
|
+
hasIllustrationSlot: import("vue").ComputedRef<boolean>;
|
|
27
|
+
hasTitleSlot: import("vue").ComputedRef<boolean>;
|
|
28
|
+
hasDescriptionSlot: import("vue").ComputedRef<boolean>;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
title: {
|
|
31
|
+
type: PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Описание
|
|
36
|
+
*/
|
|
37
|
+
description: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Иллюстрация
|
|
43
|
+
*/
|
|
44
|
+
illustration: {
|
|
45
|
+
type: PropType<"actives-rise-rub" | "bank-rub" | "book-building" | "book-chat" | "book-finger" | "books-apple-hat" | "calendar-watch" | "car-boxes" | "chip" | "chocholate-menu" | "display-analytics" | "display-demo" | "display-user-profile" | "doc-laptop" | "finger-click-rub" | "hammer-buildings" | "hand-card-rub" | "hand-gear" | "hand-glass" | "hand-money" | "handshake-rub" | "key" | "like-display-click" | "like-profile-rub" | "mail-opened" | "man-laptop-world" | "man-spyglass" | "phone-in-hand" | "rocket" | "sandwatch-rub" | "search-interface" | "support" | "user-analytics" | "woman-chat">;
|
|
46
|
+
default: undefined;
|
|
47
|
+
validator: (value: TCdsIllustrationsName) => boolean;
|
|
48
|
+
};
|
|
49
|
+
}>>, {
|
|
50
|
+
description: string;
|
|
51
|
+
title: string;
|
|
52
|
+
illustration: "actives-rise-rub" | "bank-rub" | "book-building" | "book-chat" | "book-finger" | "books-apple-hat" | "calendar-watch" | "car-boxes" | "chip" | "chocholate-menu" | "display-analytics" | "display-demo" | "display-user-profile" | "doc-laptop" | "finger-click-rub" | "hammer-buildings" | "hand-card-rub" | "hand-gear" | "hand-glass" | "hand-money" | "handshake-rub" | "key" | "like-display-click" | "like-profile-rub" | "mail-opened" | "man-laptop-world" | "man-spyglass" | "phone-in-hand" | "rocket" | "sandwatch-rub" | "search-interface" | "support" | "user-analytics" | "woman-chat";
|
|
53
|
+
}>;
|
|
54
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsEmptyState } from './CdsEmptyState.vue';
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { SubmitEventPromise } from '../../composable';
|
|
2
|
+
export declare const componentName = "CdsForm";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
label: {
|
|
5
|
+
type: import("vue").PropType<string>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
description: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
readonly: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
firstFail: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: import("vue").PropType<boolean | null>;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
validateOn: {
|
|
29
|
+
type: import("vue").PropType<"input" | "blur" | "submit" | undefined>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
form: {
|
|
34
|
+
errors: import("vue").Ref<{
|
|
35
|
+
id: string | number;
|
|
36
|
+
errorMessages: string[];
|
|
37
|
+
}[]>;
|
|
38
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
39
|
+
isReadonly: import("vue").ComputedRef<boolean>;
|
|
40
|
+
isValidating: import("vue").Ref<boolean>;
|
|
41
|
+
model: import("vue").Ref<boolean | null> & {
|
|
42
|
+
readonly externalValue: boolean | null;
|
|
43
|
+
};
|
|
44
|
+
validate: () => Promise<{
|
|
45
|
+
valid: boolean;
|
|
46
|
+
errors: {
|
|
47
|
+
id: string | number;
|
|
48
|
+
errorMessages: string[];
|
|
49
|
+
}[];
|
|
50
|
+
}>;
|
|
51
|
+
reset: () => void;
|
|
52
|
+
resetValidation: () => void;
|
|
53
|
+
};
|
|
54
|
+
formRef: import("vue").Ref<HTMLFormElement | undefined>;
|
|
55
|
+
hasLabel: import("vue").ComputedRef<boolean>;
|
|
56
|
+
hasDescription: import("vue").ComputedRef<boolean>;
|
|
57
|
+
onReset: (event: Event) => void;
|
|
58
|
+
onSubmit: (_event: Event) => void;
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
|
+
/**
|
|
61
|
+
* Событие при изменении значения (v-model)
|
|
62
|
+
*/
|
|
63
|
+
'update:modelValue': (value: boolean | null) => true;
|
|
64
|
+
/**
|
|
65
|
+
* Событие при отправке формы
|
|
66
|
+
*/
|
|
67
|
+
submit: (event: SubmitEventPromise) => true;
|
|
68
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
|
+
label: {
|
|
70
|
+
type: import("vue").PropType<string>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
description: {
|
|
74
|
+
type: import("vue").PropType<string>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
disabled: {
|
|
78
|
+
type: import("vue").PropType<boolean>;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
readonly: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
firstFail: {
|
|
86
|
+
type: import("vue").PropType<boolean>;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
modelValue: {
|
|
90
|
+
type: import("vue").PropType<boolean | null>;
|
|
91
|
+
default: null;
|
|
92
|
+
};
|
|
93
|
+
validateOn: {
|
|
94
|
+
type: import("vue").PropType<"input" | "blur" | "submit" | undefined>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
}>> & {
|
|
98
|
+
"onUpdate:modelValue"?: ((value: boolean | null) => any) | undefined;
|
|
99
|
+
onSubmit?: ((event: SubmitEventPromise) => any) | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
description: string;
|
|
102
|
+
disabled: boolean;
|
|
103
|
+
readonly: boolean;
|
|
104
|
+
label: string;
|
|
105
|
+
modelValue: boolean | null;
|
|
106
|
+
validateOn: "input" | "blur" | "submit" | undefined;
|
|
107
|
+
firstFail: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsForm } from './CdsForm.vue';
|
|
@@ -62,12 +62,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
62
62
|
description: string;
|
|
63
63
|
};
|
|
64
64
|
}>>, {
|
|
65
|
+
tag: string;
|
|
65
66
|
xs: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
|
|
66
67
|
sm: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
|
|
67
68
|
md: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
|
|
68
69
|
lg: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
|
|
69
70
|
xl: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
|
|
70
|
-
tag: string;
|
|
71
71
|
span: string | number | import("./types").TColumnSpanType;
|
|
72
72
|
}>;
|
|
73
73
|
export default _sfc_main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TCdsIconsName } from '@central-design-system/icons';
|
|
2
|
+
import type { TCdsIconsName } from '@central-design-system/icons';
|
|
3
3
|
export declare const componentName = "CdsIcon";
|
|
4
4
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
5
|
size: {
|
|
@@ -12,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
12
12
|
/**
|
|
13
13
|
* Название иконки
|
|
14
14
|
*/
|
|
15
|
-
type: PropType<"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" | "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" | "
|
|
15
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
16
16
|
default: undefined;
|
|
17
17
|
validator: (value: TCdsIconsName) => boolean;
|
|
18
18
|
};
|
|
@@ -33,12 +33,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
33
|
/**
|
|
34
34
|
* Название иконки
|
|
35
35
|
*/
|
|
36
|
-
type: PropType<"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" | "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" | "
|
|
36
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
37
37
|
default: undefined;
|
|
38
38
|
validator: (value: TCdsIconsName) => boolean;
|
|
39
39
|
};
|
|
40
40
|
}>> & {}, {
|
|
41
|
-
name: "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" | "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" | "
|
|
41
|
+
name: "link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
42
42
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
43
43
|
}>;
|
|
44
44
|
export default _sfc_main;
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { IInputSlot } from '../../composable';
|
|
3
|
+
export declare const componentName = "CdsInput";
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
6
|
+
'onClick:append': PropType<(...args: any[]) => any>;
|
|
7
|
+
size: {
|
|
8
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
9
|
+
default: string;
|
|
10
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
11
|
+
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
12
|
+
};
|
|
13
|
+
readonly: {
|
|
14
|
+
type: PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: PropType<boolean>;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
focused: {
|
|
22
|
+
type: PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
error: {
|
|
26
|
+
type: PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
errorMessages: {
|
|
30
|
+
type: PropType<string | string[]>;
|
|
31
|
+
default: () => never[];
|
|
32
|
+
};
|
|
33
|
+
maxErrors: {
|
|
34
|
+
type: PropType<string | number>;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
name: {
|
|
38
|
+
type: PropType<string | undefined>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
rules: {
|
|
42
|
+
type: PropType<import("../../composable").TValidationRule[]>;
|
|
43
|
+
default: () => never[];
|
|
44
|
+
};
|
|
45
|
+
modelValue: {
|
|
46
|
+
type: PropType<any>;
|
|
47
|
+
default: null;
|
|
48
|
+
};
|
|
49
|
+
validateOn: {
|
|
50
|
+
type: PropType<"input" | "blur" | "submit">;
|
|
51
|
+
default: string;
|
|
52
|
+
available: readonly ["blur", "input", "submit"];
|
|
53
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
54
|
+
};
|
|
55
|
+
validationValue: {
|
|
56
|
+
type: PropType<any>;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
59
|
+
hideMessages: {
|
|
60
|
+
type: PropType<boolean>;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
prependIcon: {
|
|
64
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
65
|
+
default: undefined;
|
|
66
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
67
|
+
};
|
|
68
|
+
appendIcon: {
|
|
69
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
70
|
+
default: undefined;
|
|
71
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
72
|
+
};
|
|
73
|
+
id: {
|
|
74
|
+
type: PropType<string>;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
label: {
|
|
78
|
+
type: PropType<string>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
description: {
|
|
82
|
+
type: PropType<string>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
value: {
|
|
86
|
+
type: PropType<any>;
|
|
87
|
+
default: null;
|
|
88
|
+
};
|
|
89
|
+
messages: {
|
|
90
|
+
type: PropType<string | string[]>;
|
|
91
|
+
default: () => never[];
|
|
92
|
+
};
|
|
93
|
+
persistentMessages: {
|
|
94
|
+
type: PropType<boolean>;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
}, {
|
|
98
|
+
isFocused: import("vue").Ref<boolean>;
|
|
99
|
+
hasPrepend: import("vue").ComputedRef<boolean>;
|
|
100
|
+
hasAppend: import("vue").ComputedRef<boolean>;
|
|
101
|
+
hasDefault: import("vue").ComputedRef<boolean>;
|
|
102
|
+
hasMessages: import("vue").ComputedRef<number | boolean>;
|
|
103
|
+
slotProps: import("vue").ComputedRef<IInputSlot>;
|
|
104
|
+
messagesId: import("vue").ComputedRef<string>;
|
|
105
|
+
messages: import("vue").ComputedRef<string | string[]>;
|
|
106
|
+
isValid: import("vue").ComputedRef<boolean | null>;
|
|
107
|
+
validationClasses: import("vue").ComputedRef<Record<string, boolean>>;
|
|
108
|
+
focusClasses: import("vue").ComputedRef<Record<string, boolean>>;
|
|
109
|
+
sizeClasses: import("vue").ComputedRef<string>;
|
|
110
|
+
reset: () => void;
|
|
111
|
+
resetValidation: () => void;
|
|
112
|
+
validate: () => Promise<string[]>;
|
|
113
|
+
handleClickPrepend: (event: MouseEvent) => void;
|
|
114
|
+
handleClickAppend: (event: MouseEvent) => void;
|
|
115
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
116
|
+
/**
|
|
117
|
+
* Событие изменения v-model
|
|
118
|
+
* @type { any }
|
|
119
|
+
*/
|
|
120
|
+
'update:modelValue': (value: any) => boolean;
|
|
121
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
122
|
+
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
123
|
+
'onClick:append': PropType<(...args: any[]) => any>;
|
|
124
|
+
size: {
|
|
125
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
126
|
+
default: string;
|
|
127
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
128
|
+
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
129
|
+
};
|
|
130
|
+
readonly: {
|
|
131
|
+
type: PropType<boolean>;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
disabled: {
|
|
135
|
+
type: PropType<boolean>;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
focused: {
|
|
139
|
+
type: PropType<boolean>;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
error: {
|
|
143
|
+
type: PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
errorMessages: {
|
|
147
|
+
type: PropType<string | string[]>;
|
|
148
|
+
default: () => never[];
|
|
149
|
+
};
|
|
150
|
+
maxErrors: {
|
|
151
|
+
type: PropType<string | number>;
|
|
152
|
+
default: number;
|
|
153
|
+
};
|
|
154
|
+
name: {
|
|
155
|
+
type: PropType<string | undefined>;
|
|
156
|
+
default: undefined;
|
|
157
|
+
};
|
|
158
|
+
rules: {
|
|
159
|
+
type: PropType<import("../../composable").TValidationRule[]>;
|
|
160
|
+
default: () => never[];
|
|
161
|
+
};
|
|
162
|
+
modelValue: {
|
|
163
|
+
type: PropType<any>;
|
|
164
|
+
default: null;
|
|
165
|
+
};
|
|
166
|
+
validateOn: {
|
|
167
|
+
type: PropType<"input" | "blur" | "submit">;
|
|
168
|
+
default: string;
|
|
169
|
+
available: readonly ["blur", "input", "submit"];
|
|
170
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
171
|
+
};
|
|
172
|
+
validationValue: {
|
|
173
|
+
type: PropType<any>;
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
176
|
+
hideMessages: {
|
|
177
|
+
type: PropType<boolean>;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
prependIcon: {
|
|
181
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
182
|
+
default: undefined;
|
|
183
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
184
|
+
};
|
|
185
|
+
appendIcon: {
|
|
186
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
187
|
+
default: undefined;
|
|
188
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
189
|
+
};
|
|
190
|
+
id: {
|
|
191
|
+
type: PropType<string>;
|
|
192
|
+
default: undefined;
|
|
193
|
+
};
|
|
194
|
+
label: {
|
|
195
|
+
type: PropType<string>;
|
|
196
|
+
default: undefined;
|
|
197
|
+
};
|
|
198
|
+
description: {
|
|
199
|
+
type: PropType<string>;
|
|
200
|
+
default: undefined;
|
|
201
|
+
};
|
|
202
|
+
value: {
|
|
203
|
+
type: PropType<any>;
|
|
204
|
+
default: null;
|
|
205
|
+
};
|
|
206
|
+
messages: {
|
|
207
|
+
type: PropType<string | string[]>;
|
|
208
|
+
default: () => never[];
|
|
209
|
+
};
|
|
210
|
+
persistentMessages: {
|
|
211
|
+
type: PropType<boolean>;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
}>> & {
|
|
215
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
name: string | undefined;
|
|
218
|
+
description: string;
|
|
219
|
+
disabled: boolean;
|
|
220
|
+
value: any;
|
|
221
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
222
|
+
error: boolean;
|
|
223
|
+
prependIcon: "link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
224
|
+
appendIcon: "link" | "filters" | "search" | "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" | "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" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
225
|
+
readonly: boolean;
|
|
226
|
+
messages: string | string[];
|
|
227
|
+
id: string;
|
|
228
|
+
label: string;
|
|
229
|
+
persistentMessages: boolean;
|
|
230
|
+
errorMessages: string | string[];
|
|
231
|
+
maxErrors: string | number;
|
|
232
|
+
rules: import("../../composable").TValidationRule[];
|
|
233
|
+
modelValue: any;
|
|
234
|
+
validateOn: "input" | "blur" | "submit";
|
|
235
|
+
validationValue: any;
|
|
236
|
+
hideMessages: boolean;
|
|
237
|
+
focused: boolean;
|
|
238
|
+
}>;
|
|
239
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsInputCounter";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* Максимальное количество символов
|
|
6
|
+
*/
|
|
7
|
+
max: {
|
|
8
|
+
type: PropType<string | number>;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Текущее количество символов
|
|
13
|
+
*/
|
|
14
|
+
current: {
|
|
15
|
+
type: PropType<string | number>;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
/**
|
|
22
|
+
* Максимальное количество символов
|
|
23
|
+
*/
|
|
24
|
+
max: {
|
|
25
|
+
type: PropType<string | number>;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Текущее количество символов
|
|
30
|
+
*/
|
|
31
|
+
current: {
|
|
32
|
+
type: PropType<string | number>;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
max: string | number;
|
|
37
|
+
current: string | number;
|
|
38
|
+
}>;
|
|
39
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const componentName = "CdsInputDescription";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
tag: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
text: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
tag: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
text: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
}>>, {
|
|
23
|
+
text: string;
|
|
24
|
+
tag: string;
|
|
25
|
+
}>;
|
|
26
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const componentName = "CdsInputLabel";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
tag: Omit<{
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
description: string;
|
|
7
|
+
}, "default" | "type"> & {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
text: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
tag: Omit<{
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
description: string;
|
|
20
|
+
}, "default" | "type"> & {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
text: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
text: string;
|
|
30
|
+
tag: string;
|
|
31
|
+
}>;
|
|
32
|
+
export default _sfc_main;
|