@empathyco/x-components 6.3.2 → 7.0.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 (46) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/core/index.js +0 -1
  3. package/core/index.js.map +1 -1
  4. package/docs/API-reference/api/x-components.basecurrency.md +10 -25
  5. package/docs/API-reference/api/x-components.basepricefilterlabel.md +4 -6
  6. package/docs/API-reference/api/x-components.baseresultcurrentprice.md +9 -3
  7. package/docs/API-reference/api/x-components.baseresultpreviousprice.md +9 -3
  8. package/docs/API-reference/api/x-components.md +0 -15
  9. package/docs/API-reference/components/common/currency/x-components.base-currency.md +47 -140
  10. package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +43 -8
  11. package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +30 -7
  12. package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +33 -7
  13. package/js/components/currency/base-currency.vue.js +5 -8
  14. package/js/components/currency/base-currency.vue.js.map +1 -1
  15. package/js/components/currency/base-currency.vue2.js +21 -63
  16. package/js/components/currency/base-currency.vue2.js.map +1 -1
  17. package/js/components/filters/labels/base-price-filter-label.vue.js +15 -4
  18. package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
  19. package/js/components/result/base-result-current-price.vue.js +2 -1
  20. package/js/components/result/base-result-current-price.vue.js.map +1 -1
  21. package/js/components/result/base-result-current-price.vue2.js +9 -13
  22. package/js/components/result/base-result-current-price.vue2.js.map +1 -1
  23. package/js/components/result/base-result-previous-price.vue.js +2 -1
  24. package/js/components/result/base-result-previous-price.vue.js.map +1 -1
  25. package/js/components/result/base-result-previous-price.vue2.js +9 -12
  26. package/js/components/result/base-result-previous-price.vue2.js.map +1 -1
  27. package/js/index.js +0 -1
  28. package/js/index.js.map +1 -1
  29. package/package.json +2 -2
  30. package/report/x-components.api.json +294 -85
  31. package/report/x-components.api.md +33 -20
  32. package/types/src/components/currency/base-currency.vue.d.ts +27 -43
  33. package/types/src/components/currency/base-currency.vue.d.ts.map +1 -1
  34. package/types/src/components/filters/labels/base-price-filter-label.vue.d.ts +26 -8
  35. package/types/src/components/filters/labels/base-price-filter-label.vue.d.ts.map +1 -1
  36. package/types/src/components/result/base-result-current-price.vue.d.ts +21 -27
  37. package/types/src/components/result/base-result-current-price.vue.d.ts.map +1 -1
  38. package/types/src/components/result/base-result-previous-price.vue.d.ts +21 -25
  39. package/types/src/components/result/base-result-previous-price.vue.d.ts.map +1 -1
  40. package/types/src/utils/index.d.ts +0 -1
  41. package/types/src/utils/index.d.ts.map +1 -1
  42. package/docs/API-reference/api/x-components.currencyformatter.md +0 -76
  43. package/js/utils/currency-formatter.js +0 -121
  44. package/js/utils/currency-formatter.js.map +0 -1
  45. package/types/src/utils/currency-formatter.d.ts +0 -30
  46. package/types/src/utils/currency-formatter.d.ts.map +0 -1
