@ngx-stoui/core 14.0.0 → 14.0.1

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.
Files changed (44) hide show
  1. package/esm2020/index.mjs +1 -4
  2. package/esm2020/lib/sto-directives/context-menu.directive.mjs +6 -5
  3. package/esm2020/lib/sto-directives/date-form-field-click.directive.mjs +6 -5
  4. package/esm2020/lib/sto-directives/directives.module.mjs +18 -44
  5. package/esm2020/lib/sto-directives/menu-overlay.directive.mjs +6 -5
  6. package/esm2020/lib/sto-directives/quick-keys.directive.mjs +6 -5
  7. package/esm2020/lib/sto-directives/sto-grid.directive.mjs +20 -13
  8. package/esm2020/lib/sto-directives/sto-select-text-on-focus.directive.mjs +10 -32
  9. package/esm2020/lib/sto-pipes/currency-format.pipe.mjs +14 -13
  10. package/esm2020/lib/sto-pipes/date-format.pipe.mjs +6 -5
  11. package/esm2020/lib/sto-pipes/keys.pipe.mjs +6 -5
  12. package/esm2020/lib/sto-pipes/number-format.pipe.mjs +6 -5
  13. package/esm2020/lib/sto-pipes/sto-pipes.module.mjs +10 -45
  14. package/esm2020/lib/sto-pipes/with-unit.mjs +9 -9
  15. package/esm2020/lib/sto-pipes/yes-no.mjs +5 -5
  16. package/fesm2015/ngx-stoui-core.mjs +116 -272
  17. package/fesm2015/ngx-stoui-core.mjs.map +1 -1
  18. package/fesm2020/ngx-stoui-core.mjs +117 -271
  19. package/fesm2020/ngx-stoui-core.mjs.map +1 -1
  20. package/index.d.ts +0 -3
  21. package/lib/sto-directives/context-menu.directive.d.ts +1 -1
  22. package/lib/sto-directives/date-form-field-click.directive.d.ts +2 -2
  23. package/lib/sto-directives/directives.module.d.ts +18 -14
  24. package/lib/sto-directives/menu-overlay.directive.d.ts +2 -2
  25. package/lib/sto-directives/quick-keys.directive.d.ts +1 -1
  26. package/lib/sto-directives/sto-grid.directive.d.ts +3 -3
  27. package/lib/sto-directives/sto-select-text-on-focus.directive.d.ts +5 -14
  28. package/lib/sto-pipes/currency-format.pipe.d.ts +9 -9
  29. package/lib/sto-pipes/date-format.pipe.d.ts +1 -1
  30. package/lib/sto-pipes/keys.pipe.d.ts +1 -1
  31. package/lib/sto-pipes/number-format.pipe.d.ts +1 -1
  32. package/lib/sto-pipes/sto-pipes.module.d.ts +6 -13
  33. package/lib/sto-pipes/with-unit.d.ts +2 -2
  34. package/lib/sto-pipes/yes-no.d.ts +1 -1
  35. package/ngx-datatable.css +4 -8
  36. package/ngx-stoui.css +118 -20
  37. package/package.json +20 -1
  38. package/style/_fonts.scss +1 -1
  39. package/esm2020/lib/sto-user-preference/sto-user-preference.component.mjs +0 -45
  40. package/esm2020/lib/sto-user-preference/sto-user-preference.module.mjs +0 -27
  41. package/esm2020/lib/sto-user-preference/sto-user-preference.service.mjs +0 -39
  42. package/lib/sto-user-preference/sto-user-preference.component.d.ts +0 -16
  43. package/lib/sto-user-preference/sto-user-preference.module.d.ts +0 -12
  44. package/lib/sto-user-preference/sto-user-preference.service.d.ts +0 -17
@@ -1,17 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Directive, Input, Output, HostListener, ContentChildren, Injectable, Optional, HostBinding, ElementRef, Host, NgModule, Pipe, Component } from '@angular/core';
3
- import * as i3 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
2
+ import { EventEmitter, Directive, Input, Output, HostListener, ContentChildren, HostBinding, ElementRef, Host, Pipe } from '@angular/core';
5
3
  import { MatInput } from '@angular/material/input';
