@codemonster-ru/vueforge 0.63.0 → 0.65.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.
@@ -0,0 +1 @@
1
+ export {};
@@ -41,9 +41,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
41
41
  ariaLabelledby: string;
42
42
  multiple: boolean;
43
43
  options: Array<FilterChipOption>;
44
+ clearLabel: string;
44
45
  allowEmpty: boolean;
45
46
  clearText: string;
46
- clearLabel: string;
47
47
  wrap: boolean;
48
48
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
49
49
  export default _default;
@@ -0,0 +1,87 @@
1
+ type NotificationSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
2
+ export interface NotificationCenterItem {
3
+ id: string | number;
4
+ title: string;
5
+ message?: string;
6
+ date?: string;
7
+ read?: boolean;
8
+ severity?: NotificationSeverity;
9
+ avatar?: string;
10
+ }
11
+ interface Props {
12
+ modelValue?: boolean;
13
+ items?: Array<NotificationCenterItem>;
14
+ title?: string;
15
+ emptyText?: string;
16
+ closeOnOverlay?: boolean;
17
+ closeOnEsc?: boolean;
18
+ markAllLabel?: string;
19
+ clearLabel?: string;
20
+ closeLabel?: string;
21
+ readLabel?: string;
22
+ unreadLabel?: string;
23
+ }
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ item?(_: {
28
+ item: {
29
+ id: string | number;
30
+ title: string;
31
+ message?: string | undefined;
32
+ date?: string | undefined;
33
+ read?: boolean | undefined;
34
+ severity?: NotificationSeverity | undefined;
35
+ avatar?: string | undefined;
36
+ };
37
+ index: number;
38
+ toggleRead: () => void;
39
+ }): any;
40
+ empty?(_: {}): any;
41
+ };
42
+ refs: {
43
+ panel: HTMLElement;
44
+ };
45
+ rootEl: any;
46
+ };
47
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
48
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
+ click: (...args: any[]) => void;
50
+ close: (...args: any[]) => void;
51
+ "update:modelValue": (...args: any[]) => void;
52
+ clear: (...args: any[]) => void;
53
+ open: (...args: any[]) => void;
54
+ "update:items": (...args: any[]) => void;
55
+ read: (...args: any[]) => void;
56
+ readAll: (...args: any[]) => void;
57
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
58
+ onClick?: ((...args: any[]) => any) | undefined;
59
+ onClose?: ((...args: any[]) => any) | undefined;
60
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
+ onClear?: ((...args: any[]) => any) | undefined;
62
+ onOpen?: ((...args: any[]) => any) | undefined;
63
+ "onUpdate:items"?: ((...args: any[]) => any) | undefined;
64
+ onRead?: ((...args: any[]) => any) | undefined;
65
+ onReadAll?: ((...args: any[]) => any) | undefined;
66
+ }>, {
67
+ title: string;
68
+ items: Array<NotificationCenterItem>;
69
+ modelValue: boolean;
70
+ emptyText: string;
71
+ closeOnOverlay: boolean;
72
+ closeOnEsc: boolean;
73
+ markAllLabel: string;
74
+ clearLabel: string;
75
+ closeLabel: string;
76
+ readLabel: string;
77
+ unreadLabel: string;
78
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
79
+ panel: HTMLElement;
80
+ }, any>;
81
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
82
+ export default _default;
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -0,0 +1,9 @@
1
+ import { ComputedRef, InjectionKey } from 'vue';
2
+ export type WizardValue = string | number;
3
+ export type WizardContext = {
4
+ activeValue: ComputedRef<WizardValue | undefined>;
5
+ getPanelId: (value: WizardValue) => string;
6
+ getStepId: (value: WizardValue) => string;
7
+ isActive: (value: WizardValue) => boolean;
8
+ };
9
+ export declare const wizardKey: InjectionKey<WizardContext>;
@@ -0,0 +1,21 @@
1
+ import { WizardValue } from './wizard-context';
2
+ interface Props {
3
+ value: WizardValue;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,78 @@
1
+ import { WizardValue } from './wizard-context';
2
+ type ValidateResult = boolean | string | null | undefined;
3
+ type ValidateHandler = (step: WizardStepItem, index: number, value: WizardValue) => ValidateResult | Promise<ValidateResult>;
4
+ export interface WizardStepItem {
5
+ value: WizardValue;
6
+ title?: string;
7
+ description?: string;
8
+ optional?: boolean;
9
+ disabled?: boolean;
10
+ validate?: (value: WizardValue, index: number) => ValidateResult | Promise<ValidateResult>;
11
+ }
12
+ interface Props {
13
+ modelValue?: WizardValue;
14
+ steps?: Array<WizardStepItem>;
15
+ linear?: boolean;
16
+ disabled?: boolean;
17
+ nextLabel?: string;
18
+ prevLabel?: string;
19
+ finishLabel?: string;
20
+ validateStep?: ValidateHandler;
21
+ ariaLabel?: string;
22
+ ariaLabelledby?: string;
23
+ }
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ indicator?(_: {
28
+ step: WizardStepItem;
29
+ index: number;
30
+ }): any;
31
+ default?(_: {}): any;
32
+ actions?(_: {
33
+ step: WizardStepItem | undefined;
34
+ index: number;
35
+ isFirst: boolean;
36
+ isLast: boolean;
37
+ next: () => Promise<void>;
38
+ prev: () => Promise<void>;
39
+ complete: () => Promise<void>;
40
+ }): any;
41
+ };
42
+ refs: {};
43
+ rootEl: HTMLDivElement;
44
+ };
45
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
46
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
+ change: (...args: any[]) => void;
48
+ "update:modelValue": (...args: any[]) => void;
49
+ complete: (...args: any[]) => void;
50
+ next: (...args: any[]) => void;
51
+ prev: (...args: any[]) => void;
52
+ invalidStep: (...args: any[]) => void;
53
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
54
+ onChange?: ((...args: any[]) => any) | undefined;
55
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
+ onComplete?: ((...args: any[]) => any) | undefined;
57
+ onNext?: ((...args: any[]) => any) | undefined;
58
+ onPrev?: ((...args: any[]) => any) | undefined;
59
+ onInvalidStep?: ((...args: any[]) => any) | undefined;
60
+ }>, {
61
+ disabled: boolean;
62
+ modelValue: WizardValue;
63
+ ariaLabel: string;
64
+ ariaLabelledby: string;
65
+ prevLabel: string;
66
+ nextLabel: string;
67
+ steps: Array<WizardStepItem>;
68
+ finishLabel: string;
69
+ linear: boolean;
70
+ validateStep: ValidateHandler;
71
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
72
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
73
+ export default _default;
74
+ type __VLS_WithTemplateSlots<T, S> = T & {
75
+ new (): {
76
+ $slots: S;
77
+ };
78
+ };
@@ -629,6 +629,48 @@ export type CommandPaletteTokens = {
629
629
  emptyPadding?: string;
630
630
  emptyColor?: string;
631
631
  };
632
+ export type NotificationCenterTokens = {
633
+ zIndex?: string;
634
+ overlayBackgroundColor?: string;
635
+ top?: string;
636
+ right?: string;
637
+ width?: string;
638
+ maxWidth?: string;
639
+ maxHeight?: string;
640
+ borderColor?: string;
641
+ borderRadius?: string;
642
+ backgroundColor?: string;
643
+ textColor?: string;
644
+ shadow?: string;
645
+ dividerColor?: string;
646
+ headerGap?: string;
647
+ headerPadding?: string;
648
+ titleGap?: string;
649
+ titleFontSize?: string;
650
+ titleLineHeight?: string;
651
+ titleFontWeight?: string;
652
+ badgeSize?: string;
653
+ badgeBackgroundColor?: string;
654
+ badgeTextColor?: string;
655
+ badgeFontSize?: string;
656
+ actionsGap?: string;
657
+ closeSize?: string;
658
+ closeHoverBackgroundColor?: string;
659
+ disabledOpacity?: string;
660
+ itemGap?: string;
661
+ itemPadding?: string;
662
+ unreadBackgroundColor?: string;
663
+ avatarSize?: string;
664
+ avatarBackgroundColor?: string;
665
+ avatarTextColor?: string;
666
+ avatarFontSize?: string;
667
+ itemTitleFontSize?: string;
668
+ itemTitleFontWeight?: string;
669
+ itemMetaFontSize?: string;
670
+ itemMetaColor?: string;
671
+ emptyPadding?: string;
672
+ emptyColor?: string;
673
+ };
632
674
  export type SelectTokens = {
633
675
  minWidth?: string;
634
676
  fontSize?: string;
@@ -1496,6 +1538,45 @@ export type StepperTokens = {
1496
1538
  itemGap?: string;
1497
1539
  };
1498
1540
  };
1541
+ export type WizardTokens = {
1542
+ gap?: string;
1543
+ borderColor?: string;
1544
+ headerPaddingBottom?: string;
1545
+ itemGap?: string;
1546
+ stepGap?: string;
1547
+ indicatorSize?: string;
1548
+ indicatorBorderRadius?: string;
1549
+ indicatorFontSize?: string;
1550
+ indicatorBorderColor?: string;
1551
+ indicatorBackgroundColor?: string;
1552
+ indicatorTextColor?: string;
1553
+ activeIndicatorBorderColor?: string;
1554
+ activeIndicatorBackgroundColor?: string;
1555
+ activeIndicatorTextColor?: string;
1556
+ completedIndicatorBorderColor?: string;
1557
+ completedIndicatorBackgroundColor?: string;
1558
+ completedIndicatorTextColor?: string;
1559
+ errorIndicatorBorderColor?: string;
1560
+ errorIndicatorBackgroundColor?: string;
1561
+ errorIndicatorTextColor?: string;
1562
+ titleFontSize?: string;
1563
+ titleColor?: string;
1564
+ descriptionFontSize?: string;
1565
+ descriptionColor?: string;
1566
+ actionsGap?: string;
1567
+ buttonMinWidth?: string;
1568
+ buttonPadding?: string;
1569
+ buttonBorderRadius?: string;
1570
+ buttonBorderColor?: string;
1571
+ buttonBackgroundColor?: string;
1572
+ buttonTextColor?: string;
1573
+ buttonHoverBackgroundColor?: string;
1574
+ secondaryButtonBorderColor?: string;
1575
+ secondaryButtonBackgroundColor?: string;
1576
+ secondaryButtonTextColor?: string;
1577
+ secondaryButtonHoverBackgroundColor?: string;
1578
+ disabledOpacity?: string;
1579
+ };
1499
1580
  export type TimelineTokens = {
1500
1581
  gap?: string;
1501
1582
  itemGap?: string;
@@ -1883,6 +1964,7 @@ export type ThemeComponentTokens = {
1883
1964
  splitbutton?: SplitButtonTokens;
1884
1965
  contextMenu?: ContextMenuTokens;
1885
1966
  commandPalette?: CommandPaletteTokens;
1967
+ notificationCenter?: NotificationCenterTokens;
1886
1968
  select?: SelectTokens;
1887
1969
  autocomplete?: AutocompleteTokens;
1888
1970
  combobox?: ComboboxTokens;
@@ -1903,6 +1985,7 @@ export type ThemeComponentTokens = {
1903
1985
  slider?: SliderTokens;
1904
1986
  splitter?: SplitterTokens;
1905
1987
  stepper?: StepperTokens;
1988
+ wizard?: WizardTokens;
1906
1989
  timeline?: TimelineTokens;
1907
1990
  datatable?: DataTableTokens;
1908
1991
  toast?: ToastTokens;
@@ -0,0 +1,43 @@
1
+ declare const _default: {
2
+ zIndex: string;
3
+ overlayBackgroundColor: string;
4
+ top: string;
5
+ right: string;
6
+ width: string;
7
+ maxWidth: string;
8
+ maxHeight: string;
9
+ borderColor: string;
10
+ borderRadius: string;
11
+ backgroundColor: string;
12
+ textColor: string;
13
+ shadow: string;
14
+ dividerColor: string;
15
+ headerGap: string;
16
+ headerPadding: string;
17
+ titleGap: string;
18
+ titleFontSize: string;
19
+ titleLineHeight: string;
20
+ titleFontWeight: string;
21
+ badgeSize: string;
22
+ badgeBackgroundColor: string;
23
+ badgeTextColor: string;
24
+ badgeFontSize: string;
25
+ actionsGap: string;
26
+ closeSize: string;
27
+ closeHoverBackgroundColor: string;
28
+ disabledOpacity: string;
29
+ itemGap: string;
30
+ itemPadding: string;
31
+ unreadBackgroundColor: string;
32
+ avatarSize: string;
33
+ avatarBackgroundColor: string;
34
+ avatarTextColor: string;
35
+ avatarFontSize: string;
36
+ itemTitleFontSize: string;
37
+ itemTitleFontWeight: string;
38
+ itemMetaFontSize: string;
39
+ itemMetaColor: string;
40
+ emptyPadding: string;
41
+ emptyColor: string;
42
+ };
43
+ export default _default;
@@ -0,0 +1,40 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ borderColor: string;
4
+ headerPaddingBottom: string;
5
+ itemGap: string;
6
+ stepGap: string;
7
+ indicatorSize: string;
8
+ indicatorBorderRadius: string;
9
+ indicatorFontSize: string;
10
+ indicatorBorderColor: string;
11
+ indicatorBackgroundColor: string;
12
+ indicatorTextColor: string;
13
+ activeIndicatorBorderColor: string;
14
+ activeIndicatorBackgroundColor: string;
15
+ activeIndicatorTextColor: string;
16
+ completedIndicatorBorderColor: string;
17
+ completedIndicatorBackgroundColor: string;
18
+ completedIndicatorTextColor: string;
19
+ errorIndicatorBorderColor: string;
20
+ errorIndicatorBackgroundColor: string;
21
+ errorIndicatorTextColor: string;
22
+ titleFontSize: string;
23
+ titleColor: string;
24
+ descriptionFontSize: string;
25
+ descriptionColor: string;
26
+ actionsGap: string;
27
+ buttonMinWidth: string;
28
+ buttonPadding: string;
29
+ buttonBorderRadius: string;
30
+ buttonBorderColor: string;
31
+ buttonBackgroundColor: string;
32
+ buttonTextColor: string;
33
+ buttonHoverBackgroundColor: string;
34
+ secondaryButtonBorderColor: string;
35
+ secondaryButtonBackgroundColor: string;
36
+ secondaryButtonTextColor: string;
37
+ secondaryButtonHoverBackgroundColor: string;
38
+ disabledOpacity: string;
39
+ };
40
+ export default _default;
@@ -783,6 +783,48 @@ declare const _default: {
783
783
  emptyPadding: string;
784
784
  emptyColor: string;
785
785
  };
786
+ notificationCenter: {
787
+ zIndex: string;
788
+ overlayBackgroundColor: string;
789
+ top: string;
790
+ right: string;
791
+ width: string;
792
+ maxWidth: string;
793
+ maxHeight: string;
794
+ borderColor: string;
795
+ borderRadius: string;
796
+ backgroundColor: string;
797
+ textColor: string;
798
+ shadow: string;
799
+ dividerColor: string;
800
+ headerGap: string;
801
+ headerPadding: string;
802
+ titleGap: string;
803
+ titleFontSize: string;
804
+ titleLineHeight: string;
805
+ titleFontWeight: string;
806
+ badgeSize: string;
807
+ badgeBackgroundColor: string;
808
+ badgeTextColor: string;
809
+ badgeFontSize: string;
810
+ actionsGap: string;
811
+ closeSize: string;
812
+ closeHoverBackgroundColor: string;
813
+ disabledOpacity: string;
814
+ itemGap: string;
815
+ itemPadding: string;
816
+ unreadBackgroundColor: string;
817
+ avatarSize: string;
818
+ avatarBackgroundColor: string;
819
+ avatarTextColor: string;
820
+ avatarFontSize: string;
821
+ itemTitleFontSize: string;
822
+ itemTitleFontWeight: string;
823
+ itemMetaFontSize: string;
824
+ itemMetaColor: string;
825
+ emptyPadding: string;
826
+ emptyColor: string;
827
+ };
786
828
  select: {
787
829
  minWidth: string;
788
830
  fontSize: string;
@@ -1917,6 +1959,45 @@ declare const _default: {
1917
1959
  itemGap: string;
1918
1960
  };
1919
1961
  };
1962
+ wizard: {
1963
+ gap: string;
1964
+ borderColor: string;
1965
+ headerPaddingBottom: string;
1966
+ itemGap: string;
1967
+ stepGap: string;
1968
+ indicatorSize: string;
1969
+ indicatorBorderRadius: string;
1970
+ indicatorFontSize: string;
1971
+ indicatorBorderColor: string;
1972
+ indicatorBackgroundColor: string;
1973
+ indicatorTextColor: string;
1974
+ activeIndicatorBorderColor: string;
1975
+ activeIndicatorBackgroundColor: string;
1976
+ activeIndicatorTextColor: string;
1977
+ completedIndicatorBorderColor: string;
1978
+ completedIndicatorBackgroundColor: string;
1979
+ completedIndicatorTextColor: string;
1980
+ errorIndicatorBorderColor: string;
1981
+ errorIndicatorBackgroundColor: string;
1982
+ errorIndicatorTextColor: string;
1983
+ titleFontSize: string;
1984
+ titleColor: string;
1985
+ descriptionFontSize: string;
1986
+ descriptionColor: string;
1987
+ actionsGap: string;
1988
+ buttonMinWidth: string;
1989
+ buttonPadding: string;
1990
+ buttonBorderRadius: string;
1991
+ buttonBorderColor: string;
1992
+ buttonBackgroundColor: string;
1993
+ buttonTextColor: string;
1994
+ buttonHoverBackgroundColor: string;
1995
+ secondaryButtonBorderColor: string;
1996
+ secondaryButtonBackgroundColor: string;
1997
+ secondaryButtonTextColor: string;
1998
+ secondaryButtonHoverBackgroundColor: string;
1999
+ disabledOpacity: string;
2000
+ };
1920
2001
  timeline: {
1921
2002
  gap: string;
1922
2003
  itemGap: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.63.0",
3
+ "version": "0.65.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",