@visitscotland/component-library 4.11.1 → 4.12.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/CHANGELOG.md +47 -10
- package/dist/client/manifest.json +202 -91
- package/dist/client/scripts/{fc611497322360797621.js → 005c44021982625bb7c0.js} +1 -1
- package/dist/client/scripts/00651c731db1ef87216d.js +1 -0
- package/dist/client/scripts/{25f42cec72efd1f27030.js → 187f48f7ed89388c22ee.js} +1 -1
- package/dist/client/scripts/{1a36b4136263bab2df9d.js → 1c793f94b5b5eebb96ae.js} +1 -1
- package/dist/client/scripts/{34ed79e8238d0bf3fc62.js → 2f332174174c32ab702d.js} +1 -1
- package/dist/client/scripts/{df1c31fbd441961a3f98.js → 36399268f1c86777b2ce.js} +1 -1
- package/dist/client/scripts/{753492316266cd4ddf6a.js → 37af489743a9197f73c5.js} +1 -1
- package/dist/client/scripts/{bef055047342a5728b4b.js → 39cc995d21686586f6fa.js} +1 -1
- package/dist/client/scripts/{9c03e2da038545efa1b4.js → 3bd8d4ba3d920bb1433d.js} +1 -1
- package/dist/client/scripts/{2477914832e75c7a98af.js → 3c5c5a8e0fc0e60266b6.js} +1 -1
- package/dist/client/scripts/{78a7d711dfa6d7e5e117.js → 4161157d09dfb043fede.js} +1 -1
- package/dist/client/scripts/41ce13cac3857a52a8e4.js +1 -0
- package/dist/client/scripts/{5122fd98cac3b9518f3f.js → 437ff926d713e601fab7.js} +1 -1
- package/dist/client/scripts/{20f693ecddfc90496f6a.js → 4c5055864f96ecc32cc7.js} +1 -1
- package/dist/client/scripts/{d5ee2a24ae0edc488b2d.js → 5dcf971e77fe98f4ff7c.js} +1 -1
- package/dist/client/scripts/{0f67b5eb07bd337752f2.js → 6e7520d815f5c8568575.js} +1 -1
- package/dist/client/scripts/79647a1c54f2601195b6.js +1 -0
- package/dist/client/scripts/{dc3f24502d7b9b1efc72.js → 7a0a47af01dc9555f5a5.js} +1 -1
- package/dist/client/scripts/837c541cd7af0ae0812e.js +1 -0
- package/dist/client/scripts/{4814cd011bbd0b5e3b9a.js → 90a8379b7c305c7d82d7.js} +1 -1
- package/dist/client/scripts/{392b742726ae953cecc1.js → 93c7da4477c0235064e1.js} +1 -1
- package/dist/client/scripts/97705088c5c09bbd893d.js +1 -0
- package/dist/client/scripts/{322ab2868109de391b17.js → 9aeea75098e9627f7c22.js} +1 -1
- package/dist/client/scripts/{39e54c41740b01bf6be8.js → a5ebc01b63f005414edb.js} +1 -1
- package/dist/client/scripts/{866c183151d202876582.js → a7eec1615b85cbbbe0ba.js} +1 -1
- package/dist/client/scripts/{dee3f365942bb3b36070.js → aa837d298afb1ff263dc.js} +1 -1
- package/dist/client/scripts/da98310b584fb18aebb0.js +1 -0
- package/dist/client/scripts/{0e50c2c3a74862e7449a.js → ebae7cda3ef35b5ef619.js} +1 -1
- package/dist/client/scripts/edfacb376b15dcbffd61.js +1 -0
- package/dist/client/scripts/{5f0b6647b3831883a22b.js → f7545efea2c0b0e1359c.js} +1 -1
- package/dist/client/scripts/{a6b893ae67cf6afb4ea2.js → f80b7d0372585c62fd5b.js} +1 -1
- package/dist/client/scripts/{b54fa069ff3253bcc94b.js → f872849c7ce918f02155.js} +1 -1
- package/dist/client/styles/41ce13cac3857a52a8e4.css +1 -0
- package/dist/client/styles/{9182f2de912fe63af3b6.css → 79647a1c54f2601195b6.css} +1 -1
- package/dist/client/styles/da98310b584fb18aebb0.css +1 -0
- package/dist/components/components/checkbox/Checkbox.vue.d.ts +36 -4
- package/dist/components/components/filter/VsFilter.vue.d.ts +19 -0
- package/dist/components/components/filter/components/VsFilterPanel.vue.d.ts +18 -0
- package/dist/components/components/filter/components/VsFilterSection.vue.d.ts +16 -0
- package/dist/components/components/filter/index.d.ts +130 -0
- package/dist/components/components/form/Form.vue.d.ts +16 -1
- package/dist/components/components/index.d.ts +3 -0
- package/dist/components/vs-component-library.css +1 -1
- package/dist/components/vs-component-library.js +33 -33
- package/dist/components/vs-component-library.mjs +1237 -1048
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{a777793af6f1fc3ea4f1.css → bd364c2aa8921fee5b64.css} +4 -2
- package/package.json +1 -1
- package/dist/client/scripts/653c4d8f9a4977eb6f7c.js +0 -1
- package/dist/client/scripts/82bedcc106fae3f6d7ae.js +0 -1
- package/dist/client/scripts/9182f2de912fe63af3b6.js +0 -1
- /package/dist/client/styles/{fc611497322360797621.css → 005c44021982625bb7c0.css} +0 -0
- /package/dist/client/styles/{82bedcc106fae3f6d7ae.css → 00651c731db1ef87216d.css} +0 -0
- /package/dist/client/styles/{25f42cec72efd1f27030.css → 187f48f7ed89388c22ee.css} +0 -0
- /package/dist/client/styles/{34ed79e8238d0bf3fc62.css → 2f332174174c32ab702d.css} +0 -0
- /package/dist/client/styles/{df1c31fbd441961a3f98.css → 36399268f1c86777b2ce.css} +0 -0
- /package/dist/client/styles/{753492316266cd4ddf6a.css → 37af489743a9197f73c5.css} +0 -0
- /package/dist/client/styles/{bef055047342a5728b4b.css → 39cc995d21686586f6fa.css} +0 -0
- /package/dist/client/styles/{2477914832e75c7a98af.css → 3c5c5a8e0fc0e60266b6.css} +0 -0
- /package/dist/client/styles/{5122fd98cac3b9518f3f.css → 437ff926d713e601fab7.css} +0 -0
- /package/dist/client/styles/{20f693ecddfc90496f6a.css → 4c5055864f96ecc32cc7.css} +0 -0
- /package/dist/client/styles/{d5ee2a24ae0edc488b2d.css → 5dcf971e77fe98f4ff7c.css} +0 -0
- /package/dist/client/styles/{0f67b5eb07bd337752f2.css → 6e7520d815f5c8568575.css} +0 -0
- /package/dist/client/styles/{dc3f24502d7b9b1efc72.css → 7a0a47af01dc9555f5a5.css} +0 -0
- /package/dist/client/styles/{4814cd011bbd0b5e3b9a.css → 90a8379b7c305c7d82d7.css} +0 -0
- /package/dist/client/styles/{392b742726ae953cecc1.css → 93c7da4477c0235064e1.css} +0 -0
- /package/dist/client/styles/{653c4d8f9a4977eb6f7c.css → 97705088c5c09bbd893d.css} +0 -0
- /package/dist/client/styles/{322ab2868109de391b17.css → 9aeea75098e9627f7c22.css} +0 -0
- /package/dist/client/styles/{39e54c41740b01bf6be8.css → a5ebc01b63f005414edb.css} +0 -0
- /package/dist/client/styles/{866c183151d202876582.css → a7eec1615b85cbbbe0ba.css} +0 -0
- /package/dist/client/styles/{dee3f365942bb3b36070.css → aa837d298afb1ff263dc.css} +0 -0
- /package/dist/client/styles/{0e50c2c3a74862e7449a.css → ebae7cda3ef35b5ef619.css} +0 -0
- /package/dist/client/styles/{5f0b6647b3831883a22b.css → f7545efea2c0b0e1359c.css} +0 -0
- /package/dist/client/styles/{a6b893ae67cf6afb4ea2.css → f80b7d0372585c62fd5b.css} +0 -0
- /package/dist/client/styles/{b54fa069ff3253bcc94b.css → f872849c7ce918f02155.css} +0 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
VsFilter: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
4
|
+
applyButtonText: string;
|
|
5
|
+
filterButtonText: string;
|
|
6
|
+
filterId: string;
|
|
7
|
+
$props: {
|
|
8
|
+
readonly applyButtonText?: string;
|
|
9
|
+
readonly filterButtonText?: string;
|
|
10
|
+
readonly filterId?: string;
|
|
11
|
+
};
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
13
|
+
P: {};
|
|
14
|
+
B: {};
|
|
15
|
+
D: {};
|
|
16
|
+
C: {};
|
|
17
|
+
M: {};
|
|
18
|
+
Defaults: {};
|
|
19
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
20
|
+
applyButtonText: string;
|
|
21
|
+
filterButtonText: string;
|
|
22
|
+
filterId: string;
|
|
23
|
+
$props: {
|
|
24
|
+
readonly applyButtonText?: string;
|
|
25
|
+
readonly filterButtonText?: string;
|
|
26
|
+
readonly filterId?: string;
|
|
27
|
+
};
|
|
28
|
+
}, {}, {}, {}, {}>;
|
|
29
|
+
__isFragment?: never;
|
|
30
|
+
__isTeleport?: never;
|
|
31
|
+
__isSuspense?: never;
|
|
32
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
33
|
+
applyButtonText: string;
|
|
34
|
+
filterButtonText: string;
|
|
35
|
+
filterId: string;
|
|
36
|
+
$props: {
|
|
37
|
+
readonly applyButtonText?: string;
|
|
38
|
+
readonly filterButtonText?: string;
|
|
39
|
+
readonly filterId?: string;
|
|
40
|
+
};
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
42
|
+
$slots: {
|
|
43
|
+
default?(_: {}): any;
|
|
44
|
+
"no-js"?(_: {}): any;
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
VsFilterPanel: {
|
|
48
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
49
|
+
clearFilter: (inputField: any) => void;
|
|
50
|
+
resetAll: () => void;
|
|
51
|
+
resetOne: (filterId: any) => void;
|
|
52
|
+
$emit: (event: "filter-updated", ...args: any[]) => void;
|
|
53
|
+
filterLabel: string;
|
|
54
|
+
$props: {
|
|
55
|
+
readonly filterLabel?: string;
|
|
56
|
+
};
|
|
57
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
58
|
+
P: {};
|
|
59
|
+
B: {};
|
|
60
|
+
D: {};
|
|
61
|
+
C: {};
|
|
62
|
+
M: {};
|
|
63
|
+
Defaults: {};
|
|
64
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
65
|
+
clearFilter: (inputField: any) => void;
|
|
66
|
+
resetAll: () => void;
|
|
67
|
+
resetOne: (filterId: any) => void;
|
|
68
|
+
$emit: (event: "filter-updated", ...args: any[]) => void;
|
|
69
|
+
filterLabel: string;
|
|
70
|
+
$props: {
|
|
71
|
+
readonly filterLabel?: string;
|
|
72
|
+
};
|
|
73
|
+
}, {}, {}, {}, {}>;
|
|
74
|
+
__isFragment?: never;
|
|
75
|
+
__isTeleport?: never;
|
|
76
|
+
__isSuspense?: never;
|
|
77
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
78
|
+
clearFilter: (inputField: any) => void;
|
|
79
|
+
resetAll: () => void;
|
|
80
|
+
resetOne: (filterId: any) => void;
|
|
81
|
+
$emit: (event: "filter-updated", ...args: any[]) => void;
|
|
82
|
+
filterLabel: string;
|
|
83
|
+
$props: {
|
|
84
|
+
readonly filterLabel?: string;
|
|
85
|
+
};
|
|
86
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
87
|
+
$slots: {
|
|
88
|
+
default?(_: {}): any;
|
|
89
|
+
};
|
|
90
|
+
});
|
|
91
|
+
VsFilterSection: {
|
|
92
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
93
|
+
type: string;
|
|
94
|
+
sectionTitle?: string;
|
|
95
|
+
$props: {
|
|
96
|
+
readonly type?: string;
|
|
97
|
+
readonly sectionTitle?: string;
|
|
98
|
+
};
|
|
99
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
100
|
+
P: {};
|
|
101
|
+
B: {};
|
|
102
|
+
D: {};
|
|
103
|
+
C: {};
|
|
104
|
+
M: {};
|
|
105
|
+
Defaults: {};
|
|
106
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
107
|
+
type: string;
|
|
108
|
+
sectionTitle?: string;
|
|
109
|
+
$props: {
|
|
110
|
+
readonly type?: string;
|
|
111
|
+
readonly sectionTitle?: string;
|
|
112
|
+
};
|
|
113
|
+
}, {}, {}, {}, {}>;
|
|
114
|
+
__isFragment?: never;
|
|
115
|
+
__isTeleport?: never;
|
|
116
|
+
__isSuspense?: never;
|
|
117
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
118
|
+
type: string;
|
|
119
|
+
sectionTitle?: string;
|
|
120
|
+
$props: {
|
|
121
|
+
readonly type?: string;
|
|
122
|
+
readonly sectionTitle?: string;
|
|
123
|
+
};
|
|
124
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
125
|
+
$slots: {
|
|
126
|
+
default?(_: {}): any;
|
|
127
|
+
};
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
export default _default;
|
|
@@ -1812,13 +1812,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1812
1812
|
type: BooleanConstructor;
|
|
1813
1813
|
default: boolean;
|
|
1814
1814
|
};
|
|
1815
|
+
size: {
|
|
1816
|
+
type: StringConstructor;
|
|
1817
|
+
default: any;
|
|
1818
|
+
validator: (value: unknown) => any;
|
|
1819
|
+
};
|
|
1815
1820
|
}>, {
|
|
1816
1821
|
v$: import('vue').Ref<import('@vuelidate/core').Validation<import('@vuelidate/core').ValidationArgs<unknown>, unknown>, import('@vuelidate/core').Validation<import('@vuelidate/core').ValidationArgs<unknown>, unknown>>;
|
|
1817
1822
|
}, {
|
|
1818
1823
|
inputVal: string;
|
|
1819
1824
|
errors: any[];
|
|
1820
1825
|
}, {
|
|
1821
|
-
|
|
1826
|
+
checkBoxClasses(): {
|
|
1827
|
+
'vs-checkbox': boolean;
|
|
1828
|
+
'vs-checkbox--error': any;
|
|
1829
|
+
'vs-checkbox--small': boolean;
|
|
1830
|
+
};
|
|
1822
1831
|
}, {}, {
|
|
1823
1832
|
data(): {
|
|
1824
1833
|
inputVal: any;
|
|
@@ -1889,8 +1898,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1889
1898
|
type: BooleanConstructor;
|
|
1890
1899
|
default: boolean;
|
|
1891
1900
|
};
|
|
1901
|
+
size: {
|
|
1902
|
+
type: StringConstructor;
|
|
1903
|
+
default: any;
|
|
1904
|
+
validator: (value: unknown) => any;
|
|
1905
|
+
};
|
|
1892
1906
|
}>> & Readonly<{}>, {
|
|
1893
1907
|
value: string;
|
|
1908
|
+
size: string;
|
|
1894
1909
|
invalid: boolean;
|
|
1895
1910
|
validationRules: Record<string, any>;
|
|
1896
1911
|
triggerValidate: boolean;
|
|
@@ -27,6 +27,9 @@ export { default as VsDropdown } from './dropdown/Dropdown.vue';
|
|
|
27
27
|
export { default as VsDropdownItem } from './dropdown/components/DropdownItem.vue';
|
|
28
28
|
export { default as VsEmbedWrapper } from './embed-wrapper/EmbedWrapper.vue';
|
|
29
29
|
export { default as VsEventCard } from './event-card/EventCard.vue';
|
|
30
|
+
export { default as VsFilter } from './filter/VsFilter.vue';
|
|
31
|
+
export { default as VsFilterPanel } from './filter/components/VsFilterPanel.vue';
|
|
32
|
+
export { default as VsFilterSection } from './filter/components/VsFilterSection.vue';
|
|
30
33
|
export { default as VsFooter } from './footer/Footer.vue';
|
|
31
34
|
export { default as VsFooterAccordionItem } from './footer/components/FooterAccordionItem.vue';
|
|
32
35
|
export { default as VsFooterNavListItem } from './footer/components/FooterNavListItem.vue';
|