@searchcraft/vue-sdk 0.7.2 → 0.8.1
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/components/SearchcraftBaseSearchResults.d.ts +26 -1
- package/dist/components/SearchcraftBaseSearchResults.d.ts.map +1 -1
- package/dist/components/SearchcraftFilterPanel.d.ts +13 -1
- package/dist/components/SearchcraftFilterPanel.d.ts.map +1 -1
- package/dist/components/SearchcraftInputForm.d.ts +34 -1
- package/dist/components/SearchcraftInputForm.d.ts.map +1 -1
- package/dist/components/SearchcraftPagination.d.ts +24 -0
- package/dist/components/SearchcraftPagination.d.ts.map +1 -0
- package/dist/components/SearchcraftPopoverButton.d.ts +14 -1
- package/dist/components/SearchcraftPopoverButton.d.ts.map +1 -1
- package/dist/components/SearchcraftPopoverForm.d.ts +21 -1
- package/dist/components/SearchcraftPopoverForm.d.ts.map +1 -1
- package/dist/components/SearchcraftResultsInfo.d.ts +15 -1
- package/dist/components/SearchcraftResultsInfo.d.ts.map +1 -1
- package/dist/components/SearchcraftSearchResultsPerPage.d.ts +23 -0
- package/dist/components/SearchcraftSearchResultsPerPage.d.ts.map +1 -0
- package/dist/components/SearchcraftSelect.d.ts +25 -0
- package/dist/components/SearchcraftSelect.d.ts.map +1 -0
- package/dist/components/SearchcraftTheme.d.ts +13 -1
- package/dist/components/SearchcraftTheme.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.es.js +349 -339
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/stencil-web-components.d.ts +5 -0
- package/dist/stencil-web-components.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -5,7 +5,32 @@ import { Components } from '@searchcraft/javascript-sdk';
|
|
|
5
5
|
interface SearchcraftBaseSearchResultsProps extends Components.SearchcraftBaseSearchResults {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A component that renders a list of search results with customizable styles, layout, and link behavior.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup>
|
|
13
|
+
* import SearchcraftBaseSearchResults from '@searchcraft/vue-sdk';
|
|
14
|
+
* import searchResultMappings from './searchResultMappings';
|
|
15
|
+
*
|
|
16
|
+
* const handleNoResults = () => {
|
|
17
|
+
* console.log("No search results found");
|
|
18
|
+
* };
|
|
19
|
+
* </script>
|
|
20
|
+
*
|
|
21
|
+
* <template>
|
|
22
|
+
* <SearchcraftBaseSearchResults
|
|
23
|
+
* :searchResultMappings="searchResultMappings"
|
|
24
|
+
* resultImagePlacement="left"
|
|
25
|
+
* buttonLabel="View More"
|
|
26
|
+
* buttonTarget="_blank"
|
|
27
|
+
* buttonRel="noopener"
|
|
28
|
+
* containerTarget="_self"
|
|
29
|
+
* containerRel="nofollow"
|
|
30
|
+
* @noResults="handleNoResults"
|
|
31
|
+
* />
|
|
32
|
+
* </template>
|
|
33
|
+
* ```
|
|
9
34
|
*/
|
|
10
35
|
declare const SearchcraftBaseSearchResults: 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>;
|
|
11
36
|
export { SearchcraftBaseSearchResults };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchcraftBaseSearchResults.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftBaseSearchResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,UAAU,iCACR,SAAQ,UAAU,CAAC,4BAA4B;CAAG;AAEpD
|
|
1
|
+
{"version":3,"file":"SearchcraftBaseSearchResults.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftBaseSearchResults.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,UAAU,iCACR,SAAQ,UAAU,CAAC,4BAA4B;CAAG;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,QAAA,MAAM,4BAA4B,mYAAY,CAAC;AAE/C,OAAO,EAAE,4BAA4B,EAAE,CAAC;AAExC,YAAY,EAAE,iCAAiC,EAAE,CAAC"}
|
|
@@ -5,7 +5,19 @@ import { Components } from '@searchcraft/javascript-sdk';
|
|
|
5
5
|
interface SearchcraftFilterPanelProps extends Components.SearchcraftFilterPanel {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A component that represents a filter panel UI view, allowing users to refine and control their search queries by applying various filter criteria.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup>
|
|
13
|
+
* import SearchcraftFilterPanel from '@my-library/vue';
|
|
14
|
+
* import filterItems from './filterItems';
|
|
15
|
+
* </script>
|
|
16
|
+
*
|
|
17
|
+
* <template>
|
|
18
|
+
* <SearchcraftFilterPanel :items="filterItems" />
|
|
19
|
+
* </template>
|
|
20
|
+
* ```
|
|
9
21
|
*/
|
|
10
22
|
declare const SearchcraftFilterPanel: 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>;
|
|
11
23
|
export { SearchcraftFilterPanel };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchcraftFilterPanel.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftFilterPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,UAAU,2BACR,SAAQ,UAAU,CAAC,sBAAsB;CAAG;AAE9C
|
|
1
|
+
{"version":3,"file":"SearchcraftFilterPanel.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftFilterPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,UAAU,2BACR,SAAQ,UAAU,CAAC,sBAAsB;CAAG;AAE9C;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,sBAAsB,uXAAY,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAElC,YAAY,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -5,7 +5,40 @@ import { Components } from '@searchcraft/javascript-sdk';
|
|
|
5
5
|
export interface SearchcraftInputFormProps extends Components.SearchcraftInputForm {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A component that provides a user-friendly interface for querying an indexed dataset,
|
|
9
|
+
* enabling users to easily search large collections of data. It abstracts the complexities
|
|
10
|
+
* of index-based searching, making it accessible to users of all technical levels.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```vue
|
|
14
|
+
* <script setup>
|
|
15
|
+
* import SearchcraftInputForm from '@searchcraft/vue-sdk';
|
|
16
|
+
* import searchcraftConfig from './searchcraftConfig';
|
|
17
|
+
*
|
|
18
|
+
* const handleQuerySubmit = (event) => {
|
|
19
|
+
* console.log("Query submitted", event.detail);
|
|
20
|
+
* };
|
|
21
|
+
* </script>
|
|
22
|
+
*
|
|
23
|
+
* <template>
|
|
24
|
+
* <SearchcraftInputForm
|
|
25
|
+
* :config="searchcraftConfig"
|
|
26
|
+
* :autoSearch="true"
|
|
27
|
+
* buttonPlacement="right"
|
|
28
|
+
* buttonLabel="Search"
|
|
29
|
+
* inputLabel="Search Database"
|
|
30
|
+
* :customStyles="{ border: '1px solid gray', padding: '5px' }"
|
|
31
|
+
* placeholderValue="Search here..."
|
|
32
|
+
* searchTerm=""
|
|
33
|
+
* @querySubmit="handleQuerySubmit"
|
|
34
|
+
* @inputCleared="() => console.log('Input cleared')"
|
|
35
|
+
* @noResultsReceived="() => console.log('No results found')"
|
|
36
|
+
* @inputFocus="() => console.log('Input focused')"
|
|
37
|
+
* @inputBlur="() => console.log('Input blurred')"
|
|
38
|
+
* @inputInit="() => console.log('Input initialized')"
|
|
39
|
+
* />
|
|
40
|
+
* </template>
|
|
41
|
+
* ```
|
|
9
42
|
*/
|
|
10
43
|
declare const SearchcraftInputForm: 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>;
|
|
11
44
|
export { SearchcraftInputForm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchcraftInputForm.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftInputForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,yBACf,SAAQ,UAAU,CAAC,oBAAoB;CAAG;AAE5C
|
|
1
|
+
{"version":3,"file":"SearchcraftInputForm.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftInputForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,yBACf,SAAQ,UAAU,CAAC,oBAAoB;CAAG;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,QAAA,MAAM,oBAAoB,mXAAY,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
/**
|
|
3
|
+
* The Props for the SearchcraftPagination component.
|
|
4
|
+
*/
|
|
5
|
+
export interface SearchcraftPaginationProps extends Components.SearchcraftPagination {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* This React component is designed to facilitate pagination of search results.
|
|
9
|
+
* Once a query is submitted, calculates the number for pages.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```vue
|
|
13
|
+
* <script setup>
|
|
14
|
+
* import SearchcraftPagination from '@searchcraft/vue-sdk';
|
|
15
|
+
* </script>
|
|
16
|
+
*
|
|
17
|
+
* <template>
|
|
18
|
+
* <SearchcraftPagination />
|
|
19
|
+
* </template>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
declare const SearchcraftPagination: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftPagination & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftPagination & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
23
|
+
export { SearchcraftPagination };
|
|
24
|
+
//# sourceMappingURL=SearchcraftPagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchcraftPagination.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAI9D;;GAEG;AACH,MAAM,WAAW,0BACf,SAAQ,UAAU,CAAC,qBAAqB;CAAG;AAE7C;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,qBAAqB,qXAAY,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -5,7 +5,20 @@ import { Components } from '@searchcraft/javascript-sdk';
|
|
|
5
5
|
export interface SearchcraftPopoverButtonProps extends Components.SearchcraftPopoverButton {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A button component that, when clicked, toggles the visibility of a popover.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup>
|
|
13
|
+
* import SearchcraftPopoverButton from '@searchcraft/vue-sdk';
|
|
14
|
+
* </script>
|
|
15
|
+
*
|
|
16
|
+
* <template>
|
|
17
|
+
* <SearchcraftPopoverButton>
|
|
18
|
+
* Open Popover
|
|
19
|
+
* </SearchcraftPopoverButton>
|
|
20
|
+
* </template>
|
|
21
|
+
* ```
|
|
9
22
|
*/
|
|
10
23
|
declare const SearchcraftPopoverButton: 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>;
|
|
11
24
|
export { SearchcraftPopoverButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchcraftPopoverButton.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftPopoverButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,UAAU,CAAC,wBAAwB;CAAG;AAEhD
|
|
1
|
+
{"version":3,"file":"SearchcraftPopoverButton.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftPopoverButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,UAAU,CAAC,wBAAwB;CAAG;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,wBAAwB,2XAAY,CAAC;AAE3C,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -5,7 +5,27 @@ import { Components } from '@searchcraft/javascript-sdk';
|
|
|
5
5
|
export interface SearchcraftPopoverFormProps extends Components.SearchcraftPopoverForm {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A component that displays search results in a popover container that dynamically appears
|
|
9
|
+
* when the user interacts with a search input field, or when a Popover Button has been clicked.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```vue
|
|
13
|
+
* <script setup>
|
|
14
|
+
* import SearchcraftPopoverForm from '@searchcraft/vue-sdk';
|
|
15
|
+
* import searchcraftConfig from './searchcraftConfig';
|
|
16
|
+
* import popoverResultMappings from './popoverResultMappings';
|
|
17
|
+
* </script>
|
|
18
|
+
*
|
|
19
|
+
* <template>
|
|
20
|
+
* <SearchcraftPopoverForm
|
|
21
|
+
* :config="searchcraftConfig"
|
|
22
|
+
* type="fullscreen"
|
|
23
|
+
* :popoverResultMappings="popoverResultMappings"
|
|
24
|
+
* hotkey="k"
|
|
25
|
+
* hotkeyModifier="meta"
|
|
26
|
+
* />
|
|
27
|
+
* </template>
|
|
28
|
+
* ```
|
|
9
29
|
*/
|
|
10
30
|
declare const SearchcraftPopoverForm: 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>;
|
|
11
31
|
export { SearchcraftPopoverForm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchcraftPopoverForm.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftPopoverForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,UAAU,CAAC,sBAAsB;CAAG;AAE9C
|
|
1
|
+
{"version":3,"file":"SearchcraftPopoverForm.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftPopoverForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,UAAU,CAAC,sBAAsB;CAAG;AAE9C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,sBAAsB,uXAAY,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -5,7 +5,21 @@ import { Components } from '@searchcraft/javascript-sdk';
|
|
|
5
5
|
export interface SearchcraftResultsInfoProps extends Components.SearchcraftResultsInfo {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* This Vue component is designed to display the number of results returned from a search query.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup>
|
|
13
|
+
* import SearchcraftResultsInfo from '@searchcraft/vue-sdk';
|
|
14
|
+
*
|
|
15
|
+
* const customFormatter = (range, count, responseTime) =>
|
|
16
|
+
* `${range[0]}-${range[1]} of ${count} results in ${responseTime}ms`;
|
|
17
|
+
* </script>
|
|
18
|
+
*
|
|
19
|
+
* <template>
|
|
20
|
+
* <SearchcraftResultsInfo :customFormatter="customFormatter" />
|
|
21
|
+
* </template>
|
|
22
|
+
* ```
|
|
9
23
|
*/
|
|
10
24
|
declare const SearchcraftResultsInfo: 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>;
|
|
11
25
|
export { SearchcraftResultsInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchcraftResultsInfo.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftResultsInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchcraftResultsInfo.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftResultsInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAI9D;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,UAAU,CAAC,sBAAsB;CAAG;AAE9C;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,sBAAsB,uXAAY,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
/**
|
|
3
|
+
* The Props for the SearchcraftSearchResultsPerPage component.
|
|
4
|
+
*/
|
|
5
|
+
export interface SearchcraftSearchResultsPerPageProps extends Components.SearchcraftSearchResultsPerPage {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* This Vue component is designed to choose the number of search results displayed.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup>
|
|
13
|
+
* import SearchcraftSearchResultsPerPage from '@searchcraft/vue-sdk';
|
|
14
|
+
* </script>
|
|
15
|
+
*
|
|
16
|
+
* <template>
|
|
17
|
+
* <SearchcraftSearchResultsPerPage increment="20" />
|
|
18
|
+
* </template>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const SearchcraftSearchResultsPerPage: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftSearchResultsPerPage & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftSearchResultsPerPage & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
22
|
+
export { SearchcraftSearchResultsPerPage };
|
|
23
|
+
//# sourceMappingURL=SearchcraftSearchResultsPerPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchcraftSearchResultsPerPage.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftSearchResultsPerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAI9D;;GAEG;AACH,MAAM,WAAW,oCACf,SAAQ,UAAU,CAAC,+BAA+B;CAAG;AAEvD;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,+BAA+B,yYAAY,CAAC;AAClD,OAAO,EAAE,+BAA+B,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
+
/**
|
|
3
|
+
* The Props for the SearchcraftSelect component.
|
|
4
|
+
*/
|
|
5
|
+
export interface SearchcraftSelectProps extends Components.SearchcraftSelect {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* This Vue component is designed to allow users to select between a group of options.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup>
|
|
13
|
+
* import SearchcraftSelect from '@searchcraft/vue-sdk';
|
|
14
|
+
*
|
|
15
|
+
* const selectOptions = [{ label: 'label', value: 'value' }]
|
|
16
|
+
* </script>
|
|
17
|
+
*
|
|
18
|
+
* <template>
|
|
19
|
+
* <SearchcraftSelect :selectOptions="selectOptions" />
|
|
20
|
+
* </template>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
declare const SearchcraftSelect: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftSelect & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftSelect & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
24
|
+
export { SearchcraftSelect };
|
|
25
|
+
//# sourceMappingURL=SearchcraftSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchcraftSelect.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAI9D;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,UAAU,CAAC,iBAAiB;CAAG;AAE/E;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,iBAAiB,6WAAY,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -5,7 +5,19 @@ import { Components } from '@searchcraft/javascript-sdk';
|
|
|
5
5
|
export interface SearchcraftThemeProps extends Components.SearchcraftTheme {
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A component that applies Searchcraft's built-in CSS theme to your page.
|
|
9
|
+
* It does not render anything visible—its only function is to manage the CSS styles on the page.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```vue
|
|
13
|
+
* <script setup>
|
|
14
|
+
* import SearchcraftTheme from '@searchcraft/vue-sdk';
|
|
15
|
+
* </script>
|
|
16
|
+
*
|
|
17
|
+
* <template>
|
|
18
|
+
* <SearchcraftTheme theme="light" :customTheme="[]" />
|
|
19
|
+
* </template>
|
|
20
|
+
* ```
|
|
9
21
|
*/
|
|
10
22
|
declare const SearchcraftTheme: import('../../vue').DefineSetupFnComponent<import("@searchcraft/javascript-sdk").JSX.SearchcraftTheme & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, {}, {}, import("@searchcraft/javascript-sdk").JSX.SearchcraftTheme & import('@stencil/vue-output-target/runtime').InputProps<string | number | boolean>, import('../../vue').PublicProps>;
|
|
11
23
|
export { SearchcraftTheme };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchcraftTheme.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE7E
|
|
1
|
+
{"version":3,"file":"SearchcraftTheme.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAE7E;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,gBAAgB,2WAAY,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -5,4 +5,6 @@ export * from './SearchcraftPopoverButton';
|
|
|
5
5
|
export * from './SearchcraftPopoverForm';
|
|
6
6
|
export * from './SearchcraftResultsInfo';
|
|
7
7
|
export * from './SearchcraftTheme';
|
|
8
|
+
export * from './SearchcraftPagination';
|
|
9
|
+
export * from './SearchcraftSearchResultsPerPage';
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC"}
|