@codemonster-ru/vueforge 0.71.0 → 0.73.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 +90 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.ts.mjs +2633 -2506
- package/dist/index.ts.umd.js +4 -4
- package/dist/package/components/__tests__/container.test.d.ts +1 -0
- package/dist/package/components/__tests__/page-header.test.d.ts +1 -0
- package/dist/package/components/button-group.vue.d.ts +1 -1
- package/dist/package/components/button.vue.d.ts +1 -1
- package/dist/package/components/chip.vue.d.ts +1 -1
- package/dist/package/components/container.vue.d.ts +29 -0
- package/dist/package/components/date-range-picker.vue.d.ts +1 -1
- package/dist/package/components/empty-state.vue.d.ts +1 -1
- package/dist/package/components/form-field.vue.d.ts +1 -1
- package/dist/package/components/page-header.vue.d.ts +34 -0
- package/dist/package/components/stepper.vue.d.ts +1 -1
- package/dist/package/components/timeline.vue.d.ts +1 -1
- package/dist/package/components/tree-select.vue.d.ts +1 -1
- package/dist/package/components/tree.vue.d.ts +1 -1
- package/dist/package/config/theme-core.d.ts +40 -0
- package/dist/package/themes/default/components/container.d.ts +11 -0
- package/dist/package/themes/default/components/page-header.d.ts +29 -0
- package/dist/package/themes/default/index.d.ts +38 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,8 +21,8 @@ declare function __VLS_template(): {
|
|
|
21
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
orientation: Orientation;
|
|
25
24
|
size: Size;
|
|
25
|
+
orientation: Orientation;
|
|
26
26
|
variant: Variant;
|
|
27
27
|
severity: Severity;
|
|
28
28
|
attached: boolean;
|
|
@@ -32,8 +32,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
32
32
|
type: string;
|
|
33
33
|
label: string;
|
|
34
34
|
disabled: boolean;
|
|
35
|
-
icon: string;
|
|
36
35
|
size: string;
|
|
36
|
+
icon: string;
|
|
37
37
|
loading: boolean;
|
|
38
38
|
rounded: boolean;
|
|
39
39
|
iconPos: "top" | "right" | "bottom" | "left";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type Size = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: string;
|
|
4
|
+
size?: Size;
|
|
5
|
+
maxWidth?: string;
|
|
6
|
+
paddingX?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
as: string;
|
|
19
|
+
size: Size;
|
|
20
|
+
maxWidth: string;
|
|
21
|
+
paddingX: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -28,8 +28,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
28
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
disabled: boolean;
|
|
31
|
-
separator: string;
|
|
32
31
|
size: Size;
|
|
32
|
+
separator: string;
|
|
33
33
|
variant: Variant;
|
|
34
34
|
modelValue: DateRangeValue;
|
|
35
35
|
placeholder: string;
|
|
@@ -21,8 +21,8 @@ declare function __VLS_template(): {
|
|
|
21
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
23
|
title: string;
|
|
24
|
-
icon: string;
|
|
25
24
|
size: Size;
|
|
25
|
+
icon: string;
|
|
26
26
|
variant: Variant;
|
|
27
27
|
description: string;
|
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
29
29
|
label: string;
|
|
30
30
|
disabled: boolean;
|
|
31
31
|
error: string;
|
|
32
|
-
required: boolean;
|
|
33
32
|
size: Size;
|
|
33
|
+
required: boolean;
|
|
34
34
|
id: string;
|
|
35
35
|
hint: string;
|
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
interface Props {
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
size?: Size;
|
|
6
|
+
divider?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
breadcrumbs?(_: {}): any;
|
|
12
|
+
title?(_: {}): any;
|
|
13
|
+
subtitle?(_: {}): any;
|
|
14
|
+
meta?(_: {}): any;
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
actions?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
|
+
title: string;
|
|
24
|
+
size: Size;
|
|
25
|
+
subtitle: string;
|
|
26
|
+
divider: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -51,8 +51,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
51
51
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
|
-
orientation: StepperOrientation;
|
|
55
54
|
size: StepperSize;
|
|
55
|
+
orientation: StepperOrientation;
|
|
56
56
|
modelValue: StepperValue;
|
|
57
57
|
ariaLabel: string;
|
|
58
58
|
ariaLabelledby: string;
|
|
@@ -33,9 +33,9 @@ declare function __VLS_template(): {
|
|
|
33
33
|
};
|
|
34
34
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
35
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
36
|
+
size: TimelineSize;
|
|
36
37
|
items: Array<TimelineItem>;
|
|
37
38
|
orientation: TimelineOrientation;
|
|
38
|
-
size: TimelineSize;
|
|
39
39
|
ariaLabel: string;
|
|
40
40
|
ariaLabelledby: string;
|
|
41
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
@@ -62,8 +62,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
62
62
|
}>, {
|
|
63
63
|
filter: boolean;
|
|
64
64
|
disabled: boolean;
|
|
65
|
-
items: Array<TreeItem>;
|
|
66
65
|
size: Size;
|
|
66
|
+
items: Array<TreeItem>;
|
|
67
67
|
loading: boolean;
|
|
68
68
|
variant: Variant;
|
|
69
69
|
modelValue: TreeValue | TreeValue[];
|
|
@@ -51,8 +51,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
51
51
|
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
53
|
disabled: boolean;
|
|
54
|
-
items: Array<TreeItem>;
|
|
55
54
|
size: "small" | "normal" | "large";
|
|
55
|
+
items: Array<TreeItem>;
|
|
56
56
|
variant: "filled" | "outlined";
|
|
57
57
|
modelValue: TreeValue | TreeValue[];
|
|
58
58
|
ariaLabel: string;
|
|
@@ -32,6 +32,16 @@ export type CardTokens = {
|
|
|
32
32
|
borderColor?: string;
|
|
33
33
|
borderRadius?: string;
|
|
34
34
|
};
|
|
35
|
+
export type ContainerTokens = {
|
|
36
|
+
maxWidth?: string;
|
|
37
|
+
maxWidthSm?: string;
|
|
38
|
+
maxWidthMd?: string;
|
|
39
|
+
maxWidthLg?: string;
|
|
40
|
+
maxWidthXl?: string;
|
|
41
|
+
paddingX?: string;
|
|
42
|
+
paddingXSm?: string;
|
|
43
|
+
paddingXLg?: string;
|
|
44
|
+
};
|
|
35
45
|
export type CheckboxTokens = {
|
|
36
46
|
size?: string;
|
|
37
47
|
gap?: string;
|
|
@@ -518,6 +528,34 @@ export type DividerTokens = {
|
|
|
518
528
|
labelPadding?: string;
|
|
519
529
|
labelFontSize?: string;
|
|
520
530
|
};
|
|
531
|
+
export type PageHeaderTokens = {
|
|
532
|
+
gap?: string;
|
|
533
|
+
contentGap?: string;
|
|
534
|
+
breadcrumbGap?: string;
|
|
535
|
+
actionsGap?: string;
|
|
536
|
+
metaGap?: string;
|
|
537
|
+
padding?: string;
|
|
538
|
+
borderRadius?: string;
|
|
539
|
+
borderColor?: string;
|
|
540
|
+
backgroundColor?: string;
|
|
541
|
+
textColor?: string;
|
|
542
|
+
dividerColor?: string;
|
|
543
|
+
titleFontSize?: string;
|
|
544
|
+
titleLineHeight?: string;
|
|
545
|
+
titleFontWeight?: string;
|
|
546
|
+
subtitleFontSize?: string;
|
|
547
|
+
subtitleColor?: string;
|
|
548
|
+
small?: {
|
|
549
|
+
padding?: string;
|
|
550
|
+
titleFontSize?: string;
|
|
551
|
+
subtitleFontSize?: string;
|
|
552
|
+
};
|
|
553
|
+
large?: {
|
|
554
|
+
padding?: string;
|
|
555
|
+
titleFontSize?: string;
|
|
556
|
+
subtitleFontSize?: string;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
521
559
|
export type MenuTokens = {
|
|
522
560
|
iconGap?: string;
|
|
523
561
|
submenuOffset?: string;
|
|
@@ -2092,6 +2130,7 @@ export type ThemeComponentTokens = {
|
|
|
2092
2130
|
button?: ButtonTokens;
|
|
2093
2131
|
buttonGroup?: ButtonGroupTokens;
|
|
2094
2132
|
card?: CardTokens;
|
|
2133
|
+
container?: ContainerTokens;
|
|
2095
2134
|
checkbox?: CheckboxTokens;
|
|
2096
2135
|
radio?: RadioTokens;
|
|
2097
2136
|
tabs?: TabsTokens;
|
|
@@ -2114,6 +2153,7 @@ export type ThemeComponentTokens = {
|
|
|
2114
2153
|
link?: LinkTokens;
|
|
2115
2154
|
breadcrumbs?: BreadcrumbsTokens;
|
|
2116
2155
|
divider?: DividerTokens;
|
|
2156
|
+
pageHeader?: PageHeaderTokens;
|
|
2117
2157
|
menu?: MenuTokens;
|
|
2118
2158
|
modal?: ModalTokens;
|
|
2119
2159
|
confirmDialog?: ConfirmDialogTokens;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
gap: string;
|
|
3
|
+
contentGap: string;
|
|
4
|
+
breadcrumbGap: string;
|
|
5
|
+
actionsGap: string;
|
|
6
|
+
metaGap: string;
|
|
7
|
+
padding: string;
|
|
8
|
+
borderRadius: string;
|
|
9
|
+
borderColor: string;
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
textColor: string;
|
|
12
|
+
dividerColor: string;
|
|
13
|
+
titleFontSize: string;
|
|
14
|
+
titleLineHeight: string;
|
|
15
|
+
titleFontWeight: string;
|
|
16
|
+
subtitleFontSize: string;
|
|
17
|
+
subtitleColor: string;
|
|
18
|
+
small: {
|
|
19
|
+
padding: string;
|
|
20
|
+
titleFontSize: string;
|
|
21
|
+
subtitleFontSize: string;
|
|
22
|
+
};
|
|
23
|
+
large: {
|
|
24
|
+
padding: string;
|
|
25
|
+
titleFontSize: string;
|
|
26
|
+
subtitleFontSize: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
@@ -217,6 +217,16 @@ declare const _default: {
|
|
|
217
217
|
borderColor: string;
|
|
218
218
|
borderRadius: string;
|
|
219
219
|
};
|
|
220
|
+
container: {
|
|
221
|
+
maxWidth: string;
|
|
222
|
+
maxWidthSm: string;
|
|
223
|
+
maxWidthMd: string;
|
|
224
|
+
maxWidthLg: string;
|
|
225
|
+
maxWidthXl: string;
|
|
226
|
+
paddingX: string;
|
|
227
|
+
paddingXSm: string;
|
|
228
|
+
paddingXLg: string;
|
|
229
|
+
};
|
|
220
230
|
input: {
|
|
221
231
|
gap: string;
|
|
222
232
|
fontSize: string;
|
|
@@ -675,6 +685,34 @@ declare const _default: {
|
|
|
675
685
|
labelPadding: string;
|
|
676
686
|
labelFontSize: string;
|
|
677
687
|
};
|
|
688
|
+
pageHeader: {
|
|
689
|
+
gap: string;
|
|
690
|
+
contentGap: string;
|
|
691
|
+
breadcrumbGap: string;
|
|
692
|
+
actionsGap: string;
|
|
693
|
+
metaGap: string;
|
|
694
|
+
padding: string;
|
|
695
|
+
borderRadius: string;
|
|
696
|
+
borderColor: string;
|
|
697
|
+
backgroundColor: string;
|
|
698
|
+
textColor: string;
|
|
699
|
+
dividerColor: string;
|
|
700
|
+
titleFontSize: string;
|
|
701
|
+
titleLineHeight: string;
|
|
702
|
+
titleFontWeight: string;
|
|
703
|
+
subtitleFontSize: string;
|
|
704
|
+
subtitleColor: string;
|
|
705
|
+
small: {
|
|
706
|
+
padding: string;
|
|
707
|
+
titleFontSize: string;
|
|
708
|
+
subtitleFontSize: string;
|
|
709
|
+
};
|
|
710
|
+
large: {
|
|
711
|
+
padding: string;
|
|
712
|
+
titleFontSize: string;
|
|
713
|
+
subtitleFontSize: string;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
678
716
|
menu: {
|
|
679
717
|
iconGap: string;
|
|
680
718
|
submenuOffset: string;
|