@o3r/localization 14.0.0-next.4 → 14.0.0-next.7

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.
@@ -294,7 +294,7 @@ class LocalizationExtractor {
294
294
  if (hasUnknownRef) {
295
295
  throw new schematics_1.O3rCliError('Unknown referenced key');
296
296
  }
297
- return options.sortKeys ? localizationMetadata.sort((a, b) => this.compareKeys(a, b)) : localizationMetadata;
297
+ return options.sortKeys ? localizationMetadata.toSorted((a, b) => this.compareKeys(a, b)) : localizationMetadata;
298
298
  }
299
299
  }
300
300
  exports.LocalizationExtractor = LocalizationExtractor;
@@ -13,7 +13,7 @@ exports.default = (0, architect_1.createBuilder)((0, extractors_1.createBuilderW
13
13
  const localizationJson = JSON.parse(fs.readFileSync(filePath, { encoding: 'utf8' }));
14
14
  const newContent = JSON.stringify(Object.entries(localizationJson)
15
15
  .filter(([, value]) => !value.dictionary && !value.$ref && value.defaultValue !== undefined)
16
- .sort((a, b) => a[0] < b[0] ? -1 : 1)
16
+ .toSorted((a, b) => a[0] < b[0] ? -1 : 1)
17
17
  .reduce((acc, [key, { defaultValue }]) => {
18
18
  acc[key] = defaultValue;
19
19
  return acc;
@@ -312,7 +312,7 @@ exports.default = (0, architect_1.createBuilder)((0, extractors_1.createBuilderW
312
312
  Object.entries(bundles).forEach(([language, bundle]) => {
313
313
  const filePath = path.resolve(writingFolder, `${language}.json`);
314
314
  context.logger.info(`Writing file to disk ${filePath}`);
315
- fs.writeFileSync(filePath, JSON.stringify(bundle, Object.keys(bundle).sort(), 2));
315
+ fs.writeFileSync(filePath, JSON.stringify(bundle, Object.keys(bundle).toSorted(), 2));
316
316
  });
317
317
  return {
318
318
  success: true
@@ -23,21 +23,21 @@ class LocalizationRulesEngineActionHandler {
23
23
  }, {});
24
24
  this.store.dispatch(setLocalizationOverride({ state: { localizationOverrides } }));
25
25
  }
26
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationRulesEngineActionHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
27
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationRulesEngineActionHandler }); }
26
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationRulesEngineActionHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
27
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationRulesEngineActionHandler }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationRulesEngineActionHandler, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationRulesEngineActionHandler, decorators: [{
30
30
  type: Injectable
31
31
  }] });
32
32
 
33
33
  class LocalizationRulesEngineActionModule {
34
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationRulesEngineActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
35
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: LocalizationRulesEngineActionModule, imports: [LocalizationOverrideStoreModule] }); }
36
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationRulesEngineActionModule, providers: [
34
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationRulesEngineActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
35
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: LocalizationRulesEngineActionModule, imports: [LocalizationOverrideStoreModule] }); }
36
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationRulesEngineActionModule, providers: [
37
37
  LocalizationRulesEngineActionHandler
38
38
  ], imports: [LocalizationOverrideStoreModule] }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationRulesEngineActionModule, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationRulesEngineActionModule, decorators: [{
41
41
  type: NgModule,
42
42
  args: [{
43
43
  imports: [
@@ -108,10 +108,10 @@ class TranslateMessageFormatLazyCompiler extends TranslateCompiler {
108
108
  };
109
109
  return Object.keys(translations).reduce((acc, key) => compilingStrategy(acc, key), {});
110
110
  }
111
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TranslateMessageFormatLazyCompiler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
112
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TranslateMessageFormatLazyCompiler }); }
111
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TranslateMessageFormatLazyCompiler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
112
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TranslateMessageFormatLazyCompiler }); }
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TranslateMessageFormatLazyCompiler, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TranslateMessageFormatLazyCompiler, decorators: [{
115
115
  type: Injectable
116
116
  }], ctorParameters: () => [] });
117
117
 
@@ -157,13 +157,13 @@ class LocalizationOverrideStoreModule {
157
157
  ]
