@coveo/quantic 3.10.0-pre.faaf12d7a7 → 3.10.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 (69) hide show
  1. package/force-app/main/default/lwc/quanticCaseAssistInterface/quanticCaseAssistInterface.js +8 -0
  2. package/force-app/main/default/lwc/quanticCategoryFacet/__tests__/quanticCategoryFacet.test.js +108 -1
  3. package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.js +22 -0
  4. package/force-app/main/default/lwc/quanticDateFacet/__tests__/quanticDateFacet.test.js +107 -1
  5. package/force-app/main/default/lwc/quanticDateFacet/quanticDateFacet.js +22 -0
  6. package/force-app/main/default/lwc/quanticFacet/__tests__/quanticFacet.test.js +106 -1
  7. package/force-app/main/default/lwc/quanticFacet/quanticFacet.js +21 -1
  8. package/force-app/main/default/lwc/quanticFeedbackModalQna/__tests__/quanticFeedbackModalQna.test.js +1 -1
  9. package/force-app/main/default/lwc/quanticFeedbackModalQna/quanticFeedbackModalQna.js +1 -1
  10. package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.css +0 -1
  11. package/force-app/main/default/lwc/quanticGeneratedAnswerContent/templates/generatedMarkdownContent.css +1 -0
  12. package/force-app/main/default/lwc/quanticInsightInterface/quanticInsightInterface.js +8 -0
  13. package/force-app/main/default/lwc/quanticNumericFacet/__tests__/quanticNumericFacet.test.js +107 -1
  14. package/force-app/main/default/lwc/quanticNumericFacet/quanticNumericFacet.js +22 -0
  15. package/force-app/main/default/lwc/quanticRecommendationInterface/quanticRecommendationInterface.js +8 -0
  16. package/force-app/main/default/lwc/quanticSearchInterface/quanticSearchInterface.js +8 -0
  17. package/force-app/main/default/lwc/quanticTimeframeFacet/__tests__/quanticTimeframeFacet.test.js +107 -1
  18. package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.js +22 -0
  19. package/force-app/main/default/staticresources/coveobueno/browser/bueno.js +3 -18
  20. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +9 -6
  21. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +1 -1
  22. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +1 -1
  23. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +1 -1
  24. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +1 -1
  25. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +1 -1
  26. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +1 -1
  27. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-request.d.ts +1 -1
  28. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/query/query-request.d.ts +2 -2
  29. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/user-actions/user-actions-request.d.ts +1 -1
  30. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-engine/commerce-engine.ssr.d.ts +4 -13
  31. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/common.d.ts +8 -3
  32. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/build-factory.d.ts +19 -0
  33. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/hydrated-state-factory.d.ts +4 -0
  34. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/recommendation-hydrated-state-factory.d.ts +3 -0
  35. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/recommendation-static-state-factory.d.ts +3 -0
  36. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/factories/static-state-factory.d.ts +4 -0
  37. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/build.d.ts +17 -0
  38. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/common.d.ts +20 -6
  39. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/core-engine.d.ts +29 -10
  40. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/fetch-static-state.d.ts +23 -0
  41. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/from-build-result.d.ts +20 -0
  42. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/hydrate-static-state.d.ts +25 -0
  43. package/force-app/main/default/staticresources/coveoheadless/definitions/app/logger.d.ts +1 -1
  44. package/force-app/main/default/staticresources/coveoheadless/definitions/app/navigatorContextProvider.d.ts +17 -0
  45. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/from-build-result.d.ts +1 -0
  46. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/context/cart/headless-cart.ssr.d.ts +2 -2
  47. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/context/headless-context.ssr.d.ts +2 -2
  48. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/field-suggestions/headless-field-suggestions-generator.ssr.d.ts +2 -2
  49. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/instant-products/headless-instant-products.ssr.d.ts +3 -3
  50. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-view/headless-product-view.ssr.d.ts +2 -2
  51. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recent-queries-list/headless-recent-queries-list.ssr.d.ts +2 -2
  52. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recommendations/headless-recommendations.ssr.d.ts +9 -3
  53. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/standalone-search-box/headless-standalone-search-box.ssr.d.ts +2 -2
  54. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/search-action-cause.d.ts +0 -82
  55. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-analytics-actions.d.ts +0 -1
  56. package/force-app/main/default/staticresources/coveoheadless/definitions/features/history/history-analytics-actions.d.ts +0 -3
  57. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-request.d.ts +1 -1
  58. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions.d.ts +2 -2
  59. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +1 -1
  60. package/force-app/main/default/staticresources/coveoheadless/definitions/features/static-filter-set/static-filter-set-actions.d.ts +0 -4
  61. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +4 -4
  62. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-engine-v2.d.ts +1 -1
  63. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/facet-utils.d.ts +1 -1
  64. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/utils.d.ts +4 -0
  65. package/force-app/main/default/staticresources/coveoheadless/headless.js +11 -8
  66. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +10 -7
  67. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +9 -6
  68. package/force-app/main/default/staticresources/dompurify/purify.min.js +1339 -2
  69. package/package.json +14 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/quantic",
