ngx-presentationcommons-esm-remote 0.0.7 → 0.0.8
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.
|
@@ -40,10 +40,10 @@ class CommonsPresentationRemoteConfigService {
|
|
|
40
40
|
get deviceId() {
|
|
41
41
|
return this.config.deviceId;
|
|
42
42
|
}
|
|
43
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
44
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteConfigService, providedIn: 'root' });
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteConfigService, decorators: [{
|
|
47
47
|
type: Injectable,
|
|
48
48
|
args: [{
|
|
49
49
|
providedIn: 'root'
|
|
@@ -98,10 +98,10 @@ class CommonsPresentationRemoteTimeService {
|
|
|
98
98
|
deadline.second += duration.seconds;
|
|
99
99
|
this.internalPageDeadline = deadline;
|
|
100
100
|
}
|
|
101
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
102
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
101
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteTimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
102
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteTimeService, providedIn: 'root' });
|
|
103
103
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteTimeService, decorators: [{
|
|
105
105
|
type: Injectable,
|
|
106
106
|
args: [{
|
|
107
107
|
providedIn: 'root'
|
|
@@ -113,10 +113,10 @@ class CommonsPresentationRemoteNetworkService extends CommonsPresentationNetwork
|
|
|
113
113
|
const configService = inject(CommonsPresentationRemoteConfigService);
|
|
114
114
|
super(configService.url, configService.ns, configService.channel, configService.deviceId);
|
|
115
115
|
}
|
|
116
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
117
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
116
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteNetworkService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
117
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteNetworkService, providedIn: 'root' });
|
|
118
118
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteNetworkService, decorators: [{
|
|
120
120
|
type: Injectable,
|
|
121
121
|
args: [{
|
|
122
122
|
providedIn: 'root'
|
|
@@ -129,10 +129,10 @@ class TimePipe {
|
|
|
129
129
|
return '-';
|
|
130
130
|
return value.His;
|
|
131
131
|
}
|
|
132
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
133
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
133
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: TimePipe, isStandalone: true, name: "time" });
|
|
134
134
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TimePipe, decorators: [{
|
|
136
136
|
type: Pipe,
|
|
137
137
|
args: [{
|
|
138
138
|
name: 'time',
|
|
@@ -148,10 +148,10 @@ class DurationPipe {
|
|
|
148
148
|
return 'OVERRUN';
|
|
149
149
|
return value.His;
|
|
150
150
|
}
|
|
151
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
152
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DurationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
152
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: DurationPipe, isStandalone: true, name: "duration" });
|
|
153
153
|
}
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DurationPipe, decorators: [{
|
|
155
155
|
type: Pipe,
|
|
156
156
|
args: [{
|
|
157
157
|
name: 'duration',
|
|
@@ -228,10 +228,10 @@ class CommonsPresentationRemoteCoreComponent extends CommonsComponent {
|
|
|
228
228
|
doShowAll() {
|
|
229
229
|
void this.networkService.showAll();
|
|
230
230
|
}
|
|
231
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
232
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
231
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteCoreComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
232
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: CommonsPresentationRemoteCoreComponent, isStandalone: true, selector: "commons-presentation-remote-core", usesInheritance: true, ngImport: i0, template: "<section outer>\n\t<section times>\n\t\t<time>{{ this.nowTime | time }}</time>\n\t\t<time>{{ this.elapsedTime | duration }}</time>\n\t\t<time\n\t\t\t\t[class.last-minute]=\"this.pageRemaining && this.pageRemaining.seconds < 60\"\n\t\t\t\t[class.overrun]=\"this.pageRemaining && this.pageRemaining.seconds < 1\"\n\t\t>{{ this.pageRemaining | duration }}</time>\n\t</section>\n\t<section buttons>\n\t\t<button prev commons-button class=\"filled\"\n\t\t\t\t(click)=\"this.doPrev(ECommonsPresentationMoveMagnitude.EITHER);\"\n\t\t>Prev</button>\n\t\t<button next commons-button class=\"filled\"\n\t\t\t\t(click)=\"this.doNext(ECommonsPresentationMoveMagnitude.EITHER);\"\n\t\t>Next</button>\n\n\t\t<button pageprev commons-button class=\"raised\"\n\t\t\t\t(click)=\"this.doPrev(ECommonsPresentationMoveMagnitude.PAGE);\"\n\t\t>Page Prev</button>\n\t\t<button pagenext commons-button class=\"raised\"\n\t\t\t\t(click)=\"this.doNext(ECommonsPresentationMoveMagnitude.PAGE);\"\n\t\t>Page Next</button>\n\n\t\t<button restart commons-button\n\t\t\t\t(click)=\"this.doRestart();\"\n\t\t>Restart</button>\n\t\t<button end commons-button\n\t\t\t\t(click)=\"this.doEnd();\"\n\t\t>End</button>\n\t\t<button all commons-button\n\t\t\t\t(click)=\"this.doShowAll();\"\n\t\t>Show all</button>\n\n\t\t<button blank commons-button class=\"raised\"\n\t\t\t\t[disabled]=\"this.blankState === true\"\n\t\t\t\t(click)=\"this.doBlank(true);\"\n\t\t>Blank</button>\n\t\t<button holding commons-button class=\"raised\"\n\t\t\t\t[disabled]=\"this.blankState === 'holding'\"\n\t\t\t\t(click)=\"this.doBlank('holding');\"\n\t\t>Holding</button>\n\t\t<button show commons-button class=\"raised\"\n\t\t\t\t[disabled]=\"this.blankState === false\"\n\t\t\t\t(click)=\"this.doBlank(false);\"\n\t\t>Restore</button>\n\t</section>\n\t<section custom-buttons><ng-content select=\"[custom-buttons]\"></ng-content></section>\n\t<section notes><ng-content select=\"[notes]\"></ng-content></section>\n</section>\n", styles: ["section[outer]{position:fixed;top:0;left:0;width:100%;height:100vh;box-sizing:border-box;padding:10px;display:grid;grid-template-rows:auto auto auto 1fr;grid-template-areas:\"times\" \"buttons\" \"custombuttons\" \"notes\";row-gap:20px}section[outer] [times]{grid-area:times}section[outer] [buttons]{grid-area:buttons}section[outer] [custom-buttons]{grid-area:custombuttons}section[outer] [notes]{grid-area:notes;overflow-y:scroll}section[times]{display:grid;grid-template-columns:repeat(3,1fr);column-gap:20px}time.last-minute{color:#e7aa00}time.overrun{color:red!important}section[buttons] ::ng-deep button,section[custom-buttons] ::ng-deep button{box-sizing:border-box;margin:0;height:50px}section[buttons]{display:grid;grid-template-columns:repeat(6,1fr);grid-template-areas:\"blank blank holding holding show show\" \"restart restart end end all all\" \"pageprev pageprev pageprev pagenext pagenext pagenext\" \"prev prev prev next next next\";column-gap:10px;row-gap:10px}[prev]{grid-area:prev}[next]{grid-area:next}[pageprev]{grid-area:pageprev}[pagenext]{grid-area:pagenext}[restart]{grid-area:restart}[end]{grid-area:end}[all]{grid-area:all}[blank]{grid-area:blank}[holding]{grid-area:holding}[show]{grid-area:show}\n"], dependencies: [{ kind: "pipe", type: TimePipe, name: "time" }, { kind: "pipe", type: DurationPipe, name: "duration" }] });
|
|
233
233
|
}
|
|
234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CommonsPresentationRemoteCoreComponent, decorators: [{
|
|
235
235
|
type: Component,
|
|
236
236
|
args: [{ selector: 'commons-presentation-remote-core', standalone: true, imports: [
|
|
237
237
|
TimePipe,
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-presentationcommons-esm-remote",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.0",
|
|
6
6
|
"@angular/core": "^19.2.0",
|
|
7
|
-
"tscommons-esm-core": "^0.
|
|
8
|
-
"tscommons-esm-async": "^1.0.
|
|
9
|
-
"ngx-angularcommons-esm-core": "^0.0.
|
|
10
|
-
"ngx-angularcommons-esm-app": "^0.0.
|
|
11
|
-
"ngx-presentationcommons-esm-core": "^0.0.
|
|
12
|
-
"ngx-presentationcommons-esm-network": "^0.0.
|
|
7
|
+
"tscommons-esm-core": "^0.4.0",
|
|
8
|
+
"tscommons-esm-async": "^1.0.6",
|
|
9
|
+
"ngx-angularcommons-esm-core": "^0.0.10",
|
|
10
|
+
"ngx-angularcommons-esm-app": "^0.0.11",
|
|
11
|
+
"ngx-presentationcommons-esm-core": "^0.0.4",
|
|
12
|
+
"ngx-presentationcommons-esm-network": "^0.0.4"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"tslib": "^2.3.0"
|