@firestitch/common 18.0.11 → 18.0.13

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 (30) hide show
  1. package/app/directives/auto-focus.directive.d.ts +3 -5
  2. package/app/directives/auto-select.directive.d.ts +2 -3
  3. package/app/directives/model-change.directive.d.ts +2 -4
  4. package/app/directives/prevent-default.directive.d.ts +1 -1
  5. package/app/directives/stop-propagation.directive.d.ts +1 -1
  6. package/app/fs-common.module.d.ts +13 -13
  7. package/app/pipes/bytes.pipe.d.ts +1 -1
  8. package/app/pipes/currency.pipe.d.ts +1 -2
  9. package/app/pipes/number.pipe.d.ts +1 -1
  10. package/app/pipes/ordinal-number.pipe.d.ts +1 -1
  11. package/app/pipes/truncate.pipe.d.ts +1 -1
  12. package/app/pipes/util.pipe.d.ts +4 -4
  13. package/app/services/vaildate.service.d.ts +0 -2
  14. package/esm2022/app/directives/auto-focus.directive.mjs +8 -16
  15. package/esm2022/app/directives/auto-select.directive.mjs +7 -9
  16. package/esm2022/app/directives/model-change.directive.mjs +9 -11
  17. package/esm2022/app/directives/prevent-default.directive.mjs +3 -2
  18. package/esm2022/app/directives/stop-propagation.directive.mjs +3 -2
  19. package/esm2022/app/fs-common.module.mjs +4 -5
  20. package/esm2022/app/pipes/bytes.pipe.mjs +3 -2
  21. package/esm2022/app/pipes/currency.pipe.mjs +7 -12
  22. package/esm2022/app/pipes/number.pipe.mjs +4 -3
  23. package/esm2022/app/pipes/ordinal-number.pipe.mjs +3 -2
  24. package/esm2022/app/pipes/truncate.pipe.mjs +4 -3
  25. package/esm2022/app/pipes/util.pipe.mjs +9 -5
  26. package/esm2022/app/services/vaildate.service.mjs +5 -9
  27. package/esm2022/libs/validate/url/url.mjs +2 -2
  28. package/fesm2022/firestitch-common.mjs +55 -64
  29. package/fesm2022/firestitch-common.mjs.map +1 -1
  30. package/package.json +1 -1
@@ -9,12 +9,13 @@ export class FsUtilStringifyPipe {
9
9
  return stringify(value);
10
10
  }
11
11
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
12
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, name: "fsUtilStringify" });
12
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, isStandalone: true, name: "fsUtilStringify" });
13
13
  }
14
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, decorators: [{
15
15
  type: Pipe,
16
16
  args: [{
17
17
  name: 'fsUtilStringify',
18
+ standalone: true,
18
19
  }]
19
20
  }], ctorParameters: () => [] });
20
21
  export class FsUtilGuidPipe {
@@ -23,12 +24,13 @@ export class FsUtilGuidPipe {
23
24
  return guid();
24
25
  }
25
26
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
26
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, name: "fsUtilGuid" });
27
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, isStandalone: true, name: "fsUtilGuid" });
27
28
  }
28
29
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, decorators: [{
29
30
  type: Pipe,
30
31
  args: [{
31
32
  name: 'fsUtilGuid',
33
+ standalone: true,
32
34
  }]
33
35
  }], ctorParameters: () => [] });
34
36
  export class FsUtilIsEmptyPipe {
@@ -36,12 +38,13 @@ export class FsUtilIsEmptyPipe {
36
38
  return isEmpty(value);
37
39
  }
38
40
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
39
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, name: "fsUtilIsEmpty" });
41
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, isStandalone: true, name: "fsUtilIsEmpty" });
40
42
  }
41
43
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, decorators: [{
42
44
  type: Pipe,
43
45
  args: [{
44
46
  name: 'fsUtilIsEmpty',
47
+ standalone: true,
45
48
  }]
46
49
  }] });
