@firestitch/common 12.7.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2015/app/directives/autofocus.directive.js → esm2020/app/directives/autofocus.directive.mjs} +4 -4
- package/{esm2015/app/directives/model-change.directive.js → esm2020/app/directives/model-change.directive.mjs} +4 -4
- package/{esm2015/app/directives/prevent-default.directive.js → esm2020/app/directives/prevent-default.directive.mjs} +4 -4
- package/{esm2015/app/directives/stop-propagation.directive.js → esm2020/app/directives/stop-propagation.directive.mjs} +4 -4
- package/{esm2015/app/fs-common.module.js → esm2020/app/fs-common.module.mjs} +5 -5
- package/{esm2015/app/pipes/bytes.pipe.js → esm2020/app/pipes/bytes.pipe.mjs} +4 -4
- package/{esm2015/app/pipes/currency.pipe.js → esm2020/app/pipes/currency.pipe.mjs} +4 -4
- package/{esm2015/app/pipes/number.pipe.js → esm2020/app/pipes/number.pipe.mjs} +4 -4
- package/{esm2015/app/pipes/ordinal-number.pipe.js → esm2020/app/pipes/ordinal-number.pipe.mjs} +4 -4
- package/{esm2015/app/pipes/truncate.pipe.js → esm2020/app/pipes/truncate.pipe.mjs} +4 -4
- package/esm2020/app/pipes/util.pipe.mjs +60 -0
- package/{esm2015/app/services/array.service.js → esm2020/app/services/array.service.mjs} +4 -4
- package/{esm2015/app/services/math.service.js → esm2020/app/services/math.service.mjs} +4 -4
- package/{esm2015/app/services/util.service.js → esm2020/app/services/util.service.mjs} +4 -4
- package/{esm2015/app/services/vaildate.service.js → esm2020/app/services/vaildate.service.mjs} +4 -4
- package/{esm2015/libs/index.js → esm2020/libs/index.mjs} +3 -3
- package/esm2020/libs/util/index.mjs +24 -0
- package/esm2020/libs/util/is-array-equal/index.mjs +2 -0
- package/esm2020/libs/util/is-class/index.mjs +2 -0
- package/esm2020/libs/util/is-class/is-class.mjs +18 -0
- package/esm2020/libs/util/is-empty/index.mjs +2 -0
- package/esm2020/libs/util/is-empty/is-empty.mjs +12 -0
- package/esm2020/libs/util/is-numeric/index.mjs +2 -0
- package/esm2020/libs/util/is-numeric/is-numeric.mjs +5 -0
- package/esm2020/libs/util/ordinal-number/index.mjs +2 -0
- package/esm2020/libs/util/source-loader/index.mjs +2 -0
- package/esm2020/libs/util/source-loader/source-loader.mjs +155 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +2 -2
- package/fesm2015/firestitch-common.mjs +1712 -0
- package/fesm2015/firestitch-common.mjs.map +1 -0
- package/{fesm2015/firestitch-common.js → fesm2020/firestitch-common.mjs} +224 -214
- package/fesm2020/firestitch-common.mjs.map +1 -0
- package/libs/index.d.ts +2 -2
- package/libs/util/index.d.ts +14 -14
- package/libs/util/is-array-equal/index.d.ts +1 -0
- package/libs/util/is-class/index.d.ts +1 -0
- package/libs/util/is-empty/index.d.ts +1 -0
- package/libs/util/is-numeric/index.d.ts +1 -0
- package/libs/util/ordinal-number/index.d.ts +1 -0
- package/libs/util/source-loader/index.d.ts +1 -0
- package/libs/util/source-loader/source-loader.d.ts +4 -0
- package/package.json +20 -7
- package/public_api.d.ts +1 -1
- package/bundles/firestitch-common.umd.js +0 -2258
- package/bundles/firestitch-common.umd.js.map +0 -1
- package/esm2015/app/pipes/util.pipe.js +0 -60
- package/esm2015/libs/util/index.js +0 -24
- package/esm2015/libs/util/isClass/index.js +0 -2
- package/esm2015/libs/util/isClass/isClass.js +0 -18
- package/esm2015/libs/util/isEmpty/index.js +0 -2
- package/esm2015/libs/util/isEmpty/isEmpty.js +0 -12
- package/esm2015/libs/util/isNumeric/index.js +0 -2
- package/esm2015/libs/util/isNumeric/isNumeric.js +0 -5
- package/esm2015/libs/util/source-loader/source-loader.js +0 -145
- package/fesm2015/firestitch-common.js.map +0 -1
- package/libs/util/isClass/index.d.ts +0 -1
- package/libs/util/isEmpty/index.d.ts +0 -1
- package/libs/util/isNumeric/index.d.ts +0 -1
- /package/{esm2015/app/directives/index.js → esm2020/app/directives/index.mjs} +0 -0
- /package/{esm2015/app/pipes/index.js → esm2020/app/pipes/index.mjs} +0 -0
- /package/{esm2015/firestitch-common.js → esm2020/firestitch-common.mjs} +0 -0
- /package/{esm2015/libs/array/compare/compare.js → esm2020/libs/array/compare/compare.mjs} +0 -0
- /package/{esm2015/libs/array/compare/index.js → esm2020/libs/array/compare/index.mjs} +0 -0
- /package/{esm2015/libs/array/filter/filter.js → esm2020/libs/array/filter/filter.mjs} +0 -0
- /package/{esm2015/libs/array/filter/index.js → esm2020/libs/array/filter/index.mjs} +0 -0
- /package/{esm2015/libs/array/find/find.js → esm2020/libs/array/find/find.mjs} +0 -0
- /package/{esm2015/libs/array/find/index.js → esm2020/libs/array/find/index.mjs} +0 -0
- /package/{esm2015/libs/array/inArray/inArray.js → esm2020/libs/array/inArray/inArray.mjs} +0 -0
- /package/{esm2015/libs/array/inArray/index.js → esm2020/libs/array/inArray/index.mjs} +0 -0
- /package/{esm2015/libs/array/index/index.js → esm2020/libs/array/index/index.mjs} +0 -0
- /package/{esm2015/libs/array/index.js → esm2020/libs/array/index.mjs} +0 -0
- /package/{esm2015/libs/array/indexOf/index.js → esm2020/libs/array/indexOf/index.mjs} +0 -0
- /package/{esm2015/libs/array/indexOf/indexOf.js → esm2020/libs/array/indexOf/indexOf.mjs} +0 -0
- /package/{esm2015/libs/array/keyExists/index.js → esm2020/libs/array/keyExists/index.mjs} +0 -0
- /package/{esm2015/libs/array/keyExists/keyExists.js → esm2020/libs/array/keyExists/keyExists.mjs} +0 -0
- /package/{esm2015/libs/array/ksort/index.js → esm2020/libs/array/ksort/index.mjs} +0 -0
- /package/{esm2015/libs/array/ksort/ksort.js → esm2020/libs/array/ksort/ksort.mjs} +0 -0
- /package/{esm2015/libs/array/list/index.js → esm2020/libs/array/list/index.mjs} +0 -0
- /package/{esm2015/libs/array/list/list.js → esm2020/libs/array/list/list.mjs} +0 -0
- /package/{esm2015/libs/array/nameValue/index.js → esm2020/libs/array/nameValue/index.mjs} +0 -0
- /package/{esm2015/libs/array/nameValue/nameValue.js → esm2020/libs/array/nameValue/nameValue.mjs} +0 -0
- /package/{esm2015/libs/array/remove/index.js → esm2020/libs/array/remove/index.mjs} +0 -0
- /package/{esm2015/libs/array/remove/remove.js → esm2020/libs/array/remove/remove.mjs} +0 -0
- /package/{esm2015/libs/array/rsort/index.js → esm2020/libs/array/rsort/index.mjs} +0 -0
- /package/{esm2015/libs/array/rsort/rsort.js → esm2020/libs/array/rsort/rsort.mjs} +0 -0
- /package/{esm2015/libs/array/sort/index.js → esm2020/libs/array/sort/index.mjs} +0 -0
- /package/{esm2015/libs/array/sort/sort.js → esm2020/libs/array/sort/sort.mjs} +0 -0
- /package/{esm2015/libs/format/acronym/acronym.js → esm2020/libs/format/acronym/acronym.mjs} +0 -0
- /package/{esm2015/libs/format/acronym/index.js → esm2020/libs/format/acronym/index.mjs} +0 -0
- /package/{esm2015/libs/format/bytes/bytes.js → esm2020/libs/format/bytes/bytes.mjs} +0 -0
- /package/{esm2015/libs/format/bytes/index.js → esm2020/libs/format/bytes/index.mjs} +0 -0
- /package/{esm2015/libs/format/currency/currency.js → esm2020/libs/format/currency/currency.mjs} +0 -0
- /package/{esm2015/libs/format/currency/index.js → esm2020/libs/format/currency/index.mjs} +0 -0
- /package/{esm2015/libs/format/index.js → esm2020/libs/format/index.mjs} +0 -0
- /package/{esm2015/libs/format/number/index.js → esm2020/libs/format/number/index.mjs} +0 -0
- /package/{esm2015/libs/format/number/number.js → esm2020/libs/format/number/number.mjs} +0 -0
- /package/{esm2015/libs/format/truncate/index.js → esm2020/libs/format/truncate/index.mjs} +0 -0
- /package/{esm2015/libs/format/truncate/truncate.js → esm2020/libs/format/truncate/truncate.mjs} +0 -0
- /package/{esm2015/libs/rxjs/delayedRetry.js → esm2020/libs/rxjs/delayedRetry.mjs} +0 -0
- /package/{esm2015/libs/rxjs/keyboard-shortcut.js → esm2020/libs/rxjs/keyboard-shortcut.mjs} +0 -0
- /package/{esm2015/libs/util/boolean/boolean.js → esm2020/libs/util/boolean/boolean.mjs} +0 -0
- /package/{esm2015/libs/util/boolean/index.js → esm2020/libs/util/boolean/index.mjs} +0 -0
- /package/{esm2015/libs/util/clone/clone.js → esm2020/libs/util/clone/clone.mjs} +0 -0
- /package/{esm2015/libs/util/clone/index.js → esm2020/libs/util/clone/index.mjs} +0 -0
- /package/{esm2015/libs/util/debounce/debounce.js → esm2020/libs/util/debounce/debounce.mjs} +0 -0
- /package/{esm2015/libs/util/debounce/index.js → esm2020/libs/util/debounce/index.mjs} +0 -0
- /package/{esm2015/libs/util/get-normalized-path/get-normalized-path.js → esm2020/libs/util/get-normalized-path/get-normalized-path.mjs} +0 -0
- /package/{esm2015/libs/util/get-normalized-path/index.js → esm2020/libs/util/get-normalized-path/index.mjs} +0 -0
- /package/{esm2015/libs/util/guid/guid.js → esm2020/libs/util/guid/guid.mjs} +0 -0
- /package/{esm2015/libs/util/guid/index.js → esm2020/libs/util/guid/index.mjs} +0 -0
- /package/{esm2015/libs/util/is-array-equal/is-array-equal.js → esm2020/libs/util/is-array-equal/is-array-equal.mjs} +0 -0
- /package/{esm2015/libs/util/is-object/index.js → esm2020/libs/util/is-object/index.mjs} +0 -0
- /package/{esm2015/libs/util/is-object/is-object.js → esm2020/libs/util/is-object/is-object.mjs} +0 -0
- /package/{esm2015/libs/util/keys/index.js → esm2020/libs/util/keys/index.mjs} +0 -0
- /package/{esm2015/libs/util/keys/keys.js → esm2020/libs/util/keys/keys.mjs} +0 -0
- /package/{esm2015/libs/util/length/index.js → esm2020/libs/util/length/index.mjs} +0 -0
- /package/{esm2015/libs/util/length/length.js → esm2020/libs/util/length/length.mjs} +0 -0
- /package/{esm2015/libs/util/ordinal-number/ordinal-number.js → esm2020/libs/util/ordinal-number/ordinal-number.mjs} +0 -0
- /package/{esm2015/libs/util/queue/index.js → esm2020/libs/util/queue/index.mjs} +0 -0
- /package/{esm2015/libs/util/queue/operation.js → esm2020/libs/util/queue/operation.mjs} +0 -0
- /package/{esm2015/libs/util/queue/queue-stats.js → esm2020/libs/util/queue/queue-stats.mjs} +0 -0
- /package/{esm2015/libs/util/queue/queue.enum.js → esm2020/libs/util/queue/queue.enum.mjs} +0 -0
- /package/{esm2015/libs/util/queue/queue.js → esm2020/libs/util/queue/queue.mjs} +0 -0
- /package/{esm2015/libs/util/remove-query-params/index.js → esm2020/libs/util/remove-query-params/index.mjs} +0 -0
- /package/{esm2015/libs/util/remove-query-params/remove-query-params.js → esm2020/libs/util/remove-query-params/remove-query-params.mjs} +0 -0
- /package/{esm2015/libs/util/resolve/index.js → esm2020/libs/util/resolve/index.mjs} +0 -0
- /package/{esm2015/libs/util/resolve/resolve.js → esm2020/libs/util/resolve/resolve.mjs} +0 -0
- /package/{esm2015/libs/util/round/index.js → esm2020/libs/util/round/index.mjs} +0 -0
- /package/{esm2015/libs/util/round/round.js → esm2020/libs/util/round/round.mjs} +0 -0
- /package/{esm2015/libs/util/stringify/index.js → esm2020/libs/util/stringify/index.mjs} +0 -0
- /package/{esm2015/libs/util/stringify/stringify.js → esm2020/libs/util/stringify/stringify.mjs} +0 -0
- /package/{esm2015/libs/util/throttle/index.js → esm2020/libs/util/throttle/index.mjs} +0 -0
- /package/{esm2015/libs/util/throttle/throttle.js → esm2020/libs/util/throttle/throttle.mjs} +0 -0
- /package/{esm2015/libs/util/to-string/index.js → esm2020/libs/util/to-string/index.mjs} +0 -0
- /package/{esm2015/libs/util/to-string/to-string.js → esm2020/libs/util/to-string/to-string.mjs} +0 -0
- /package/{esm2015/libs/util/uuid/index.js → esm2020/libs/util/uuid/index.mjs} +0 -0
- /package/{esm2015/libs/util/uuid/uuid.js → esm2020/libs/util/uuid/uuid.mjs} +0 -0
- /package/{esm2015/libs/util/value/index.js → esm2020/libs/util/value/index.mjs} +0 -0
- /package/{esm2015/libs/util/value/value.js → esm2020/libs/util/value/value.mjs} +0 -0
- /package/{esm2015/libs/validate/email/email.js → esm2020/libs/validate/email/email.mjs} +0 -0
- /package/{esm2015/libs/validate/email/index.js → esm2020/libs/validate/email/index.mjs} +0 -0
- /package/{esm2015/libs/validate/index.js → esm2020/libs/validate/index.mjs} +0 -0
- /package/{esm2015/libs/validate/phone/index.js → esm2020/libs/validate/phone/index.mjs} +0 -0
- /package/{esm2015/libs/validate/phone/phone.js → esm2020/libs/validate/phone/phone.mjs} +0 -0
- /package/{esm2015/libs/validate/url/index.js → esm2020/libs/validate/url/index.mjs} +0 -0
- /package/{esm2015/libs/validate/url/url.js → esm2020/libs/validate/url/url.mjs} +0 -0
- /package/libs/util/{isClass/isClass.d.ts → is-class/is-class.d.ts} +0 -0
- /package/libs/util/{isEmpty/isEmpty.d.ts → is-empty/is-empty.d.ts} +0 -0
- /package/libs/util/{isNumeric/isNumeric.d.ts → is-numeric/is-numeric.d.ts} +0 -0
|
@@ -38,9 +38,9 @@ class FsAutofocusDirective {
|
|
|
38
38
|
}, 50);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
FsAutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
FsAutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
FsAutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsAutofocusDirective, deps: [{ token: i1.MatInput, host: true, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
FsAutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsAutofocusDirective, selector: "[fsAutofocus],[autofocus]", inputs: { fsAutofocus: "fsAutofocus" }, ngImport: i0 });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsAutofocusDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[fsAutofocus],[autofocus]',
|
|
@@ -71,9 +71,9 @@ class FsModelChangeDirective {
|
|
|
71
71
|
this._destroy$.complete();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
FsModelChangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
75
|
-
FsModelChangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
74
|
+
FsModelChangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsModelChangeDirective, deps: [{ token: i1$1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
|
|
75
|
+
FsModelChangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsModelChangeDirective, selector: "[fsModelChange]", inputs: { fsModelChangeOptions: "fsModelChangeOptions" }, outputs: { fsModelChange: "fsModelChange" }, ngImport: i0 });
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsModelChangeDirective, decorators: [{
|
|
77
77
|
type: Directive,
|
|
78
78
|
args: [{
|
|
79
79
|
selector: '[fsModelChange]',
|
|
@@ -89,9 +89,9 @@ class FsPreventDefaultDirective {
|
|
|
89
89
|
event.preventDefault();
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
FsPreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
93
|
-
FsPreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
92
|
+
FsPreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsPreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
93
|
+
FsPreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsPreventDefaultDirective, selector: "[fsPreventDefault]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsPreventDefaultDirective, decorators: [{
|
|
95
95
|
type: Directive,
|
|
96
96
|
args: [{
|
|
97
97
|
selector: '[fsPreventDefault]',
|
|
@@ -106,9 +106,9 @@ class FsStopPropagationDirective {
|
|
|
106
106
|
event.stopPropagation();
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
FsStopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
110
|
-
FsStopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
109
|
+
FsStopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsStopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
110
|
+
FsStopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: FsStopPropagationDirective, selector: "[fsStopPropagation]", host: { listeners: { "click": "preventClick($event)" } }, ngImport: i0 });
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsStopPropagationDirective, decorators: [{
|
|
112
112
|
type: Directive,
|
|
113
113
|
args: [{
|
|
114
114
|
selector: '[fsStopPropagation]',
|
|
@@ -118,10 +118,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
118
118
|
args: ['click', ['$event']]
|
|
119
119
|
}] } });
|
|
120
120
|
|
|
121
|
-
function stringify(value) {
|
|
122
|
-
return JSON.stringify(value);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
121
|
function guid(pattern, options = { case: 'lower', numbers: true }) {
|
|
126
122
|
pattern = pattern || 'xxxxxx';
|
|
127
123
|
let s = '';
|
|
@@ -153,18 +149,22 @@ function isEmpty(value, options) {
|
|
|
153
149
|
(!options.zero && (value === 0 || value === '0'));
|
|
154
150
|
}
|
|
155
151
|
|
|
152
|
+
function stringify(value) {
|
|
153
|
+
return JSON.stringify(value);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
156
|
class FsUtilStringifyPipe {
|
|
157
157
|
constructor() { }
|
|
158
158
|
transform(value) {
|
|
159
159
|
return stringify(value);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
FsUtilStringifyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
163
|
-
FsUtilStringifyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
162
|
+
FsUtilStringifyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
163
|
+
FsUtilStringifyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilStringifyPipe, name: "fsUtilStringify" });
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilStringifyPipe, decorators: [{
|
|
165
165
|
type: Pipe,
|
|
166
166
|
args: [{
|
|
167
|
-
name: 'fsUtilStringify'
|
|
167
|
+
name: 'fsUtilStringify',
|
|
168
168
|
}]
|
|
169
169
|
}], ctorParameters: function () { return []; } });
|
|
170
170
|
class FsUtilGuidPipe {
|
|
@@ -173,12 +173,12 @@ class FsUtilGuidPipe {
|
|
|
173
173
|
return guid();
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
FsUtilGuidPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
177
|
-
FsUtilGuidPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
176
|
+
FsUtilGuidPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilGuidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
177
|
+
FsUtilGuidPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilGuidPipe, name: "fsUtilGuid" });
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilGuidPipe, decorators: [{
|
|
179
179
|
type: Pipe,
|
|
180
180
|
args: [{
|
|
181
|
-
name: 'fsUtilGuid'
|
|
181
|
+
name: 'fsUtilGuid',
|
|
182
182
|
}]
|
|
183
183
|
}], ctorParameters: function () { return []; } });
|
|
184
184
|
class FsUtilIsEmptyPipe {
|
|
@@ -186,12 +186,12 @@ class FsUtilIsEmptyPipe {
|
|
|
186
186
|
return isEmpty(value);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
FsUtilIsEmptyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
190
|
-
FsUtilIsEmptyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
189
|
+
FsUtilIsEmptyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilIsEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
190
|
+
FsUtilIsEmptyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilIsEmptyPipe, name: "fsUtilIsEmpty" });
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilIsEmptyPipe, decorators: [{
|
|
192
192
|
type: Pipe,
|
|
193
193
|
args: [{
|
|
194
|
-
name: 'fsUtilIsEmpty'
|
|
194
|
+
name: 'fsUtilIsEmpty',
|
|
195
195
|
}]
|
|
196
196
|
}] });
|
|
197
197
|
class FsUtilIsNotEmptyPipe {
|
|
@@ -199,36 +199,15 @@ class FsUtilIsNotEmptyPipe {
|
|
|
199
199
|
return !isEmpty(value);
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
FsUtilIsNotEmptyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
203
|
-
FsUtilIsNotEmptyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
202
|
+
FsUtilIsNotEmptyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilIsNotEmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
203
|
+
FsUtilIsNotEmptyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilIsNotEmptyPipe, name: "fsUtilIsNotEmpty" });
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtilIsNotEmptyPipe, decorators: [{
|
|
205
205
|
type: Pipe,
|
|
206
206
|
args: [{
|
|
207
|
-
name: 'fsUtilIsNotEmpty'
|
|
207
|
+
name: 'fsUtilIsNotEmpty',
|
|
208
208
|
}]
|
|
209
209
|
}] });
|
|
210
210
|
|
|
211
|
-
function email(value) {
|
|
212
|
-
return !!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,}))$/);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
function phone(value) {
|
|
216
|
-
const valid = /^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4}/.test(value);
|
|
217
|
-
return valid || !String(value).length;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Check validity of the url.
|
|
222
|
-
* Protocol (http/https) isn't required.
|
|
223
|
-
* @param value
|
|
224
|
-
* @returns {boolean}
|
|
225
|
-
*/
|
|
226
|
-
function url(value) {
|
|
227
|
-
const expression = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+,;=.]+$/gm;
|
|
228
|
-
const regexp = new RegExp(expression);
|
|
229
|
-
return !!String(value).match(regexp);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
211
|
function compare(query, item) {
|
|
233
212
|
let value = true;
|
|
234
213
|
for (const key in query) {
|
|
@@ -392,6 +371,27 @@ function boolean(value) {
|
|
|
392
371
|
return String(value).toLowerCase() !== 'false' && !!value;
|
|
393
372
|
}
|
|
394
373
|
|
|
374
|
+
function clone(obj) {
|
|
375
|
+
if (obj instanceof Date) {
|
|
376
|
+
return new Date(obj);
|
|
377
|
+
}
|
|
378
|
+
else if (Array.isArray(obj)) {
|
|
379
|
+
const arr = [];
|
|
380
|
+
for (let i = 0; i < obj.length; i++) {
|
|
381
|
+
arr[i] = clone(obj[i]);
|
|
382
|
+
}
|
|
383
|
+
return arr;
|
|
384
|
+
}
|
|
385
|
+
else if (typeof (obj) === 'object') {
|
|
386
|
+
const cloned = {};
|
|
387
|
+
for (let key in obj) {
|
|
388
|
+
cloned[key] = clone(obj[key]);
|
|
389
|
+
}
|
|
390
|
+
return cloned;
|
|
391
|
+
}
|
|
392
|
+
return obj;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
395
|
function debounce(func, wait, immediate) {
|
|
396
396
|
let timeout;
|
|
397
397
|
return function () {
|
|
@@ -409,6 +409,64 @@ function debounce(func, wait, immediate) {
|
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
+
function removeQueryParams(path) {
|
|
413
|
+
return path.split('?')[0];
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
function getNormalizedPath(locationSrv) {
|
|
417
|
+
const path = locationSrv.prepareExternalUrl(locationSrv.path());
|
|
418
|
+
return removeQueryParams(path);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
function isArrayEqual(arr1, arr2) {
|
|
422
|
+
if (!Array.isArray(arr1) || !Array.isArray(arr2) || arr1.length !== arr2.length) {
|
|
423
|
+
return false;
|
|
424
|
+
}
|
|
425
|
+
const sortFn = (a, b) => {
|
|
426
|
+
if (a < b) {
|
|
427
|
+
return -1;
|
|
428
|
+
}
|
|
429
|
+
else if (a > b) {
|
|
430
|
+
return 1;
|
|
431
|
+
}
|
|
432
|
+
else {
|
|
433
|
+
return 0;
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
arr1 = [...arr1].sort(sortFn);
|
|
437
|
+
arr2 = [...arr2].sort(sortFn);
|
|
438
|
+
return arr1.every((value, index) => {
|
|
439
|
+
return value === arr2[index];
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
function isClass(value, cls) {
|
|
444
|
+
if (typeof value === 'object') {
|
|
445
|
+
if (typeof cls === 'string') {
|
|
446
|
+
if (value.constructor) {
|
|
447
|
+
if (value.constructor.name === cls) {
|
|
448
|
+
return true;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
if (value instanceof cls) {
|
|
454
|
+
return true;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
return false;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
function isNumeric(value) {
|
|
462
|
+
const str = String(value);
|
|
463
|
+
return str.length && !!str.match(/^-?\d*\.?\d*$/);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
function isObject(value) {
|
|
467
|
+
return !!value && typeof value === 'object' && !Array.isArray(value);
|
|
468
|
+
}
|
|
469
|
+
|
|
412
470
|
const KEY_CANCEL$1 = 3;
|
|
413
471
|
const KEY_HELP$1 = 6;
|
|
414
472
|
const KEY_BACKSPACE$1 = 8;
|
|
@@ -457,67 +515,12 @@ function length(object) {
|
|
|
457
515
|
return 0;
|
|
458
516
|
}
|
|
459
517
|
|
|
460
|
-
function
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
});
|
|
467
|
-
});
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
function uuid() {
|
|
471
|
-
return guid('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
function value(object, key, def) {
|
|
475
|
-
if (typeof object === 'object' || Array.isArray(object)) {
|
|
476
|
-
if (object.hasOwnProperty(key)) {
|
|
477
|
-
return object[key];
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
return def;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
function isClass(value, cls) {
|
|
484
|
-
if (typeof value === 'object') {
|
|
485
|
-
if (typeof cls === 'string') {
|
|
486
|
-
if (value.constructor) {
|
|
487
|
-
if (value.constructor.name === cls) {
|
|
488
|
-
return true;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
else {
|
|
493
|
-
if (value instanceof cls) {
|
|
494
|
-
return true;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
return false;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
function isNumeric(value) {
|
|
502
|
-
const str = String(value);
|
|
503
|
-
return str.length && !!str.match(/^-?\d*\.?\d*$/);
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
function isObject(value) {
|
|
507
|
-
return !!value && typeof value === 'object' && !Array.isArray(value);
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
function throttle(func, wait) {
|
|
511
|
-
let waiting = false; // Initially, we're not waiting
|
|
512
|
-
return function () {
|
|
513
|
-
if (!waiting) { // If we're not waiting
|
|
514
|
-
func.apply(null, arguments); // Execute users function
|
|
515
|
-
waiting = true; // Prevent future invocations
|
|
516
|
-
setTimeout(function () {
|
|
517
|
-
waiting = false; // And allow future invocations
|
|
518
|
-
}, wait);
|
|
519
|
-
}
|
|
520
|
-
};
|
|
518
|
+
function ordinalNumber(value) {
|
|
519
|
+
value = String(value);
|
|
520
|
+
const index = value.match `1?.$`;
|
|
521
|
+
const endings = [, 'st', 'nd', 'rd'];
|
|
522
|
+
const ending = endings[index] || 'th';
|
|
523
|
+
return value + ending;
|
|
521
524
|
}
|
|
522
525
|
|
|
523
526
|
class Operation {
|
|
@@ -700,21 +703,14 @@ class Queue {
|
|
|
700
703
|
}
|
|
701
704
|
}
|
|
702
705
|
|
|
703
|
-
function
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
function ordinalNumber(value) {
|
|
713
|
-
value = String(value);
|
|
714
|
-
const index = value.match `1?.$`;
|
|
715
|
-
const endings = [, 'st', 'nd', 'rd'];
|
|
716
|
-
const ending = endings[index] || 'th';
|
|
717
|
-
return value + ending;
|
|
706
|
+
function resolve(promise, defaults = []) {
|
|
707
|
+
const result = defaults;
|
|
708
|
+
return new Promise(resolve => {
|
|
709
|
+
promise.then(function (data) {
|
|
710
|
+
Object.keys(data).forEach(key => result[key] = data[key]);
|
|
711
|
+
resolve(result);
|
|
712
|
+
});
|
|
713
|
+
});
|
|
718
714
|
}
|
|
719
715
|
|
|
720
716
|
function round(num, decimalPlaces = 0) {
|
|
@@ -723,56 +719,6 @@ function round(num, decimalPlaces = 0) {
|
|
|
723
719
|
return Math.round(num * p) / p;
|
|
724
720
|
}
|
|
725
721
|
|
|
726
|
-
function clone(obj) {
|
|
727
|
-
if (obj instanceof Date) {
|
|
728
|
-
return new Date(obj);
|
|
729
|
-
}
|
|
730
|
-
else if (Array.isArray(obj)) {
|
|
731
|
-
const arr = [];
|
|
732
|
-
for (let i = 0; i < obj.length; i++) {
|
|
733
|
-
arr[i] = clone(obj[i]);
|
|
734
|
-
}
|
|
735
|
-
return arr;
|
|
736
|
-
}
|
|
737
|
-
else if (typeof (obj) === 'object') {
|
|
738
|
-
const cloned = {};
|
|
739
|
-
for (let key in obj) {
|
|
740
|
-
cloned[key] = clone(obj[key]);
|
|
741
|
-
}
|
|
742
|
-
return cloned;
|
|
743
|
-
}
|
|
744
|
-
return obj;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
function toString(value) {
|
|
748
|
-
if (value === null || value === undefined) {
|
|
749
|
-
return '';
|
|
750
|
-
}
|
|
751
|
-
return `${value}`;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
function isArrayEqual(arr1, arr2) {
|
|
755
|
-
if (!Array.isArray(arr1) || !Array.isArray(arr2) || arr1.length !== arr2.length) {
|
|
756
|
-
return false;
|
|
757
|
-
}
|
|
758
|
-
const sortFn = (a, b) => {
|
|
759
|
-
if (a < b) {
|
|
760
|
-
return -1;
|
|
761
|
-
}
|
|
762
|
-
else if (a > b) {
|
|
763
|
-
return 1;
|
|
764
|
-
}
|
|
765
|
-
else {
|
|
766
|
-
return 0;
|
|
767
|
-
}
|
|
768
|
-
};
|
|
769
|
-
arr1 = [...arr1].sort(sortFn);
|
|
770
|
-
arr2 = [...arr2].sort(sortFn);
|
|
771
|
-
return arr1.every((value, index) => {
|
|
772
|
-
return value === arr2[index];
|
|
773
|
-
});
|
|
774
|
-
}
|
|
775
|
-
|
|
776
722
|
const fsSourceLoader = (function () {
|
|
777
723
|
let _document;
|
|
778
724
|
let _headElement;
|
|
@@ -783,7 +729,7 @@ const fsSourceLoader = (function () {
|
|
|
783
729
|
// but developer can set document at any time
|
|
784
730
|
function setDocument(document) {
|
|
785
731
|
_document = document;
|
|
786
|
-
_headElement = _document
|
|
732
|
+
_headElement = _document?.head;
|
|
787
733
|
}
|
|
788
734
|
/**
|
|
789
735
|
* register a list of the resources for future loading
|
|
@@ -913,8 +859,51 @@ const fsSourceLoader = (function () {
|
|
|
913
859
|
registerResources,
|
|
914
860
|
loadResource,
|
|
915
861
|
loadResources,
|
|
862
|
+
loadJs: _loadJs,
|
|
863
|
+
loadStyles: _loadStyles,
|
|
916
864
|
};
|
|
917
|
-
})();
|
|
865
|
+
})();
|
|
866
|
+
function loadStyles(path) {
|
|
867
|
+
return fsSourceLoader.loadStyles(path);
|
|
868
|
+
}
|
|
869
|
+
;
|
|
870
|
+
function loadJs(path) {
|
|
871
|
+
return fsSourceLoader.loadJs(path);
|
|
872
|
+
}
|
|
873
|
+
;
|
|
874
|
+
|
|
875
|
+
function throttle(func, wait) {
|
|
876
|
+
let waiting = false; // Initially, we're not waiting
|
|
877
|
+
return function () {
|
|
878
|
+
if (!waiting) { // If we're not waiting
|
|
879
|
+
func.apply(null, arguments); // Execute users function
|
|
880
|
+
waiting = true; // Prevent future invocations
|
|
881
|
+
setTimeout(function () {
|
|
882
|
+
waiting = false; // And allow future invocations
|
|
883
|
+
}, wait);
|
|
884
|
+
}
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
function toString(value) {
|
|
889
|
+
if (value === null || value === undefined) {
|
|
890
|
+
return '';
|
|
891
|
+
}
|
|
892
|
+
return `${value}`;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
function uuid() {
|
|
896
|
+
return guid('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
function value(object, key, def) {
|
|
900
|
+
if (typeof object === 'object' || Array.isArray(object)) {
|
|
901
|
+
if (object.hasOwnProperty(key)) {
|
|
902
|
+
return object[key];
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
return def;
|
|
906
|
+
}
|
|
918
907
|
|
|
919
908
|
function number(value, decimals) {
|
|
920
909
|
if (isNumeric(decimals)) {
|
|
@@ -964,6 +953,27 @@ function truncate(value, limit = 100, completeWords = false, ellipsis = '...') {
|
|
|
964
953
|
return result;
|
|
965
954
|
}
|
|
966
955
|
|
|
956
|
+
function email(value) {
|
|
957
|
+
return !!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,}))$/);
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
function phone(value) {
|
|
961
|
+
const valid = /^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4}/.test(value);
|
|
962
|
+
return valid || !String(value).length;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Check validity of the url.
|
|
967
|
+
* Protocol (http/https) isn't required.
|
|
968
|
+
* @param value
|
|
969
|
+
* @returns {boolean}
|
|
970
|
+
*/
|
|
971
|
+
function url(value) {
|
|
972
|
+
const expression = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#%[\]@!\$&'\(\)\*\+,;=.]+$/gm;
|
|
973
|
+
const regexp = new RegExp(expression);
|
|
974
|
+
return !!String(value).match(regexp);
|
|
975
|
+
}
|
|
976
|
+
|
|
967
977
|
function delayedRetry(delayMs, maxRetry = 5, message) {
|
|
968
978
|
let retries = 0;
|
|
969
979
|
return (src) => src.pipe(retryWhen((errors) => errors.pipe(tap(() => {
|
|
@@ -1004,9 +1014,9 @@ class FsFormatBytesPipe {
|
|
|
1004
1014
|
return bytes(value, decimals, unit);
|
|
1005
1015
|
}
|
|
1006
1016
|
}
|
|
1007
|
-
FsFormatBytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1008
|
-
FsFormatBytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
1009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1017
|
+
FsFormatBytesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1018
|
+
FsFormatBytesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatBytesPipe, name: "fsFormatBytes" });
|
|
1019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatBytesPipe, decorators: [{
|
|
1010
1020
|
type: Pipe,
|
|
1011
1021
|
args: [{
|
|
1012
1022
|
name: 'fsFormatBytes',
|
|
@@ -1021,9 +1031,9 @@ class FsFormatCurrencyPipe {
|
|
|
1021
1031
|
return currency(amount, precision, currencyCode);
|
|
1022
1032
|
}
|
|
1023
1033
|
}
|
|
1024
|
-
FsFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1025
|
-
FsFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
1026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1034
|
+
FsFormatCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatCurrencyPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1035
|
+
FsFormatCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatCurrencyPipe, name: "fsFormatCurrency" });
|
|
1036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatCurrencyPipe, decorators: [{
|
|
1027
1037
|
type: Pipe,
|
|
1028
1038
|
args: [{
|
|
1029
1039
|
name: 'fsFormatCurrency',
|
|
@@ -1038,9 +1048,9 @@ class FsFormatNumberPipe {
|
|
|
1038
1048
|
return number(value, decimals);
|
|
1039
1049
|
}
|
|
1040
1050
|
}
|
|
1041
|
-
FsFormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1042
|
-
FsFormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
1043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1051
|
+
FsFormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1052
|
+
FsFormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatNumberPipe, name: "fsFormatNumber" });
|
|
1053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatNumberPipe, decorators: [{
|
|
1044
1054
|
type: Pipe,
|
|
1045
1055
|
args: [{
|
|
1046
1056
|
name: 'fsFormatNumber'
|
|
@@ -1052,9 +1062,9 @@ class FsFormatOrdinalNumberPipe {
|
|
|
1052
1062
|
return ordinalNumber(value);
|
|
1053
1063
|
}
|
|
1054
1064
|
}
|
|
1055
|
-
FsFormatOrdinalNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1056
|
-
FsFormatOrdinalNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
1057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1065
|
+
FsFormatOrdinalNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatOrdinalNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1066
|
+
FsFormatOrdinalNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatOrdinalNumberPipe, name: "fsFormatOrdinalNumber" });
|
|
1067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatOrdinalNumberPipe, decorators: [{
|
|
1058
1068
|
type: Pipe,
|
|
1059
1069
|
args: [{
|
|
1060
1070
|
name: 'fsFormatOrdinalNumber',
|
|
@@ -1067,9 +1077,9 @@ class FsFormatTruncatePipe {
|
|
|
1067
1077
|
return truncate(value, limit, completeWords, ellipsis);
|
|
1068
1078
|
}
|
|
1069
1079
|
}
|
|
1070
|
-
FsFormatTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1071
|
-
FsFormatTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "
|
|
1072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1080
|
+
FsFormatTruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1081
|
+
FsFormatTruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatTruncatePipe, name: "fsFormatTruncate" });
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormatTruncatePipe, decorators: [{
|
|
1073
1083
|
type: Pipe,
|
|
1074
1084
|
args: [{
|
|
1075
1085
|
name: 'fsFormatTruncate'
|
|
@@ -1293,9 +1303,9 @@ class FsArray {
|
|
|
1293
1303
|
});
|
|
1294
1304
|
}
|
|
1295
1305
|
}
|
|
1296
|
-
FsArray.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1297
|
-
FsArray.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1306
|
+
FsArray.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsArray, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1307
|
+
FsArray.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsArray });
|
|
1308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsArray, decorators: [{
|
|
1299
1309
|
type: Injectable
|
|
1300
1310
|
}] });
|
|
1301
1311
|
|
|
@@ -1312,9 +1322,9 @@ class FsMath {
|
|
|
1312
1322
|
return roundedTempNumber / factor;
|
|
1313
1323
|
}
|
|
1314
1324
|
}
|
|
1315
|
-
FsMath.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1316
|
-
FsMath.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1325
|
+
FsMath.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsMath, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1326
|
+
FsMath.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsMath });
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsMath, decorators: [{
|
|
1318
1328
|
type: Injectable
|
|
1319
1329
|
}] });
|
|
1320
1330
|
|
|
@@ -1561,9 +1571,9 @@ class FsUtil {
|
|
|
1561
1571
|
return JSON.stringify(value);
|
|
1562
1572
|
}
|
|
1563
1573
|
}
|
|
1564
|
-
FsUtil.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1565
|
-
FsUtil.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1574
|
+
FsUtil.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtil, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1575
|
+
FsUtil.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtil });
|
|
1576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsUtil, decorators: [{
|
|
1567
1577
|
type: Injectable
|
|
1568
1578
|
}] });
|
|
1569
1579
|
|
|
@@ -1585,9 +1595,9 @@ class FsValidate {
|
|
|
1585
1595
|
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,}))$/);
|
|
1586
1596
|
}
|
|
1587
1597
|
}
|
|
1588
|
-
FsValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1589
|
-
FsValidate.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1598
|
+
FsValidate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsValidate, deps: [{ token: FsUtil }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1599
|
+
FsValidate.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsValidate });
|
|
1600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsValidate, decorators: [{
|
|
1591
1601
|
type: Injectable
|
|
1592
1602
|
}], ctorParameters: function () { return [{ type: FsUtil }]; } });
|
|
1593
1603
|
|
|
@@ -1604,8 +1614,8 @@ class FsCommonModule {
|
|
|
1604
1614
|
};
|
|
1605
1615
|
}
|
|
1606
1616
|
}
|
|
1607
|
-
FsCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1608
|
-
FsCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
1617
|
+
FsCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1618
|
+
FsCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsCommonModule, declarations: [FsStopPropagationDirective,
|
|
1609
1619
|
FsPreventDefaultDirective,
|
|
1610
1620
|
FsAutofocusDirective,
|
|
1611
1621
|
FsUtilGuidPipe,
|
|
@@ -1630,10 +1640,10 @@ FsCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
1630
1640
|
FsFormatBytesPipe,
|
|
1631
1641
|
FsModelChangeDirective,
|
|
1632
1642
|
FsFormatOrdinalNumberPipe] });
|
|
1633
|
-
FsCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1643
|
+
FsCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsCommonModule, imports: [[
|
|
1634
1644
|
CommonModule,
|
|
1635
1645
|
]] });
|
|
1636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsCommonModule, decorators: [{
|
|
1637
1647
|
type: NgModule,
|
|
1638
1648
|
args: [{
|
|
1639
1649
|
imports: [
|
|
@@ -1694,5 +1704,5 @@ const keyboardShortcut = (shortcut) => {
|
|
|
1694
1704
|
* Generated bundle index. Do not edit.
|
|
1695
1705
|
*/
|
|
1696
1706
|
|
|
1697
|
-
export { FsArray, FsAutofocusDirective, FsCommonModule, FsFormatBytesPipe, FsFormatCurrencyPipe, FsFormatNumberPipe, FsFormatOrdinalNumberPipe, FsFormatTruncatePipe, FsMath, FsModelChangeDirective, FsPreventDefaultDirective, FsStopPropagationDirective, FsUtil, FsUtilGuidPipe, FsUtilIsEmptyPipe, FsUtilIsNotEmptyPipe, FsUtilStringifyPipe, FsValidate, KEY_0$1 as KEY_0, KEY_1$1 as KEY_1, KEY_2$1 as KEY_2, KEY_3$1 as KEY_3, KEY_4$1 as KEY_4, KEY_5$1 as KEY_5, KEY_6$1 as KEY_6, KEY_7$1 as KEY_7, KEY_8$1 as KEY_8, KEY_9$1 as KEY_9, KEY_ALT$1 as KEY_ALT, KEY_BACKSPACE$1 as KEY_BACKSPACE, KEY_CANCEL$1 as KEY_CANCEL, KEY_CAPS_LOCK$1 as KEY_CAPS_LOCK, KEY_CLEAR$1 as KEY_CLEAR, KEY_CONTROL$1 as KEY_CONTROL, KEY_DELETE$1 as KEY_DELETE, KEY_DOWN$1 as KEY_DOWN, KEY_END$1 as KEY_END, KEY_ENTER$1 as KEY_ENTER, KEY_EQUALS$1 as KEY_EQUALS, KEY_ESCAPE$1 as KEY_ESCAPE, KEY_HELP$1 as KEY_HELP, KEY_HOME$1 as KEY_HOME, KEY_INSERT$1 as KEY_INSERT, KEY_LEFT$1 as KEY_LEFT, KEY_PAGE_DOWN$1 as KEY_PAGE_DOWN, KEY_PAGE_UP$1 as KEY_PAGE_UP, KEY_PAUSE$1 as KEY_PAUSE, KEY_PRINTSCREEN$1 as KEY_PRINTSCREEN, KEY_RETURN$1 as KEY_RETURN, KEY_RIGHT$1 as KEY_RIGHT, KEY_SEMICOLON$1 as KEY_SEMICOLON, KEY_SHIFT$1 as KEY_SHIFT, KEY_SPACE$1 as KEY_SPACE, KEY_TAB$1 as KEY_TAB, KEY_UP$1 as KEY_UP, Queue, QueueState, acronym, boolean, bytes, clone, compare, currency, debounce, delayedRetry, email, filter, find, fsSourceLoader, getNormalizedPath, guid, inArray, index, indexOf, isArrayEqual, isClass, isEmpty, isNumeric, isObject, keyExists, keyboardShortcut, ksort, length, list, nameValue, number, ordinalNumber, phone, remove, removeQueryParams, resolve, round, rsort, sort, stringify, throttle, toString, truncate, url, uuid, value };
|
|
1698
|
-
//# sourceMappingURL=firestitch-common.
|
|
1707
|
+
export { FsArray, FsAutofocusDirective, FsCommonModule, FsFormatBytesPipe, FsFormatCurrencyPipe, FsFormatNumberPipe, FsFormatOrdinalNumberPipe, FsFormatTruncatePipe, FsMath, FsModelChangeDirective, FsPreventDefaultDirective, FsStopPropagationDirective, FsUtil, FsUtilGuidPipe, FsUtilIsEmptyPipe, FsUtilIsNotEmptyPipe, FsUtilStringifyPipe, FsValidate, KEY_0$1 as KEY_0, KEY_1$1 as KEY_1, KEY_2$1 as KEY_2, KEY_3$1 as KEY_3, KEY_4$1 as KEY_4, KEY_5$1 as KEY_5, KEY_6$1 as KEY_6, KEY_7$1 as KEY_7, KEY_8$1 as KEY_8, KEY_9$1 as KEY_9, KEY_ALT$1 as KEY_ALT, KEY_BACKSPACE$1 as KEY_BACKSPACE, KEY_CANCEL$1 as KEY_CANCEL, KEY_CAPS_LOCK$1 as KEY_CAPS_LOCK, KEY_CLEAR$1 as KEY_CLEAR, KEY_CONTROL$1 as KEY_CONTROL, KEY_DELETE$1 as KEY_DELETE, KEY_DOWN$1 as KEY_DOWN, KEY_END$1 as KEY_END, KEY_ENTER$1 as KEY_ENTER, KEY_EQUALS$1 as KEY_EQUALS, KEY_ESCAPE$1 as KEY_ESCAPE, KEY_HELP$1 as KEY_HELP, KEY_HOME$1 as KEY_HOME, KEY_INSERT$1 as KEY_INSERT, KEY_LEFT$1 as KEY_LEFT, KEY_PAGE_DOWN$1 as KEY_PAGE_DOWN, KEY_PAGE_UP$1 as KEY_PAGE_UP, KEY_PAUSE$1 as KEY_PAUSE, KEY_PRINTSCREEN$1 as KEY_PRINTSCREEN, KEY_RETURN$1 as KEY_RETURN, KEY_RIGHT$1 as KEY_RIGHT, KEY_SEMICOLON$1 as KEY_SEMICOLON, KEY_SHIFT$1 as KEY_SHIFT, KEY_SPACE$1 as KEY_SPACE, KEY_TAB$1 as KEY_TAB, KEY_UP$1 as KEY_UP, Queue, QueueState, acronym, boolean, bytes, clone, compare, currency, debounce, delayedRetry, email, filter, find, fsSourceLoader, getNormalizedPath, guid, inArray, index, indexOf, isArrayEqual, isClass, isEmpty, isNumeric, isObject, keyExists, keyboardShortcut, ksort, length, list, loadJs, loadStyles, nameValue, number, ordinalNumber, phone, remove, removeQueryParams, resolve, round, rsort, sort, stringify, throttle, toString, truncate, url, uuid, value };
|
|
1708
|
+
//# sourceMappingURL=firestitch-common.mjs.map
|