@emuanalytics/flow-rdf-angular 5.0.0 → 5.1.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/README.md +1 -1
- package/dist/README.md +1 -1
- package/dist/fesm2022/flow-rdf-angular.mjs +186 -180
- package/dist/fesm2022/flow-rdf-angular.mjs.map +1 -1
- package/dist/types/flow-rdf-angular.d.ts +97 -92
- package/package.json +12 -14
package/README.md
CHANGED
|
@@ -16,5 +16,5 @@ Run these scripts in this package, or from the repo root with `pnpm --filter @em
|
|
|
16
16
|
| Script | Description |
|
|
17
17
|
| --- | --- |
|
|
18
18
|
| `pnpm build` | Build the library into `dist/` with ng-packagr. Build `flow-rdf-ui` first: the component proxies are generated from its Custom Elements Manifest. |
|
|
19
|
-
| `pnpm test` | Run the
|
|
19
|
+
| `pnpm test` | Run the specs once on Vitest, in headless Chromium (Playwright's), with coverage. It fails below the coverage thresholds in `angular.json`. `pnpm test:watch` runs them in watch mode. |
|
|
20
20
|
| `pnpm check:tree-shaking` | Build minimal applications and the Angular starter, and check which Flo.w RDF UI components each one bundles and registers. |
|
package/dist/README.md
CHANGED
|
@@ -16,5 +16,5 @@ Run these scripts in this package, or from the repo root with `pnpm --filter @em
|
|
|
16
16
|
| Script | Description |
|
|
17
17
|
| --- | --- |
|
|
18
18
|
| `pnpm build` | Build the library into `dist/` with ng-packagr. Build `flow-rdf-ui` first: the component proxies are generated from its Custom Elements Manifest. |
|
|
19
|
-
| `pnpm test` | Run the
|
|
19
|
+
| `pnpm test` | Run the specs once on Vitest, in headless Chromium (Playwright's), with coverage. It fails below the coverage thresholds in `angular.json`. `pnpm test:watch` runs them in watch mode. |
|
|
20
20
|
| `pnpm check:tree-shaking` | Build minimal applications and the Angular starter, and check which Flo.w RDF UI components each one bundles and registers. |
|
|
@@ -395,82 +395,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
395
395
|
{ type: i0.NgZone }
|
|
396
396
|
]
|
|
397
397
|
});
|
|
398
|
-
let FlowBadge = class FlowBadge {
|
|
399
|
-
z;
|
|
400
|
-
el;
|
|
401
|
-
constructor(c, r, z) {
|
|
402
|
-
this.z = z;
|
|
403
|
-
c.detach();
|
|
404
|
-
this.el = r.nativeElement;
|
|
405
|
-
defineCustomElementOnUse(this, this.el, () => FlowUiBadge.define());
|
|
406
|
-
}
|
|
407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
408
|
-
minVersion: "12.0.0",
|
|
409
|
-
version: "22.2.5",
|
|
410
|
-
ngImport: i0,
|
|
411
|
-
type: FlowBadge,
|
|
412
|
-
deps: [
|
|
413
|
-
{ token: i0.ChangeDetectorRef },
|
|
414
|
-
{ token: i0.ElementRef },
|
|
415
|
-
{ token: i0.NgZone }
|
|
416
|
-
],
|
|
417
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
418
|
-
});
|
|
419
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
420
|
-
minVersion: "14.0.0",
|
|
421
|
-
version: "22.2.5",
|
|
422
|
-
type: FlowBadge,
|
|
423
|
-
isStandalone: true,
|
|
424
|
-
selector: "flow-ui-badge",
|
|
425
|
-
inputs: {
|
|
426
|
-
variant: "variant",
|
|
427
|
-
size: "size",
|
|
428
|
-
pill: "pill",
|
|
429
|
-
pulse: "pulse"
|
|
430
|
-
},
|
|
431
|
-
providers: [],
|
|
432
|
-
ngImport: i0,
|
|
433
|
-
template: "<ng-content></ng-content>",
|
|
434
|
-
isInline: true,
|
|
435
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
436
|
-
});
|
|
437
|
-
};
|
|
438
|
-
FlowBadge = __decorate([ProxyCmp({
|
|
439
|
-
inputs: [
|
|
440
|
-
"variant",
|
|
441
|
-
"size",
|
|
442
|
-
"pill",
|
|
443
|
-
"pulse"
|
|
444
|
-
],
|
|
445
|
-
methods: []
|
|
446
|
-
})], FlowBadge);
|
|
447
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
448
|
-
minVersion: "12.0.0",
|
|
449
|
-
version: "22.2.5",
|
|
450
|
-
ngImport: i0,
|
|
451
|
-
type: FlowBadge,
|
|
452
|
-
decorators: [{
|
|
453
|
-
type: Component,
|
|
454
|
-
args: [{
|
|
455
|
-
standalone: true,
|
|
456
|
-
selector: "flow-ui-badge",
|
|
457
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
458
|
-
template: "<ng-content></ng-content>",
|
|
459
|
-
inputs: [
|
|
460
|
-
"variant",
|
|
461
|
-
"size",
|
|
462
|
-
"pill",
|
|
463
|
-
"pulse"
|
|
464
|
-
],
|
|
465
|
-
providers: []
|
|
466
|
-
}]
|
|
467
|
-
}],
|
|
468
|
-
ctorParameters: () => [
|
|
469
|
-
{ type: i0.ChangeDetectorRef },
|
|
470
|
-
{ type: i0.ElementRef },
|
|
471
|
-
{ type: i0.NgZone }
|
|
472
|
-
]
|
|
473
|
-
});
|
|
474
398
|
let FlowAvatar = class FlowAvatar {
|
|
475
399
|
z;
|
|
476
400
|
el;
|
|
@@ -550,109 +474,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
550
474
|
{ type: i0.NgZone }
|
|
551
475
|
]
|
|
552
476
|
});
|
|
553
|
-
let FlowAnimation = class FlowAnimation {
|
|
554
|
-
z;
|
|
555
|
-
el;
|
|
556
|
-
constructor(c, r, z) {
|
|
557
|
-
this.z = z;
|
|
558
|
-
c.detach();
|
|
559
|
-
this.el = r.nativeElement;
|
|
560
|
-
defineCustomElementOnUse(this, this.el, () => FlowUiAnimation.define());
|
|
561
|
-
}
|
|
562
|
-
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
563
|
-
minVersion: "12.0.0",
|
|
564
|
-
version: "22.2.5",
|
|
565
|
-
ngImport: i0,
|
|
566
|
-
type: FlowAnimation,
|
|
567
|
-
deps: [
|
|
568
|
-
{ token: i0.ChangeDetectorRef },
|
|
569
|
-
{ token: i0.ElementRef },
|
|
570
|
-
{ token: i0.NgZone }
|
|
571
|
-
],
|
|
572
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
573
|
-
});
|
|
574
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
575
|
-
minVersion: "14.0.0",
|
|
576
|
-
version: "22.2.5",
|
|
577
|
-
type: FlowAnimation,
|
|
578
|
-
isStandalone: true,
|
|
579
|
-
selector: "flow-ui-animation",
|
|
580
|
-
inputs: {
|
|
581
|
-
name: "name",
|
|
582
|
-
play: "play",
|
|
583
|
-
delay: "delay",
|
|
584
|
-
direction: "direction",
|
|
585
|
-
duration: "duration",
|
|
586
|
-
easing: "easing",
|
|
587
|
-
endDelay: "endDelay",
|
|
588
|
-
fill: "fill",
|
|
589
|
-
iterations: "iterations",
|
|
590
|
-
iterationStart: "iterationStart",
|
|
591
|
-
keyframes: "keyframes",
|
|
592
|
-
playbackRate: "playbackRate",
|
|
593
|
-
currentTime: "currentTime"
|
|
594
|
-
},
|
|
595
|
-
providers: [],
|
|
596
|
-
ngImport: i0,
|
|
597
|
-
template: "<ng-content></ng-content>",
|
|
598
|
-
isInline: true,
|
|
599
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
600
|
-
});
|
|
601
|
-
};
|
|
602
|
-
FlowAnimation = __decorate([ProxyCmp({
|
|
603
|
-
inputs: [
|
|
604
|
-
"name",
|
|
605
|
-
"play",
|
|
606
|
-
"delay",
|
|
607
|
-
"direction",
|
|
608
|
-
"duration",
|
|
609
|
-
"easing",
|
|
610
|
-
"endDelay",
|
|
611
|
-
"fill",
|
|
612
|
-
"iterations",
|
|
613
|
-
"iterationStart",
|
|
614
|
-
"keyframes",
|
|
615
|
-
"playbackRate",
|
|
616
|
-
"currentTime"
|
|
617
|
-
],
|
|
618
|
-
methods: ["cancel", "finish"]
|
|
619
|
-
})], FlowAnimation);
|
|
620
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
621
|
-
minVersion: "12.0.0",
|
|
622
|
-
version: "22.2.5",
|
|
623
|
-
ngImport: i0,
|
|
624
|
-
type: FlowAnimation,
|
|
625
|
-
decorators: [{
|
|
626
|
-
type: Component,
|
|
627
|
-
args: [{
|
|
628
|
-
standalone: true,
|
|
629
|
-
selector: "flow-ui-animation",
|
|
630
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
631
|
-
template: "<ng-content></ng-content>",
|
|
632
|
-
inputs: [
|
|
633
|
-
"name",
|
|
634
|
-
"play",
|
|
635
|
-
"delay",
|
|
636
|
-
"direction",
|
|
637
|
-
"duration",
|
|
638
|
-
"easing",
|
|
639
|
-
"endDelay",
|
|
640
|
-
"fill",
|
|
641
|
-
"iterations",
|
|
642
|
-
"iterationStart",
|
|
643
|
-
"keyframes",
|
|
644
|
-
"playbackRate",
|
|
645
|
-
"currentTime"
|
|
646
|
-
],
|
|
647
|
-
providers: []
|
|
648
|
-
}]
|
|
649
|
-
}],
|
|
650
|
-
ctorParameters: () => [
|
|
651
|
-
{ type: i0.ChangeDetectorRef },
|
|
652
|
-
{ type: i0.ElementRef },
|
|
653
|
-
{ type: i0.NgZone }
|
|
654
|
-
]
|
|
655
|
-
});
|
|
656
477
|
let FlowAutocomplete = class FlowAutocomplete extends ValueAccessor {
|
|
657
478
|
z;
|
|
658
479
|
el;
|
|
@@ -822,6 +643,109 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
822
643
|
}]
|
|
823
644
|
}
|
|
824
645
|
});
|
|
646
|
+
let FlowAnimation = class FlowAnimation {
|
|
647
|
+
z;
|
|
648
|
+
el;
|
|
649
|
+
constructor(c, r, z) {
|
|
650
|
+
this.z = z;
|
|
651
|
+
c.detach();
|
|
652
|
+
this.el = r.nativeElement;
|
|
653
|
+
defineCustomElementOnUse(this, this.el, () => FlowUiAnimation.define());
|
|
654
|
+
}
|
|
655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
656
|
+
minVersion: "12.0.0",
|
|
657
|
+
version: "22.2.5",
|
|
658
|
+
ngImport: i0,
|
|
659
|
+
type: FlowAnimation,
|
|
660
|
+
deps: [
|
|
661
|
+
{ token: i0.ChangeDetectorRef },
|
|
662
|
+
{ token: i0.ElementRef },
|
|
663
|
+
{ token: i0.NgZone }
|
|
664
|
+
],
|
|
665
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
666
|
+
});
|
|
667
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
668
|
+
minVersion: "14.0.0",
|
|
669
|
+
version: "22.2.5",
|
|
670
|
+
type: FlowAnimation,
|
|
671
|
+
isStandalone: true,
|
|
672
|
+
selector: "flow-ui-animation",
|
|
673
|
+
inputs: {
|
|
674
|
+
name: "name",
|
|
675
|
+
play: "play",
|
|
676
|
+
delay: "delay",
|
|
677
|
+
direction: "direction",
|
|
678
|
+
duration: "duration",
|
|
679
|
+
easing: "easing",
|
|
680
|
+
endDelay: "endDelay",
|
|
681
|
+
fill: "fill",
|
|
682
|
+
iterations: "iterations",
|
|
683
|
+
iterationStart: "iterationStart",
|
|
684
|
+
keyframes: "keyframes",
|
|
685
|
+
playbackRate: "playbackRate",
|
|
686
|
+
currentTime: "currentTime"
|
|
687
|
+
},
|
|
688
|
+
providers: [],
|
|
689
|
+
ngImport: i0,
|
|
690
|
+
template: "<ng-content></ng-content>",
|
|
691
|
+
isInline: true,
|
|
692
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
693
|
+
});
|
|
694
|
+
};
|
|
695
|
+
FlowAnimation = __decorate([ProxyCmp({
|
|
696
|
+
inputs: [
|
|
697
|
+
"name",
|
|
698
|
+
"play",
|
|
699
|
+
"delay",
|
|
700
|
+
"direction",
|
|
701
|
+
"duration",
|
|
702
|
+
"easing",
|
|
703
|
+
"endDelay",
|
|
704
|
+
"fill",
|
|
705
|
+
"iterations",
|
|
706
|
+
"iterationStart",
|
|
707
|
+
"keyframes",
|
|
708
|
+
"playbackRate",
|
|
709
|
+
"currentTime"
|
|
710
|
+
],
|
|
711
|
+
methods: ["cancel", "finish"]
|
|
712
|
+
})], FlowAnimation);
|
|
713
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
714
|
+
minVersion: "12.0.0",
|
|
715
|
+
version: "22.2.5",
|
|
716
|
+
ngImport: i0,
|
|
717
|
+
type: FlowAnimation,
|
|
718
|
+
decorators: [{
|
|
719
|
+
type: Component,
|
|
720
|
+
args: [{
|
|
721
|
+
standalone: true,
|
|
722
|
+
selector: "flow-ui-animation",
|
|
723
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
724
|
+
template: "<ng-content></ng-content>",
|
|
725
|
+
inputs: [
|
|
726
|
+
"name",
|
|
727
|
+
"play",
|
|
728
|
+
"delay",
|
|
729
|
+
"direction",
|
|
730
|
+
"duration",
|
|
731
|
+
"easing",
|
|
732
|
+
"endDelay",
|
|
733
|
+
"fill",
|
|
734
|
+
"iterations",
|
|
735
|
+
"iterationStart",
|
|
736
|
+
"keyframes",
|
|
737
|
+
"playbackRate",
|
|
738
|
+
"currentTime"
|
|
739
|
+
],
|
|
740
|
+
providers: []
|
|
741
|
+
}]
|
|
742
|
+
}],
|
|
743
|
+
ctorParameters: () => [
|
|
744
|
+
{ type: i0.ChangeDetectorRef },
|
|
745
|
+
{ type: i0.ElementRef },
|
|
746
|
+
{ type: i0.NgZone }
|
|
747
|
+
]
|
|
748
|
+
});
|
|
825
749
|
let FlowBaseControl = class FlowBaseControl {
|
|
826
750
|
z;
|
|
827
751
|
el;
|
|
@@ -1063,6 +987,82 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1063
987
|
{ type: i0.NgZone }
|
|
1064
988
|
]
|
|
1065
989
|
});
|
|
990
|
+
let FlowBadge = class FlowBadge {
|
|
991
|
+
z;
|
|
992
|
+
el;
|
|
993
|
+
constructor(c, r, z) {
|
|
994
|
+
this.z = z;
|
|
995
|
+
c.detach();
|
|
996
|
+
this.el = r.nativeElement;
|
|
997
|
+
defineCustomElementOnUse(this, this.el, () => FlowUiBadge.define());
|
|
998
|
+
}
|
|
999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1000
|
+
minVersion: "12.0.0",
|
|
1001
|
+
version: "22.2.5",
|
|
1002
|
+
ngImport: i0,
|
|
1003
|
+
type: FlowBadge,
|
|
1004
|
+
deps: [
|
|
1005
|
+
{ token: i0.ChangeDetectorRef },
|
|
1006
|
+
{ token: i0.ElementRef },
|
|
1007
|
+
{ token: i0.NgZone }
|
|
1008
|
+
],
|
|
1009
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
1010
|
+
});
|
|
1011
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1012
|
+
minVersion: "14.0.0",
|
|
1013
|
+
version: "22.2.5",
|
|
1014
|
+
type: FlowBadge,
|
|
1015
|
+
isStandalone: true,
|
|
1016
|
+
selector: "flow-ui-badge",
|
|
1017
|
+
inputs: {
|
|
1018
|
+
variant: "variant",
|
|
1019
|
+
size: "size",
|
|
1020
|
+
pill: "pill",
|
|
1021
|
+
pulse: "pulse"
|
|
1022
|
+
},
|
|
1023
|
+
providers: [],
|
|
1024
|
+
ngImport: i0,
|
|
1025
|
+
template: "<ng-content></ng-content>",
|
|
1026
|
+
isInline: true,
|
|
1027
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1028
|
+
});
|
|
1029
|
+
};
|
|
1030
|
+
FlowBadge = __decorate([ProxyCmp({
|
|
1031
|
+
inputs: [
|
|
1032
|
+
"variant",
|
|
1033
|
+
"size",
|
|
1034
|
+
"pill",
|
|
1035
|
+
"pulse"
|
|
1036
|
+
],
|
|
1037
|
+
methods: []
|
|
1038
|
+
})], FlowBadge);
|
|
1039
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1040
|
+
minVersion: "12.0.0",
|
|
1041
|
+
version: "22.2.5",
|
|
1042
|
+
ngImport: i0,
|
|
1043
|
+
type: FlowBadge,
|
|
1044
|
+
decorators: [{
|
|
1045
|
+
type: Component,
|
|
1046
|
+
args: [{
|
|
1047
|
+
standalone: true,
|
|
1048
|
+
selector: "flow-ui-badge",
|
|
1049
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1050
|
+
template: "<ng-content></ng-content>",
|
|
1051
|
+
inputs: [
|
|
1052
|
+
"variant",
|
|
1053
|
+
"size",
|
|
1054
|
+
"pill",
|
|
1055
|
+
"pulse"
|
|
1056
|
+
],
|
|
1057
|
+
providers: []
|
|
1058
|
+
}]
|
|
1059
|
+
}],
|
|
1060
|
+
ctorParameters: () => [
|
|
1061
|
+
{ type: i0.ChangeDetectorRef },
|
|
1062
|
+
{ type: i0.ElementRef },
|
|
1063
|
+
{ type: i0.NgZone }
|
|
1064
|
+
]
|
|
1065
|
+
});
|
|
1066
1066
|
let FlowBusyOverlay = class FlowBusyOverlay {
|
|
1067
1067
|
z;
|
|
1068
1068
|
el;
|
|
@@ -4772,6 +4772,9 @@ let FlowMap = class FlowMap {
|
|
|
4772
4772
|
this.el = r.nativeElement;
|
|
4773
4773
|
defineCustomElementOnUse(this, this.el, () => FlowUiMap.define());
|
|
4774
4774
|
}
|
|
4775
|
+
ngOnDestroy() {
|
|
4776
|
+
if (this.el.keepAlive) this.z.runOutsideAngular(() => this.el.destroy());
|
|
4777
|
+
}
|
|
4775
4778
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4776
4779
|
minVersion: "12.0.0",
|
|
4777
4780
|
version: "22.2.5",
|
|
@@ -4801,6 +4804,7 @@ let FlowMap = class FlowMap {
|
|
|
4801
4804
|
fixed: "fixed",
|
|
4802
4805
|
bearingSnap: "bearingSnap",
|
|
4803
4806
|
fadeDuration: "fadeDuration",
|
|
4807
|
+
keepAlive: "keepAlive",
|
|
4804
4808
|
map: "map",
|
|
4805
4809
|
initialized: "initialized"
|
|
4806
4810
|
},
|
|
@@ -4823,10 +4827,11 @@ FlowMap = __decorate([ProxyCmp({
|
|
|
4823
4827
|
"fixed",
|
|
4824
4828
|
"bearingSnap",
|
|
4825
4829
|
"fadeDuration",
|
|
4830
|
+
"keepAlive",
|
|
4826
4831
|
"map",
|
|
4827
4832
|
"initialized"
|
|
4828
4833
|
],
|
|
4829
|
-
methods: []
|
|
4834
|
+
methods: ["destroy"]
|
|
4830
4835
|
})], FlowMap);
|
|
4831
4836
|
i0.ɵɵngDeclareClassMetadata({
|
|
4832
4837
|
minVersion: "12.0.0",
|
|
@@ -4851,6 +4856,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4851
4856
|
"fixed",
|
|
4852
4857
|
"bearingSnap",
|
|
4853
4858
|
"fadeDuration",
|
|
4859
|
+
"keepAlive",
|
|
4854
4860
|
"map",
|
|
4855
4861
|
"initialized"
|
|
4856
4862
|
],
|