@empathyco/x-components 9.0.0 → 9.1.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 (68) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/core/index.js.map +1 -1
  3. package/docs/API-reference/api/x-adapter-platform.facetschema.md +1 -1
  4. package/docs/API-reference/api/x-adapter-platform.md +11 -0
  5. package/docs/API-reference/api/x-adapter-platform.platformfacet.md +1 -1
  6. package/docs/API-reference/api/x-adapter-platform.platformfacet.values.md +1 -1
  7. package/docs/API-reference/api/x-adapter-platform.platformfacettype.md +1 -1
  8. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.max.md +11 -0
  9. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.md +90 -0
  10. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.min.md +11 -0
  11. package/docs/API-reference/api/x-adapter-platform.platformsliderfilter.unit.md +11 -0
  12. package/docs/API-reference/api/x-components.baseslider.md +2 -8
  13. package/docs/API-reference/api/x-components.facetsxevents.md +19 -0
  14. package/docs/API-reference/api/x-components.facetsxevents.usermodifiedsliderfilter.md +13 -0
  15. package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
  16. package/docs/API-reference/api/x-components.simplefilter.md +1 -0
  17. package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
  18. package/docs/API-reference/api/x-types.facetmodelname.md +1 -1
  19. package/docs/API-reference/api/x-types.filtermodelname.md +1 -1
  20. package/docs/API-reference/api/x-types.issliderfacet.md +56 -0
  21. package/docs/API-reference/api/x-types.issliderfilter.md +56 -0
  22. package/docs/API-reference/api/x-types.md +44 -0
  23. package/docs/API-reference/api/x-types.sliderfacet.filters.md +13 -0
  24. package/docs/API-reference/api/x-types.sliderfacet.md +78 -0
  25. package/docs/API-reference/api/x-types.sliderfacet.modelname.md +13 -0
  26. package/docs/API-reference/api/x-types.sliderfilter.md +116 -0
  27. package/docs/API-reference/api/x-types.sliderfilter.modelname.md +13 -0
  28. package/docs/API-reference/api/x-types.sliderfilter.range.md +16 -0
  29. package/docs/API-reference/api/x-types.sliderfilter.selectedrange.md +13 -0
  30. package/docs/API-reference/api/x-types.sliderfilter.unit.md +13 -0
  31. package/docs/API-reference/components/common/x-components.base-slider.md +1 -1
  32. package/docs/API-reference/components/facets/x-components.filters/slider-filter.md +33 -0
  33. package/facets/index.js +1 -0
  34. package/js/components/base-slider.vue.js +12 -3
  35. package/js/components/base-slider.vue.js.map +1 -1
  36. package/js/components/base-slider.vue2.js +1 -1
  37. package/js/components/base-slider.vue2.js.map +1 -1
  38. package/js/index.js +1 -0
  39. package/js/index.js.map +1 -1
  40. package/js/x-modules/facets/entities/filter-entity.factory.js +2 -0
  41. package/js/x-modules/facets/entities/filter-entity.factory.js.map +1 -1
  42. package/js/x-modules/facets/entities/slider-filter.entity.js +107 -0
  43. package/js/x-modules/facets/entities/slider-filter.entity.js.map +1 -0
  44. package/js/x-modules/facets/wiring.js +3 -0
  45. package/js/x-modules/facets/wiring.js.map +1 -1
  46. package/package.json +4 -4
  47. package/report/x-adapter-platform.api.json +130 -4
  48. package/report/x-components.api.json +88 -6
  49. package/report/x-components.api.md +30 -13
  50. package/report/x-types.api.json +351 -2
  51. package/types/src/components/base-slider.vue.d.ts +3 -8
  52. package/types/src/components/base-slider.vue.d.ts.map +1 -1
  53. package/types/src/components/snippet-callbacks.vue.d.ts +1 -0
  54. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  55. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
  56. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  57. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
  58. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  59. package/types/src/x-modules/facets/entities/filter-entity.factory.d.ts.map +1 -1
  60. package/types/src/x-modules/facets/entities/index.d.ts +1 -0
  61. package/types/src/x-modules/facets/entities/index.d.ts.map +1 -1
  62. package/types/src/x-modules/facets/entities/slider-filter.entity.d.ts +65 -0
  63. package/types/src/x-modules/facets/entities/slider-filter.entity.d.ts.map +1 -0
  64. package/types/src/x-modules/facets/events.types.d.ts +6 -1
  65. package/types/src/x-modules/facets/events.types.d.ts.map +1 -1
  66. package/types/src/x-modules/facets/wiring.d.ts +3 -0
  67. package/types/src/x-modules/facets/wiring.d.ts.map +1 -1
  68. package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
@@ -3035,7 +3035,7 @@
3035
3035
  },