158
158
  };
159
159
  }
160
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationOverrideStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
161
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: LocalizationOverrideStoreModule, imports: [i1.StoreFeatureModule] }); }
162
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationOverrideStoreModule, providers: [
160
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationOverrideStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
161
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: LocalizationOverrideStoreModule, imports: [i1.StoreFeatureModule] }); }
162
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationOverrideStoreModule, providers: [
163
163
  { provide: LOCALIZATION_OVERRIDE_REDUCER_TOKEN, useFactory: getDefaultLocalizationOverrideReducer }
164
164
  ], imports: [StoreModule.forFeature(LOCALIZATION_OVERRIDE_STORE_NAME, LOCALIZATION_OVERRIDE_REDUCER_TOKEN)] }); }
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationOverrideStoreModule, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationOverrideStoreModule, decorators: [{
167
167
  type: NgModule,
168
168
  args: [{
169
169
  imports: [
@@ -361,10 +361,10 @@ class LocalizationService {
361
361
  translate(key, interpolateParams) {
362
362
  return this.getKey(key).pipe(switchMap((translationKey) => this.getTranslationStream(translationKey, interpolateParams)), shareReplay({ refCount: true, bufferSize: 1 }));
363
363
  }
364
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
365
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationService }); }
364
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
365
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationService }); }
366
366
  }
367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationService, decorators: [{
367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationService, decorators: [{
368
368
  type: Injectable
369
369
  }], ctorParameters: () => [] });
370
370
 
@@ -428,10 +428,10 @@ class LocalizationTranslateDirective extends TranslateDirective {
428
428
  this.onKeyChange?.unsubscribe();
429
429
  }
430
430
  }
431
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationTranslateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
432
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.13", type: LocalizationTranslateDirective, isStandalone: false, selector: "[translate],[ngx-translate]", inputs: { translate: "translate" }, usesInheritance: true, ngImport: i0 }); }
431
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationTranslateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
432
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: LocalizationTranslateDirective, isStandalone: false, selector: "[translate],[ngx-translate]", inputs: { translate: "translate" }, usesInheritance: true, ngImport: i0 }); }
433
433
  }
434
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationTranslateDirective, decorators: [{
434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationTranslateDirective, decorators: [{
435
435
  type: Directive,
436
436
  args: [{
437
437
  selector: '[translate],[ngx-translate]',
@@ -500,10 +500,10 @@ class O3rLocalizationTranslatePipe extends TranslatePipe {
500
500
  this.onKeyChange.unsubscribe();
501
501
  }
502
502
  }
503
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: O3rLocalizationTranslatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
504
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: O3rLocalizationTranslatePipe, isStandalone: false, name: "o3rTranslate", pure: false }); }
503
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: O3rLocalizationTranslatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
504
+ /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: O3rLocalizationTranslatePipe, isStandalone: false, name: "o3rTranslate", pure: false }); }
505
505
  }
506
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: O3rLocalizationTranslatePipe, decorators: [{
506
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: O3rLocalizationTranslatePipe, decorators: [{
507
507
  type: Pipe,
508
508
  args: [{
509
509
  name: 'o3rTranslate',
@@ -528,10 +528,10 @@ class LocalizedCurrencyPipe extends CurrencyPipe {
528
528
  ngOnDestroy() {
529
529
  this.onLangChange.unsubscribe();
530
530
  }
531
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizedCurrencyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
532
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: LocalizedCurrencyPipe, isStandalone: false, name: "currency", pure: false }); }
531
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizedCurrencyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
532
+ /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: LocalizedCurrencyPipe, isStandalone: false, name: "currency", pure: false }); }
533
533
  }
534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizedCurrencyPipe, decorators: [{
534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizedCurrencyPipe, decorators: [{
535
535
  type: Pipe,
536
536
  args: [{
537
537
  name: 'currency',
@@ -556,10 +556,10 @@ class LocalizedDatePipe extends DatePipe {
556
556
  ngOnDestroy() {
557
557
  this.onLangChange.unsubscribe();
558
558
  }
559
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizedDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
560
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: LocalizedDatePipe, isStandalone: false, name: "date", pure: false }); }
559
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizedDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
560
+ /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: LocalizedDatePipe, isStandalone: false, name: "date", pure: false }); }
561
561
  }
