@tesouro/embedded-components-loader 0.11.323 → 0.11.324
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/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ function satisfiesRange(version, range) {
|
|
|
57
57
|
}
|
|
58
58
|
// src/loader.ts
|
|
59
59
|
/** Baked at build time: installing loader 1.2.3 pins hosted 1.2.3. */
|
|
60
|
-
var LOADER_VERSION = "0.11.
|
|
60
|
+
var LOADER_VERSION = "0.11.324";
|
|
61
61
|
var DEFAULT_BASE_URL = "https://widgets.tesouro.com";
|
|
62
62
|
/** Frozen forever: every future loader must read what every past one wrote. */
|
|
63
63
|
var LOADED_VERSION_MARKER = Symbol.for("tesouro.embedded.loadedVersion");
|
package/dist/react/index.d.ts
CHANGED
|
@@ -3950,6 +3950,14 @@ interface DateRangePickerLabels {
|
|
|
3950
3950
|
calendar?: DayPickerProps['labels'];
|
|
3951
3951
|
}
|
|
3952
3952
|
|
|
3953
|
+
interface FilterChipsRowLabels {
|
|
3954
|
+
/** Accessible name of the row. */
|
|
3955
|
+
appliedFilters: string;
|
|
3956
|
+
clearFilters: string;
|
|
3957
|
+
/** Passed to every chip; see `FilterTagLabels`. */
|
|
3958
|
+
chip: FilterTagLabels;
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3953
3961
|
interface AmountFilterLabels {
|
|
3954
3962
|
/**
|
|
3955
3963
|
* Rendered next to the min input. Owners pass the wording that matches their
|
|
@@ -7813,9 +7821,9 @@ interface InvoicesFilterBarLabels {
|
|
|
7813
7821
|
customerNameHeading: string;
|
|
7814
7822
|
customerSearchPlaceholder: string;
|
|
7815
7823
|
customerSearchHint: string;
|
|
7816
|
-
clearAll: string;
|
|
7817
7824
|
filterMenuButton: FilterMenuButtonLabels;
|
|
7818
|
-
|
|
7825
|
+
/** The applied-filter chips and their Clear filters button. */
|
|
7826
|
+
chipsRow: FilterChipsRowLabels;
|
|
7819
7827
|
amountFilter: Omit<AmountFilterLabels, 'min' | 'max'>;
|
|
7820
7828
|
dateRangePicker: Omit<DateRangePickerLabels, 'fieldLabel'>;
|
|
7821
7829
|
}
|
|
@@ -8239,7 +8247,8 @@ interface InvoicesFilterLabels {
|
|
|
8239
8247
|
amountAtLeast: (amount: string) => string;
|
|
8240
8248
|
amountAtMost: (amount: string) => string;
|
|
8241
8249
|
amountBetween: (min: string, max: string) => string;
|
|
8242
|
-
|
|
8250
|
+
/** Read out once a search settles: "17 invoices", or "No invoices match". */
|
|
8251
|
+
searchResults: (count: number) => string;
|
|
8243
8252
|
}
|
|
8244
8253
|
type InvoicesFilterLabelOverrides = PartialDeep<InvoicesFilterLabels>;
|
|
8245
8254
|
|
|
@@ -3414,6 +3414,14 @@ interface DateRangePickerLabels {
|
|
|
3414
3414
|
calendar?: DayPickerProps['labels'];
|
|
3415
3415
|
}
|
|
3416
3416
|
|
|
3417
|
+
interface FilterChipsRowLabels {
|
|
3418
|
+
/** Accessible name of the row. */
|
|
3419
|
+
appliedFilters: string;
|
|
3420
|
+
clearFilters: string;
|
|
3421
|
+
/** Passed to every chip; see `FilterTagLabels`. */
|
|
3422
|
+
chip: FilterTagLabels;
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3417
3425
|
interface AmountFilterLabels {
|
|
3418
3426
|
/**
|
|
3419
3427
|
* Rendered next to the min input. Owners pass the wording that matches their
|
|
@@ -4369,9 +4377,9 @@ interface InvoicesFilterBarLabels {
|
|
|
4369
4377
|
customerNameHeading: string;
|
|
4370
4378
|
customerSearchPlaceholder: string;
|
|
4371
4379
|
customerSearchHint: string;
|
|
4372
|
-
clearAll: string;
|
|
4373
4380
|
filterMenuButton: FilterMenuButtonLabels;
|
|
4374
|
-
|
|
4381
|
+
/** The applied-filter chips and their Clear filters button. */
|
|
4382
|
+
chipsRow: FilterChipsRowLabels;
|
|
4375
4383
|
amountFilter: Omit<AmountFilterLabels, 'min' | 'max'>;
|
|
4376
4384
|
dateRangePicker: Omit<DateRangePickerLabels, 'fieldLabel'>;
|
|
4377
4385
|
}
|
|
@@ -4788,7 +4796,8 @@ interface InvoicesFilterLabels {
|
|
|
4788
4796
|
amountAtLeast: (amount: string) => string;
|
|
4789
4797
|
amountAtMost: (amount: string) => string;
|
|
4790
4798
|
amountBetween: (min: string, max: string) => string;
|
|
4791
|
-
|
|
4799
|
+
/** Read out once a search settles: "17 invoices", or "No invoices match". */
|
|
4800
|
+
searchResults: (count: number) => string;
|
|
4792
4801
|
}
|
|
4793
4802
|
type InvoicesFilterLabelOverrides = PartialDeep<InvoicesFilterLabels>;
|
|
4794
4803
|
|
|
@@ -3792,6 +3792,14 @@ interface DateRangePickerLabels {
|
|
|
3792
3792
|
calendar?: DayPickerProps['labels'];
|
|
3793
3793
|
}
|
|
3794
3794
|
|
|
3795
|
+
interface FilterChipsRowLabels {
|
|
3796
|
+
/** Accessible name of the row. */
|
|
3797
|
+
appliedFilters: string;
|
|
3798
|
+
clearFilters: string;
|
|
3799
|
+
/** Passed to every chip; see `FilterTagLabels`. */
|
|
3800
|
+
chip: FilterTagLabels;
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3795
3803
|
interface AmountFilterLabels {
|
|
3796
3804
|
/**
|
|
3797
3805
|
* Rendered next to the min input. Owners pass the wording that matches their
|
|
@@ -6715,9 +6723,9 @@ interface InvoicesFilterBarLabels {
|
|
|
6715
6723
|
customerNameHeading: string;
|
|
6716
6724
|
customerSearchPlaceholder: string;
|
|
6717
6725
|
customerSearchHint: string;
|
|
6718
|
-
clearAll: string;
|
|
6719
6726
|
filterMenuButton: FilterMenuButtonLabels;
|
|
6720
|
-
|
|
6727
|
+
/** The applied-filter chips and their Clear filters button. */
|
|
6728
|
+
chipsRow: FilterChipsRowLabels;
|
|
6721
6729
|
amountFilter: Omit<AmountFilterLabels, 'min' | 'max'>;
|
|
6722
6730
|
dateRangePicker: Omit<DateRangePickerLabels, 'fieldLabel'>;
|
|
6723
6731
|
}
|
|
@@ -7132,7 +7140,8 @@ interface InvoicesFilterLabels {
|
|
|
7132
7140
|
amountAtLeast: (amount: string) => string;
|
|
7133
7141
|
amountAtMost: (amount: string) => string;
|
|
7134
7142
|
amountBetween: (min: string, max: string) => string;
|
|
7135
|
-
|
|
7143
|
+
/** Read out once a search settles: "17 invoices", or "No invoices match". */
|
|
7144
|
+
searchResults: (count: number) => string;
|
|
7136
7145
|
}
|
|
7137
7146
|
type InvoicesFilterLabelOverrides = PartialDeep<InvoicesFilterLabels>;
|
|
7138
7147
|
|