47
50
  export class FsUtilIsNotEmptyPipe {
@@ -49,12 +52,13 @@ export class FsUtilIsNotEmptyPipe {
49
52
  return !isEmpty(value);
50
53
  }
51
54
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
52
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, name: "fsUtilIsNotEmpty" });
55
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, isStandalone: true, name: "fsUtilIsNotEmpty" });
53
56
  }
54
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, decorators: [{
55
58
  type: Pipe,
56
59
  args: [{
57
60
  name: 'fsUtilIsNotEmpty',
61
+ standalone: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JhbnNmb3JtKHZhbHVlKTogYW55IHtcbiAgICByZXR1cm4gaXNFbXB0eSh2YWx1ZSk7XG4gIH1cbn1cblxuXG5AUGlwZSh7XG4gICAgbmFtZTogJ2ZzVXRpbElzTm90RW1wdHknLFxuICAgIHN0YW5kYWxvbmU6IHRydWUsXG59KVxuZXhwb3J0IGNsYXNzIEZzVXRpbElzTm90RW1wdHlQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG5cbiAgdHJhbnNmb3JtKHZhbHVlKTogYW55IHtcbiAgICByZXR1cm4gIWlzRW1wdHkodmFsdWUpO1xuICB9XG59XG4iXX0=
@@ -1,12 +1,8 @@
1
- import { Injectable } from '@angular/core';
1
+ import { Injectable, inject } from '@angular/core';
2
2
  import { FsUtil } from './util.service';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "./util.service";
5
4
  export class FsValidate {
6
- fsUtil;
7
- constructor(fsUtil) {
8
- this.fsUtil = fsUtil;
9
- }
5
+ fsUtil = inject(FsUtil);
10
6
  /**
11
7
  * @deprecated use import { email } from @firestitch/common/validate; instead
12
8
  */
@@ -20,10 +16,10 @@ export class FsValidate {
20
16
  email(value) {
21
17
  return !!this.fsUtil.string(value).match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
22
18
  }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate, deps: [{ token: i1.FsUtil }], target: i0.ɵɵFactoryTarget.Injectable });
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
24
20
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate });
25
21
  }
26
22
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate, decorators: [{
27
23
  type: Injectable
28
- }], ctorParameters: () => [{ type: i1.FsUtil }] });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFpbGRhdGUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvc2VydmljZXMvdmFpbGRhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBR3hDLE1BQU0sT0FBTyxVQUFVO0lBRUM7SUFBcEIsWUFBb0IsTUFBYztRQUFkLFdBQU0sR0FBTixNQUFNLENBQVE7SUFBSSxDQUFDO0lBRXZDOztNQUVFO0lBQ0YsS0FBSyxDQUFDLEtBQUs7UUFDUCxNQUFNLEtBQUssR0FBRywyREFBMkQsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDdEYsT0FBTyxLQUFLLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsTUFBTSxDQUFDO0lBQzFDLENBQUM7SUFFRDs7TUFFRTtJQUNGLEtBQUssQ0FBQyxLQUFLO1FBQ1AsT0FBTyxDQUFDLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsS0FBSyxDQUFDLHdKQUF3SixDQUFDLENBQUM7SUFDdk0sQ0FBQzt1R0FqQlEsVUFBVTsyR0FBVixVQUFVOzsyRkFBVixVQUFVO2tCQUR0QixVQUFVIiwic291cmN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i91dGlsLnNlcnZpY2UnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgRnNWYWxpZGF0ZSB7XG4gICAgcHJpdmF0ZSBmc1V0aWwgPSBpbmplY3QoRnNVdGlsKTtcblxuXG4gICAgLyoqXG4gICAgICogQGRlcHJlY2F0ZWQgdXNlIGltcG9ydCB7IGVtYWlsIH0gZnJvbSBAZmlyZXN0aXRjaC9jb21tb24vdmFsaWRhdGU7IGluc3RlYWRcbiAgICAqL1xuICAgIHBob25lKHZhbHVlKSB7XG4gICAgICAgIGNvbnN0IHZhbGlkID0gL15bXFwrXT9bKF0/WzAtOV17M31bKV0/Wy1cXHNcXC5dP1swLTldezN9Wy1cXHNcXC5dP1swLTldezQsNn0kLy50ZXN0KHZhbHVlKTtcbiAgICAgICAgcmV0dXJuIHZhbGlkIHx8ICFTdHJpbmcodmFsdWUpLmxlbmd0aDtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgICogQGRlcHJlY2F0ZWQgdXNlIGltcG9ydCB7IGVtYWlsIH0gZnJvbSBAZmlyZXN0aXRjaC9jb21tb24vdmFsaWRhdGU7IGluc3RlYWRcbiAgICAqL1xuICAgIGVtYWlsKHZhbHVlKSB7XG4gICAgICAgIHJldHVybiAhIXRoaXMuZnNVdGlsLnN0cmluZyh2YWx1ZSkubWF0Y2goL14oKFtePD4oKVxcW1xcXVxcXFwuLDs6XFxzQFwiXSsoXFwuW148PigpXFxbXFxdXFxcXC4sOzpcXHNAXCJdKykqKXwoXCIuK1wiKSlAKChcXFtbMC05XXsxLDN9XFwuWzAtOV17MSwzfVxcLlswLTldezEsM31cXC5bMC05XXsxLDN9XSl8KChbYS16QS1aXFwtMC05XStcXC4pK1thLXpBLVpdezIsfSkpJC8pO1xuICAgIH1cbn1cbiJdfQ==
@@ -5,8 +5,8 @@
5
5
  * @returns {boolean}
