@empathyco/x-components 9.3.1 → 9.3.2
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/CHANGELOG.md +7 -0
- package/core/index.js +3 -1
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-components.aicarousel.md +2 -2
- package/docs/API-reference/api/x-components.basecolumnpickerdropdown.md +2 -2
- package/docs/API-reference/api/x-components.basecolumnpickerlist.md +2 -2
- package/docs/API-reference/api/x-components.basedropdown.md +2 -2
- package/docs/API-reference/api/x-components.baseeventsmodalclose.md +2 -2
- package/docs/API-reference/api/x-components.baseeventsmodalopen.md +2 -2
- package/docs/API-reference/api/x-components.basemodal.md +2 -2
- package/docs/API-reference/api/x-components.clearhistoryqueries.md +2 -2
- package/docs/API-reference/api/x-components.deepmergewithdefaults.md +85 -0
- package/docs/API-reference/api/x-components.editablenumberrangefilter.md +2 -2
- package/docs/API-reference/api/x-components.facets.md +2 -2
- package/docs/API-reference/api/x-components.filterssearch.md +2 -2
- package/docs/API-reference/api/x-components.historyqueriesswitch.md +2 -2
- package/docs/API-reference/api/x-components.historyquery.md +2 -2
- package/docs/API-reference/api/x-components.md +30 -0
- package/docs/API-reference/api/x-components.pageloaderbutton.md +2 -2
- package/docs/API-reference/api/x-components.pageselector.md +2 -2
- package/docs/API-reference/api/x-components.removehistoryquery.md +2 -2
- package/docs/API-reference/api/x-components.scrolltotop.md +2 -2
- package/docs/API-reference/api/x-components.searchinput.md +2 -2
- package/docs/API-reference/api/x-components.sliderfilter.md +2 -2
- package/docs/API-reference/api/x-components.sortdropdown.md +2 -2
- package/docs/API-reference/api/x-components.useaccessibilitylabels.md +72 -0
- package/js/components/base-dropdown.vue.js.map +1 -1
- package/js/components/base-dropdown.vue2.js +11 -4
- package/js/components/base-dropdown.vue2.js.map +1 -1
- package/js/components/base-keyboard-navigation.vue2.js +1 -0
- package/js/components/base-keyboard-navigation.vue2.js.map +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-dropdown.vue2.js +10 -3
- package/js/components/column-picker/base-column-picker-dropdown.vue2.js.map +1 -1
- package/js/components/column-picker/base-column-picker-list.vue.js.map +1 -1
- package/js/components/column-picker/base-column-picker-list.vue2.js +10 -3
- package/js/components/column-picker/base-column-picker-list.vue2.js.map +1 -1
- package/js/components/display-click-provider.vue.js +2 -1
- package/js/components/display-click-provider.vue.js.map +1 -1
- package/js/components/highlight.vue2.js +1 -0
- package/js/components/highlight.vue2.js.map +1 -1
- package/js/components/modals/base-events-modal-close.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-close.vue2.js +10 -3
- package/js/components/modals/base-events-modal-close.vue2.js.map +1 -1
- package/js/components/modals/base-events-modal-open.vue.js.map +1 -1
- package/js/components/modals/base-events-modal-open.vue2.js +10 -3
- package/js/components/modals/base-events-modal-open.vue2.js.map +1 -1
- package/js/components/modals/base-id-modal-close.vue2.js +2 -1
- package/js/components/modals/base-id-modal-close.vue2.js.map +1 -1
- package/js/components/modals/base-id-modal-open.vue2.js +2 -1
- package/js/components/modals/base-id-modal-open.vue2.js.map +1 -1
- package/js/components/modals/base-id-modal.vue2.js +2 -1
- package/js/components/modals/base-id-modal.vue2.js.map +1 -1
- package/js/components/modals/base-modal.vue.js.map +1 -1
- package/js/components/modals/base-modal.vue2.js +3 -3
- package/js/components/modals/base-modal.vue2.js.map +1 -1
- package/js/components/page-loader-button.vue.js.map +1 -1
- package/js/components/page-loader-button.vue2.js +3 -3
- package/js/components/page-loader-button.vue2.js.map +1 -1
- package/js/components/page-selector.vue.js.map +1 -1
- package/js/components/page-selector.vue2.js +3 -3
- package/js/components/page-selector.vue2.js.map +1 -1
- package/js/components/panels/base-id-toggle-panel-button.vue2.js +1 -0
- package/js/components/panels/base-id-toggle-panel-button.vue2.js.map +1 -1
- package/js/components/panels/base-id-toggle-panel.vue2.js +2 -1
- package/js/components/panels/base-id-toggle-panel.vue2.js.map +1 -1
- package/js/components/result/base-result-link.vue2.js +2 -1
- package/js/components/result/base-result-link.vue2.js.map +1 -1
- package/js/components/result/base-result-rating.vue2.js +2 -1
- package/js/components/result/base-result-rating.vue2.js.map +1 -1
- package/js/components/sort/sort-dropdown.vue.js.map +1 -1
- package/js/components/sort/sort-dropdown.vue2.js +10 -3
- package/js/components/sort/sort-dropdown.vue2.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue2.js +1 -0
- package/js/components/suggestions/base-suggestion.vue2.js.map +1 -1
- package/js/composables/use-accessibility-labels.js +40 -0
- package/js/composables/use-accessibility-labels.js.map +1 -0
- package/js/index.js +3 -1
- package/js/index.js.map +1 -1
- package/js/utils/accessibility.js +1 -19
- package/js/utils/accessibility.js.map +1 -1
- package/js/utils/deep-merge-with-defaults.js +47 -0
- package/js/utils/deep-merge-with-defaults.js.map +1 -0
- package/js/x-installer/x-installer.js +0 -4
- package/js/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/ai/components/ai-carousel.vue.js.map +1 -1
- package/js/x-modules/ai/components/ai-carousel.vue2.js +3 -3
- package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
- package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js +1 -0
- package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue2.js +2 -2
- package/js/x-modules/facets/components/facets/facets-provider.vue2.js +1 -0
- package/js/x-modules/facets/components/facets/facets-provider.vue2.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue2.js +9 -3
- package/js/x-modules/facets/components/facets/facets.vue2.js.map +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js +3 -3
- package/js/x-modules/facets/components/filters/editable-number-range-filter.vue2.js.map +1 -1
- package/js/x-modules/facets/components/filters/slider-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/slider-filter.vue2.js +3 -3
- package/js/x-modules/facets/components/filters/slider-filter.vue2.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-search.vue.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-search.vue2.js +10 -3
- package/js/x-modules/facets/components/lists/filters-search.vue2.js.map +1 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js +1 -0
- package/js/x-modules/facets/components/lists/sorted-filters.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/clear-history-queries.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/clear-history-queries.vue2.js +10 -3
- package/js/x-modules/history-queries/components/clear-history-queries.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries-switch.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-queries-switch.vue2.js +10 -3
- package/js/x-modules/history-queries/components/history-queries-switch.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/history-query.vue2.js +10 -3
- package/js/x-modules/history-queries/components/history-query.vue2.js.map +1 -1
- package/js/x-modules/history-queries/components/remove-history-query.vue.js.map +1 -1
- package/js/x-modules/history-queries/components/remove-history-query.vue2.js +10 -3
- package/js/x-modules/history-queries/components/remove-history-query.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-list.vue2.js +1 -0
- package/js/x-modules/queries-preview/components/query-preview-list.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview.vue2.js +2 -2
- package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js +1 -0
- package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js.map +1 -1
- package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js +1 -0
- package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js.map +1 -1
- package/js/x-modules/recommendations/components/recommendations.vue2.js +1 -0
- package/js/x-modules/recommendations/components/recommendations.vue2.js.map +1 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js +2 -1
- package/js/x-modules/related-prompts/components/related-prompts-tag-list.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js +3 -3
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
- package/js/x-modules/search/wiring.js +1 -0
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue2.js +11 -4
- package/js/x-modules/search-box/components/search-input.vue2.js.map +1 -1
- package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js +1 -0
- package/js/x-modules/semantic-queries/components/semantic-queries.vue2.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +401 -40
- package/report/x-components.api.md +46 -43
- package/types/src/components/base-dropdown.vue.d.ts +2 -2
- package/types/src/components/column-picker/base-column-picker-dropdown.vue.d.ts +2 -2
- package/types/src/components/column-picker/base-column-picker-dropdown.vue.d.ts.map +1 -1
- package/types/src/components/column-picker/base-column-picker-list.vue.d.ts +2 -2
- package/types/src/components/column-picker/base-column-picker-list.vue.d.ts.map +1 -1
- package/types/src/components/modals/base-events-modal-close.vue.d.ts +2 -2
- package/types/src/components/modals/base-events-modal-close.vue.d.ts.map +1 -1
- package/types/src/components/modals/base-events-modal-open.vue.d.ts +2 -2
- package/types/src/components/modals/base-events-modal-open.vue.d.ts.map +1 -1
- package/types/src/components/modals/base-modal.vue.d.ts +2 -2
- package/types/src/components/modals/base-modal.vue.d.ts.map +1 -1
- package/types/src/components/page-loader-button.vue.d.ts +2 -2
- package/types/src/components/page-loader-button.vue.d.ts.map +1 -1
- package/types/src/components/page-selector.vue.d.ts +2 -2
- package/types/src/components/page-selector.vue.d.ts.map +1 -1
- package/types/src/components/sort/sort-dropdown.vue.d.ts +2 -2
- package/types/src/components/sort/sort-dropdown.vue.d.ts.map +1 -1
- package/types/src/composables/index.d.ts +1 -0
- package/types/src/composables/index.d.ts.map +1 -1
- package/types/src/composables/use-accessibility-labels.d.ts +31 -0
- package/types/src/composables/use-accessibility-labels.d.ts.map +1 -0
- package/types/src/utils/accessibility.d.ts +0 -10
- package/types/src/utils/accessibility.d.ts.map +1 -1
- package/types/src/utils/deep-merge-with-defaults.d.ts +28 -0
- package/types/src/utils/deep-merge-with-defaults.d.ts.map +1 -0
- package/types/src/utils/index.d.ts +1 -0
- package/types/src/utils/index.d.ts.map +1 -1
- package/types/src/x-installer/x-installer.d.ts.map +1 -1
- package/types/src/x-modules/ai/components/ai-carousel.vue.d.ts +2 -2
- package/types/src/x-modules/ai/components/ai-carousel.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/facets/facets.vue.d.ts +2 -2
- package/types/src/x-modules/facets/components/facets/facets.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts +2 -2
- package/types/src/x-modules/facets/components/filters/editable-number-range-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/filters/slider-filter.vue.d.ts +2 -2
- package/types/src/x-modules/facets/components/filters/slider-filter.vue.d.ts.map +1 -1
- package/types/src/x-modules/facets/components/lists/filters-search.vue.d.ts +2 -2
- package/types/src/x-modules/facets/components/lists/filters-search.vue.d.ts.map +1 -1
- package/types/src/x-modules/history-queries/components/clear-history-queries.vue.d.ts +2 -2
- package/types/src/x-modules/history-queries/components/clear-history-queries.vue.d.ts.map +1 -1
- package/types/src/x-modules/history-queries/components/history-queries-switch.vue.d.ts +2 -2
- package/types/src/x-modules/history-queries/components/history-queries-switch.vue.d.ts.map +1 -1
- package/types/src/x-modules/history-queries/components/history-query.vue.d.ts +2 -2
- package/types/src/x-modules/history-queries/components/history-query.vue.d.ts.map +1 -1
- package/types/src/x-modules/history-queries/components/remove-history-query.vue.d.ts +2 -2
- package/types/src/x-modules/history-queries/components/remove-history-query.vue.d.ts.map +1 -1
- package/types/src/x-modules/scroll/components/scroll-to-top.vue.d.ts +2 -2
- package/types/src/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +1 -1
- package/types/src/x-modules/search-box/components/search-input.vue.d.ts +2 -2
- package/types/src/x-modules/search-box/components/search-input.vue.d.ts.map +1 -1
|
@@ -1138,7 +1138,16 @@
|
|
|
1138
1138
|
},
|
|
1139
1139
|
{
|
|
1140
1140
|
"kind": "Content",
|
|
1141
|
-
"text": ";\n default: boolean;\n };\n}>, {\n ariaLabels:
|
|
1141
|
+
"text": ";\n default: boolean;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "Reference",
|
|
1145
|
+
"text": "ComputedRef",
|
|
1146
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"kind": "Content",
|
|
1150
|
+
"text": "<{\n expand?: string;\n collapse?: string;\n }>;\n emptyTaggingRequest: "
|
|
1142
1151
|
},
|
|
1143
1152
|
{
|
|
1144
1153
|
"kind": "Reference",
|
|
@@ -1471,7 +1480,7 @@
|
|
|
1471
1480
|
"name": "AiCarousel",
|
|
1472
1481
|
"variableTypeTokenRange": {
|
|
1473
1482
|
"startIndex": 1,
|
|
1474
|
-
"endIndex":
|
|
1483
|
+
"endIndex": 90
|
|
1475
1484
|
}
|
|
1476
1485
|
},
|
|
1477
1486
|
{
|
|
@@ -5927,7 +5936,16 @@
|
|
|
5927
5936
|
},
|
|
5928
5937
|
{
|
|
5929
5938
|
"kind": "Content",
|
|
5930
|
-
"text": ">;\n}>, {\n ariaLabels:
|
|
5939
|
+
"text": ">;\n}>, {\n ariaLabels: import(\"vue\")."
|
|
5940
|
+
},
|
|
5941
|
+
{
|
|
5942
|
+
"kind": "Reference",
|
|
5943
|
+
"text": "ComputedRef",
|
|
5944
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
5945
|
+
},
|
|
5946
|
+
{
|
|
5947
|
+
"kind": "Content",
|
|
5948
|
+
"text": "<{\n dropdown?: string;\n }>;\n emitEvents: (column: number) => void;\n hasToggleSlot: boolean;\n selectedColumns: import(\"vue\")."
|
|
5931
5949
|
},
|
|
5932
5950
|
{
|
|
5933
5951
|
"kind": "Reference",
|
|
@@ -6053,7 +6071,7 @@
|
|
|
6053
6071
|
"name": "BaseColumnPickerDropdown",
|
|
6054
6072
|
"variableTypeTokenRange": {
|
|
6055
6073
|
"startIndex": 1,
|
|
6056
|
-
"endIndex":
|
|
6074
|
+
"endIndex": 42
|
|
6057
6075
|
}
|
|
6058
6076
|
},
|
|
6059
6077
|
{
|
|
@@ -6112,7 +6130,16 @@
|
|
|
6112
6130
|
},
|
|
6113
6131
|
{
|
|
6114
6132
|
"kind": "Content",
|
|
6115
|
-
"text": ";\n}>, {\n ariaLabels:
|
|
6133
|
+
"text": ";\n}>, {\n ariaLabels: import(\"vue\")."
|
|
6134
|
+
},
|
|
6135
|
+
{
|
|
6136
|
+
"kind": "Reference",
|
|
6137
|
+
"text": "ComputedRef",
|
|
6138
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
6139
|
+
},
|
|
6140
|
+
{
|
|
6141
|
+
"kind": "Content",
|
|
6142
|
+
"text": "<{\n button?: (page: number) => string;\n }>;\n columnsWithCssClasses: import(\"vue\")."
|
|
6116
6143
|
},
|
|
6117
6144
|
{
|
|
6118
6145
|
"kind": "Reference",
|
|
@@ -6238,7 +6265,7 @@
|
|
|
6238
6265
|
"name": "BaseColumnPickerList",
|
|
6239
6266
|
"variableTypeTokenRange": {
|
|
6240
6267
|
"startIndex": 1,
|
|
6241
|
-
"endIndex":
|
|
6268
|
+
"endIndex": 40
|
|
6242
6269
|
}
|
|
6243
6270
|
},
|
|
6244
6271
|
{
|
|
@@ -6572,7 +6599,16 @@
|
|
|
6572
6599
|
},
|
|
6573
6600
|
{
|
|
6574
6601
|
"kind": "Content",
|
|
6575
|
-
"text": ";\n default: number;\n };\n}>, {\n ariaLabels:
|
|
6602
|
+
"text": ";\n default: number;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
6603
|
+
},
|
|
6604
|
+
{
|
|
6605
|
+
"kind": "Reference",
|
|
6606
|
+
"text": "ComputedRef",
|
|
6607
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
6608
|
+
},
|
|
6609
|
+
{
|
|
6610
|
+
"kind": "Content",
|
|
6611
|
+
"text": "<{\n toggleButton?: string;\n }>;\n hasToggleSlot: boolean;\n closeAndFocusToggleButton: () => void;\n dropdownCSSClasses: import(\"vue\")."
|
|
6576
6612
|
},
|
|
6577
6613
|
{
|
|
6578
6614
|
"kind": "Reference",
|
|
@@ -6887,7 +6923,7 @@
|
|
|
6887
6923
|
"name": "BaseDropdown",
|
|
6888
6924
|
"variableTypeTokenRange": {
|
|
6889
6925
|
"startIndex": 1,
|
|
6890
|
-
"endIndex":
|
|
6926
|
+
"endIndex": 94
|
|
6891
6927
|
}
|
|
6892
6928
|
},
|
|
6893
6929
|
{
|
|
@@ -7604,7 +7640,16 @@
|
|
|
7604
7640
|
},
|
|
7605
7641
|
{
|
|
7606
7642
|
"kind": "Content",
|
|
7607
|
-
"text": ", void>>;\n default: string;\n };\n}>, {\n ariaLabels:
|
|
7643
|
+
"text": ", void>>;\n default: string;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
7644
|
+
},
|
|
7645
|
+
{
|
|
7646
|
+
"kind": "Reference",
|
|
7647
|
+
"text": "ComputedRef",
|
|
7648
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
7649
|
+
},
|
|
7650
|
+
{
|
|
7651
|
+
"kind": "Content",
|
|
7652
|
+
"text": "<{\n button?: string;\n }>;\n events: import(\"vue\")."
|
|
7608
7653
|
},
|
|
7609
7654
|
{
|
|
7610
7655
|
"kind": "Reference",
|
|
@@ -7739,7 +7784,7 @@
|
|
|
7739
7784
|
"name": "BaseEventsModalClose",
|
|
7740
7785
|
"variableTypeTokenRange": {
|
|
7741
7786
|
"startIndex": 1,
|
|
7742
|
-
"endIndex":
|
|
7787
|
+
"endIndex": 42
|
|
7743
7788
|
}
|
|
7744
7789
|
},
|
|
7745
7790
|
{
|
|
@@ -7798,7 +7843,16 @@
|
|
|
7798
7843
|
},
|
|
7799
7844
|
{
|
|
7800
7845
|
"kind": "Content",
|
|
7801
|
-
"text": ", void>>;\n default: string;\n };\n}>, {\n ariaLabels:
|
|
7846
|
+
"text": ", void>>;\n default: string;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
7847
|
+
},
|
|
7848
|
+
{
|
|
7849
|
+
"kind": "Reference",
|
|
7850
|
+
"text": "ComputedRef",
|
|
7851
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
7852
|
+
},
|
|
7853
|
+
{
|
|
7854
|
+
"kind": "Content",
|
|
7855
|
+
"text": "<{\n button?: string;\n }>;\n events: import(\"vue\")."
|
|
7802
7856
|
},
|
|
7803
7857
|
{
|
|
7804
7858
|
"kind": "Reference",
|
|
@@ -7933,7 +7987,7 @@
|
|
|
7933
7987
|
"name": "BaseEventsModalOpen",
|
|
7934
7988
|
"variableTypeTokenRange": {
|
|
7935
7989
|
"startIndex": 1,
|
|
7936
|
-
"endIndex":
|
|
7990
|
+
"endIndex": 42
|
|
7937
7991
|
}
|
|
7938
7992
|
},
|
|
7939
7993
|
{
|
|
@@ -9850,7 +9904,16 @@
|
|
|
9850
9904
|
},
|
|
9851
9905
|
{
|
|
9852
9906
|
"kind": "Content",
|
|
9853
|
-
"text": ";\n}>, {\n ariaLabels:
|
|
9907
|
+
"text": ";\n}>, {\n ariaLabels: import(\"vue\")."
|
|
9908
|
+
},
|
|
9909
|
+
{
|
|
9910
|
+
"kind": "Reference",
|
|
9911
|
+
"text": "ComputedRef",
|
|
9912
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
9913
|
+
},
|
|
9914
|
+
{
|
|
9915
|
+
"kind": "Content",
|
|
9916
|
+
"text": "<{\n modal?: string;\n }>;\n emitOverlayClicked: (event: "
|
|
9854
9917
|
},
|
|
9855
9918
|
{
|
|
9856
9919
|
"kind": "Reference",
|
|
@@ -10147,7 +10210,7 @@
|
|
|
10147
10210
|
"name": "BaseModal",
|
|
10148
10211
|
"variableTypeTokenRange": {
|
|
10149
10212
|
"startIndex": 1,
|
|
10150
|
-
"endIndex":
|
|
10213
|
+
"endIndex": 98
|
|
10151
10214
|
}
|
|
10152
10215
|
},
|
|
10153
10216
|
{
|
|
@@ -19009,7 +19072,16 @@
|
|
|
19009
19072
|
},
|
|
19010
19073
|
{
|
|
19011
19074
|
"kind": "Content",
|
|
19012
|
-
"text": "<{}, {\n ariaLabels:
|
|
19075
|
+
"text": "<{}, {\n ariaLabels: import(\"vue\")."
|
|
19076
|
+
},
|
|
19077
|
+
{
|
|
19078
|
+
"kind": "Reference",
|
|
19079
|
+
"text": "ComputedRef",
|
|
19080
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
19081
|
+
},
|
|
19082
|
+
{
|
|
19083
|
+
"kind": "Content",
|
|
19084
|
+
"text": "<{\n button?: string;\n }>;\n dynamicClasses: import(\"vue\")."
|
|
19013
19085
|
},
|
|
19014
19086
|
{
|
|
19015
19087
|
"kind": "Reference",
|
|
@@ -19126,7 +19198,7 @@
|
|
|
19126
19198
|
"name": "ClearHistoryQueries",
|
|
19127
19199
|
"variableTypeTokenRange": {
|
|
19128
19200
|
"startIndex": 1,
|
|
19129
|
-
"endIndex":
|
|
19201
|
+
"endIndex": 30
|
|
19130
19202
|
}
|
|
19131
19203
|
},
|
|
19132
19204
|
{
|
|
@@ -21877,6 +21949,93 @@
|
|
|
21877
21949
|
],
|
|
21878
21950
|
"name": "deepFlat"
|
|
21879
21951
|
},
|
|
21952
|
+
{
|
|
21953
|
+
"kind": "Function",
|
|
21954
|
+
"canonicalReference": "@empathyco/x-components!deepMergeWithDefaults:function(1)",
|
|
21955
|
+
"docComment": "/**\n * Deeply merges `overrides` onto `defaults` at any depth, so nested objects can be overridden partially without losing the rest of the default configuration:\n *\n * - The keys of `defaults` define the shape of the result: keys that do not exist in `defaults` are ignored. - An `undefined` entry in `overrides` keeps the default value. - When both the default and the override are plain objects, they are merged recursively. - Any other value (string, function, array, `null`...) in `overrides` replaces the default.\n *\n * Neither input is mutated.\n *\n * @param defaults - The base object. It provides the result shape and the fallback values.\n *\n * @param overrides - The values that win over the defaults at each leaf.\n *\n * @returns A new object with the same shape as `defaults`.\n *\n * @example\n * ```ts\n * const defaults = { a: { b: { c: 1, d: 2 }, e: 'keep' }, f: () => 'x' }\n * deepMergeWithDefaults(defaults, { a: { b: { c: 10 } } })\n * // → { a: { b: { c: 10, d: 2 }, e: 'keep' }, f: () => 'x' }\n * ```\n *\n * @public\n */\n",
|
|
21956
|
+
"excerptTokens": [
|
|
21957
|
+
{
|
|
21958
|
+
"kind": "Content",
|
|
21959
|
+
"text": "export declare function deepMergeWithDefaults<T extends "
|
|
21960
|
+
},
|
|
21961
|
+
{
|
|
21962
|
+
"kind": "Content",
|
|
21963
|
+
"text": "object"
|
|
21964
|
+
},
|
|
21965
|
+
{
|
|
21966
|
+
"kind": "Content",
|
|
21967
|
+
"text": ">(defaults: "
|
|
21968
|
+
},
|
|
21969
|
+
{
|
|
21970
|
+
"kind": "Content",
|
|
21971
|
+
"text": "T"
|
|
21972
|
+
},
|
|
21973
|
+
{
|
|
21974
|
+
"kind": "Content",
|
|
21975
|
+
"text": ", overrides?: "
|
|
21976
|
+
},
|
|
21977
|
+
{
|
|
21978
|
+
"kind": "Reference",
|
|
21979
|
+
"text": "DeepPartial",
|
|
21980
|
+
"canonicalReference": "@empathyco/x-utils!DeepPartial:type"
|
|
21981
|
+
},
|
|
21982
|
+
{
|
|
21983
|
+
"kind": "Content",
|
|
21984
|
+
"text": "<T>"
|
|
21985
|
+
},
|
|
21986
|
+
{
|
|
21987
|
+
"kind": "Content",
|
|
21988
|
+
"text": "): "
|
|
21989
|
+
},
|
|
21990
|
+
{
|
|
21991
|
+
"kind": "Content",
|
|
21992
|
+
"text": "T"
|
|
21993
|
+
},
|
|
21994
|
+
{
|
|
21995
|
+
"kind": "Content",
|
|
21996
|
+
"text": ";"
|
|
21997
|
+
}
|
|
21998
|
+
],
|
|
21999
|
+
"fileUrlPath": "src/utils/deep-merge-with-defaults.ts",
|
|
22000
|
+
"returnTypeTokenRange": {
|
|
22001
|
+
"startIndex": 8,
|
|
22002
|
+
"endIndex": 9
|
|
22003
|
+
},
|
|
22004
|
+
"releaseTag": "Public",
|
|
22005
|
+
"overloadIndex": 1,
|
|
22006
|
+
"parameters": [
|
|
22007
|
+
{
|
|
22008
|
+
"parameterName": "defaults",
|
|
22009
|
+
"parameterTypeTokenRange": {
|
|
22010
|
+
"startIndex": 3,
|
|
22011
|
+
"endIndex": 4
|
|
22012
|
+
},
|
|
22013
|
+
"isOptional": false
|
|
22014
|
+
},
|
|
22015
|
+
{
|
|
22016
|
+
"parameterName": "overrides",
|
|
22017
|
+
"parameterTypeTokenRange": {
|
|
22018
|
+
"startIndex": 5,
|
|
22019
|
+
"endIndex": 7
|
|
22020
|
+
},
|
|
22021
|
+
"isOptional": true
|
|
22022
|
+
}
|
|
22023
|
+
],
|
|
22024
|
+
"typeParameters": [
|
|
22025
|
+
{
|
|
22026
|
+
"typeParameterName": "T",
|
|
22027
|
+
"constraintTokenRange": {
|
|
22028
|
+
"startIndex": 1,
|
|
22029
|
+
"endIndex": 2
|
|
22030
|
+
},
|
|
22031
|
+
"defaultTypeTokenRange": {
|
|
22032
|
+
"startIndex": 0,
|
|
22033
|
+
"endIndex": 0
|
|
22034
|
+
}
|
|
22035
|
+
}
|
|
22036
|
+
],
|
|
22037
|
+
"name": "deepMergeWithDefaults"
|
|
22038
|
+
},
|
|
21880
22039
|
{
|
|
21881
22040
|
"kind": "Class",
|
|
21882
22041
|
"canonicalReference": "@empathyco/x-components!DefaultExternalTaggingService:class",
|
|
@@ -24540,7 +24699,16 @@
|
|
|
24540
24699
|
},
|
|
24541
24700
|
{
|
|
24542
24701
|
"kind": "Content",
|
|
24543
|
-
"text": ";\n}>, {\n ariaLabels:
|
|
24702
|
+
"text": ";\n}>, {\n ariaLabels: import(\"vue\")."
|
|
24703
|
+
},
|
|
24704
|
+
{
|
|
24705
|
+
"kind": "Reference",
|
|
24706
|
+
"text": "ComputedRef",
|
|
24707
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
24708
|
+
},
|
|
24709
|
+
{
|
|
24710
|
+
"kind": "Content",
|
|
24711
|
+
"text": "<{\n min?: string;\n max?: string;\n }>;\n cssClasses: import(\"vue\")."
|
|
24544
24712
|
},
|
|
24545
24713
|
{
|
|
24546
24714
|
"kind": "Reference",
|
|
@@ -24720,7 +24888,7 @@
|
|
|
24720
24888
|
"name": "EditableNumberRangeFilter",
|
|
24721
24889
|
"variableTypeTokenRange": {
|
|
24722
24890
|
"startIndex": 1,
|
|
24723
|
-
"endIndex":
|
|
24891
|
+
"endIndex": 58
|
|
24724
24892
|
}
|
|
24725
24893
|
},
|
|
24726
24894
|
{
|
|
@@ -28721,7 +28889,16 @@
|
|
|
28721
28889
|
},
|
|
28722
28890
|
{
|
|
28723
28891
|
"kind": "Content",
|
|
28724
|
-
"text": ";\n}>, {\n ariaLabels:
|
|
28892
|
+
"text": ";\n}>, {\n ariaLabels: import(\"vue\")."
|
|
28893
|
+
},
|
|
28894
|
+
{
|
|
28895
|
+
"kind": "Reference",
|
|
28896
|
+
"text": "ComputedRef",
|
|
28897
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
28898
|
+
},
|
|
28899
|
+
{
|
|
28900
|
+
"kind": "Content",
|
|
28901
|
+
"text": "<{\n root?: string;\n }>;\n selectedFiltersByFacet: import(\"vue\")."
|
|
28725
28902
|
},
|
|
28726
28903
|
{
|
|
28727
28904
|
"kind": "Reference",
|
|
@@ -28937,7 +29114,7 @@
|
|
|
28937
29114
|
"name": "Facets",
|
|
28938
29115
|
"variableTypeTokenRange": {
|
|
28939
29116
|
"startIndex": 1,
|
|
28940
|
-
"endIndex":
|
|
29117
|
+
"endIndex": 70
|
|
28941
29118
|
}
|
|
28942
29119
|
},
|
|
28943
29120
|
{
|
|
@@ -34611,7 +34788,16 @@
|
|
|
34611
34788
|
},
|
|
34612
34789
|
{
|
|
34613
34790
|
"kind": "Content",
|
|
34614
|
-
"text": ";\n default: number;\n };\n}>, {\n ariaLabels:
|
|
34791
|
+
"text": ";\n default: number;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
34792
|
+
},
|
|
34793
|
+
{
|
|
34794
|
+
"kind": "Reference",
|
|
34795
|
+
"text": "ComputedRef",
|
|
34796
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
34797
|
+
},
|
|
34798
|
+
{
|
|
34799
|
+
"kind": "Content",
|
|
34800
|
+
"text": "<{\n input?: string;\n }>;\n clearQuery: () => void;\n setQuery: (query: string) => void;\n cssClasses: import(\"vue\")."
|
|
34615
34801
|
},
|
|
34616
34802
|
{
|
|
34617
34803
|
"kind": "Reference",
|
|
@@ -34773,7 +34959,7 @@
|
|
|
34773
34959
|
"name": "FiltersSearch",
|
|
34774
34960
|
"variableTypeTokenRange": {
|
|
34775
34961
|
"startIndex": 1,
|
|
34776
|
-
"endIndex":
|
|
34962
|
+
"endIndex": 52
|
|
34777
34963
|
}
|
|
34778
34964
|
},
|
|
34779
34965
|
{
|
|
@@ -39044,7 +39230,16 @@
|
|
|
39044
39230
|
},
|
|
39045
39231
|
{
|
|
39046
39232
|
"kind": "Content",
|
|
39047
|
-
"text": "<{}, {\n ariaLabels:
|
|
39233
|
+
"text": "<{}, {\n ariaLabels: import(\"vue\")."
|
|
39234
|
+
},
|
|
39235
|
+
{
|
|
39236
|
+
"kind": "Reference",
|
|
39237
|
+
"text": "ComputedRef",
|
|
39238
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
39239
|
+
},
|
|
39240
|
+
{
|
|
39241
|
+
"kind": "Content",
|
|
39242
|
+
"text": "<{\n root?: string;\n }>;\n toggle: () => void;\n isEnabled: import(\"vue\")."
|
|
39048
39243
|
},
|
|
39049
39244
|
{
|
|
39050
39245
|
"kind": "Reference",
|
|
@@ -39125,7 +39320,7 @@
|
|
|
39125
39320
|
"name": "HistoryQueriesSwitch",
|
|
39126
39321
|
"variableTypeTokenRange": {
|
|
39127
39322
|
"startIndex": 1,
|
|
39128
|
-
"endIndex":
|
|
39323
|
+
"endIndex": 22
|
|
39129
39324
|
}
|
|
39130
39325
|
},
|
|
39131
39326
|
{
|
|
@@ -39651,7 +39846,16 @@
|
|
|
39651
39846
|
},
|
|
39652
39847
|
{
|
|
39653
39848
|
"kind": "Content",
|
|
39654
|
-
"text": ";\n}>, {\n ariaLabels:
|
|
39849
|
+
"text": ";\n}>, {\n ariaLabels: import(\"vue\")."
|
|
39850
|
+
},
|
|
39851
|
+
{
|
|
39852
|
+
"kind": "Reference",
|
|
39853
|
+
"text": "ComputedRef",
|
|
39854
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
39855
|
+
},
|
|
39856
|
+
{
|
|
39857
|
+
"kind": "Content",
|
|
39858
|
+
"text": "<{\n removeButton?: string;\n }>;\n query: import(\"vue\")."
|
|
39655
39859
|
},
|
|
39656
39860
|
{
|
|
39657
39861
|
"kind": "Reference",
|
|
@@ -39813,7 +40017,7 @@
|
|
|
39813
40017
|
"name": "HistoryQuery",
|
|
39814
40018
|
"variableTypeTokenRange": {
|
|
39815
40019
|
"startIndex": 1,
|
|
39816
|
-
"endIndex":
|
|
40020
|
+
"endIndex": 50
|
|
39817
40021
|
}
|
|
39818
40022
|
},
|
|
39819
40023
|
{
|
|
@@ -49546,7 +49750,16 @@
|
|
|
49546
49750
|
},
|
|
49547
49751
|
{
|
|
49548
49752
|
"kind": "Content",
|
|
49549
|
-
"text": ">>;\n };\n}>, {\n ariaLabels:
|
|
49753
|
+
"text": ">>;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
49754
|
+
},
|
|
49755
|
+
{
|
|
49756
|
+
"kind": "Reference",
|
|
49757
|
+
"text": "ComputedRef",
|
|
49758
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
49759
|
+
},
|
|
49760
|
+
{
|
|
49761
|
+
"kind": "Content",
|
|
49762
|
+
"text": "<{\n button?: string;\n }>;\n resultsLength: import(\"vue\")."
|
|
49550
49763
|
},
|
|
49551
49764
|
{
|
|
49552
49765
|
"kind": "Reference",
|
|
@@ -49726,7 +49939,7 @@
|
|
|
49726
49939
|
"name": "PageLoaderButton",
|
|
49727
49940
|
"variableTypeTokenRange": {
|
|
49728
49941
|
"startIndex": 1,
|
|
49729
|
-
"endIndex":
|
|
49942
|
+
"endIndex": 56
|
|
49730
49943
|
}
|
|
49731
49944
|
},
|
|
49732
49945
|
{
|
|
@@ -49874,7 +50087,16 @@
|
|
|
49874
50087
|
},
|
|
49875
50088
|
{
|
|
49876
50089
|
"kind": "Content",
|
|
49877
|
-
"text": ";\n required: true;\n };\n}>, {\n ariaLabels:
|
|
50090
|
+
"text": ";\n required: true;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
50091
|
+
},
|
|
50092
|
+
{
|
|
50093
|
+
"kind": "Reference",
|
|
50094
|
+
"text": "ComputedRef",
|
|
50095
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
50096
|
+
},
|
|
50097
|
+
{
|
|
50098
|
+
"kind": "Content",
|
|
50099
|
+
"text": "<{\n pagination?: string;\n prevPage?: string;\n nextPage?: string;\n numberPage?: (page: number | string) => string;\n }>;\n visiblePages: import(\"vue\")."
|
|
49878
50100
|
},
|
|
49879
50101
|
{
|
|
49880
50102
|
"kind": "Reference",
|
|
@@ -50081,7 +50303,7 @@
|
|
|
50081
50303
|
"name": "PageSelector",
|
|
50082
50304
|
"variableTypeTokenRange": {
|
|
50083
50305
|
"startIndex": 1,
|
|
50084
|
-
"endIndex":
|
|
50306
|
+
"endIndex": 72
|
|
50085
50307
|
}
|
|
50086
50308
|
},
|
|
50087
50309
|
{
|
|
@@ -62122,7 +62344,16 @@
|
|
|
62122
62344
|
},
|
|
62123
62345
|
{
|
|
62124
62346
|
"kind": "Content",
|
|
62125
|
-
"text": ">;\n required: true;\n };\n}>, {\n ariaLabels:
|
|
62347
|
+
"text": ">;\n required: true;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
62348
|
+
},
|
|
62349
|
+
{
|
|
62350
|
+
"kind": "Reference",
|
|
62351
|
+
"text": "ComputedRef",
|
|
62352
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
62353
|
+
},
|
|
62354
|
+
{
|
|
62355
|
+
"kind": "Content",
|
|
62356
|
+
"text": "<{\n button?: string;\n }>;\n removeHistoryQueryEvent: import(\"vue\")."
|
|
62126
62357
|
},
|
|
62127
62358
|
{
|
|
62128
62359
|
"kind": "Reference",
|
|
@@ -62248,7 +62479,7 @@
|
|
|
62248
62479
|
"name": "RemoveHistoryQuery",
|
|
62249
62480
|
"variableTypeTokenRange": {
|
|
62250
62481
|
"startIndex": 1,
|
|
62251
|
-
"endIndex":
|
|
62482
|
+
"endIndex": 38
|
|
62252
62483
|
}
|
|
62253
62484
|
},
|
|
62254
62485
|
{
|
|
@@ -65197,7 +65428,16 @@
|
|
|
65197
65428
|
},
|
|
65198
65429
|
{
|
|
65199
65430
|
"kind": "Content",
|
|
65200
|
-
"text": ";\n default: string;\n };\n}>, {\n ariaLabels:
|
|
65431
|
+
"text": ";\n default: string;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
65432
|
+
},
|
|
65433
|
+
{
|
|
65434
|
+
"kind": "Reference",
|
|
65435
|
+
"text": "ComputedRef",
|
|
65436
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
65437
|
+
},
|
|
65438
|
+
{
|
|
65439
|
+
"kind": "Content",
|
|
65440
|
+
"text": "<{\n button?: string;\n }>;\n events: import(\"vue\")."
|
|
65201
65441
|
},
|
|
65202
65442
|
{
|
|
65203
65443
|
"kind": "Reference",
|
|
@@ -65386,7 +65626,7 @@
|
|
|
65386
65626
|
"name": "ScrollToTop",
|
|
65387
65627
|
"variableTypeTokenRange": {
|
|
65388
65628
|
"startIndex": 1,
|
|
65389
|
-
"endIndex":
|
|
65629
|
+
"endIndex": 60
|
|
65390
65630
|
}
|
|
65391
65631
|
},
|
|
65392
65632
|
{
|
|
@@ -67286,7 +67526,16 @@
|
|
|
67286
67526
|
},
|
|
67287
67527
|
{
|
|
67288
67528
|
"kind": "Content",
|
|
67289
|
-
"text": ";\n default: number;\n };\n}>, {\n ariaLabels:
|
|
67529
|
+
"text": ";\n default: number;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
67530
|
+
},
|
|
67531
|
+
{
|
|
67532
|
+
"kind": "Reference",
|
|
67533
|
+
"text": "ComputedRef",
|
|
67534
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
67535
|
+
},
|
|
67536
|
+
{
|
|
67537
|
+
"kind": "Content",
|
|
67538
|
+
"text": "<{\n input?: string;\n }>;\n query: import(\"vue\")."
|
|
67290
67539
|
},
|
|
67291
67540
|
{
|
|
67292
67541
|
"kind": "Reference",
|
|
@@ -67448,7 +67697,7 @@
|
|
|
67448
67697
|
"name": "SearchInput",
|
|
67449
67698
|
"variableTypeTokenRange": {
|
|
67450
67699
|
"startIndex": 1,
|
|
67451
|
-
"endIndex":
|
|
67700
|
+
"endIndex": 50
|
|
67452
67701
|
}
|
|
67453
67702
|
},
|
|
67454
67703
|
{
|
|
@@ -77095,7 +77344,16 @@
|
|
|
77095
77344
|
},
|
|
77096
77345
|
{
|
|
77097
77346
|
"kind": "Content",
|
|
77098
|
-
"text": ";\n}>, {\n ariaLabels:
|
|
77347
|
+
"text": ";\n}>, {\n ariaLabels: import(\"vue\")."
|
|
77348
|
+
},
|
|
77349
|
+
{
|
|
77350
|
+
"kind": "Reference",
|
|
77351
|
+
"text": "ComputedRef",
|
|
77352
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
77353
|
+
},
|
|
77354
|
+
{
|
|
77355
|
+
"kind": "Content",
|
|
77356
|
+
"text": "<{\n min?: string;\n max?: string;\n }>;\n selectedRange: import(\"vue\")."
|
|
77099
77357
|
},
|
|
77100
77358
|
{
|
|
77101
77359
|
"kind": "Reference",
|
|
@@ -77230,7 +77488,7 @@
|
|
|
77230
77488
|
"name": "SliderFilter",
|
|
77231
77489
|
"variableTypeTokenRange": {
|
|
77232
77490
|
"startIndex": 1,
|
|
77233
|
-
"endIndex":
|
|
77491
|
+
"endIndex": 42
|
|
77234
77492
|
}
|
|
77235
77493
|
},
|
|
77236
77494
|
{
|
|
@@ -81216,7 +81474,16 @@
|
|
|
81216
81474
|
},
|
|
81217
81475
|
{
|
|
81218
81476
|
"kind": "Content",
|
|
81219
|
-
"text": ">;\n default: string;\n };\n}>, {\n ariaLabels:
|
|
81477
|
+
"text": ">;\n default: string;\n };\n}>, {\n ariaLabels: import(\"vue\")."
|
|
81478
|
+
},
|
|
81479
|
+
{
|
|
81480
|
+
"kind": "Reference",
|
|
81481
|
+
"text": "ComputedRef",
|
|
81482
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
81483
|
+
},
|
|
81484
|
+
{
|
|
81485
|
+
"kind": "Content",
|
|
81486
|
+
"text": "<{\n dropdown?: string;\n }>;\n emitUserClickedASort: (sort: "
|
|
81220
81487
|
},
|
|
81221
81488
|
{
|
|
81222
81489
|
"kind": "Reference",
|
|
@@ -81441,7 +81708,7 @@
|
|
|
81441
81708
|
"name": "SortDropdown",
|
|
81442
81709
|
"variableTypeTokenRange": {
|
|
81443
81710
|
"startIndex": 1,
|
|
81444
|
-
"endIndex":
|
|
81711
|
+
"endIndex": 76
|
|
81445
81712
|
}
|
|
81446
81713
|
},
|
|
81447
81714
|
{
|
|
@@ -87624,6 +87891,100 @@
|
|
|
87624
87891
|
"parameters": [],
|
|
87625
87892
|
"name": "use$x"
|
|
87626
87893
|
},
|
|
87894
|
+
{
|
|
87895
|
+
"kind": "Function",
|
|
87896
|
+
"canonicalReference": "@empathyco/x-components!useAccessibilityLabels:function(1)",
|
|
87897
|
+
"docComment": "/**\n * Resolves the aria labels for a given {@link AriaLabels} namespace, merging any labels provided by the consumer under {@link ACCESSIBILITY_KEY} on top of the library defaults.\n *\n * The consumer only needs to `app.provide` a **partial** configuration (e.g. the labels translated to its language): every entry that is not provided falls back to the library default. Providing nothing is a regular use case (the components resolve the defaults), and the `inject` fallback keeps Vue from logging an \"injection not found\" warning in that case.\n *\n * The resolved labels are reactive: if the consumer provides a reactive object (or re-provides translated labels when the locale changes), the components pick the new values up.\n *\n * @param namespace - The {@link AriaLabels} namespace to resolve (the PascalCase component name).\n *\n * @returns A reactive object with the resolved aria labels for the given namespace.\n *\n * @example\n * ```vue\n * <script setup>\n * const ariaLabels = useAccessibilityLabels('pageSelector')\n * </script>\n * <template>\n * <nav :aria-label=\"ariaLabels.pagination\">...</nav>\n * </template>\n * ```\n *\n * @public\n */\n",
|
|
87898
|
+
"excerptTokens": [
|
|
87899
|
+
{
|
|
87900
|
+
"kind": "Content",
|
|
87901
|
+
"text": "export declare function useAccessibilityLabels<N extends "
|
|
87902
|
+
},
|
|
87903
|
+
{
|
|
87904
|
+
"kind": "Content",
|
|
87905
|
+
"text": "keyof "
|
|
87906
|
+
},
|
|
87907
|
+
{
|
|
87908
|
+
"kind": "Reference",
|
|
87909
|
+
"text": "AriaLabels",
|
|
87910
|
+
"canonicalReference": "@empathyco/x-components!AriaLabels:interface"
|
|
87911
|
+
},
|
|
87912
|
+
{
|
|
87913
|
+
"kind": "Content",
|
|
87914
|
+
"text": ">(namespace: "
|
|
87915
|
+
},
|
|
87916
|
+
{
|
|
87917
|
+
"kind": "Content",
|
|
87918
|
+
"text": "N"
|
|
87919
|
+
},
|
|
87920
|
+
{
|
|
87921
|
+
"kind": "Content",
|
|
87922
|
+
"text": "): "
|
|
87923
|
+
},
|
|
87924
|
+
{
|
|
87925
|
+
"kind": "Reference",
|
|
87926
|
+
"text": "ComputedRef",
|
|
87927
|
+
"canonicalReference": "@vue/reactivity!ComputedRef:interface"
|
|
87928
|
+
},
|
|
87929
|
+
{
|
|
87930
|
+
"kind": "Content",
|
|
87931
|
+
"text": "<"
|
|
87932
|
+
},
|
|
87933
|
+
{
|
|
87934
|
+
"kind": "Reference",
|
|
87935
|
+
"text": "NonNullable",
|
|
87936
|
+
"canonicalReference": "!NonNullable:type"
|
|
87937
|
+
},
|
|
87938
|
+
{
|
|
87939
|
+
"kind": "Content",
|
|
87940
|
+
"text": "<"
|
|
87941
|
+
},
|
|
87942
|
+
{
|
|
87943
|
+
"kind": "Reference",
|
|
87944
|
+
"text": "AriaLabels",
|
|
87945
|
+
"canonicalReference": "@empathyco/x-components!AriaLabels:interface"
|
|
87946
|
+
},
|
|
87947
|
+
{
|
|
87948
|
+
"kind": "Content",
|
|
87949
|
+
"text": "[N]>>"
|
|
87950
|
+
},
|
|
87951
|
+
{
|
|
87952
|
+
"kind": "Content",
|
|
87953
|
+
"text": ";"
|
|
87954
|
+
}
|
|
87955
|
+
],
|
|
87956
|
+
"fileUrlPath": "src/composables/use-accessibility-labels.ts",
|
|
87957
|
+
"returnTypeTokenRange": {
|
|
87958
|
+
"startIndex": 6,
|
|
87959
|
+
"endIndex": 12
|
|
87960
|
+
},
|
|
87961
|
+
"releaseTag": "Public",
|
|
87962
|
+
"overloadIndex": 1,
|
|
87963
|
+
"parameters": [
|
|
87964
|
+
{
|
|
87965
|
+
"parameterName": "namespace",
|
|
87966
|
+
"parameterTypeTokenRange": {
|
|
87967
|
+
"startIndex": 4,
|
|
87968
|
+
"endIndex": 5
|
|
87969
|
+
},
|
|
87970
|
+
"isOptional": false
|
|
87971
|
+
}
|
|
87972
|
+
],
|
|
87973
|
+
"typeParameters": [
|
|
87974
|
+
{
|
|
87975
|
+
"typeParameterName": "N",
|
|
87976
|
+
"constraintTokenRange": {
|
|
87977
|
+
"startIndex": 1,
|
|
87978
|
+
"endIndex": 3
|
|
87979
|
+
},
|
|
87980
|
+
"defaultTypeTokenRange": {
|
|
87981
|
+
"startIndex": 0,
|
|
87982
|
+
"endIndex": 0
|
|
87983
|
+
}
|
|
87984
|
+
}
|
|
87985
|
+
],
|
|
87986
|
+
"name": "useAccessibilityLabels"
|
|
87987
|
+
},
|
|
87627
87988
|
{
|
|
87628
87989
|
"kind": "Interface",
|
|
87629
87990
|
"canonicalReference": "@empathyco/x-components!UseAliasAPI:interface",
|