@central-design-system/components 3.0.0-beta.4 → 3.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cds.es.js +2219 -2183
- package/dist/cds.umd.js +2 -2
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +49 -3
- package/dist/components/CdsTable/CdsTable.vue.d.ts +1 -1
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +1 -1
- package/dist/components/CdsTable/components/TableProvider.d.ts +1 -1
- package/dist/components/CdsTable/composable/scroll.d.ts +4607 -0
- package/dist/components/CdsUploader/CdsUploader.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/scss/themes/index.ts +1 -1
|
@@ -82,7 +82,53 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
82
82
|
type: PropType<boolean>;
|
|
83
83
|
default: boolean;
|
|
84
84
|
};
|
|
85
|
-
}, {
|
|
85
|
+
}, {
|
|
86
|
+
id: import("vue").ComputedRef<string>;
|
|
87
|
+
model: import("vue").Ref<any> & {
|
|
88
|
+
readonly externalValue: any;
|
|
89
|
+
};
|
|
90
|
+
hasDescription: import("vue").ComputedRef<boolean>;
|
|
91
|
+
inputProps: import("vue").Ref<{
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
id?: string | undefined;
|
|
94
|
+
label?: string | undefined;
|
|
95
|
+
description?: string | undefined;
|
|
96
|
+
value?: any;
|
|
97
|
+
messages?: string | string[] | undefined;
|
|
98
|
+
persistentMessages?: boolean | undefined;
|
|
99
|
+
disabled?: boolean | undefined;
|
|
100
|
+
error?: boolean | undefined;
|
|
101
|
+
errorMessages?: string | string[] | undefined;
|
|
102
|
+
focused?: boolean | undefined;
|
|
103
|
+
maxErrors?: string | number | undefined;
|
|
104
|
+
name?: string | undefined;
|
|
105
|
+
readonly?: boolean | undefined;
|
|
106
|
+
rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
|
|
107
|
+
then: <TResult1 = import("../../composable").TValidationResult, TResult2 = never>(onfulfilled?: ((value: import("../../composable").TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
|
|
108
|
+
})[] | undefined;
|
|
109
|
+
modelValue?: any;
|
|
110
|
+
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
111
|
+
validationValue?: any;
|
|
112
|
+
hideMessages?: boolean | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
rootAttrs: import("vue").Ref<{}>;
|
|
115
|
+
inputAttrs: import("vue").Ref<{}>;
|
|
116
|
+
isFocused: import("vue").Ref<boolean>;
|
|
117
|
+
ariaChecked: import("vue").ComputedRef<any>;
|
|
118
|
+
internalDisabled: import("vue").ComputedRef<boolean>;
|
|
119
|
+
internalReadonly: import("vue").ComputedRef<boolean>;
|
|
120
|
+
internalError: import("vue").ComputedRef<boolean>;
|
|
121
|
+
isGroup: import("vue").Ref<boolean>;
|
|
122
|
+
checkboxClasses: import("vue").ComputedRef<{
|
|
123
|
+
'cds-checkbox--disabled': boolean;
|
|
124
|
+
'cds-checkbox--checked': any;
|
|
125
|
+
'cds-checkbox--indeterminate': boolean;
|
|
126
|
+
}>;
|
|
127
|
+
onBlur: () => void;
|
|
128
|
+
onFocus: () => void;
|
|
129
|
+
onInput: (event: Event) => void;
|
|
130
|
+
onChange: () => void;
|
|
131
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
86
132
|
/**
|
|
87
133
|
* Событие при фокусе
|
|
88
134
|
* @type { boolean }
|
|
@@ -92,12 +138,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
92
138
|
* Событие при изменении значения (v-model)
|
|
93
139
|
* @type { boolean }
|
|
94
140
|
*/
|
|
95
|
-
'update:modelValue': (value: any) =>
|
|
141
|
+
'update:modelValue': (value: any) => true;
|
|
96
142
|
/**
|
|
97
143
|
* Событие при изменении промежуточного состояния
|
|
98
144
|
* @type { boolean }
|
|
99
145
|
*/
|
|
100
|
-
'update:indeterminate': (value: boolean) =>
|
|
146
|
+
'update:indeterminate': (value: boolean) => true;
|
|
101
147
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
148
|
readonly: {
|
|
103
149
|
type: PropType<boolean>;
|
|
@@ -882,6 +882,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
882
882
|
locale: "ru" | "en" | import("../../locale").ILocale;
|
|
883
883
|
loading: boolean;
|
|
884
884
|
readonly: boolean;
|
|
885
|
+
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
885
886
|
header: NTable.NRender.TPanelRender<any>;
|
|
886
887
|
expandIcon: NTable.NExpand.TRenderExpandIcon<any>;
|
|
887
888
|
bordered: boolean;
|
|
@@ -889,7 +890,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
889
890
|
scroll: NTable.TScroll & {
|
|
890
891
|
scrollToFirstRowOnChange?: boolean | undefined;
|
|
891
892
|
};
|
|
892
|
-
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
893
893
|
rowKey: string | NTable.NRow.TGetRowKey<any>;
|
|
894
894
|
rowClassName: string | NTable.NRow.TClassName<any>;
|
|
895
895
|
tableLayout: NTable.TLayout;
|
|
@@ -877,6 +877,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
877
877
|
locale: "ru" | "en" | import("../../../../locale").ILocale;
|
|
878
878
|
loading: boolean;
|
|
879
879
|
readonly: boolean;
|
|
880
|
+
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
880
881
|
header: NTable.NRender.TPanelRender<any>;
|
|
881
882
|
expandIcon: NTable.NExpand.TRenderExpandIcon<any>;
|
|
882
883
|
bordered: boolean;
|
|
@@ -884,7 +885,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
884
885
|
scroll: NTable.TScroll & {
|
|
885
886
|
scrollToFirstRowOnChange?: boolean | undefined;
|
|
886
887
|
};
|
|
887
|
-
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
888
888
|
rowKey: string | NTable.NRow.TGetRowKey<any>;
|
|
889
889
|
rowClassName: string | NTable.NRow.TClassName<any>;
|
|
890
890
|
tableLayout: NTable.TLayout;
|
|
@@ -870,6 +870,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
870
870
|
locale: "ru" | "en" | import("../../../locale").ILocale;
|
|
871
871
|
loading: boolean;
|
|
872
872
|
readonly: boolean;
|
|
873
|
+
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
873
874
|
header: NTable.NRender.TPanelRender<any>;
|
|
874
875
|
expandIcon: NTable.NExpand.TRenderExpandIcon<any>;
|
|
875
876
|
bordered: boolean;
|
|
@@ -877,7 +878,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
877
878
|
scroll: NTable.TScroll & {
|
|
878
879
|
scrollToFirstRowOnChange?: boolean | undefined;
|
|
879
880
|
};
|
|
880
|
-
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
881
881
|
rowKey: string | NTable.NRow.TGetRowKey<any>;
|
|
882
882
|
rowClassName: string | NTable.NRow.TClassName<any>;
|
|
883
883
|
tableLayout: NTable.TLayout;
|