6
6
  */
7
7
  export function url(value) {
8
- const expression = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+,;=.]+$/gm;
8
+ const expression = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+,;=.{}]+$/gm;
9
9
  const regexp = new RegExp(expression);
10
10
  return !!String(value).match(regexp);
11
11
  }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYnMvdmFsaWRhdGUvdXJsL3VybC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7R0FLRztBQUVILE1BQU0sVUFBVSxHQUFHLENBQUMsS0FBSztJQUN2QixNQUFNLFVBQVUsR0FBRyxtRkFBbUYsQ0FBQztJQUN2RyxNQUFNLE1BQU0sR0FBRyxJQUFJLE1BQU0sQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUV0QyxPQUFPLENBQUMsQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBQ3ZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENoZWNrIHZhbGlkaXR5IG9mIHRoZSB1cmwuXG4gKiBQcm90b2NvbCAoaHR0cC9odHRwcykgaXNuJ3QgcmVxdWlyZWQuXG4gKiBAcGFyYW0gdmFsdWVcbiAqIEByZXR1cm5zIHtib29sZWFufVxuICovXG5cbmV4cG9ydCBmdW5jdGlvbiB1cmwodmFsdWUpIHtcbiAgY29uc3QgZXhwcmVzc2lvbiA9IC9eKD86aHR0cChzKT86XFwvXFwvKT9bXFx3Li1dKyg/OlxcLltcXHdcXC4tXSspK1tcXHdcXC1cXC5ffjovPyMlW1xcXUAhXFwkJidcXChcXClcXCpcXCssOz0uXSskL2dtO1xuICBjb25zdCByZWdle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VlKS5tYXRjaChyZWdleHApO1xufVxuIl19