@@ -5587,7 +5587,7 @@
5587
5587
  {
5588
5588
  "kind": "Variable",
5589
5589
  "canonicalReference": "@empathyco/x-components!BaseCurrency:var",
5590
- "docComment": "/**\n * Renders the value received as a property which always must be a JavaScript number, with the proper format provided as a string property or by injection. The rendered tag is a span in order to render a default inline HTML element.\n *\n * Regarding the format or mask to be defined as string: - Use 'i' to define integer numbers. - Use 'd' to define decimal numbers. You can define the length of the decimal part. If the format doesn't include decimals, it is filled with zeros until reach the length defined with 'd's. - Integer separator must be defined between the 3rd and the 4th integer 'i' of a group. - Decimal separator must be defined between the last 'i' and the first 'd'. It can be more than one character. - If you want to hide the decimal part if it's zero, you can add the `?` symbol after the decimal characters (e.g. 'i.iii,dd?', for `1234` you would get `1.234` instead of `1.234,00`). - Set whatever you need around the integers and decimals marks. - Default mask: 'i.iii,dd' which returns '1.345,67'.\n *\n * @remarks\n *\n * The number of 'd', which is the maximum decimal length, MUST matches with the length of decimals provided from the adapter. Otherwise, when the component truncate the decimal part, it deletes significant digits.\n *\n * Basic example:\n * ```vue\n * <BaseCurrency\n * :value=\"123456.789\"\n * format=\"i.iiii,dddd €\"\n * />\n * ```\n *\n * It will render: `123.456,7890 €`.\n *\n * See docs below for more examples.\n *\n * @public\n */\n",
5590
+ "docComment": "",
5591
5591
  "excerptTokens": [
5592
5592
  {
5593
5593
  "kind": "Content",
@@ -5622,7 +5622,7 @@
5622
5622
  },
5623
5623
  {
5624
5624
  "kind": "Content",
5625
- "text": ";\n required: true;\n };\n format: {\n type: "
5625
+ "text": ";\n required: true;\n };\n currency: "
5626
5626
  },
5627
5627
  {
5628
5628
  "kind": "Reference",
@@ -5631,7 +5631,34 @@
5631
5631
  },
5632
5632
  {
5633
5633
  "kind": "Content",
5634
- "text": ";\n };\n}>, {\n currency: import(\"vue\")."
5634
+ "text": ";\n format: {\n type: "
5635
+ },
5636
+ {
5637
+ "kind": "Reference",
5638
+ "text": "PropType",
5639
+ "canonicalReference": "@vue/runtime-core!PropType:type"
5640
+ },
5641
+ {
5642
+ "kind": "Content",
5643
+ "text": "<"
5644
+ },
5645
+ {
5646
+ "kind": "Reference",
5647
+ "text": "Omit",
5648
+ "canonicalReference": "!Omit:type"
5649
+ },
5650
+ {
5651
+ "kind": "Content",
5652
+ "text": "<"
5653
+ },
5654
+ {
5655
+ "kind": "Reference",
5656
+ "text": "Intl.NumberFormatOptions",
5657
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
5658
+ },
5659
+ {
5660
+ "kind": "Content",
5661
+ "text": ", \"currency\" | \"style\">>;\n default: () => {};\n };\n}>, {\n currencyText: import(\"vue\")."
5635
5662
  },
5636
5663
  {
5637
5664
  "kind": "Reference",
@@ -5694,7 +5721,7 @@
5694
5721
  },
5695
5722
  {
5696
5723
  "kind": "Content",
5697
- "text": ";\n required: true;\n };\n format: {\n type: "
5724
+ "text": ";\n required: true;\n };\n currency: "
5698
5725
  },
5699
5726
  {
5700
5727
  "kind": "Reference",
@@ -5703,7 +5730,34 @@
5703
5730
  },
5704
5731
  {
5705
5732
  "kind": "Content",
5706
- "text": ";\n };\n}>> & "
5733
+ "text": ";\n format: {\n type: "
5734
+ },
5735
+ {
5736
+ "kind": "Reference",
5737
+ "text": "PropType",
5738
+ "canonicalReference": "@vue/runtime-core!PropType:type"
5739
+ },
5740
+ {
5741
+ "kind": "Content",
5742
+ "text": "<"
5743
+ },
5744
+ {
5745
+ "kind": "Reference",
5746
+ "text": "Omit",
5747
+ "canonicalReference": "!Omit:type"
5748
+ },
5749
+ {
5750
+ "kind": "Content",
5751
+ "text": "<"
5752
+ },
5753
+ {
5754
+ "kind": "Reference",
5755
+ "text": "Intl.NumberFormatOptions",
5756
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
5757
+ },
5758
+ {
5759
+ "kind": "Content",
5760
+ "text": ", \"currency\" | \"style\">>;\n default: () => {};\n };\n}>> & "
5707
5761
  },
5708
5762
  {
5709
5763
  "kind": "Reference",
@@ -5712,7 +5766,25 @@
5712
5766
  },
5713
5767
  {
5714
5768
  "kind": "Content",
5715
- "text": "<{}>, {}, {}, {}, {}, string, import(\"vue\")."
5769
+ "text": "<{}>, {\n format: "
5770
+ },
5771
+ {
5772
+ "kind": "Reference",
5773
+ "text": "Omit",
5774
+ "canonicalReference": "!Omit:type"
5775
+ },
5776
+ {
5777
+ "kind": "Content",
5778
+ "text": "<"
5779
+ },
5780
+ {
5781
+ "kind": "Reference",
5782
+ "text": "Intl.NumberFormatOptions",
5783
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
5784
+ },
5785
+ {
5786
+ "kind": "Content",
5787
+ "text": ", \"currency\" | \"style\">;\n}, {}, {}, {}, string, import(\"vue\")."
5716
5788
  },
5717
5789
  {
5718
5790
  "kind": "Reference",
@@ -5730,7 +5802,7 @@
5730
5802
  "name": "BaseCurrency",
5731
5803
  "variableTypeTokenRange": {
5732
5804
  "startIndex": 1,
5733
- "endIndex": 30
5805
+ "endIndex": 46
5734
5806
  }
5735
5807
  },
5736
5808
  {
@@ -9486,7 +9558,7 @@
9486
9558
  },
9487
9559
  {
9488
9560
  "kind": "Content",
9489
- "text": ";\n }>;\n required: true;\n };\n format: {\n type: "
9561
+ "text": ";\n }>;\n required: true;\n };\n currency: "
9490
9562
  },
9491
9563
  {
9492
9564
  "kind": "Reference",
@@ -9495,7 +9567,34 @@
9495
9567
  },
9496
9568
  {
9497
9569
  "kind": "Content",
9498
- "text": ";\n };\n lessThan: {\n type: "
9570
+ "text": ";\n format: "
9571
+ },
9572
+ {
9573
+ "kind": "Reference",
9574
+ "text": "PropType",
9575
+ "canonicalReference": "@vue/runtime-core!PropType:type"
9576
+ },
9577
+ {
9578
+ "kind": "Content",
9579
+ "text": "<"
9580
+ },
9581
+ {
9582
+ "kind": "Reference",
9583
+ "text": "Omit",
9584
+ "canonicalReference": "!Omit:type"
9585
+ },
9586
+ {
9587
+ "kind": "Content",
9588
+ "text": "<"
9589
+ },
9590
+ {
9591
+ "kind": "Reference",
9592
+ "text": "Intl.NumberFormatOptions",
9593
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
9594
+ },
9595
+ {
9596
+ "kind": "Content",
9597
+ "text": ", \"currency\" | \"style\">>;\n lessThan: {\n type: "
9499
9598
  },
9500
9599
  {
9501
9600
  "kind": "Reference",
@@ -9612,7 +9711,7 @@
9612
9711
  },
9613
9712
  {
9614
9713
  "kind": "Content",
9615
- "text": ";\n }>;\n required: true;\n };\n format: {\n type: "
9714
+ "text": ";\n }>;\n required: true;\n };\n currency: "
9616
9715
  },
9617
9716
  {
9618
9717
  "kind": "Reference",
@@ -9621,7 +9720,34 @@
9621
9720
  },
9622
9721
  {
9623
9722
  "kind": "Content",
9624
- "text": ";\n };\n lessThan: {\n type: "
9723
+ "text": ";\n format: "
9724
+ },
9725
+ {
9726
+ "kind": "Reference",
9727
+ "text": "PropType",
9728
+ "canonicalReference": "@vue/runtime-core!PropType:type"
9729
+ },
9730
+ {
9731
+ "kind": "Content",
9732
+ "text": "<"
9733
+ },
9734
+ {
9735
+ "kind": "Reference",
9736
+ "text": "Omit",
9737
+ "canonicalReference": "!Omit:type"
9738
+ },
9739
+ {
9740
+ "kind": "Content",
9741
+ "text": "<"
9742
+ },
9743
+ {
9744
+ "kind": "Reference",
9745
+ "text": "Intl.NumberFormatOptions",
9746
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
9747
+ },
9748
+ {
9749
+ "kind": "Content",
9750
+ "text": ", \"currency\" | \"style\">>;\n lessThan: {\n type: "
9625
9751
  },
9626
9752
  {
9627
9753
  "kind": "Reference",
@@ -9684,7 +9810,7 @@
9684
9810
  "name": "BasePriceFilterLabel",
9685
9811
  "variableTypeTokenRange": {
9686
9812
  "startIndex": 1,
9687
- "endIndex": 52
9813
+ "endIndex": 64
9688
9814
  }
9689
9815
  },
9690
9816
  {
@@ -10077,7 +10203,7 @@
10077
10203
  },
10078
10204
  {
10079
10205
  "kind": "Content",
10080
- "text": ">;\n required: true;\n };\n format: {\n type: "
10206
+ "text": ">;\n required: true;\n };\n currency: "
10081
10207
  },
10082
10208
  {
10083
10209
  "kind": "Reference",
@@ -10086,7 +10212,34 @@
10086
10212
  },
10087
10213
  {
10088
10214
  "kind": "Content",
10089
- "text": ";\n };\n}>, {\n dynamicClasses: import(\"vue\")."
10215
+ "text": ";\n format: {\n type: "
10216
+ },
10217
+ {
10218
+ "kind": "Reference",
10219
+ "text": "PropType",
10220
+ "canonicalReference": "@vue/runtime-core!PropType:type"
10221
+ },
10222
+ {
10223
+ "kind": "Content",
10224
+ "text": "<"
10225
+ },
10226
+ {
10227
+ "kind": "Reference",
10228
+ "text": "Omit",
10229
+ "canonicalReference": "!Omit:type"
10230
+ },
10231
+ {
10232
+ "kind": "Content",
10233
+ "text": "<"
10234
+ },
10235
+ {
10236
+ "kind": "Reference",
10237
+ "text": "Intl.NumberFormatOptions",
10238
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
10239
+ },
10240
+ {
10241
+ "kind": "Content",
10242
+ "text": ", \"currency\" | \"style\">>;\n default: () => {};\n };\n}>, {\n dynamicClasses: import(\"vue\")."
10090
10243
  },
10091
10244
  {
10092
10245
  "kind": "Reference",
@@ -10167,7 +10320,7 @@
10167
10320
  },
10168
10321
  {
10169
10322
  "kind": "Content",
10170
- "text": ">;\n required: true;\n };\n format: {\n type: "
10323
+ "text": ">;\n required: true;\n };\n currency: "
10171
10324
  },
10172
10325
  {
10173
10326
  "kind": "Reference",
@@ -10176,7 +10329,34 @@
10176
10329
  },
10177
10330
  {
10178
10331
  "kind": "Content",
10179
- "text": ";\n };\n}>> & "
10332
+ "text": ";\n format: {\n type: "
10333
+ },
10334
+ {
10335
+ "kind": "Reference",
10336
+ "text": "PropType",
10337
+ "canonicalReference": "@vue/runtime-core!PropType:type"
10338
+ },
10339
+ {
10340
+ "kind": "Content",
10341
+ "text": "<"
10342
+ },
10343
+ {
10344
+ "kind": "Reference",
10345
+ "text": "Omit",
10346
+ "canonicalReference": "!Omit:type"
10347
+ },
10348
+ {
10349
+ "kind": "Content",
10350
+ "text": "<"
10351
+ },
10352
+ {
10353
+ "kind": "Reference",
10354
+ "text": "Intl.NumberFormatOptions",
10355
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
10356
+ },
10357
+ {
10358
+ "kind": "Content",
10359
+ "text": ", \"currency\" | \"style\">>;\n default: () => {};\n };\n}>> & "
10180
10360
  },
10181
10361
  {
10182
10362
  "kind": "Reference",
@@ -10185,7 +10365,25 @@
10185
10365
  },
10186
10366
  {
10187
10367
  "kind": "Content",
10188
- "text": "<{}>, {}, {}, {\n BaseCurrency: import(\"vue\")."
10368
+ "text": "<{}>, {\n format: "
10369
+ },
10370
+ {
10371
+ "kind": "Reference",
10372
+ "text": "Omit",
10373
+ "canonicalReference": "!Omit:type"
10374
+ },
10375
+ {
10376
+ "kind": "Content",
10377
+ "text": "<"
10378
+ },
10379
+ {
10380
+ "kind": "Reference",
10381
+ "text": "Intl.NumberFormatOptions",
10382
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
10383
+ },
10384
+ {
10385
+ "kind": "Content",
10386
+ "text": ", \"currency\" | \"style\">;\n}, {}, {\n BaseCurrency: import(\"vue\")."
10189
10387
  },
10190
10388
  {
10191
10389
  "kind": "Reference",
@@ -10212,7 +10410,7 @@
10212
10410
  "name": "BaseResultCurrentPrice",
10213
10411
  "variableTypeTokenRange": {
10214
10412
  "startIndex": 1,
10215
- "endIndex": 38
10413
+ "endIndex": 54
10216
10414
  }
10217
10415
  },
10218
10416
  {
@@ -10803,7 +11001,7 @@
10803
11001
  },
10804
11002
  {
10805
11003
  "kind": "Content",
10806
- "text": ">;\n required: true;\n };\n format: {\n type: "
11004
+ "text": ">;\n required: true;\n };\n currency: "
10807
11005
  },
10808
11006
  {
10809
11007
  "kind": "Reference",
@@ -10812,7 +11010,34 @@
10812
11010
  },
10813
11011
  {
10814
11012
  "kind": "Content",
10815
- "text": ";\n };\n}>, {}, {}, {}, {}, import(\"vue\")."
11013
+ "text": ";\n format: {\n type: "
11014
+ },
11015
+ {
11016
+ "kind": "Reference",
11017
+ "text": "PropType",
11018
+ "canonicalReference": "@vue/runtime-core!PropType:type"
11019
+ },
11020
+ {
11021
+ "kind": "Content",
11022
+ "text": "<"
11023
+ },
11024
+ {
11025
+ "kind": "Reference",
11026
+ "text": "Omit",
11027
+ "canonicalReference": "!Omit:type"
11028
+ },
11029
+ {
11030
+ "kind": "Content",
11031
+ "text": "<"
11032
+ },
11033
+ {
11034
+ "kind": "Reference",
11035
+ "text": "Intl.NumberFormatOptions",
11036
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
11037
+ },
11038
+ {
11039
+ "kind": "Content",
11040
+ "text": ", \"currency\" | \"style\">>;\n default: () => {};\n };\n}>, {}, {}, {}, {}, import(\"vue\")."
10816
11041
  },
10817
11042
  {
10818
11043
  "kind": "Reference",
@@ -10875,7 +11100,7 @@
10875
11100
  },
10876
11101
  {
10877
11102
  "kind": "Content",
10878
- "text": ">;\n required: true;\n };\n format: {\n type: "
11103
+ "text": ">;\n required: true;\n };\n currency: "
10879
11104
  },
10880
11105
  {
10881
11106
  "kind": "Reference",
@@ -10884,7 +11109,34 @@
10884
11109
  },
10885
11110
  {
10886
11111
  "kind": "Content",
10887
- "text": ";\n };\n}>> & "
11112
+ "text": ";\n format: {\n type: "
11113
+ },
11114
+ {
11115
+ "kind": "Reference",
11116
+ "text": "PropType",
11117
+ "canonicalReference": "@vue/runtime-core!PropType:type"
11118
+ },
11119
+ {
11120
+ "kind": "Content",
11121
+ "text": "<"
11122
+ },
11123
+ {
11124
+ "kind": "Reference",
11125
+ "text": "Omit",
11126
+ "canonicalReference": "!Omit:type"
11127
+ },
11128
+ {
11129
+ "kind": "Content",
11130
+ "text": "<"
11131
+ },
11132
+ {
11133
+ "kind": "Reference",
11134
+ "text": "Intl.NumberFormatOptions",
11135
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
11136
+ },
11137
+ {
11138
+ "kind": "Content",
11139
+ "text": ", \"currency\" | \"style\">>;\n default: () => {};\n };\n}>> & "
10888
11140
  },
10889
11141
  {
10890
11142
  "kind": "Reference",
@@ -10893,7 +11145,25 @@
10893
11145
  },
10894
11146
  {
10895
11147
  "kind": "Content",
10896
- "text": "<{}>, {}, {}, {\n BaseCurrency: import(\"vue\")."
11148
+ "text": "<{}>, {\n format: "
11149
+ },
11150
+ {
11151
+ "kind": "Reference",
11152
+ "text": "Omit",
11153
+ "canonicalReference": "!Omit:type"
11154
+ },
11155
+ {
11156
+ "kind": "Content",
11157
+ "text": "<"
11158
+ },
11159
+ {
11160
+ "kind": "Reference",
11161
+ "text": "Intl.NumberFormatOptions",
11162
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
11163
+ },
11164
+ {
11165
+ "kind": "Content",
11166
+ "text": ", \"currency\" | \"style\">;\n}, {}, {\n BaseCurrency: import(\"vue\")."
10897
11167
  },
10898
11168
  {
10899
11169
  "kind": "Reference",
@@ -10920,7 +11190,7 @@
10920
11190
  "name": "BaseResultPreviousPrice",
10921
11191
  "variableTypeTokenRange": {
10922
11192
  "startIndex": 1,
10923
- "endIndex": 34
11193
+ "endIndex": 50
10924
11194
  }
10925
11195
  },
10926
11196
  {
@@ -17750,67 +18020,6 @@
17750
18020
  "endIndex": 24
17751
18021
  }
17752
18022
  },
17753
- {
17754
- "kind": "Function",
17755
- "canonicalReference": "@empathyco/x-components!currencyFormatter:function(1)",
17756
- "docComment": "/**\n * Format a value with a given format.\n *\n * @remarks\n *\n * Format: - Use 'i' to define integer numbers. - Use 'd' to define decimal numbers. You can define the length of the decimal part. If the doesn't include decimals, it is filled with zeros until reach the length defined with 'd's. - Integer separator must be defined between the 3rd and the 4th integer 'i' of a group. - Decimal separator must be defined between the last 'i' and the first 'd'. It can be more than one character. - Set whatever you need around the integers and decimals marks. - Default mask: 'i.iii,dd' which returns '1.345,67'. - If you want to hide the decimal part if it's zero (non significant), you can add the `?` symbol after the decimal characters (e.g. 'i.iii,dd?', for `1234` you would get `1.234` instead of `1.234,00`). It defines the value of `hideIntegerDecimals`: - If true (exists) and the value is an integer without decimals, the decimal non significant zeroes are hidden. - If false, the default behaviour will fill with zeros the remaining length until getting the one defined with the 'd's.\n *\n * @param value - Numeric value to be formatted.\n *\n * @param format - Format or mask to be defined as string.\n *\n * @returns Formatted number.\n *\n * @public\n */\n",
17757
- "excerptTokens": [
17758
- {
17759
- "kind": "Content",
17760
- "text": "export declare function currencyFormatter(value: "
17761
- },
17762
- {
17763
- "kind": "Content",
17764
- "text": "number"
17765
- },
17766
- {
17767
- "kind": "Content",
17768
- "text": ", format?: "
17769
- },
17770
- {
17771
- "kind": "Content",
17772
- "text": "string"
17773
- },
17774
- {
17775
- "kind": "Content",
17776
- "text": "): "
17777
- },
17778
- {
17779
- "kind": "Content",
17780
- "text": "string"
17781
- },
17782
- {
17783
- "kind": "Content",
17784
- "text": ";"
17785
- }
17786
- ],
17787
- "fileUrlPath": "src/utils/currency-formatter.ts",
17788
- "returnTypeTokenRange": {
17789
- "startIndex": 5,
17790
- "endIndex": 6
17791
- },
17792
- "releaseTag": "Public",
17793
- "overloadIndex": 1,
17794
- "parameters": [
17795
- {
17796
- "parameterName": "value",
17797
- "parameterTypeTokenRange": {
17798
- "startIndex": 1,
17799
- "endIndex": 2
17800
- },
17801
- "isOptional": false
17802
- },
17803
- {
17804
- "parameterName": "format",
17805
- "parameterTypeTokenRange": {
17806
- "startIndex": 3,
17807
- "endIndex": 4
17808
- },
17809
- "isOptional": true
17810
- }
17811
- ],
17812
- "name": "currencyFormatter"
17813
- },
17814
18023
  {
17815
18024
  "kind": "Function",
17816
18025
  "canonicalReference": "@empathyco/x-components!debounce:function(1)",
@@ -634,26 +634,32 @@ buttonClass: StringConstructor;
634
634
  BaseEventButton: DefineComponent< {}, {}, any>;
635
635
  }, {}, string, ComponentProvideOptions, true, {}, any>;
636
636
 
637
- // @public
637
+ // @public (undocumented)
638
638
  export const BaseCurrency: DefineComponent<ExtractPropTypes< {
639
639
  value: {
640
640
  type: NumberConstructor;
641
641
  required: true;
642
642
  };
643
+ currency: StringConstructor;
643
644
  format: {
644
- type: StringConstructor;
645
+ type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
646
+ default: () => {};
645
647
  };
646
648
  }>, {
647
- currency: ComputedRef<string>;
649
+ currencyText: ComputedRef<string>;
648
650
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
649
651
  value: {
650
652
  type: NumberConstructor;
651
653
  required: true;
652
654
  };
655
+ currency: StringConstructor;
653
656
  format: {
654
- type: StringConstructor;
657
+ type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
658
+ default: () => {};
655
659
  };
656
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
660
+ }>> & Readonly<{}>, {
661
+ format: Omit<Intl.NumberFormatOptions, "currency" | "style">;
662
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
657
663
 
658
664
  // @public
659
665
  export const BaseDropdown: DefineComponent<ExtractPropTypes< {
@@ -1120,9 +1126,8 @@ range: RangeValue;
1120
1126
  }>;
1121
1127
  required: true;
1122
1128
  };
1123
- format: {
1124
- type: StringConstructor;
1125
- };
1129
+ currency: StringConstructor;
1130
+ format: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
1126
1131
  lessThan: {
1127
1132
  type: StringConstructor;
1128
1133
  required: true;
@@ -1144,9 +1149,8 @@ range: RangeValue;
1144
1149
  }>;
1145
1150
  required: true;
1146
1151
  };
