@aures5g/vue-component-library 3.6.2 → 3.6.3
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/src/components/infoStrip/brandLogo/uiBrandLogo.const.d.ts +13 -12
- package/dist/src/components/switch/UISwitch.vue.d.ts +3 -4
- package/dist/src/components/tabs/UITabView.d.ts +3 -5
- package/dist/src/components/tabs/uiTabPanel.const.d.ts +2 -3
- package/dist/src/components/toggleButton/UIToggleButton.vue.d.ts +3 -4
- package/dist/vue-component-library.js +1 -0
- package/package.json +45 -22
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IconDefinition } from '@fortawesome/fontawesome-common-types';
|
|
1
2
|
export declare const BRAND_LOGO_SEVERITY: {
|
|
2
3
|
readonly DEFAULT: "default";
|
|
3
4
|
readonly ENEMY: "enemy";
|
|
@@ -21,62 +22,62 @@ export declare const BRANDS: {
|
|
|
21
22
|
export type Brands = (typeof BRANDS)[keyof typeof BRANDS];
|
|
22
23
|
export declare const BRAND_MAP: {
|
|
23
24
|
readonly CZ_Financing: {
|
|
24
|
-
readonly icon:
|
|
25
|
+
readonly icon: IconDefinition;
|
|
25
26
|
readonly label: "autosplatka";
|
|
26
27
|
readonly class: "bg-[#16DB93] text-on-primary";
|
|
27
28
|
};
|
|
28
29
|
readonly MototechnaBrand: {
|
|
29
|
-
readonly icon:
|
|
30
|
+
readonly icon: IconDefinition;
|
|
30
31
|
readonly label: "mototechna";
|
|
31
32
|
readonly class: "bg-[#00CCBB] text-on-primary";
|
|
32
33
|
};
|
|
33
34
|
readonly CZ_DRIVE: {
|
|
34
|
-
readonly icon:
|
|
35
|
+
readonly icon: IconDefinition;
|
|
35
36
|
readonly label: "mototechna";
|
|
36
37
|
readonly class: "bg-[#00CCBB] text-on-primary";
|
|
37
38
|
};
|
|
38
39
|
readonly CZ_MG: {
|
|
39
|
-
readonly icon:
|
|
40
|
+
readonly icon: IconDefinition;
|
|
40
41
|
readonly label: "mototechna";
|
|
41
42
|
readonly class: "bg-[#00CCBB] text-on-primary";
|
|
42
43
|
};
|
|
43
44
|
readonly SK_MOT: {
|
|
44
|
-
readonly icon:
|
|
45
|
+
readonly icon: IconDefinition;
|
|
45
46
|
readonly label: "mototechna";
|
|
46
47
|
readonly class: "bg-[#00CCBB] text-on-primary";
|
|
47
48
|
};
|
|
48
49
|
readonly CZ_AAA: {
|
|
49
|
-
readonly icon:
|
|
50
|
+
readonly icon: IconDefinition;
|
|
50
51
|
readonly label: "aaa auto";
|
|
51
52
|
readonly class: "bg-[#005CA9] text-on-primary";
|
|
52
53
|
};
|
|
53
54
|
readonly PL_AAA: {
|
|
54
|
-
readonly icon:
|
|
55
|
+
readonly icon: IconDefinition;
|
|
55
56
|
readonly label: "aaa auto";
|
|
56
57
|
readonly class: "bg-[#005CA9] text-on-primary";
|
|
57
58
|
};
|
|
58
59
|
readonly SK_AAA: {
|
|
59
|
-
readonly icon:
|
|
60
|
+
readonly icon: IconDefinition;
|
|
60
61
|
readonly label: "aaa auto";
|
|
61
62
|
readonly class: "bg-[#005CA9] text-on-primary";
|
|
62
63
|
};
|
|
63
64
|
readonly SK_AD: {
|
|
64
|
-
readonly icon:
|
|
65
|
+
readonly icon: IconDefinition;
|
|
65
66
|
readonly label: "aaa auto diskont";
|
|
66
67
|
readonly class: "bg-[#E74011] text-on-primary";
|
|
67
68
|
};
|
|
68
69
|
readonly CZ_AD: {
|
|
69
|
-
readonly icon:
|
|
70
|
+
readonly icon: IconDefinition;
|
|
70
71
|
readonly label: "aaa auto diskont";
|
|
71
72
|
readonly class: "bg-[#E74011] text-on-primary";
|
|
72
73
|
};
|
|
73
74
|
readonly CZ_KuAut: {
|
|
74
|
-
readonly icon:
|
|
75
|
+
readonly icon: IconDefinition;
|
|
75
76
|
readonly label: "aaa auto";
|
|
76
77
|
readonly class: "bg-[#005CA9] text-on-primary";
|
|
77
78
|
};
|
|
78
79
|
readonly CZ_SP: {
|
|
79
|
-
readonly icon:
|
|
80
|
+
readonly icon: IconDefinition;
|
|
80
81
|
readonly label: "aaa auto";
|
|
81
82
|
readonly class: "bg-[#005CA9] text-on-primary";
|
|
82
83
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { type PassThroughOptions } from 'primevue/passthrough';
|
|
2
|
-
import type
|
|
3
|
-
import { type ToggleSwitchPassThroughOptions } from 'primevue/toggleswitch';
|
|
2
|
+
import { type ToggleSwitchProps } from 'primevue/toggleswitch';
|
|
4
3
|
type __VLS_Props = {
|
|
5
|
-
pt?:
|
|
4
|
+
pt?: ToggleSwitchProps['pt'];
|
|
6
5
|
ptOptions?: PassThroughOptions;
|
|
7
6
|
isDisabled?: boolean;
|
|
8
7
|
};
|
|
@@ -14,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
14
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
14
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
15
|
}>, {
|
|
17
|
-
pt: object | ToggleSwitchPassThroughOptions;
|
|
16
|
+
pt: object | import("primevue/toggleswitch").ToggleSwitchPassThroughOptions;
|
|
18
17
|
ptOptions: PassThroughOptions;
|
|
19
18
|
isDisabled: boolean;
|
|
20
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import { type TabViewPassThroughOptions } from 'primevue/tabview';
|
|
3
2
|
import { type PassThroughOptions } from 'primevue/passthrough';
|
|
4
|
-
import type { PassThrough } from '@primevue/core';
|
|
5
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
4
|
activeIndex: {
|
|
7
5
|
type: NumberConstructor;
|
|
@@ -29,7 +27,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
27
|
default: boolean;
|
|
30
28
|
};
|
|
31
29
|
pt: {
|
|
32
|
-
type:
|
|
30
|
+
type: ObjectConstructor;
|
|
33
31
|
required: false;
|
|
34
32
|
default: undefined;
|
|
35
33
|
};
|
|
@@ -70,7 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
70
68
|
default: boolean;
|
|
71
69
|
};
|
|
72
70
|
pt: {
|
|
73
|
-
type:
|
|
71
|
+
type: ObjectConstructor;
|
|
74
72
|
required: false;
|
|
75
73
|
default: undefined;
|
|
76
74
|
};
|
|
@@ -83,7 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
81
|
};
|
|
84
82
|
};
|
|
85
83
|
}>> & Readonly<{}>, {
|
|
86
|
-
pt:
|
|
84
|
+
pt: Record<string, any>;
|
|
87
85
|
ptOptions: PassThroughOptions;
|
|
88
86
|
tabindex: number;
|
|
89
87
|
activeIndex: number;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type TabPanelProps } from 'primevue/tabpanel';
|
|
2
2
|
import { type PassThroughOptions } from 'primevue/passthrough';
|
|
3
|
-
import type { PassThrough } from '@primevue/core';
|
|
4
3
|
export type UITabPanelProps = {
|
|
5
4
|
header?: string;
|
|
6
|
-
pt?:
|
|
5
|
+
pt?: TabPanelProps['pt'];
|
|
7
6
|
ptOptions?: PassThroughOptions;
|
|
8
7
|
};
|
|
9
8
|
export declare const UI_TAB_PANEL_DEFAULT_PROPS: {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ToggleButtonProps } from 'primevue/togglebutton';
|
|
2
2
|
import { type PassThroughOptions } from 'primevue/passthrough';
|
|
3
|
-
import type { PassThrough } from '@primevue/core';
|
|
4
3
|
import { type ToggleButtonSeverities } from './uiToggleButton.const';
|
|
5
4
|
type __VLS_Props = {
|
|
6
5
|
severity?: ToggleButtonSeverities;
|
|
7
6
|
onLabel?: string;
|
|
8
7
|
offLabel?: string;
|
|
9
|
-
pt?:
|
|
8
|
+
pt?: ToggleButtonProps['pt'];
|
|
10
9
|
ptOptions?: PassThroughOptions;
|
|
11
10
|
isDisabled?: boolean;
|
|
12
11
|
modelValue: boolean;
|
|
@@ -17,7 +16,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
16
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
18
17
|
}>, {
|
|
19
18
|
severity: ToggleButtonSeverities;
|
|
20
|
-
pt: object | ToggleButtonPassThroughOptions<any>;
|
|
19
|
+
pt: object | import("primevue/togglebutton").ToggleButtonPassThroughOptions<any>;
|
|
21
20
|
ptOptions: PassThroughOptions;
|
|
22
21
|
onLabel: string;
|
|
23
22
|
offLabel: string;
|
|
@@ -5511,6 +5511,7 @@ const au = R({
|
|
|
5511
5511
|
tabindex: { type: Number, required: !1, default: 0 },
|
|
5512
5512
|
selectOnFocus: { type: Boolean, required: !1, default: !1 },
|
|
5513
5513
|
pt: {
|
|
5514
|
+
// Issue with portable types, probably because TabViewProps is interface and types of "pt" are external
|
|
5514
5515
|
type: Object,
|
|
5515
5516
|
required: !1,
|
|
5516
5517
|
default: void 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aures5g/vue-component-library",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -25,27 +25,10 @@
|
|
|
25
25
|
"./tailwind/utilities.css": "./src/assets/utilities.css",
|
|
26
26
|
"./tailwind/components.css": "./src/assets/components.css"
|
|
27
27
|
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"dev": "vite",
|
|
30
|
-
"build": "vite build && vue-tsc --project tsconfig.typings.json",
|
|
31
|
-
"build:dry": "run-p type-check \"build-only {@}\" --",
|
|
32
|
-
"preview": "vite preview",
|
|
33
|
-
"test:unit": "vitest",
|
|
34
|
-
"build-only": "vite build",
|
|
35
|
-
"type-check": "vue-tsc --project tsconfig.typings.json",
|
|
36
|
-
"lint": "eslint . --fix",
|
|
37
|
-
"lint:check": "eslint .",
|
|
38
|
-
"format": "prettier --write .",
|
|
39
|
-
"format:check": "prettier --check .",
|
|
40
|
-
"storybook": "cross-env NODE_OPTIONS=--max-old-space-size=32768 storybook dev -p 6006",
|
|
41
|
-
"build-storybook": "cross-env NODE_OPTIONS=--max-old-space-size=32768 storybook build",
|
|
42
|
-
"check-version": "./check-version.sh",
|
|
43
|
-
"prepare": "patch-package"
|
|
44
|
-
},
|
|
45
28
|
"devDependencies": {
|
|
46
|
-
"@aures5g/style-guide": "^3.2.0",
|
|
47
29
|
"@awesome.me/kit-bccbe657bb": "^1.0.186",
|
|
48
30
|
"@chromatic-com/storybook": "^4.1.1",
|
|
31
|
+
"@fortawesome/fontawesome-common-types": "^7.1.0",
|
|
49
32
|
"@fortawesome/vue-fontawesome": "^3.0.8",
|
|
50
33
|
"@storybook/addon-docs": "^9.1.2",
|
|
51
34
|
"@storybook/addon-links": "^9.1.2",
|
|
@@ -68,7 +51,6 @@
|
|
|
68
51
|
"eslint-plugin-vue": "^10.3.0",
|
|
69
52
|
"jsdom": "^26.1.0",
|
|
70
53
|
"npm-run-all2": "^8.0.4",
|
|
71
|
-
"patch-package": "^8.0.0",
|
|
72
54
|
"prettier": "^3.6.2",
|
|
73
55
|
"primevue": "^4.3.6",
|
|
74
56
|
"storybook": "^9.1.2",
|
|
@@ -81,7 +63,8 @@
|
|
|
81
63
|
"vue": "^3.5.17",
|
|
82
64
|
"vue-router": "^4.5.1",
|
|
83
65
|
"vue-tippy": "6.3.1",
|
|
84
|
-
"vue-tsc": "^3.0.1"
|
|
66
|
+
"vue-tsc": "^3.0.1",
|
|
67
|
+
"@aures5g/style-guide": "^3.2.1"
|
|
85
68
|
},
|
|
86
69
|
"peerDependencies": {
|
|
87
70
|
"@awesome.me/kit-bccbe657bb": "^1.0.180",
|
|
@@ -111,5 +94,45 @@
|
|
|
111
94
|
"vue-tippy": {
|
|
112
95
|
"optional": true
|
|
113
96
|
}
|
|
97
|
+
},
|
|
98
|
+
"nx": {
|
|
99
|
+
"targets": {
|
|
100
|
+
"build": {
|
|
101
|
+
"dependsOn": [
|
|
102
|
+
"^build"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"build:dry": {
|
|
106
|
+
"dependsOn": [
|
|
107
|
+
"^build"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"storybook": {
|
|
111
|
+
"dependsOn": [
|
|
112
|
+
"^build"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"build-storybook": {
|
|
116
|
+
"dependsOn": [
|
|
117
|
+
"^build"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"scripts": {
|
|
123
|
+
"dev": "vite",
|
|
124
|
+
"build": "vite build && vue-tsc --project tsconfig.typings.json",
|
|
125
|
+
"build:dry": "run-p type-check \"build-only {@}\" --",
|
|
126
|
+
"preview": "vite preview",
|
|
127
|
+
"test:unit": "vitest",
|
|
128
|
+
"build-only": "vite build",
|
|
129
|
+
"type-check": "vue-tsc --project tsconfig.typings.json",
|
|
130
|
+
"lint": "eslint . --fix",
|
|
131
|
+
"lint:check": "eslint .",
|
|
132
|
+
"format": "prettier --write .",
|
|
133
|
+
"format:check": "prettier --check .",
|
|
134
|
+
"storybook": "cross-env NODE_OPTIONS=--max-old-space-size=32768 storybook dev -p 6006",
|
|
135
|
+
"build-storybook": "cross-env NODE_OPTIONS=--max-old-space-size=32768 storybook build",
|
|
136
|
+
"check-version": "./check-version.sh"
|
|
114
137
|
}
|
|
115
|
-
}
|
|
138
|
+
}
|