@@ -1,21 +1,17 @@
1
1
  import { CurrencyPipe, CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { Directive, Optional, Host, Input, EventEmitter, Output, HostListener, Pipe, LOCALE_ID, Inject, Injectable, NgModule } from '@angular/core';
4
- import * as i1 from '@angular/material/input';
5
- import * as i1$1 from '@angular/forms';
3
+ import { inject, ElementRef, Directive, Input, EventEmitter, Output, HostListener, Pipe, LOCALE_ID, Injectable, NgModule } from '@angular/core';
4
+ import { MatInput } from '@angular/material/input';
5
+ import { NgModel } from '@angular/forms';
6
6
  import { Subject, Observable, of, combineLatest, shareReplay, iif, throwError, timer, fromEvent, merge } from 'rxjs';
7
7
  import { debounceTime, takeUntil, take, map, delay, finalize, retryWhen, tap, concatMap, distinctUntilChanged, share, filter as filter$1 } from 'rxjs/operators';
8
8
 
9
9
  class FsAutoFocusDirective {
10
- _matInput;
11
- _el;
10
+ _matInput = inject(MatInput, { optional: true, host: true });
11
+ _el = inject(ElementRef);
12
12
  fsAutofocus = true;
13
13
  fsAutoFocus = true;
14
14
  autofocus = true;
15
- constructor(_matInput, _el) {
16
- this._matInput = _matInput;
17
- this._el = _el;
18
- }
19
15
  ngAfterViewInit() {
20
16
  if ((this.fsAutofocus ?? true) === true &&
21
17
  (this.fsAutofocus ?? true) === true &&
@@ -43,19 +39,16 @@ class FsAutoFocusDirective {
43
39
  document.body.removeChild(tmpEl);
44
40
  }, 50);
45
41
  }
46
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsAutoFocusDirective, deps: [{ token: i1.MatInput, host: true, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
47
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsAutoFocusDirective, selector: "[fsAutofocus],[fsAutoFocus],[autofocus]", inputs: { fsAutofocus: "fsAutofocus", fsAutoFocus: "fsAutoFocus", autofocus: "autofocus" }, ngImport: i0 });
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsAutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
43
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsAutoFocusDirective, isStandalone: true, selector: "[fsAutofocus],[fsAutoFocus],[autofocus]", inputs: { fsAutofocus: "fsAutofocus", fsAutoFocus: "fsAutoFocus", autofocus: "autofocus" }, ngImport: i0 });
48
44
  }
49
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsAutoFocusDirective, decorators: [{
50
46
  type: Directive,
51
47
  args: [{
52
48
  selector: '[fsAutofocus],[fsAutoFocus],[autofocus]',
49
+ standalone: true,
53
50
  }]
54
- }], ctorParameters: () => [{ type: i1.MatInput, decorators: [{
55
- type: Optional
56
- }, {
57
- type: Host
58
- }] }, { type: i0.ElementRef }], propDecorators: { fsAutofocus: [{
51
+ }], propDecorators: { fsAutofocus: [{
59
52
  type: Input
60
53
  }], fsAutoFocus: [{
61
54
  type: Input
@@ -64,11 +57,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
64
57
  }] } });
65
58
 
66
59
  class FsAutoSelectDirective {
67
- _el;
60
+ _el = inject(ElementRef);
68
61
  fsAutoSelect = true;
69
- constructor(_el) {
70
- this._el = _el;
71
- }
72
62
  ngAfterViewInit() {
73
63
  if ((this.fsAutoSelect ?? true) === true) {
74
64
  this.select();
@@ -81,29 +71,28 @@ class FsAutoSelectDirective {
81
71
  }
82
72
  }, 50);
83
73
  }
84
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsAutoSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
85
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsAutoSelectDirective, selector: "[fsAutoSelect]", inputs: { fsAutoSelect: "fsAutoSelect" }, ngImport: i0 });
74
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsAutoSelectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
75
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsAutoSelectDirective, isStandalone: true, selector: "[fsAutoSelect]", inputs: { fsAutoSelect: "fsAutoSelect" }, ngImport: i0 });
86
76
  }