6
- import { Subject, BehaviorSubject, fromEvent } from 'rxjs';
4
+ import { Subject, fromEvent } from 'rxjs';
7
5
  import { takeUntil, switchMap, take } from 'rxjs/operators';
8
- import { LayoutModule } from '@angular/cdk/layout';
9
6
  import * as i1 from '@angular/material/menu';
10
7
  import { parseISO, isValid, format } from 'date-fns';
11
- import * as i1$1 from '@angular/forms';
12
- import { ReactiveFormsModule, FormsModule } from '@angular/forms';
13
- import * as i4 from '@angular/material/expansion';
14
- import { MatExpansionModule } from '@angular/material/expansion';
15
8
 
16
9
  /**
17
10
  MIT License
@@ -207,12 +200,13 @@ class QuickKeysDirective {
207
200
  }
208
201
  }
209
202
  }
210
- QuickKeysDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: QuickKeysDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
211
- QuickKeysDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: QuickKeysDirective, selector: "[stoQuickKeys]", inputs: { quickKeys: "quickKeys", formGroup: "formGroup" }, outputs: { quickSubmit: "quickSubmit", quickCancel: "quickCancel" }, host: { listeners: { "keyup": "onKeyUp($event)" } }, ngImport: i0 });
212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: QuickKeysDirective, decorators: [{
203
+ QuickKeysDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: QuickKeysDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
204
+ QuickKeysDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: QuickKeysDirective, isStandalone: true, selector: "[stoQuickKeys]", inputs: { quickKeys: "quickKeys", formGroup: "formGroup" }, outputs: { quickSubmit: "quickSubmit", quickCancel: "quickCancel" }, host: { listeners: { "keyup": "onKeyUp($event)" } }, ngImport: i0 });
205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: QuickKeysDirective, decorators: [{
213
206
  type: Directive,
214
207
  args: [{
215
- selector: '[stoQuickKeys]'
208
+ selector: '[stoQuickKeys]',
209
+ standalone: true
216
210
  }]
217
211
  }], propDecorators: { quickKeys: [{
218
212
  type: Input
@@ -249,12 +243,13 @@ class DateFormFieldClickDirective {
249
243
  this.destroy$.complete();
250
244
  }
251
245
  }
252
- DateFormFieldClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: DateFormFieldClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
253
- DateFormFieldClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: DateFormFieldClickDirective, selector: "[stoDateFormFieldClick]", inputs: { stoDateFormFieldClick: "stoDateFormFieldClick" }, host: { listeners: { "click": "clickEvent()" } }, queries: [{ propertyName: "inputs", predicate: MatInput }], ngImport: i0 });
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: DateFormFieldClickDirective, decorators: [{
246
+ DateFormFieldClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: DateFormFieldClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
247
+ DateFormFieldClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: DateFormFieldClickDirective, isStandalone: true, selector: "[stoDateFormFieldClick]", inputs: { stoDateFormFieldClick: "stoDateFormFieldClick" }, host: { listeners: { "click": "clickEvent()" } }, queries: [{ propertyName: "inputs", predicate: MatInput }], ngImport: i0 });
248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: DateFormFieldClickDirective, decorators: [{
255
249
  type: Directive,
256
250
  args: [{
257
- selector: '[stoDateFormFieldClick]'
251
+ selector: '[stoDateFormFieldClick]',
252
+ standalone: true
258
253
  }]
259
254
  }], propDecorators: { inputs: [{
260
255
  type: ContentChildren,
@@ -266,89 +261,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImpor
266
261
  args: ['click']
267
262
  }] } });
268
263
 
269
- const preferenceKey = 'TOPS_IM:UserPreferences';
270
- class StoUserPreferenceService {
271
- constructor() {
272
- this.hasSelectTextOnFocusEnabled = new BehaviorSubject(true);
273
- this.default = {
274
- hasSelectTextOnFocusEnabled: true
275
- };
276
- let sessionPreferences = {};
277
- const sessionPreferencesString = this.getPreferences();
278
- try {
279
- sessionPreferences = JSON.parse(sessionPreferencesString);
280
- }
281
- catch (e) {
282
- console.error('Unable to parse the preferences from local storage. Loading default');
283
- }
284
- this.preferences = Object.assign(Object.assign({}, this.default), sessionPreferences);
285
- this.setHasSelectTextOnFocusEnabled(this.preferences.hasSelectTextOnFocusEnabled);
286
- }
287
- setHasSelectTextOnFocusEnabled(value) {
288
- this.hasSelectTextOnFocusEnabled.next(value);
289
- this.preferences.hasSelectTextOnFocusEnabled = value;
290
- this.setPreferences(this.preferences);
291
- }
292
- getPreferences() {
293
- return sessionStorage.getItem(preferenceKey) || '{}';
294
- }
295
- setPreferences(value) {
296
- sessionStorage.setItem(preferenceKey, JSON.stringify(value));
297
- }
298
- }
299
- StoUserPreferenceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
300
- StoUserPreferenceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceService });
301
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceService, decorators: [{
302
- type: Injectable
303
- }], ctorParameters: function () { return []; } });
304
-
305
264
  /**
306
265
  * stoSelectTextOnFocus listens for input focus events, and selects the contents of the input
307
266
  * A user service is established in {@link StoUserPreferenceService} that allows a user to toggle this feature
308
267
  */