562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizedDatePipe, decorators: [{
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizedDatePipe, decorators: [{
563
563
  type: Pipe,
564
564
  args: [{
565
565
  name: 'date',
@@ -584,10 +584,10 @@ class LocalizedDecimalPipe extends DecimalPipe {
584
584
  ngOnDestroy() {
585
585
  this.onLangChange.unsubscribe();
586
586
  }
587
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizedDecimalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
588
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: LocalizedDecimalPipe, isStandalone: false, name: "decimal", pure: false }); }
587
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizedDecimalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
588
+ /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: LocalizedDecimalPipe, isStandalone: false, name: "decimal", pure: false }); }
589
589
  }
590
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizedDecimalPipe, decorators: [{
590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizedDecimalPipe, decorators: [{
591
591
  type: Pipe,
592
592
  args: [{
593
593
  name: 'decimal',
@@ -622,10 +622,10 @@ class TextDirectionService {
622
622
  });
623
623
  return this.subscription;
624
624
  }
625
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TextDirectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
626
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TextDirectionService }); }
625
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TextDirectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
626
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TextDirectionService }); }
627
627
  }
628
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TextDirectionService, decorators: [{
628
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TextDirectionService, decorators: [{
629
629
  type: Injectable
630
630
  }], ctorParameters: () => [] });
631
631
 
@@ -653,10 +653,10 @@ class TextDirectionality extends Directionality {
653
653
  ngOnDestroy() {
654
654
  this.change.complete();
655
655
  }
656
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TextDirectionality, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
657
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TextDirectionality }); }
656
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TextDirectionality, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
657
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TextDirectionality }); }
658
658
  }
659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TextDirectionality, decorators: [{
659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TextDirectionality, decorators: [{
660
660
  type: Injectable
661
661
  }], ctorParameters: () => [] });
662
662
 
@@ -703,9 +703,9 @@ class LocalizationModule {
703
703
  ]
704
704
  };
705
705
  }
706
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
707
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: LocalizationModule, declarations: [O3rLocalizationTranslatePipe, LocalizationTranslateDirective, LocalizedDatePipe, LocalizedDecimalPipe, LocalizedCurrencyPipe], imports: [TranslateModule, BidiModule, DynamicContentModule, CommonModule], exports: [TranslateModule, O3rLocalizationTranslatePipe, LocalizationTranslateDirective, LocalizedDatePipe, LocalizedDecimalPipe, LocalizedCurrencyPipe] }); }
708
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationModule, providers: [
706
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
707
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: LocalizationModule, declarations: [O3rLocalizationTranslatePipe, LocalizationTranslateDirective, LocalizedDatePipe, LocalizedDecimalPipe, LocalizedCurrencyPipe], imports: [TranslateModule, BidiModule, DynamicContentModule, CommonModule], exports: [TranslateModule, O3rLocalizationTranslatePipe, LocalizationTranslateDirective, LocalizedDatePipe, LocalizedDecimalPipe, LocalizedCurrencyPipe] }); }
708
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationModule, providers: [
709
709
  { provide: LOCALIZATION_CONFIGURATION_TOKEN, useFactory: createLocalizationConfiguration, deps: [[new Optional(), CUSTOM_LOCALIZATION_CONFIGURATION_TOKEN]] },
710
710
  { provide: LOCALE_ID, useFactory: localeIdNgBridge, deps: [LocalizationService] },
711
711
  { provide: Directionality, useClass: TextDirectionality },
@@ -715,7 +715,7 @@ class LocalizationModule {
715
715
  TextDirectionService
716
716
  ], imports: [TranslateModule, BidiModule, DynamicContentModule, CommonModule, TranslateModule] }); }
717
717
  }
718
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationModule, decorators: [{
718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationModule, decorators: [{
719
719
  type: NgModule,
720
720
  args: [{
721
721
  declarations: [O3rLocalizationTranslatePipe, LocalizationTranslateDirective, LocalizedDatePipe, LocalizedDecimalPipe, LocalizedCurrencyPipe],
@@ -822,10 +822,10 @@ class TranslationsLoader {
822
822
  }
823
823
  }));
824
824
  }
825
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TranslationsLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
826
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TranslationsLoader }); }
825
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TranslationsLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
826
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TranslationsLoader }); }
827
827
  }