87
77
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsAutoSelectDirective, decorators: [{
88
78
  type: Directive,
89
79
  args: [{
90
80
  selector: '[fsAutoSelect]',
81
+ standalone: true,
91
82
  }]
92
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { fsAutoSelect: [{
83
+ }], propDecorators: { fsAutoSelect: [{
93
84
  type: Input
94
85
  }] } });
95
86
 
96
87
  class FsModelChangeDirective {
97
- _ngModel;
98
88
  fsModelChangeOptions;
99
89
  fsModelChange = new EventEmitter();
90
+ _ngModel = inject(NgModel);
100
91
  _destroy$ = new Subject();
101
- constructor(_ngModel) {
102
- this._ngModel = _ngModel;
103
- }
104
92
  ngOnInit() {
105
93
  this._ngModel.update
106
- .pipe(debounceTime(this.fsModelChangeOptions?.debounce || 500), takeUntil(this._destroy$))
94
+ .asObservable()
95
+ .pipe(debounceTime(this.fsModelChangeOptions?.debounce || 300), takeUntil(this._destroy$))
107
96
  .subscribe((value) => {
108
97
  this.fsModelChange.emit(value);
109
98
  });
@@ -112,15 +101,16 @@ class FsModelChangeDirective {
112
101
  this._destroy$.next(null);
113
102
  this._destroy$.complete();
114
103
  }
115
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsModelChangeDirective, deps: [{ token: i1$1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
116
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsModelChangeDirective, selector: "[fsModelChange]", inputs: { fsModelChangeOptions: "fsModelChangeOptions" }, outputs: { fsModelChange: "fsModelChange" }, ngImport: i0 });
104
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsModelChangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
105
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsModelChangeDirective, isStandalone: true, selector: "[fsModelChange]", inputs: { fsModelChangeOptions: "fsModelChangeOptions" }, outputs: { fsModelChange: "fsModelChange" }, ngImport: i0 });
117
106
  }
118
107
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsModelChangeDirective, decorators: [{
119
108
  type: Directive,
120
109
  args: [{
121
110
  selector: '[fsModelChange]',
111
+ standalone: true,
122
112
  }]
123
- }], ctorParameters: () => [{ type: i1$1.NgModel }], propDecorators: { fsModelChangeOptions: [{
113
+ }], propDecorators: { fsModelChangeOptions: [{
124
114
  type: Input
125
115
  }], fsModelChange: [{
126
116
  type: Output
@@ -131,12 +121,13 @@ class FsPreventDefaultDirective {
131
121
  event.preventDefault();
132
122
  }
133
123
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsPreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
134
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsPreventDefaultDirective, selector: "[fsPreventDefault]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
124
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsPreventDefaultDirective, isStandalone: true, selector: "[fsPreventDefault]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
135
125
  }
136
126
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsPreventDefaultDirective, decorators: [{
137
127
  type: Directive,
138
128
  args: [{
139
129
  selector: '[fsPreventDefault]',
130
+ standalone: true,
140
131
  }]
141
132
  }], propDecorators: { preventClick: [{
142
133
  type: HostListener,
@@ -148,12 +139,13 @@ class FsStopPropagationDirective {
148
139
  event.stopPropagation();
149
140
  }
150
141
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsStopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
151
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsStopPropagationDirective, selector: "[fsStopPropagation]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
142
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: FsStopPropagationDirective, isStandalone: true, selector: "[fsStopPropagation]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
152
143
  }
153
144
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
154
145
  type: Directive,
155
146
  args: [{
156
147
  selector: '[fsStopPropagation]',
148
+ standalone: true,
157
149
  }]
158
150
  }], propDecorators: { preventClick: [{
159
151
  type: HostListener,
@@ -201,12 +193,13 @@ class FsUtilStringifyPipe {
201
193
  return stringify(value);
202
194
  }
203
195
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
204
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, name: "fsUtilStringify" });
196
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, isStandalone: true, name: "fsUtilStringify" });
205
197
  }
206
198
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilStringifyPipe, decorators: [{
207
199
  type: Pipe,
208
200
  args: [{
209
201
  name: 'fsUtilStringify',
202
+ standalone: true,
210
203
  }]
211
204
  }], ctorParameters: () => [] });
212
205
  class FsUtilGuidPipe {
@@ -215,12 +208,13 @@ class FsUtilGuidPipe {
215
208
  return guid();
216
209
  }
217
210
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
218
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, name: "fsUtilGuid" });
211
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, isStandalone: true, name: "fsUtilGuid" });
219
212
  }
220
213
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilGuidPipe, decorators: [{
221
214
  type: Pipe,
222
215
  args: [{
223
216
  name: 'fsUtilGuid',
217
+ standalone: true,
224
218
  }]
225
219
  }], ctorParameters: () => [] });