309
268
  class StoSelectTextOnFocusDirective {
310
- constructor(elementRef, userPreferenceService) {
269
+ constructor(elementRef) {
311
270
  this.elementRef = elementRef;
312
- this.userPreferenceService = userPreferenceService;
313
- this.destroyed$ = new Subject();
314
271
  this._el = this.elementRef.nativeElement;
315
272
  }
316
273
  /**
317
274
  * Listens for focus events on the host (input) element, and focuses if applicable
318
275
  */
319
276
  onFocus() {
320
- if (this._hasSelectTextOnFocusEnabled && this._el.readOnly === false) {
277
+ if (!this._el.readOnly) {
321
278
  this._el.select();
322
279
  }
323
280
  }
324
- /**
325
- * Subscribes to changes in {@link StoUserPreferenceService}, and binds the variable accordingly.
326
- */
327
- ngOnInit() {
328
- if (this.userPreferenceService) {
329
- this.userPreferenceService.hasSelectTextOnFocusEnabled
330
- .pipe(takeUntil(this.destroyed$)).subscribe((hasSelectTextOnFocusEnabled) => {
331
- this._hasSelectTextOnFocusEnabled = hasSelectTextOnFocusEnabled;
332
- });
333
- }
334
- }
335
- ngOnDestroy() {
336
- this.destroyed$.next(true);
337
- this.destroyed$.complete();
338
- }
339
281
  }
340
- StoSelectTextOnFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoSelectTextOnFocusDirective, deps: [{ token: i0.ElementRef }, { token: StoUserPreferenceService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
341
- StoSelectTextOnFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: StoSelectTextOnFocusDirective, selector: "[stoSelectTextOnFocus]", host: { listeners: { "focus": "onFocus()", "dblclick": "onFocus()" } }, ngImport: i0 });
342
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoSelectTextOnFocusDirective, decorators: [{
282
+ StoSelectTextOnFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoSelectTextOnFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
283
+ StoSelectTextOnFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: StoSelectTextOnFocusDirective, isStandalone: true, selector: "[stoSelectTextOnFocus]", host: { listeners: { "focus": "onFocus()", "dblclick": "onFocus()" } }, ngImport: i0 });
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoSelectTextOnFocusDirective, decorators: [{
343
285
  type: Directive,
344
286
  args: [{
345
- selector: '[stoSelectTextOnFocus]'
287
+ selector: '[stoSelectTextOnFocus]',
288
+ standalone: true
346
289
  }]
347
- }], ctorParameters: function () {
348
- return [{ type: i0.ElementRef }, { type: StoUserPreferenceService, decorators: [{
349
- type: Optional
350
- }] }];
351
- }, propDecorators: { onFocus: [{
290
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onFocus: [{
352
291
  type: HostListener,
353
292
  args: ['focus']
354
293
  }, {
@@ -372,11 +311,14 @@ class StoGridSpacerDirective {
372
311
  this.useClass = true;
373
312
  }
374
313
  }
375
- StoGridSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoGridSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
376
- StoGridSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: StoGridSpacerDirective, selector: "[stoGridSpacer]", host: { properties: { "class.sto-f-grid__col": "this.useClass", "class.sto-f-grid__col--spacer": "this.useClass" } }, ngImport: i0 });
377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoGridSpacerDirective, decorators: [{
314
+ StoGridSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoGridSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
315
+ StoGridSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: StoGridSpacerDirective, isStandalone: true, selector: "[stoGridSpacer]", host: { properties: { "class.sto-f-grid__col": "this.useClass", "class.sto-f-grid__col--spacer": "this.useClass" } }, ngImport: i0 });
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoGridSpacerDirective, decorators: [{
378
317
  type: Directive,
379
- args: [{ selector: '[stoGridSpacer]' }]
318
+ args: [{
319
+ selector: '[stoGridSpacer]',
320
+ standalone: true
321
+ }]
380
322
  }], propDecorators: { useClass: [{
381
323
  type: HostBinding,
382
324
  args: ['class.sto-f-grid__col']
@@ -389,11 +331,14 @@ class StoGridColumnDirective {
389
331
  this.useClass = true;
390
332
  }
391
333
  }
392
- StoGridColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoGridColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
393
- StoGridColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: StoGridColumnDirective, selector: "[stoGridColumn]", inputs: { stoGridColumnDouble: "stoGridColumnDouble" }, host: { properties: { "class.sto-f-grid__col": "this.useClass", "class.sto-f-grid__col--2": "this.stoGridColumnDouble" } }, ngImport: i0 });
394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoGridColumnDirective, decorators: [{
334
+ StoGridColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoGridColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
335
+ StoGridColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: StoGridColumnDirective, isStandalone: true, selector: "[stoGridColumn]", inputs: { stoGridColumnDouble: "stoGridColumnDouble" }, host: { properties: { "class.sto-f-grid__col": "this.useClass", "class.sto-f-grid__col--2": "this.stoGridColumnDouble" } }, ngImport: i0 });
336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoGridColumnDirective, decorators: [{
395
337
  type: Directive,
396
- args: [{ selector: '[stoGridColumn]' }]
338
+ args: [{
339
+ selector: '[stoGridColumn]',
340
+ standalone: true
341
+ }]
397
342
  }], propDecorators: { useClass: [{
398
343
  type: HostBinding,
399
344
  args: ['class.sto-f-grid__col']
@@ -432,13 +377,14 @@ class StoGridDirective {
432
377
  }
433
378
  }
434
379
  }
435
- StoGridDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoGridDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
436
- StoGridDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: StoGridDirective, selector: "[stoGrid]", inputs: { maxWidth: "maxWidth", minWidth: "minWidth", breakpoints: "breakpoints" }, host: { properties: { "style.max-width.px": "this.maxWidth", "style.min-width.px": "this.minWidth", "class.sto-f-grid": "this.baseClass" } }, queries: [{ propertyName: "columns", predicate: StoGridColumnDirective, read: ElementRef }], exportAs: ["stoGrid"], ngImport: i0 });
437
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoGridDirective, decorators: [{
380
+ StoGridDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoGridDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
381
+ StoGridDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: StoGridDirective, isStandalone: true, selector: "[stoGrid]", inputs: { maxWidth: "maxWidth", minWidth: "minWidth", breakpoints: "breakpoints" }, host: { properties: { "style.max-width.px": "this.maxWidth", "style.min-width.px": "this.minWidth", "class.sto-f-grid": "this.baseClass" } }, queries: [{ propertyName: "columns", predicate: StoGridColumnDirective, read: ElementRef }], exportAs: ["stoGrid"], ngImport: i0 });
382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: StoGridDirective, decorators: [{
438
383
  type: Directive,
439
384
  args: [{
440
385
  selector: '[stoGrid]',
441
- exportAs: 'stoGrid'
386
+ exportAs: 'stoGrid',
387
+ standalone: true
442
388
  }]
443
389
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { maxWidth: [{
444
390
  type: HostBinding,
@@ -483,13 +429,14 @@ class MenuOverlayDirective {
483
429
  element.style.width = '1px';
484
430
  }
485
431
  }
486
- MenuOverlayDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: MenuOverlayDirective, deps: [{ token: i1.MatMenuTrigger, host: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
487
- MenuOverlayDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: MenuOverlayDirective, selector: "[stoMenuOverlay]", host: { properties: { "style.left.px": "this.left", "style.top.px": "this.top" } }, exportAs: ["stoMenuOverlay"], ngImport: i0 });
488
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: MenuOverlayDirective, decorators: [{
432
+ MenuOverlayDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: MenuOverlayDirective, deps: [{ token: i1.MatMenuTrigger, host: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
433
+ MenuOverlayDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: MenuOverlayDirective, isStandalone: true, selector: "[stoMenuOverlay]", host: { properties: { "style.left.px": "this.left", "style.top.px": "this.top" } }, exportAs: ["stoMenuOverlay"], ngImport: i0 });
434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: MenuOverlayDirective, decorators: [{
489
435
  type: Directive,
490
436
  args: [{
491
437
  selector: '[stoMenuOverlay]',
492
- exportAs: 'stoMenuOverlay'
438
+ exportAs: 'stoMenuOverlay',
439
+ standalone: true
493
440
  }]
494
441
  }], ctorParameters: function () {
495
442
  return [{ type: i1.MatMenuTrigger, decorators: [{
@@ -516,12 +463,13 @@ class ContextMenuDirective {
516
463
  }, 150);
517
464
  }
518
465
  }
519
- ContextMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ContextMenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
520
- ContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: ContextMenuDirective, selector: "[stoContextMenu]", inputs: { menuTrigger: "menuTrigger", overlayDirective: "overlayDirective", menuContext: "menuContext" }, host: { listeners: { "contextmenu": "contextMenu($event)" } }, ngImport: i0 });
521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ContextMenuDirective, decorators: [{
466
+ ContextMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: ContextMenuDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
467
+ ContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.5", type: ContextMenuDirective, isStandalone: true, selector: "[stoContextMenu]", inputs: { menuTrigger: "menuTrigger", overlayDirective: "overlayDirective", menuContext: "menuContext" }, host: { listeners: { "contextmenu": "contextMenu($event)" } }, ngImport: i0 });
468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: ContextMenuDirective, decorators: [{
522
469
  type: Directive,
523
470
  args: [{
524
- selector: '[stoContextMenu]'
471
+ selector: '[stoContextMenu]',
472
+ standalone: true
525
473
  }]
526
474
  }], propDecorators: { menuTrigger: [{
527
475
  type: Input
@@ -534,51 +482,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImpor
534
482
  args: ['contextmenu', ['$event']]
535
483
  }] } });
536
484
 
537
- class StoDirectivesModule {
538
- }
539
- StoDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
540
- StoDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: StoDirectivesModule, declarations: [QuickKeysDirective,
541
- DateFormFieldClickDirective,
542
- StoSelectTextOnFocusDirective,
543
- StoGridDirective,
544
- StoGridColumnDirective,
545
- StoGridSpacerDirective,
546
- MenuOverlayDirective,
547
- ContextMenuDirective], imports: [CommonModule, LayoutModule], exports: [QuickKeysDirective,
485
+ /**
486
+ * Directives have been made standalone, import them directly:
487
+ * QuickKeysDirective
488
+ * DateFormFieldClickDirective
489
+ * StoSelectTextOnFocusDirective
490
+ * StoGridDirective
491
+ * StoGridColumnDirective
492
+ * StoGridSpacerDirective
493
+ * MenuOverlayDirective
494
+ * ContextMenuDirective
495
+ */
496
+ const StoDirectivesModule = [
497
+ [
498
+ QuickKeysDirective,
548
499
  DateFormFieldClickDirective,
549
500
  StoSelectTextOnFocusDirective,
550
501
  StoGridDirective,
551
502
  StoGridColumnDirective,
552
503
  StoGridSpacerDirective,
553
504
  MenuOverlayDirective,
554
- ContextMenuDirective] });
555
- StoDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoDirectivesModule, imports: [CommonModule, LayoutModule] });
556
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoDirectivesModule, decorators: [{
557
- type: NgModule,
558
- args: [{
559
- imports: [CommonModule, LayoutModule],
560
- declarations: [
561
- QuickKeysDirective,
562
- DateFormFieldClickDirective,
563
- StoSelectTextOnFocusDirective,
564
- StoGridDirective,
565
- StoGridColumnDirective,
566
- StoGridSpacerDirective,
567
- MenuOverlayDirective,
568
- ContextMenuDirective
569
- ],
570
- exports: [
571
- QuickKeysDirective,
572
- DateFormFieldClickDirective,
573
- StoSelectTextOnFocusDirective,
574
- StoGridDirective,
575
- StoGridColumnDirective,
576
- StoGridSpacerDirective,
577
- MenuOverlayDirective,
578
- ContextMenuDirective
579
- ]
580
- }]
581
- }] });
505
+ ContextMenuDirective
506
+ ]
507
+ ];
582
508
 
583
509
  /**
584
510
  * Formats numbers to use our standard formatting (d ddd,ddd)
@@ -647,24 +573,25 @@ class NumberFormatPipe {
647
573
  return returnValue.toFixed(precision);
648
574
  }
649
575
  }
650
- NumberFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: NumberFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
651
- NumberFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: NumberFormatPipe, name: "numberFormat" });
652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: NumberFormatPipe, decorators: [{
576
+ NumberFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: NumberFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
577
+ NumberFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: NumberFormatPipe, isStandalone: true, name: "numberFormat" });
578
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: NumberFormatPipe, decorators: [{
653
579
  type: Pipe,
654
580
  args: [{
655
- name: 'numberFormat'
581
+ name: 'numberFormat',
582
+ standalone: true
656
583
  }]
657
584
  }] });
658
585
 
659
586
  /**
660
- * Pipe used to transform numbers to a currency format
661
- *
662
- * @example
663
- *
664
- * <span>{{ 5000.5824 | currentFormat:'$':3 }}</span>
665
- * Results in
666
- * <span>5 000,582 $</span>
667
- */
587
+ * Pipe used to transform numbers to a currency format
588
+ *
589
+ * @example
590
+ *
591
+ * <span>{{ 5000.5824 | currentFormat:'$':3 }}</span>
592
+ * Results in
593
+ * <span>5 000,582 $</span>
594
+ */
668
595
  class CurrencyFormatPipe {
669
596
  transform(value, unit = '', maximumFractionDigits = 3) {
670
597
  if (!value) {
@@ -680,12 +607,13 @@ class CurrencyFormatPipe {
680
607
  return intl.replace(/,/g, ' ').replace('.', ',') + ` ${unit}`;
681
608
  }
682
609
  }
683
- CurrencyFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CurrencyFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
684
- CurrencyFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: CurrencyFormatPipe, name: "currencyFormat" });
685
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CurrencyFormatPipe, decorators: [{
610
+ CurrencyFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: CurrencyFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
611
+ CurrencyFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: CurrencyFormatPipe, isStandalone: true, name: "currencyFormat" });
612
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: CurrencyFormatPipe, decorators: [{
686
613
  type: Pipe,
687
614
  args: [{
688
- name: 'currencyFormat'
615
+ name: 'currencyFormat',
616
+ standalone: true
689
617
  }]
690
618
  }] });
691
619
 
@@ -705,12 +633,13 @@ class KeysPipe {
705
633
  return [];
706
634
  }
707
635
  }
