@coveo/quantic 3.10.0-pre.faaf12d7a7 → 3.11.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/README.md +52 -12
- package/force-app/main/default/labels/CustomLabels.labels-meta.xml +7 -0
- package/force-app/main/default/lwc/quanticCaseAssistInterface/quanticCaseAssistInterface.js +8 -0
- package/force-app/main/default/lwc/quanticCategoryFacet/__tests__/quanticCategoryFacet.test.js +108 -1
- package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.js +22 -0
- package/force-app/main/default/lwc/quanticDateFacet/__tests__/quanticDateFacet.test.js +107 -1
- package/force-app/main/default/lwc/quanticDateFacet/quanticDateFacet.js +22 -0
- package/force-app/main/default/lwc/quanticFacet/__tests__/quanticFacet.test.js +106 -1
- package/force-app/main/default/lwc/quanticFacet/quanticFacet.js +21 -1
- package/force-app/main/default/lwc/quanticFeedbackModalQna/__tests__/quanticFeedbackModalQna.test.js +1 -1
- package/force-app/main/default/lwc/quanticFeedbackModalQna/quanticFeedbackModalQna.js +1 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.css +0 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswerContent/templates/generatedMarkdownContent.css +1 -0
- package/force-app/main/default/lwc/quanticInsightInterface/quanticInsightInterface.js +8 -0
- package/force-app/main/default/lwc/quanticNotifications/__tests__/quanticNotifications.test.js +112 -4
- package/force-app/main/default/lwc/quanticNotifications/quanticNotifications.css +8 -0
- package/force-app/main/default/lwc/quanticNotifications/quanticNotifications.html +20 -7
- package/force-app/main/default/lwc/quanticNotifications/quanticNotifications.js +57 -18
- package/force-app/main/default/lwc/quanticNumericFacet/__tests__/quanticNumericFacet.test.js +107 -1
- package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.js +22 -0
- package/force-app/main/default/lwc/quanticRecommendationInterface/quanticRecommendationInterface.js +8 -0
- package/force-app/main/default/lwc/quanticSearchInterface/quanticSearchInterface.js +8 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/__tests__/quanticTimeframeFacet.test.js +107 -1
- package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.js +22 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/__tests__/quanticUserActionsToggle.test.js +18 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/data.ts +32 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/fixture.ts +32 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/pageObject.ts +71 -0
- package/force-app/main/default/lwc/quanticUserActionsToggle/e2e/quanticUserActionsToggle.e2e.ts +39 -0
- package/force-app/main/default/staticresources/coveobueno/browser/bueno.js +3 -18
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +9 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/query/query-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/user-actions/user-actions-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-engine/commerce-engine.ssr.d.ts +4 -13
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/common.d.ts +8 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/build-factory.d.ts +19 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/hydrated-state-factory.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/recommendation-hydrated-state-factory.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/recommendation-static-state-factory.d.ts +3 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/static-state-factory.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/build.d.ts +13 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/common.d.ts +180 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/core-engine.d.ts +29 -10
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/fetch-static-state.d.ts +15 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/from-build-result.d.ts +20 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/hydrate-static-state.d.ts +18 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/logger.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/navigatorContextProvider.d.ts +17 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/common.d.ts +6 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/from-build-result.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/parameter-manager/headless-core-parameter-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/field-suggestions/headless-field-suggestions-generator.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/instant-products/headless-instant-products.ssr.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-view/headless-product-view.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recent-queries-list/headless-recent-queries-list.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recommendations/headless-recommendations.ssr.d.ts +10 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/standalone-search-box/headless-standalone-search-box.ssr.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/search-action-cause.d.ts +0 -82
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-analytics-actions.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-analytics-actions.d.ts +0 -3
- 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-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/static-filter-set/static-filter-set-actions.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-engine-v2.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/utils/facet-utils.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/utils/utils.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/headless.js +11 -8
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +10 -7
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +9 -6
- package/force-app/main/default/staticresources/dompurify/purify.min.js +1339 -2
- package/package.json +23 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveo/quantic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.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": "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",
|
|
18
18
|
"lint:fix:apex": "prettier \"force-app/{,**}/*.{cls,trigger}\" --write",
|
|
19
|
-
"build:staticresources": "node
|
|
19
|
+
"build:staticresources": "node build-static-resources.js",
|
|
20
20
|
"build": "nx build",
|
|
21
21
|
"dev": "npx rimraf .localdevserver && npm run build:staticresources && npm run dev:sfdx",
|
|
22
22
|
"dev:sfdx": "sf project deploy start --source-dir force-app/main && sfdx force:lightning:lwc:start --port 3334",
|
|
@@ -28,11 +28,15 @@
|
|
|
28
28
|
"e2e:watch": "cypress open --browser chrome --e2e",
|
|
29
29
|
"e2e": "cypress run --browser chrome",
|
|
30
30
|
"e2e:detailed": "cypress run --browser chrome --headless --reporter cypress/reporters/detailed-reporter.js",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
31
|
+
"e2e:playwright": "npx playwright test",
|
|
32
|
+
"e2e:playwright:lws-enabled": "npx playwright test --project=LWS-enabled",
|
|
33
|
+
"e2e:playwright:lws-disabled": "npx playwright test --project=LWS-disabled",
|
|
34
|
+
"scratch:create": "sf org create scratch --set-default --definition-file config/lws-enabled-scratch-def.json --alias Quantic__LWS_enabled",
|
|
35
|
+
"setup:examples": "npm run create:lws-enabled && npm run create:lws-disabled",
|
|
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
|
+
"create:lws-disabled": "../../node_modules/.bin/ts-node scripts/build/deploy-community.ts --scratch-org-def-path=./config/lws-disabled-scratch-def.json",
|
|
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",
|
|
36
40
|
"prebuild:doc": "mkdirp docs/out",
|
|
37
41
|
"build:doc": "jsdoc -c jsdoc-config.json",
|
|
38
42
|
"publish:sfdx": "../../node_modules/.bin/ts-node scripts/build/create-package.ts --remove-translations",
|
|
@@ -46,9 +50,9 @@
|
|
|
46
50
|
"babel:headless": "babel ../../node_modules/@coveo/headless/dist/quantic --out-dir .tmp/quantic-compiled --extensions .js --minified"
|
|
47
51
|
},
|
|
48
52
|
"dependencies": {
|
|
49
|
-
"@coveo/bueno": "1.0.
|
|
50
|
-
"@coveo/headless": "3.
|
|
51
|
-
"dompurify": "3.
|
|
53
|
+
"@coveo/bueno": "1.0.7",
|
|
54
|
+
"@coveo/headless": "3.12.0",
|
|
55
|
+
"dompurify": "3.2.0",
|
|
52
56
|
"marked": "12.0.2",
|
|
53
57
|
"fs-extra": "11.2.0"
|
|
54
58
|
},
|
|
@@ -56,20 +60,20 @@
|
|
|
56
60
|
"node": "^20.9.0 || ^22.11.0"
|
|
57
61
|
},
|
|
58
62
|
"devDependencies": {
|
|
59
|
-
"@babel/cli": "7.25.
|
|
60
|
-
"@babel/plugin-transform-async-to-generator": "7.
|
|
61
|
-
"@ckeditor/jsdoc-plugins": "
|
|
63
|
+
"@babel/cli": "7.25.9",
|
|
64
|
+
"@babel/plugin-transform-async-to-generator": "7.25.9",
|
|
65
|
+
"@ckeditor/jsdoc-plugins": "43.0.1",
|
|
62
66
|
"@coveo/relay-event-types": "12.0.1",
|
|
63
67
|
"@coveo/release": "1.0.0",
|
|
64
68
|
"@lwc/compiler": "5.3.0",
|
|
65
69
|
"@lwc/eslint-plugin-lwc": "1.8.2",
|
|
66
70
|
"@octokit/graphql": "8.1.1",
|
|
67
71
|
"@octokit/graphql-schema": "15.25.0",
|
|
68
|
-
"@playwright/test": "1.
|
|
72
|
+
"@playwright/test": "1.49.0",
|
|
69
73
|
"@salesforce/eslint-config-lwc": "3.6.0",
|
|
70
74
|
"@salesforce/eslint-plugin-lightning": "1.0.0",
|
|
71
75
|
"@salesforce/sfdx-lwc-jest": "5.1.0",
|
|
72
|
-
"@types/node": "
|
|
76
|
+
"@types/node": "22.9.1",
|
|
73
77
|
"@types/strip-color": "0.1.2",
|
|
74
78
|
"@types/wait-on": "5.3.4",
|
|
75
79
|
"chalk": "4.1.2",
|
|
@@ -78,17 +82,17 @@
|
|
|
78
82
|
"cypress-real-events": "1.13.0",
|
|
79
83
|
"cypress-repeat": "2.3.5",
|
|
80
84
|
"dotenv": "16.4.5",
|
|
81
|
-
"eslint-plugin-jest": "28.
|
|
85
|
+
"eslint-plugin-jest": "28.9.0",
|
|
82
86
|
"jest": "29.7.0",
|
|
83
87
|
"jest-junit": "16.0.0",
|
|
84
|
-
"jsdoc": "4.0.
|
|
88
|
+
"jsdoc": "4.0.4",
|
|
85
89
|
"jsdoc-tsimport-plugin": "1.0.5",
|
|
86
90
|
"mkdirp": "^3.0.0",
|
|
87
91
|
"ncp": "2.0.0",
|
|
88
|
-
"prettier-plugin-apex": "2.
|
|
92
|
+
"prettier-plugin-apex": "2.2.2",
|
|
89
93
|
"strip-color": "0.1.0",
|
|
90
94
|
"ts-node": "10.9.2",
|
|
91
|
-
"wait-on": "
|
|
95
|
+
"wait-on": "8.0.1",
|
|
92
96
|
"xml2js": "0.6.2"
|
|
93
97
|
},
|
|
94
98
|
"files": [
|