3036
3036
  {
3037
3037
  "kind": "Content",
3038
- "text": "'SimpleFacet' | 'HierarchicalFacet' | 'NumberRangeFacet' | 'EditableNumberRangeFacet' | 'BooleanFacet'"
3038
+ "text": "'SimpleFacet' | 'HierarchicalFacet' | 'NumberRangeFacet' | 'EditableNumberRangeFacet' | 'BooleanFacet' | 'SliderFacet'"
3039
3039
  },
3040
3040
  {
3041
3041
  "kind": "Content",
@@ -3354,7 +3354,7 @@
3354
3354
  },
3355
3355
  {
3356
3356
  "kind": "Content",
3357
- "text": " | 'EditableNumberRangeFilter' | 'RawFilter'"
3357
+ "text": " | 'EditableNumberRangeFilter' | 'RawFilter' | 'SliderFilter'"
3358
3358
  },
3359
3359
  {
3360
3360
  "kind": "Content",
@@ -4645,6 +4645,118 @@
4645
4645
  ],
4646
4646
  "name": "isSimpleFilter"
4647
4647
  },
4648
+ {
4649
+ "kind": "Function",
4650
+ "canonicalReference": "@empathyco/x-types!isSliderFacet:function(1)",
4651
+ "docComment": "/**\n * Type guard to check if a facet is an {@link SliderFacet}.\n *\n * @param facet - The facet to check.\n *\n * @returns True if the facet is a {@link SliderFacet}, false otherwise.\n *\n * @public\n */\n",
4652
+ "excerptTokens": [
4653
+ {
4654
+ "kind": "Content",
4655
+ "text": "export declare function isSliderFacet(facet: "
4656
+ },
4657
+ {
4658
+ "kind": "Reference",
4659
+ "text": "Facet",
4660
+ "canonicalReference": "@empathyco/x-types!Facet:interface"
4661
+ },
4662
+ {
4663
+ "kind": "Content",
4664
+ "text": "): "
4665
+ },
4666
+ {
4667
+ "kind": "Reference",
4668
+ "text": "facet",
4669
+ "canonicalReference": "@empathyco/x-types!~facet"
4670
+ },
4671
+ {
4672
+ "kind": "Content",
4673
+ "text": " is "
4674
+ },
4675
+ {
4676
+ "kind": "Reference",
4677
+ "text": "SliderFacet",
4678
+ "canonicalReference": "@empathyco/x-types!SliderFacet:interface"
4679
+ },
4680
+ {
4681
+ "kind": "Content",
4682
+ "text": ";"
4683
+ }
4684
+ ],
4685
+ "fileUrlPath": "temp/types/facet/slider-facet.model.d.ts",
4686
+ "returnTypeTokenRange": {
4687
+ "startIndex": 3,
4688
+ "endIndex": 6
4689
+ },
4690
+ "releaseTag": "Public",
4691
+ "overloadIndex": 1,
4692
+ "parameters": [
4693
+ {
4694
+ "parameterName": "facet",
4695
+ "parameterTypeTokenRange": {
4696
+ "startIndex": 1,
4697
+ "endIndex": 2
4698
+ },
4699
+ "isOptional": false
4700
+ }
4701
+ ],
4702
+ "name": "isSliderFacet"
4703
+ },
4704
+ {
4705
+ "kind": "Function",
4706
+ "canonicalReference": "@empathyco/x-types!isSliderFilter:function(1)",
4707
+ "docComment": "/**\n * Type guard to check if a filter is an {@link SliderFilter}.\n *\n * @param filter - The filter to check.\n *\n * @returns True if the filter is an {@link SliderFilter}, false otherwise.\n *\n * @public\n */\n",
4708
+ "excerptTokens": [
4709
+ {
4710
+ "kind": "Content",
4711
+ "text": "export declare function isSliderFilter(filter: "
4712
+ },
4713
+ {
4714
+ "kind": "Reference",
4715
+ "text": "Filter",
4716
+ "canonicalReference": "@empathyco/x-types!Filter:interface"
4717
+ },
4718
+ {
4719
+ "kind": "Content",
4720
+ "text": "): "
4721
+ },
4722
+ {
4723
+ "kind": "Reference",
4724
+ "text": "filter",
4725
+ "canonicalReference": "@empathyco/x-types!~filter"
4726
+ },
4727
+ {
4728
+ "kind": "Content",
4729
+ "text": " is "
4730
+ },
4731
+ {
4732
+ "kind": "Reference",
4733
+ "text": "SliderFilter",
4734
+ "canonicalReference": "@empathyco/x-types!SliderFilter:interface"
4735
+ },
4736
+ {
4737
+ "kind": "Content",
4738
+ "text": ";"
4739
+ }
4740
+ ],
4741
+ "fileUrlPath": "temp/types/facet/filter/slider-filter.model.d.ts",
4742
+ "returnTypeTokenRange": {
4743
+ "startIndex": 3,
4744
+ "endIndex": 6
4745
+ },
4746
+ "releaseTag": "Public",
4747
+ "overloadIndex": 1,
4748
+ "parameters": [
4749
+ {
4750
+ "parameterName": "filter",
4751
+ "parameterTypeTokenRange": {
4752
+ "startIndex": 1,
4753
+ "endIndex": 2
4754
+ },
4755
+ "isOptional": false
4756
+ }
4757
+ ],
4758
+ "name": "isSliderFilter"
4759
+ },
4648
4760
  {
4649
4761
  "kind": "TypeAlias",
4650
4762
  "canonicalReference": "@empathyco/x-types!ModelNameType:type",
@@ -8723,6 +8835,243 @@
8723
8835
  "endIndex": 2
8724
8836
  }