828
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: TranslationsLoader, decorators: [{
828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: TranslationsLoader, decorators: [{
829
829
  type: Injectable
830
830
  }] });
831
831
 
@@ -939,10 +939,10 @@ class OtterLocalizationDevtools {
939
939
  this.localizationService.getTranslateService().setTranslation(language || this.getCurrentLanguage(), initialLocs);
940
940
  this.appRef.tick();
941
941
  }
942
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: OtterLocalizationDevtools, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
943
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: OtterLocalizationDevtools }); }
942
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OtterLocalizationDevtools, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
943
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OtterLocalizationDevtools }); }
944
944
  }
945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: OtterLocalizationDevtools, decorators: [{
945
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OtterLocalizationDevtools, decorators: [{
946
946
  type: Injectable
947
947
  }] });
948
948
 
@@ -1023,10 +1023,10 @@ class LocalizationDevtoolsConsoleService {
1023
1023
  reloadLocalizationKeys(language) {
1024
1024
  return this.localizationDevtools.reloadLocalizationKeys(language);
1025
1025
  }
1026
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsConsoleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1027
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsConsoleService }); }
1026
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsConsoleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1027
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsConsoleService }); }
1028
1028
  }
1029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsConsoleService, decorators: [{
1029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsConsoleService, decorators: [{
1030
1030
  type: Injectable
1031
1031
  }], ctorParameters: () => [] });
1032
1032
 
@@ -1135,10 +1135,10 @@ class LocalizationDevtoolsMessageService {
1135
1135
  activate() {
1136
1136
  fromEvent(window, 'message').pipe(takeUntilDestroyed(this.destroyRef), filterMessageContent(isLocalizationMessage)).subscribe((e) => this.handleEvents(e));
1137
1137
  }
1138
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsMessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1139
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsMessageService }); }
1138
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsMessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1139
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsMessageService }); }
1140
1140
  }
1141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsMessageService, decorators: [{
1141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsMessageService, decorators: [{
1142
1142
  type: Injectable
1143
1143
  }], ctorParameters: () => [] });
1144
1144
 
@@ -1158,16 +1158,16 @@ class LocalizationDevtoolsModule {
1158
1158
  ]
1159
1159
  };
1160
1160
  }
1161
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1162
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsModule, imports: [LocalizationModule] }); }
1163
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsModule, providers: [
1161
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1162
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsModule, imports: [LocalizationModule] }); }
1163
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsModule, providers: [
1164
1164
  { provide: OTTER_LOCALIZATION_DEVTOOLS_OPTIONS, useValue: OTTER_LOCALIZATION_DEVTOOLS_DEFAULT_OPTIONS },
1165
1165
  LocalizationDevtoolsMessageService,
1166
1166
  LocalizationDevtoolsConsoleService,
1167
1167
  OtterLocalizationDevtools
1168
1168
  ], imports: [LocalizationModule] }); }
1169
1169
  }