1147
- format: {
1148
- type: StringConstructor;
1149
- };
1152
+ currency: StringConstructor;
1153
+ format: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
1150
1154
  lessThan: {
1151
1155
  type: StringConstructor;
1152
1156
  required: true;
@@ -1224,8 +1228,10 @@ result: {
1224
1228
  type: PropType<Result>;
1225
1229
  required: true;
1226
1230
  };
1231
+ currency: StringConstructor;
1227
1232
  format: {
1228
- type: StringConstructor;
1233
+ type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
1234
+ default: () => {};
1229
1235
  };
1230
1236
  }>, {
1231
1237
  dynamicClasses: ComputedRef<VueCSSClasses>;
@@ -1234,10 +1240,14 @@ result: {
1234
1240
  type: PropType<Result>;
1235
1241
  required: true;
1236
1242
  };
1243
+ currency: StringConstructor;
1237
1244
  format: {
1238
- type: StringConstructor;
1245
+ type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
1246
+ default: () => {};
1239
1247
  };
1240
- }>> & Readonly<{}>, {}, {}, {
1248
+ }>> & Readonly<{}>, {
1249
+ format: Omit<Intl.NumberFormatOptions, "currency" | "style">;
1250
+ }, {}, {
1241
1251
  BaseCurrency: DefineComponent< {}, {}, any>;
1242
1252
  }, {}, string, ComponentProvideOptions, true, {}, any>;