708
- KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
709
- KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: KeysPipe, name: "keys" });
710
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: KeysPipe, decorators: [{
636
+ KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
637
+ KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys" });
638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: KeysPipe, decorators: [{
711
639
  type: Pipe,
712
640
  args: [{
713
- name: 'keys'
641
+ name: 'keys',
642
+ standalone: true
714
643
  }]
715
644
  }] });
716
645
 
@@ -755,12 +684,13 @@ class DateFormatPipe {
755
684
  }
756
685
  }
757
686
  }
758
- DateFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: DateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
759
- DateFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: DateFormatPipe, name: "formatDate" });
760
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: DateFormatPipe, decorators: [{
687
+ DateFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: DateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
688
+ DateFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: DateFormatPipe, isStandalone: true, name: "formatDate" });
689
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: DateFormatPipe, decorators: [{
761
690
  type: Pipe,
762
691
  args: [{
763
- name: 'formatDate'
692
+ name: 'formatDate',
693
+ standalone: true
764
694
  }]
765
695
  }] });
766
696
 
@@ -781,11 +711,11 @@ class GetUnit {
781
711
  return value;
782
712
  }
783
713
  }
784
- GetUnit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: GetUnit, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
785
- GetUnit.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: GetUnit, name: "getUnit" });
786
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: GetUnit, decorators: [{
714
+ GetUnit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: GetUnit, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
715
+ GetUnit.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: GetUnit, isStandalone: true, name: "getUnit" });
716
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: GetUnit, decorators: [{
787
717
  type: Pipe,
788
- args: [{ name: 'getUnit' }]
718
+ args: [{ name: 'getUnit', standalone: true }]
789
719
  }] });
