@brokerize/elements 1.1.1 → 1.2.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.
- package/CHANGELOG.md +7 -0
- package/dist/bundle.d.ts +17 -0
- package/dist/bundle.es.js +15024 -13589
- package/dist/bundle.umd.js +64 -59
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
# 1.2.0 (released 2025-04-24)
|
|
5
|
+
|
|
6
|
+
- `ADDED` the option to pass a `reportingTag` for `createOrderForm`, `createChangeOrderForm` and `createCancelOrderForm`
|
|
7
|
+
- `FIXED` a wrong label in order receipts for trailing stops
|
|
8
|
+
- `CHANGED` the OrderForm label for "legalHint" has been changed to "Rechtliche Hinweise"
|
|
9
|
+
|
|
3
10
|
# 1.1.1 (released 2025-03-31)
|
|
4
11
|
|
|
5
12
|
- `FIXED` cost label in OrderForm was wrong in some cases
|
package/dist/bundle.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export declare type BrokerizeElements = {
|
|
|
66
66
|
createSessionsTable: (cfg: SessionsTableConfig) => BrokerizeElement;
|
|
67
67
|
createPortfolioView: (cfg: PortfolioViewConfig) => BrokerizeElement;
|
|
68
68
|
createModalHost: (cfg: ModalHostConfig) => BrokerizeElement;
|
|
69
|
+
createStylingUIExample: (cfg: StylingUIExampleConfig) => BrokerizeElement;
|
|
69
70
|
modalService: ModalService;
|
|
70
71
|
/**
|
|
71
72
|
* Configure global settings for Brokerize Elements. The global configuration is shared across all instances of Brokerize Elements.
|
|
@@ -163,11 +164,19 @@ export declare type CancelOrderFormConfig = {
|
|
|
163
164
|
orderId: string;
|
|
164
165
|
onExit: () => void;
|
|
165
166
|
onNavigate: (linkTarget: LinkTarget) => void;
|
|
167
|
+
/**
|
|
168
|
+
* Optional `reportingTag` to send with order creates. ReportingTags appear in order reports.
|
|
169
|
+
*/
|
|
170
|
+
reportingTag?: string;
|
|
166
171
|
} & BrokerizeBaseConfig;
|
|
167
172
|
|
|
168
173
|
export declare type ChangeOrderFormConfig = {
|
|
169
174
|
orderId: string;
|
|
170
175
|
onExit: () => void;
|
|
176
|
+
/**
|
|
177
|
+
* Optional `reportingTag` to send with order creates. ReportingTags appear in order reports.
|
|
178
|
+
*/
|
|
179
|
+
reportingTag?: string;
|
|
171
180
|
} & BrokerizeBaseConfig;
|
|
172
181
|
|
|
173
182
|
export { Client }
|
|
@@ -466,6 +475,10 @@ export declare type OrderFormConfig = {
|
|
|
466
475
|
* If custom quotes should be shown in the order form, provide an implementation of `SecurityQuotesProvider`.
|
|
467
476
|
*/
|
|
468
477
|
quotesProvider?: SecurityQuotesProvider;
|
|
478
|
+
/**
|
|
479
|
+
* Optional `reportingTag` to send with order creates. ReportingTags appear in order reports.
|
|
480
|
+
*/
|
|
481
|
+
reportingTag?: string;
|
|
469
482
|
} & BrokerizeBaseConfig;
|
|
470
483
|
|
|
471
484
|
export declare type OrderFormInitialOrder = Partial<
|
|
@@ -587,6 +600,10 @@ export declare type SessionTanFormConfig = {
|
|
|
587
600
|
|
|
588
601
|
export declare type ShowToast = (opts: ToastOptions) => void;
|
|
589
602
|
|
|
603
|
+
export declare type StylingUIExampleConfig = {
|
|
604
|
+
theme: Theme;
|
|
605
|
+
} & BrokerizeBaseConfig;
|
|
606
|
+
|
|
590
607
|
export declare type SupportLink = {
|
|
591
608
|
emailSubject: string;
|
|
592
609
|
};
|