1243
1253
 
@@ -1312,18 +1322,24 @@ result: {
1312
1322
  type: PropType<Result>;
1313
1323
  required: true;
1314
1324
  };
1325
+ currency: StringConstructor;
1315
1326
  format: {
1316
- type: StringConstructor;
1327
+ type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
1328
+ default: () => {};
1317
1329
  };
1318
1330
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1319
1331
  result: {
1320
1332
  type: PropType<Result>;
1321
1333
  required: true;
1322
1334
  };
1335
+ currency: StringConstructor;
1323
1336
  format: {
1324
- type: StringConstructor;
1337
+ type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
1338
+ default: () => {};
1325
1339
  };
1326
- }>> & Readonly<{}>, {}, {}, {
1340
+ }>> & Readonly<{}>, {
1341
+ format: Omit<Intl.NumberFormatOptions, "currency" | "style">;
1342
+ }, {}, {
1327
1343
  BaseCurrency: DefineComponent< {}, {}, any>;
1328
1344
  }, {}, string, ComponentProvideOptions, true, {}, any>;
1329
1345
 
@@ -2115,9 +2131,6 @@ export { CuratedCheckTinyFilledIcon }
2115
2131
 
2116
2132
  export { CuratedCheckTinyIcon }
2117
2133
 
2118
- // @public
2119
- export function currencyFormatter(value: number, format?: string): string;
2120
-
2121
2134
  // @public
2122
2135
  export function debounce<Payload>(wire: Wire<Payload>, timeInMs: TimeSelector | number, options?: TimedWireOperatorOptions): Wire<Payload>;
2123
2136