790
720
  class ExcludeUnit {
791
721
  transform(value) {
@@ -798,11 +728,11 @@ class ExcludeUnit {
798
728
  return value;
799
729
  }
800
730
  }
801
- ExcludeUnit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ExcludeUnit, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
802
- ExcludeUnit.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: ExcludeUnit, name: "excludeUnit" });
803
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ExcludeUnit, decorators: [{
731
+ ExcludeUnit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: ExcludeUnit, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
732
+ ExcludeUnit.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: ExcludeUnit, isStandalone: true, name: "excludeUnit" });
733
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: ExcludeUnit, decorators: [{
804
734
  type: Pipe,
805
- args: [{ name: 'excludeUnit' }]
735
+ args: [{ name: 'excludeUnit', standalone: true }]
806
736
  }] });
807
737
 
808
738
  class YesNoPipe {
@@ -817,108 +747,22 @@ class YesNoPipe {
817
747
  return valueStr;
818
748
  }
819
749
  }
820
- YesNoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: YesNoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
821
- YesNoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: YesNoPipe, name: "yesNo" });
822
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: YesNoPipe, decorators: [{
750
+ YesNoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: YesNoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
751
+ YesNoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: YesNoPipe, isStandalone: true, name: "yesNo" });
752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: YesNoPipe, decorators: [{
823
753
  type: Pipe,
824
- args: [{ name: 'yesNo' }]
754
+ args: [{ name: 'yesNo', standalone: true }]
825
755
  }] });
