@coveo/quantic 3.17.1 → 3.18.0-pre.22bf157efb

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 (19) hide show
  1. package/docs/out/quantic-docs.json +28 -0
  2. package/force-app/main/default/labels/CustomLabels.labels-meta.xml +7 -0
  3. package/force-app/main/default/lwc/jsconfig.json +3 -0
  4. package/force-app/main/default/lwc/quanticInsightInterface/quanticInsightInterface.js +30 -10
  5. package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.css +5 -0
  6. package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.html +18 -0
  7. package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.js +95 -0
  8. package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.js-meta.xml +5 -0
  9. package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.html +4 -1
  10. package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.js +15 -23
  11. package/force-app/main/default/lwc/quanticResultAction/quanticResultAction.html +1 -1
  12. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +8 -8
  13. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +0 -30
  14. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/tests/stream-answer-api-state-mock.d.ts +0 -4
  15. package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
  16. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
  17. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +7 -7
  18. package/package.json +4 -4
  19. package/force-app/main/default/staticresources/coveoheadless/definitions/features/advanced-search-queries/advanced-search-query-selectors.d.ts +0 -66
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/quantic",
3
- "version": "3.17.1",
3
+ "version": "3.18.0-pre.22bf157efb",
4
4
  "description": "A Salesforce Lightning Web Component (LWC) library for building modern UIs interfacing with the Coveo platform",
5
5
  "author": "coveo.com",
6
6
  "homepage": "https://coveo.com",
@@ -11,7 +11,7 @@
11
11
  "url": "git+https://github.com/coveo/ui-kit.git"
12
12
  },
13
13
  "scripts": {
14
- "test": "npm run babel:headless && npm run build:staticresources && npm run lint:check:tests && npm run validate:types && npm run test:unit",
14
+ "test": "nx test quantic",
15
15
  "lint:check:tests": "eslint force-app/main/default/lwc/ --format junit -o reports/eslint.xml",
16
16
  "lint:fix": "npm run lint:fix:js",
17
17
  "lint:fix:js": "eslint --fix force-app/main/default/lwc/ && eslint --fix force-app/examples/main/lwc/ && prettier \"force-app/{,**}/*.js\" --write",
@@ -36,7 +36,7 @@
36
36
  "create:lws-enabled": "../../node_modules/.bin/ts-node scripts/build/deploy-community.ts --scratch-org-def-path=./config/lws-enabled-scratch-def.json",
37
37
  "create:lws-disabled": "../../node_modules/.bin/ts-node scripts/build/deploy-community.ts --scratch-org-def-path=./config/lws-disabled-scratch-def.json",
38
38
  "deploy:main": "sf project deploy start --source-dir force-app/main --target-org",
39
- "deploy:examples": "sf project deploy start --source-dir force-app/examples --target-org",
39
+ "deploy:examples": "sf project deploy start --source-dir force-app/examples --source-dir force-app/solutionExamples --target-org",
40
40
  "build:doc": "jsdoc -c jsdoc-config.json",
41
41
  "publish:sfdx": "../../node_modules/.bin/ts-node scripts/build/create-package.ts --remove-translations",
42
42
  "promote:sfdx": "npm run publish:sfdx -- --promote",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@coveo/bueno": "1.0.12",
53
- "@coveo/headless": "3.22.3",
53
+ "@coveo/headless": "3.22.4-pre.22bf157efb",
54
54
  "dompurify": "3.2.4",
55
55
  "fs-extra": "11.3.0",
56
56
  "marked": "12.0.2"
@@ -1,66 +0,0 @@
1
- import { AdvancedSearchQueriesState } from './advanced-search-queries-state.js';
2
- export declare const selectAdvancedSearchQueries: ((state: {
3
- advancedSearchQueries?: AdvancedSearchQueriesState;
4
- }) => {
5
- aq?: undefined;
6
- cq?: undefined;
7
- dq?: undefined;
8
- lq?: undefined;
9
- } | {
10
- aq: string;
11
- cq: string;
12
- dq: string;
13
- lq: string;
14
- }) & {
15
- clearCache: () => void;
16
- resultsCount: () => number;
17
- resetResultsCount: () => void;
18
- } & {
19
- resultFunc: (resultFuncArgs_0: AdvancedSearchQueriesState | undefined) => {
20
- aq?: undefined;
21
- cq?: undefined;
22
- dq?: undefined;
23
- lq?: undefined;
24
- } | {
25
- aq: string;
26
- cq: string;
27
- dq: string;
28
- lq: string;
29
- };
30
- memoizedResultFunc: ((resultFuncArgs_0: AdvancedSearchQueriesState | undefined) => {
31
- aq?: undefined;
32
- cq?: undefined;
33
- dq?: undefined;
34
- lq?: undefined;
35
- } | {
36
- aq: string;
37
- cq: string;
38
- dq: string;
39
- lq: string;
40
- }) & {
41
- clearCache: () => void;
42
- resultsCount: () => number;
43
- resetResultsCount: () => void;
44
- };
45
- lastResult: () => {
46
- aq?: undefined;
47
- cq?: undefined;
48
- dq?: undefined;
49
- lq?: undefined;
50
- } | {
51
- aq: string;
52
- cq: string;
53
- dq: string;
54
- lq: string;
55
- };
56
- dependencies: [(state: {
57
- advancedSearchQueries?: AdvancedSearchQueriesState;
58
- }) => AdvancedSearchQueriesState | undefined];
59
- recomputations: () => number;
60
- resetRecomputations: () => void;
61
- dependencyRecomputations: () => number;
62
- resetDependencyRecomputations: () => void;
63
- } & {
64
- argsMemoize: typeof import("reselect").weakMapMemoize;
65
- memoize: typeof import("reselect").weakMapMemoize;
66
- };