@agrotools1/at-components 0.1.3-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/README.md +7 -0
- package/dist/Avatar/Avatar.d.ts +66 -0
- package/dist/Avatar/index.d.ts +1 -0
- package/dist/Button/Button.d.ts +146 -0
- package/dist/Button/index.d.ts +1 -0
- package/dist/CardWithInsights/CardWithInsights.d.ts +7 -0
- package/dist/CardWithInsights/index.d.ts +1 -0
- package/dist/Checkbox/Checkbox.d.ts +73 -0
- package/dist/Checkbox/index.d.ts +1 -0
- package/dist/DataTable/Column/Column.d.ts +36 -0
- package/dist/DataTable/Counters/Counters.d.ts +41 -0
- package/dist/DataTable/DataTable.d.ts +113 -0
- package/dist/DataTable/Tag/Tag.d.ts +19 -0
- package/dist/DataTable/index.d.ts +208 -0
- package/dist/Faq/Faq.d.ts +5 -0
- package/dist/Faq/index.d.ts +1 -0
- package/dist/Illustration/Illustration.d.ts +58 -0
- package/dist/Illustration/index.d.ts +1 -0
- package/dist/Input/Input.core.d.ts +132 -0
- package/dist/Input/index.d.ts +134 -0
- package/dist/Modal/Modal.d.ts +105 -0
- package/dist/Modal/index.d.ts +1 -0
- package/dist/Paginator/Paginator.d.ts +43 -0
- package/dist/Paginator/index.d.ts +1 -0
- package/dist/ProgressBar/ProgressBar.d.ts +76 -0
- package/dist/ProgressBar/index.d.ts +1 -0
- package/dist/Select/Item/Item.d.ts +103 -0
- package/dist/Select/Select.core.d.ts +75 -0
- package/dist/Select/Select.multiple.d.ts +80 -0
- package/dist/Select/Select.single.d.ts +57 -0
- package/dist/Select/index.d.ts +132 -0
- package/dist/Styles/agrotools-theme.css +5 -0
- package/dist/Styles/agrotools-theme.css.map +1 -0
- package/dist/Tabs/Tab/Tab.d.ts +57 -0
- package/dist/Tabs/Tabs.d.ts +50 -0
- package/dist/Tabs/index.d.ts +1 -0
- package/dist/Tipograph/Paragraph/Paragraph.d.ts +25 -0
- package/dist/Tipograph/Title/Title.d.ts +25 -0
- package/dist/Tipograph/index.d.ts +50 -0
- package/dist/Toggle/Toggle.d.ts +35 -0
- package/dist/Toggle/index.d.ts +1 -0
- package/dist/Upload/Upload.d.ts +119 -0
- package/dist/Upload/index.d.ts +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +2348 -0
- package/dist/index.umd.cjs +1 -0
- package/package.json +93 -0
- package/storybook-static/108.2ef3bb7a.iframe.bundle.js +1 -0
- package/storybook-static/241.26474039.iframe.bundle.js +1 -0
- package/storybook-static/430.f9c58945.iframe.bundle.js +1 -0
- package/storybook-static/471.4eb28a88.iframe.bundle.js +1 -0
- package/storybook-static/518.adfe500c.iframe.bundle.js +1 -0
- package/storybook-static/605.b24c7f17.iframe.bundle.js +44 -0
- package/storybook-static/605.b24c7f17.iframe.bundle.js.map +1 -0
- package/storybook-static/619.95069113.iframe.bundle.js +134 -0
- package/storybook-static/619.95069113.iframe.bundle.js.LICENSE.txt +46 -0
- package/storybook-static/619.95069113.iframe.bundle.js.map +1 -0
- package/storybook-static/673.32e74aeb.iframe.bundle.js +1 -0
- package/storybook-static/716.ab558bfb.iframe.bundle.js +1 -0
- package/storybook-static/841.bc9263f1.iframe.bundle.js +402 -0
- package/storybook-static/841.bc9263f1.iframe.bundle.js.LICENSE.txt +15 -0
- package/storybook-static/841.bc9263f1.iframe.bundle.js.map +1 -0
- package/storybook-static/878.29798927.iframe.bundle.js +1 -0
- package/storybook-static/895.cebd63e6.iframe.bundle.js +1 -0
- package/storybook-static/998.aaef9ce6.iframe.bundle.js +1 -0
- package/storybook-static/Avatar-Avatar-stories.2acc14df.iframe.bundle.js +1 -0
- package/storybook-static/Button-Button-stories.2aa969e5.iframe.bundle.js +1 -0
- package/storybook-static/Checkbox-Checkbox-stories.e3f98a9b.iframe.bundle.js +1 -0
- package/storybook-static/DataTable-Column-Column-stories.73eabb87.iframe.bundle.js +1 -0
- package/storybook-static/DataTable-DataTable-stories.43cf8dff.iframe.bundle.js +1 -0
- package/storybook-static/DataTable-Tag-Tag-stories.071dd437.iframe.bundle.js +1 -0
- package/storybook-static/Input-Input-stories.a40131b3.iframe.bundle.js +1 -0
- package/storybook-static/Paginator-Paginator-stories.f7d9f6f2.iframe.bundle.js +1 -0
- package/storybook-static/Select-Item-Item-stories.3a913cd9.iframe.bundle.js +1 -0
- package/storybook-static/Select-Select-multiple-stories.42e824d4.iframe.bundle.js +1 -0
- package/storybook-static/Select-Select-single-stories.d50460ac.iframe.bundle.js +1 -0
- package/storybook-static/Tabs-Tab-Tab-stories.b1a9fef9.iframe.bundle.js +1 -0
- package/storybook-static/Tabs-Tabs-stories.73847c74.iframe.bundle.js +1 -0
- package/storybook-static/Tipograph-Paragraph-Paragraph-stories.3f579be8.iframe.bundle.js +1 -0
- package/storybook-static/Tipograph-Title-Title-stories.c1949e52.iframe.bundle.js +1 -0
- package/storybook-static/Toggle-Toggle-stories.52194834.iframe.bundle.js +1 -0
- package/storybook-static/favicon.svg +7 -0
- package/storybook-static/iframe.html +355 -0
- package/storybook-static/index.html +126 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/main.d9760f16.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.66427e0c.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +114 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +27 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +31 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/GlobalScrollAreaStyles-UY5SB7EJ-BKTFUTA6.js +7 -0
- package/storybook-static/sb-manager/OverlayScrollbars-GZGLA7DL-YJ2Z3IBE.js +1 -0
- package/storybook-static/sb-manager/WithTooltip-J57HCPYA-3VOMFVVS.js +1 -0
- package/storybook-static/sb-manager/chunk-3J6GS6FI.js +1 -0
- package/storybook-static/sb-manager/chunk-L4KFTAB4.js +408 -0
- package/storybook-static/sb-manager/chunk-NBCGHFLK.js +136 -0
- package/storybook-static/sb-manager/chunk-O2ZUMB77.js +7 -0
- package/storybook-static/sb-manager/chunk-QMHPSTMR.js +15 -0
- package/storybook-static/sb-manager/chunk-QPL63VNK.js +1 -0
- package/storybook-static/sb-manager/chunk-RKFFWI2D.js +1 -0
- package/storybook-static/sb-manager/chunk-SPUAGIB2.js +207 -0
- package/storybook-static/sb-manager/formatter-SWP5E3XI-FS7NNRKF.js +156 -0
- package/storybook-static/sb-manager/globals.js +1 -0
- package/storybook-static/sb-manager/index.js +1 -0
- package/storybook-static/sb-manager/runtime.js +1 -0
- package/storybook-static/sb-manager/syntaxhighlighter-PONEFOSF-PLQPOLN2.js +1 -0
- package/storybook-static/sb-preview/globals.js +1 -0
- package/storybook-static/sb-preview/runtime.js +112 -0
- package/storybook-static/static/media/check.c2eccee6.svg +10 -0
- package/storybook-static/static/media/checkmarck.9932a0d7.svg +5 -0
- package/storybook-static/static/media/disabled.4fbc31ab.svg +12 -0
- package/storybook-static/static/media/double-left-arrow.6a90d667.svg +15 -0
- package/storybook-static/static/media/double-right-arrow.879b3cc9.svg +15 -0
- package/storybook-static/static/media/error.934dd460.svg +12 -0
- package/storybook-static/static/media/error.f04b33e9.svg +5 -0
- package/storybook-static/static/media/filter.0268b8e0.svg +12 -0
- package/storybook-static/static/media/indicator.41526843.svg +3 -0
- package/storybook-static/static/media/info.f0b1a71f.svg +18 -0
- package/storybook-static/static/media/left-arrow.5cf50151.svg +5 -0
- package/storybook-static/static/media/right-arrow.406ffc39.svg +5 -0
- package/storybook-static/static/media/success.c306802d.svg +12 -0
- package/storybook-static/static/media/warning.32a47f98.svg +9 -0
- package/storybook-static/static/media/warning.7e14a595.svg +5 -0
- package/storybook-static/stories.json +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export interface AvatarProps {
|
|
2
|
+
imgBase64?: string | null;
|
|
3
|
+
username: string;
|
|
4
|
+
size: "G" | "M" | "P";
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
imgBase64: {
|
|
8
|
+
required: false;
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: null;
|
|
11
|
+
validator: (value: string) => boolean;
|
|
12
|
+
};
|
|
13
|
+
withIcon: {
|
|
14
|
+
required: false;
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
validator: (value: boolean) => boolean;
|
|
18
|
+
};
|
|
19
|
+
username: {
|
|
20
|
+
required: true;
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: null;
|
|
23
|
+
validator: (value: string) => boolean;
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
required: false;
|
|
27
|
+
type: () => "P" | "M" | "G";
|
|
28
|
+
default: string;
|
|
29
|
+
validator: (value: string) => boolean;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
slotSize: import("vue").ComputedRef<string>;
|
|
33
|
+
fontSize: import("vue").ComputedRef<string>;
|
|
34
|
+
text: string;
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
imgBase64: {
|
|
37
|
+
required: false;
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: null;
|
|
40
|
+
validator: (value: string) => boolean;
|
|
41
|
+
};
|
|
42
|
+
withIcon: {
|
|
43
|
+
required: false;
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
validator: (value: boolean) => boolean;
|
|
47
|
+
};
|
|
48
|
+
username: {
|
|
49
|
+
required: true;
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: null;
|
|
52
|
+
validator: (value: string) => boolean;
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
required: false;
|
|
56
|
+
type: () => "P" | "M" | "G";
|
|
57
|
+
default: string;
|
|
58
|
+
validator: (value: string) => boolean;
|
|
59
|
+
};
|
|
60
|
+
}>>, {
|
|
61
|
+
imgBase64: string;
|
|
62
|
+
withIcon: boolean;
|
|
63
|
+
username: string;
|
|
64
|
+
size: "G" | "M" | "P";
|
|
65
|
+
}, {}>;
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type AvatarProps, default as AtAvatar } from "./Avatar";
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export interface ButtonProps {
|
|
2
|
+
text: string;
|
|
3
|
+
variant: "primary" | "secondary" | "danger" | "header";
|
|
4
|
+
loading: boolean;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
size: {
|
|
7
|
+
width: string;
|
|
8
|
+
};
|
|
9
|
+
icon: SVGSVGElement | string | null;
|
|
10
|
+
isToggle: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<{
|
|
13
|
+
isToggle: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
validator: (value: boolean) => boolean;
|
|
17
|
+
};
|
|
18
|
+
text: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
default: string;
|
|
22
|
+
validator: (value: string) => boolean;
|
|
23
|
+
};
|
|
24
|
+
variant: {
|
|
25
|
+
type: () => "primary" | "secondary" | "danger" | "header";
|
|
26
|
+
default: string;
|
|
27
|
+
validator: (value: string) => boolean;
|
|
28
|
+
};
|
|
29
|
+
loading: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
validator: (value: boolean) => boolean;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
validator: (value: boolean) => boolean;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
type: () => {
|
|
41
|
+
width: string;
|
|
42
|
+
};
|
|
43
|
+
default: () => {
|
|
44
|
+
width: string;
|
|
45
|
+
};
|
|
46
|
+
validator: (value: {
|
|
47
|
+
width: string;
|
|
48
|
+
}) => boolean;
|
|
49
|
+
};
|
|
50
|
+
icon: {
|
|
51
|
+
type: (StringConstructor | {
|
|
52
|
+
new (): SVGSVGElement;
|
|
53
|
+
prototype: SVGSVGElement;
|
|
54
|
+
})[];
|
|
55
|
+
default: string;
|
|
56
|
+
required: false;
|
|
57
|
+
validator: (value: SVGSVGElement | string) => boolean;
|
|
58
|
+
};
|
|
59
|
+
iconLeft: {
|
|
60
|
+
type: (StringConstructor | {
|
|
61
|
+
new (): SVGSVGElement;
|
|
62
|
+
prototype: SVGSVGElement;
|
|
63
|
+
})[];
|
|
64
|
+
default: string;
|
|
65
|
+
required: false;
|
|
66
|
+
validator: (value: SVGSVGElement | string) => boolean;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
buttonRef: {
|
|
70
|
+
value: HTMLElement | null;
|
|
71
|
+
};
|
|
72
|
+
iconSlotEl: {
|
|
73
|
+
value: HTMLElement | null;
|
|
74
|
+
};
|
|
75
|
+
leftIconSlotEl: {
|
|
76
|
+
value: HTMLElement | null;
|
|
77
|
+
};
|
|
78
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
isToggle: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
validator: (value: boolean) => boolean;
|
|
83
|
+
};
|
|
84
|
+
text: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: true;
|
|
87
|
+
default: string;
|
|
88
|
+
validator: (value: string) => boolean;
|
|
89
|
+
};
|
|
90
|
+
variant: {
|
|
91
|
+
type: () => "primary" | "secondary" | "danger" | "header";
|
|
92
|
+
default: string;
|
|
93
|
+
validator: (value: string) => boolean;
|
|
94
|
+
};
|
|
95
|
+
loading: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
validator: (value: boolean) => boolean;
|
|
99
|
+
};
|
|
100
|
+
disabled: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
validator: (value: boolean) => boolean;
|
|
104
|
+
};
|
|
105
|
+
size: {
|
|
106
|
+
type: () => {
|
|
107
|
+
width: string;
|
|
108
|
+
};
|
|
109
|
+
default: () => {
|
|
110
|
+
width: string;
|
|
111
|
+
};
|
|
112
|
+
validator: (value: {
|
|
113
|
+
width: string;
|
|
114
|
+
}) => boolean;
|
|
115
|
+
};
|
|
116
|
+
icon: {
|
|
117
|
+
type: (StringConstructor | {
|
|
118
|
+
new (): SVGSVGElement;
|
|
119
|
+
prototype: SVGSVGElement;
|
|
120
|
+
})[];
|
|
121
|
+
default: string;
|
|
122
|
+
required: false;
|
|
123
|
+
validator: (value: SVGSVGElement | string) => boolean;
|
|
124
|
+
};
|
|
125
|
+
iconLeft: {
|
|
126
|
+
type: (StringConstructor | {
|
|
127
|
+
new (): SVGSVGElement;
|
|
128
|
+
prototype: SVGSVGElement;
|
|
129
|
+
})[];
|
|
130
|
+
default: string;
|
|
131
|
+
required: false;
|
|
132
|
+
validator: (value: SVGSVGElement | string) => boolean;
|
|
133
|
+
};
|
|
134
|
+
}>>, {
|
|
135
|
+
size: {
|
|
136
|
+
width: string;
|
|
137
|
+
};
|
|
138
|
+
text: string;
|
|
139
|
+
isToggle: boolean;
|
|
140
|
+
variant: "header" | "primary" | "secondary" | "danger";
|
|
141
|
+
loading: boolean;
|
|
142
|
+
disabled: boolean;
|
|
143
|
+
icon: string | SVGSVGElement;
|
|
144
|
+
iconLeft: string | SVGSVGElement;
|
|
145
|
+
}, {}>;
|
|
146
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type ButtonProps, default as AtButton } from "./Button";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type AtCardWithInsightsProps, default as AtCardWithInsights } from "./CardWithInsights";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export interface CheckboxProps {
|
|
2
|
+
value?: boolean;
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
size: "12" | "16" | "20" | "24" | "28";
|
|
5
|
+
labelledby: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
disabled: {
|
|
9
|
+
required: false;
|
|
10
|
+
type: () => CheckboxProps["disabled"];
|
|
11
|
+
default: boolean;
|
|
12
|
+
validator: (value: boolean) => boolean;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
required: false;
|
|
16
|
+
type: () => CheckboxProps["value"];
|
|
17
|
+
default: boolean;
|
|
18
|
+
validator: (value: boolean) => boolean;
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
required: false;
|
|
22
|
+
type: () => CheckboxProps["size"];
|
|
23
|
+
default: string;
|
|
24
|
+
validator: (value: string) => boolean;
|
|
25
|
+
};
|
|
26
|
+
labelledby: {
|
|
27
|
+
required: false;
|
|
28
|
+
type: () => CheckboxProps["labelledby"];
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
checkmarck: string;
|
|
34
|
+
buttonRef: import("vue").Ref<HTMLButtonElement | null>;
|
|
35
|
+
inputRef: import("vue").Ref<HTMLInputElement | null>;
|
|
36
|
+
computedSize: import("vue").ComputedRef<string>;
|
|
37
|
+
isChecked: import("vue").Ref<boolean | undefined>;
|
|
38
|
+
onClick: () => void;
|
|
39
|
+
borderRadius: import("vue").ComputedRef<string>;
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
disabled: {
|
|
42
|
+
required: false;
|
|
43
|
+
type: () => CheckboxProps["disabled"];
|
|
44
|
+
default: boolean;
|
|
45
|
+
validator: (value: boolean) => boolean;
|
|
46
|
+
};
|
|
47
|
+
value: {
|
|
48
|
+
required: false;
|
|
49
|
+
type: () => CheckboxProps["value"];
|
|
50
|
+
default: boolean;
|
|
51
|
+
validator: (value: boolean) => boolean;
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
required: false;
|
|
55
|
+
type: () => CheckboxProps["size"];
|
|
56
|
+
default: string;
|
|
57
|
+
validator: (value: string) => boolean;
|
|
58
|
+
};
|
|
59
|
+
labelledby: {
|
|
60
|
+
required: false;
|
|
61
|
+
type: () => CheckboxProps["labelledby"];
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: string) => boolean;
|
|
64
|
+
};
|
|
65
|
+
}>> & {
|
|
66
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
size: "12" | "16" | "20" | "24" | "28";
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
value: boolean | undefined;
|
|
71
|
+
labelledby: string;
|
|
72
|
+
}, {}>;
|
|
73
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type CheckboxProps, default as AtCheckbox } from "./Checkbox";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type PropType, type Ref } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
field: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
label: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
withMaxMinFilter: {
|
|
12
|
+
type: PropType<boolean>;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
alignColumns: Ref<"center" | "left" | "right">;
|
|
17
|
+
filterSvg: string;
|
|
18
|
+
orientation: Ref<"bottom" | "top">;
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
field: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
label: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
withMaxMinFilter: {
|
|
30
|
+
type: PropType<boolean>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
withMaxMinFilter: boolean;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface CountersProps {
|
|
2
|
+
list: Array<any>;
|
|
3
|
+
columns: Array<{
|
|
4
|
+
label: string;
|
|
5
|
+
key: string;
|
|
6
|
+
}>;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<{
|
|
9
|
+
columns: {
|
|
10
|
+
type: () => CountersProps["columns"];
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
list: {
|
|
14
|
+
type: () => CountersProps["list"];
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}, {
|
|
18
|
+
isOpened: import("vue").Ref<boolean>;
|
|
19
|
+
toggleClick: () => void;
|
|
20
|
+
handleClose: () => void;
|
|
21
|
+
countersQuantityRef: import("vue").Ref<HTMLElement | null>;
|
|
22
|
+
computedItems: import("vue").ComputedRef<{
|
|
23
|
+
label: string;
|
|
24
|
+
key: string;
|
|
25
|
+
value: any[];
|
|
26
|
+
}[]>;
|
|
27
|
+
itemsRef: import("vue").Ref<HTMLElement | null>;
|
|
28
|
+
closeIcon: string;
|
|
29
|
+
checkIfContainerIsWithinViewport: () => void;
|
|
30
|
+
onDispatchEvent: (event: any) => void;
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
columns: {
|
|
33
|
+
type: () => CountersProps["columns"];
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
list: {
|
|
37
|
+
type: () => CountersProps["list"];
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
}>>, {}, {}>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
type TableData = Array<{
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
}>;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
value: {
|
|
7
|
+
type: PropType<TableData>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
withEditableFields: {
|
|
11
|
+
type: PropType<string[]>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
withSelection: {
|
|
15
|
+
type: PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
withPaginator: {
|
|
19
|
+
type: PropType<{
|
|
20
|
+
total: number;
|
|
21
|
+
pageSize: number;
|
|
22
|
+
onUpdatePage: (page: number) => void;
|
|
23
|
+
} | undefined>;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
keyExtractor: {
|
|
27
|
+
type: PropType<(item: any) => string>;
|
|
28
|
+
default: (item: any) => any;
|
|
29
|
+
};
|
|
30
|
+
columnsClasses: {
|
|
31
|
+
type: PropType<string[]>;
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
alignColumns: {
|
|
35
|
+
type: PropType<"center" | "left" | "right">;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
tableData: import("vue").Ref<{
|
|
40
|
+
[key: string]: unknown;
|
|
41
|
+
}[]>;
|
|
42
|
+
columns: string[];
|
|
43
|
+
updateColumn: (column: string) => void;
|
|
44
|
+
internalUpdateColumn: (column: string) => void;
|
|
45
|
+
internalColumns: string[];
|
|
46
|
+
lastHoveredTr: import("vue").Ref<{
|
|
47
|
+
element: HTMLTableRowElement;
|
|
48
|
+
item: any;
|
|
49
|
+
} | null>;
|
|
50
|
+
getEntries: (item: any) => [string, unknown][];
|
|
51
|
+
extractKey: (item: any) => string | undefined;
|
|
52
|
+
updateOnKeyDown: (event: KeyboardEvent, field: string) => void;
|
|
53
|
+
handleTrClick: (event: MouseEvent, field: string) => void;
|
|
54
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
|
+
"update:selected-items": (items: Array<any>) => boolean;
|
|
56
|
+
"update:table-data": (data: TableData) => boolean;
|
|
57
|
+
"update:table-cell": (data: {
|
|
58
|
+
field: string;
|
|
59
|
+
value: string | number | boolean;
|
|
60
|
+
}) => boolean;
|
|
61
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
value: {
|
|
63
|
+
type: PropType<TableData>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
withEditableFields: {
|
|
67
|
+
type: PropType<string[]>;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
withSelection: {
|
|
71
|
+
type: PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
withPaginator: {
|
|
75
|
+
type: PropType<{
|
|
76
|
+
total: number;
|
|
77
|
+
pageSize: number;
|
|
78
|
+
onUpdatePage: (page: number) => void;
|
|
79
|
+
} | undefined>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
keyExtractor: {
|
|
83
|
+
type: PropType<(item: any) => string>;
|
|
84
|
+
default: (item: any) => any;
|
|
85
|
+
};
|
|
86
|
+
columnsClasses: {
|
|
87
|
+
type: PropType<string[]>;
|
|
88
|
+
default: () => never[];
|
|
89
|
+
};
|
|
90
|
+
alignColumns: {
|
|
91
|
+
type: PropType<"center" | "left" | "right">;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
}>> & {
|
|
95
|
+
"onUpdate:selected-items"?: ((items: any[]) => any) | undefined;
|
|
96
|
+
"onUpdate:table-data"?: ((data: TableData) => any) | undefined;
|
|
97
|
+
"onUpdate:table-cell"?: ((data: {
|
|
98
|
+
field: string;
|
|
99
|
+
value: string | number | boolean;
|
|
100
|
+
}) => any) | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
alignColumns: "center" | "left" | "right";
|
|
103
|
+
withEditableFields: string[];
|
|
104
|
+
withSelection: boolean;
|
|
105
|
+
withPaginator: {
|
|
106
|
+
total: number;
|
|
107
|
+
pageSize: number;
|
|
108
|
+
onUpdatePage: (page: number) => void;
|
|
109
|
+
} | undefined;
|
|
110
|
+
keyExtractor: (item: any) => string;
|
|
111
|
+
columnsClasses: string[];
|
|
112
|
+
}, {}>;
|
|
113
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
type: {
|
|
4
|
+
type: PropType<"disabled" | "error" | "success" | "warning" | "info">;
|
|
5
|
+
required: true;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
icon: string;
|
|
10
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
type: {
|
|
12
|
+
type: PropType<"disabled" | "error" | "success" | "warning" | "info">;
|
|
13
|
+
required: true;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
type: "disabled" | "error" | "success" | "warning" | "info";
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|