@searchcraft/vue-sdk 0.7.1 → 0.7.2
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 +11 -30
- package/dist/components/SearchcraftBaseSearchResults.d.ts.map +1 -1
- package/dist/components/SearchcraftFilterPanel.d.ts +11 -7
- package/dist/components/SearchcraftFilterPanel.d.ts.map +1 -1
- package/dist/components/SearchcraftInputForm.d.ts +10 -36
- package/dist/components/SearchcraftInputForm.d.ts.map +1 -1
- package/dist/components/SearchcraftPopoverButton.d.ts +10 -3
- package/dist/components/SearchcraftPopoverButton.d.ts.map +1 -1
- package/dist/components/SearchcraftPopoverForm.d.ts +10 -15
- package/dist/components/SearchcraftPopoverForm.d.ts.map +1 -1
- package/dist/components/SearchcraftResultsInfo.d.ts +10 -3
- package/dist/components/SearchcraftResultsInfo.d.ts.map +1 -1
- package/dist/components/SearchcraftTheme.d.ts +10 -3
- package/dist/components/SearchcraftTheme.d.ts.map +1 -1
- package/dist/components/index.d.ts +7 -7
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.es.js +310 -440
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
* The Base Search Results
|
|
9
|
+
*/
|
|
10
|
+
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
|
+
export { SearchcraftBaseSearchResults };
|
|
12
|
+
export type { SearchcraftBaseSearchResultsProps };
|
|
32
13
|
//# 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;
|
|
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;;GAEG;AACH,QAAA,MAAM,4BAA4B,mYAAY,CAAC;AAE/C,OAAO,EAAE,4BAA4B,EAAE,CAAC;AAExC,YAAY,EAAE,iCAAiC,EAAE,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The props used by the SearchcraftFilterPanel.
|
|
4
|
+
*/
|
|
5
|
+
interface SearchcraftFilterPanelProps extends Components.SearchcraftFilterPanel {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The SearchcraftFilterPanel Vue Component.
|
|
9
|
+
*/
|
|
10
|
+
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
|
+
export { SearchcraftFilterPanel };
|
|
12
|
+
export type { SearchcraftFilterPanelProps };
|
|
9
13
|
//# 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;
|
|
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;;GAEG;AACH,QAAA,MAAM,sBAAsB,uXAAY,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAElC,YAAY,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -1,38 +1,12 @@
|
|
|
1
1
|
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
+
* The Vue Component for the SearchcraftInputForm.
|
|
9
|
+
*/
|
|
10
|
+
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
|
+
export { SearchcraftInputForm };
|
|
38
12
|
//# 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;
|
|
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;;GAEG;AACH,QAAA,MAAM,oBAAoB,mXAAY,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The Props for the SearchcraftPopoverButton.
|
|
4
|
+
*/
|
|
5
|
+
export interface SearchcraftPopoverButtonProps extends Components.SearchcraftPopoverButton {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The Vue component for the SearchcraftPopoverButton.
|
|
9
|
+
*/
|
|
10
|
+
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
|
+
export { SearchcraftPopoverButton };
|
|
5
12
|
//# 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;
|
|
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,12 @@
|
|
|
1
1
|
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
+
* The Vue component for the SearchcraftPopoverForm.
|
|
9
|
+
*/
|
|
10
|
+
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
|
+
export { SearchcraftPopoverForm };
|
|
17
12
|
//# 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;
|
|
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;;GAEG;AACH,QAAA,MAAM,sBAAsB,uXAAY,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The Props for the SearchcraftResultsInfo component.
|
|
4
|
+
*/
|
|
5
|
+
export interface SearchcraftResultsInfoProps extends Components.SearchcraftResultsInfo {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The Vue component for SearchcraftResultsInfo.
|
|
9
|
+
*/
|
|
10
|
+
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
|
+
export { SearchcraftResultsInfo };
|
|
5
12
|
//# 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;
|
|
1
|
+
{"version":3,"file":"SearchcraftResultsInfo.d.ts","sourceRoot":"","sources":["../../src/components/SearchcraftResultsInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,UAAU,CAAC,sBAAsB;CAAG;AAE9C;;GAEG;AACH,QAAA,MAAM,sBAAsB,uXAAY,CAAC;AAEzC,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { Components } from '@searchcraft/javascript-sdk';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The Props for the SearchcraftTheme component.
|
|
4
|
+
*/
|
|
5
|
+
export interface SearchcraftThemeProps extends Components.SearchcraftTheme {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The Vue component for SearchcraftTheme.
|
|
9
|
+
*/
|
|
10
|
+
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
|
+
export { SearchcraftTheme };
|
|
5
12
|
//# 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;
|
|
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;;GAEG;AACH,QAAA,MAAM,gBAAgB,2WAAY,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
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
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,
|
|
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"}
|