ng-hub-ui-utils 22.7.1 → 22.7.2
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 +4 -4
- package/fesm2022/ng-hub-ui-utils.mjs +39 -39
- package/ng-hub-ui-utils-22.7.2.tgz +0 -0
- package/package.json +1 -1
- package/ng-hub-ui-utils-22.7.1.tgz +0 -0
package/README.md
CHANGED
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
|
|
36
36
|
## 📚 Documentation and Live Examples
|
|
37
37
|
|
|
38
|
-
This package is part of [Hub UI](https://hubui.dev/), a collection of Angular component libraries for standalone apps.
|
|
38
|
+
This package is part of [Hub UI](https://hubui.dev/en/), a collection of Angular component libraries for standalone apps.
|
|
39
39
|
|
|
40
|
-
- Docs: https://hubui.dev/utils/overview/
|
|
41
|
-
- Live examples: https://hubui.dev/utils/examples/
|
|
42
|
-
- Hub UI: https://hubui.dev/
|
|
40
|
+
- Docs: https://hubui.dev/en/utils/overview/
|
|
41
|
+
- Live examples: https://hubui.dev/en/utils/examples/
|
|
42
|
+
- Hub UI: https://hubui.dev/en/
|
|
43
43
|
|
|
44
44
|
## 🧩 Library Family `ng-hub-ui`
|
|
45
45
|
|
|
@@ -555,10 +555,10 @@ class HubDragDropService {
|
|
|
555
555
|
}
|
|
556
556
|
return this.#registrations.get(ownerId)?.resolveTarget?.(element, clientX, clientY) ?? null;
|
|
557
557
|
}
|
|
558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
559
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
558
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubDragDropService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
559
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubDragDropService, providedIn: 'root' });
|
|
560
560
|
}
|
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubDragDropService, decorators: [{
|
|
562
562
|
type: Injectable,
|
|
563
563
|
args: [{ providedIn: 'root' }]
|
|
564
564
|
}] });
|
|
@@ -964,10 +964,10 @@ class HubTranslationService {
|
|
|
964
964
|
this.translations = { ...fallbackTranslations, ...nextTranslations };
|
|
965
965
|
this.translationSource.next(this.translations);
|
|
966
966
|
}
|
|
967
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
968
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
967
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubTranslationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
968
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubTranslationService });
|
|
969
969
|
}
|
|
970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubTranslationService, decorators: [{
|
|
971
971
|
type: Injectable
|
|
972
972
|
}], ctorParameters: () => [] });
|
|
973
973
|
|
|
@@ -1368,10 +1368,10 @@ class OverlayService {
|
|
|
1368
1368
|
position() {
|
|
1369
1369
|
return new OverlayPosition();
|
|
1370
1370
|
}
|
|
1371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1372
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
1371
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: OverlayService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1372
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: OverlayService, providedIn: 'root' });
|
|
1373
1373
|
}
|
|
1374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: OverlayService, decorators: [{
|
|
1375
1375
|
type: Injectable,
|
|
1376
1376
|
args: [{
|
|
1377
1377
|
providedIn: 'root'
|
|
@@ -1394,10 +1394,10 @@ class GetPipe {
|
|
|
1394
1394
|
? a[c]
|
|
1395
1395
|
: defaultValue || null, value);
|
|
1396
1396
|
}
|
|
1397
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1398
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
1397
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: GetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1398
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: GetPipe, isStandalone: true, name: "get" });
|
|
1399
1399
|
}
|
|
1400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: GetPipe, decorators: [{
|
|
1401
1401
|
type: Pipe,
|
|
1402
1402
|
args: [{
|
|
1403
1403
|
name: 'get',
|
|
@@ -1409,10 +1409,10 @@ class IsObjectPipe {
|
|
|
1409
1409
|
transform(value) {
|
|
1410
1410
|
return typeof value === 'object';
|
|
1411
1411
|
}
|
|
1412
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1413
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
1412
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IsObjectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1413
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: IsObjectPipe, isStandalone: true, name: "isObject" });
|
|
1414
1414
|
}
|
|
1415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IsObjectPipe, decorators: [{
|
|
1416
1416
|
type: Pipe,
|
|
1417
1417
|
args: [{
|
|
1418
1418
|
name: 'isObject'
|
|
@@ -1423,10 +1423,10 @@ class IsObservablePipe {
|
|
|
1423
1423
|
transform(value) {
|
|
1424
1424
|
return isObservable(value);
|
|
1425
1425
|
}
|
|
1426
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1427
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
1426
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IsObservablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1427
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: IsObservablePipe, isStandalone: true, name: "isObservable" });
|
|
1428
1428
|
}
|
|
1429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IsObservablePipe, decorators: [{
|
|
1430
1430
|
type: Pipe,
|
|
1431
1431
|
args: [{
|
|
1432
1432
|
name: 'isObservable',
|
|
@@ -1438,10 +1438,10 @@ class IsStringPipe {
|
|
|
1438
1438
|
transform(value) {
|
|
1439
1439
|
return typeof value === 'string';
|
|
1440
1440
|
}
|
|
1441
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1442
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
1441
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IsStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1442
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: IsStringPipe, isStandalone: true, name: "isString" });
|
|
1443
1443
|
}
|
|
1444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: IsStringPipe, decorators: [{
|
|
1445
1445
|
type: Pipe,
|
|
1446
1446
|
args: [{
|
|
1447
1447
|
name: 'isString'
|
|
@@ -1524,10 +1524,10 @@ class TranslatePipe {
|
|
|
1524
1524
|
ngOnDestroy() {
|
|
1525
1525
|
this._dispose();
|
|
1526
1526
|
}
|
|
1527
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1528
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
1527
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TranslatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1528
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: TranslatePipe, isStandalone: true, name: "translate", pure: false });
|
|
1529
1529
|
}
|
|
1530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TranslatePipe, decorators: [{
|
|
1531
1531
|
type: Pipe,
|
|
1532
1532
|
args: [{
|
|
1533
1533
|
name: 'translate',
|
|
@@ -1540,10 +1540,10 @@ class UcfirstPipe {
|
|
|
1540
1540
|
transform(value = '') {
|
|
1541
1541
|
return value.charAt(0).toUpperCase() + value.slice(1);
|
|
1542
1542
|
}
|
|
1543
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1544
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
1543
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UcfirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1544
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: UcfirstPipe, isStandalone: true, name: "ucfirst" });
|
|
1545
1545
|
}
|
|
1546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UcfirstPipe, decorators: [{
|
|
1547
1547
|
type: Pipe,
|
|
1548
1548
|
args: [{
|
|
1549
1549
|
name: 'ucfirst',
|
|
@@ -1611,10 +1611,10 @@ class UnwrapAsyncPipe {
|
|
|
1611
1611
|
this.subscription = null;
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1615
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.
|
|
1614
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UnwrapAsyncPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1615
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: UnwrapAsyncPipe, isStandalone: true, name: "unwrapAsync", pure: false });
|
|
1616
1616
|
}
|
|
1617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UnwrapAsyncPipe, decorators: [{
|
|
1618
1618
|
type: Pipe,
|
|
1619
1619
|
args: [{
|
|
1620
1620
|
name: 'unwrapAsync',
|
|
@@ -1801,10 +1801,10 @@ class ScrollBar {
|
|
|
1801
1801
|
bodyStyle.overflow = overflow;
|
|
1802
1802
|
};
|
|
1803
1803
|
}
|
|
1804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1805
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
1804
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollBar, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1805
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollBar, providedIn: 'root' });
|
|
1806
1806
|
}
|
|
1807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollBar, decorators: [{
|
|
1808
1808
|
type: Injectable,
|
|
1809
1809
|
args: [{ providedIn: 'root' }]
|
|
1810
1810
|
}] });
|
|
@@ -2105,10 +2105,10 @@ class TooltipDirective {
|
|
|
2105
2105
|
ngOnDestroy() {
|
|
2106
2106
|
this.controller.destroy();
|
|
2107
2107
|
}
|
|
2108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2109
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.
|
|
2108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2109
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: TooltipDirective, isStandalone: true, selector: "[tooltip]", inputs: { tooltipTitle: { classPropertyName: "tooltipTitle", publicName: "tooltip", isSignal: true, isRequired: true, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2110
2110
|
}
|
|
2111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
2112
2112
|
type: Directive,
|
|
2113
2113
|
args: [{
|
|
2114
2114
|
selector: '[tooltip]'
|
|
@@ -2187,10 +2187,10 @@ class HubOverflowTooltipDirective {
|
|
|
2187
2187
|
measure(el) {
|
|
2188
2188
|
this.overflowing.set(el.scrollWidth > el.clientWidth + 1);
|
|
2189
2189
|
}
|
|
2190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2191
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.
|
|
2190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubOverflowTooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2191
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: HubOverflowTooltipDirective, isStandalone: true, selector: "[hubOverflowTooltip]", inputs: { text: { classPropertyName: "text", publicName: "hubOverflowTooltip", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2192
2192
|
}
|
|
2193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubOverflowTooltipDirective, decorators: [{
|
|
2194
2194
|
type: Directive,
|
|
2195
2195
|
args: [{
|
|
2196
2196
|
selector: '[hubOverflowTooltip]'
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|