8725
8837
  },
8838
+ {
8839
+ "kind": "Interface",
8840
+ "canonicalReference": "@empathyco/x-types!SliderFacet:interface",
8841
+ "docComment": "/**\n * Slider Facet is a trait for filtering results. It extends from {@link Facet}, changes the modelName and uses {@link SliderFilter} as filters.\n *\n * @public\n */\n",
8842
+ "excerptTokens": [
8843
+ {
8844
+ "kind": "Content",
8845
+ "text": "export interface SliderFacet extends "
8846
+ },
8847
+ {
8848
+ "kind": "Reference",
8849
+ "text": "Facet",
8850
+ "canonicalReference": "@empathyco/x-types!Facet:interface"
8851
+ },
8852
+ {
8853
+ "kind": "Content",
8854
+ "text": " "
8855
+ }
8856
+ ],
8857
+ "fileUrlPath": "temp/types/facet/slider-facet.model.d.ts",
8858
+ "releaseTag": "Public",
8859
+ "name": "SliderFacet",
8860
+ "preserveMemberOrder": false,
8861
+ "members": [
8862
+ {
8863
+ "kind": "PropertySignature",
8864
+ "canonicalReference": "@empathyco/x-types!SliderFacet#filters:member",
8865
+ "docComment": "/**\n * Filters available for the facet.\n */\n",
8866
+ "excerptTokens": [
8867
+ {
8868
+ "kind": "Content",
8869
+ "text": "filters: "
8870
+ },
8871
+ {
8872
+ "kind": "Reference",
8873
+ "text": "SliderFilter",
8874
+ "canonicalReference": "@empathyco/x-types!SliderFilter:interface"
8875
+ },
8876
+ {
8877
+ "kind": "Content",
8878
+ "text": "[]"
8879
+ },
8880
+ {
8881
+ "kind": "Content",
8882
+ "text": ";"
8883
+ }
8884
+ ],
8885
+ "isReadonly": false,
8886
+ "isOptional": false,
8887
+ "releaseTag": "Public",
8888
+ "name": "filters",
8889
+ "propertyTypeTokenRange": {
8890
+ "startIndex": 1,
8891
+ "endIndex": 3
8892
+ }
8893
+ },
8894
+ {
8895
+ "kind": "PropertySignature",
8896
+ "canonicalReference": "@empathyco/x-types!SliderFacet#modelName:member",
8897
+ "docComment": "/**\n * Model name to indicate the facet type.\n */\n",
8898
+ "excerptTokens": [
8899
+ {
8900
+ "kind": "Content",
8901
+ "text": "modelName: "
8902
+ },
8903
+ {
8904
+ "kind": "Content",
8905
+ "text": "'SliderFacet'"
8906
+ },
8907
+ {
8908
+ "kind": "Content",
8909
+ "text": ";"
8910
+ }
8911
+ ],
8912
+ "isReadonly": false,
8913
+ "isOptional": false,
8914
+ "releaseTag": "Public",
8915
+ "name": "modelName",
8916
+ "propertyTypeTokenRange": {
8917
+ "startIndex": 1,
8918
+ "endIndex": 2
8919
+ }
8920
+ }
8921
+ ],
8922
+ "extendsTokenRanges": [
8923
+ {
8924
+ "startIndex": 1,
8925
+ "endIndex": 2
8926
+ }
8927
+ ]
8928
+ },
8929
+ {
8930
+ "kind": "Interface",
8931
+ "canonicalReference": "@empathyco/x-types!SliderFilter:interface",
8932
+ "docComment": "/**\n * A type of filter used in {@link SliderFacet} and extends from {@link FacetFilter}. This filter has the particularity that its {@link RangeValue} is editable by the user. Editable means that the value max and min can be changed by the user instead of having several boolean filters with different values.\n *\n * @public\n */\n",
8933
+ "excerptTokens": [
8934
+ {
8935
+ "kind": "Content",
8936
+ "text": "export interface SliderFilter extends "
8937
+ },
8938
+ {
8939
+ "kind": "Reference",
8940
+ "text": "FacetFilter",
8941
+ "canonicalReference": "@empathyco/x-types!FacetFilter:interface"
8942
+ },
8943
+ {
8944
+ "kind": "Content",
8945
+ "text": " "
8946
+ }
8947
+ ],
8948
+ "fileUrlPath": "temp/types/facet/filter/slider-filter.model.d.ts",
8949
+ "releaseTag": "Public",
8950
+ "name": "SliderFilter",
8951
+ "preserveMemberOrder": false,
8952
+ "members": [
8953
+ {
8954
+ "kind": "PropertySignature",
8955
+ "canonicalReference": "@empathyco/x-types!SliderFilter#modelName:member",
8956
+ "docComment": "/**\n * Model name to indicate the filter type.\n */\n",
8957
+ "excerptTokens": [
8958
+ {
8959
+ "kind": "Content",
8960
+ "text": "modelName: "
8961
+ },
8962
+ {
8963
+ "kind": "Content",
8964
+ "text": "'SliderFilter'"
8965
+ },
8966
+ {
8967
+ "kind": "Content",
8968
+ "text": ";"
8969
+ }
8970
+ ],
8971
+ "isReadonly": false,
8972
+ "isOptional": false,
8973
+ "releaseTag": "Public",
8974
+ "name": "modelName",
8975
+ "propertyTypeTokenRange": {
8976
+ "startIndex": 1,
8977
+ "endIndex": 2
8978
+ }
8979
+ },
8980
+ {
8981
+ "kind": "PropertySignature",
8982
+ "canonicalReference": "@empathyco/x-types!SliderFilter#range:member",
8983
+ "docComment": "/**\n * boundary range.\n */\n",
8984
+ "excerptTokens": [
8985
+ {
8986
+ "kind": "Content",
8987
+ "text": "range: "
8988
+ },
8989
+ {
8990
+ "kind": "Content",
8991
+ "text": "{\n min: number;\n max: number;\n }"
8992
+ },
8993
+ {
8994
+ "kind": "Content",
8995
+ "text": ";"
8996
+ }
8997
+ ],
8998
+ "isReadonly": false,
8999
+ "isOptional": false,
9000
+ "releaseTag": "Public",
9001
+ "name": "range",
9002
+ "propertyTypeTokenRange": {
9003
+ "startIndex": 1,
9004
+ "endIndex": 2
9005
+ }
9006
+ },
9007
+ {
9008
+ "kind": "PropertySignature",
9009
+ "canonicalReference": "@empathyco/x-types!SliderFilter#selectedRange:member",
9010
+ "docComment": "/**\n * Filter range to use in the frontend.\n */\n",
9011
+ "excerptTokens": [
9012
+ {
9013
+ "kind": "Content",
9014
+ "text": "selectedRange: "
9015
+ },
9016
+ {
9017
+ "kind": "Reference",
9018
+ "text": "RangeValue",
9019
+ "canonicalReference": "@empathyco/x-types!RangeValue:interface"
9020
+ },
9021
+ {
9022
+ "kind": "Content",
9023
+ "text": ";"
9024
+ }
9025
+ ],
9026
+ "isReadonly": false,
9027
+ "isOptional": false,
9028
+ "releaseTag": "Public",
9029
+ "name": "selectedRange",
9030
+ "propertyTypeTokenRange": {
9031
+ "startIndex": 1,
9032
+ "endIndex": 2
9033
+ }
9034
+ },
9035
+ {
9036
+ "kind": "PropertySignature",
9037
+ "canonicalReference": "@empathyco/x-types!SliderFilter#unit:member",
9038
+ "docComment": "/**\n * Units to format the values of the ranges. Currently unused, reserved for future formatting.\n */\n",
9039
+ "excerptTokens": [
9040
+ {
9041
+ "kind": "Content",
9042
+ "text": "unit: "
9043
+ },
9044
+ {
9045
+ "kind": "Reference",
9046
+ "text": "Intl.NumberFormatOptions",
9047
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
9048
+ },
9049
+ {
9050
+ "kind": "Content",
9051
+ "text": "['style']"
9052
+ },
9053
+ {
9054
+ "kind": "Content",
9055
+ "text": ";"
9056
+ }
9057
+ ],
9058
+ "isReadonly": false,
9059
+ "isOptional": false,
9060
+ "releaseTag": "Public",
9061
+ "name": "unit",
9062
+ "propertyTypeTokenRange": {
9063
+ "startIndex": 1,
9064
+ "endIndex": 3
9065
+ }
9066
+ }
9067
+ ],
9068
+ "extendsTokenRanges": [
9069
+ {
9070
+ "startIndex": 1,
9071
+ "endIndex": 2
9072
+ }
9073
+ ]
9074
+ },
8726
9075
  {
8727
9076
  "kind": "TypeAlias",
8728
9077
  "canonicalReference": "@empathyco/x-types!Sort:type",
@@ -1,3 +1,4 @@
1
+ import type { RangeValue } from '@empathyco/x-types';
1
2
  import type { PropType } from 'vue';
2
3
  /**
3
4
  * This component implements a range slider and prints the selected values.
@@ -22,10 +23,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
23
  };
23
24
  /** The modelValue prop sets the initial values for the slider. */
24
25
  modelValue: {
25
- type: PropType<{
26
- min: number;
27
- max: number;
28
- }>;
26
+ type: PropType<RangeValue>;
29
27
  required: true;
30
28
  };
31
29
  /** Class to be able to customize slider styles. */
@@ -50,10 +48,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
48
  };