226
220
  class FsUtilIsEmptyPipe {
@@ -228,12 +222,13 @@ class FsUtilIsEmptyPipe {
228
222
  return isEmpty(value);
229
223
  }
230
224
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
231
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, name: "fsUtilIsEmpty" });
225
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, isStandalone: true, name: "fsUtilIsEmpty" });
232
226
  }
233
227
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsEmptyPipe, decorators: [{
234
228
  type: Pipe,
235
229
  args: [{
236
230
  name: 'fsUtilIsEmpty',
231
+ standalone: true,
237
232
  }]
238
233
  }] });
239
234
  class FsUtilIsNotEmptyPipe {
@@ -241,12 +236,13 @@ class FsUtilIsNotEmptyPipe {
241
236
  return !isEmpty(value);
242
237
  }
243
238
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
244
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, name: "fsUtilIsNotEmpty" });
239
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, isStandalone: true, name: "fsUtilIsNotEmpty" });
245
240
  }
246
241
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsUtilIsNotEmptyPipe, decorators: [{
247
242
  type: Pipe,
248
243
  args: [{
249
244
  name: 'fsUtilIsNotEmpty',
245
+ standalone: true,
250
246
  }]
251
247
  }] });
252
248
 
@@ -1019,7 +1015,7 @@ function phone(value) {
1019
1015
  * @returns {boolean}
1020
1016
  */
1021
1017
  function url(value) {
1022
- const expression = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+,;=.]+$/gm;
1018
+ const expression = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+,;=.{}]+$/gm;
1023
1019
  const regexp = new RegExp(expression);
1024
1020
  return !!String(value).match(regexp);
1025
1021
  }
@@ -1064,47 +1060,44 @@ class FsFormatBytesPipe {
1064
1060
  return bytes(value, decimals, unit);
1065
1061
  }
1066
1062
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1067
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatBytesPipe, name: "fsFormatBytes" });
1063
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatBytesPipe, isStandalone: true, name: "fsFormatBytes" });
1068
1064
  }
1069
1065
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatBytesPipe, decorators: [{
1070
1066
  type: Pipe,
1071
1067
  args: [{
1072
1068
  name: 'fsFormatBytes',
1069
+ standalone: true,
1073
1070
  }]
1074
1071
  }] });
1075
1072
 
1076
1073
  class FsFormatCurrencyPipe {
1077
- locale;
1078
- constructor(locale) {
1079
- this.locale = locale;
1080
- }
1074
+ locale = inject(LOCALE_ID);
1081
1075
  transform(amount, precision = 2, currencyCode) {
1082
1076
  return currency(amount, precision, currencyCode);
1083
1077
  }
1084
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatCurrencyPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
1085
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatCurrencyPipe, name: "fsFormatCurrency" });
1078
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatCurrencyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1079
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatCurrencyPipe, isStandalone: true, name: "fsFormatCurrency" });
1086
1080
  }
1087
1081
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatCurrencyPipe, decorators: [{
1088
1082
  type: Pipe,
1089
1083
  args: [{
1090
1084
  name: 'fsFormatCurrency',
1085
+ standalone: true,
1091
1086
  }]
1092
- }], ctorParameters: () => [{ type: undefined, decorators: [{
1093
- type: Inject,
1094
- args: [LOCALE_ID]
1095
- }] }] });
1087
+ }] });
1096
1088
 
1097
1089
  class FsFormatNumberPipe {
1098
1090
  transform(value, decimals) {
1099
1091
  return number(value, decimals);
1100
1092
  }
1101
1093
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1102
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatNumberPipe, name: "fsFormatNumber" });
1094
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatNumberPipe, isStandalone: true, name: "fsFormatNumber" });
1103
1095
  }
1104
1096
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatNumberPipe, decorators: [{
1105
1097
  type: Pipe,
1106
1098
  args: [{
1107
- name: 'fsFormatNumber'
1099
+ name: 'fsFormatNumber',
1100
+ standalone: true
1108
1101
  }]
1109
1102
  }] });
