@oanda/labs-widget-common 1.0.252 → 1.0.254
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 +774 -62520
- package/dist/main/components/style.css +1 -1
- package/dist/module/chart/BaseChart.js +15 -7
- package/dist/module/chart/BaseChart.js.map +1 -1
- package/dist/module/chart/formatters.js +12 -3
- package/dist/module/chart/formatters.js.map +1 -1
- package/dist/module/chart/getGridLines.js +16 -9
- package/dist/module/chart/getGridLines.js.map +1 -1
- package/dist/module/chart/getTheme.js +38 -31
- package/dist/module/chart/getTheme.js.map +1 -1
- package/dist/module/chart/getZoomControls.js +12 -5
- package/dist/module/chart/getZoomControls.js.map +1 -1
- package/dist/module/chart/index.js +82 -7
- package/dist/module/chart/index.js.map +1 -1
- package/dist/module/chart/sharedOptions.js +11 -4
- package/dist/module/chart/sharedOptions.js.map +1 -1
- package/dist/module/chart/types.js +5 -1
- package/dist/module/components/Button/Button.js +18 -11
- package/dist/module/components/Button/Button.js.map +1 -1
- package/dist/module/components/Button/index.js +27 -2
- package/dist/module/components/Button/index.js.map +1 -1
- package/dist/module/components/Button/types.js +8 -2
- package/dist/module/components/Button/types.js.map +1 -1
- package/dist/module/components/Card/Card.js +24 -16
- package/dist/module/components/Card/Card.js.map +1 -1
- package/dist/module/components/Card/CardHeader.js +21 -14
- package/dist/module/components/Card/CardHeader.js.map +1 -1
- package/dist/module/components/Card/index.js +38 -3
- package/dist/module/components/Card/index.js.map +1 -1
- package/dist/module/components/Card/rows/DailyChangeCardRow.js +15 -7
- package/dist/module/components/Card/rows/DailyChangeCardRow.js.map +1 -1
- package/dist/module/components/Card/rows/LineChartCardRow.js +17 -10
- package/dist/module/components/Card/rows/LineChartCardRow.js.map +1 -1
- package/dist/module/components/Card/rows/PriceCardRow.js +16 -8
- package/dist/module/components/Card/rows/PriceCardRow.js.map +1 -1
- package/dist/module/components/Card/rows/SentimentCardRow.js +18 -10
- package/dist/module/components/Card/rows/SentimentCardRow.js.map +1 -1
- package/dist/module/components/Card/rows/SpreadCardRow.js +15 -7
- package/dist/module/components/Card/rows/SpreadCardRow.js.map +1 -1
- package/dist/module/components/Card/rows/index.js +60 -5
- package/dist/module/components/Card/rows/index.js.map +1 -1
- package/dist/module/components/Card/types.js +5 -1
- package/dist/module/components/Disclaimer/Disclaimer.js +32 -24
- package/dist/module/components/Disclaimer/Disclaimer.js.map +1 -1
- package/dist/module/components/Disclaimer/index.js +16 -1
- package/dist/module/components/Disclaimer/index.js.map +1 -1
- package/dist/module/components/Error/Error.js +27 -18
- package/dist/module/components/Error/Error.js.map +1 -1
- package/dist/module/components/Error/index.js +16 -1
- package/dist/module/components/Error/index.js.map +1 -1
- package/dist/module/components/InfoBox/InfoBox.js +10 -3
- package/dist/module/components/InfoBox/InfoBox.js.map +1 -1
- package/dist/module/components/InfoBox/index.js +27 -2
- package/dist/module/components/InfoBox/index.js.map +1 -1
- package/dist/module/components/InfoBox/types.js +5 -1
- package/dist/module/components/Input/NumberInput.js +21 -13
- package/dist/module/components/Input/NumberInput.js.map +1 -1
- package/dist/module/components/Input/index.js +38 -3
- package/dist/module/components/Input/index.js.map +1 -1
- package/dist/module/components/Input/types.js +5 -1
- package/dist/module/components/Input/useNumberFormat.js +11 -4
- package/dist/module/components/Input/useNumberFormat.js.map +1 -1
- package/dist/module/components/InstrumentRate/InstrumentRate.js +37 -30
- package/dist/module/components/InstrumentRate/InstrumentRate.js.map +1 -1
- package/dist/module/components/InstrumentRate/InstrumentRateWithChart.js +19 -13
- package/dist/module/components/InstrumentRate/InstrumentRateWithChart.js.map +1 -1
- package/dist/module/components/InstrumentRate/index.js +38 -3
- package/dist/module/components/InstrumentRate/index.js.map +1 -1
- package/dist/module/components/InstrumentRate/types.js +5 -1
- package/dist/module/components/InstrumentRate/utils.js +13 -6
- package/dist/module/components/InstrumentRate/utils.js.map +1 -1
- package/dist/module/components/Label/Label.js +12 -6
- package/dist/module/components/Label/Label.js.map +1 -1
- package/dist/module/components/Label/index.js +16 -1
- package/dist/module/components/Label/index.js.map +1 -1
- package/dist/module/components/LabelWrapper/LabelWrapper.js +24 -17
- package/dist/module/components/LabelWrapper/LabelWrapper.js.map +1 -1
- package/dist/module/components/LabelWrapper/index.js +27 -2
- package/dist/module/components/LabelWrapper/index.js.map +1 -1
- package/dist/module/components/LabelWrapper/types.js +7 -1
- package/dist/module/components/LabelWrapper/types.js.map +1 -1
- package/dist/module/components/LastUpdated/LastUpdated.js +13 -6
- package/dist/module/components/LastUpdated/LastUpdated.js.map +1 -1
- package/dist/module/components/LastUpdated/index.js +27 -2
- package/dist/module/components/LastUpdated/index.js.map +1 -1
- package/dist/module/components/LastUpdated/types.js +5 -1
- package/dist/module/components/LineChart/LineChart.js +18 -11
- package/dist/module/components/LineChart/LineChart.js.map +1 -1
- package/dist/module/components/LineChart/LineChartWithData.js +14 -8
- package/dist/module/components/LineChart/LineChartWithData.js.map +1 -1
- package/dist/module/components/LineChart/index.js +49 -4
- package/dist/module/components/LineChart/index.js.map +1 -1
- package/dist/module/components/LineChart/types.js +7 -1
- package/dist/module/components/LineChart/types.js.map +1 -1
- package/dist/module/components/LineChart/utils.js +16 -8
- package/dist/module/components/LineChart/utils.js.map +1 -1
- package/dist/module/components/Loader/Loader.js +18 -11
- package/dist/module/components/Loader/Loader.js.map +1 -1
- package/dist/module/components/Loader/index.js +27 -2
- package/dist/module/components/Loader/index.js.map +1 -1
- package/dist/module/components/Loader/types.js +7 -1
- package/dist/module/components/Loader/types.js.map +1 -1
- package/dist/module/components/Pagination/Pagination.js +40 -33
- package/dist/module/components/Pagination/Pagination.js.map +1 -1
- package/dist/module/components/Pagination/index.js +27 -2
- package/dist/module/components/Pagination/index.js.map +1 -1
- package/dist/module/components/Pagination/types.js +5 -1
- package/dist/module/components/Pagination/utils.js +8 -1
- package/dist/module/components/Pagination/utils.js.map +1 -1
- package/dist/module/components/Price/Price.js +23 -15
- package/dist/module/components/Price/Price.js.map +1 -1
- package/dist/module/components/Price/index.js +27 -2
- package/dist/module/components/Price/index.js.map +1 -1
- package/dist/module/components/Price/types.js +7 -1
- package/dist/module/components/Price/types.js.map +1 -1
- package/dist/module/components/SearchInput/SearchInput.js +12 -5
- package/dist/module/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/module/components/SearchInput/index.js +27 -2
- package/dist/module/components/SearchInput/index.js.map +1 -1
- package/dist/module/components/SearchInput/types.js +5 -1
- package/dist/module/components/Select/Select.js +44 -36
- package/dist/module/components/Select/Select.js.map +1 -1
- package/dist/module/components/Select/index.js +27 -2
- package/dist/module/components/Select/index.js.map +1 -1
- package/dist/module/components/Select/types.js +5 -1
- package/dist/module/components/Sentiment/Sentiment.js +28 -20
- package/dist/module/components/Sentiment/Sentiment.js.map +1 -1
- package/dist/module/components/Sentiment/SentimentError.js +17 -10
- package/dist/module/components/Sentiment/SentimentError.js.map +1 -1
- package/dist/module/components/Sentiment/SentimentLoader.js +17 -10
- package/dist/module/components/Sentiment/SentimentLoader.js.map +1 -1
- package/dist/module/components/Sentiment/index.js +38 -3
- package/dist/module/components/Sentiment/index.js.map +1 -1
- package/dist/module/components/Sentiment/types.js +7 -1
- package/dist/module/components/Sentiment/types.js.map +1 -1
- package/dist/module/components/Sentiment/utils.js +7 -1
- package/dist/module/components/Sentiment/utils.js.map +1 -1
- package/dist/module/components/Spinner/Spinner.js +18 -10
- package/dist/module/components/Spinner/Spinner.js.map +1 -1
- package/dist/module/components/Spinner/index.js +27 -2
- package/dist/module/components/Spinner/index.js.map +1 -1
- package/dist/module/components/Spinner/types.js +7 -1
- package/dist/module/components/Spinner/types.js.map +1 -1
- package/dist/module/components/Switch/Switch.js +26 -18
- package/dist/module/components/Switch/Switch.js.map +1 -1
- package/dist/module/components/Switch/SwitchItem.js +18 -10
- package/dist/module/components/Switch/SwitchItem.js.map +1 -1
- package/dist/module/components/Switch/constants.js +7 -1
- package/dist/module/components/Switch/constants.js.map +1 -1
- package/dist/module/components/Switch/index.js +16 -1
- package/dist/module/components/Switch/index.js.map +1 -1
- package/dist/module/components/Switch/types.js +5 -1
- package/dist/module/components/Table/Table.js +21 -14
- package/dist/module/components/Table/Table.js.map +1 -1
- package/dist/module/components/Table/TableCell.js +19 -12
- package/dist/module/components/Table/TableCell.js.map +1 -1
- package/dist/module/components/Table/TableHeader.js +20 -13
- package/dist/module/components/Table/TableHeader.js.map +1 -1
- package/dist/module/components/Table/TableRow.js +15 -8
- package/dist/module/components/Table/TableRow.js.map +1 -1
- package/dist/module/components/Table/columns/ChartColumn.js +20 -12
- package/dist/module/components/Table/columns/ChartColumn.js.map +1 -1
- package/dist/module/components/Table/columns/DailyChangeColumn.js +15 -7
- package/dist/module/components/Table/columns/DailyChangeColumn.js.map +1 -1
- package/dist/module/components/Table/columns/InstrumentColumn.js +19 -11
- package/dist/module/components/Table/columns/InstrumentColumn.js.map +1 -1
- package/dist/module/components/Table/columns/PriceColumn.js +16 -8
- package/dist/module/components/Table/columns/PriceColumn.js.map +1 -1
- package/dist/module/components/Table/columns/SentimentColumn.js +16 -8
- package/dist/module/components/Table/columns/SentimentColumn.js.map +1 -1
- package/dist/module/components/Table/columns/SpreadColumn.js +17 -9
- package/dist/module/components/Table/columns/SpreadColumn.js.map +1 -1
- package/dist/module/components/Table/columns/index.js +71 -6
- package/dist/module/components/Table/columns/index.js.map +1 -1
- package/dist/module/components/Table/index.js +60 -5
- package/dist/module/components/Table/index.js.map +1 -1
- package/dist/module/components/Table/types.js +5 -1
- package/dist/module/components/TableWidget/CardRecordRow.js +22 -14
- package/dist/module/components/TableWidget/CardRecordRow.js.map +1 -1
- package/dist/module/components/TableWidget/CardRenderer.js +20 -12
- package/dist/module/components/TableWidget/CardRenderer.js.map +1 -1
- package/dist/module/components/TableWidget/Cards.js +14 -6
- package/dist/module/components/TableWidget/Cards.js.map +1 -1
- package/dist/module/components/TableWidget/ColumnRenderer.js +42 -34
- package/dist/module/components/TableWidget/ColumnRenderer.js.map +1 -1
- package/dist/module/components/TableWidget/DataRecordRow.js +20 -12
- package/dist/module/components/TableWidget/DataRecordRow.js.map +1 -1
- package/dist/module/components/TableWidget/TableWidget.js +34 -26
- package/dist/module/components/TableWidget/TableWidget.js.map +1 -1
- package/dist/module/components/TableWidget/index.js +27 -2
- package/dist/module/components/TableWidget/index.js.map +1 -1
- package/dist/module/components/TableWidget/types.js +5 -1
- package/dist/module/components/TableWidget/utils.js +12 -4
- package/dist/module/components/TableWidget/utils.js.map +1 -1
- package/dist/module/components/Tabs/Tab.js +16 -10
- package/dist/module/components/Tabs/Tab.js.map +1 -1
- package/dist/module/components/Tabs/Tabs.js +11 -5
- package/dist/module/components/Tabs/Tabs.js.map +1 -1
- package/dist/module/components/Tabs/index.js +16 -1
- package/dist/module/components/Tabs/index.js.map +1 -1
- package/dist/module/components/Tabs/types.js +5 -1
- package/dist/module/components/TextInput/TextInput.js +17 -10
- package/dist/module/components/TextInput/TextInput.js.map +1 -1
- package/dist/module/components/TextInput/index.js +16 -1
- package/dist/module/components/TextInput/index.js.map +1 -1
- package/dist/module/components/TimeUnitSwitch/TimeUnitSelect.js +14 -7
- package/dist/module/components/TimeUnitSwitch/TimeUnitSelect.js.map +1 -1
- package/dist/module/components/TimeUnitSwitch/TimeUnitSwitch.js +22 -15
- package/dist/module/components/TimeUnitSwitch/TimeUnitSwitch.js.map +1 -1
- package/dist/module/components/TimeUnitSwitch/index.js +16 -1
- package/dist/module/components/TimeUnitSwitch/index.js.map +1 -1
- package/dist/module/components/TimeUnitSwitch/types.js +5 -1
- package/dist/module/components/Tooltip/Tooltip.js +11 -4
- package/dist/module/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/module/components/Tooltip/index.js +27 -2
- package/dist/module/components/Tooltip/index.js.map +1 -1
- package/dist/module/components/Tooltip/types.js +5 -1
- package/dist/module/components/Truncate/Truncate.js +18 -11
- package/dist/module/components/Truncate/Truncate.js.map +1 -1
- package/dist/module/components/Truncate/index.js +27 -2
- package/dist/module/components/Truncate/index.js.map +1 -1
- package/dist/module/components/Truncate/types.js +5 -1
- package/dist/module/components/WidgetWrapper/WidgetWrapper.js +14 -6
- package/dist/module/components/WidgetWrapper/WidgetWrapper.js.map +1 -1
- package/dist/module/components/WidgetWrapper/index.js +16 -1
- package/dist/module/components/WidgetWrapper/index.js.map +1 -1
- package/dist/module/components/constant.js +8 -2
- package/dist/module/components/constant.js.map +1 -1
- package/dist/module/components/index.js +292 -27
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/style.css +1 -1
- package/dist/module/constants/index.js +13 -7
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/fonts/index.js +27 -4
- package/dist/module/fonts/index.js.map +1 -1
- package/dist/module/hooks/index.js +71 -6
- package/dist/module/hooks/index.js.map +1 -1
- package/dist/module/hooks/useFetchCombinedDataRecords.js +14 -7
- package/dist/module/hooks/useFetchCombinedDataRecords.js.map +1 -1
- package/dist/module/hooks/useLiveRates.js +12 -5
- package/dist/module/hooks/useLiveRates.js.map +1 -1
- package/dist/module/hooks/useLiveRatesMessage.js +26 -19
- package/dist/module/hooks/useLiveRatesMessage.js.map +1 -1
- package/dist/module/hooks/useLiveRatesQuery.js +12 -5
- package/dist/module/hooks/useLiveRatesQuery.js.map +1 -1
- package/dist/module/hooks/useRecords.js +13 -7
- package/dist/module/hooks/useRecords.js.map +1 -1
- package/dist/module/hooks/useVisibleLiveDataRecord.js +16 -9
- package/dist/module/hooks/useVisibleLiveDataRecord.js.map +1 -1
- package/dist/module/images/index.js +111 -16
- package/dist/module/images/index.js.map +1 -1
- package/dist/module/index.js +126 -11
- package/dist/module/index.js.map +1 -1
- package/dist/module/providers/ConditionalProvider.js +11 -3
- package/dist/module/providers/ConditionalProvider.js.map +1 -1
- package/dist/module/providers/Layout/LayoutContext.js +12 -4
- package/dist/module/providers/Layout/LayoutContext.js.map +1 -1
- package/dist/module/providers/Layout/LayoutProvider.js +30 -22
- package/dist/module/providers/Layout/LayoutProvider.js.map +1 -1
- package/dist/module/providers/Layout/LayoutProvider.test.js +61 -58
- package/dist/module/providers/Layout/LayoutProvider.test.js.map +1 -1
- package/dist/module/providers/Layout/index.js +27 -2
- package/dist/module/providers/Layout/index.js.map +1 -1
- package/dist/module/providers/LiveRates/LiveRatesContext.js +11 -4
- package/dist/module/providers/LiveRates/LiveRatesContext.js.map +1 -1
- package/dist/module/providers/LiveRates/LiveRatesProvider.js +37 -29
- package/dist/module/providers/LiveRates/LiveRatesProvider.js.map +1 -1
- package/dist/module/providers/LiveRates/index.js +27 -2
- package/dist/module/providers/LiveRates/index.js.map +1 -1
- package/dist/module/providers/Widget/WidgetProvider.js +26 -18
- package/dist/module/providers/Widget/WidgetProvider.js.map +1 -1
- package/dist/module/providers/Widget/index.js +16 -1
- package/dist/module/providers/Widget/index.js.map +1 -1
- package/dist/module/providers/index.js +38 -3
- package/dist/module/providers/index.js.map +1 -1
- package/dist/module/tailwind/cn.js +11 -4
- package/dist/module/tailwind/cn.js.map +1 -1
- package/dist/module/tailwind/colors.js +9 -3
- package/dist/module/tailwind/colors.js.map +1 -1
- package/dist/module/tailwind/index.js +39 -3
- package/dist/module/tailwind/index.js.map +1 -1
- package/dist/module/tailwind/preset.js +11 -5
- package/dist/module/tailwind/preset.js.map +1 -1
- package/dist/module/tailwind/themes/background.js +14 -8
- package/dist/module/tailwind/themes/background.js.map +1 -1
- package/dist/module/tailwind/themes/border.js +10 -4
- package/dist/module/tailwind/themes/border.js.map +1 -1
- package/dist/module/tailwind/themes/index.js +12 -6
- package/dist/module/tailwind/themes/index.js.map +1 -1
- package/dist/module/tailwind/themes/text.js +18 -12
- package/dist/module/tailwind/themes/text.js.map +1 -1
- package/dist/module/tailwind/themes/themeColors.js +26 -20
- package/dist/module/tailwind/themes/themeColors.js.map +1 -1
- package/dist/module/tailwind/types.js +5 -1
- package/dist/module/tailwind/utils.js +8 -1
- package/dist/module/tailwind/utils.js.map +1 -1
- package/dist/module/testUtils/index.js +15 -7
- package/dist/module/testUtils/index.js.map +1 -1
- package/dist/module/translations/index.js +15 -8
- package/dist/module/translations/index.js.map +1 -1
- package/dist/module/translations/translations.js +7 -1
- package/dist/module/translations/translations.js.map +1 -1
- package/dist/module/types/dataTypes.js +7 -1
- package/dist/module/types/dataTypes.js.map +1 -1
- package/dist/module/types/index.js +36 -4
- package/dist/module/types/index.js.map +1 -1
- package/dist/module/types/liveRatesTypes.js +5 -1
- package/dist/module/utils/dateUtils.js +9 -1
- package/dist/module/utils/dateUtils.js.map +1 -1
- package/dist/module/utils/getLocale.js +20 -13
- package/dist/module/utils/getLocale.js.map +1 -1
- package/dist/module/utils/index.js +38 -3
- package/dist/module/utils/index.js.map +1 -1
- package/dist/module/utils/liveRates/buildUrl.js +8 -1
- package/dist/module/utils/liveRates/buildUrl.js.map +1 -1
- package/dist/module/utils/liveRates/calculatePipsChangeFromOpen.js +7 -1
- package/dist/module/utils/liveRates/calculatePipsChangeFromOpen.js.map +1 -1
- package/dist/module/utils/liveRates/calculatePriceChange.js +8 -1
- package/dist/module/utils/liveRates/calculatePriceChange.js.map +1 -1
- package/dist/module/utils/liveRates/calculatePriceChangeFromOpen.js +8 -1
- package/dist/module/utils/liveRates/calculatePriceChangeFromOpen.js.map +1 -1
- package/dist/module/utils/liveRates/calculateSpread.js +8 -1
- package/dist/module/utils/liveRates/calculateSpread.js.map +1 -1
- package/dist/module/utils/liveRates/decodeLiveRateMessage.js +9 -2
- package/dist/module/utils/liveRates/decodeLiveRateMessage.js.map +1 -1
- package/dist/module/utils/liveRates/decodeUtilities.js +18 -6
- package/dist/module/utils/liveRates/decodeUtilities.js.map +1 -1
- package/dist/module/utils/liveRates/index.js +82 -7
- package/dist/module/utils/liveRates/index.js.map +1 -1
- package/dist/module/utils/validateToolParams.js +7 -1
- package/dist/module/utils/validateToolParams.js.map +1 -1
- package/package.json +9 -4
- package/src/components/style.css +1 -1
- package/tsconfig.types.json +2 -4
|
@@ -1,28 +1,293 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
require("./style.css");
|
|
7
|
+
var _Button = require("./Button");
|
|
8
|
+
Object.keys(_Button).forEach(function (key) {
|
|
9
|
+
if (key === "default" || key === "__esModule") return;
|
|
10
|
+
if (key in exports && exports[key] === _Button[key]) return;
|
|
11
|
+
Object.defineProperty(exports, key, {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () {
|
|
14
|
+
return _Button[key];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
var _Card = require("./Card");
|
|
19
|
+
Object.keys(_Card).forEach(function (key) {
|
|
20
|
+
if (key === "default" || key === "__esModule") return;
|
|
21
|
+
if (key in exports && exports[key] === _Card[key]) return;
|
|
22
|
+
Object.defineProperty(exports, key, {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () {
|
|
25
|
+
return _Card[key];
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
var _Disclaimer = require("./Disclaimer");
|
|
30
|
+
Object.keys(_Disclaimer).forEach(function (key) {
|
|
31
|
+
if (key === "default" || key === "__esModule") return;
|
|
32
|
+
if (key in exports && exports[key] === _Disclaimer[key]) return;
|
|
33
|
+
Object.defineProperty(exports, key, {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () {
|
|
36
|
+
return _Disclaimer[key];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
var _Error = require("./Error");
|
|
41
|
+
Object.keys(_Error).forEach(function (key) {
|
|
42
|
+
if (key === "default" || key === "__esModule") return;
|
|
43
|
+
if (key in exports && exports[key] === _Error[key]) return;
|
|
44
|
+
Object.defineProperty(exports, key, {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () {
|
|
47
|
+
return _Error[key];
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
var _InfoBox = require("./InfoBox");
|
|
52
|
+
Object.keys(_InfoBox).forEach(function (key) {
|
|
53
|
+
if (key === "default" || key === "__esModule") return;
|
|
54
|
+
if (key in exports && exports[key] === _InfoBox[key]) return;
|
|
55
|
+
Object.defineProperty(exports, key, {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () {
|
|
58
|
+
return _InfoBox[key];
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
var _Input = require("./Input");
|
|
63
|
+
Object.keys(_Input).forEach(function (key) {
|
|
64
|
+
if (key === "default" || key === "__esModule") return;
|
|
65
|
+
if (key in exports && exports[key] === _Input[key]) return;
|
|
66
|
+
Object.defineProperty(exports, key, {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _Input[key];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
var _InstrumentRate = require("./InstrumentRate");
|
|
74
|
+
Object.keys(_InstrumentRate).forEach(function (key) {
|
|
75
|
+
if (key === "default" || key === "__esModule") return;
|
|
76
|
+
if (key in exports && exports[key] === _InstrumentRate[key]) return;
|
|
77
|
+
Object.defineProperty(exports, key, {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () {
|
|
80
|
+
return _InstrumentRate[key];
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
var _Label = require("./Label");
|
|
85
|
+
Object.keys(_Label).forEach(function (key) {
|
|
86
|
+
if (key === "default" || key === "__esModule") return;
|
|
87
|
+
if (key in exports && exports[key] === _Label[key]) return;
|
|
88
|
+
Object.defineProperty(exports, key, {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () {
|
|
91
|
+
return _Label[key];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
var _LabelWrapper = require("./LabelWrapper");
|
|
96
|
+
Object.keys(_LabelWrapper).forEach(function (key) {
|
|
97
|
+
if (key === "default" || key === "__esModule") return;
|
|
98
|
+
if (key in exports && exports[key] === _LabelWrapper[key]) return;
|
|
99
|
+
Object.defineProperty(exports, key, {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () {
|
|
102
|
+
return _LabelWrapper[key];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
var _LastUpdated = require("./LastUpdated");
|
|
107
|
+
Object.keys(_LastUpdated).forEach(function (key) {
|
|
108
|
+
if (key === "default" || key === "__esModule") return;
|
|
109
|
+
if (key in exports && exports[key] === _LastUpdated[key]) return;
|
|
110
|
+
Object.defineProperty(exports, key, {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () {
|
|
113
|
+
return _LastUpdated[key];
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
var _LineChart = require("./LineChart");
|
|
118
|
+
Object.keys(_LineChart).forEach(function (key) {
|
|
119
|
+
if (key === "default" || key === "__esModule") return;
|
|
120
|
+
if (key in exports && exports[key] === _LineChart[key]) return;
|
|
121
|
+
Object.defineProperty(exports, key, {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () {
|
|
124
|
+
return _LineChart[key];
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
var _Loader = require("./Loader");
|
|
129
|
+
Object.keys(_Loader).forEach(function (key) {
|
|
130
|
+
if (key === "default" || key === "__esModule") return;
|
|
131
|
+
if (key in exports && exports[key] === _Loader[key]) return;
|
|
132
|
+
Object.defineProperty(exports, key, {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () {
|
|
135
|
+
return _Loader[key];
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
var _Pagination = require("./Pagination");
|
|
140
|
+
Object.keys(_Pagination).forEach(function (key) {
|
|
141
|
+
if (key === "default" || key === "__esModule") return;
|
|
142
|
+
if (key in exports && exports[key] === _Pagination[key]) return;
|
|
143
|
+
Object.defineProperty(exports, key, {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () {
|
|
146
|
+
return _Pagination[key];
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
var _Price = require("./Price");
|
|
151
|
+
Object.keys(_Price).forEach(function (key) {
|
|
152
|
+
if (key === "default" || key === "__esModule") return;
|
|
153
|
+
if (key in exports && exports[key] === _Price[key]) return;
|
|
154
|
+
Object.defineProperty(exports, key, {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () {
|
|
157
|
+
return _Price[key];
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
var _Select = require("./Select");
|
|
162
|
+
Object.keys(_Select).forEach(function (key) {
|
|
163
|
+
if (key === "default" || key === "__esModule") return;
|
|
164
|
+
if (key in exports && exports[key] === _Select[key]) return;
|
|
165
|
+
Object.defineProperty(exports, key, {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () {
|
|
168
|
+
return _Select[key];
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
var _Sentiment = require("./Sentiment");
|
|
173
|
+
Object.keys(_Sentiment).forEach(function (key) {
|
|
174
|
+
if (key === "default" || key === "__esModule") return;
|
|
175
|
+
if (key in exports && exports[key] === _Sentiment[key]) return;
|
|
176
|
+
Object.defineProperty(exports, key, {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () {
|
|
179
|
+
return _Sentiment[key];
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
});
|
|
183
|
+
var _Spinner = require("./Spinner");
|
|
184
|
+
Object.keys(_Spinner).forEach(function (key) {
|
|
185
|
+
if (key === "default" || key === "__esModule") return;
|
|
186
|
+
if (key in exports && exports[key] === _Spinner[key]) return;
|
|
187
|
+
Object.defineProperty(exports, key, {
|
|
188
|
+
enumerable: true,
|
|
189
|
+
get: function () {
|
|
190
|
+
return _Spinner[key];
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
var _Switch = require("./Switch");
|
|
195
|
+
Object.keys(_Switch).forEach(function (key) {
|
|
196
|
+
if (key === "default" || key === "__esModule") return;
|
|
197
|
+
if (key in exports && exports[key] === _Switch[key]) return;
|
|
198
|
+
Object.defineProperty(exports, key, {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () {
|
|
201
|
+
return _Switch[key];
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
var _Table = require("./Table");
|
|
206
|
+
Object.keys(_Table).forEach(function (key) {
|
|
207
|
+
if (key === "default" || key === "__esModule") return;
|
|
208
|
+
if (key in exports && exports[key] === _Table[key]) return;
|
|
209
|
+
Object.defineProperty(exports, key, {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () {
|
|
212
|
+
return _Table[key];
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
});
|
|
216
|
+
var _TableWidget = require("./TableWidget");
|
|
217
|
+
Object.keys(_TableWidget).forEach(function (key) {
|
|
218
|
+
if (key === "default" || key === "__esModule") return;
|
|
219
|
+
if (key in exports && exports[key] === _TableWidget[key]) return;
|
|
220
|
+
Object.defineProperty(exports, key, {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function () {
|
|
223
|
+
return _TableWidget[key];
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
var _Tabs = require("./Tabs");
|
|
228
|
+
Object.keys(_Tabs).forEach(function (key) {
|
|
229
|
+
if (key === "default" || key === "__esModule") return;
|
|
230
|
+
if (key in exports && exports[key] === _Tabs[key]) return;
|
|
231
|
+
Object.defineProperty(exports, key, {
|
|
232
|
+
enumerable: true,
|
|
233
|
+
get: function () {
|
|
234
|
+
return _Tabs[key];
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
var _TextInput = require("./TextInput");
|
|
239
|
+
Object.keys(_TextInput).forEach(function (key) {
|
|
240
|
+
if (key === "default" || key === "__esModule") return;
|
|
241
|
+
if (key in exports && exports[key] === _TextInput[key]) return;
|
|
242
|
+
Object.defineProperty(exports, key, {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function () {
|
|
245
|
+
return _TextInput[key];
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
var _TimeUnitSwitch = require("./TimeUnitSwitch");
|
|
250
|
+
Object.keys(_TimeUnitSwitch).forEach(function (key) {
|
|
251
|
+
if (key === "default" || key === "__esModule") return;
|
|
252
|
+
if (key in exports && exports[key] === _TimeUnitSwitch[key]) return;
|
|
253
|
+
Object.defineProperty(exports, key, {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () {
|
|
256
|
+
return _TimeUnitSwitch[key];
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
});
|
|
260
|
+
var _Tooltip = require("./Tooltip");
|
|
261
|
+
Object.keys(_Tooltip).forEach(function (key) {
|
|
262
|
+
if (key === "default" || key === "__esModule") return;
|
|
263
|
+
if (key in exports && exports[key] === _Tooltip[key]) return;
|
|
264
|
+
Object.defineProperty(exports, key, {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function () {
|
|
267
|
+
return _Tooltip[key];
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
var _Truncate = require("./Truncate");
|
|
272
|
+
Object.keys(_Truncate).forEach(function (key) {
|
|
273
|
+
if (key === "default" || key === "__esModule") return;
|
|
274
|
+
if (key in exports && exports[key] === _Truncate[key]) return;
|
|
275
|
+
Object.defineProperty(exports, key, {
|
|
276
|
+
enumerable: true,
|
|
277
|
+
get: function () {
|
|
278
|
+
return _Truncate[key];
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
});
|
|
282
|
+
var _WidgetWrapper = require("./WidgetWrapper");
|
|
283
|
+
Object.keys(_WidgetWrapper).forEach(function (key) {
|
|
284
|
+
if (key === "default" || key === "__esModule") return;
|
|
285
|
+
if (key in exports && exports[key] === _WidgetWrapper[key]) return;
|
|
286
|
+
Object.defineProperty(exports, key, {
|
|
287
|
+
enumerable: true,
|
|
288
|
+
get: function () {
|
|
289
|
+
return _WidgetWrapper[key];
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
});
|
|
28
293
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/index.ts"],"sourcesContent":["import './style.css';\n\nexport * from './Button';\nexport * from './Card';\nexport * from './Disclaimer';\nexport * from './Error';\nexport * from './InfoBox';\nexport * from './Input';\nexport * from './InstrumentRate';\nexport * from './Label';\nexport * from './LabelWrapper';\nexport * from './LastUpdated';\nexport * from './LineChart';\nexport * from './Loader';\nexport * from './Pagination';\nexport * from './Price';\nexport * from './Select';\nexport * from './Sentiment';\nexport * from './Spinner';\nexport * from './Switch';\nexport * from './Table';\nexport * from './TableWidget';\nexport * from './Tabs';\nexport * from './TextInput';\nexport * from './TimeUnitSwitch';\nexport * from './Tooltip';\nexport * from './Truncate';\nexport * from './WidgetWrapper';\n"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["require","_Button","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_Card","_Disclaimer","_Error","_InfoBox","_Input","_InstrumentRate","_Label","_LabelWrapper","_LastUpdated","_LineChart","_Loader","_Pagination","_Price","_Select","_Sentiment","_Spinner","_Switch","_Table","_TableWidget","_Tabs","_TextInput","_TimeUnitSwitch","_Tooltip","_Truncate","_WidgetWrapper"],"sources":["../../../src/components/index.ts"],"sourcesContent":["import './style.css';\n\nexport * from './Button';\nexport * from './Card';\nexport * from './Disclaimer';\nexport * from './Error';\nexport * from './InfoBox';\nexport * from './Input';\nexport * from './InstrumentRate';\nexport * from './Label';\nexport * from './LabelWrapper';\nexport * from './LastUpdated';\nexport * from './LineChart';\nexport * from './Loader';\nexport * from './Pagination';\nexport * from './Price';\nexport * from './Select';\nexport * from './Sentiment';\nexport * from './Spinner';\nexport * from './Switch';\nexport * from './Table';\nexport * from './TableWidget';\nexport * from './Tabs';\nexport * from './TextInput';\nexport * from './TimeUnitSwitch';\nexport * from './Tooltip';\nexport * from './Truncate';\nexport * from './WidgetWrapper';\n"],"mappings":";;;;;AAAAA,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,OAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAJ,OAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAR,OAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,KAAA,GAAAV,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAO,KAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,KAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,KAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,WAA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,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAyB,cAAA,CAAA7B,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SET_QUERY_EVENT_NAME = exports.MOBILE_MAX_WIDTH = exports.LIVE_RATES_RATE_ERROR = exports.LIVE_RATES_EVENT_NAME = exports.LIVE_RATES_CONNECTION_ERROR = exports.EMPTY_VALUE = exports.DESKTOP_MIN_WIDTH = void 0;
|
|
7
|
+
const LIVE_RATES_EVENT_NAME = exports.LIVE_RATES_EVENT_NAME = 'rate-update';
|
|
8
|
+
const SET_QUERY_EVENT_NAME = exports.SET_QUERY_EVENT_NAME = 'set-query';
|
|
9
|
+
const LIVE_RATES_CONNECTION_ERROR = exports.LIVE_RATES_CONNECTION_ERROR = 'connection-error';
|
|
10
|
+
const LIVE_RATES_RATE_ERROR = exports.LIVE_RATES_RATE_ERROR = 'rate-error';
|
|
11
|
+
const EMPTY_VALUE = exports.EMPTY_VALUE = '\u2014';
|
|
12
|
+
const DESKTOP_MIN_WIDTH = exports.DESKTOP_MIN_WIDTH = 768;
|
|
13
|
+
const MOBILE_MAX_WIDTH = exports.MOBILE_MAX_WIDTH = 480;
|
|
8
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["LIVE_RATES_EVENT_NAME","SET_QUERY_EVENT_NAME","LIVE_RATES_CONNECTION_ERROR","LIVE_RATES_RATE_ERROR","EMPTY_VALUE","DESKTOP_MIN_WIDTH","MOBILE_MAX_WIDTH"],"sources":["../../../src/constants/index.ts"],"sourcesContent":["export const LIVE_RATES_EVENT_NAME = 'rate-update';\nexport const SET_QUERY_EVENT_NAME = 'set-query';\nexport const LIVE_RATES_CONNECTION_ERROR = 'connection-error';\nexport const LIVE_RATES_RATE_ERROR = 'rate-error';\n\nexport const EMPTY_VALUE = '\\u2014';\n\nexport const DESKTOP_MIN_WIDTH = 768;\nexport const MOBILE_MAX_WIDTH = 480;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["LIVE_RATES_EVENT_NAME","exports","SET_QUERY_EVENT_NAME","LIVE_RATES_CONNECTION_ERROR","LIVE_RATES_RATE_ERROR","EMPTY_VALUE","DESKTOP_MIN_WIDTH","MOBILE_MAX_WIDTH"],"sources":["../../../src/constants/index.ts"],"sourcesContent":["export const LIVE_RATES_EVENT_NAME = 'rate-update';\nexport const SET_QUERY_EVENT_NAME = 'set-query';\nexport const LIVE_RATES_CONNECTION_ERROR = 'connection-error';\nexport const LIVE_RATES_RATE_ERROR = 'rate-error';\n\nexport const EMPTY_VALUE = '\\u2014';\n\nexport const DESKTOP_MIN_WIDTH = 768;\nexport const MOBILE_MAX_WIDTH = 480;\n"],"mappings":";;;;;;AAAO,MAAMA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,aAAa;AAC3C,MAAME,oBAAoB,GAAAD,OAAA,CAAAC,oBAAA,GAAG,WAAW;AACxC,MAAMC,2BAA2B,GAAAF,OAAA,CAAAE,2BAAA,GAAG,kBAAkB;AACtD,MAAMC,qBAAqB,GAAAH,OAAA,CAAAG,qBAAA,GAAG,YAAY;AAE1C,MAAMC,WAAW,GAAAJ,OAAA,CAAAI,WAAA,GAAG,QAAQ;AAE5B,MAAMC,iBAAiB,GAAAL,OAAA,CAAAK,iBAAA,GAAG,GAAG;AAC7B,MAAMC,gBAAgB,GAAAN,OAAA,CAAAM,gBAAA,GAAG,GAAG","ignoreList":[]}
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "SofiaBold", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _e0f19d3E7ea4abcAde1D28edf7c71cc.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "SofiaLight", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _edb5cf673e4c5eB38b2755bb98d35f.default;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "SofiaRegular", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _f9c9ec8478a4121Ac7fB2b22ef43ce.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var _e0f19d3E7ea4abcAde1D28edf7c71cc = _interopRequireDefault(require("./Sofia/0e0f19d3-e7ea-4abc-ade1-d28edf7c71cc.woff"));
|
|
25
|
+
var _edb5cf673e4c5eB38b2755bb98d35f = _interopRequireDefault(require("./Sofia/07edb5cf-673e-4c5e-b38b-2755bb98d35f.woff"));
|
|
26
|
+
var _f9c9ec8478a4121Ac7fB2b22ef43ce = _interopRequireDefault(require("./Sofia/7f9c9ec8-478a-4121-ac7f-b2b22ef43ce2.woff"));
|
|
27
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
5
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["_e0f19d3E7ea4abcAde1D28edf7c71cc","_interopRequireDefault","require","_edb5cf673e4c5eB38b2755bb98d35f","_f9c9ec8478a4121Ac7fB2b22ef43ce","e","__esModule","default"],"sources":["../../../src/fonts/index.ts"],"sourcesContent":["import SofiaBold from './Sofia/0e0f19d3-e7ea-4abc-ade1-d28edf7c71cc.woff';\nimport SofiaLight from './Sofia/07edb5cf-673e-4c5e-b38b-2755bb98d35f.woff';\nimport SofiaRegular from './Sofia/7f9c9ec8-478a-4121-ac7f-b2b22ef43ce2.woff';\n\nexport { SofiaBold, SofiaLight, SofiaRegular };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,gCAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,+BAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,+BAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA6E,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -1,7 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _useFetchCombinedDataRecords = require("./useFetchCombinedDataRecords");
|
|
7
|
+
Object.keys(_useFetchCombinedDataRecords).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _useFetchCombinedDataRecords[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _useFetchCombinedDataRecords[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
var _useLiveRates = require("./useLiveRates");
|
|
18
|
+
Object.keys(_useLiveRates).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _useLiveRates[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _useLiveRates[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
var _useLiveRatesMessage = require("./useLiveRatesMessage");
|
|
29
|
+
Object.keys(_useLiveRatesMessage).forEach(function (key) {
|
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (key in exports && exports[key] === _useLiveRatesMessage[key]) return;
|
|
32
|
+
Object.defineProperty(exports, key, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return _useLiveRatesMessage[key];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
var _useLiveRatesQuery = require("./useLiveRatesQuery");
|
|
40
|
+
Object.keys(_useLiveRatesQuery).forEach(function (key) {
|
|
41
|
+
if (key === "default" || key === "__esModule") return;
|
|
42
|
+
if (key in exports && exports[key] === _useLiveRatesQuery[key]) return;
|
|
43
|
+
Object.defineProperty(exports, key, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return _useLiveRatesQuery[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
var _useRecords = require("./useRecords");
|
|
51
|
+
Object.keys(_useRecords).forEach(function (key) {
|
|
52
|
+
if (key === "default" || key === "__esModule") return;
|
|
53
|
+
if (key in exports && exports[key] === _useRecords[key]) return;
|
|
54
|
+
Object.defineProperty(exports, key, {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _useRecords[key];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
var _useVisibleLiveDataRecord = require("./useVisibleLiveDataRecord");
|
|
62
|
+
Object.keys(_useVisibleLiveDataRecord).forEach(function (key) {
|
|
63
|
+
if (key === "default" || key === "__esModule") return;
|
|
64
|
+
if (key in exports && exports[key] === _useVisibleLiveDataRecord[key]) return;
|
|
65
|
+
Object.defineProperty(exports, key, {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return _useVisibleLiveDataRecord[key];
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
});
|
|
7
72
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/hooks/index.ts"],"sourcesContent":["export * from './useFetchCombinedDataRecords';\nexport * from './useLiveRates';\nexport * from './useLiveRatesMessage';\nexport * from './useLiveRatesQuery';\nexport * from './useRecords';\nexport * from './useVisibleLiveDataRecord';\n"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_useFetchCombinedDataRecords","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_useLiveRates","_useLiveRatesMessage","_useLiveRatesQuery","_useRecords","_useVisibleLiveDataRecord"],"sources":["../../../src/hooks/index.ts"],"sourcesContent":["export * from './useFetchCombinedDataRecords';\nexport * from './useLiveRates';\nexport * from './useLiveRatesMessage';\nexport * from './useLiveRatesQuery';\nexport * from './useRecords';\nexport * from './useVisibleLiveDataRecord';\n"],"mappings":";;;;;AAAA,IAAAA,4BAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,4BAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,4BAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,4BAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,aAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,aAAA,EAAAN,OAAA,WAAAC,GAAA;EA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AAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,WAAA,CAAAR,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,yBAAA,GAAAb,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAW,yBAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAS,yBAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAK,yBAAA,CAAAT,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useFetchCombinedDataRecords = void 0;
|
|
7
|
+
var _client = require("@apollo/client");
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
const useFetchCombinedDataRecords = _ref => {
|
|
4
10
|
let {
|
|
5
11
|
mainQuery,
|
|
6
12
|
mainVariables,
|
|
@@ -9,12 +15,12 @@ export const useFetchCombinedDataRecords = _ref => {
|
|
|
9
15
|
merge,
|
|
10
16
|
fetchPolicy
|
|
11
17
|
} = _ref;
|
|
12
|
-
const [finalData, setFinalData] = useState(null);
|
|
18
|
+
const [finalData, setFinalData] = (0, _react.useState)(null);
|
|
13
19
|
const {
|
|
14
20
|
data: mainData,
|
|
15
21
|
loading: mainLoading,
|
|
16
22
|
error: mainError
|
|
17
|
-
} = useQuery(mainQuery, {
|
|
23
|
+
} = (0, _client.useQuery)(mainQuery, {
|
|
18
24
|
variables: mainVariables,
|
|
19
25
|
fetchPolicy
|
|
20
26
|
});
|
|
@@ -22,12 +28,12 @@ export const useFetchCombinedDataRecords = _ref => {
|
|
|
22
28
|
data: batchData,
|
|
23
29
|
loading: batchLoading,
|
|
24
30
|
error: batchError
|
|
25
|
-
} = useQuery(batchQuery, {
|
|
31
|
+
} = (0, _client.useQuery)(batchQuery, {
|
|
26
32
|
variables: mainData ? getBatchVariables(mainData) : undefined,
|
|
27
33
|
fetchPolicy,
|
|
28
34
|
skip: !mainData || getBatchVariables(mainData) == null
|
|
29
35
|
});
|
|
30
|
-
useEffect(() => {
|
|
36
|
+
(0, _react.useEffect)(() => {
|
|
31
37
|
if (mainData) {
|
|
32
38
|
setFinalData(merge(mainData, batchData));
|
|
33
39
|
}
|
|
@@ -40,4 +46,5 @@ export const useFetchCombinedDataRecords = _ref => {
|
|
|
40
46
|
error: mainError || batchError
|
|
41
47
|
};
|
|
42
48
|
};
|
|
49
|
+
exports.useFetchCombinedDataRecords = useFetchCombinedDataRecords;
|
|
43
50
|
//# sourceMappingURL=useFetchCombinedDataRecords.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFetchCombinedDataRecords.js","names":["
|
|
1
|
+
{"version":3,"file":"useFetchCombinedDataRecords.js","names":["_client","require","_react","useFetchCombinedDataRecords","_ref","mainQuery","mainVariables","batchQuery","getBatchVariables","merge","fetchPolicy","finalData","setFinalData","useState","data","mainData","loading","mainLoading","error","mainError","useQuery","variables","batchData","batchLoading","batchError","undefined","skip","useEffect","exports"],"sources":["../../../src/hooks/useFetchCombinedDataRecords.ts"],"sourcesContent":["import type { OperationVariables, TypedDocumentNode } from '@apollo/client';\nimport { useQuery } from '@apollo/client';\nimport { useEffect, useState } from 'react';\n\nimport type { QueryVariables } from '../types';\n\ninterface UseFetchCombinedDataRecords<\n TMainData,\n TMainVariables extends OperationVariables,\n TBatchData,\n TBatchVariables extends OperationVariables,\n TFinalData,\n> {\n mainQuery: TypedDocumentNode<TMainData, TMainVariables>;\n mainVariables: TMainVariables;\n batchQuery: TypedDocumentNode<TBatchData, TBatchVariables>;\n getBatchVariables: (mainData: TMainData) => TBatchVariables | undefined;\n merge: (mainData: TMainData, batchData?: TBatchData) => TFinalData;\n fetchPolicy?: 'network-only' | 'cache-first' | 'cache-and-network';\n}\n\nexport const useFetchCombinedDataRecords = <\n TMainData,\n TMainVariables extends QueryVariables,\n TBatchData,\n TBatchVariables extends QueryVariables,\n TFinalData,\n>({\n mainQuery,\n mainVariables,\n batchQuery,\n getBatchVariables,\n merge,\n fetchPolicy,\n}: UseFetchCombinedDataRecords<\n TMainData,\n TMainVariables,\n TBatchData,\n TBatchVariables,\n TFinalData\n>) => {\n const [finalData, setFinalData] = useState<TFinalData | null>(null);\n\n const {\n data: mainData,\n loading: mainLoading,\n error: mainError,\n } = useQuery<TMainData, TMainVariables>(mainQuery, {\n variables: mainVariables,\n fetchPolicy,\n });\n\n const {\n data: batchData,\n loading: batchLoading,\n error: batchError,\n } = useQuery<TBatchData, TBatchVariables>(batchQuery, {\n variables: mainData ? getBatchVariables(mainData) : undefined,\n fetchPolicy,\n skip: !mainData || getBatchVariables(mainData) == null,\n });\n\n useEffect(() => {\n if (mainData) {\n setFinalData(merge(mainData, batchData));\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [mainData, batchData]);\n\n return {\n data: finalData,\n loading: mainLoading || batchLoading,\n mainLoading,\n batchLoading,\n error: mainError || batchError,\n };\n};\n"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAmBO,MAAME,2BAA2B,GAAGC,IAAA,IAmBrC;EAAA,IAbJ;IACAC,SAAS;IACTC,aAAa;IACbC,UAAU;IACVC,iBAAiB;IACjBC,KAAK;IACLC;EAOF,CAAC,GAAAN,IAAA;EACC,MAAM,CAACO,SAAS,EAAEC,YAAY,CAAC,GAAG,IAAAC,eAAQ,EAAoB,IAAI,CAAC;EAEnE,MAAM;IACJC,IAAI,EAAEC,QAAQ;IACdC,OAAO,EAAEC,WAAW;IACpBC,KAAK,EAAEC;EACT,CAAC,GAAG,IAAAC,gBAAQ,EAA4Bf,SAAS,EAAE;IACjDgB,SAAS,EAAEf,aAAa;IACxBI;EACF,CAAC,CAAC;EAEF,MAAM;IACJI,IAAI,EAAEQ,SAAS;IACfN,OAAO,EAAEO,YAAY;IACrBL,KAAK,EAAEM;EACT,CAAC,GAAG,IAAAJ,gBAAQ,EAA8Bb,UAAU,EAAE;IACpDc,SAAS,EAAEN,QAAQ,GAAGP,iBAAiB,CAACO,QAAQ,CAAC,GAAGU,SAAS;IAC7Df,WAAW;IACXgB,IAAI,EAAE,CAACX,QAAQ,IAAIP,iBAAiB,CAACO,QAAQ,CAAC,IAAI;EACpD,CAAC,CAAC;EAEF,IAAAY,gBAAS,EAAC,MAAM;IACd,IAAIZ,QAAQ,EAAE;MACZH,YAAY,CAACH,KAAK,CAACM,QAAQ,EAAEO,SAAS,CAAC,CAAC;IAC1C;EAEF,CAAC,EAAE,CAACP,QAAQ,EAAEO,SAAS,CAAC,CAAC;EAEzB,OAAO;IACLR,IAAI,EAAEH,SAAS;IACfK,OAAO,EAAEC,WAAW,IAAIM,YAAY;IACpCN,WAAW;IACXM,YAAY;IACZL,KAAK,EAAEC,SAAS,IAAIK;EACtB,CAAC;AACH,CAAC;AAACI,OAAA,CAAAzB,2BAAA,GAAAA,2BAAA","ignoreList":[]}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useLiveRates = void 0;
|
|
7
|
+
var _useLiveRatesMessage = require("./useLiveRatesMessage");
|
|
8
|
+
var _useLiveRatesQuery = require("./useLiveRatesQuery");
|
|
9
|
+
const useLiveRates = instruments => {
|
|
4
10
|
const {
|
|
5
11
|
setQuery,
|
|
6
12
|
target
|
|
7
|
-
} = useLiveRatesQuery();
|
|
13
|
+
} = (0, _useLiveRatesQuery.useLiveRatesQuery)();
|
|
8
14
|
const {
|
|
9
15
|
update,
|
|
10
16
|
error,
|
|
11
17
|
connectionError
|
|
12
|
-
} = useLiveRatesMessage(instruments, target);
|
|
18
|
+
} = (0, _useLiveRatesMessage.useLiveRatesMessage)(instruments, target);
|
|
13
19
|
return {
|
|
14
20
|
update,
|
|
15
21
|
error,
|
|
@@ -17,4 +23,5 @@ export const useLiveRates = instruments => {
|
|
|
17
23
|
setQuery
|
|
18
24
|
};
|
|
19
25
|
};
|
|
26
|
+
exports.useLiveRates = useLiveRates;
|
|
20
27
|
//# sourceMappingURL=useLiveRates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLiveRates.js","names":["
|
|
1
|
+
{"version":3,"file":"useLiveRates.js","names":["_useLiveRatesMessage","require","_useLiveRatesQuery","useLiveRates","instruments","setQuery","target","useLiveRatesQuery","update","error","connectionError","useLiveRatesMessage","exports"],"sources":["../../../src/hooks/useLiveRates.ts"],"sourcesContent":["import type { LiveRatesHookReturnObject } from '../types';\nimport { useLiveRatesMessage } from './useLiveRatesMessage';\nimport { useLiveRatesQuery } from './useLiveRatesQuery';\n\nexport const useLiveRates = (\n instruments: string | string[]\n): LiveRatesHookReturnObject => {\n const { setQuery, target } = useLiveRatesQuery();\n const { update, error, connectionError } = useLiveRatesMessage(\n instruments,\n target\n );\n\n return {\n update,\n error,\n connectionError,\n setQuery,\n };\n};\n"],"mappings":";;;;;;AACA,IAAAA,oBAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AAEO,MAAME,YAAY,GACvBC,WAA8B,IACA;EAC9B,MAAM;IAAEC,QAAQ;IAAEC;EAAO,CAAC,GAAG,IAAAC,oCAAiB,EAAC,CAAC;EAChD,MAAM;IAAEC,MAAM;IAAEC,KAAK;IAAEC;EAAgB,CAAC,GAAG,IAAAC,wCAAmB,EAC5DP,WAAW,EACXE,MACF,CAAC;EAED,OAAO;IACLE,MAAM;IACNC,KAAK;IACLC,eAAe;IACfL;EACF,CAAC;AACH,CAAC;AAACO,OAAA,CAAAT,YAAA,GAAAA,YAAA","ignoreList":[]}
|