@searchcraft/vue-sdk 0.7.1 → 0.8.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.
Files changed (29) hide show
  1. package/dist/components/SearchcraftBaseSearchResults.d.ts +36 -30
  2. package/dist/components/SearchcraftBaseSearchResults.d.ts.map +1 -1
  3. package/dist/components/SearchcraftFilterPanel.d.ts +23 -7
  4. package/dist/components/SearchcraftFilterPanel.d.ts.map +1 -1
  5. package/dist/components/SearchcraftInputForm.d.ts +43 -36
  6. package/dist/components/SearchcraftInputForm.d.ts.map +1 -1
  7. package/dist/components/SearchcraftPagination.d.ts +24 -0
  8. package/dist/components/SearchcraftPagination.d.ts.map +1 -0
  9. package/dist/components/SearchcraftPopoverButton.d.ts +23 -3
  10. package/dist/components/SearchcraftPopoverButton.d.ts.map +1 -1
  11. package/dist/components/SearchcraftPopoverForm.d.ts +30 -15
  12. package/dist/components/SearchcraftPopoverForm.d.ts.map +1 -1
  13. package/dist/components/SearchcraftResultsInfo.d.ts +24 -3
  14. package/dist/components/SearchcraftResultsInfo.d.ts.map +1 -1
  15. package/dist/components/SearchcraftSearchResultsPerPage.d.ts +23 -0
  16. package/dist/components/SearchcraftSearchResultsPerPage.d.ts.map +1 -0
  17. package/dist/components/SearchcraftSelect.d.ts +25 -0
  18. package/dist/components/SearchcraftSelect.d.ts.map +1 -0
  19. package/dist/components/SearchcraftTheme.d.ts +22 -3
  20. package/dist/components/SearchcraftTheme.d.ts.map +1 -1
  21. package/dist/components/index.d.ts +9 -7
  22. package/dist/components/index.d.ts.map +1 -1
  23. package/dist/index.es.js +371 -491
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.umd.js +1 -1
  26. package/dist/index.umd.js.map +1 -1
  27. package/dist/stencil-web-components.d.ts +5 -0
  28. package/dist/stencil-web-components.d.ts.map +1 -1
  29. package/package.json +2 -2
@@ -1,32 +1,38 @@
1
1
  import { Components } from '@searchcraft/javascript-sdk';
2
- export type SearchcraftBaseSearchResultsProps = Partial<Components.SearchcraftBaseSearchResults>;
3
- declare const _default: import('../../vue').DefineComponent<{
4
- adInterval?: number | undefined;
5
- buttonLabel?: string | undefined;
6
- buttonRel?: "noreferrer" | "noopener" | "nofollow" | undefined;
7
- buttonTarget?: "_blank" | "_self" | "_top" | "_parent" | undefined;
8
- containerRel?: "noreferrer" | "noopener" | "nofollow" | undefined;
9
- containerTarget?: "_blank" | "_self" | "_top" | "_parent" | undefined;
10
- customStylesForResults?: string | Record<string, Record<string, string>> | undefined;
11
- placeAdAtEnd?: boolean | undefined;
12
- placeAdAtStart?: boolean | undefined;
13
- resultImagePlacement?: "left" | "right" | undefined;
14
- searchResultMappings?: import('@searchcraft/javascript-sdk').SearchResultMappings | undefined;
15
- }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{
16
- adInterval?: number | undefined;
17
- buttonLabel?: string | undefined;
18
- buttonRel?: "noreferrer" | "noopener" | "nofollow" | undefined;
19
- buttonTarget?: "_blank" | "_self" | "_top" | "_parent" | undefined;
20
- containerRel?: "noreferrer" | "noopener" | "nofollow" | undefined;
21
- containerTarget?: "_blank" | "_self" | "_top" | "_parent" | undefined;
22
- customStylesForResults?: string | Record<string, Record<string, string>> | undefined;
23
- placeAdAtEnd?: boolean | undefined;
24
- placeAdAtStart?: boolean | undefined;
25
- resultImagePlacement?: "left" | "right" | undefined;
26
- searchResultMappings?: import('@searchcraft/javascript-sdk').SearchResultMappings | undefined;
27
- }> & Readonly<{}>, {
28
- placeAdAtEnd: boolean;
29
- placeAdAtStart: boolean;
30
- }, {}, {}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
31
- export default _default;
2
+ /**
3
+ * The Props Used by the `SearchcraftBaseSearchResults` Component.
4
+ */
5
+ interface SearchcraftBaseSearchResultsProps extends Components.SearchcraftBaseSearchResults {
6
+ }
7
+ /**
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
+ * ```
34
+ */
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>;
36
+ export { SearchcraftBaseSearchResults };
37
+ export type { SearchcraftBaseSearchResultsProps };
32
38
  //# sourceMappingURL=SearchcraftBaseSearchResults.d.ts.map