1110
1103
 
@@ -1113,12 +1106,13 @@ class FsFormatOrdinalNumberPipe {
1113
1106
  return ordinalNumber(value);
1114
1107
  }
1115
1108
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatOrdinalNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1116
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatOrdinalNumberPipe, name: "fsFormatOrdinalNumber" });
1109
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatOrdinalNumberPipe, isStandalone: true, name: "fsFormatOrdinalNumber" });
1117
1110
  }
1118
1111
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatOrdinalNumberPipe, decorators: [{
1119
1112
  type: Pipe,
1120
1113
  args: [{
1121
1114
  name: 'fsFormatOrdinalNumber',
1115
+ standalone: true,
1122
1116
  }]
1123
1117
  }] });
1124
1118
 
@@ -1128,12 +1122,13 @@ class FsFormatTruncatePipe {
1128
1122
  return truncate(value, limit, completeWords, ellipsis);
1129
1123
  }
1130
1124
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1131
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatTruncatePipe, name: "fsFormatTruncate" });
1125
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsFormatTruncatePipe, isStandalone: true, name: "fsFormatTruncate" });
1132
1126
  }
1133
1127
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormatTruncatePipe, decorators: [{
1134
1128
  type: Pipe,
1135
1129
  args: [{
1136
- name: 'fsFormatTruncate'
1130
+ name: 'fsFormatTruncate',
1131
+ standalone: true
1137
1132
  }]
1138
1133
  }], ctorParameters: () => [] });
1139
1134
 
@@ -1627,10 +1622,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
1627
1622
  }] });
1628
1623
 
1629
1624
  class FsValidate {
1630
- fsUtil;
1631
- constructor(fsUtil) {
1632
- this.fsUtil = fsUtil;
1633
- }
1625
+ fsUtil = inject(FsUtil);
1634
1626
  /**
1635
1627
  * @deprecated use import { email } from @firestitch/common/validate; instead
1636
1628
  */
@@ -1644,12 +1636,12 @@ class FsValidate {
1644
1636
  email(value) {
1645
1637
  return !!this.fsUtil.string(value).match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
1646
1638
  }
1647
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate, deps: [{ token: FsUtil }], target: i0.ɵɵFactoryTarget.Injectable });
1639
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1648
1640
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate });
1649
1641
  }
1650
1642
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsValidate, decorators: [{
1651
1643
  type: Injectable
1652
- }], ctorParameters: () => [{ type: FsUtil }] });
1644
+ }] });
1653
1645
 
1654
1646
  class FsCommonModule {
1655
1647
  static forRoot() {
@@ -1664,7 +1656,8 @@ class FsCommonModule {
1664
1656
  };
1665
1657
  }
1666
1658
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1667
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsCommonModule, declarations: [FsStopPropagationDirective,
1659
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: FsCommonModule, imports: [CommonModule,
1660
+ FsStopPropagationDirective,
1668
1661
  FsPreventDefaultDirective,
1669
1662
  FsAutoFocusDirective,
1670
1663
  FsAutoSelectDirective,
@@ -1677,7 +1670,7 @@ class FsCommonModule {
1677
1670
  FsFormatTruncatePipe,
1678
1671
  FsFormatBytesPipe,
1679
1672
  FsFormatOrdinalNumberPipe,
1680
- FsModelChangeDirective], imports: [CommonModule], exports: [FsStopPropagationDirective,
1673
+ FsModelChangeDirective], exports: [FsStopPropagationDirective,
1681
1674
  FsPreventDefaultDirective,
1682
1675
  FsAutoFocusDirective,
1683
1676
  FsAutoSelectDirective,
@@ -1698,8 +1691,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
1698
1691
  args: [{
1699
1692
  imports: [
1700
1693
  CommonModule,
1701
- ],
1702
- declarations: [
1703
1694
  FsStopPropagationDirective,
1704
1695
  FsPreventDefaultDirective,
1705
1696
  FsAutoFocusDirective,