@bitblit/ngx-acute-common 5.0.542-alpha → 5.0.545-alpha
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/License.txt +1 -1
- package/lib/components/dialogs/alert/alert.component.d.ts +3 -0
- package/lib/components/dialogs/block-ui/block-ui.component.d.ts +3 -0
- package/lib/components/dynamic-404-helper/dynamic-404-helper.component.d.ts +12 -0
- package/lib/components/dynamic-404-helper/dynamic-404-helper.component.js +76 -0
- package/lib/components/dynamic-404-helper/dynamic-404-helper.component.js.map +1 -0
- package/lib/index.js +19 -499
- package/lib/index.js.map +1 -1
- package/lib/pipes/capitalize.pipe.d.ts +3 -0
- package/lib/pipes/capitalize.pipe.js +2 -2
- package/lib/pipes/capitalize.pipe.js.map +1 -1
- package/lib/pipes/dollar-formatted.pipe.d.ts +3 -0
- package/lib/pipes/dollar-formatted.pipe.js +2 -2
- package/lib/pipes/dollar-formatted.pipe.js.map +1 -1
- package/lib/pipes/map-values.pipe.d.ts +3 -0
- package/lib/pipes/map-values.pipe.js +2 -2
- package/lib/pipes/map-values.pipe.js.map +1 -1
- package/lib/pipes/number-with-commas.pipe.d.ts +3 -0
- package/lib/pipes/number-with-commas.pipe.js +2 -2
- package/lib/pipes/number-with-commas.pipe.js.map +1 -1
- package/lib/pipes/order-by.pipe.d.ts +3 -0
- package/lib/pipes/order-by.pipe.js +2 -2
- package/lib/pipes/order-by.pipe.js.map +1 -1
- package/lib/pipes/percent-formatted.pipe.d.ts +3 -0
- package/lib/pipes/percent-formatted.pipe.js +2 -2
- package/lib/pipes/percent-formatted.pipe.js.map +1 -1
- package/lib/pipes/plural.pipe.d.ts +3 -0
- package/lib/pipes/plural.pipe.js +2 -2
- package/lib/pipes/plural.pipe.js.map +1 -1
- package/lib/pipes/round.pipe.d.ts +3 -0
- package/lib/pipes/round.pipe.js +2 -2
- package/lib/pipes/round.pipe.js.map +1 -1
- package/lib/pipes/time-ago-formatted.pipe.d.ts +3 -0
- package/lib/pipes/time-ago-formatted.pipe.js +2 -2
- package/lib/pipes/time-ago-formatted.pipe.js.map +1 -1
- package/lib/pipes/timing.pipe.d.ts +3 -0
- package/lib/pipes/timing.pipe.js +2 -2
- package/lib/pipes/timing.pipe.js.map +1 -1
- package/lib/services/google-analytics.service.d.ts +3 -0
- package/lib/services/graphql-query.service.d.ts +3 -0
- package/lib/services/local-storage.service.d.ts +3 -0
- package/lib/services/window-ref.service.d.ts +3 -0
- package/package.json +4 -4
package/License.txt
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AlertComponent {
|
|
4
5
|
private dialogService;
|
|
5
6
|
cfg: DynamicDialogConfig;
|
|
6
7
|
protected ref: DynamicDialogRef;
|
|
7
8
|
constructor(dialogService: DialogService, cfg: DynamicDialogConfig, ref: DynamicDialogRef);
|
|
8
9
|
static showAlert(dialogSvc: DialogService, message: BehaviorSubject<string> | string, title?: string): DynamicDialogRef;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "ngx-acute-common-alert", never, {}, {}, never, never, true, never>;
|
|
9
12
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class BlockUiComponent {
|
|
4
5
|
private dialogService;
|
|
5
6
|
cfg: DynamicDialogConfig;
|
|
6
7
|
constructor(dialogService: DialogService, cfg: DynamicDialogConfig);
|
|
7
8
|
static createUiBlock(dialogService: DialogService, message?: BehaviorSubject<string> | string, subMessage?: string): DynamicDialogRef;
|
|
8
9
|
static runPromiseWithUiBlock<T>(dialogService: DialogService, prom: Promise<T>, message?: BehaviorSubject<string> | string, subMessage?: string): Promise<T>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BlockUiComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BlockUiComponent, "ngx-acute-common-block-ui", never, {}, {}, never, never, true, never>;
|
|
9
12
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class Dynamic404HelperComponent implements OnInit {
|
|
5
|
+
router: Router;
|
|
6
|
+
redirectState: string;
|
|
7
|
+
historicalUrl: any;
|
|
8
|
+
constructor(router: Router);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Dynamic404HelperComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Dynamic404HelperComponent, "ngx-acute-common-dynamic-404-helper", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { Router, RouterModule } from '@angular/router';
|
|
3
|
+
import { Logger } from '@bitblit/ratchet-common/logger/logger';
|
|
4
|
+
import { FormsModule } from "@angular/forms";
|
|
5
|
+
import { CommonModule } from "@angular/common";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/router";
|
|
8
|
+
import * as i2 from "@angular/common";
|
|
9
|
+
function Dynamic404HelperComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "h3");
|
|
11
|
+
i0.ɵɵtext(3, "Page Not Found");
|
|
12
|
+
i0.ɵɵelementEnd()();
|
|
13
|
+
i0.ɵɵelementStart(4, "div", 4)(5, "h4");
|
|
14
|
+
i0.ɵɵtext(6, "Oops!");
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
i0.ɵɵelementStart(7, "p");
|
|
17
|
+
i0.ɵɵtext(8, "We can't find the page you are trying to reach - please ");
|
|
18
|
+
i0.ɵɵelementStart(9, "a", 5);
|
|
19
|
+
i0.ɵɵtext(10, " go back");
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵtext(11, " and try again.");
|
|
22
|
+
i0.ɵɵelementEnd()()();
|
|
23
|
+
} }
|
|
24
|
+
function Dynamic404HelperComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "h3");
|
|
26
|
+
i0.ɵɵtext(3, "Redirecting");
|
|
27
|
+
i0.ɵɵelementEnd()();
|
|
28
|
+
i0.ɵɵelementStart(4, "div", 4)(5, "p");
|
|
29
|
+
i0.ɵɵtext(6, "Sending you to the new version of that page...");
|
|
30
|
+
i0.ɵɵelementEnd()()();
|
|
31
|
+
} }
|
|
32
|
+
export class Dynamic404HelperComponent {
|
|
33
|
+
router;
|
|
34
|
+
redirectState = null;
|
|
35
|
+
historicalUrl = {
|
|
36
|
+
'/faq': '/help-faq-general',
|
|
37
|
+
};
|
|
38
|
+
constructor(router) {
|
|
39
|
+
this.router = router;
|
|
40
|
+
}
|
|
41
|
+
ngOnInit() {
|
|
42
|
+
const oldTarget = location.pathname;
|
|
43
|
+
let currentTarget = oldTarget;
|
|
44
|
+
if (currentTarget && currentTarget.toLowerCase().endsWith('.html')) {
|
|
45
|
+
currentTarget = oldTarget.substring(0, oldTarget.length - 5);
|
|
46
|
+
}
|
|
47
|
+
if (currentTarget && this.historicalUrl[currentTarget]) {
|
|
48
|
+
currentTarget = this.historicalUrl[currentTarget];
|
|
49
|
+
}
|
|
50
|
+
if (currentTarget != oldTarget) {
|
|
51
|
+
this.redirectState = 'REDIR';
|
|
52
|
+
Logger.warn('Redirecting ' + oldTarget + ' to ' + currentTarget);
|
|
53
|
+
window.location.pathname = currentTarget;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
this.redirectState = 'NO';
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
static ɵfac = function Dynamic404HelperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Dynamic404HelperComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
|
|
60
|
+
static ɵcmp = i0.ɵɵdefineComponent({ type: Dynamic404HelperComponent, selectors: [["ngx-acute-common-dynamic-404-helper"]], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 2, consts: [[1, "container"], ["class", "row", 4, "ngIf"], [1, "row"], [1, "col-sm-2"], [1, "col-sm-10"], ["routerLink", "/secure/dashboard"]], template: function Dynamic404HelperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
61
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
62
|
+
i0.ɵɵtemplate(1, Dynamic404HelperComponent_div_1_Template, 12, 0, "div", 1)(2, Dynamic404HelperComponent_div_2_Template, 7, 0, "div", 1);
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
i0.ɵɵadvance();
|
|
66
|
+
i0.ɵɵproperty("ngIf", ctx.redirectState !== "REDIR");
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.redirectState === "REDIR");
|
|
69
|
+
} }, dependencies: [RouterModule, i1.RouterLink, FormsModule, CommonModule, i2.NgIf], encapsulation: 2 });
|
|
70
|
+
}
|
|
71
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Dynamic404HelperComponent, [{
|
|
72
|
+
type: Component,
|
|
73
|
+
args: [{ selector: 'ngx-acute-common-dynamic-404-helper', standalone: true, imports: [RouterModule, FormsModule, CommonModule], template: "<div class=\"container\">\n\n <div class=\"row\" *ngIf=\"redirectState!=='REDIR'\">\n <div class=\"col-sm-2\">\n <h3>Page Not Found</h3>\n </div>\n <div class=\"col-sm-10\">\n <h4>Oops!</h4>\n <p>We can't find the page you are trying to reach - please <a routerLink=\"/secure/dashboard\"> go back</a> and try again.</p>\n </div>\n </div>\n\n <div class=\"row\" *ngIf=\"redirectState==='REDIR'\">\n <div class=\"col-sm-2\">\n <h3>Redirecting</h3>\n </div>\n <div class=\"col-sm-10\">\n <p>Sending you to the new version of that page...</p>\n </div>\n </div>\n\n</div>\n" }]
|
|
74
|
+
}], () => [{ type: i1.Router }], null); })();
|
|
75
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Dynamic404HelperComponent, { className: "Dynamic404HelperComponent", filePath: "components/dynamic-404-helper/dynamic-404-helper.component.ts", lineNumber: 14 }); })();
|
|
76
|
+
//# sourceMappingURL=dynamic-404-helper.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-404-helper.component.js","sourceRoot":"","sources":["../../../src/components/dynamic-404-helper/dynamic-404-helper.component.ts","../../../src/components/dynamic-404-helper/dynamic-404-helper.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,MAAM,EAAE,YAAY,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;;;;;ICAvC,AADF,AADF,8BAAiD,aACzB,SAChB;IAAA,8BAAc;IACpB,AADoB,iBAAK,EACnB;IAEJ,AADF,8BAAuB,SACjB;IAAA,qBAAK;IAAA,iBAAK;IACd,yBAAG;IAAA,wEAAwD;IAAA,4BAAkC;IAAC,yBAAO;IAAA,iBAAI;IAAC,gCAAc;IA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;YAnBc,cAA6B;YAA7B,oDAA6B;YAU7B,cAA6B;YAA7B,oDAA6B;4BDFpC,YAAY,iBAAE,WAAW,EAAE,YAAY;;iFAGvC,yBAAyB;cAPrC,SAAS;2BACE,qCAAqC,cAEnC,IAAI,WACN,CAAC,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC;;kFAGxC,yBAAyB"}
|
package/lib/index.js
CHANGED
|
@@ -1,499 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
hash: 'LOCAL-HASH',
|
|
21
|
-
branch: 'LOCAL-BRANCH',
|
|
22
|
-
tag: 'LOCAL-TAG',
|
|
23
|
-
timeBuiltISO: 'LOCAL-TIME-ISO',
|
|
24
|
-
notes: 'LOCAL-NOTES',
|
|
25
|
-
};
|
|
26
|
-
return val;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/******************************************************************************
|
|
31
|
-
Copyright (c) Microsoft Corporation.
|
|
32
|
-
|
|
33
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
34
|
-
purpose with or without fee is hereby granted.
|
|
35
|
-
|
|
36
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
37
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
38
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
39
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
40
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
41
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
42
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
43
|
-
***************************************************************************** */
|
|
44
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
function __decorate(decorators, target, key, desc) {
|
|
48
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
49
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
50
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
51
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function __metadata(metadataKey, metadataValue) {
|
|
55
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
59
|
-
var e = new Error(message);
|
|
60
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
var AlertComponent_1;
|
|
64
|
-
let AlertComponent = AlertComponent_1 = class AlertComponent {
|
|
65
|
-
dialogService;
|
|
66
|
-
cfg;
|
|
67
|
-
ref;
|
|
68
|
-
constructor(dialogService, cfg, ref) {
|
|
69
|
-
this.dialogService = dialogService;
|
|
70
|
-
this.cfg = cfg;
|
|
71
|
-
this.ref = ref;
|
|
72
|
-
Logger.info('Creating with %j', this.cfg);
|
|
73
|
-
}
|
|
74
|
-
static showAlert(dialogSvc, message, title = 'Alert') {
|
|
75
|
-
const dlg = dialogSvc.open(AlertComponent_1, {
|
|
76
|
-
data: {
|
|
77
|
-
message: message instanceof BehaviorSubject ? message : new BehaviorSubject(message),
|
|
78
|
-
},
|
|
79
|
-
header: title,
|
|
80
|
-
});
|
|
81
|
-
return dlg;
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
AlertComponent = AlertComponent_1 = __decorate([
|
|
85
|
-
Component({
|
|
86
|
-
selector: 'ngx-acute-common-alert',
|
|
87
|
-
template: '<div><pre>{{cfg.data.message | async}}</pre></div>',
|
|
88
|
-
standalone: true,
|
|
89
|
-
imports: [AsyncPipe],
|
|
90
|
-
}),
|
|
91
|
-
__metadata("design:paramtypes", [DialogService,
|
|
92
|
-
DynamicDialogConfig,
|
|
93
|
-
DynamicDialogRef])
|
|
94
|
-
], AlertComponent);
|
|
95
|
-
|
|
96
|
-
var BlockUiComponent_1;
|
|
97
|
-
let BlockUiComponent = BlockUiComponent_1 = class BlockUiComponent {
|
|
98
|
-
dialogService;
|
|
99
|
-
cfg;
|
|
100
|
-
constructor(dialogService, cfg) {
|
|
101
|
-
this.dialogService = dialogService;
|
|
102
|
-
this.cfg = cfg;
|
|
103
|
-
}
|
|
104
|
-
static createUiBlock(dialogService, message = 'Please wait...', subMessage) {
|
|
105
|
-
const dlg = dialogService.open(BlockUiComponent_1, {
|
|
106
|
-
closable: false,
|
|
107
|
-
modal: true,
|
|
108
|
-
data: {
|
|
109
|
-
message: message instanceof BehaviorSubject ? message : new BehaviorSubject(message),
|
|
110
|
-
subMessage: subMessage,
|
|
111
|
-
},
|
|
112
|
-
});
|
|
113
|
-
return dlg;
|
|
114
|
-
}
|
|
115
|
-
static async runPromiseWithUiBlock(dialogService, prom, message = 'Please wait...', subMessage) {
|
|
116
|
-
const dlg = dialogService.open(BlockUiComponent_1, {
|
|
117
|
-
closable: false,
|
|
118
|
-
modal: true,
|
|
119
|
-
data: {
|
|
120
|
-
message: message instanceof BehaviorSubject ? message : new BehaviorSubject(message),
|
|
121
|
-
subMessage: subMessage,
|
|
122
|
-
},
|
|
123
|
-
});
|
|
124
|
-
try {
|
|
125
|
-
const rval = await prom;
|
|
126
|
-
dlg?.close(rval);
|
|
127
|
-
Logger.info('Blockui - Received %j - closing blocker ui and returning', rval);
|
|
128
|
-
return rval;
|
|
129
|
-
}
|
|
130
|
-
catch (err) {
|
|
131
|
-
Logger.error('Caught error inside block ui dialog : %s - rethrowing', err, err);
|
|
132
|
-
dlg?.close();
|
|
133
|
-
throw err;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
BlockUiComponent = BlockUiComponent_1 = __decorate([
|
|
138
|
-
Component({
|
|
139
|
-
selector: 'ngx-acute-common-block-ui',
|
|
140
|
-
templateUrl: './block-ui.component.html',
|
|
141
|
-
standalone: true,
|
|
142
|
-
imports: [NgIf, AsyncPipe, ProgressSpinnerModule],
|
|
143
|
-
}),
|
|
144
|
-
__metadata("design:paramtypes", [DialogService,
|
|
145
|
-
DynamicDialogConfig])
|
|
146
|
-
], BlockUiComponent);
|
|
147
|
-
|
|
148
|
-
let CapitalizePipe = class CapitalizePipe {
|
|
149
|
-
transform(input) {
|
|
150
|
-
return input && input.length ? input.charAt(0).toUpperCase() + input.slice(1).toLowerCase() : input;
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
CapitalizePipe = __decorate([
|
|
154
|
-
Pipe({ name: 'acuteCapitalize', standalone: true })
|
|
155
|
-
], CapitalizePipe);
|
|
156
|
-
|
|
157
|
-
let DollarFormattedPipe = class DollarFormattedPipe {
|
|
158
|
-
transform(input) {
|
|
159
|
-
const rval = input === null || input === undefined ? 'Null' : CurrencyRatchet.dollarFormat(input);
|
|
160
|
-
return rval;
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
DollarFormattedPipe = __decorate([
|
|
164
|
-
Pipe({ name: 'acuteDollars', standalone: true })
|
|
165
|
-
], DollarFormattedPipe);
|
|
166
|
-
|
|
167
|
-
let MapValuesPipe = class MapValuesPipe {
|
|
168
|
-
transform(value, args) {
|
|
169
|
-
const returnArray = [];
|
|
170
|
-
for (const k of Object.keys(value)) {
|
|
171
|
-
returnArray.push({
|
|
172
|
-
key: k,
|
|
173
|
-
val: value[k],
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
Logger.info('Map values : %j : %j', returnArray, args);
|
|
177
|
-
return returnArray;
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
MapValuesPipe = __decorate([
|
|
181
|
-
Pipe({ name: 'acuteMapValues', standalone: true })
|
|
182
|
-
], MapValuesPipe);
|
|
183
|
-
|
|
184
|
-
let NumberWithCommasPipe = class NumberWithCommasPipe {
|
|
185
|
-
transform(input) {
|
|
186
|
-
return new Intl.NumberFormat().format(input);
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
NumberWithCommasPipe = __decorate([
|
|
190
|
-
Pipe({ name: 'acuteNumberWithCommas', standalone: true })
|
|
191
|
-
], NumberWithCommasPipe);
|
|
192
|
-
|
|
193
|
-
var OrderByPipe_1;
|
|
194
|
-
let OrderByPipe = OrderByPipe_1 = class OrderByPipe {
|
|
195
|
-
static _orderByComparator(a, b) {
|
|
196
|
-
if (isNaN(parseFloat(a)) || !isFinite(a) || isNaN(parseFloat(b)) || !isFinite(b)) {
|
|
197
|
-
if (String(a).toLowerCase() < String(b).toLowerCase())
|
|
198
|
-
return -1;
|
|
199
|
-
if (String(a).toLowerCase() > String(b).toLowerCase())
|
|
200
|
-
return 1;
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
if (parseFloat(a) < parseFloat(b))
|
|
204
|
-
return -1;
|
|
205
|
-
if (parseFloat(a) > parseFloat(b))
|
|
206
|
-
return 1;
|
|
207
|
-
}
|
|
208
|
-
return 0;
|
|
209
|
-
}
|
|
210
|
-
transform(input, [config = '+']) {
|
|
211
|
-
if (!Array.isArray(input))
|
|
212
|
-
return input;
|
|
213
|
-
if (!Array.isArray(config) || (Array.isArray(config) && config.length == 1)) {
|
|
214
|
-
const propertyToCheck = !Array.isArray(config) ? config : config[0];
|
|
215
|
-
const desc = propertyToCheck.substr(0, 1) == '-';
|
|
216
|
-
if (!propertyToCheck || propertyToCheck == '-' || propertyToCheck == '+') {
|
|
217
|
-
return !desc ? input.sort() : input.sort().reverse();
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
const property = propertyToCheck.substr(0, 1) == '+' || propertyToCheck.substr(0, 1) == '-' ? propertyToCheck.substr(1) : propertyToCheck;
|
|
221
|
-
return input.sort(function (a, b) {
|
|
222
|
-
return !desc
|
|
223
|
-
? OrderByPipe_1._orderByComparator(a[property], b[property])
|
|
224
|
-
: -OrderByPipe_1._orderByComparator(a[property], b[property]);
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
return input.sort(function (a, b) {
|
|
230
|
-
for (let i = 0; i < config.length; i++) {
|
|
231
|
-
const desc = config[i].substr(0, 1) == '-';
|
|
232
|
-
const property = config[i].substr(0, 1) == '+' || config[i].substr(0, 1) == '-' ? config[i].substr(1) : config[i];
|
|
233
|
-
const comparison = !desc
|
|
234
|
-
? OrderByPipe_1._orderByComparator(a[property], b[property])
|
|
235
|
-
: -OrderByPipe_1._orderByComparator(a[property], b[property]);
|
|
236
|
-
if (comparison != 0)
|
|
237
|
-
return comparison;
|
|
238
|
-
}
|
|
239
|
-
return 0;
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
OrderByPipe = OrderByPipe_1 = __decorate([
|
|
245
|
-
Pipe({ name: 'acuteOrderBy', pure: false, standalone: true })
|
|
246
|
-
], OrderByPipe);
|
|
247
|
-
|
|
248
|
-
let PercentFormattedPipe = class PercentFormattedPipe {
|
|
249
|
-
transform(input) {
|
|
250
|
-
return NumberRatchet.pctFormatted(input);
|
|
251
|
-
}
|
|
252
|
-
};
|
|
253
|
-
PercentFormattedPipe = __decorate([
|
|
254
|
-
Pipe({ name: 'acutePercent', standalone: true })
|
|
255
|
-
], PercentFormattedPipe);
|
|
256
|
-
|
|
257
|
-
let PluralPipe = class PluralPipe {
|
|
258
|
-
transform(input, label, pluralLabel = '') {
|
|
259
|
-
input = input || 0;
|
|
260
|
-
return input === 1 ? `${input} ${label}` : pluralLabel ? `${input} ${pluralLabel}` : `${input} ${label}s`;
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
PluralPipe = __decorate([
|
|
264
|
-
Pipe({ name: 'acutePlural', standalone: true })
|
|
265
|
-
], PluralPipe);
|
|
266
|
-
|
|
267
|
-
let RoundPipe = class RoundPipe {
|
|
268
|
-
transform(input) {
|
|
269
|
-
return Math.round(input);
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
RoundPipe = __decorate([
|
|
273
|
-
Pipe({ name: 'acuteRound', standalone: true })
|
|
274
|
-
], RoundPipe);
|
|
275
|
-
|
|
276
|
-
let TimeAgoFormattedPipe = class TimeAgoFormattedPipe {
|
|
277
|
-
transform(input) {
|
|
278
|
-
return DurationRatchet.formatMsDuration(new Date().getTime() - NumberRatchet.safeNumber(input));
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
TimeAgoFormattedPipe = __decorate([
|
|
282
|
-
Pipe({ name: 'acuteTimeAgo', standalone: true })
|
|
283
|
-
], TimeAgoFormattedPipe);
|
|
284
|
-
|
|
285
|
-
let TimingPipe = class TimingPipe {
|
|
286
|
-
transform(time) {
|
|
287
|
-
if (time) {
|
|
288
|
-
const minutes = Math.floor(time / 60);
|
|
289
|
-
const seconds = Math.floor(time % 60);
|
|
290
|
-
return `${this.initZero(minutes)}${minutes}:${this.initZero(seconds)}${seconds}`;
|
|
291
|
-
}
|
|
292
|
-
return '00:00';
|
|
293
|
-
}
|
|
294
|
-
initZero(time) {
|
|
295
|
-
return time < 10 ? '0' : '';
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
TimingPipe = __decorate([
|
|
299
|
-
Pipe({ name: 'acuteTiming', standalone: true })
|
|
300
|
-
], TimingPipe);
|
|
301
|
-
|
|
302
|
-
var GoogleAnalyticsService_1;
|
|
303
|
-
let GoogleAnalyticsService = class GoogleAnalyticsService {
|
|
304
|
-
static { GoogleAnalyticsService_1 = this; }
|
|
305
|
-
router;
|
|
306
|
-
static IS_PROD = true;
|
|
307
|
-
constructor(router) {
|
|
308
|
-
this.router = router;
|
|
309
|
-
}
|
|
310
|
-
initialize() {
|
|
311
|
-
this.onRouteChange();
|
|
312
|
-
try {
|
|
313
|
-
const url = 'https://www.googletagmanager.com/gtag/js?id=';
|
|
314
|
-
const gTagScript = document.createElement('script');
|
|
315
|
-
gTagScript.async = true;
|
|
316
|
-
const tagId = GoogleAnalyticsService_1.IS_PROD ? 'G-7D5BBK4K8X' : null;
|
|
317
|
-
gTagScript.src = `${url}${tagId}`;
|
|
318
|
-
document.head.appendChild(gTagScript);
|
|
319
|
-
const dataLayerScript = document.createElement('script');
|
|
320
|
-
dataLayerScript.innerHTML = `
|
|
321
|
-
window.dataLayer = window.dataLayer || [];
|
|
322
|
-
function gtag(){dataLayer.push(arguments);}
|
|
323
|
-
gtag('js', new Date());
|
|
324
|
-
gtag('config', '${tagId}', {'send_page_view': false});`;
|
|
325
|
-
document.head.appendChild(dataLayerScript);
|
|
326
|
-
}
|
|
327
|
-
catch (e) {
|
|
328
|
-
Logger.error('Error adding Google Analytics', e, e);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
onRouteChange() {
|
|
332
|
-
const tagId = GoogleAnalyticsService_1.IS_PROD ? 'G-7D5BBK4K8X' : null;
|
|
333
|
-
this.router.events.subscribe((event) => {
|
|
334
|
-
if (event instanceof NavigationEnd) {
|
|
335
|
-
gtag('config', tagId, {
|
|
336
|
-
page_path: event.urlAfterRedirects,
|
|
337
|
-
});
|
|
338
|
-
Logger.info('Sending Google Analytics tracking for: ', event.urlAfterRedirects);
|
|
339
|
-
Logger.info('Google Analytics property ID: ', tagId);
|
|
340
|
-
}
|
|
341
|
-
});
|
|
342
|
-
}
|
|
343
|
-
event(action, eventCategory, eventLabel, value) {
|
|
344
|
-
gtag('event', action, {
|
|
345
|
-
...(eventCategory && { event_category: eventCategory }),
|
|
346
|
-
...(eventLabel && { event_label: eventLabel }),
|
|
347
|
-
...(value && { value: value }),
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
GoogleAnalyticsService = GoogleAnalyticsService_1 = __decorate([
|
|
352
|
-
Injectable({
|
|
353
|
-
providedIn: 'root',
|
|
354
|
-
}),
|
|
355
|
-
__metadata("design:paramtypes", [Router])
|
|
356
|
-
], GoogleAnalyticsService);
|
|
357
|
-
|
|
358
|
-
let GraphqlQueryService = class GraphqlQueryService {
|
|
359
|
-
graphqlRatchet;
|
|
360
|
-
dialogService;
|
|
361
|
-
messageService;
|
|
362
|
-
constructor(graphqlRatchet, dialogService, messageService) {
|
|
363
|
-
this.graphqlRatchet = graphqlRatchet;
|
|
364
|
-
this.dialogService = dialogService;
|
|
365
|
-
this.messageService = messageService;
|
|
366
|
-
}
|
|
367
|
-
async executeQuery(queryName, variables, authStyle = AuthorizationStyle.TokenRequired) {
|
|
368
|
-
let rval = null;
|
|
369
|
-
this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });
|
|
370
|
-
Logger.info('eq: %j -: %s --: %s ---: %j', queryName, variables);
|
|
371
|
-
try {
|
|
372
|
-
rval = await this.graphqlRatchet.executeQuery(queryName, variables, authStyle);
|
|
373
|
-
}
|
|
374
|
-
catch (err) {
|
|
375
|
-
Logger.error('Fail : %s', err);
|
|
376
|
-
}
|
|
377
|
-
finally {
|
|
378
|
-
this.messageService.clear();
|
|
379
|
-
}
|
|
380
|
-
return rval;
|
|
381
|
-
}
|
|
382
|
-
async executeQueryWithBlock(blockMessage, queryName, variables, authStyle = AuthorizationStyle.TokenRequired) {
|
|
383
|
-
let rval = null;
|
|
384
|
-
this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });
|
|
385
|
-
Logger.info('eqb: %j -: %s --: %s ---: %j', blockMessage, queryName, variables);
|
|
386
|
-
try {
|
|
387
|
-
rval = await BlockUiComponent.runPromiseWithUiBlock(this.dialogService, this.graphqlRatchet.executeQuery(queryName, variables, authStyle), blockMessage);
|
|
388
|
-
}
|
|
389
|
-
catch (err) {
|
|
390
|
-
Logger.error('Fail : %s', err);
|
|
391
|
-
}
|
|
392
|
-
finally {
|
|
393
|
-
this.messageService.clear();
|
|
394
|
-
}
|
|
395
|
-
return rval;
|
|
396
|
-
}
|
|
397
|
-
async executeMutate(queryName, variables, authStyle = AuthorizationStyle.TokenRequired) {
|
|
398
|
-
let rval = null;
|
|
399
|
-
this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });
|
|
400
|
-
Logger.info('eq: %j -: %s --: %s ---: %j', queryName, variables);
|
|
401
|
-
try {
|
|
402
|
-
rval = await this.graphqlRatchet.executeMutate(queryName, variables, authStyle);
|
|
403
|
-
}
|
|
404
|
-
catch (err) {
|
|
405
|
-
Logger.error('Fail : %s', err);
|
|
406
|
-
}
|
|
407
|
-
finally {
|
|
408
|
-
this.messageService.clear();
|
|
409
|
-
}
|
|
410
|
-
return rval;
|
|
411
|
-
}
|
|
412
|
-
async executeMutateWithBlock(blockMessage, queryName, variables, authStyle = AuthorizationStyle.TokenRequired) {
|
|
413
|
-
let rval = null;
|
|
414
|
-
this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });
|
|
415
|
-
try {
|
|
416
|
-
rval = await BlockUiComponent.runPromiseWithUiBlock(this.dialogService, this.graphqlRatchet.executeMutate(queryName, variables, authStyle), blockMessage);
|
|
417
|
-
}
|
|
418
|
-
catch (err) {
|
|
419
|
-
Logger.error('Fail : %s', err);
|
|
420
|
-
}
|
|
421
|
-
finally {
|
|
422
|
-
this.messageService.clear();
|
|
423
|
-
}
|
|
424
|
-
return rval;
|
|
425
|
-
}
|
|
426
|
-
};
|
|
427
|
-
GraphqlQueryService = __decorate([
|
|
428
|
-
Injectable({ providedIn: 'root' }),
|
|
429
|
-
__metadata("design:paramtypes", [GraphqlRatchet,
|
|
430
|
-
DialogService,
|
|
431
|
-
MessageService])
|
|
432
|
-
], GraphqlQueryService);
|
|
433
|
-
|
|
434
|
-
var LocalStorageService_1;
|
|
435
|
-
function storageFinder() {
|
|
436
|
-
if (typeof window !== 'undefined') {
|
|
437
|
-
if (typeof window.localStorage !== 'undefined') {
|
|
438
|
-
return window.localStorage;
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
return null;
|
|
442
|
-
}
|
|
443
|
-
let LocalStorageService = class LocalStorageService {
|
|
444
|
-
static { LocalStorageService_1 = this; }
|
|
445
|
-
static APP_NAME = 'Scribe';
|
|
446
|
-
get storageReady() {
|
|
447
|
-
return !!storageFinder();
|
|
448
|
-
}
|
|
449
|
-
clear() {
|
|
450
|
-
this.update({});
|
|
451
|
-
}
|
|
452
|
-
update(value) {
|
|
453
|
-
if (this.storageReady) {
|
|
454
|
-
const toSave = value || {};
|
|
455
|
-
const saveString = JSON.stringify(toSave);
|
|
456
|
-
Logger.info('Updating storage to %s', saveString);
|
|
457
|
-
localStorage.setItem(LocalStorageService_1.APP_NAME, saveString);
|
|
458
|
-
return toSave;
|
|
459
|
-
}
|
|
460
|
-
else {
|
|
461
|
-
Logger.info('Skipping update - storage not ready : %j', value);
|
|
462
|
-
return {};
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
fetch() {
|
|
466
|
-
if (this.storageReady) {
|
|
467
|
-
const loadString = localStorage.getItem(LocalStorageService_1.APP_NAME) || '{}';
|
|
468
|
-
const rval = JSON.parse(loadString);
|
|
469
|
-
return rval;
|
|
470
|
-
}
|
|
471
|
-
else {
|
|
472
|
-
Logger.info('Skipping fetch - storage not ready');
|
|
473
|
-
return {};
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
};
|
|
477
|
-
LocalStorageService = LocalStorageService_1 = __decorate([
|
|
478
|
-
Injectable({ providedIn: 'root' })
|
|
479
|
-
], LocalStorageService);
|
|
480
|
-
|
|
481
|
-
function getWindow() {
|
|
482
|
-
if (typeof window !== 'undefined') {
|
|
483
|
-
return window;
|
|
484
|
-
}
|
|
485
|
-
else {
|
|
486
|
-
throw new Error('Cannot find window object - running in SSR?');
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
let WindowRefService = class WindowRefService {
|
|
490
|
-
nativeWindow() {
|
|
491
|
-
return getWindow();
|
|
492
|
-
}
|
|
493
|
-
};
|
|
494
|
-
WindowRefService = __decorate([
|
|
495
|
-
Injectable({ providedIn: 'root' })
|
|
496
|
-
], WindowRefService);
|
|
497
|
-
|
|
498
|
-
export { AlertComponent, BlockUiComponent, CapitalizePipe, DollarFormattedPipe, GoogleAnalyticsService, GraphqlQueryService, LocalStorageService, MapValuesPipe, NgxAcuteCommonInfo, NumberWithCommasPipe, OrderByPipe, PercentFormattedPipe, PluralPipe, RoundPipe, TimeAgoFormattedPipe, TimingPipe, WindowRefService, storageFinder };
|
|
499
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export * from './build/ngx-acute-common-info';
|
|
2
|
+
export * from './components/dialogs/alert/alert.component';
|
|
3
|
+
export * from './components/dialogs/block-ui/block-ui.component';
|
|
4
|
+
export * from './model/google-analytics-config';
|
|
5
|
+
export * from './pipes/capitalize.pipe';
|
|
6
|
+
export * from './pipes/dollar-formatted.pipe';
|
|
7
|
+
export * from './pipes/map-values.pipe';
|
|
8
|
+
export * from './pipes/number-with-commas.pipe';
|
|
9
|
+
export * from './pipes/order-by.pipe';
|
|
10
|
+
export * from './pipes/percent-formatted.pipe';
|
|
11
|
+
export * from './pipes/plural.pipe';
|
|
12
|
+
export * from './pipes/round.pipe';
|
|
13
|
+
export * from './pipes/time-ago-formatted.pipe';
|
|
14
|
+
export * from './pipes/timing.pipe';
|
|
15
|
+
export * from './services/google-analytics.service';
|
|
16
|
+
export * from './services/graphql-query.service';
|
|
17
|
+
export * from './services/local-storage.service';
|
|
18
|
+
export * from './services/window-ref.service';
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/build/ngx-acute-common-info.ts","../src/components/dialogs/alert/alert.component.ts","../src/components/dialogs/block-ui/block-ui.component.ts","../src/pipes/capitalize.pipe.ts","../src/pipes/dollar-formatted.pipe.ts","../src/pipes/map-values.pipe.ts","../src/pipes/number-with-commas.pipe.ts","../src/pipes/order-by.pipe.ts","../src/pipes/percent-formatted.pipe.ts","../src/pipes/plural.pipe.ts","../src/pipes/round.pipe.ts","../src/pipes/time-ago-formatted.pipe.ts","../src/pipes/timing.pipe.ts","../src/services/google-analytics.service.ts","../src/services/graphql-query.service.ts","../src/services/local-storage.service.ts","../src/services/window-ref.service.ts"],"sourcesContent":["import { BuildInformation } from '@bitblit/ratchet-common/build/build-information';\n\nexport class NgxAcuteCommonInfo {\n // Empty constructor prevents instantiation\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n private constructor() {}\n\n public static buildInformation(): BuildInformation {\n const val: BuildInformation = {\n version: 'LOCAL-SNAPSHOT',\n hash: 'LOCAL-HASH',\n branch: 'LOCAL-BRANCH',\n tag: 'LOCAL-TAG',\n timeBuiltISO: 'LOCAL-TIME-ISO',\n notes: 'LOCAL-NOTES',\n };\n return val;\n }\n}\n","import { Component } from '@angular/core';\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { Logger } from '@bitblit/ratchet-common/logger/logger';\nimport { BehaviorSubject } from 'rxjs';\nimport { AsyncPipe } from '@angular/common';\n\n@Component({\n selector: 'ngx-acute-common-alert',\n template: '<div><pre>{{cfg.data.message | async}}</pre></div>',\n standalone: true,\n imports: [AsyncPipe],\n})\nexport class AlertComponent {\n constructor(\n private dialogService: DialogService,\n public cfg: DynamicDialogConfig,\n protected ref: DynamicDialogRef,\n ) {\n Logger.info('Creating with %j', this.cfg);\n }\n\n public static showAlert(dialogSvc: DialogService, message: BehaviorSubject<string> | string, title: string = 'Alert'): DynamicDialogRef {\n const dlg: DynamicDialogRef = dialogSvc.open(AlertComponent, {\n //disableClose: true,\n //autoFocus: true,\n data: {\n message: message instanceof BehaviorSubject ? message : new BehaviorSubject<string>(message),\n },\n header: title,\n });\n return dlg;\n }\n}\n","import { Component } from '@angular/core';\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { BehaviorSubject } from 'rxjs';\nimport { Logger } from '@bitblit/ratchet-common/logger/logger';\nimport { AsyncPipe, NgIf } from '@angular/common';\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\n\n@Component({\n selector: 'ngx-acute-common-block-ui',\n templateUrl: './block-ui.component.html',\n standalone: true,\n imports: [NgIf, AsyncPipe, ProgressSpinnerModule],\n})\nexport class BlockUiComponent {\n constructor(\n private dialogService: DialogService,\n public cfg: DynamicDialogConfig,\n ) {}\n\n public static createUiBlock(\n dialogService: DialogService,\n message: BehaviorSubject<string> | string = 'Please wait...',\n subMessage?: string,\n ): DynamicDialogRef {\n const dlg: DynamicDialogRef = dialogService.open(BlockUiComponent, {\n closable: false,\n modal: true,\n data: {\n message: message instanceof BehaviorSubject ? message : new BehaviorSubject<string>(message),\n subMessage: subMessage,\n },\n });\n return dlg;\n }\n\n public static async runPromiseWithUiBlock<T>(\n dialogService: DialogService,\n prom: Promise<T>,\n message: BehaviorSubject<string> | string = 'Please wait...',\n subMessage?: string,\n ): Promise<T> {\n const dlg = dialogService.open(BlockUiComponent, {\n closable: false,\n modal: true,\n data: {\n message: message instanceof BehaviorSubject ? message : new BehaviorSubject<string>(message),\n subMessage: subMessage,\n },\n });\n\n try {\n const rval: T = await prom;\n dlg?.close(rval); // If it is still open, close it\n Logger.info('Blockui - Received %j - closing blocker ui and returning', rval);\n return rval;\n } catch (err) {\n Logger.error('Caught error inside block ui dialog : %s - rethrowing', err, err);\n dlg?.close(); // If it is still open, close it\n throw err;\n }\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'acuteCapitalize', standalone: true })\nexport class CapitalizePipe implements PipeTransform {\n transform(input: string): string {\n return input && input.length ? input.charAt(0).toUpperCase() + input.slice(1).toLowerCase() : input;\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { CurrencyRatchet } from '@bitblit/ratchet-common/lang/currency-ratchet';\n\n@Pipe({ name: 'acuteDollars', standalone: true })\nexport class DollarFormattedPipe implements PipeTransform {\n transform(input: number): string {\n const rval: string = input === null || input === undefined ? 'Null' : CurrencyRatchet.dollarFormat(input);\n return rval;\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { Logger } from '@bitblit/ratchet-common/logger/logger';\n\n@Pipe({ name: 'acuteMapValues', standalone: true })\nexport class MapValuesPipe implements PipeTransform {\n transform(value: any, args?: any[]): any[] {\n const returnArray = [];\n\n for (const k of Object.keys(value)) {\n returnArray.push({\n key: k,\n val: value[k],\n });\n }\n\n Logger.info('Map values : %j : %j', returnArray, args);\n return returnArray;\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'acuteNumberWithCommas', standalone: true })\nexport class NumberWithCommasPipe implements PipeTransform {\n transform(input: number): string {\n return new Intl.NumberFormat().format(input);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'acuteOrderBy', pure: false, standalone: true })\nexport class OrderByPipe implements PipeTransform {\n static _orderByComparator(a: any, b: any): number {\n if (isNaN(parseFloat(a)) || !isFinite(a) || isNaN(parseFloat(b)) || !isFinite(b)) {\n //Isn't a number so lowercase the string to properly compare\n if (String(a).toLowerCase() < String(b).toLowerCase()) return -1;\n if (String(a).toLowerCase() > String(b).toLowerCase()) return 1;\n } else {\n //Parse strings as numbers to compare properly\n if (parseFloat(a) < parseFloat(b)) return -1;\n if (parseFloat(a) > parseFloat(b)) return 1;\n }\n\n return 0; //equal each other\n }\n\n transform(input: any, [config = '+']): any {\n if (!Array.isArray(input)) return input;\n\n if (!Array.isArray(config) || (Array.isArray(config) && config.length == 1)) {\n const propertyToCheck: string = !Array.isArray(config) ? config : config[0];\n const desc = propertyToCheck.substr(0, 1) == '-';\n\n //Basic array\n if (!propertyToCheck || propertyToCheck == '-' || propertyToCheck == '+') {\n return !desc ? input.sort() : input.sort().reverse();\n } else {\n const property: string =\n propertyToCheck.substr(0, 1) == '+' || propertyToCheck.substr(0, 1) == '-' ? propertyToCheck.substr(1) : propertyToCheck;\n\n return input.sort(function (a: any, b: any) {\n return !desc\n ? OrderByPipe._orderByComparator(a[property], b[property])\n : -OrderByPipe._orderByComparator(a[property], b[property]);\n });\n }\n } else {\n //Loop over property of the array in order and sort\n return input.sort(function (a: any, b: any) {\n for (let i: number = 0; i < config.length; i++) {\n const desc = config[i].substr(0, 1) == '-';\n const property = config[i].substr(0, 1) == '+' || config[i].substr(0, 1) == '-' ? config[i].substr(1) : config[i];\n\n const comparison = !desc\n ? OrderByPipe._orderByComparator(a[property], b[property])\n : -OrderByPipe._orderByComparator(a[property], b[property]);\n\n //Don't return 0 yet in case of needing to sort by next property\n if (comparison != 0) return comparison;\n }\n\n return 0; //equal each other\n });\n }\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { NumberRatchet } from '@bitblit/ratchet-common/lang/number-ratchet';\n\n@Pipe({ name: 'acutePercent', standalone: true })\nexport class PercentFormattedPipe implements PipeTransform {\n transform(input: number): string {\n return NumberRatchet.pctFormatted(input);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'acutePlural', standalone: true })\nexport class PluralPipe implements PipeTransform {\n transform(input: number, label: string, pluralLabel: string = ''): string {\n input = input || 0;\n return input === 1 ? `${input} ${label}` : pluralLabel ? `${input} ${pluralLabel}` : `${input} ${label}s`;\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'acuteRound', standalone: true })\nexport class RoundPipe implements PipeTransform {\n transform(input: number): number {\n return Math.round(input);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { DurationRatchet } from '@bitblit/ratchet-common/lang/duration-ratchet';\nimport { NumberRatchet } from '@bitblit/ratchet-common/lang/number-ratchet';\n\n@Pipe({ name: 'acuteTimeAgo', standalone: true })\nexport class TimeAgoFormattedPipe implements PipeTransform {\n transform(input: number): string {\n return DurationRatchet.formatMsDuration(new Date().getTime() - NumberRatchet.safeNumber(input));\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({ name: 'acuteTiming', standalone: true })\nexport class TimingPipe implements PipeTransform {\n transform(time: number): string {\n if (time) {\n const minutes = Math.floor(time / 60);\n const seconds = Math.floor(time % 60);\n return `${this.initZero(minutes)}${minutes}:${this.initZero(seconds)}${seconds}`;\n }\n\n return '00:00';\n }\n\n private initZero(time: number): string {\n return time < 10 ? '0' : '';\n }\n}\n","import { Injectable } from '@angular/core';\nimport { NavigationEnd, Router } from '@angular/router';\nimport { Logger } from '@bitblit/ratchet-common/logger/logger';\n\n// eslint-disable-next-line @typescript-eslint/ban-types\ndeclare let gtag: Function;\n\n@Injectable({\n providedIn: 'root',\n})\n// See : https://lumin8media.com/blog/add-google-analytics-angular\nexport class GoogleAnalyticsService {\n private static readonly IS_PROD: boolean = true;\n\n constructor(private router: Router) {}\n\n public initialize() {\n this.onRouteChange();\n\n // dynamically add analytics scripts to document head\n try {\n const url: string = 'https://www.googletagmanager.com/gtag/js?id=';\n const gTagScript = document.createElement('script');\n gTagScript.async = true;\n const tagId: string = GoogleAnalyticsService.IS_PROD ? 'G-7D5BBK4K8X' : null;\n gTagScript.src = `${url}${tagId}`;\n document.head.appendChild(gTagScript);\n\n const dataLayerScript = document.createElement('script');\n dataLayerScript.innerHTML = `\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '${tagId}', {'send_page_view': false});`;\n document.head.appendChild(dataLayerScript);\n } catch (e) {\n Logger.error('Error adding Google Analytics', e, e);\n }\n }\n\n // track visited routes\n private onRouteChange() {\n const tagId: string = GoogleAnalyticsService.IS_PROD ? 'G-7D5BBK4K8X' : null;\n\n this.router.events.subscribe((event) => {\n if (event instanceof NavigationEnd) {\n gtag('config', tagId, {\n page_path: event.urlAfterRedirects,\n });\n\n Logger.info('Sending Google Analytics tracking for: ', event.urlAfterRedirects);\n Logger.info('Google Analytics property ID: ', tagId);\n }\n });\n }\n\n // use gtag.js to send Google Analytics Events\n public event(action: string, eventCategory?: string, eventLabel?: string, value?: string) {\n gtag('event', action, {\n ...(eventCategory && { event_category: eventCategory }),\n ...(eventLabel && { event_label: eventLabel }),\n ...(value && { value: value }),\n });\n }\n}\n","import { Injectable } from '@angular/core';\nimport { DialogService } from 'primeng/dynamicdialog';\nimport { MessageService } from 'primeng/api';\nimport { Logger } from '@bitblit/ratchet-common/logger/logger';\nimport { GraphqlRatchet } from '@bitblit/ratchet-graphql/graphql/graphql-ratchet';\nimport { BlockUiComponent } from '../components/dialogs/block-ui/block-ui.component';\nimport { AuthorizationStyle } from '@bitblit/ratchet-graphql/graphql/authorization-style';\n\n@Injectable({ providedIn: 'root' })\nexport class GraphqlQueryService {\n constructor(\n private graphqlRatchet: GraphqlRatchet,\n private dialogService: DialogService,\n private messageService: MessageService,\n ) {}\n\n public async executeQuery<T>(\n queryName: string,\n variables: any,\n authStyle: AuthorizationStyle = AuthorizationStyle.TokenRequired,\n ): Promise<T | null> {\n let rval: T | null = null;\n this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });\n\n Logger.info('eq: %j -: %s --: %s ---: %j', queryName, variables);\n\n try {\n rval = await this.graphqlRatchet.executeQuery<T>(queryName, variables, authStyle);\n } catch (err) {\n Logger.error('Fail : %s', err);\n } finally {\n this.messageService.clear();\n }\n return rval;\n }\n\n public async executeQueryWithBlock<T>(\n blockMessage: string,\n queryName: string,\n variables: any,\n authStyle: AuthorizationStyle = AuthorizationStyle.TokenRequired,\n ): Promise<T | null> {\n let rval: T | null = null;\n this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });\n\n Logger.info('eqb: %j -: %s --: %s ---: %j', blockMessage, queryName, variables);\n\n try {\n rval = await BlockUiComponent.runPromiseWithUiBlock<T>(\n this.dialogService,\n this.graphqlRatchet.executeQuery<T>(queryName, variables, authStyle),\n blockMessage,\n );\n } catch (err) {\n Logger.error('Fail : %s', err);\n } finally {\n this.messageService.clear();\n }\n\n return rval;\n }\n\n public async executeMutate<T>(\n queryName: string,\n variables: any,\n authStyle: AuthorizationStyle = AuthorizationStyle.TokenRequired,\n ): Promise<T | null> {\n let rval: T | null = null;\n this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });\n\n Logger.info('eq: %j -: %s --: %s ---: %j', queryName, variables);\n\n try {\n rval = await this.graphqlRatchet.executeMutate<T>(queryName, variables, authStyle);\n } catch (err) {\n Logger.error('Fail : %s', err);\n } finally {\n this.messageService.clear();\n }\n\n return rval;\n }\n\n public async executeMutateWithBlock<T>(\n blockMessage: string,\n queryName: string,\n variables: any,\n authStyle: AuthorizationStyle = AuthorizationStyle.TokenRequired,\n ): Promise<T | null> {\n let rval: T | null = null;\n this.messageService.add({ severity: 'info', summary: 'Running query', detail: queryName, life: 3000 });\n\n try {\n rval = await BlockUiComponent.runPromiseWithUiBlock<T>(\n this.dialogService,\n this.graphqlRatchet.executeMutate<T>(queryName, variables, authStyle),\n blockMessage,\n );\n } catch (err) {\n Logger.error('Fail : %s', err);\n } finally {\n this.messageService.clear();\n }\n\n return rval;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Logger } from '@bitblit/ratchet-common/logger/logger';\n\nexport function storageFinder(): Storage | null {\n if (typeof window !== 'undefined') {\n if (typeof window.localStorage !== 'undefined') {\n return window.localStorage;\n }\n }\n return null;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class LocalStorageService<T> {\n private static readonly APP_NAME: string = 'Scribe';\n\n public get storageReady(): boolean {\n return !!storageFinder();\n }\n\n public clear(): void {\n this.update({} as T);\n }\n\n public update(value: T): T {\n if (this.storageReady) {\n const toSave: T = value || ({} as T);\n const saveString: string = JSON.stringify(toSave);\n Logger.info('Updating storage to %s', saveString);\n localStorage.setItem(LocalStorageService.APP_NAME, saveString);\n return toSave;\n } else {\n Logger.info('Skipping update - storage not ready : %j', value);\n return {} as T;\n }\n }\n\n fetch(): T {\n if (this.storageReady) {\n const loadString: string = localStorage.getItem(LocalStorageService.APP_NAME) || '{}';\n const rval: T = JSON.parse(loadString) as T;\n return rval;\n } else {\n Logger.info('Skipping fetch - storage not ready');\n return {} as T;\n }\n }\n}\n","import { Injectable } from '@angular/core';\n\n// Taken from https://juristr.com/blog/2016/09/ng2-get-window-ref/\n// Here to make transition to Angular Universal later easier\n\n/* This interface is optional, showing how you can add strong typings for custom globals.\n// Just use \"Window\" as the type if you don't have custom global stuff\nexport interface ICustomWindow extends Window {\n __custom_global_stuff: string;\n} */\n\nfunction getWindow(): any {\n if (typeof window !== 'undefined') {\n return window;\n } else {\n throw new Error('Cannot find window object - running in SSR?');\n }\n}\n\n@Injectable({ providedIn: 'root' })\nexport class WindowRefService {\n public nativeWindow(): Window {\n return getWindow();\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAEa,kBAAkB,CAAA;AAG7B,IAAA,WAAA,GAAA,GAAwB;AAEjB,IAAA,OAAO,gBAAgB,GAAA;AAC5B,QAAA,MAAM,GAAG,GAAqB;AAC5B,YAAA,OAAO,EAAE,gBAAgB;AACzB,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,MAAM,EAAE,cAAc;AACtB,YAAA,GAAG,EAAE,WAAW;AAChB,YAAA,YAAY,EAAE,gBAAgB;AAC9B,YAAA,KAAK,EAAE,aAAa;SACrB,CAAC;AACF,QAAA,OAAO,GAAG,CAAC;KACZ;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B,YAAY,GAAA;QACjB,OAAO,SAAS,EAAE,CAAC;KACpB;EACF;AAJY,gBAAgB,GAAA,UAAA,CAAA;AAD5B,IAAA,UAAU,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;AACtB,CAAA,EAAA,gBAAgB,CAI5B;;;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAE9C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kDAAkD,CAAC;AAEjE,cAAc,iCAAiC,CAAC;AAEhD,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AAEpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class CapitalizePipe implements PipeTransform {
|
|
3
4
|
transform(input: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "ngx-acute-capitalize", true>;
|
|
4
7
|
}
|
|
@@ -5,10 +5,10 @@ export class CapitalizePipe {
|
|
|
5
5
|
return input && input.length ? input.charAt(0).toUpperCase() + input.slice(1).toLowerCase() : input;
|
|
6
6
|
}
|
|
7
7
|
static ɵfac = function CapitalizePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CapitalizePipe)(); };
|
|
8
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
8
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-capitalize", type: CapitalizePipe, pure: true, standalone: true });
|
|
9
9
|
}
|
|
10
10
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CapitalizePipe, [{
|
|
11
11
|
type: Pipe,
|
|
12
|
-
args: [{ name: '
|
|
12
|
+
args: [{ name: 'ngx-acute-capitalize', standalone: true }]
|
|
13
13
|
}], null, null); })();
|
|
14
14
|
//# sourceMappingURL=capitalize.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capitalize.pipe.js","sourceRoot":"","sources":["../../src/pipes/capitalize.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,cAAc;IACzB,SAAS,CAAC,KAAa;QACrB,OAAO,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;IACtG,CAAC;wGAHU,cAAc;
|
|
1
|
+
{"version":3,"file":"capitalize.pipe.js","sourceRoot":"","sources":["../../src/pipes/capitalize.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,cAAc;IACzB,SAAS,CAAC,KAAa;QACrB,OAAO,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;IACtG,CAAC;wGAHU,cAAc;yEAAd,cAAc;;iFAAd,cAAc;cAD1B,IAAI;eAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DollarFormattedPipe implements PipeTransform {
|
|
3
4
|
transform(input: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DollarFormattedPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DollarFormattedPipe, "ngx-acute-dollars", true>;
|
|
4
7
|
}
|
|
@@ -7,10 +7,10 @@ export class DollarFormattedPipe {
|
|
|
7
7
|
return rval;
|
|
8
8
|
}
|
|
9
9
|
static ɵfac = function DollarFormattedPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DollarFormattedPipe)(); };
|
|
10
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
10
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-dollars", type: DollarFormattedPipe, pure: true, standalone: true });
|
|
11
11
|
}
|
|
12
12
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DollarFormattedPipe, [{
|
|
13
13
|
type: Pipe,
|
|
14
|
-
args: [{ name: '
|
|
14
|
+
args: [{ name: 'ngx-acute-dollars', standalone: true }]
|
|
15
15
|
}], null, null); })();
|
|
16
16
|
//# sourceMappingURL=dollar-formatted.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dollar-formatted.pipe.js","sourceRoot":"","sources":["../../src/pipes/dollar-formatted.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;;AAGhF,MAAM,OAAO,mBAAmB;IAC9B,SAAS,CAAC,KAAa;QACrB,MAAM,IAAI,GAAW,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC1G,OAAO,IAAI,CAAC;IACd,CAAC;6GAJU,mBAAmB;
|
|
1
|
+
{"version":3,"file":"dollar-formatted.pipe.js","sourceRoot":"","sources":["../../src/pipes/dollar-formatted.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;;AAGhF,MAAM,OAAO,mBAAmB;IAC9B,SAAS,CAAC,KAAa;QACrB,MAAM,IAAI,GAAW,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC1G,OAAO,IAAI,CAAC;IACd,CAAC;6GAJU,mBAAmB;sEAAnB,mBAAmB;;iFAAnB,mBAAmB;cAD/B,IAAI;eAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MapValuesPipe implements PipeTransform {
|
|
3
4
|
transform(value: any, args?: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapValuesPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MapValuesPipe, "ngx-acute-map-values", true>;
|
|
4
7
|
}
|
|
@@ -14,10 +14,10 @@ export class MapValuesPipe {
|
|
|
14
14
|
return returnArray;
|
|
15
15
|
}
|
|
16
16
|
static ɵfac = function MapValuesPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MapValuesPipe)(); };
|
|
17
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
17
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-map-values", type: MapValuesPipe, pure: true, standalone: true });
|
|
18
18
|
}
|
|
19
19
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapValuesPipe, [{
|
|
20
20
|
type: Pipe,
|
|
21
|
-
args: [{ name: '
|
|
21
|
+
args: [{ name: 'ngx-acute-map-values', standalone: true }]
|
|
22
22
|
}], null, null); })();
|
|
23
23
|
//# sourceMappingURL=map-values.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-values.pipe.js","sourceRoot":"","sources":["../../src/pipes/map-values.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;;AAG/D,MAAM,OAAO,aAAa;IACxB,SAAS,CAAC,KAAU,EAAE,IAAY;QAChC,MAAM,WAAW,GAAG,EAAE,CAAC;QAEvB,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACnC,WAAW,CAAC,IAAI,CAAC;gBACf,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;aACd,CAAC,CAAC;QACL,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,sBAAsB,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;QACvD,OAAO,WAAW,CAAC;IACrB,CAAC;uGAbU,aAAa;
|
|
1
|
+
{"version":3,"file":"map-values.pipe.js","sourceRoot":"","sources":["../../src/pipes/map-values.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;;AAG/D,MAAM,OAAO,aAAa;IACxB,SAAS,CAAC,KAAU,EAAE,IAAY;QAChC,MAAM,WAAW,GAAG,EAAE,CAAC;QAEvB,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACnC,WAAW,CAAC,IAAI,CAAC;gBACf,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;aACd,CAAC,CAAC;QACL,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,sBAAsB,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;QACvD,OAAO,WAAW,CAAC;IACrB,CAAC;uGAbU,aAAa;yEAAb,aAAa;;iFAAb,aAAa;cADzB,IAAI;eAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class NumberWithCommasPipe implements PipeTransform {
|
|
3
4
|
transform(input: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberWithCommasPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberWithCommasPipe, "ngx-acute-number-with-commas", true>;
|
|
4
7
|
}
|
|
@@ -5,10 +5,10 @@ export class NumberWithCommasPipe {
|
|
|
5
5
|
return new Intl.NumberFormat().format(input);
|
|
6
6
|
}
|
|
7
7
|
static ɵfac = function NumberWithCommasPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NumberWithCommasPipe)(); };
|
|
8
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
8
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-number-with-commas", type: NumberWithCommasPipe, pure: true, standalone: true });
|
|
9
9
|
}
|
|
10
10
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumberWithCommasPipe, [{
|
|
11
11
|
type: Pipe,
|
|
12
|
-
args: [{ name: '
|
|
12
|
+
args: [{ name: 'ngx-acute-number-with-commas', standalone: true }]
|
|
13
13
|
}], null, null); })();
|
|
14
14
|
//# sourceMappingURL=number-with-commas.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-with-commas.pipe.js","sourceRoot":"","sources":["../../src/pipes/number-with-commas.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,oBAAoB;IAC/B,SAAS,CAAC,KAAa;QACrB,OAAO,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;8GAHU,oBAAoB;
|
|
1
|
+
{"version":3,"file":"number-with-commas.pipe.js","sourceRoot":"","sources":["../../src/pipes/number-with-commas.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,oBAAoB;IAC/B,SAAS,CAAC,KAAa;QACrB,OAAO,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;8GAHU,oBAAoB;iFAApB,oBAAoB;;iFAApB,oBAAoB;cADhC,IAAI;eAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class OrderByPipe implements PipeTransform {
|
|
3
4
|
static _orderByComparator(a: any, b: any): number;
|
|
4
5
|
transform(input: any, [config]: [string?]): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderByPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OrderByPipe, "ngx-acute-order-by", true>;
|
|
5
8
|
}
|
|
@@ -50,10 +50,10 @@ export class OrderByPipe {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
static ɵfac = function OrderByPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrderByPipe)(); };
|
|
53
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
53
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-order-by", type: OrderByPipe, pure: false, standalone: true });
|
|
54
54
|
}
|
|
55
55
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderByPipe, [{
|
|
56
56
|
type: Pipe,
|
|
57
|
-
args: [{ name: '
|
|
57
|
+
args: [{ name: 'ngx-acute-order-by', pure: false, standalone: true }]
|
|
58
58
|
}], null, null); })();
|
|
59
59
|
//# sourceMappingURL=order-by.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-by.pipe.js","sourceRoot":"","sources":["../../src/pipes/order-by.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,WAAW;IACtB,MAAM,CAAC,kBAAkB,CAAC,CAAM,EAAE,CAAM;QACtC,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;YAEjF,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;gBAAE,OAAO,CAAC,CAAC,CAAC;YACjE,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,W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|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class PercentFormattedPipe implements PipeTransform {
|
|
3
4
|
transform(input: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PercentFormattedPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PercentFormattedPipe, "ngx-acute-percent", true>;
|
|
4
7
|
}
|
|
@@ -6,10 +6,10 @@ export class PercentFormattedPipe {
|
|
|
6
6
|
return NumberRatchet.pctFormatted(input);
|
|
7
7
|
}
|
|
8
8
|
static ɵfac = function PercentFormattedPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PercentFormattedPipe)(); };
|
|
9
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
9
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-percent", type: PercentFormattedPipe, pure: true, standalone: true });
|
|
10
10
|
}
|
|
11
11
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PercentFormattedPipe, [{
|
|
12
12
|
type: Pipe,
|
|
13
|
-
args: [{ name: '
|
|
13
|
+
args: [{ name: 'ngx-acute-percent', standalone: true }]
|
|
14
14
|
}], null, null); })();
|
|
15
15
|
//# sourceMappingURL=percent-formatted.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"percent-formatted.pipe.js","sourceRoot":"","sources":["../../src/pipes/percent-formatted.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;;AAG5E,MAAM,OAAO,oBAAoB;IAC/B,SAAS,CAAC,KAAa;QACrB,OAAO,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;8GAHU,oBAAoB;
|
|
1
|
+
{"version":3,"file":"percent-formatted.pipe.js","sourceRoot":"","sources":["../../src/pipes/percent-formatted.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;;AAG5E,MAAM,OAAO,oBAAoB;IAC/B,SAAS,CAAC,KAAa;QACrB,OAAO,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;8GAHU,oBAAoB;sEAApB,oBAAoB;;iFAApB,oBAAoB;cADhC,IAAI;eAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class PluralPipe implements PipeTransform {
|
|
3
4
|
transform(input: number, label: string, pluralLabel?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PluralPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PluralPipe, "ngx-acute-plural", true>;
|
|
4
7
|
}
|
package/lib/pipes/plural.pipe.js
CHANGED
|
@@ -6,10 +6,10 @@ export class PluralPipe {
|
|
|
6
6
|
return input === 1 ? `${input} ${label}` : pluralLabel ? `${input} ${pluralLabel}` : `${input} ${label}s`;
|
|
7
7
|
}
|
|
8
8
|
static ɵfac = function PluralPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PluralPipe)(); };
|
|
9
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
9
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-plural", type: PluralPipe, pure: true, standalone: true });
|
|
10
10
|
}
|
|
11
11
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PluralPipe, [{
|
|
12
12
|
type: Pipe,
|
|
13
|
-
args: [{ name: '
|
|
13
|
+
args: [{ name: 'ngx-acute-plural', standalone: true }]
|
|
14
14
|
}], null, null); })();
|
|
15
15
|
//# sourceMappingURL=plural.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plural.pipe.js","sourceRoot":"","sources":["../../src/pipes/plural.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,UAAU;IACrB,SAAS,CAAC,KAAa,EAAE,KAAa,EAAE,cAAsB,EAAE;QAC9D,KAAK,GAAG,KAAK,IAAI,CAAC,CAAC;QACnB,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,GAAG,CAAC;IAC5G,CAAC;oGAJU,UAAU;
|
|
1
|
+
{"version":3,"file":"plural.pipe.js","sourceRoot":"","sources":["../../src/pipes/plural.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,UAAU;IACrB,SAAS,CAAC,KAAa,EAAE,KAAa,EAAE,cAAsB,EAAE;QAC9D,KAAK,GAAG,KAAK,IAAI,CAAC,CAAC;QACnB,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,GAAG,CAAC;IAC5G,CAAC;oGAJU,UAAU;qEAAV,UAAU;;iFAAV,UAAU;cADtB,IAAI;eAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class RoundPipe implements PipeTransform {
|
|
3
4
|
transform(input: number): number;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoundPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "ngx-acute-round", true>;
|
|
4
7
|
}
|
package/lib/pipes/round.pipe.js
CHANGED
|
@@ -5,10 +5,10 @@ export class RoundPipe {
|
|
|
5
5
|
return Math.round(input);
|
|
6
6
|
}
|
|
7
7
|
static ɵfac = function RoundPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RoundPipe)(); };
|
|
8
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
8
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-round", type: RoundPipe, pure: true, standalone: true });
|
|
9
9
|
}
|
|
10
10
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RoundPipe, [{
|
|
11
11
|
type: Pipe,
|
|
12
|
-
args: [{ name: '
|
|
12
|
+
args: [{ name: 'ngx-acute-round', standalone: true }]
|
|
13
13
|
}], null, null); })();
|
|
14
14
|
//# sourceMappingURL=round.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"round.pipe.js","sourceRoot":"","sources":["../../src/pipes/round.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,SAAS;IACpB,SAAS,CAAC,KAAa;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;mGAHU,SAAS
|
|
1
|
+
{"version":3,"file":"round.pipe.js","sourceRoot":"","sources":["../../src/pipes/round.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,SAAS;IACpB,SAAS,CAAC,KAAa;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;mGAHU,SAAS;oEAAT,SAAS;;iFAAT,SAAS;cADrB,IAAI;eAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class TimeAgoFormattedPipe implements PipeTransform {
|
|
3
4
|
transform(input: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeAgoFormattedPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeAgoFormattedPipe, "ngx-acute-time-ago", true>;
|
|
4
7
|
}
|
|
@@ -7,10 +7,10 @@ export class TimeAgoFormattedPipe {
|
|
|
7
7
|
return DurationRatchet.formatMsDuration(new Date().getTime() - NumberRatchet.safeNumber(input));
|
|
8
8
|
}
|
|
9
9
|
static ɵfac = function TimeAgoFormattedPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimeAgoFormattedPipe)(); };
|
|
10
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
10
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-time-ago", type: TimeAgoFormattedPipe, pure: true, standalone: true });
|
|
11
11
|
}
|
|
12
12
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeAgoFormattedPipe, [{
|
|
13
13
|
type: Pipe,
|
|
14
|
-
args: [{ name: '
|
|
14
|
+
args: [{ name: 'ngx-acute-time-ago', standalone: true }]
|
|
15
15
|
}], null, null); })();
|
|
16
16
|
//# sourceMappingURL=time-ago-formatted.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-ago-formatted.pipe.js","sourceRoot":"","sources":["../../src/pipes/time-ago-formatted.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;;AAG5E,MAAM,OAAO,oBAAoB;IAC/B,SAAS,CAAC,KAAa;QACrB,OAAO,eAAe,CAAC,gBAAgB,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAClG,CAAC;8GAHU,oBAAoB;
|
|
1
|
+
{"version":3,"file":"time-ago-formatted.pipe.js","sourceRoot":"","sources":["../../src/pipes/time-ago-formatted.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;;AAG5E,MAAM,OAAO,oBAAoB;IAC/B,SAAS,CAAC,KAAa;QACrB,OAAO,eAAe,CAAC,gBAAgB,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAClG,CAAC;8GAHU,oBAAoB;uEAApB,oBAAoB;;iFAApB,oBAAoB;cADhC,IAAI;eAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class TimingPipe implements PipeTransform {
|
|
3
4
|
transform(time: number): string;
|
|
4
5
|
private initZero;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimingPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimingPipe, "ngx-acute-timing", true>;
|
|
5
8
|
}
|
package/lib/pipes/timing.pipe.js
CHANGED
|
@@ -13,10 +13,10 @@ export class TimingPipe {
|
|
|
13
13
|
return time < 10 ? '0' : '';
|
|
14
14
|
}
|
|
15
15
|
static ɵfac = function TimingPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimingPipe)(); };
|
|
16
|
-
static ɵpipe = i0.ɵɵdefinePipe({ name: "
|
|
16
|
+
static ɵpipe = i0.ɵɵdefinePipe({ name: "ngx-acute-timing", type: TimingPipe, pure: true, standalone: true });
|
|
17
17
|
}
|
|
18
18
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimingPipe, [{
|
|
19
19
|
type: Pipe,
|
|
20
|
-
args: [{ name: '
|
|
20
|
+
args: [{ name: 'ngx-acute-timing', standalone: true }]
|
|
21
21
|
}], null, null); })();
|
|
22
22
|
//# sourceMappingURL=timing.pipe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timing.pipe.js","sourceRoot":"","sources":["../../src/pipes/timing.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,UAAU;IACrB,SAAS,CAAC,IAAY;QACpB,IAAI,IAAI,EAAE,CAAC;YACT,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;YACtC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;YACtC,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,EAAE,CAAC;QACnF,CAAC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;IAEO,QAAQ,CAAC,IAAY;QAC3B,OAAO,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,CAAC;oGAbU,UAAU;
|
|
1
|
+
{"version":3,"file":"timing.pipe.js","sourceRoot":"","sources":["../../src/pipes/timing.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,UAAU;IACrB,SAAS,CAAC,IAAY;QACpB,IAAI,IAAI,EAAE,CAAC;YACT,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;YACtC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;YACtC,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,EAAE,CAAC;QACnF,CAAC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;IAEO,QAAQ,CAAC,IAAY;QAC3B,OAAO,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,CAAC;oGAbU,UAAU;qEAAV,UAAU;;iFAAV,UAAU;cADtB,IAAI;eAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,IAAI,EAAE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class GoogleAnalyticsService {
|
|
3
4
|
private router;
|
|
4
5
|
private static readonly IS_PROD;
|
|
@@ -6,4 +7,6 @@ export declare class GoogleAnalyticsService {
|
|
|
6
7
|
initialize(): void;
|
|
7
8
|
private onRouteChange;
|
|
8
9
|
event(action: string, eventCategory?: string, eventLabel?: string, value?: string): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleAnalyticsService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleAnalyticsService>;
|
|
9
12
|
}
|
|
@@ -2,6 +2,7 @@ import { DialogService } from 'primeng/dynamicdialog';
|
|
|
2
2
|
import { MessageService } from 'primeng/api';
|
|
3
3
|
import { GraphqlRatchet } from '@bitblit/ratchet-graphql/graphql/graphql-ratchet';
|
|
4
4
|
import { AuthorizationStyle } from '@bitblit/ratchet-graphql/graphql/authorization-style';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class GraphqlQueryService {
|
|
6
7
|
private graphqlRatchet;
|
|
7
8
|
private dialogService;
|
|
@@ -11,4 +12,6 @@ export declare class GraphqlQueryService {
|
|
|
11
12
|
executeQueryWithBlock<T>(blockMessage: string, queryName: string, variables: any, authStyle?: AuthorizationStyle): Promise<T | null>;
|
|
12
13
|
executeMutate<T>(queryName: string, variables: any, authStyle?: AuthorizationStyle): Promise<T | null>;
|
|
13
14
|
executeMutateWithBlock<T>(blockMessage: string, queryName: string, variables: any, authStyle?: AuthorizationStyle): Promise<T | null>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphqlQueryService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GraphqlQueryService>;
|
|
14
17
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare function storageFinder(): Storage | null;
|
|
2
3
|
export declare class LocalStorageService<T> {
|
|
3
4
|
private static readonly APP_NAME;
|
|
@@ -5,4 +6,6 @@ export declare class LocalStorageService<T> {
|
|
|
5
6
|
clear(): void;
|
|
6
7
|
update(value: T): T;
|
|
7
8
|
fetch(): T;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService<any>, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService<any>>;
|
|
8
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitblit/ngx-acute-common",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.545-alpha",
|
|
4
4
|
"description": "Library for using angular",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@angular/platform-browser": "18.2.9",
|
|
44
44
|
"@angular/platform-browser-dynamic": "18.2.9",
|
|
45
45
|
"@angular/router": "18.2.9",
|
|
46
|
-
"@bitblit/ratchet-common": "5.0.
|
|
46
|
+
"@bitblit/ratchet-common": "5.0.545-alpha",
|
|
47
47
|
"primeflex": "3.3.1",
|
|
48
48
|
"primeicons": "7.0.0",
|
|
49
49
|
"primeng": "17.18.11",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@angular/platform-browser": "^18.2.9",
|
|
60
60
|
"@angular/platform-browser-dynamic": "^18.2.9",
|
|
61
61
|
"@angular/router": "^18.2.9",
|
|
62
|
-
"@bitblit/ratchet-common": "5.0.
|
|
62
|
+
"@bitblit/ratchet-common": "5.0.545-alpha",
|
|
63
63
|
"primeflex": "3.3.1",
|
|
64
64
|
"primeicons": "7.0.0",
|
|
65
65
|
"primeng": "17.18.11",
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@angular/compiler-cli": "18.2.9",
|
|
71
|
-
"@bitblit/ratchet-node-only": "5.0.
|
|
71
|
+
"@bitblit/ratchet-node-only": "5.0.545-alpha"
|
|
72
72
|
}
|
|
73
73
|
}
|