826
756
 
827
- class StoPipesModule {
828
- }
829
- StoPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
830
- StoPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: StoPipesModule, declarations: [DateFormatPipe,
831
- KeysPipe,
832
- NumberFormatPipe,
833
- CurrencyFormatPipe,
834
- GetUnit,
835
- ExcludeUnit,
836
- YesNoPipe], imports: [CommonModule], exports: [DateFormatPipe,
837
- KeysPipe,
838
- NumberFormatPipe,
839
- CurrencyFormatPipe,
840
- GetUnit,
841
- ExcludeUnit,
842
- YesNoPipe] });
843
- StoPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoPipesModule, imports: [CommonModule] });
844
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoPipesModule, decorators: [{
845
- type: NgModule,
846
- args: [{
847
- imports: [CommonModule],
848
- declarations: [
849
- DateFormatPipe,
850
- KeysPipe,
851
- NumberFormatPipe,
852
- CurrencyFormatPipe,
853
- GetUnit,
854
- ExcludeUnit,
855
- YesNoPipe
856
- ],
857
- exports: [
858
- DateFormatPipe,
859
- KeysPipe,
860
- NumberFormatPipe,
861
- CurrencyFormatPipe,
862
- GetUnit,
863
- ExcludeUnit,
864
- YesNoPipe
865
- ]
866
- }]
867
- }] });
868
-
869
- class StoUserPreferenceComponent {
870
- constructor(fb, service) {
871
- this.fb = fb;
872
- this.service = service;
873
- this.destroyed$ = new Subject();
874
- }
875
- initForm(value) {
876
- var _a;
877
- this.form = this.fb.group({
878
- hasSelectTextOnFocusEnabled: [value]
879
- });
880
- (_a = this.form.get('hasSelectTextOnFocusEnabled')) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(takeUntil(this.destroyed$)).subscribe((hasSelectTextOnFocusEnabled) => {
881
- this.service.setHasSelectTextOnFocusEnabled(hasSelectTextOnFocusEnabled);
882
- });
883
- }
884
- ngOnInit() {
885
- this.service.hasSelectTextOnFocusEnabled.asObservable()
886
- .pipe(take(1))
887
- .subscribe((value) => {
888
- this.initForm(value);
889
- });
890
- }
891
- ngOnDestroy() {
892
- this.destroyed$.next(true);
893
- this.destroyed$.complete();
894
- }
895
- }
896
- StoUserPreferenceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceComponent, deps: [{ token: i1$1.UntypedFormBuilder }, { token: StoUserPreferenceService }], target: i0.ɵɵFactoryTarget.Component });
897
- StoUserPreferenceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: StoUserPreferenceComponent, selector: "sto-user-preference", ngImport: i0, template: "<mat-expansion-panel [expanded]=\"false\">\n <mat-expansion-panel-header>\n <mat-panel-title>Settings<span style=\"opacity: 0.36\">&nbsp;(beta)</span></mat-panel-title>\n </mat-expansion-panel-header>\n <div *ngIf=\"form\" class=\"sto-grid sto-grid--4\">\n\n <ng-content></ng-content>\n\n </div>\n</mat-expansion-panel>\n", styles: [""], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i4.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i4.MatExpansionPanelTitle, selector: "mat-panel-title" }] });
898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceComponent, decorators: [{
899
- type: Component,
900
- args: [{ selector: 'sto-user-preference', template: "<mat-expansion-panel [expanded]=\"false\">\n <mat-expansion-panel-header>\n <mat-panel-title>Settings<span style=\"opacity: 0.36\">&nbsp;(beta)</span></mat-panel-title>\n </mat-expansion-panel-header>\n <div *ngIf=\"form\" class=\"sto-grid sto-grid--4\">\n\n <ng-content></ng-content>\n\n </div>\n</mat-expansion-panel>\n" }]
901
- }], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }, { type: StoUserPreferenceService }]; } });
902
-
903
- class StoUserPreferenceModule {
904
- static forRoot() {
905
- return {
906
- ngModule: StoUserPreferenceModule,
907
- providers: [StoUserPreferenceService]
908
- };
909
- }
910
- }
911
- StoUserPreferenceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
912
- StoUserPreferenceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceModule, declarations: [StoUserPreferenceComponent], imports: [CommonModule, MatExpansionModule, ReactiveFormsModule, FormsModule], exports: [StoUserPreferenceComponent] });
913
- StoUserPreferenceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceModule, imports: [CommonModule, MatExpansionModule, ReactiveFormsModule, FormsModule] });
914
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: StoUserPreferenceModule, decorators: [{
915
- type: NgModule,
916
- args: [{
917
- imports: [CommonModule, MatExpansionModule, ReactiveFormsModule, FormsModule],
918
- exports: [StoUserPreferenceComponent],
919
- declarations: [StoUserPreferenceComponent]
920
- }]
921
- }] });
757
+ const StoPipesModule = [
758
+ DateFormatPipe,
759
+ KeysPipe,
760
+ NumberFormatPipe,
761
+ CurrencyFormatPipe,
762
+ GetUnit,
763
+ ExcludeUnit,
764
+ YesNoPipe
765
+ ];
922
766
 
923
767
  /*
924
768
  * Public API Surface of @ngx-stoui/core
@@ -928,5 +772,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImpor
928
772
  * Generated bundle index. Do not edit.
929
773
  */
930
774
 
931
- export { ContextMenuDirective, CurrencyFormatPipe, DateFormFieldClickDirective, DateFormatPipe, ExcludeUnit, GetUnit, Key, KeysPipe, MenuOverlayDirective, NumberFormatPipe, QuickKeysDirective, StoDirectivesModule, StoGridColumnDirective, StoGridDirective, StoGridSpacerDirective, StoPipesModule, StoSelectTextOnFocusDirective, StoUserPreferenceComponent, StoUserPreferenceModule, StoUserPreferenceService, YesNoPipe };
775
+ export { ContextMenuDirective, CurrencyFormatPipe, DateFormFieldClickDirective, DateFormatPipe, ExcludeUnit, GetUnit, Key, KeysPipe, MenuOverlayDirective, NumberFormatPipe, QuickKeysDirective, StoDirectivesModule, StoGridColumnDirective, StoGridDirective, StoGridSpacerDirective, StoPipesModule, StoSelectTextOnFocusDirective, YesNoPipe };
932
776
  //# sourceMappingURL=ngx-stoui-core.mjs.map