51
49
  /** The modelValue prop sets the initial values for the slider. */
52
50
  modelValue: {
53
- type: PropType<{
54
- min: number;
55
- max: number;
56
- }>;
51
+ type: PropType<RangeValue>;
57
52
  required: true;
58
53
  };
59
54
  /** Class to be able to customize slider styles. */
@@ -1 +1 @@
1
- {"version":3,"file":"base-slider.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/base-slider.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAInC;;;;;;;;GAQG;;IAIC,yDAAyD;;cAEvC,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;;;;;;IAGxD,kEAAkE;;cAEhD,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;;;IAGxD,mDAAmD;;;;;;;;;IAVnD,yDAAyD;;cAEvC,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;;;;;;IAGxD,kEAAkE;;cAEhD,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;;;IAGxD,mDAAmD;;;;;;;;;aARjB,MAAM;aAAO,MAAM;;;;AALzD,wBA8GE"}
1
+ {"version":3,"file":"base-slider.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/base-slider.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAInC;;;;;;;;GAQG;;IAIC,yDAAyD;;cAEvC,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;;;;;;IAGxD,kEAAkE;;cAEhD,QAAQ,CAAC,UAAU,CAAC;;;IAGtC,mDAAmD;;;;;;;;;IAVnD,yDAAyD;;cAEvC,QAAQ,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;;;;;;IAGxD,kEAAkE;;cAEhD,QAAQ,CAAC,UAAU,CAAC;;;IAGtC,mDAAmD;;;;;;;;;aARjB,MAAM;aAAO,MAAM;;;;AALzD,wBA2GE"}
@@ -66,6 +66,7 @@ declare const _default: import("vue").DefineComponent<{}, {
66
66
  UserClickedASimpleFilter: (payload: import("@empathyco/x-types").SimpleFilter, metadata: WireMetadata) => unknown;
67
67
  UserClickedAllFilter: (payload: [string | number], metadata: WireMetadata) => unknown;
68
68
  UserModifiedEditableNumberRangeFilter: (payload: import("@empathyco/x-types").EditableNumberRangeFilter, metadata: WireMetadata) => unknown;
69
+ UserModifiedSliderFilter: (payload: import("@empathyco/x-types").SliderFilter, metadata: WireMetadata) => unknown;
69
70
  UserClickedClearAllFilters: (payload: (string | number)[] | undefined, metadata: WireMetadata) => unknown;
70
71
  FacetsQueryChanged: (payload: string, metadata: WireMetadata) => unknown;
71
72
  HistoryQueriesDisplayed: (payload: import("@empathyco/x-types").HistoryQuery[], metadata: WireMetadata) => unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CE"}
1
+ {"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CE"}
@@ -91,6 +91,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
91
  UserClickedASimpleFilter?: import("@empathyco/x-types").SimpleFilter | undefined;
92
92
  UserClickedAllFilter?: [string | number] | undefined;
93
93
  UserModifiedEditableNumberRangeFilter?: import("@empathyco/x-types").EditableNumberRangeFilter | undefined;
94
+ UserModifiedSliderFilter?: import("@empathyco/x-types").SliderFilter | undefined;
94
95
  UserClickedClearAllFilters?: Array<import("@empathyco/x-types").Facet["id"]> | undefined;
95
96
  FacetsQueryChanged?: string | undefined;
96
97
  HistoryQueriesDisplayed?: import("@empathyco/x-types").HistoryQuery[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AASnE;;;;GAIG;;IAMC,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAwDM,uBAAuB;;IA5EvE,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;AAzB9C,wBA+GE"}
1
+ {"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AASnE;;;;GAIG;;IAMC,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAwDM,uBAAuB;;IA5EvE,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;AAzB9C,wBA+GE"}
@@ -81,6 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
81
81
  UserClickedASimpleFilter: SimpleFilterModel;
82
82
  UserClickedAllFilter?: [string | number] | undefined;
83
83
  UserModifiedEditableNumberRangeFilter?: import("@empathyco/x-types").EditableNumberRangeFilter | undefined;
84
+ UserModifiedSliderFilter?: import("@empathyco/x-types").SliderFilter | undefined;
84
85
  UserClickedClearAllFilters?: Array<import("@empathyco/x-types").Facet["id"]> | undefined;
85
86
  FacetsQueryChanged?: string | undefined;
86
87
  HistoryQueriesDisplayed?: import("@empathyco/x-types").HistoryQuery[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAKnE;;;;GAIG;;IAOC,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAT3D,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;AAf/D,wBAsCE"}
1
+ {"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAKnE;;;;GAIG;;IAOC,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAT3D,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;AAf/D,wBAsCE"}
@@ -1 +1 @@
1
- {"version":3,"file":"filter-entity.factory.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/entities/filter-entity.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAQtD;;;;GAIG;AACH,qBAAa,mBAAmB;IAC9B;;;;;OAKG;IACH,OAAc,QAAQ,sBAA4B;IAElD;;OAEG;IACH,SAAS,CAAC,QAAQ,EAOb,uBAAuB,EAAE,CAAA;IAE9B;;OAEG;IACH,SAAS,CAAC,kBAAkB,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,CAAC,CAAK;IAE9E;;OAEG;IACH,SAAS,CAAC,0BAA0B,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,oBAAoB,EAAE,CAAC,CAAC,CAC1F;IAEJ;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,OAAO,iBAAiB,EAAE,YAAY,CAAC,CAAK;IAElF;;;;;;;;OAQG;IACH,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,YAAY;IAK5E;;;;;;;;OAQG;IACH,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,YAAY;IAmBzF;;;;OAIG;IACH,oBAAoB,CAAC,MAAM,EAAE,uBAAuB,GAAG,IAAI;IAM3D;;;;;;OAMG;IACH,yBAAyB,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,SAAS,EAAE,oBAAoB,EAAE,GAAG,IAAI;IAI3F;;;;;;OAMG;IACH,iCAAiC,CAC/B,eAAe,EAAE,eAAe,EAChC,GAAG,SAAS,EAAE,oBAAoB,EAAE,GACnC,IAAI;IAIP;;;;;;OAMG;IACH,SAAS,CAAC,eAAe,CACvB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,EACvD,WAAW,EAAE,MAAM,GAAG,MAAM,EAC5B,SAAS,EAAE,oBAAoB,EAAE,GAChC,IAAI;CAQR"}
1
+ {"version":3,"file":"filter-entity.factory.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/entities/filter-entity.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAStD;;;;GAIG;AACH,qBAAa,mBAAmB;IAC9B;;;;;OAKG;IACH,OAAc,QAAQ,sBAA4B;IAElD;;OAEG;IACH,SAAS,CAAC,QAAQ,EAQb,uBAAuB,EAAE,CAAA;IAE9B;;OAEG;IACH,SAAS,CAAC,kBAAkB,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,CAAC,CAAK;IAE9E;;OAEG;IACH,SAAS,CAAC,0BAA0B,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,oBAAoB,EAAE,CAAC,CAAC,CAC1F;IAEJ;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,OAAO,iBAAiB,EAAE,YAAY,CAAC,CAAK;IAElF;;;;;;;;OAQG;IACH,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,YAAY;IAK5E;;;;;;;;OAQG;IACH,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,YAAY;IAmBzF;;;;OAIG;IACH,oBAAoB,CAAC,MAAM,EAAE,uBAAuB,GAAG,IAAI;IAM3D;;;;;;OAMG;IACH,yBAAyB,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,SAAS,EAAE,oBAAoB,EAAE,GAAG,IAAI;IAI3F;;;;;;OAMG;IACH,iCAAiC,CAC/B,eAAe,EAAE,eAAe,EAChC,GAAG,SAAS,EAAE,oBAAoB,EAAE,GACnC,IAAI;IAIP;;;;;;OAMG;IACH,SAAS,CAAC,eAAe,CACvB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,EACvD,WAAW,EAAE,MAAM,GAAG,MAAM,EAC5B,SAAS,EAAE,oBAAoB,EAAE,GAChC,IAAI;CAQR"}
@@ -5,6 +5,7 @@ export * from './number-range-filter.entity';
5
5
  export * from './raw-filter.entity';
6
6
  export * from './simple-filter.entity';
7
7
  export * from './single-select.modifier';
8
+ export * from './slider-filter.entity';
8
9
  export * from './sticky.modifier';
9
10
  export * from './types';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA"}
@@ -0,0 +1,65 @@
1
+ import type { Facet, Filter, SliderFilter } from '@empathyco/x-types';
2
+ import type { Store } from 'vuex';
3
+ import type { RootXStoreState } from '../../../store/store.types';
4
+ import type { FilterEntity } from './types';
5
+ /**
6
+ * Allows selecting and deselecting a filter of {@link @empathyco/x-types#SliderFilter
7
+ * | SliderFilter}.
8
+ *
9
+ * @internal
10
+ */
11
+ export declare class SliderFilterEntity implements FilterEntity {
12
+ protected store: Store<RootXStoreState>;
13
+ constructor(store: Store<RootXStoreState>);
14
+ static accepts(filter: Filter): boolean;
15
+ /**
16
+ * It sets {@link @empathyco/x-types#SliderFilter | SliderFilter} to
17
+ * false. Range values are kept to be able to update the {@link FacetsGetters.selectedFilters}
18
+ * getter accordingly (as the id is built using the range).
19
+ *
20
+ * @param filterParam - The filter to deselect.
21
+ */
22
+ deselect(filterParam: Filter): void;
23
+ /**
24
+ * It selects the {@link @empathyco/x-types#SliderFilter
25
+ * | SliderFilter}.
26
+ *
27
+ * @param filterParam - The filter to select.
28
+ * @remarks If the filter has no selected range, then filter is deselected when this
29
+ * method is called.
30
+ */
31
+ select(filterParam: Filter): void;
32
+ /**
33
+ * Generates a new filter id using the range values.
34
+ *
35
+ * @param filter - The filter to generate its new id.
36
+ * @returns The new filter id.
37
+ * @internal
38
+ */
39
+ protected getNewFilterId({ facetId, selectedRange, range, }: Pick<SliderFilter, 'selectedRange' | 'range' | 'facetId'>): string;
40
+ /**
41
+ * It returns if the filter range min or the filter range max is not null.
42
+ *
43
+ * @param filter - The filter to determine if it is selected or not.
44
+ * @returns True if filter selectedRange min or filter selectedRange max is diferrent from filter range
45
+ * min or filter range max respectively.
46
+ * @internal
47
+ */
48
+ protected isSelected({ selectedRange, range }: SliderFilter): boolean;
49
+ /**
50
+ * Removes the previous filter of this facet from the store, only if it exists.
51
+ *
52
+ * @param facetId - The facet to remove its only filter.
53
+ * @internal
54
+ */
55
+ protected removePreviousFilter(facetId: Facet['id']): void;
56
+ /**
57
+ * Retrieves the filter of the given facet id from the store.
58
+ *
59
+ * @param facetId - The facet id to retrieve its filter.
60
+ * @returns The filter of the facet if it exists.
61
+ * @internal
62
+ */
63
+ protected getFilterByFacet(facetId: Facet['id']): SliderFilter | undefined;
64
+ }
65
+ //# sourceMappingURL=slider-filter.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider-filter.entity.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/entities/slider-filter.entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACrE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C;;;;;GAKG;AACH,qBAAa,kBAAmB,YAAW,YAAY;IAClC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC;gBAA7B,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC;IAE1D,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAIvC;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAgBnC;;;;;;;OAOG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAajC;;;;;;OAMG;IACH,SAAS,CAAC,cAAc,CAAC,EACvB,OAAO,EACP,aAAa,EACb,KAAK,GACN,EAAE,IAAI,CAAC,YAAY,EAAE,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC,GAAG,MAAM;IAIrE;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,EAAE,YAAY,GAAG,OAAO;IAOrE;;;;;OAKG;IACH,SAAS,CAAC,oBAAoB,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI;IAO1D;;;;;;OAMG;IACH,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,YAAY,GAAG,SAAS;CAI3E"}
@@ -1,4 +1,4 @@
1
- import type { EditableNumberRangeFilter, Facet, Filter, HierarchicalFilter, NumberRangeFilter, RawFilter, SimpleFilter } from '@empathyco/x-types';
1
+ import type { EditableNumberRangeFilter, Facet, Filter, HierarchicalFilter, NumberRangeFilter, RawFilter, SimpleFilter, SliderFilter } from '@empathyco/x-types';
2
2
  import type { FacetsGroup } from './service/types';
3
3
  /**
4
4
  * Dictionary of the events of Facets XModule, where each key is the event name, and the
@@ -79,6 +79,11 @@ export interface FacetsXEvents {
79
79
  * Payload: An {@link EditableNumberRangeFilter}.
80
80
  */
81
81
  UserModifiedEditableNumberRangeFilter: EditableNumberRangeFilter;
82
+ /**
83
+ * The user has modified a filter which is of slider filter type.
84
+ * Payload: An {@link SliderFilter}.
85
+ */
86
+ UserModifiedSliderFilter: SliderFilter;
82
87
  /**
83
88
  * The user has clicked button clear filters.
84
89
  * Payload: array the facets ids.
@@ -1 +1 @@
1
- {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/facets/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,KAAK,EACL,MAAM,EACN,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACb,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAElD;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,kBAAkB,EAAE,WAAW,CAAA;IAC/B;;;OAGG;IACH,mBAAmB,EAAE,WAAW,CAAA;IAChC;;;OAGG;IACH,0BAA0B,EAAE,SAAS,EAAE,CAAA;IACvC;;;OAGG;IACH,sBAAsB,EAAE,MAAM,EAAE,CAAA;IAChC;;;OAGG;IACH,gCAAgC,EAAE,MAAM,EAAE,CAAA;IAC1C;;;OAGG;IACH,0BAA0B,EAAE,MAAM,EAAE,CAAA;IACpC;;;;;;OAMG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAC1B;;;;;;OAMG;IACH,8BAA8B,EAAE,kBAAkB,CAAA;IAClD;;;;;;OAMG;IACH,6BAA6B,EAAE,iBAAiB,CAAA;IAChD;;;;;;OAMG;IACH,wBAAwB,EAAE,YAAY,CAAA;IACtC;;;OAGG;IACH,oBAAoB,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA;IACnC;;;OAGG;IACH,qCAAqC,EAAE,yBAAyB,CAAA;IAChE;;;OAGG;IACH,0BAA0B,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAA;IAC1D;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAA;CAC3B"}
1
+ {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/facets/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,KAAK,EACL,MAAM,EACN,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,YAAY,EACb,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAElD;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,kBAAkB,EAAE,WAAW,CAAA;IAC/B;;;OAGG;IACH,mBAAmB,EAAE,WAAW,CAAA;IAChC;;;OAGG;IACH,0BAA0B,EAAE,SAAS,EAAE,CAAA;IACvC;;;OAGG;IACH,sBAAsB,EAAE,MAAM,EAAE,CAAA;IAChC;;;OAGG;IACH,gCAAgC,EAAE,MAAM,EAAE,CAAA;IAC1C;;;OAGG;IACH,0BAA0B,EAAE,MAAM,EAAE,CAAA;IACpC;;;;;;OAMG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAC1B;;;;;;OAMG;IACH,8BAA8B,EAAE,kBAAkB,CAAA;IAClD;;;;;;OAMG;IACH,6BAA6B,EAAE,iBAAiB,CAAA;IAChD;;;;;;OAMG;IACH,wBAAwB,EAAE,YAAY,CAAA;IACtC;;;OAGG;IACH,oBAAoB,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA;IACnC;;;OAGG;IACH,qCAAqC,EAAE,yBAAyB,CAAA;IAChE;;;OAGG;IACH,wBAAwB,EAAE,YAAY,CAAA;IACtC;;;OAGG;IACH,0BAA0B,EAAE,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAA;IAC1D;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAA;CAC3B"}
@@ -61,6 +61,9 @@ export declare const facetsWiring: {
61
61
  UserModifiedEditableNumberRangeFilter: {
62
62
  selectFilterWire: import("../../wiring/wiring.types").Wire<import("@empathyco/x-types").Filter | import("@empathyco/x-types").Filter[]>;
63
63
  };
64
+ UserModifiedSliderFilter: {
65
+ selectFilterWire: import("../../wiring/wiring.types").Wire<import("@empathyco/x-types").Filter | import("@empathyco/x-types").Filter[]>;
66
+ };
64
67
  UserClickedAllFilter: {
65
68
  clearFiltersWire: import("../../wiring/wiring.types").Wire<(string | number)[] | undefined>;
66
69
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/facets/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAyHvD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,4DAGxC,CAAA;AA0CD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,6CAGzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,6CAGxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,6CAAiE,CAAA;AAEjG;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DvB,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/facets/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAyHvD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,4DAGxC,CAAA;AA0CD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,6CAGzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,6CAGxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,6CAAiE,CAAA;AAEjG;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DvB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"related-prompts-tag-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAQnC;;;;;;;GAOG;;IAMC;;;;OAIG;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;eACiB,QAAQ,CAAC,MAAM,EAAE,CAAC;IACtC;;;;OAIG;;;;;;8BAoE8B,MAAM,KAAG,IAAI;wBAiEnB,OAAO;kBAeb,OAAO,QAAQ,MAAM,IAAI;kBAkBzB,OAAO,QAAQ,MAAM,IAAI;;;;;;;;;;;iCAoC6gd,CAAC;sCAAqD,CAAC;8BAA6C,CAAC;;;;;;;;;;;;;IA7Ohqd;;;;OAIG;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;eACiB,QAAQ,CAAC,MAAM,EAAE,CAAC;IACtC;;;;OAIG;;;;;;;;;;;;;AAxCP,wBAiPE"}
1
+ {"version":3,"file":"related-prompts-tag-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAQnC;;;;;;;GAOG;;IAMC;;;;OAIG;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;eACiB,QAAQ,CAAC,MAAM,EAAE,CAAC;IACtC;;;;OAIG;;;;;;8BAoE8B,MAAM,KAAG,IAAI;wBAiEnB,OAAO;kBAeb,OAAO,QAAQ,MAAM,IAAI;kBAkBzB,OAAO,QAAQ,MAAM,IAAI;;;;;;;;;;;iCAoCwne,CAAC;sCAAqD,CAAC;8BAA6C,CAAC;;;;;;;;;;;;;IA7O3we;;;;OAIG;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;eACiB,QAAQ,CAAC,MAAM,EAAE,CAAC;IACtC;;;;OAIG;;;;;;;;;;;;;AAxCP,wBAiPE"}