3
- "version": "3.10.0-pre.faaf12d7a7",
3
+ "version": "3.10.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 copy-static-resources.js",
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",
@@ -46,9 +46,9 @@
46
46
  "babel:headless": "babel ../../node_modules/@coveo/headless/dist/quantic --out-dir .tmp/quantic-compiled --extensions .js --minified"
47
47
  },
48
48
  "dependencies": {
49
- "@coveo/bueno": "1.0.6",
50
- "@coveo/headless": "3.11.0-pre.faaf12d7a7",
51
- "dompurify": "3.1.6",
49
+ "@coveo/bueno": "1.0.7",
50
+ "@coveo/headless": "3.11.0",
51
+ "dompurify": "3.2.0",
52
52
  "marked": "12.0.2",
53
53
  "fs-extra": "11.2.0"
54
54
  },
@@ -56,20 +56,20 @@
56
56
  "node": "^20.9.0 || ^22.11.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@babel/cli": "7.25.6",
60
- "@babel/plugin-transform-async-to-generator": "7.24.7",
61
- "@ckeditor/jsdoc-plugins": "39.9.1",
59
+ "@babel/cli": "7.25.9",
60
+ "@babel/plugin-transform-async-to-generator": "7.25.9",
61
+ "@ckeditor/jsdoc-plugins": "43.0.1",
62
62
  "@coveo/relay-event-types": "12.0.1",
63
63
  "@coveo/release": "1.0.0",
64
64
  "@lwc/compiler": "5.3.0",
65
65
  "@lwc/eslint-plugin-lwc": "1.8.2",
66
66
  "@octokit/graphql": "8.1.1",
67
67
  "@octokit/graphql-schema": "15.25.0",
68
- "@playwright/test": "1.48.1",
68
+ "@playwright/test": "1.49.0",
69
69
  "@salesforce/eslint-config-lwc": "3.6.0",
70
70
  "@salesforce/eslint-plugin-lightning": "1.0.0",
71
71
  "@salesforce/sfdx-lwc-jest": "5.1.0",
72
- "@types/node": "20.14.12",
72
+ "@types/node": "22.9.1",
73
73
  "@types/strip-color": "0.1.2",
74
74
  "@types/wait-on": "5.3.4",
75
75
  "chalk": "4.1.2",
@@ -78,17 +78,17 @@
78
78
  "cypress-real-events": "1.13.0",
79
79
  "cypress-repeat": "2.3.5",
80
80
  "dotenv": "16.4.5",
81
- "eslint-plugin-jest": "28.6.0",
81
+ "eslint-plugin-jest": "28.9.0",
82
82
  "jest": "29.7.0",
83
83
  "jest-junit": "16.0.0",
84
- "jsdoc": "4.0.3",
84
+ "jsdoc": "4.0.4",
85
85
  "jsdoc-tsimport-plugin": "1.0.5",
86
86
  "mkdirp": "^3.0.0",
87
87
  "ncp": "2.0.0",
88
- "prettier-plugin-apex": "2.1.4",
88
+ "prettier-plugin-apex": "2.2.2",
89
89
  "strip-color": "0.1.0",
90
90
  "ts-node": "10.9.2",
91
- "wait-on": "7.2.0",
91
+ "wait-on": "8.0.1",
92
92
  "xml2js": "0.6.2"
93
93
  },
94
94
  "files": [