@coveo/quantic 3.31.0-pre.f3edc21585 → 3.31.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/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.css +1 -1
- package/force-app/main/default/lwc/quanticCitation/quanticCitation.css +1 -1
- package/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.css +1 -1
- package/force-app/main/default/lwc/quanticFacet/quanticFacet.css +1 -1
- package/force-app/main/default/lwc/quanticFacetStyles/quanticFacetStyles.css +3 -3
- package/force-app/main/default/lwc/quanticFacetValue/quanticFacetValue.css +1 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswerContent/templates/generatedMarkdownContent.css +4 -1
- package/force-app/main/default/lwc/quanticRadioButtonsGroup/quanticRadioButtonsGroup.css +1 -1
- package/force-app/main/default/lwc/quanticRefineToggle/quanticRefineToggle.css +1 -1
- package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.css +3 -3
- package/force-app/main/default/lwc/quanticResultTemplate/quanticResultTemplate.css +1 -1
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/quanticSearchBoxSuggestionsList.css +1 -1
- package/force-app/main/default/lwc/quanticSmartSnippetSource/quanticSmartSnippetSource.css +1 -1
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/quanticSmartSnippetSuggestions.css +1 -1
- package/force-app/main/default/lwc/quanticSummary/quanticSummary.css +1 -1
- package/force-app/main/default/lwc/quanticUserAction/quanticUserAction.css +1 -1
- package/force-app/main/default/lwc/quanticUserActionsSession/quanticUserActionsSession.css +1 -1
- package/force-app/main/default/lwc/quanticUserActionsTimeline/templates/userActionsTimeline.css +1 -1
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +8 -8
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/api-client-utils.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +7 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/query/query-request.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/user-actions/user-actions-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +3 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-mocks.d.ts +209 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-request.d.ts +6 -78
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-state.d.ts +4 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/cart/headless-cart.ssr.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/context/headless-context.ssr.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/parameter-manager/headless-core-parameter-manager.ssr.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/engine/commerce-engine.ssr.d.ts +5 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/factories/build-factory.d.ts +20 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/controller-definitions.d.ts +9 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/engine.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/types/engine.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +2 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/cart/headless-cart.ssr.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/context/headless-context.ssr.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/parameter-manager/headless-core-parameter-manager.ssr.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/build.d.ts +4 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/state/state-sections.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/utils/facet-utils.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +7 -7
- package/package.json +4 -13
- package/scripts/npm/check-sfdx-project.js +1 -1
- package/scripts/npm/setup-quantic.js +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-answerapi-generated-answer-mocks.d.ts +0 -8318
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/utils/testingUtils.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveo/quantic",
|
|
3
|
-
"version": "3.31.0
|
|
3
|
+
"version": "3.31.0",
|
|
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",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lint:fix": "eslint --fix force-app/main/default/lwc/ && eslint --fix force-app/examples/main/lwc/ && prettier \"force-app/{,**}/*.js\" --write",
|
|
17
17
|
"lint:fix:apex": "prettier \"force-app/{,**}/*.{cls,trigger}\" --write",
|
|
18
18
|
"build:staticresources": "node build-static-resources.js",
|
|
19
|
-
"dev": "
|
|
19
|
+
"dev": "node ../../utils/ci/rm-rf.mjs .localdevserver && npm run build:staticresources && npm run dev:sfdx",
|
|
20
20
|
"dev:sfdx": "sf project deploy start --source-dir force-app/main && sfdx force:lightning:lwc:start --port 3334",
|
|
21
21
|
"test:unit": "lwc-jest",
|
|
22
22
|
"test:unit:debug": "lwc-jest --debug",
|
|
@@ -47,10 +47,9 @@
|
|
|
47
47
|
"babel:headless": "babel ../../node_modules/@coveo/headless/dist/quantic --delete-dir-on-start --out-dir .tmp/quantic-compiled --extensions .js --minified"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@coveo/bueno": "1.
|
|
51
|
-
"@coveo/headless": "3.
|
|
50
|
+
"@coveo/bueno": "1.1.3",
|
|
51
|
+
"@coveo/headless": "3.31.4",
|
|
52
52
|
"dompurify": "3.2.6",
|
|
53
|
-
"fs-extra": "11.3.0",
|
|
54
53
|
"marked": "12.0.2"
|
|
55
54
|
},
|
|
56
55
|
"engines": {
|
|
@@ -64,15 +63,10 @@
|
|
|
64
63
|
"@octokit/graphql": "9.0.1",
|
|
65
64
|
"@octokit/graphql-schema": "15.26.0",
|
|
66
65
|
"@playwright/test": "1.54.1",
|
|
67
|
-
"@salesforce-ux/slds-linter": "0.3.0",
|
|
68
66
|
"@salesforce/eslint-config-lwc": "3.7.2",
|
|
69
67
|
"@salesforce/sfdx-lwc-jest": "5.1.0",
|
|
70
|
-
"@types/node": "22.16.5",
|
|
71
|
-
"@types/strip-color": "0.1.2",
|
|
72
68
|
"@types/wait-on": "5.3.4",
|
|
73
69
|
"@typescript-eslint/parser": "8.44.0",
|
|
74
|
-
"chalk": "4.1.2",
|
|
75
|
-
"change-case": "4.1.2",
|
|
76
70
|
"dotenv": "17.2.1",
|
|
77
71
|
"eslint": "8.57",
|
|
78
72
|
"eslint-config-prettier": "10.1.8",
|
|
@@ -80,10 +74,7 @@
|
|
|
80
74
|
"jest-junit": "16.0.0",
|
|
81
75
|
"jsdoc": "4.0.4",
|
|
82
76
|
"jsdoc-tsimport-plugin": "1.0.5",
|
|
83
|
-
"mkdirp": "3.0.1",
|
|
84
|
-
"ncp": "2.0.0",
|
|
85
77
|
"prettier-plugin-apex": "2.2.6",
|
|
86
|
-
"strip-color": "0.1.0",
|
|
87
78
|
"ts-node": "10.9.2",
|
|
88
79
|
"wait-on": "8.0.4",
|
|
89
80
|
"xml2js": "0.6.2"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const fs = require('fs
|
|
1
|
+
const fs = require('fs');
|
|
2
2
|
const pathlib = require('path');
|
|
3
3
|
const {quanticIsDependency, getProjectPath} = require('./utils');
|
|
4
4
|
|
|
5
5
|
function copyFolder(source, target) {
|
|
6
6
|
try {
|
|
7
|
-
fs.
|
|
7
|
+
fs.cpSync(source, target, {recursive: true, force: true});
|
|
8
8
|
} catch (err) {
|
|
9
9
|
console.error(`Failed to copy folder at the following path ${source}`);
|
|
10
10
|
console.error(err);
|