@coveo/quantic 3.43.2 → 3.43.4
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/quanticBreadcrumbManager/e2e/data.ts +130 -0
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/fixture.ts +25 -14
- package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/quanticBreadcrumbManager.e2e.ts +57 -16
- package/force-app/main/default/lwc/quanticCardContainer/quanticCardContainer.css +3 -4
- package/force-app/main/default/lwc/quanticCardContainer/quanticCardContainer.html +1 -1
- package/force-app/main/default/lwc/quanticCarousel/quanticCarousel.css +5 -5
- package/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.css +3 -3
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/data.ts +70 -6
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/fixture.ts +17 -13
- package/force-app/main/default/lwc/quanticCategoryFacet/e2e/quanticCategoryFacet.e2e.ts +34 -14
- package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.css +1 -1
- package/force-app/main/default/lwc/quanticCitation/quanticCitation.css +12 -11
- package/force-app/main/default/lwc/quanticDateFacet/e2e/data.ts +24 -4
- package/force-app/main/default/lwc/quanticDateFacet/e2e/fixture.ts +17 -13
- package/force-app/main/default/lwc/quanticDateFacet/e2e/quanticDateFacet.e2e.ts +26 -4
- package/force-app/main/default/lwc/quanticDidYouMean/e2e/fixture.ts +6 -2
- package/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.css +2 -2
- package/force-app/main/default/lwc/quanticFacet/e2e/data.ts +50 -9
- package/force-app/main/default/lwc/quanticFacet/e2e/fixture.ts +18 -13
- package/force-app/main/default/lwc/quanticFacet/e2e/quanticFacet.e2e.ts +43 -9
- package/force-app/main/default/lwc/quanticFacet/quanticFacet.css +1 -1
- package/force-app/main/default/lwc/quanticFacetManager/e2e/data.ts +59 -0
- package/force-app/main/default/lwc/quanticFacetManager/e2e/fixture.ts +26 -15
- package/force-app/main/default/lwc/quanticFacetManager/e2e/quanticFacetManager.e2e.ts +7 -7
- package/force-app/main/default/lwc/quanticFacetStyles/quanticFacetStyles.css +10 -10
- package/force-app/main/default/lwc/quanticFeedbackModalQna/templates/quanticFeedbackModalQna.css +1 -1
- package/force-app/main/default/lwc/quanticFoldedResultList/e2e/fixture.ts +6 -2
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/agentData.ts +32 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/pageObject.ts +6 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/quanticGeneratedAnswerAgent.e2e.ts +66 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswer/quanticGeneratedAnswer.css +1 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.css +3 -3
- package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.html +3 -3
- package/force-app/main/default/lwc/quanticGeneratedAnswerBody/__tests__/quanticGeneratedAnswerBody.test.js +39 -0
- package/force-app/main/default/lwc/quanticGeneratedAnswerBody/quanticGeneratedAnswerBody.js +4 -1
- package/force-app/main/default/lwc/quanticGeneratedAnswerContent/templates/generatedMarkdownContent.css +21 -21
- package/force-app/main/default/lwc/quanticGeneratedAnswerContent/templates/generatedTextContent.css +2 -2
- package/force-app/main/default/lwc/quanticGeneratedAnswerFollowUpInput/quanticGeneratedAnswerFollowUpInput.css +9 -9
- package/force-app/main/default/lwc/quanticGeneratedAnswerStreamOfThought/quanticGeneratedAnswerStreamOfThought.css +2 -2
- package/force-app/main/default/lwc/quanticGeneratedAnswerThread/quanticGeneratedAnswerThread.css +8 -8
- package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.css +2 -1
- package/force-app/main/default/lwc/quanticModal/quanticModal.css +3 -3
- package/force-app/main/default/lwc/quanticNotifications/e2e/fixture.ts +6 -2
- package/force-app/main/default/lwc/quanticNotifications/quanticNotifications.css +2 -2
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/data.ts +24 -4
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/fixture.ts +17 -13
- package/force-app/main/default/lwc/quanticNumericFacet/e2e/quanticNumericFacet.e2e.ts +28 -6
- package/force-app/main/default/lwc/quanticPager/e2e/fixture.ts +3 -3
- package/force-app/main/default/lwc/quanticPager/e2e/quanticPager.e2e.ts +1 -1
- package/force-app/main/default/lwc/quanticPill/quanticPill.css +2 -2
- package/force-app/main/default/lwc/quanticPlaceholder/quanticPlaceholder.css +2 -6
- package/force-app/main/default/lwc/quanticPlaceholder/quanticPlaceholder.html +1 -1
- package/force-app/main/default/lwc/quanticRadioButtonsGroup/quanticRadioButtonsGroup.css +9 -9
- package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/fixture.ts +1 -0
- package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.css +3 -7
- package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.html +1 -1
- package/force-app/main/default/lwc/quanticRecentResultsList/e2e/fixture.ts +1 -0
- package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.css +2 -6
- package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.html +1 -1
- package/force-app/main/default/lwc/quanticRecommendationList/e2e/fixture.ts +1 -0
- package/force-app/main/default/lwc/quanticRecommendationList/quanticRecommendationList.css +1 -1
- package/force-app/main/default/lwc/quanticRefineToggle/quanticRefineToggle.css +4 -4
- package/force-app/main/default/lwc/quanticResultActionStyles/quanticResultActionStyles.css +2 -2
- package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/fixture.ts +5 -2
- package/force-app/main/default/lwc/quanticResultLink/quanticResultLink.css +1 -1
- package/force-app/main/default/lwc/quanticResultList/e2e/fixture.ts +6 -2
- package/force-app/main/default/lwc/quanticResultPrintableUri/quanticResultPrintableUri.css +1 -1
- package/force-app/main/default/lwc/quanticResultQuickview/e2e/fixture.ts +7 -3
- package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.css +6 -6
- package/force-app/main/default/lwc/quanticResultTag/quanticResultTag.css +2 -0
- package/force-app/main/default/lwc/quanticResultTemplate/quanticResultTemplate.css +1 -1
- package/force-app/main/default/lwc/quanticResultsPerPage/e2e/fixture.ts +6 -2
- package/force-app/main/default/lwc/quanticSearchBox/e2e/fixture.ts +3 -1
- package/force-app/main/default/lwc/quanticSearchBoxInput/templates/defaultSearchBoxInput.css +1 -1
- package/force-app/main/default/lwc/quanticSearchBoxInput/templates/expandableSearchBoxInput.css +4 -12
- package/force-app/main/default/lwc/quanticSearchBoxInput/templates/expandableSearchBoxInput.html +2 -2
- package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/fixture.ts +3 -0
- package/force-app/main/default/lwc/quanticSmartSnippet/e2e/fixture.ts +6 -4
- package/force-app/main/default/lwc/quanticSmartSnippetSource/quanticSmartSnippetSource.css +1 -1
- package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/fixture.ts +6 -4
- package/force-app/main/default/lwc/quanticSort/e2e/fixture.ts +3 -2
- package/force-app/main/default/lwc/quanticSort/quanticSort.css +3 -3
- package/force-app/main/default/lwc/quanticSourceCitations/quanticSourceCitations.css +1 -1
- package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/fixture.ts +2 -1
- package/force-app/main/default/lwc/quanticStatefulButton/quanticStatefulButton.css +2 -2
- package/force-app/main/default/lwc/quanticTab/e2e/fixture.ts +6 -2
- package/force-app/main/default/lwc/quanticTabBar/e2e/fixture.ts +6 -2
- package/force-app/main/default/lwc/quanticTabBar/e2e/quanticTabBar.e2e.ts +3 -2
- package/force-app/main/default/lwc/quanticThreadItem/__tests__/quanticThreadItem.test.js +138 -0
- package/force-app/main/default/lwc/quanticThreadItem/quanticThreadItem.css +27 -6
- package/force-app/main/default/lwc/quanticThreadItem/quanticThreadItem.html +10 -2
- package/force-app/main/default/lwc/quanticThreadItem/quanticThreadItem.js +37 -1
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/data.ts +66 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/fixture.ts +20 -4
- package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/quanticTimeframeFacet.e2e.ts +24 -0
- package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.css +1 -1
- package/force-app/main/default/lwc/quanticTooltip/quanticTooltip.css +3 -3
- package/force-app/main/default/lwc/quanticUserAction/quanticUserAction.css +7 -7
- package/force-app/main/default/lwc/quanticUserActionsSession/quanticUserActionsSession.css +3 -3
- package/force-app/main/default/lwc/quanticUserActionsTimeline/templates/userActionsTimeline.css +2 -2
- package/force-app/main/default/lwc/searchBoxStyle/searchBoxStyle.css +10 -10
- package/force-app/main/default/staticresources/coveobueno/browser/bueno.js +1 -3
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +17 -17
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/case-assist-analytics.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/insight-analytics.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/search-analytics.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/engine-configuration.d.ts +34 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-engine/insight-engine.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-thunk-extra-arguments.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-thunk-extra-arguments.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/app/thunk-extra-arguments.d.ts +9 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/case-assist.index.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/commerce.index.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/breadcrumb-manager/headless-breadcrumb-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/sort/headless-core-commerce-sort.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/url-manager/headless-core-url-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-listing/headless-product-listing.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recommendations/headless-recommendations.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/headless-search.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-core-context.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/did-you-mean/headless-core-did-you-mean.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facet-manager/headless-core-facet-manager.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/category-facet/headless-core-category-facet.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/facet/headless-core-facet.d.ts +0 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-facet.d.ts +1 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-filter.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-facet.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-filter.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/folded-result-list/headless-core-folded-result-list.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-generated-answer.d.ts +1 -25
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-searchapi-generated-answer.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/pager/headless-core-pager.d.ts +0 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/query-error/headless-core-query-error.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/recent-queries-list/headless-core-recent-queries-list.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/result-list/headless-core-result-list.d.ts +0 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/results-per-page/headless-core-results-per-page.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/sort/headless-core-sort.d.ts +0 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/status/headless-core-status.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/tab/headless-core-tab.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-notify-trigger.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-query-trigger.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-redirection-trigger.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/dictionary-field-context/headless-dictionary-field-context.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/document-suggestion-list/case-assist-headless-interactive-result.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/automatic-facet-generator/headless-automatic-facet-generator.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/category-facet/headless-category-facet.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/facet/headless-facet.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/field-suggestions/category-facet/headless-category-field-suggestions.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/field-suggestions/facet/headless-field-suggestions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/generated-answer/headless-interactive-citation.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/history-manager/headless-history-manager.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facet-conditions-manager/headless-facet-conditions-manager.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-interactive-citation.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/result-list/headless-insight-interactive-result.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/results-per-page/headless-insight-results-per-page.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/instant-results/instant-results.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-answerapi-generated-answer.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-generated-answer-with-follow-ups.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/pager/headless-pager.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/query-summary/headless-query-summary.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/quickview/headless-quickview.d.ts +1 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-results-list/headless-recent-results-list.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recommendation/headless-recommendation.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recommendation/result-list/headless-recommendation-interactive-result.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/relevance-inspector/headless-relevance-inspector.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/result-list/headless-interactive-result.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/result-list/headless-result-list.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/results-per-page/headless-results-per-page.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-questions-list.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/sort/headless-sort.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/standalone-search-box/headless-standalone-search-box.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/static-filter/headless-static-filter.d.ts +1 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-execute-trigger.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/url-manager/headless-url-manager.d.ts +0 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/analytics-utils.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-analytics-actions.d.ts +4 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/configuration/configuration-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/context-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/category-facet/category-facet-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/insight-folding-actions.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-analytics-client.d.ts +38 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-insight-analytics-actions.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-query-set-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-search-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-set/query-set-actions-loader.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/result/result-insight-analytics-actions.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/index.d.ts +7 -7
- package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/recommendation.index.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce-next.index.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/engine.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next.index.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr.index.d.ts +6 -6
- package/force-app/main/default/staticresources/coveoheadless/headless.js +17 -17
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +16 -16
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +16 -16
- package/package.json +4 -4
|
@@ -9,6 +9,7 @@ const selectors = {
|
|
|
9
9
|
contentWrapper: '[data-testid="thread-item-content"]',
|
|
10
10
|
visibleContent: '[data-testid="thread-item-content"] > div:not([hidden])',
|
|
11
11
|
line: '[data-testid="thread-item-line"]',
|
|
12
|
+
lineColumn: '[data-testid="thread-item-line-column"]',
|
|
12
13
|
dot: '[data-testid="thread-item-dot"]',
|
|
13
14
|
};
|
|
14
15
|
|
|
@@ -87,6 +88,52 @@ describe('c-quantic-thread-item', () => {
|
|
|
87
88
|
const dot = element.shadowRoot.querySelector(selectors.dot);
|
|
88
89
|
expect(dot.className).not.toContain('thread-item__dot--expanded');
|
|
89
90
|
});
|
|
91
|
+
|
|
92
|
+
it('dot has interactive class when collapse is enabled', async () => {
|
|
93
|
+
const element = createTestComponent();
|
|
94
|
+
await flushPromises();
|
|
95
|
+
|
|
96
|
+
const dot = element.shadowRoot.querySelector(selectors.dot);
|
|
97
|
+
expect(dot.className).toContain('thread-item__dot--interactive');
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
it('dot does not have interactive class when disableCollapse is true', async () => {
|
|
101
|
+
const element = createTestComponent({disableCollapse: true});
|
|
102
|
+
await flushPromises();
|
|
103
|
+
|
|
104
|
+
const dot = element.shadowRoot.querySelector(selectors.dot);
|
|
105
|
+
expect(dot.className).not.toContain('thread-item__dot--interactive');
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
it('line column has interactive class when collapse is enabled and line is visible', async () => {
|
|
109
|
+
const element = createTestComponent();
|
|
110
|
+
await flushPromises();
|
|
111
|
+
|
|
112
|
+
const lineColumn = element.shadowRoot.querySelector(selectors.lineColumn);
|
|
113
|
+
expect(lineColumn.className).toContain(
|
|
114
|
+
'thread-item__line-column--interactive'
|
|
115
|
+
);
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
it('line column does not have interactive class when disableCollapse is true', async () => {
|
|
119
|
+
const element = createTestComponent({disableCollapse: true});
|
|
120
|
+
await flushPromises();
|
|
121
|
+
|
|
122
|
+
const lineColumn = element.shadowRoot.querySelector(selectors.lineColumn);
|
|
123
|
+
expect(lineColumn.className).not.toContain(
|
|
124
|
+
'thread-item__line-column--interactive'
|
|
125
|
+
);
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
it('line column does not have interactive class when hideLine is true', async () => {
|
|
129
|
+
const element = createTestComponent({hideLine: true});
|
|
130
|
+
await flushPromises();
|
|
131
|
+
|
|
132
|
+
const lineColumn = element.shadowRoot.querySelector(selectors.lineColumn);
|
|
133
|
+
expect(lineColumn.className).not.toContain(
|
|
134
|
+
'thread-item__line-column--interactive'
|
|
135
|
+
);
|
|
136
|
+
});
|
|
90
137
|
});
|
|
91
138
|
|
|
92
139
|
describe('expanded state', () => {
|
|
@@ -143,6 +190,97 @@ describe('c-quantic-thread-item', () => {
|
|
|
143
190
|
);
|
|
144
191
|
expect(content).toBeNull();
|
|
145
192
|
});
|
|
193
|
+
|
|
194
|
+
it('expands the content when the dot is clicked while collapsed', async () => {
|
|
195
|
+
const element = createTestComponent();
|
|
196
|
+
await flushPromises();
|
|
197
|
+
|
|
198
|
+
element.shadowRoot.querySelector(selectors.dot).click();
|
|
199
|
+
await flushPromises();
|
|
200
|
+
|
|
201
|
+
const content = element.shadowRoot.querySelector(
|
|
202
|
+
selectors.visibleContent
|
|
203
|
+
);
|
|
204
|
+
expect(content).not.toBeNull();
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
it('collapses the content when the dot is clicked while expanded', async () => {
|
|
208
|
+
const element = createTestComponent({isExpanded: true});
|
|
209
|
+
await flushPromises();
|
|
210
|
+
|
|
211
|
+
element.shadowRoot.querySelector(selectors.dot).click();
|
|
212
|
+
await flushPromises();
|
|
213
|
+
|
|
214
|
+
const content = element.shadowRoot.querySelector(
|
|
215
|
+
selectors.visibleContent
|
|
216
|
+
);
|
|
217
|
+
expect(content).toBeNull();
|
|
218
|
+
});
|
|
219
|
+
|
|
220
|
+
it('does not toggle when the dot is clicked and disableCollapse is true', async () => {
|
|
221
|
+
const element = createTestComponent({disableCollapse: true});
|
|
222
|
+
await flushPromises();
|
|
223
|
+
|
|
224
|
+
element.shadowRoot.querySelector(selectors.dot).click();
|
|
225
|
+
await flushPromises();
|
|
226
|
+
|
|
227
|
+
const content = element.shadowRoot.querySelector(
|
|
228
|
+
selectors.visibleContent
|
|
229
|
+
);
|
|
230
|
+
expect(content).not.toBeNull();
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
it('expands the content when the line column is clicked while collapsed', async () => {
|
|
234
|
+
const element = createTestComponent();
|
|
235
|
+
await flushPromises();
|
|
236
|
+
|
|
237
|
+
element.shadowRoot.querySelector(selectors.lineColumn).click();
|
|
238
|
+
await flushPromises();
|
|
239
|
+
|
|
240
|
+
const content = element.shadowRoot.querySelector(
|
|
241
|
+
selectors.visibleContent
|
|
242
|
+
);
|
|
243
|
+
expect(content).not.toBeNull();
|
|
244
|
+
});
|
|
245
|
+
|
|
246
|
+
it('collapses the content when the line column is clicked while expanded', async () => {
|
|
247
|
+
const element = createTestComponent({isExpanded: true});
|
|
248
|
+
await flushPromises();
|
|
249
|
+
|
|
250
|
+
element.shadowRoot.querySelector(selectors.lineColumn).click();
|
|
251
|
+
await flushPromises();
|
|
252
|
+
|
|
253
|
+
const content = element.shadowRoot.querySelector(
|
|
254
|
+
selectors.visibleContent
|
|
255
|
+
);
|
|
256
|
+
expect(content).toBeNull();
|
|
257
|
+
});
|
|
258
|
+
|
|
259
|
+
it('does not toggle when the line column is clicked and disableCollapse is true', async () => {
|
|
260
|
+
const element = createTestComponent({disableCollapse: true});
|
|
261
|
+
await flushPromises();
|
|
262
|
+
|
|
263
|
+
element.shadowRoot.querySelector(selectors.lineColumn).click();
|
|
264
|
+
await flushPromises();
|
|
265
|
+
|
|
266
|
+
const content = element.shadowRoot.querySelector(
|
|
267
|
+
selectors.visibleContent
|
|
268
|
+
);
|
|
269
|
+
expect(content).not.toBeNull();
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
it('does not toggle when the line column is clicked and hideLine is true', async () => {
|
|
273
|
+
const element = createTestComponent({hideLine: true, isExpanded: true});
|
|
274
|
+
await flushPromises();
|
|
275
|
+
|
|
276
|
+
element.shadowRoot.querySelector(selectors.lineColumn).click();
|
|
277
|
+
await flushPromises();
|
|
278
|
+
|
|
279
|
+
const content = element.shadowRoot.querySelector(
|
|
280
|
+
selectors.visibleContent
|
|
281
|
+
);
|
|
282
|
+
expect(content).not.toBeNull();
|
|
283
|
+
});
|
|
146
284
|
});
|
|
147
285
|
|
|
148
286
|
describe('disableCollapse', () => {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
display: grid;
|
|
7
7
|
grid-template-columns: 10px 1fr;
|
|
8
8
|
grid-template-rows: auto 1fr;
|
|
9
|
-
column-gap: var(--lwc-spacingXSmall, 8px);
|
|
9
|
+
column-gap: var(--slds-g-spacing-2, var(--lwc-spacingXSmall, 8px));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.thread-item__timeline {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
.thread-item__dot-column {
|
|
18
18
|
width: 10px;
|
|
19
19
|
height: 1lh;
|
|
20
|
-
margin-block: var(--lwc-spacingXxSmall, 4px);
|
|
20
|
+
margin-block: var(--slds-g-spacing-1, var(--lwc-spacingXxSmall, 4px));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.thread-item__line {
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
flex: 1;
|
|
26
26
|
width: 1px;
|
|
27
27
|
background-color: var(--lwc-colorBorder, #dddbda);
|
|
28
|
+
transition: background-color 0.2s ease;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
.thread-item__line::before,
|
|
@@ -33,8 +34,9 @@
|
|
|
33
34
|
position: absolute;
|
|
34
35
|
left: 0;
|
|
35
36
|
width: 1px;
|
|
36
|
-
height: 8px;
|
|
37
|
+
height: var(--slds-g-sizing-3, 8px);
|
|
37
38
|
background-color: var(--lwc-colorBorder, #dddbda);
|
|
39
|
+
transition: background-color 0.2s ease;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
.thread-item__line::before {
|
|
@@ -45,16 +47,35 @@
|
|
|
45
47
|
bottom: -8px;
|
|
46
48
|
}
|
|
47
49
|
|
|
50
|
+
.thread-item__line-column--interactive {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.thread-item__line-column--interactive:hover .thread-item__line,
|
|
55
|
+
.thread-item__line-column--interactive:hover .thread-item__line::before,
|
|
56
|
+
.thread-item__line-column--interactive:hover .thread-item__line::after {
|
|
57
|
+
background-color: var(--lwc-colorTextDefault, #080707);
|
|
58
|
+
}
|
|
59
|
+
|
|
48
60
|
.thread-item__content {
|
|
49
61
|
grid-column: 2;
|
|
50
62
|
grid-row: 2;
|
|
51
63
|
}
|
|
52
64
|
|
|
53
65
|
.thread-item__dot {
|
|
54
|
-
height: 8px;
|
|
55
|
-
width: 8px;
|
|
66
|
+
height: var(--slds-g-sizing-3, 8px);
|
|
67
|
+
width: var(--slds-g-sizing-3, 8px);
|
|
56
68
|
border-radius: 50%;
|
|
57
69
|
background-color: var(--lwc-colorBorder, #dddbda);
|
|
70
|
+
transition: background-color 0.2s ease;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.thread-item__dot--interactive {
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.thread-item__dot--interactive:hover {
|
|
78
|
+
background-color: var(--lwc-colorTextDefault, #080707);
|
|
58
79
|
}
|
|
59
80
|
|
|
60
81
|
.thread-item__dot--expanded {
|
|
@@ -73,6 +94,6 @@
|
|
|
73
94
|
border-radius: var(--slds-g-radius-border-2, 4px);
|
|
74
95
|
}
|
|
75
96
|
|
|
76
|
-
.thread-item__title-button:hover {
|
|
97
|
+
button.thread-item__title-button:hover {
|
|
77
98
|
background-color: var(--lwc-colorBackgroundRowHover, #f3f2f2);
|
|
78
99
|
}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<li class="thread-item">
|
|
3
3
|
<div class="thread-item__grid">
|
|
4
|
-
<div
|
|
4
|
+
<div
|
|
5
|
+
class={lineColumnClass}
|
|
6
|
+
data-testid="thread-item-line-column"
|
|
7
|
+
onclick={handleLineClick}
|
|
8
|
+
>
|
|
5
9
|
<div
|
|
6
10
|
class="slds-grid slds-grid_align-center slds-grid_vertical-align-center thread-item__dot-column"
|
|
7
11
|
>
|
|
8
|
-
<span
|
|
12
|
+
<span
|
|
13
|
+
class={dotClass}
|
|
14
|
+
data-testid="thread-item-dot"
|
|
15
|
+
onclick={handleDotClick}
|
|
16
|
+
></span>
|
|
9
17
|
</div>
|
|
10
18
|
<template lwc:if={shouldDisplayLine}>
|
|
11
19
|
<span class="thread-item__line" data-testid="thread-item-line"></span>
|
|
@@ -58,6 +58,21 @@ export default class QuanticThreadItem extends LightningElement {
|
|
|
58
58
|
this._isExpanded = !this._isExpanded;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
handleDotClick(event) {
|
|
62
|
+
event.stopPropagation();
|
|
63
|
+
if (this.disableCollapse) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
this._isExpanded = !this._isExpanded;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
handleLineClick() {
|
|
70
|
+
if (this.disableCollapse || this.hideLine) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
this._isExpanded = !this._isExpanded;
|
|
74
|
+
}
|
|
75
|
+
|
|
61
76
|
get shouldDisplayLine() {
|
|
62
77
|
return !this.hideLine;
|
|
63
78
|
}
|
|
@@ -75,6 +90,27 @@ export default class QuanticThreadItem extends LightningElement {
|
|
|
75
90
|
}
|
|
76
91
|
|
|
77
92
|
get dotClass() {
|
|
78
|
-
|
|
93
|
+
const classes = ['thread-item__dot'];
|
|
94
|
+
if (this._isExpanded) {
|
|
95
|
+
classes.push('thread-item__dot--expanded');
|
|
96
|
+
}
|
|
97
|
+
if (!this.disableCollapse) {
|
|
98
|
+
classes.push('thread-item__dot--interactive');
|
|
99
|
+
}
|
|
100
|
+
return classes.join(' ');
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
get lineColumnClass() {
|
|
104
|
+
const classes = [
|
|
105
|
+
'slds-grid',
|
|
106
|
+
'slds-grid_vertical',
|
|
107
|
+
'slds-grid_vertical-align-center',
|
|
108
|
+
'slds-shrink-none',
|
|
109
|
+
'thread-item__timeline',
|
|
110
|
+
];
|
|
111
|
+
if (!this.disableCollapse && !this.hideLine) {
|
|
112
|
+
classes.push('thread-item__line-column--interactive');
|
|
113
|
+
}
|
|
114
|
+
return classes.join(' ');
|
|
79
115
|
}
|
|
80
116
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
const facetId = 'Date';
|
|
2
|
+
const field = 'Date';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Facet response before any value is selected.
|
|
6
|
+
* The values mirror the relative timeframes declared on the exampleQuanticTimeframeFacet.html file
|
|
7
|
+
*/
|
|
8
|
+
export const initialFacetData = {
|
|
9
|
+
facetId,
|
|
10
|
+
field,
|
|
11
|
+
moreValuesAvailable: false,
|
|
12
|
+
values: [
|
|
13
|
+
{
|
|
14
|
+
start: 'now',
|
|
15
|
+
end: 'next-1-year',
|
|
16
|
+
endInclusive: false,
|
|
17
|
+
state: 'idle',
|
|
18
|
+
numberOfResults: 10,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
start: 'past-2-week',
|
|
22
|
+
end: 'now',
|
|
23
|
+
endInclusive: false,
|
|
24
|
+
state: 'idle',
|
|
25
|
+
numberOfResults: 20,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
start: 'past-1-month',
|
|
29
|
+
end: 'now',
|
|
30
|
+
endInclusive: false,
|
|
31
|
+
state: 'idle',
|
|
32
|
+
numberOfResults: 30,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
start: 'past-1-year',
|
|
36
|
+
end: 'now',
|
|
37
|
+
endInclusive: false,
|
|
38
|
+
state: 'idle',
|
|
39
|
+
numberOfResults: 40,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
start: 'past-10-year',
|
|
43
|
+
end: 'now',
|
|
44
|
+
endInclusive: false,
|
|
45
|
+
state: 'idle',
|
|
46
|
+
numberOfResults: 50,
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
indexScore: 0.4,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const [firstRange, ...remainingRanges] = initialFacetData.values;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Facet response after the first value is selected.
|
|
56
|
+
*/
|
|
57
|
+
export const selectedFacetData = {
|
|
58
|
+
...initialFacetData,
|
|
59
|
+
values: [
|
|
60
|
+
{
|
|
61
|
+
...firstRange,
|
|
62
|
+
state: 'selected',
|
|
63
|
+
},
|
|
64
|
+
...remainingRanges,
|
|
65
|
+
],
|
|
66
|
+
};
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
insightSearchRequestRegex,
|
|
7
7
|
} from '../../../../../../playwright/utils/requests';
|
|
8
8
|
import {BaseFacetObject} from '../../../../../../playwright/page-object/baseFacetObject';
|
|
9
|
+
import {initialFacetData} from './data';
|
|
9
10
|
import {facetBase} from '../../../../../../playwright/fixtures/baseFacetFixture';
|
|
10
11
|
|
|
11
12
|
const pageUrl = 's/quantic-timeframe-facet';
|
|
@@ -22,11 +23,20 @@ type QuanticFacetE2EFixtures = {
|
|
|
22
23
|
|
|
23
24
|
export const testSearch = facetBase.extend<QuanticFacetE2EFixtures>({
|
|
24
25
|
options: {withDatePicker: true},
|
|
26
|
+
facetResponses: {responses: [[initialFacetData]]},
|
|
25
27
|
baseFacet: async ({page}, use) => {
|
|
26
28
|
await use(new BaseFacetObject(page, searchRequestRegex));
|
|
27
29
|
},
|
|
28
|
-
facet: async (
|
|
30
|
+
facet: async (
|
|
31
|
+
{page, options, configuration, baseFacet, urlHash, facetResponses},
|
|
32
|
+
use
|
|
33
|
+
) => {
|
|
34
|
+
// search use case: interface auto-triggers a search on load, hence the mockSearchWithBaseResponse call below
|
|
35
|
+
await baseFacet.mockSearchWithBaseResponse();
|
|
29
36
|
await page.goto(`${pageUrl}#${urlHash ? urlHash : ''}`);
|
|
37
|
+
await baseFacet.mockSearchWithFacetResponseSequence(
|
|
38
|
+
facetResponses?.responses
|
|
39
|
+
);
|
|
30
40
|
configuration.configure(options);
|
|
31
41
|
await baseFacet.waitForSearchResponse();
|
|
32
42
|
|
|
@@ -36,6 +46,7 @@ export const testSearch = facetBase.extend<QuanticFacetE2EFixtures>({
|
|
|
36
46
|
|
|
37
47
|
export const testInsight = facetBase.extend<QuanticFacetE2EFixtures>({
|
|
38
48
|
options: {withDatePicker: true},
|
|
49
|
+
facetResponses: {responses: [[initialFacetData]]},
|
|
39
50
|
baseFacet: async ({page}, use) => {
|
|
40
51
|
await use(new BaseFacetObject(page, insightSearchRequestRegex));
|
|
41
52
|
},
|
|
@@ -43,14 +54,19 @@ export const testInsight = facetBase.extend<QuanticFacetE2EFixtures>({
|
|
|
43
54
|
await use(new InsightSetupObject(page));
|
|
44
55
|
},
|
|
45
56
|
facet: async (
|
|
46
|
-
{page, options, baseFacet, configuration, insightSetup},
|
|
57
|
+
{page, options, baseFacet, configuration, insightSetup, facetResponses},
|
|
47
58
|
use
|
|
48
59
|
) => {
|
|
49
60
|
await page.goto(pageUrl);
|
|
61
|
+
await baseFacet.mockSearchWithFacetResponseSequence(
|
|
62
|
+
facetResponses?.responses
|
|
63
|
+
);
|
|
50
64
|
configuration.configure({...options, useCase: useCaseEnum.insight});
|
|
51
65
|
await insightSetup?.waitForInsightInterfaceInitialization();
|
|
52
|
-
await
|
|
53
|
-
|
|
66
|
+
await Promise.all([
|
|
67
|
+
baseFacet.waitForSearchResponse(),
|
|
68
|
+
baseFacet.performSearch(),
|
|
69
|
+
]);
|
|
54
70
|
await use(new TimeframeFacetObject(page));
|
|
55
71
|
},
|
|
56
72
|
});
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
useCaseEnum,
|
|
4
4
|
useCaseTestCases,
|
|
5
5
|
} from '../../../../../../playwright/utils/useCase';
|
|
6
|
+
import {initialFacetData, selectedFacetData} from './data';
|
|
6
7
|
|
|
7
8
|
const fixtures = {
|
|
8
9
|
search: testSearch,
|
|
@@ -15,6 +16,16 @@ useCaseTestCases.forEach((useCase) => {
|
|
|
15
16
|
let test = fixtures[useCase.value];
|
|
16
17
|
test.describe(`quantic timeframe facet ${useCase.label}`, () => {
|
|
17
18
|
test.describe('when selecting and deselecting a facet value', () => {
|
|
19
|
+
test.use({
|
|
20
|
+
facetResponses: {
|
|
21
|
+
responses: [
|
|
22
|
+
[initialFacetData],
|
|
23
|
+
[selectedFacetData],
|
|
24
|
+
[initialFacetData],
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
|
|
18
29
|
test('should trigger a new search and log the corresponding UA analytics events', async ({
|
|
19
30
|
baseFacet,
|
|
20
31
|
facet,
|
|
@@ -59,6 +70,16 @@ useCaseTestCases.forEach((useCase) => {
|
|
|
59
70
|
});
|
|
60
71
|
|
|
61
72
|
test.describe('when selecting a facet value and clicking the clear filter button', () => {
|
|
73
|
+
test.use({
|
|
74
|
+
facetResponses: {
|
|
75
|
+
responses: [
|
|
76
|
+
[initialFacetData],
|
|
77
|
+
[selectedFacetData],
|
|
78
|
+
[initialFacetData],
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
|
|
62
83
|
test('should trigger a new search and log the corresponding UA analytics events', async ({
|
|
63
84
|
baseFacet,
|
|
64
85
|
facet,
|
|
@@ -143,6 +164,9 @@ useCaseTestCases.forEach((useCase) => {
|
|
|
143
164
|
const yesterdayDate = date.toISOString().slice(0, 10);
|
|
144
165
|
test.use({
|
|
145
166
|
urlHash: `df-${exampleField}=${yesterdayDate.replaceAll('-', '/')}@00:00:00..${todayDate.replaceAll('-', '/')}@23:59:59`,
|
|
167
|
+
facetResponses: {
|
|
168
|
+
responses: [],
|
|
169
|
+
},
|
|
146
170
|
});
|
|
147
171
|
|
|
148
172
|
test('should select the correct facet value', async ({facet}) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@import 'c/quanticFacetStyles';
|
|
2
2
|
|
|
3
3
|
.timeframe-facet__input-label {
|
|
4
|
-
color: var(--lwc-colorTextPlaceholder, var(--lwc-colorTextIconDefault, #747474));
|
|
4
|
+
color: var(--slds-g-color-on-surface-1, var(--lwc-colorTextPlaceholder, var(--lwc-colorTextIconDefault, #747474)));
|
|
5
5
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.tooltip__arrow--light {
|
|
40
|
-
background-color: var(--lwc-colorBackgroundAlt, rgb(255, 255, 255));
|
|
40
|
+
background-color: var(--slds-g-color-surface-1, var(--lwc-colorBackgroundAlt, rgb(255, 255, 255)));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.tooltip__arrow--positioned-above {
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
.tooltip__nubbin--bottom:before,
|
|
65
65
|
.tooltip__nubbin--bottom:after {
|
|
66
66
|
clip-path: polygon(100% 0, 0% 100%, 100% 100%);
|
|
67
|
-
border: solid 0.5px rgba(0, 0, 0, 0.16);
|
|
67
|
+
border: solid 0.5px var(--slds-g-color-border-1, rgba(0, 0, 0, 0.16));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.tooltip__nubbin--top:before,
|
|
71
71
|
.tooltip__nubbin--top:after {
|
|
72
72
|
clip-path: polygon(100% 0, 0 0, 0 100%);
|
|
73
|
-
border: solid 0.5px rgba(0, 0, 0, 0.16);
|
|
73
|
+
border: solid 0.5px var(--slds-g-color-border-1, rgba(0, 0, 0, 0.16));
|
|
74
74
|
}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
.user-action__separator {
|
|
7
7
|
width: 0.125rem;
|
|
8
|
-
height: 1.75rem;
|
|
9
|
-
background-color: var(--lwc-colorTextIconDefault, #747474);
|
|
10
|
-
border-radius: var(--lwc-borderRadiusMedium, 0.25rem);
|
|
8
|
+
height: var(--slds-g-sizing-8, 1.75rem);
|
|
9
|
+
background-color: var(--slds-g-color-on-surface-1, var(--lwc-colorTextIconDefault, #747474));
|
|
10
|
+
border-radius: var(--slds-g-radius-border-2, var(--lwc-borderRadiusMedium, 0.25rem));
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.user-action__title {
|
|
14
|
-
color: #1a1b1e;
|
|
14
|
+
color: var(--slds-g-color-on-surface-3, #1a1b1e);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.user-action__ticket-creation-title {
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
|
|
21
21
|
.user-action__custom-action-icon,
|
|
22
22
|
.user-action__search-action-icon {
|
|
23
|
-
--slds-c-icon-color-foreground-default: #1a1b1e;
|
|
23
|
+
--slds-c-icon-color-foreground-default: var(--slds-g-color-on-surface-3, #1a1b1e);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.user-action__click-action-icon,
|
|
27
27
|
.user-action__view-action-icon {
|
|
28
|
-
--slds-c-icon-color-foreground-default: var(--lwc-colorBrandDark, #0176d3);
|
|
28
|
+
--slds-c-icon-color-foreground-default: var(--slds-g-color-accent-2, var(--lwc-colorBrandDark, #0176d3));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.user-action__ticket-creation-icon {
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
|
|
35
35
|
.user-action__details {
|
|
36
36
|
font-weight: var(--lwc-fontWeightRegular, 400);
|
|
37
|
-
color: var(--lwc-colorTextPlaceholder, #747474);
|
|
37
|
+
color: var(--slds-g-color-on-surface-1, var(--lwc-colorTextPlaceholder, #747474));
|
|
38
38
|
font-size: var(--slds-g-font-scale-neg-2, 10px);
|
|
39
39
|
}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.session-start__icon-container {
|
|
6
|
-
background-color: orange;
|
|
6
|
+
background-color: var(--slds-g-color-warning-base-50, orange);
|
|
7
7
|
border-radius: var(--lwc-borderRadiusCircle, 50%);
|
|
8
|
-
width: 24px;
|
|
9
|
-
height: 24px;
|
|
8
|
+
width: var(--slds-g-sizing-7, 24px);
|
|
9
|
+
height: var(--slds-g-sizing-7, 24px);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.session__show-more-actions-button {
|
package/force-app/main/default/lwc/quanticUserActionsTimeline/templates/userActionsTimeline.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.timeline__separator {
|
|
2
2
|
height: 1px;
|
|
3
|
-
background-color: var(--lwc-brandDisabled, #c9c7c5);
|
|
4
|
-
border-radius: var(--lwc-borderRadiusMedium, 0.25rem);
|
|
3
|
+
background-color: var(--slds-g-color-disabled-1, var(--lwc-brandDisabled, #c9c7c5));
|
|
4
|
+
border-radius: var(--slds-g-radius-border-2, var(--lwc-borderRadiusMedium, 0.25rem));
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.timeline__show-following-sessions-button,
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
.searchbox__container {
|
|
4
4
|
display: flex;
|
|
5
5
|
position: relative;
|
|
6
|
-
border-color: #e5e8e8;
|
|
7
|
-
min-height: 48px;
|
|
6
|
+
border-color: var(--slds-g-color-border-1, #e5e8e8);
|
|
7
|
+
min-height: var(--slds-g-sizing-10, 48px);
|
|
8
8
|
box-sizing: border-box;
|
|
9
|
-
border-radius: 0.25rem;
|
|
9
|
+
border-radius: var(--slds-g-radius-border-2, 0.25rem);
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.searchbox__input {
|
|
14
14
|
display: flex;
|
|
15
|
-
border-radius: 0.25rem;
|
|
16
|
-
border-bottom-left-radius: 0.25rem;
|
|
15
|
+
border-radius: var(--slds-g-radius-border-2, 0.25rem);
|
|
16
|
+
border-bottom-left-radius: var(--slds-g-radius-border-2, 0.25rem);
|
|
17
17
|
position: relative;
|
|
18
|
-
height: 48px;
|
|
18
|
+
height: var(--slds-g-sizing-10, 48px);
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
.searchbox__submit-button {
|
|
29
29
|
width: 46.75px;
|
|
30
30
|
border-radius: 0;
|
|
31
|
-
height: 48px;
|
|
31
|
+
height: var(--slds-g-sizing-10, 48px);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.searchbox__submit-button:focus {
|
|
35
35
|
border: none;
|
|
36
|
-
border-top-right-radius: 0.25rem;
|
|
37
|
-
border-bottom-right-radius: 0.25rem;
|
|
36
|
+
border-top-right-radius: var(--slds-g-radius-border-2, 0.25rem);
|
|
37
|
+
border-bottom-right-radius: var(--slds-g-radius-border-2, 0.25rem);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.searchbox__icon-container {
|
|
41
|
-
height: 48px;
|
|
41
|
+
height: var(--slds-g-sizing-10, 48px);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.searchbox__clear-button {
|
|
@@ -383,9 +383,7 @@ var EnumValue = class {
|
|
|
383
383
|
if (isUndefined(value)) {
|
|
384
384
|
return null;
|
|
385
385
|
}
|
|
386
|
-
const valueInEnum = Object.values(this.config.enum).find(
|
|
387
|
-
(enumValue) => enumValue === value
|
|
388
|
-
);
|
|
386
|
+
const valueInEnum = Object.values(this.config.enum).find((enumValue) => enumValue === value);
|
|
389
387
|
if (!valueInEnum) {
|
|
390
388
|
return "value is not in enum.";
|
|
391
389
|
}
|