@@ -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;AAI9D,MAAM,MAAM,iCAAiC,GAAG,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjG,wBAmBG"}
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"}
@@ -1,9 +1,25 @@
1
1
  import { Components } from '@searchcraft/javascript-sdk';
2
- export type SearchcraftFilterPanelProps = Partial<Components.SearchcraftFilterPanel>;
3
- declare const _default: import('../../vue').DefineComponent<{
4
- items?: import('@searchcraft/javascript-sdk').FilterItem[] | undefined;
5
- }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{
6
- items?: import('@searchcraft/javascript-sdk').FilterItem[] | undefined;
7
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
8
- export default _default;
2
+ /**
3
+ * The props used by the SearchcraftFilterPanel.
4
+ */
5
+ interface SearchcraftFilterPanelProps extends Components.SearchcraftFilterPanel {
6
+ }
7
+ /**
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
+ * ```
21
+ */
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>;
23
+ export { SearchcraftFilterPanel };
24
+ export type { SearchcraftFilterPanelProps };
9
25
  //# sourceMappingURL=SearchcraftFilterPanel.d.ts.map
@@ -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;AAI9D,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;;;;;;AAErF,wBAWG"}
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"}
@@ -1,38 +1,45 @@
1
1
  import { Components } from '@searchcraft/javascript-sdk';
2
- export type SearchcraftInputFormProps = Partial<Components.SearchcraftInputForm>;
3
- declare const _default: import('../../vue').DefineComponent<{
4
- autoSearch?: boolean | undefined;
5
- buttonLabel?: string | undefined;
6
- buttonPlacement?: "left" | "right" | "none" | undefined;
7
- config?: import('@searchcraft/core').SearchcraftConfig | undefined;
8
- customStyles?: string | Record<string, string> | undefined;
9
- inputLabel?: string | undefined;
10
- placeholderValue?: string | undefined;
11
- searchTerm?: string | undefined;
12
- }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, ("inputCleared" | "noResultsReceived" | "inputFocus" | "inputBlur" | "querySubmit")[], "inputCleared" | "noResultsReceived" | "inputFocus" | "inputBlur" | "querySubmit", import('../../vue').PublicProps, Readonly<{
13
- autoSearch?: boolean | undefined;
14
- buttonLabel?: string | undefined;
15
- buttonPlacement?: "left" | "right" | "none" | undefined;
16
- config?: import('@searchcraft/core').SearchcraftConfig | undefined;
17
- customStyles?: string | Record<string, string> | undefined;
18
- inputLabel?: string | undefined;
19
- placeholderValue?: string | undefined;
20
- searchTerm?: string | undefined;
21
- }> & Readonly<{
22
- onInputCleared?: ((...args: any[]) => any) | undefined;
23
- onNoResultsReceived?: ((...args: any[]) => any) | undefined;
24
- onInputFocus?: ((...args: any[]) => any) | undefined;
25
- onInputBlur?: ((...args: any[]) => any) | undefined;
26
- onQuerySubmit?: ((...args: any[]) => any) | undefined;
27
- }>, {
28
- buttonLabel: string;
29
- customStyles: Record<string, string>;
30
- autoSearch: boolean;
31
- buttonPlacement: "left" | "right";
32
- inputLabel: string;
33
- placeholderValue: string;
34
- searchTerm: string;
35
- debounceDelay: number;
36
- }, {}, {}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
37
- export default _default;
2
+ /**
3
+ * The Props for the SearchcraftInputForm component.
4
+ */
5
+ export interface SearchcraftInputFormProps extends Components.SearchcraftInputForm {
6
+ }
7
+ /**
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
+ * ```
42
+ */
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>;
44
+ export { SearchcraftInputForm };
38
45
  //# sourceMappingURL=SearchcraftInputForm.d.ts.map
@@ -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;AAI9D,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,wBAiEG"}
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"}
@@ -1,5 +1,25 @@
1
1
  import { Components } from '@searchcraft/javascript-sdk';
2
- export type SearchcraftPopoverButtonProps = Partial<Components.SearchcraftPopoverButton>;
3
- declare const _default: import('../../vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
4
- export default _default;
2
+ /**
3
+ * The Props for the SearchcraftPopoverButton.
4
+ */
5
+ export interface SearchcraftPopoverButtonProps extends Components.SearchcraftPopoverButton {
6
+ }
7
+ /**
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
+ * ```
22
+ */
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>;
24
+ export { SearchcraftPopoverButton };
5
25
  //# sourceMappingURL=SearchcraftPopoverButton.d.ts.map
@@ -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;AAI9D,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC;;AAEzF,wBAMG"}
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"}
@@ -1,17 +1,32 @@
1
1
  import { Components } from '@searchcraft/javascript-sdk';
2
- export type SearchcraftPopoverFormProps = Partial<Components.SearchcraftPopoverForm>;
3
- declare const _default: import('../../vue').DefineComponent<{
4
- config?: import('@searchcraft/core').SearchcraftConfig | undefined;
5
- hotkey?: string | undefined;
6
- hotkeyModifier?: "ctrl" | "meta" | "alt" | "option" | undefined;
7
- popoverResultMappings?: import('@searchcraft/javascript-sdk').PopoverResultMappings | undefined;
8
- type?: "inline" | "fullscreen" | "modal" | undefined;
9
- }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{
10
- config?: import('@searchcraft/core').SearchcraftConfig | undefined;
11
- hotkey?: string | undefined;
12
- hotkeyModifier?: "ctrl" | "meta" | "alt" | "option" | undefined;
13
- popoverResultMappings?: import('@searchcraft/javascript-sdk').PopoverResultMappings | undefined;
14
- type?: "inline" | "fullscreen" | "modal" | undefined;
15
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
16
- export default _default;
2
+ /**
3
+ * The Props for the SearchcraftPopoverForm.
4
+ */
5
+ export interface SearchcraftPopoverFormProps extends Components.SearchcraftPopoverForm {
6
+ }
7
+ /**
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
+ * ```
29
+ */
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>;
31
+ export { SearchcraftPopoverForm };
17
32
  //# sourceMappingURL=SearchcraftPopoverForm.d.ts.map
@@ -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;AAI9D,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;;;;;;;;;;;;;;AAErF,wBA2BG"}
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"}
@@ -1,5 +1,26 @@
1
1
  import { Components } from '@searchcraft/javascript-sdk';
2
- export type SearchcraftResultsInfoProps = Partial<Components.SearchcraftResultsInfo>;
3
- declare const _default: import('../../vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
4
- export default _default;
2
+ /**
3
+ * The Props for the SearchcraftResultsInfo component.
4
+ */
5
+ export interface SearchcraftResultsInfoProps extends Components.SearchcraftResultsInfo {
6
+ }
7
+ /**
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
+ * ```
23
+ */
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>;
25
+ export { SearchcraftResultsInfo };
5
26
  //# sourceMappingURL=SearchcraftResultsInfo.d.ts.map
@@ -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;AAI9D,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;;AAErF,wBAMG"}
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"}
@@ -1,5 +1,24 @@
1
1
  import { Components } from '@searchcraft/javascript-sdk';
2
- export type SearchcraftThemeProps = Partial<Components.SearchcraftTheme>;
3
- declare const _default: import('../../vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('../../vue').ComponentOptionsMixin, import('../../vue').ComponentOptionsMixin, {}, string, import('../../vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue').ComponentProvideOptions, true, {}, any>;
4
- export default _default;
2
+ /**
3
+ * The Props for the SearchcraftTheme component.
4
+ */
5
+ export interface SearchcraftThemeProps extends Components.SearchcraftTheme {
6
+ }
7
+ /**
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
+ * ```
21
+ */
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>;
23
+ export { SearchcraftTheme };
5
24
  //# sourceMappingURL=SearchcraftTheme.d.ts.map
@@ -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;AAI9D,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;;AAEzE,wBAMG"}
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"}
@@ -1,8 +1,10 @@
1
- export { default as SearchcraftBaseSearchResults } from './SearchcraftBaseSearchResults';
2
- export { default as SearchcraftFilterPanel } from './SearchcraftFilterPanel';
3
- export { default as SearchcraftInputForm } from './SearchcraftInputForm';
4
- export { default as SearchcraftPopoverButton } from './SearchcraftPopoverButton';
5
- export { default as SearchcraftPopoverForm } from './SearchcraftPopoverForm';
6
- export { default as SearchcraftResultsInfo } from './SearchcraftResultsInfo';
7
- export { default as SearchcraftTheme } from './SearchcraftTheme';
1
+ export * from './SearchcraftBaseSearchResults';
2
+ export * from './SearchcraftFilterPanel';
3
+ export * from './SearchcraftInputForm';
4
+ export * from './SearchcraftPopoverButton';
5
+ export * from './SearchcraftPopoverForm';
6
+ export * from './SearchcraftResultsInfo';
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,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,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"}