@elasticias/ui 1.0.18 → 1.0.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elasticias/ui",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -284,7 +284,23 @@ declare class EfOrderSummaryComponent {
284
284
  /**
285
285
  * Legend text for the fieldset
286
286
  */
287
+ /**
288
+ * Direct legend text. Prefer `legendKey`: this defaulted to the
289
+ * French literal 'Récapitulatif', which rendered in French for an
290
+ * English or Arabic reader.
291
+ */
292
+ private readonly translate;
287
293
  legend: _angular_core.InputSignal<string>;
294
+ /** Translation key for the legend. Wins over `legend`. */
295
+ legendKey: _angular_core.InputSignal<string>;
296
+ /**
297
+ * Translation key for the total row. The label was the hardcoded
298
+ * English string "Total:" sitting under a French legend default, so
299
+ * this one component shipped two languages at once and neither
300
+ * followed the reader.
301
+ */
302
+ totalLabelKey: _angular_core.InputSignal<string>;
303
+ protected readonly resolvedLegend: _angular_core.Signal<any>;
288
304
  /**
289
305
  * Computed grouped counts by countGroup
290
306
  */
@@ -302,7 +318,7 @@ declare class EfOrderSummaryComponent {
302
318
  */
303
319
  hasGroups: _angular_core.Signal<boolean>;
304
320
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EfOrderSummaryComponent, never>;
305
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfOrderSummaryComponent, "ef-order-summary", never, { "orderLines": { "alias": "orderLines"; "required": true; "isSignal": true; }; "countGroupLabels": { "alias": "countGroupLabels"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
321
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfOrderSummaryComponent, "ef-order-summary", never, { "orderLines": { "alias": "orderLines"; "required": true; "isSignal": true; }; "countGroupLabels": { "alias": "countGroupLabels"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "legendKey": { "alias": "legendKey"; "required": false; "isSignal": true; }; "totalLabelKey": { "alias": "totalLabelKey"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
306
322
  }
307
323
 
308
324
  /**
@@ -5229,6 +5245,7 @@ type EfDateFieldValue = Date | [Date, Date] | null;
5229
5245
  declare class EfDatepickerAdvancedComponent extends AbstractEfFormControl implements ControlValueAccessor, AfterViewInit {
5230
5246
  private readonly host;
5231
5247
  private readonly locale;
5248
+ private readonly translate;
5232
5249
  private readonly vcr;
5233
5250
  private readonly destroyRef;
5234
5251
  private readonly cdr;