@codemonster-ru/vueforge 0.74.0 → 0.76.0
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/README.md +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.ts.mjs +2331 -2199
- package/dist/index.ts.umd.js +4 -4
- package/dist/package/components/__tests__/grid.test.d.ts +1 -0
- package/dist/package/components/__tests__/stack.test.d.ts +1 -0
- package/dist/package/components/data-table.vue.d.ts +1 -1
- package/dist/package/components/filter-chips.vue.d.ts +1 -1
- package/dist/package/components/grid-item.vue.d.ts +36 -0
- package/dist/package/components/grid.vue.d.ts +47 -0
- package/dist/package/components/inline-edit.vue.d.ts +2 -2
- package/dist/package/components/kanban-board.vue.d.ts +1 -1
- package/dist/package/components/stack.vue.d.ts +33 -0
- package/dist/package/config/theme-core.d.ts +20 -0
- package/dist/package/themes/default/components/grid.d.ts +13 -0
- package/dist/package/themes/default/components/stack.d.ts +7 -0
- package/dist/package/themes/default/index.d.ts +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -59,13 +59,13 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
59
59
|
onRowClick?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
size: Size;
|
|
62
|
+
columns: Array<DataTableColumn>;
|
|
62
63
|
loading: boolean;
|
|
63
64
|
variant: Variant;
|
|
64
65
|
ariaLabel: string;
|
|
65
66
|
loadingText: string;
|
|
66
67
|
emptyText: string;
|
|
67
68
|
rows: Array<Record<string, unknown>>;
|
|
68
|
-
columns: Array<DataTableColumn>;
|
|
69
69
|
rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
70
70
|
sortable: boolean;
|
|
71
71
|
sortField: string | null;
|
|
@@ -34,6 +34,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
34
34
|
}>, {
|
|
35
35
|
disabled: boolean;
|
|
36
36
|
size: FilterSize;
|
|
37
|
+
wrap: boolean;
|
|
37
38
|
variant: FilterVariant;
|
|
38
39
|
modelValue: FilterModel;
|
|
39
40
|
clearable: boolean;
|
|
@@ -44,6 +45,5 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
44
45
|
clearLabel: string;
|
|
45
46
|
allowEmpty: boolean;
|
|
46
47
|
clearText: string;
|
|
47
|
-
wrap: boolean;
|
|
48
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
49
|
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type Breakpoint = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
type GridItemBreakpointConfig = {
|
|
3
|
+
span?: number | string;
|
|
4
|
+
start?: number | string;
|
|
5
|
+
end?: number | string;
|
|
6
|
+
};
|
|
7
|
+
interface Props {
|
|
8
|
+
as?: string;
|
|
9
|
+
span?: number | string;
|
|
10
|
+
start?: number | string;
|
|
11
|
+
end?: number | string;
|
|
12
|
+
breakpoints?: Partial<Record<Breakpoint, GridItemBreakpointConfig>>;
|
|
13
|
+
}
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
24
|
+
as: string;
|
|
25
|
+
end: number | string;
|
|
26
|
+
span: number | string;
|
|
27
|
+
start: number | string;
|
|
28
|
+
breakpoints: Partial<Record<Breakpoint, GridItemBreakpointConfig>>;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
type Align = 'start' | 'center' | 'end' | 'stretch';
|
|
2
|
+
type Justify = 'start' | 'center' | 'end' | 'stretch';
|
|
3
|
+
type Breakpoint = 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
type GridBreakpointConfig = {
|
|
5
|
+
columns?: number | string;
|
|
6
|
+
gap?: string;
|
|
7
|
+
columnGap?: string;
|
|
8
|
+
rowGap?: string;
|
|
9
|
+
align?: Align;
|
|
10
|
+
justify?: Justify;
|
|
11
|
+
};
|
|
12
|
+
interface Props {
|
|
13
|
+
as?: string;
|
|
14
|
+
columns?: number | string;
|
|
15
|
+
gap?: string;
|
|
16
|
+
columnGap?: string;
|
|
17
|
+
rowGap?: string;
|
|
18
|
+
align?: Align;
|
|
19
|
+
justify?: Justify;
|
|
20
|
+
breakpoints?: Partial<Record<Breakpoint, GridBreakpointConfig>>;
|
|
21
|
+
}
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
24
|
+
slots: {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: any;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
32
|
+
as: string;
|
|
33
|
+
columns: number | string;
|
|
34
|
+
gap: string;
|
|
35
|
+
columnGap: string;
|
|
36
|
+
rowGap: string;
|
|
37
|
+
align: Align;
|
|
38
|
+
justify: Justify;
|
|
39
|
+
breakpoints: Partial<Record<Breakpoint, GridBreakpointConfig>>;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -19,17 +19,17 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
19
19
|
blur: (...args: any[]) => void;
|
|
20
20
|
cancel: (...args: any[]) => void;
|
|
21
21
|
focus: (...args: any[]) => void;
|
|
22
|
+
start: (...args: any[]) => void;
|
|
22
23
|
"update:modelValue": (...args: any[]) => void;
|
|
23
24
|
save: (...args: any[]) => void;
|
|
24
|
-
start: (...args: any[]) => void;
|
|
25
25
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
26
26
|
onEnd?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
30
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
32
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
onStart?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
type: InlineEditType;
|
|
35
35
|
disabled: boolean;
|
|
@@ -76,9 +76,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
76
76
|
"onUpdate:items"?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
onMove?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
+
columns: Array<KanbanColumn>;
|
|
79
80
|
items: Array<KanbanBoardItem>;
|
|
80
81
|
ariaLabel: string;
|
|
81
|
-
columns: Array<KanbanColumn>;
|
|
82
82
|
emptyColumnText: string;
|
|
83
83
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
84
84
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type Align = 'start' | 'center' | 'end' | 'stretch';
|
|
2
|
+
type Justify = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
3
|
+
type Wrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
4
|
+
interface Props {
|
|
5
|
+
as?: string;
|
|
6
|
+
gap?: string;
|
|
7
|
+
align?: Align;
|
|
8
|
+
justify?: Justify;
|
|
9
|
+
wrap?: Wrap;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
|
+
as: string;
|
|
22
|
+
gap: string;
|
|
23
|
+
align: Align;
|
|
24
|
+
justify: Justify;
|
|
25
|
+
wrap: Wrap;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -51,6 +51,24 @@ export type SectionTokens = {
|
|
|
51
51
|
backgroundColorElevated?: string;
|
|
52
52
|
borderColor?: string;
|
|
53
53
|
};
|
|
54
|
+
export type GridTokens = {
|
|
55
|
+
columns?: string;
|
|
56
|
+
gap?: string;
|
|
57
|
+
columnGap?: string;
|
|
58
|
+
rowGap?: string;
|
|
59
|
+
alignItems?: string;
|
|
60
|
+
justifyItems?: string;
|
|
61
|
+
breakpointSm?: string;
|
|
62
|
+
breakpointMd?: string;
|
|
63
|
+
breakpointLg?: string;
|
|
64
|
+
breakpointXl?: string;
|
|
65
|
+
};
|
|
66
|
+
export type StackTokens = {
|
|
67
|
+
gap?: string;
|
|
68
|
+
alignItems?: string;
|
|
69
|
+
justifyContent?: string;
|
|
70
|
+
wrap?: string;
|
|
71
|
+
};
|
|
54
72
|
export type CheckboxTokens = {
|
|
55
73
|
size?: string;
|
|
56
74
|
gap?: string;
|
|
@@ -2141,6 +2159,8 @@ export type ThemeComponentTokens = {
|
|
|
2141
2159
|
card?: CardTokens;
|
|
2142
2160
|
container?: ContainerTokens;
|
|
2143
2161
|
section?: SectionTokens;
|
|
2162
|
+
grid?: GridTokens;
|
|
2163
|
+
stack?: StackTokens;
|
|
2144
2164
|
checkbox?: CheckboxTokens;
|
|
2145
2165
|
radio?: RadioTokens;
|
|
2146
2166
|
tabs?: TabsTokens;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
columns: string;
|
|
3
|
+
gap: string;
|
|
4
|
+
columnGap: string;
|
|
5
|
+
rowGap: string;
|
|
6
|
+
alignItems: string;
|
|
7
|
+
justifyItems: string;
|
|
8
|
+
breakpointSm: string;
|
|
9
|
+
breakpointMd: string;
|
|
10
|
+
breakpointLg: string;
|
|
11
|
+
breakpointXl: string;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -227,6 +227,18 @@ declare const _default: {
|
|
|
227
227
|
paddingXSm: string;
|
|
228
228
|
paddingXLg: string;
|
|
229
229
|
};
|
|
230
|
+
grid: {
|
|
231
|
+
columns: string;
|
|
232
|
+
gap: string;
|
|
233
|
+
columnGap: string;
|
|
234
|
+
rowGap: string;
|
|
235
|
+
alignItems: string;
|
|
236
|
+
justifyItems: string;
|
|
237
|
+
breakpointSm: string;
|
|
238
|
+
breakpointMd: string;
|
|
239
|
+
breakpointLg: string;
|
|
240
|
+
breakpointXl: string;
|
|
241
|
+
};
|
|
230
242
|
section: {
|
|
231
243
|
paddingY: string;
|
|
232
244
|
paddingYSm: string;
|
|
@@ -236,6 +248,12 @@ declare const _default: {
|
|
|
236
248
|
backgroundColorElevated: string;
|
|
237
249
|
borderColor: string;
|
|
238
250
|
};
|
|
251
|
+
stack: {
|
|
252
|
+
gap: string;
|
|
253
|
+
alignItems: string;
|
|
254
|
+
justifyContent: string;
|
|
255
|
+
wrap: string;
|
|
256
|
+
};
|
|
239
257
|
input: {
|
|
240
258
|
gap: string;
|
|
241
259
|
fontSize: string;
|