1170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: LocalizationDevtoolsModule, decorators: [{
1170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LocalizationDevtoolsModule, decorators: [{
1171
1171
  type: NgModule,
1172
1172
  args: [{
1173
1173
  imports: [
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../src/annotations/localization.ts","../src/core/json-localization-interface.ts","../src/core/localization-configuration.ts","../src/core/translatable.ts","../src/core/translate-message-format-lazy-compiler.ts","../src/devkit/localization-devkit-interface.ts","../src/devkit/localization-devtools.ts","../src/devkit/localization-devtools-console-service.ts","../src/devkit/localization-devtools-message-service.ts","../src/tools/localization-service.ts","../src/tools/localization-translate-pipe.ts","../src/tools/localization-translate-directive.ts","../src/tools/localized-date-pipe.ts","../src/tools/localized-decimal-pipe.ts","../src/tools/localized-currency-pipe.ts","../src/tools/localization-module.ts","../src/devkit/localization-devtools-module.ts","../src/devkit/localization-devtools-token.ts","../src/stores/localization-override/localization-override.state.ts","../src/stores/localization-override/localization-override.actions.ts","../src/stores/localization-override/localization-override-module.ts","../src/stores/localization-override/localization-override.reducer.ts","../src/stores/localization-override/localization-override.selectors.ts","../src/stores/localization-override/localization-override.sync.ts","../src/tools/translations-loader.ts","../src/tools/localization-provider.ts","../src/tools/localization-token.ts","../src/tools/text-direction-service.ts","../src/tools/text-directionality.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAMA;;;AAGG;AAEH;;ACXA;;;;;;;;;;;AAWE;;;;;AAKD;AAED;AACM;;ACnBN;;AAEG;;;;;;;;;;;;AAYD;;;;;;;;;;;;AAYG;AACH;AACE;;;;;;;;;AASF;AAAgB;;;;;;AAKhB;;;;AAIG;;AAEJ;AAED;;AAEG;AACH;;ACjDA;;AAEG;AACG;AACJ;;AAEG;;AAEJ;;ACCD;;AAEG;AACG;AACJ;;;AAGG;;AAGH;;;AAGG;;AAEJ;AAED;;AAEG;AACH;AAKA;AACA;AAEA;;;AAGG;AACH;;AAGE;;;;AAaA;;AAEG;;;AAMI;;;AAK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H;AAEA;;AAEG;;;AAIH;;AAGA;;AAYA;;;AAGG;;;;;AAuCJ;;ACxFD;;AAEG;AACH;AAKE;AACA;AAEA;;AAEG;AACH;AAEA;;AAEG;;AAGH;;AAEG;;;AAIH;;AA8BA;;;;AAIG;;;;;AAoBJ;;ACxFD;;AAEG;AACH;AAME;AACA;AACA;;AASA;;AAEG;;;AAII;AASA;;;AAGR;;ACtCD;;AAEG;AACH;AAME;AACA;AACA;;AASA;;AAEG;AACI;AACA;AAKA;;;AAGR;;AChCD;;AAEG;AACH;AAME;AACA;AACA;;AASA;;AAEG;AACI;AACA;AACA;AAQA;;;AAGR;;ACED;;;AAGG;AACH;AAOA;;;AAGG;AACH;AAIA;AACA;AAEA;AAeE;;;;;;;;AAQG;AACW;;;;AAgBf;;AC7FD;AAYE;;;AAGG;;;;;AAYJ;;AC5CD;AAMA;;ACbA;;AAEG;;;AAGD;AACD;AAED;;AAEG;AACH;AAEA;;AAEG;;;AAGD;AACD;;ACLD;;AAEG;AACH;;ACCA;AACA;AAEA;AACA;AAIA;AASgB;;;;AAQf;;AChCD;;AAEG;AACH;AAEA;;AAEG;AACH;AAIA;;AAEG;AACH;;ACjBA;AACA;AAEA;AACA;;ACHA;AAOA;;ACgBA;;;;;AAKG;AACH;AAEE;AACA;AACA;AAEA;;;AAGG;AACH;AAYA;;AAEG;;AAmDH;;;;;;;;AAQG;AACI;;;AAgBR;;ACnHD;;;;;;AAMG;AACH;AAeA;;AAEG;AACH;;AC1CA;AACA;;ACeA;;AAEG;AACH;AAEE;AACA;AACA;AACA;;AAGA;;AAMA;;;AAGG;;;;AAYJ;;ACzCD;;AAEG;AACH;;AAME;AAIA;;;AAGG;;;;;;AAaJ;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../src/annotations/localization.ts","../src/core/json-localization-interface.ts","../src/core/localization-configuration.ts","../src/core/translatable.ts","../src/core/translate-message-format-lazy-compiler.ts","../src/devkit/localization-devkit-interface.ts","../src/devkit/localization-devtools.ts","../src/devkit/localization-devtools-console-service.ts","../src/devkit/localization-devtools-message-service.ts","../src/tools/localization-service.ts","../src/tools/localization-translate-pipe.ts","../src/tools/localization-translate-directive.ts","../src/tools/localized-date-pipe.ts","../src/tools/localized-decimal-pipe.ts","../src/tools/localized-currency-pipe.ts","../src/tools/localization-module.ts","../src/devkit/localization-devtools-module.ts","../src/devkit/localization-devtools-token.ts","../src/stores/localization-override/localization-override.state.ts","../src/stores/localization-override/localization-override.actions.ts","../src/stores/localization-override/localization-override-module.ts","../src/stores/localization-override/localization-override.reducer.ts","../src/stores/localization-override/localization-override.selectors.ts","../src/stores/localization-override/localization-override.sync.ts","../src/tools/translations-loader.ts","../src/tools/localization-provider.ts","../src/tools/localization-token.ts","../src/tools/text-direction-service.ts","../src/tools/text-directionality.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAMA;;;AAGG;AAEH,iBAAA,YAAA;;ACXA;;;;;;;;;;;AAWE;;;;;AAKD;AAED;AACM,KAAA,oBAAA,GAAA,gBAAA;;ACnBN;;AAEG;;;;;;;;;;;;AAYD;;;;;;;;;;;;AAYG;AACH;AACE;;;;;;;;;AASF;AAAgB;;;;;;AAKhB;;;;AAIG;;AAEJ;AAED;;AAEG;AACH,cAAA,kCAAA,EAAA,QAAA,CAAA,yBAAA;;ACjDA;;AAEG;AACG,UAAA,YAAA,WAAA,WAAA;AACJ;;AAEG;;AAEJ;;ACCD;;AAEG;AACG,UAAA,uBAAA,SAAA,OAAA;AACJ;;;AAGG;;AAGH;;;AAGG;;AAEJ;AAED;;AAEG;AACH,cAAA,wBAAA,EAAA,QAAA,CAAA,uBAAA;AAKA;AACA,cAAA,qBAAA,EAAA,cAAA,CAAA,uBAAA;AAEA;;;AAGG;AACH,cAAA,kCAAA,SAAA,iBAAA;;AAGE;;;;AAaA;;AAEG;;;AAMI;;;AAKoC;;AACoC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AA,kBAAA,YAAA,eAAA;AAEE;AACA;AACA;AAEA;;;AAGG;AACH;AAYA;;AAEG;;AAmDH;;;;;;;;AAQG;AACI,qEAAA,UAAA;;;AAgBR;;ACnHD;;;;;;AAMG;AACH,iBAAA,qBAAA,4BAAA,yBAAA,WAAA,aAAA,0BAAA,qBAAA,GAAA,kBAAA;AAeA;;AAEG;AACH,cAAA,uBAAA,EAAA,QAAA,CAAA,eAAA;;AC1CA;AACA,cAAA,gCAAA,EAAA,cAAA,CAAA,yBAAA;;ACeA;;AAEG;AACH,cAAA,oBAAA;AAEE;AACA;AACA;AACA;;AAGA;;AAMA;;;AAGG;;;;AAYJ;;ACzCD;;AAEG;AACH,cAAA,kBAAA,SAAA,cAAA,YAAA,SAAA;;AAME,qBAAA,SAAA;AAIA;;;AAGG;;;;;;AAaJ;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/localization",
3
- "version": "14.0.0-next.4",
3
+ "version": "14.0.0-next.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,11 +43,11 @@
43
43
  "@formatjs/intl-numberformat": "^8.0.2",
44
44
  "@ngrx/store": "^20.0.0",
45
45
  "@ngx-translate/core": "^15.0.0 || ~16.0.4",
46
- "@o3r/core": "~14.0.0-next.4",
47
- "@o3r/dynamic-content": "~14.0.0-next.4",
48
- "@o3r/extractors": "~14.0.0-next.4",
49
- "@o3r/logger": "~14.0.0-next.4",
50
- "@o3r/schematics": "~14.0.0-next.4",
46
+ "@o3r/core": "~14.0.0-next.7",
47
+ "@o3r/dynamic-content": "~14.0.0-next.7",
48
+ "@o3r/extractors": "~14.0.0-next.7",
49
+ "@o3r/logger": "~14.0.0-next.7",
50
+ "@o3r/schematics": "~14.0.0-next.7",
51
51
  "@schematics/angular": "^20.0.0",
52
52
  "@yarnpkg/cli": "^4.3.1",
53
53
  "@yarnpkg/core": "^4.1.1",
@@ -113,7 +113,7 @@
113
113
  }
114
114
  },
115
115
  "dependencies": {
116
- "@o3r/schematics": "~14.0.0-next.4",
116
+ "@o3r/schematics": "~14.0.0-next.7",
117
117
  "tslib": "^2.6.2"
118
118
  },
119
119
  "engines": {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../src/rules-engine/localization-interfaces.ts","../../src/rules-engine/localization-rules-engine-action-handler.ts","../../src/rules-engine/localization-rules-engine-module.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;AAIA;AACA;AAEA;;AAEG;AACG;;;;AAIL;;ACKD;;AAEG;AACH;AAEE;;AAGA;;;;;AAWD;;AC5BD;;;;AAQmD;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../src/rules-engine/localization-interfaces.ts","../../src/rules-engine/localization-rules-engine-action-handler.ts","../../src/rules-engine/localization-rules-engine-module.ts"],"sourcesContent":[null,null,null],"names":[],"mappings":";;;;AAIA;AACA,cAAA,4CAAA;AAEA;;AAEG;AACG,UAAA,6BAAA,SAAA,iBAAA;;;;AAIL;;ACKD;;AAEG;AACH,cAAA,oCAAA,YAAA,wBAAA,CAAA,6BAAA;AAEE;;AAGA;;;;;AAWD;;AC5BD,cAAA,mCAAA;;;;AAQmD;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { Rule } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Update CMS adapter tools
4
- * @param options @see RuleFactory.options
4
+ * @param options {@link RuleFactory.options}
5
5
  * @param options.projectName
6
6
  */
7
7
  export declare const updateCmsAdapter: (options: any) => Rule;
@@ -6,7 +6,7 @@ const schematics_1 = require("@angular-devkit/schematics");
6
6
  const schematics_2 = require("@o3r/schematics");
7
7
  /**
8
8
  * Update CMS adapter tools
9
- * @param options @see RuleFactory.options
9
+ * @param options {@link RuleFactory.options}
10
10
  * @param options.projectName
11
11
  */
12
12
  function updateCmsAdapterFn(options) {
@@ -74,7 +74,7 @@ function updateCmsAdapterFn(options) {
74
74
  }
75
75
  /**
76
76
  * Update CMS adapter tools
77
- * @param options @see RuleFactory.options
77
+ * @param options {@link RuleFactory.options}
78
78
  * @param options.projectName
79
79
  */
80
80
  exports.updateCmsAdapter = (0, schematics_2.createOtterSchematic)(updateCmsAdapterFn);
@@ -1,9 +1,9 @@
1
1
  import { Rule } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Add Otter localization support
4
- * @param options @see RuleFactory.options
4
+ * @param options {@link RuleFactory.options}
5
5
  * @param options.projectName
6
- * @param rootPath @see RuleFactory.rootPath
6
+ * @param rootPath {@link RuleFactory.rootPath}
7
7
  */
8
8
  export declare function updateLocalization(options: {
9
9
  projectName?: string | null | undefined;
@@ -11,9 +11,9 @@ const change_1 = require("@schematics/angular/utility/change");
11
11
  const ts = require("typescript");
12
12
  /**
13
13
  * Add Otter localization support
14
- * @param options @see RuleFactory.options
14
+ * @param options {@link RuleFactory.options}
15
15
  * @param options.projectName
16
- * @param rootPath @see RuleFactory.rootPath
16
+ * @param rootPath {@link RuleFactory.rootPath}
17
17
  */
18
18
  function updateLocalization(options, rootPath) {
19
19
  const mainAssetsFolder = 'src/assets';
@@ -101,7 +101,7 @@ function ngAddLocalizationFn(options) {
101
101
  const newMembers = node.members
102
102
  .filter((classElement) => !ts.isConstructorDeclaration(classElement))
103
103
  .concat(propertiesToAdd, newContructorDeclaration)
104
- .sort(schematics_2.sortClassElement);
104
+ .toSorted(schematics_2.sortClassElement);
105
105
  (0, schematics_2.addCommentsOnClassProperties)(newMembers, {
106
106
  translations: 'Localization of the component'
107
107
  });