@searchcraft/vue-sdk 0.7.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/README.md +27 -0
- package/dist/components/SearchcraftBaseSearchResult.vue.d.ts +137 -0
- package/dist/components/SearchcraftBaseSearchResults.vue.d.ts +35 -0
- package/dist/components/SearchcraftButton.vue.d.ts +18 -0
- package/dist/components/SearchcraftErrorMessage.vue.d.ts +10 -0
- package/dist/components/SearchcraftFacetList.vue.d.ts +18 -0
- package/dist/components/SearchcraftFilterPanel.vue.d.ts +16 -0
- package/dist/components/SearchcraftInputForm.vue.d.ts +96 -0
- package/dist/components/SearchcraftInputLabel.vue.d.ts +24 -0
- package/dist/components/SearchcraftPopoverButton.vue.d.ts +6 -0
- package/dist/components/SearchcraftPopoverForm.vue.d.ts +48 -0
- package/dist/components/SearchcraftResultsInfo.vue.d.ts +6 -0
- package/dist/components/SearchcraftSlider.vue.d.ts +42 -0
- package/dist/components/SearchcraftToggleButton.vue.d.ts +26 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +1232 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/plugin.d.ts +2 -0
- package/dist/stencil-web-components.d.ts +16 -0
- package/package.json +58 -0
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Searchcraft Vue SDK
|
|
2
|
+
|
|
3
|
+
## Type Support for `.vue` Imports in TS
|
|
4
|
+
|
|
5
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
6
|
+
|
|
7
|
+
## Customize configuration
|
|
8
|
+
|
|
9
|
+
See [Vite Configuration Reference](https://vite.dev/config/).
|
|
10
|
+
|
|
11
|
+
## Project Setup
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
yarn
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Compile and Hot-Reload for Development
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
yarn dev
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Type-Check, Compile and Minify for Production
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
yarn build
|
|
27
|
+
```
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
import { PropType } from '../../vue';
|
|
3
|
+
export type SearchcraftBaseSearchResultProps = Components.SearchcraftBaseSearchResult;
|
|
4
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
5
|
+
titleContent: {
|
|
6
|
+
type: PropType<string>;
|
|
7
|
+
required: false;
|
|
8
|
+
};
|
|
9
|
+
subtitleContent: {
|
|
10
|
+
type: PropType<string>;
|
|
11
|
+
required: false;
|
|
12
|
+
};
|
|
13
|
+
bodyContent: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
footerContent: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
buttonLabel: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
buttonHref: {
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
buttonTarget: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
buttonRel: {
|
|
34
|
+
type: PropType<string>;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
containerHref: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
containerTarget: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
containerRel: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
imageSrc: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
imageAlt: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
imagePlacement: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
required: false;
|
|
60
|
+
};
|
|
61
|
+
customStyles: {
|
|
62
|
+
type: PropType<Record<string, string>>;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
documentPosition: {
|
|
66
|
+
type: PropType<number>;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
70
|
+
titleContent: {
|
|
71
|
+
type: PropType<string>;
|
|
72
|
+
required: false;
|
|
73
|
+
};
|
|
74
|
+
subtitleContent: {
|
|
75
|
+
type: PropType<string>;
|
|
76
|
+
required: false;
|
|
77
|
+
};
|
|
78
|
+
bodyContent: {
|
|
79
|
+
type: PropType<string>;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
82
|
+
footerContent: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
required: false;
|
|
85
|
+
};
|
|
86
|
+
buttonLabel: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
buttonHref: {
|
|
91
|
+
type: PropType<string>;
|
|
92
|
+
required: false;
|
|
93
|
+
};
|
|
94
|
+
buttonTarget: {
|
|
95
|
+
type: PropType<string>;
|
|
96
|
+
required: false;
|
|
97
|
+
};
|
|
98
|
+
buttonRel: {
|
|
99
|
+
type: PropType<string>;
|
|
100
|
+
required: false;
|
|
101
|
+
};
|
|
102
|
+
containerHref: {
|
|
103
|
+
type: PropType<string>;
|
|
104
|
+
required: false;
|
|
105
|
+
};
|
|
106
|
+
containerTarget: {
|
|
107
|
+
type: PropType<string>;
|
|
108
|
+
required: false;
|
|
109
|
+
};
|
|
110
|
+
containerRel: {
|
|
111
|
+
type: PropType<string>;
|
|
112
|
+
required: false;
|
|
113
|
+
};
|
|
114
|
+
imageSrc: {
|
|
115
|
+
type: PropType<string>;
|
|
116
|
+
required: false;
|
|
117
|
+
};
|
|
118
|
+
imageAlt: {
|
|
119
|
+
type: PropType<string>;
|
|
120
|
+
required: false;
|
|
121
|
+
};
|
|
122
|
+
imagePlacement: {
|
|
123
|
+
type: PropType<string>;
|
|
124
|
+
required: false;
|
|
125
|
+
};
|
|
126
|
+
customStyles: {
|
|
127
|
+
type: PropType<Record<string, string>>;
|
|
128
|
+
required: false;
|
|
129
|
+
};
|
|
130
|
+
documentPosition: {
|
|
131
|
+
type: PropType<number>;
|
|
132
|
+
required: false;
|
|
133
|
+
};
|
|
134
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
135
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftBaseSearchResult & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftBaseSearchResult & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
136
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
137
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftBaseSearchResultsProps = Components.SearchcraftBaseSearchResults;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
adInterval: NumberConstructor;
|
|
5
|
+
customStylesForResults: ObjectConstructor;
|
|
6
|
+
searchResultMappings: ObjectConstructor;
|
|
7
|
+
placeAdAtEnd: BooleanConstructor;
|
|
8
|
+
placeAdAtStart: BooleanConstructor;
|
|
9
|
+
resultImagePlacement: StringConstructor;
|
|
10
|
+
buttonLabel: StringConstructor;
|
|
11
|
+
buttonTarget: StringConstructor;
|
|
12
|
+
buttonRel: StringConstructor;
|
|
13
|
+
containerTarget: StringConstructor;
|
|
14
|
+
containerRel: StringConstructor;
|
|
15
|
+
noResults: StringConstructor;
|
|
16
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
17
|
+
adInterval: NumberConstructor;
|
|
18
|
+
customStylesForResults: ObjectConstructor;
|
|
19
|
+
searchResultMappings: ObjectConstructor;
|
|
20
|
+
placeAdAtEnd: BooleanConstructor;
|
|
21
|
+
placeAdAtStart: BooleanConstructor;
|
|
22
|
+
resultImagePlacement: StringConstructor;
|
|
23
|
+
buttonLabel: StringConstructor;
|
|
24
|
+
buttonTarget: StringConstructor;
|
|
25
|
+
buttonRel: StringConstructor;
|
|
26
|
+
containerTarget: StringConstructor;
|
|
27
|
+
containerRel: StringConstructor;
|
|
28
|
+
noResults: StringConstructor;
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
placeAdAtEnd: boolean;
|
|
31
|
+
placeAdAtStart: boolean;
|
|
32
|
+
}, {}, {
|
|
33
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftBaseSearchResults & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftBaseSearchResults & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
34
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftButtonProps = Components.SearchcraftButton;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
text: StringConstructor;
|
|
5
|
+
disabled: BooleanConstructor;
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
onClick: FunctionConstructor;
|
|
8
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
9
|
+
text: StringConstructor;
|
|
10
|
+
disabled: BooleanConstructor;
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
onClick: FunctionConstructor;
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}, {}, {
|
|
16
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftButton & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftButton & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
17
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftErrorMessageProps = Components.SearchcraftErrorMessage;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
errorMessage: StringConstructor;
|
|
5
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
6
|
+
errorMessage: StringConstructor;
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
8
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftErrorMessage & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftErrorMessage & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
9
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftFacetListProps = Components.SearchcraftFacetList;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
fieldName: {
|
|
5
|
+
type: () => Components.SearchcraftFacetList["fieldName"];
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, "facetSelectionUpdated"[], "facetSelectionUpdated", import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
9
|
+
fieldName: {
|
|
10
|
+
type: () => Components.SearchcraftFacetList["fieldName"];
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onFacetSelectionUpdated?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {
|
|
16
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftFacetList & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftFacetList & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
17
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftFilterPanelProps = Components.SearchcraftFilterPanel;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
items: {
|
|
5
|
+
type: () => Components.SearchcraftFilterPanel["items"];
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
9
|
+
items: {
|
|
10
|
+
type: () => Components.SearchcraftFilterPanel["items"];
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
14
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftFilterPanel & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftFilterPanel & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
15
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
import { PropType } from '../../vue';
|
|
3
|
+
export type SearchcraftInputFormProps = Components.SearchcraftInputForm;
|
|
4
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
5
|
+
config: {
|
|
6
|
+
type: PropType<Record<string, unknown>>;
|
|
7
|
+
required: false;
|
|
8
|
+
};
|
|
9
|
+
autoSearch: {
|
|
10
|
+
type: PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
buttonPlacement: {
|
|
14
|
+
type: PropType<"left" | "right">;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
buttonLabel: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
inputLabel: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
customStyles: {
|
|
26
|
+
type: PropType<Record<string, string>>;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
|
+
placeholderValue: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
searchTerm: {
|
|
34
|
+
type: PropType<string>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
debounceDelay: {
|
|
38
|
+
type: PropType<number>;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, ("inputCleared" | "noResultsReceived" | "inputFocus" | "inputBlur" | "querySubmit")[], "inputCleared" | "noResultsReceived" | "inputFocus" | "inputBlur" | "querySubmit", import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
42
|
+
config: {
|
|
43
|
+
type: PropType<Record<string, unknown>>;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
autoSearch: {
|
|
47
|
+
type: PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
buttonPlacement: {
|
|
51
|
+
type: PropType<"left" | "right">;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
buttonLabel: {
|
|
55
|
+
type: PropType<string>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
inputLabel: {
|
|
59
|
+
type: PropType<string>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
customStyles: {
|
|
63
|
+
type: PropType<Record<string, string>>;
|
|
64
|
+
default: () => {};
|
|
65
|
+
};
|
|
66
|
+
placeholderValue: {
|
|
67
|
+
type: PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
searchTerm: {
|
|
71
|
+
type: PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
debounceDelay: {
|
|
75
|
+
type: PropType<number>;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{
|
|
79
|
+
onInputCleared?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
onNoResultsReceived?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
onInputFocus?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onInputBlur?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
onQuerySubmit?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}>, {
|
|
85
|
+
buttonLabel: string;
|
|
86
|
+
customStyles: Record<string, string>;
|
|
87
|
+
autoSearch: boolean;
|
|
88
|
+
buttonPlacement: "left" | "right";
|
|
89
|
+
inputLabel: string;
|
|
90
|
+
placeholderValue: string;
|
|
91
|
+
searchTerm: string;
|
|
92
|
+
debounceDelay: number;
|
|
93
|
+
}, {}, {
|
|
94
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftInputForm & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftInputForm & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
95
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
96
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftInputLabelProps = Components.SearchcraftInputLabel;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
inputLabelClassName: {
|
|
5
|
+
type: () => Components.SearchcraftInputLabel["inputLabelClassName"];
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
label: {
|
|
9
|
+
type: () => Components.SearchcraftInputLabel["label"];
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
13
|
+
inputLabelClassName: {
|
|
14
|
+
type: () => Components.SearchcraftInputLabel["inputLabelClassName"];
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: () => Components.SearchcraftInputLabel["label"];
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
22
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftInputLabel & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftInputLabel & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
23
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftPopoverButtonProps = Components.SearchcraftPopoverButton;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<{}, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
4
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftPopoverButton & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftPopoverButton & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
5
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftPopoverFormProps = Components.SearchcraftPopoverForm;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: () => SearchcraftPopoverFormProps["type"];
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
hotkey: {
|
|
9
|
+
type: () => SearchcraftPopoverFormProps["hotkey"];
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
hotkeyModifier: {
|
|
13
|
+
type: () => SearchcraftPopoverFormProps["hotkeyModifier"];
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
config: {
|
|
17
|
+
type: () => SearchcraftPopoverFormProps["config"];
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
popoverResultMappings: {
|
|
21
|
+
type: () => SearchcraftPopoverFormProps["popoverResultMappings"];
|
|
22
|
+
required: false;
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
25
|
+
type: {
|
|
26
|
+
type: () => SearchcraftPopoverFormProps["type"];
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
hotkey: {
|
|
30
|
+
type: () => SearchcraftPopoverFormProps["hotkey"];
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
hotkeyModifier: {
|
|
34
|
+
type: () => SearchcraftPopoverFormProps["hotkeyModifier"];
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
config: {
|
|
38
|
+
type: () => SearchcraftPopoverFormProps["config"];
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
popoverResultMappings: {
|
|
42
|
+
type: () => SearchcraftPopoverFormProps["popoverResultMappings"];
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
46
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftPopoverForm & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftPopoverForm & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
47
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftResultsInfoProps = Components.SearchcraftResultsInfo;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<{}, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
4
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftResultsInfo & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftResultsInfo & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
5
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftSliderProps = Components.SearchcraftSlider;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
max: {
|
|
5
|
+
type: () => Components.SearchcraftSlider["max"];
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
min: {
|
|
9
|
+
type: () => Components.SearchcraftSlider["min"];
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
granularity: {
|
|
13
|
+
type: () => Components.SearchcraftSlider["granularity"];
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
dataType: {
|
|
17
|
+
type: () => Components.SearchcraftSlider["dataType"];
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, "rangeChanged"[], "rangeChanged", import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
21
|
+
max: {
|
|
22
|
+
type: () => Components.SearchcraftSlider["max"];
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
min: {
|
|
26
|
+
type: () => Components.SearchcraftSlider["min"];
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
granularity: {
|
|
30
|
+
type: () => Components.SearchcraftSlider["granularity"];
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
dataType: {
|
|
34
|
+
type: () => Components.SearchcraftSlider["dataType"];
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{
|
|
38
|
+
onRangeChanged?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {
|
|
40
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftSlider & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftSlider & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
41
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
export type SearchcraftToggleButtonProps = Components.SearchcraftToggleButton;
|
|
3
|
+
declare const _default: import('../../vue').DefineComponent<import('../../vue').ExtractPropTypes<{
|
|
4
|
+
label: {
|
|
5
|
+
type: () => Components.SearchcraftToggleButton["label"];
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
subLabel: {
|
|
9
|
+
type: () => Components.SearchcraftToggleButton["subLabel"];
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, "toggleUpdated"[], "toggleUpdated", import('../../vue').PublicProps, Readonly<import('../../vue').ExtractPropTypes<{
|
|
13
|
+
label: {
|
|
14
|
+
type: () => Components.SearchcraftToggleButton["label"];
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
subLabel: {
|
|
18
|
+
type: () => Components.SearchcraftToggleButton["subLabel"];
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onToggleUpdated?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {
|
|
24
|
+
Component: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftToggleButton & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftToggleButton & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
25
|
+
}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as SearchcraftButton } from './SearchcraftButton.vue';
|
|
2
|
+
export { default as SearchcraftBaseSearchResult } from './SearchcraftBaseSearchResult.vue';
|
|
3
|
+
export { default as SearchcraftBaseSearchResults } from './SearchcraftBaseSearchResults.vue';
|
|
4
|
+
export { default as SearchcraftErrorMessage } from './SearchcraftErrorMessage.vue';
|
|
5
|
+
export { default as SearchcraftFacetList } from './SearchcraftFacetList.vue';
|
|
6
|
+
export { default as SearchcraftFilterPanel } from './SearchcraftFilterPanel.vue';
|
|
7
|
+
export { default as SearchcraftInputForm } from './SearchcraftInputForm.vue';
|
|
8
|
+
export { default as SearchcraftInputLabel } from './SearchcraftInputLabel.vue';
|
|
9
|
+
export { default as SearchcraftPopoverButton } from './SearchcraftPopoverButton.vue';
|
|
10
|
+
export { default as SearchcraftPopoverForm } from './SearchcraftPopoverForm.vue';
|
|
11
|
+
export { default as SearchcraftSlider } from './SearchcraftSlider.vue';
|
|
12
|
+
export { default as SearchcraftResultsInfo } from './SearchcraftResultsInfo.vue';
|
|
13
|
+
export { default as SearchcraftToggleButton } from './SearchcraftToggleButton.vue';
|