pangea-lib 2.11.69 → 2.11.71
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/main.cjs.js +25 -25
- package/dist/main.css +2 -2
- package/dist/main.es.js +23069 -23043
- package/dist/types/colors/colors.store.d.ts +3 -3
- package/dist/types/components/form/input/PgaInput.vue.d.ts +12 -12
- package/dist/types/components/{PgaSelector.vue.d.ts → form/input/PgaSwitchOptions.vue.d.ts} +27 -9
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/helpers/css.d.ts +1 -0
- package/dist/types/options/options.store.d.ts +30 -18
- package/dist/types/options/options.types.d.ts +5 -3
- package/package.json +1 -1
|
@@ -70,8 +70,8 @@ export declare const useColorsStore: import('pinia').StoreDefinition<"pga-colors
|
|
|
70
70
|
main: `#${string}`;
|
|
71
71
|
contrast: `#${string}`;
|
|
72
72
|
};
|
|
73
|
-
info: `#${string}`;
|
|
74
73
|
link: `#${string}`;
|
|
74
|
+
info: `#${string}`;
|
|
75
75
|
error: `#${string}`;
|
|
76
76
|
overlay: `#${string}`;
|
|
77
77
|
}>;
|
|
@@ -145,8 +145,8 @@ export declare const useColorsStore: import('pinia').StoreDefinition<"pga-colors
|
|
|
145
145
|
main: `#${string}`;
|
|
146
146
|
contrast: `#${string}`;
|
|
147
147
|
};
|
|
148
|
-
info: `#${string}`;
|
|
149
148
|
link: `#${string}`;
|
|
149
|
+
info: `#${string}`;
|
|
150
150
|
error: `#${string}`;
|
|
151
151
|
overlay: `#${string}`;
|
|
152
152
|
}>;
|
|
@@ -220,8 +220,8 @@ export declare const useColorsStore: import('pinia').StoreDefinition<"pga-colors
|
|
|
220
220
|
main: `#${string}`;
|
|
221
221
|
contrast: `#${string}`;
|
|
222
222
|
};
|
|
223
|
-
info: `#${string}`;
|
|
224
223
|
link: `#${string}`;
|
|
224
|
+
info: `#${string}`;
|
|
225
225
|
error: `#${string}`;
|
|
226
226
|
overlay: `#${string}`;
|
|
227
227
|
}>;
|
|
@@ -7,19 +7,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
7
7
|
required: true;
|
|
8
8
|
type: import('vue').PropType<ModelValue>;
|
|
9
9
|
};
|
|
10
|
+
label: {
|
|
11
|
+
type: import('vue').PropType<string>;
|
|
12
|
+
};
|
|
10
13
|
type: {
|
|
11
14
|
type: import('vue').PropType<PropsType>;
|
|
12
15
|
default: string;
|
|
13
16
|
};
|
|
14
|
-
label: {
|
|
15
|
-
type: import('vue').PropType<string>;
|
|
16
|
-
};
|
|
17
17
|
disabled: {
|
|
18
18
|
type: import('vue').PropType<boolean>;
|
|
19
19
|
};
|
|
20
|
-
placeholder: {
|
|
21
|
-
type: import('vue').PropType<string>;
|
|
22
|
-
};
|
|
23
20
|
errors: {
|
|
24
21
|
type: import('vue').PropType<InputError[]>;
|
|
25
22
|
};
|
|
@@ -29,24 +26,24 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
29
26
|
grow: {
|
|
30
27
|
type: import('vue').PropType<number>;
|
|
31
28
|
};
|
|
29
|
+
placeholder: {
|
|
30
|
+
type: import('vue').PropType<string>;
|
|
31
|
+
};
|
|
32
32
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
33
|
modelValue: {
|
|
34
34
|
required: true;
|
|
35
35
|
type: import('vue').PropType<ModelValue>;
|
|
36
36
|
};
|
|
37
|
+
label: {
|
|
38
|
+
type: import('vue').PropType<string>;
|
|
39
|
+
};
|
|
37
40
|
type: {
|
|
38
41
|
type: import('vue').PropType<PropsType>;
|
|
39
42
|
default: string;
|
|
40
43
|
};
|
|
41
|
-
label: {
|
|
42
|
-
type: import('vue').PropType<string>;
|
|
43
|
-
};
|
|
44
44
|
disabled: {
|
|
45
45
|
type: import('vue').PropType<boolean>;
|
|
46
46
|
};
|
|
47
|
-
placeholder: {
|
|
48
|
-
type: import('vue').PropType<string>;
|
|
49
|
-
};
|
|
50
47
|
errors: {
|
|
51
48
|
type: import('vue').PropType<InputError[]>;
|
|
52
49
|
};
|
|
@@ -56,6 +53,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
56
53
|
grow: {
|
|
57
54
|
type: import('vue').PropType<number>;
|
|
58
55
|
};
|
|
56
|
+
placeholder: {
|
|
57
|
+
type: import('vue').PropType<string>;
|
|
58
|
+
};
|
|
59
59
|
}>>, {
|
|
60
60
|
type: PropsType;
|
|
61
61
|
}, {}>, {
|
|
@@ -1,32 +1,50 @@
|
|
|
1
|
-
import { Id, TextProp } from '
|
|
1
|
+
import { Id, TextProp, InputError } from '../../../types';
|
|
2
2
|
|
|
3
3
|
type SelectorItem = {
|
|
4
4
|
id: Id;
|
|
5
5
|
label: TextProp;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import('vue').DefineComponent<{
|
|
8
|
-
|
|
8
|
+
modelValue: {
|
|
9
9
|
required: true;
|
|
10
10
|
type: import('vue').PropType<any>;
|
|
11
11
|
};
|
|
12
|
-
label: {
|
|
13
|
-
type: import('vue').PropType<TextProp>;
|
|
14
|
-
};
|
|
15
12
|
items: {
|
|
16
13
|
type: import('vue').PropType<SelectorItem[]>;
|
|
17
14
|
required: true;
|
|
18
15
|
};
|
|
16
|
+
label: {
|
|
17
|
+
type: import('vue').PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
withLabelSpace: {
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
errors: {
|
|
23
|
+
type: import('vue').PropType<InputError[]>;
|
|
24
|
+
};
|
|
25
|
+
grow: {
|
|
26
|
+
type: import('vue').PropType<number>;
|
|
27
|
+
};
|
|
19
28
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
-
|
|
29
|
+
modelValue: {
|
|
21
30
|
required: true;
|
|
22
31
|
type: import('vue').PropType<any>;
|
|
23
32
|
};
|
|
24
|
-
label: {
|
|
25
|
-
type: import('vue').PropType<TextProp>;
|
|
26
|
-
};
|
|
27
33
|
items: {
|
|
28
34
|
type: import('vue').PropType<SelectorItem[]>;
|
|
29
35
|
required: true;
|
|
30
36
|
};
|
|
37
|
+
label: {
|
|
38
|
+
type: import('vue').PropType<string>;
|
|
39
|
+
};
|
|
40
|
+
withLabelSpace: {
|
|
41
|
+
type: import('vue').PropType<boolean>;
|
|
42
|
+
};
|
|
43
|
+
errors: {
|
|
44
|
+
type: import('vue').PropType<InputError[]>;
|
|
45
|
+
};
|
|
46
|
+
grow: {
|
|
47
|
+
type: import('vue').PropType<number>;
|
|
48
|
+
};
|
|
31
49
|
}>>, {}, {}>;
|
|
32
50
|
export default _default;
|
|
@@ -4,7 +4,6 @@ export { default as PgaInfoCard } from './PgaInfoCard.vue';
|
|
|
4
4
|
export { default as PgaInfoCardFullPage } from './PgaInfoCardFullPage.vue';
|
|
5
5
|
export { default as PgaItemSelected } from './PgaItemSelected.vue';
|
|
6
6
|
export { default as PgaModal } from './PgaModal.vue';
|
|
7
|
-
export { default as PgaSelector } from './PgaSelector.vue';
|
|
8
7
|
export { default as PgaSpinner } from './PgaSpinner.vue';
|
|
9
8
|
export { default as PgaButton } from './button/PgaButton.vue';
|
|
10
9
|
export { default as PgaButtonLink } from './button/PgaButtonLink.vue';
|
|
@@ -21,4 +20,5 @@ export { default as PgaDatePicker } from './form/input/PgaDatePicker.vue';
|
|
|
21
20
|
export { default as PgaInput } from './form/input/PgaInput.vue';
|
|
22
21
|
export { default as PgaSelect } from './form/input/PgaSelect.vue';
|
|
23
22
|
export { default as PgaSwitch } from './form/input/PgaSwitch.vue';
|
|
23
|
+
export { default as PgaSwitchOptions } from './form/input/PgaSwitchOptions.vue';
|
|
24
24
|
export { default as PgaImage } from './image/PgaImage.vue';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ColorAlpha, ColorRgba, Color } from '../types/color';
|
|
2
2
|
|
|
3
|
+
export declare function setBodyOverflow(visible: boolean): void;
|
|
3
4
|
export declare function rgba(color: Color, colorAlpha: ColorAlpha): ColorRgba;
|
|
4
5
|
export declare function animation(element: string, animation: string, prefix?: string): Promise<unknown>;
|
|
@@ -11,12 +11,14 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
11
11
|
input: {
|
|
12
12
|
fontSize: import('../types').Size;
|
|
13
13
|
height: import('../types').Size;
|
|
14
|
+
borderRadius: import('../types').Size;
|
|
15
|
+
borderColor: string;
|
|
14
16
|
color: string;
|
|
17
|
+
colorFocus: string;
|
|
15
18
|
backgroundColor: string;
|
|
16
19
|
backgroundColorDisabled: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
borderRadius: import('../types').Size;
|
|
20
|
+
backgroundColorFocus: string;
|
|
21
|
+
backgroundColorHover: string;
|
|
20
22
|
};
|
|
21
23
|
};
|
|
22
24
|
image: {
|
|
@@ -34,12 +36,14 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
34
36
|
input: {
|
|
35
37
|
fontSize: import('../types').Size;
|
|
36
38
|
height: import('../types').Size;
|
|
39
|
+
borderRadius: import('../types').Size;
|
|
40
|
+
borderColor: string;
|
|
37
41
|
color: string;
|
|
42
|
+
colorFocus: string;
|
|
38
43
|
backgroundColor: string;
|
|
39
44
|
backgroundColorDisabled: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
borderRadius: import('../types').Size;
|
|
45
|
+
backgroundColorFocus: string;
|
|
46
|
+
backgroundColorHover: string;
|
|
43
47
|
};
|
|
44
48
|
}>;
|
|
45
49
|
imageOptions: import('vue').ComputedRef<{
|
|
@@ -58,12 +62,14 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
58
62
|
input: {
|
|
59
63
|
fontSize: import('../types').Size;
|
|
60
64
|
height: import('../types').Size;
|
|
65
|
+
borderRadius: import('../types').Size;
|
|
66
|
+
borderColor: string;
|
|
61
67
|
color: string;
|
|
68
|
+
colorFocus: string;
|
|
62
69
|
backgroundColor: string;
|
|
63
70
|
backgroundColorDisabled: string;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
borderRadius: import('../types').Size;
|
|
71
|
+
backgroundColorFocus: string;
|
|
72
|
+
backgroundColorHover: string;
|
|
67
73
|
};
|
|
68
74
|
};
|
|
69
75
|
image: {
|
|
@@ -81,12 +87,14 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
81
87
|
input: {
|
|
82
88
|
fontSize: import('../types').Size;
|
|
83
89
|
height: import('../types').Size;
|
|
90
|
+
borderRadius: import('../types').Size;
|
|
91
|
+
borderColor: string;
|
|
84
92
|
color: string;
|
|
93
|
+
colorFocus: string;
|
|
85
94
|
backgroundColor: string;
|
|
86
95
|
backgroundColorDisabled: string;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
borderRadius: import('../types').Size;
|
|
96
|
+
backgroundColorFocus: string;
|
|
97
|
+
backgroundColorHover: string;
|
|
90
98
|
};
|
|
91
99
|
}>;
|
|
92
100
|
imageOptions: import('vue').ComputedRef<{
|
|
@@ -105,12 +113,14 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
105
113
|
input: {
|
|
106
114
|
fontSize: import('../types').Size;
|
|
107
115
|
height: import('../types').Size;
|
|
116
|
+
borderRadius: import('../types').Size;
|
|
117
|
+
borderColor: string;
|
|
108
118
|
color: string;
|
|
119
|
+
colorFocus: string;
|
|
109
120
|
backgroundColor: string;
|
|
110
121
|
backgroundColorDisabled: string;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
borderRadius: import('../types').Size;
|
|
122
|
+
backgroundColorFocus: string;
|
|
123
|
+
backgroundColorHover: string;
|
|
114
124
|
};
|
|
115
125
|
};
|
|
116
126
|
image: {
|
|
@@ -128,12 +138,14 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
128
138
|
input: {
|
|
129
139
|
fontSize: import('../types').Size;
|
|
130
140
|
height: import('../types').Size;
|
|
141
|
+
borderRadius: import('../types').Size;
|
|
142
|
+
borderColor: string;
|
|
131
143
|
color: string;
|
|
144
|
+
colorFocus: string;
|
|
132
145
|
backgroundColor: string;
|
|
133
146
|
backgroundColorDisabled: string;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
borderRadius: import('../types').Size;
|
|
147
|
+
backgroundColorFocus: string;
|
|
148
|
+
backgroundColorHover: string;
|
|
137
149
|
};
|
|
138
150
|
}>;
|
|
139
151
|
imageOptions: import('vue').ComputedRef<{
|
|
@@ -15,12 +15,14 @@ export type OptionsStore = {
|
|
|
15
15
|
input: {
|
|
16
16
|
fontSize: Size;
|
|
17
17
|
height: Size;
|
|
18
|
+
borderRadius: Size;
|
|
19
|
+
borderColor: string;
|
|
18
20
|
color: string;
|
|
21
|
+
colorFocus: string;
|
|
19
22
|
backgroundColor: string;
|
|
20
23
|
backgroundColorDisabled: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
borderRadius: Size;
|
|
24
|
+
backgroundColorFocus: string;
|
|
25
|
+
backgroundColorHover: string;
|
|
24
26
|
};
|
|
25
27
|
};
|
|
26
28
|
image: {
|