@central-design-system/components 3.0.0-beta.15 → 3.0.0-beta.16
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.es.js +2832 -2829
- package/dist/cds.umd.js +3 -3
- package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +0 -26
- package/dist/components/CdsButton/CdsButton.vue.d.ts +1 -1
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +8 -0
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +19 -9
- package/dist/components/CdsContainer/CdsContainer.vue.d.ts +9 -7
- package/dist/components/CdsContainer/context.d.ts +1 -1
- package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +1 -1
- package/dist/components/CdsDatePicker/composable/calendar.d.ts +2 -2
- package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +1 -1
- package/dist/components/CdsExpandablePanel/composable/expandablePanelTitleProps.d.ts +1 -1
- package/dist/components/CdsGrid/composable/column.d.ts +1 -1
- package/dist/components/CdsGrid/composable/subgrid.d.ts +1 -1
- package/dist/components/CdsGrid/mode/CSSGrid.d.ts +1 -1
- package/dist/components/CdsGrid/mode/FlexGrid.d.ts +1 -1
- package/dist/components/CdsLayout/CdsLayout.vue.d.ts +1 -1
- package/dist/components/CdsLayout/context.d.ts +1 -1
- package/dist/components/CdsList/CdsList.vue.d.ts +6 -0
- package/dist/components/CdsList/CdsListItem.vue.d.ts +1 -1
- package/dist/components/CdsList/composable/list.d.ts +1 -1
- package/dist/components/CdsNotification/composable/notification.d.ts +1 -1
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +8 -2
- package/dist/components/CdsOverlay/composable/activator.d.ts +1 -1
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +1 -1
- package/dist/components/CdsSlideGroup/CdsSlideGroup.vue.d.ts +1 -1
- package/dist/components/CdsStages/CdsStages.vue.d.ts +1 -1
- package/dist/components/CdsSteps/CdsSteps.vue.d.ts +1 -1
- package/dist/components/CdsSteps/context.d.ts +1 -1
- package/dist/components/CdsTable/CdsTable.vue.d.ts +18 -3
- package/dist/components/CdsTable/components/Footer/Footer.d.ts +1 -1
- package/dist/components/CdsTable/components/Header/DragHandle.d.ts +1 -1
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +1 -1
- package/dist/components/CdsTable/components/TableProvider.d.ts +2 -2
- package/dist/components/CdsTable/composable/filter.d.ts +1 -1
- package/dist/components/CdsTable/composable/flat.d.ts +1 -1
- package/dist/components/CdsTable/composable/pagination.d.ts +1 -1
- package/dist/components/CdsTable/composable/selection.d.ts +1 -1
- package/dist/components/CdsTable/composable/sorter.d.ts +1 -1
- package/dist/components/CdsTable/composable/sticky.d.ts +1 -1
- package/dist/components/CdsTable/composable/table.d.ts +2 -2
- package/dist/components/CdsTable/context/summary.d.ts +1 -1
- package/dist/components/CdsTable/context/table.d.ts +1 -1
- package/dist/components/CdsTable/interface.d.ts +4 -4
- package/dist/components/CdsTabs/CdsTabs.vue.d.ts +1 -1
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +14 -10
- package/dist/components/CdsTimePicker/composable/time.d.ts +2 -2
- package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +0 -8
- package/dist/components/CdsUploader/CdsUploader.vue.d.ts +8 -10
- package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +1 -1
- package/dist/components/CdsUploader/composable/upload.d.ts +1 -1
- package/dist/components/CdsUploader/interface.d.ts +1 -1
- package/dist/composable/appearance.d.ts +1 -1
- package/dist/composable/datetime.d.ts +2 -2
- package/dist/composable/direction.d.ts +1 -1
- package/dist/composable/field.d.ts +2 -2
- package/dist/composable/form.d.ts +1 -1
- package/dist/composable/group.d.ts +1 -1
- package/dist/composable/icon.d.ts +1 -1
- package/dist/composable/menu.d.ts +1 -1
- package/dist/composable/nested/nested.d.ts +2 -2
- package/dist/composable/select.d.ts +2 -4
- package/dist/composable/size.d.ts +1 -1
- package/dist/composable/theme.d.ts +1 -1
- package/dist/composable/validation.d.ts +1 -1
- package/dist/create.d.ts +1 -1
- package/dist/locale/index.d.ts +1 -1
- package/dist/utils/helpers.d.ts +1 -1
- package/dist/utils/propsFactory.d.ts +1 -1
- package/nuxt.js +2 -1
- package/package.json +1 -1
- package/src/scss/themes/index.ts +1 -1
- package/dist/components/CdsTable/composable/scroll.d.ts +0 -4607
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CdsTooltip } from '../../CdsTooltip';
|
|
2
|
-
import type { Ref, ComputedRef } from 'vue';
|
|
3
2
|
import type { NTable } from '../interface';
|
|
4
3
|
import type { ComponentProps } from '../../../utils';
|
|
4
|
+
import type { Ref, ComputedRef } from 'vue';
|
|
5
5
|
export declare const ASCEND = "ascend";
|
|
6
6
|
export declare const DESCEND = "descend";
|
|
7
7
|
export interface ISorterOptions<RecordType> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CdsTooltip } from '../../CdsTooltip';
|
|
2
|
-
import type { PropType, Ref } from 'vue';
|
|
3
|
-
import type { ComponentProps } from '../../../utils';
|
|
4
2
|
import type { NTable } from '../interface';
|
|
3
|
+
import type { ComponentProps } from '../../../utils';
|
|
4
|
+
import type { PropType, Ref } from 'vue';
|
|
5
5
|
export interface ITableProps<RecordType = NTable.TDefaultRecord> {
|
|
6
6
|
id?: string;
|
|
7
7
|
data?: RecordType[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InjectionKey } from 'vue';
|
|
2
1
|
import type { NTable } from '../interface';
|
|
3
2
|
import type { IFixedInfo } from '../utils';
|
|
3
|
+
import type { InjectionKey } from 'vue';
|
|
4
4
|
export interface ITableContextProps {
|
|
5
5
|
getComponent: NTable.NCustomize.TGetComponent;
|
|
6
6
|
scrollbarSize: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { INTERNAL_SELECTION_ITEM } from './composable';
|
|
2
|
-
import { CdsTooltip } from '../CdsTooltip';
|
|
3
1
|
import { CdsCheckbox } from '../CdsCheckbox';
|
|
4
2
|
import { CdsPagination } from '../CdsPagination';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { CdsTooltip } from '../CdsTooltip';
|
|
4
|
+
import { INTERNAL_SELECTION_ITEM } from './composable';
|
|
7
5
|
import type { TBreakpoint, TBreakpointUpDown } from '../../composable';
|
|
6
|
+
import type { ComponentProps } from '../../utils';
|
|
7
|
+
import type { CSSProperties, Ref, TdHTMLAttributes, VNode } from 'vue';
|
|
8
8
|
declare type VNodeChildAtom = VNode | string | number | boolean | null | undefined | void;
|
|
9
9
|
export declare type VueNode = VNodeChildAtom | VNodeChildAtom[] | JSX.Element;
|
|
10
10
|
export declare namespace NTable {
|
|
@@ -33,7 +33,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
33
|
};
|
|
34
34
|
theme: {
|
|
35
35
|
type: PropType<string>;
|
|
36
|
-
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
36
|
+
available: readonly ["cds", "b2b", "promo", "dark"]; /**
|
|
37
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
38
|
+
*/
|
|
37
39
|
default: undefined;
|
|
38
40
|
};
|
|
39
41
|
loading: {
|
|
@@ -135,9 +137,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
135
137
|
default: boolean;
|
|
136
138
|
};
|
|
137
139
|
active: {
|
|
138
|
-
type: PropType<boolean>;
|
|
139
|
-
* Количество строк в текстовой области
|
|
140
|
-
*/
|
|
140
|
+
type: PropType<boolean>;
|
|
141
141
|
default: boolean;
|
|
142
142
|
};
|
|
143
143
|
autofocus: {
|
|
@@ -213,7 +213,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
213
213
|
'onClick:append': PropType<(...args: any[]) => any>;
|
|
214
214
|
theme: {
|
|
215
215
|
type: PropType<string>;
|
|
216
|
-
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
216
|
+
available: readonly ["cds", "b2b", "promo", "dark"]; /**
|
|
217
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
218
|
+
*/
|
|
217
219
|
default: undefined;
|
|
218
220
|
};
|
|
219
221
|
size: {
|
|
@@ -313,7 +315,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
313
315
|
'onClick:append': PropType<(...args: any[]) => any>;
|
|
314
316
|
theme: {
|
|
315
317
|
type: PropType<string>;
|
|
316
|
-
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
318
|
+
available: readonly ["cds", "b2b", "promo", "dark"]; /**
|
|
319
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
320
|
+
*/
|
|
317
321
|
default: undefined;
|
|
318
322
|
};
|
|
319
323
|
size: {
|
|
@@ -576,7 +580,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
576
580
|
};
|
|
577
581
|
theme: {
|
|
578
582
|
type: PropType<string>;
|
|
579
|
-
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
583
|
+
available: readonly ["cds", "b2b", "promo", "dark"]; /**
|
|
584
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
585
|
+
*/
|
|
580
586
|
default: undefined;
|
|
581
587
|
};
|
|
582
588
|
loading: {
|
|
@@ -678,9 +684,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
678
684
|
default: boolean;
|
|
679
685
|
};
|
|
680
686
|
active: {
|
|
681
|
-
type: PropType<boolean>;
|
|
682
|
-
* Количество строк в текстовой области
|
|
683
|
-
*/
|
|
687
|
+
type: PropType<boolean>;
|
|
684
688
|
default: boolean;
|
|
685
689
|
};
|
|
686
690
|
autofocus: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { PropType, Ref } from 'vue';
|
|
2
|
-
import type { IRawDate, TDateLocale } from '../../../utils';
|
|
3
1
|
import type { IDatetimeProps } from '../../../composable';
|
|
2
|
+
import type { IRawDate, TDateLocale } from '../../../utils';
|
|
3
|
+
import type { PropType, Ref } from 'vue';
|
|
4
4
|
export interface ITimeProps {
|
|
5
5
|
modelValue: IDatetimeProps['modelValue'];
|
|
6
6
|
format12h: boolean;
|
|
@@ -149,10 +149,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
149
149
|
};
|
|
150
150
|
scrim: Omit<{
|
|
151
151
|
type: PropType<string | boolean>;
|
|
152
|
-
/**
|
|
153
|
-
* Событие при изменении значения (v-model)
|
|
154
|
-
* @param value
|
|
155
|
-
*/
|
|
156
152
|
default: boolean;
|
|
157
153
|
}, "default" | "type"> & {
|
|
158
154
|
type: PropType<NonNullable<string | boolean>>;
|
|
@@ -362,10 +358,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
362
358
|
};
|
|
363
359
|
scrim: Omit<{
|
|
364
360
|
type: PropType<string | boolean>;
|
|
365
|
-
/**
|
|
366
|
-
* Событие при изменении значения (v-model)
|
|
367
|
-
* @param value
|
|
368
|
-
*/
|
|
369
361
|
default: boolean;
|
|
370
362
|
}, "default" | "type"> & {
|
|
371
363
|
type: PropType<NonNullable<string | boolean>>;
|
|
@@ -65,7 +65,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
65
65
|
type: import("vue").PropType<"input" | "blur" | "submit">;
|
|
66
66
|
default: string;
|
|
67
67
|
available: readonly ["blur", "input", "submit"];
|
|
68
|
-
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
68
|
+
validator: (value: "input" | "blur" | "submit") => boolean; /**
|
|
69
|
+
* Событие при удалении файла
|
|
70
|
+
* @type { file: NUploader.IUploadFile }
|
|
71
|
+
*/
|
|
69
72
|
};
|
|
70
73
|
validationValue: {
|
|
71
74
|
type: import("vue").PropType<any>;
|
|
@@ -93,10 +96,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
93
96
|
};
|
|
94
97
|
messages: {
|
|
95
98
|
type: import("vue").PropType<string | string[]>;
|
|
96
|
-
/**
|
|
97
|
-
* Событие при изменении значения (v-model)
|
|
98
|
-
* @type { fileList: NUploader.IUploadChangeParam<NUploader.IUploadFile>['fileList'] }
|
|
99
|
-
*/
|
|
100
99
|
default: () => never[];
|
|
101
100
|
};
|
|
102
101
|
persistentMessages: {
|
|
@@ -333,7 +332,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
333
332
|
type: import("vue").PropType<"input" | "blur" | "submit">;
|
|
334
333
|
default: string;
|
|
335
334
|
available: readonly ["blur", "input", "submit"];
|
|
336
|
-
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
335
|
+
validator: (value: "input" | "blur" | "submit") => boolean; /**
|
|
336
|
+
* Событие при удалении файла
|
|
337
|
+
* @type { file: NUploader.IUploadFile }
|
|
338
|
+
*/
|
|
337
339
|
};
|
|
338
340
|
validationValue: {
|
|
339
341
|
type: import("vue").PropType<any>;
|
|
@@ -361,10 +363,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
361
363
|
};
|
|
362
364
|
messages: {
|
|
363
365
|
type: import("vue").PropType<string | string[]>;
|
|
364
|
-
/**
|
|
365
|
-
* Событие при изменении значения (v-model)
|
|
366
|
-
* @type { fileList: NUploader.IUploadChangeParam<NUploader.IUploadFile>['fileList'] }
|
|
367
|
-
*/
|
|
368
366
|
default: () => never[];
|
|
369
367
|
};
|
|
370
368
|
persistentMessages: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import type { NUploader } from '../interface';
|
|
3
2
|
import type { TCdsIconsName } from '@central-design-system/icons';
|
|
3
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
export declare const makeUploadProps: <Defaults extends {
|
|
5
5
|
name?: unknown;
|
|
6
6
|
capture?: unknown;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdsProgress } from '../CdsProgress';
|
|
2
|
-
import type { ImgHTMLAttributes, VNode } from 'vue';
|
|
3
2
|
import type { ComponentProps } from '../../utils';
|
|
3
|
+
import type { ImgHTMLAttributes, VNode } from 'vue';
|
|
4
4
|
export declare namespace NUploader {
|
|
5
5
|
type TBeforeUploadFileType = File | Blob | boolean | string;
|
|
6
6
|
type TAction = string | ((file: IRcFile) => string | PromiseLike<string>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ComputedRef, PropType } from 'vue';
|
|
2
1
|
import type { MaybeRef } from '../utils';
|
|
2
|
+
import type { ComputedRef, PropType } from 'vue';
|
|
3
3
|
export declare type TAppearance = typeof allowedAppearance[number];
|
|
4
4
|
export interface IAppearanceProps {
|
|
5
5
|
appearance: TAppearance;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ComputedRef, PropType } from 'vue';
|
|
2
|
-
import type { IRawDate, TDateLocale } from '../utils';
|
|
3
1
|
import type { ILocale, TAvailableLocale } from '../locale';
|
|
2
|
+
import type { IRawDate, TDateLocale } from '../utils';
|
|
3
|
+
import type { ComputedRef, PropType } from 'vue';
|
|
4
4
|
export interface IDatetimeProps {
|
|
5
5
|
modelValue: string | TDatetimeValueRange | Array<string | TDatetimeValueRange>;
|
|
6
6
|
mask: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ComputedRef, PropType } from 'vue';
|
|
2
1
|
import type { MaybeRef } from '../utils';
|
|
2
|
+
import type { ComputedRef, PropType } from 'vue';
|
|
3
3
|
export declare type TDirection = typeof allowedDirection[number];
|
|
4
4
|
export interface IDirectionProps {
|
|
5
5
|
direction: TDirection;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ComputedRef, PropType } from 'vue';
|
|
2
|
-
import type { EventProp } from '../utils';
|
|
3
1
|
import type { TCdsIconsName } from '@central-design-system/icons';
|
|
2
|
+
import type { EventProp } from '../utils';
|
|
3
|
+
import type { ComputedRef, PropType } from 'vue';
|
|
4
4
|
export declare type TFieldTypes = typeof allowedFieldType[number];
|
|
5
5
|
export interface IFieldProps {
|
|
6
6
|
active: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionKey } from 'vue';
|
|
2
|
-
import type { Ref, ComputedRef, PropType } from 'vue';
|
|
3
2
|
import type { IValidationProps } from './validation';
|
|
3
|
+
import type { Ref, ComputedRef, PropType } from 'vue';
|
|
4
4
|
export interface IFormProvide {
|
|
5
5
|
register: (item: {
|
|
6
6
|
id: number | string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ComponentInternalInstance, ComputedRef, ExtractPropTypes, InjectionKey, PropType, Ref } from 'vue';
|
|
2
1
|
import type { IDisabledProps } from '../composable';
|
|
2
|
+
import type { ComponentInternalInstance, ComputedRef, ExtractPropTypes, InjectionKey, PropType, Ref } from 'vue';
|
|
3
3
|
export interface IGroupItem {
|
|
4
4
|
id: number;
|
|
5
5
|
value: Ref<unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventProp } from '../utils';
|
|
2
|
-
import type { PropType, ComputedRef } from 'vue';
|
|
3
2
|
import type { TCdsIconsName } from '@central-design-system/icons';
|
|
3
|
+
import type { PropType, ComputedRef } from 'vue';
|
|
4
4
|
export interface IIconProps {
|
|
5
5
|
prependIcon: TCdsIconsName | undefined;
|
|
6
6
|
appendIcon: TCdsIconsName | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Ref, InjectionKey, PropType, SetupContext } from 'vue';
|
|
2
|
-
import type { TSelectStrategyProp } from './selectStrategies';
|
|
3
1
|
import type { TOpenStrategyProp } from './openStrategies';
|
|
2
|
+
import type { TSelectStrategyProp } from './selectStrategies';
|
|
3
|
+
import type { Ref, InjectionKey, PropType, SetupContext } from 'vue';
|
|
4
4
|
export declare type TNestedProvide = {
|
|
5
5
|
id: Ref<unknown>;
|
|
6
6
|
isGroupActivator?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaybePick } from '../utils';
|
|
2
|
-
import type { PropType, ComputedRef, Ref } from 'vue';
|
|
3
2
|
import type { IInternalItem, IUseItems } from './items';
|
|
4
3
|
import type { TCdsIconsName } from '@central-design-system/icons';
|
|
4
|
+
import type { PropType, ComputedRef, Ref } from 'vue';
|
|
5
5
|
export interface ISelectProps {
|
|
6
6
|
multiple: boolean;
|
|
7
7
|
openOnClear: boolean;
|
|
@@ -118,9 +118,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
|
118
118
|
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
119
119
|
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
120
120
|
}, "default" | "type"> & {
|
|
121
|
-
type: PropType<NonNullable<"xs" | "sm" | "md" | "lg" | "xl">>;
|
|
122
|
-
* Иконка выпадающего меню
|
|
123
|
-
*/
|
|
121
|
+
type: PropType<NonNullable<"xs" | "sm" | "md" | "lg" | "xl">>;
|
|
124
122
|
default: NonNullable<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
125
123
|
};
|
|
126
124
|
tag: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
-
import type { App, DeepReadonly, InjectionKey, PropType, Ref } from 'vue';
|
|
3
2
|
import type { TThemes } from '../themes';
|
|
3
|
+
import type { App, DeepReadonly, InjectionKey, PropType, Ref } from 'vue';
|
|
4
4
|
declare type DeepPartial<T> = T extends object ? {
|
|
5
5
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
6
6
|
} : T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PropType, ComputedRef, Ref } from 'vue';
|
|
2
1
|
import type { MaybeRef } from '../utils';
|
|
2
|
+
import type { PropType, ComputedRef, Ref } from 'vue';
|
|
3
3
|
export declare type TValidationResult = string | boolean;
|
|
4
4
|
export declare type TValidationRule = TValidationResult | PromiseLike<TValidationResult> | ((value: any) => TValidationResult) | ((value: any) => PromiseLike<TValidationResult>);
|
|
5
5
|
export declare type TValidationOn = typeof allowedValidationOn[number];
|
package/dist/create.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ILocale, TAvailableLocale } from './locale';
|
|
2
|
-
import type { App } from 'vue';
|
|
3
2
|
import type { IDisplayOptions, IThemeOptions } from './composable';
|
|
3
|
+
import type { App } from 'vue';
|
|
4
4
|
export interface ICdsOptions {
|
|
5
5
|
components?: Record<string, any>;
|
|
6
6
|
directives?: Record<string, any>;
|
package/dist/locale/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { TNotificationLocale } from '../components/CdsNotification/composable';
|
|
1
2
|
import type { NTable } from '../components/CdsTable/interface';
|
|
2
3
|
import type { NUploader } from '../components/CdsUploader/interface';
|
|
3
|
-
import type { TNotificationLocale } from '../components/CdsNotification/composable';
|
|
4
4
|
import type { TDateLocale } from '../utils';
|
|
5
5
|
export interface ILocale {
|
|
6
6
|
notification: TNotificationLocale;
|
package/dist/utils/helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ComponentPublicInstance, ComponentInternalInstance, ComputedGetter, InjectionKey, PropType, Ref, ToRefs, VNodeProps, VNodeChild, AllowedComponentProps, Component } from 'vue';
|
|
2
1
|
import type { TItemKey } from '../composable';
|
|
2
|
+
import type { ComponentPublicInstance, ComponentInternalInstance, ComputedGetter, InjectionKey, PropType, Ref, ToRefs, VNodeProps, VNodeChild, AllowedComponentProps, Component } from 'vue';
|
|
3
3
|
export declare const preventedScrollClass = "cds-scroll-blocked";
|
|
4
4
|
export declare const keyNames: Readonly<{
|
|
5
5
|
enter: "Enter";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
1
|
import type { Prop, ComponentObjectPropsOptions } from '../shims-vue';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
3
|
/**
|
|
4
4
|
* Creates a factory function for props definitions.
|
|
5
5
|
* This is used to define props in a composable then override
|
package/nuxt.js
CHANGED
package/package.json
CHANGED