@sevtech/kit 0.0.1 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/http.mjs +9 -9
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/localization.mjs +18 -18
- package/fesm2022/localization.mjs.map +1 -1
- package/fesm2022/misc.mjs.map +1 -1
- package/fesm2022/ng-misc.mjs.map +1 -1
- package/fesm2022/ng-sw.mjs +3 -3
- package/fesm2022/ng-sw.mjs.map +1 -1
- package/fesm2022/sevtech-kit.mjs.map +1 -1
- package/fesm2022/sw-scripts.mjs.map +1 -1
- package/fesm2022/sw-shared.mjs.map +1 -1
- package/fesm2022/ui-yoda.mjs +11 -11
- package/fesm2022/ui-yoda.mjs.map +1 -1
- package/fesm2022/ui.mjs +12 -12
- package/package.json +1 -1
- package/README.md +0 -19
package/fesm2022/ui.mjs
CHANGED
|
@@ -7,10 +7,10 @@ class PickKeyPipe {
|
|
|
7
7
|
transform(object, path, fallback = undefined, separator = '.') {
|
|
8
8
|
return pickKey(object, path, fallback, separator);
|
|
9
9
|
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
11
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: PickKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
11
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: PickKeyPipe, isStandalone: true, name: "pickKey" }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: PickKeyPipe, decorators: [{
|
|
14
14
|
type: Pipe,
|
|
15
15
|
args: [{
|
|
16
16
|
name: 'pickKey',
|
|
@@ -36,10 +36,10 @@ class SafePipe {
|
|
|
36
36
|
return this.sanitizer.bypassSecurityTrustResourceUrl(value);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
40
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SafePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
40
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SafePipe, isStandalone: true, name: "safe" }); }
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SafePipe, decorators: [{
|
|
43
43
|
type: Pipe,
|
|
44
44
|
args: [{
|
|
45
45
|
name: 'safe',
|
|
@@ -63,10 +63,10 @@ function withStylesDirective(component) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class EllipsisStyles {
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
67
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: EllipsisStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: EllipsisStyles, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [".ellipsis{--ellipsis-line-clamp: 1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@supports ((line-clamp: 1) or (-webkit-line-clamp: 1)) and (display: -webkit-box) and (-webkit-box-orient: vertical){.ellipsis{white-space:normal;text-overflow:initial;word-break:break-all;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--ellipsis-line-clamp);-webkit-line-clamp:var(--ellipsis-line-clamp)}@supports (hyphens: auto){.ellipsis{-webkit-hyphens:auto;hyphens:auto;word-break:auto-phrase}}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: EllipsisStyles, decorators: [{
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".ellipsis{--ellipsis-line-clamp: 1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@supports ((line-clamp: 1) or (-webkit-line-clamp: 1)) and (display: -webkit-box) and (-webkit-box-orient: vertical){.ellipsis{white-space:normal;text-overflow:initial;word-break:break-all;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--ellipsis-line-clamp);-webkit-line-clamp:var(--ellipsis-line-clamp)}@supports (hyphens: auto){.ellipsis{-webkit-hyphens:auto;hyphens:auto;word-break:auto-phrase}}}\n"] }]
|
|
72
72
|
}] });
|
|
@@ -109,10 +109,10 @@ class EllipsisDirective {
|
|
|
109
109
|
}
|
|
110
110
|
return this.textContent$$() ?? undefined;
|
|
111
111
|
}
|
|
112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
113
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: EllipsisDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
113
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.18", type: EllipsisDirective, isStandalone: true, selector: "[ellipsis]", inputs: { ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, showTitle: { classPropertyName: "showTitle", publicName: "showTitle", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--ellipsis-line-clamp": "ellipsisState$$().clamp", "class.ellipsis": "ellipsisState$$().enabled", "attr.title": "showTitle() ? content$$() : undefined" } }, exportAs: ["ellipsis"], ngImport: i0 }); }
|
|
114
114
|
}
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: EllipsisDirective, decorators: [{
|
|
116
116
|
type: Directive,
|
|
117
117
|
args: [{
|
|
118
118
|
exportAs: 'ellipsis',
|
package/package.json
CHANGED
package/README.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# @sevtech/kit
|
|
2
|
-
|
|
3
|
-
Монорепо-пакет с набором Angular и TypeScript библиотек. Все модули поставляются через secondary entry points одного пакета.
|
|
4
|
-
|
|
5
|
-
Все зависимости объявлены как `peerDependencies` с `optional: true` — устанавливаются только если уже используются в проекте.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Entry points
|
|
10
|
-
|
|
11
|
-
| Entry point | Описание | Зависимости |
|
|
12
|
-
|---|---|---|
|
|
13
|
-
| [`@sevtech/kit/misc`](./misc/README.md) | Чистые TS утилиты, типы, type guards | — |
|
|
14
|
-
| [`@sevtech/kit/ng-misc`](./ng-misc/README.md) | Angular/rxjs утилиты и типы | `@angular/core`, `rxjs` |
|
|
15
|
-
| [`@sevtech/kit/http`](./http/README.md) | HTTP-клиент с интерсепторами | `@angular/core`, `@angular/common`, `rxjs` |
|
|
16
|
-
| [`@sevtech/kit/localization`](./localization/README.md) | Интернационализация | `@angular/core`, `@angular/common`, `@ngx-translate/core`, `@ngx-translate/http-loader`, `rxjs` |
|
|
17
|
-
| [`@sevtech/kit/service-worker`](./service-worker/README.md) | Взаимодействие Angular ↔ Service Worker | `@angular/core`, `@angular/common`, `rxjs` |
|
|
18
|
-
| `@sevtech/kit/service-worker/scripts` | Скрипты внутри SW-файла | — |
|
|
19
|
-
| `@sevtech/kit/ui` | UI-компоненты | `@angular/core`, `@angular/common`, `@angular/forms`, `primeng` |
|