@zambon-dev/library 2.0.0 → 3.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/CHANGELOG.md +32 -9
- package/README.md +9 -9
- package/fesm2022/zambon-dev-library.mjs +304 -445
- package/fesm2022/zambon-dev-library.mjs.map +1 -1
- package/package.json +10 -9
- package/styles/variables.scss +26 -26
- package/types/zambon-dev-library.d.ts +1045 -0
- package/index.d.ts +0 -10
- package/lib/components/base.component.d.ts +0 -9
- package/lib/components/catalog-select/catalog-select.component.d.ts +0 -121
- package/lib/components/data-grid/data-grid.component.d.ts +0 -51
- package/lib/components/data-grid-row/data-grid-row.component.d.ts +0 -31
- package/lib/components/form-group/form-group.component.d.ts +0 -8
- package/lib/components/form-input/form-input.component.d.ts +0 -47
- package/lib/components/form-input-group/form-input-group.component.d.ts +0 -40
- package/lib/components/group-accordion/group-accordion.component.d.ts +0 -13
- package/lib/components/group-container/group-container.component.d.ts +0 -16
- package/lib/components/group-scroll-spy/group-scroll-spy.component.d.ts +0 -14
- package/lib/components/index.d.ts +0 -18
- package/lib/components/modal/modal.component.d.ts +0 -26
- package/lib/components/multi-editor/multi-editor.component.d.ts +0 -30
- package/lib/components/multi-select/multi-select.component.d.ts +0 -25
- package/lib/components/multi-select/result-grid/result-grid.component.d.ts +0 -18
- package/lib/components/ribbon/ribbon.component.d.ts +0 -5
- package/lib/components/ribbon-button/ribbon-button.component.d.ts +0 -32
- package/lib/components/ribbon-group/ribbon-group.component.d.ts +0 -10
- package/lib/components/sidebar/sidebar.component.d.ts +0 -41
- package/lib/components/sidebar-item/sidebar-item.component.d.ts +0 -34
- package/lib/directives/index.d.ts +0 -1
- package/lib/directives/scroll-spy.directive.d.ts +0 -16
- package/lib/helpers/date-helpers.d.ts +0 -3
- package/lib/helpers/display-controls.d.ts +0 -29
- package/lib/helpers/guid-helper.d.ts +0 -3
- package/lib/helpers/index.d.ts +0 -4
- package/lib/helpers/route-formatter.d.ts +0 -4
- package/lib/library.module.d.ts +0 -27
- package/lib/models/batch-update.d.ts +0 -4
- package/lib/models/catalog-entry.d.ts +0 -4
- package/lib/models/catalog-result.d.ts +0 -5
- package/lib/models/configs/data-grid-configs.d.ts +0 -9
- package/lib/models/configs/grid-configs.d.ts +0 -9
- package/lib/models/configs/index.d.ts +0 -2
- package/lib/models/data-grid-parameters.d.ts +0 -12
- package/lib/models/grid-column.d.ts +0 -9
- package/lib/models/index.d.ts +0 -14
- package/lib/models/list-result.d.ts +0 -4
- package/lib/models/modal.interface.d.ts +0 -7
- package/lib/models/multi-editor-changes.d.ts +0 -6
- package/lib/models/multi-selector-changes.d.ts +0 -4
- package/lib/models/ribbon-button-option.d.ts +0 -13
- package/lib/models/ribbon-group-child.d.ts +0 -3
- package/lib/models/sidebar/index.d.ts +0 -5
- package/lib/models/sidebar/sidebar-configs.d.ts +0 -22
- package/lib/models/sidebar/sidebar-menu-open-mode.d.ts +0 -32
- package/lib/models/sidebar/sidebar-menu.d.ts +0 -22
- package/lib/models/sidebar/sidebar-profile.d.ts +0 -5
- package/lib/models/sidebar/sidebar-region.d.ts +0 -6
- package/lib/models/tab-view.d.ts +0 -5
- package/lib/pipes/enum.d.ts +0 -12
- package/lib/pipes/index.d.ts +0 -3
- package/lib/pipes/replace-many.pipe.d.ts +0 -9
- package/lib/pipes/replace.pipe.d.ts +0 -7
- package/lib/services/catalog.service.d.ts +0 -11
- package/lib/services/configs-providers/data-grid-configs.provider.d.ts +0 -8
- package/lib/services/configs-providers/grid-configs.provider.d.ts +0 -9
- package/lib/services/configs-providers/index.d.ts +0 -2
- package/lib/services/data-providers/data-provider.service.d.ts +0 -29
- package/lib/services/data-providers/index.d.ts +0 -1
- package/lib/services/datasets/base.dataset.d.ts +0 -15
- package/lib/services/datasets/data-grid.dataset.d.ts +0 -37
- package/lib/services/datasets/grid.dataset.d.ts +0 -59
- package/lib/services/datasets/index.d.ts +0 -5
- package/lib/services/datasets/multi-editor.dataset.d.ts +0 -22
- package/lib/services/datasets/multi-select-result.dataset.d.ts +0 -26
- package/lib/services/form-group.service.d.ts +0 -5
- package/lib/services/form.service.d.ts +0 -39
- package/lib/services/index.d.ts +0 -6
- package/lib/services/sidebar.service.d.ts +0 -34
- package/lib/validators/date.validators.d.ts +0 -13
- package/lib/validators/index.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -23,6 +23,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
23
23
|
|
|
24
24
|
### ⚠ Breaking Changes / Migration
|
|
25
25
|
|
|
26
|
+
## [3.0.0] - 2026-09-21
|
|
27
|
+
|
|
28
|
+
- Maintenance release (no consumer-facing changes were documented).
|
|
29
|
+
|
|
30
|
+
## [2.0.1] - 2026-09-21
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- `RibbonComponent`, `FormGroupComponent` and `GroupContainerComponent` now use
|
|
35
|
+
`ChangeDetectionStrategy.OnPush`. They render from their inputs only, so behaviour is
|
|
36
|
+
unchanged, but consuming applications no longer check them on every change detection pass.
|
|
37
|
+
|
|
26
38
|
## [2.0.0] - 2026-09-21
|
|
27
39
|
|
|
28
40
|
### Changed
|
|
@@ -54,6 +66,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
54
66
|
|
|
55
67
|
### ⚠ Breaking Changes / Migration
|
|
56
68
|
|
|
69
|
+
**Requires Angular 22.** Every `@angular/*` peer range moved from `^19.1.0` to `^22.0.0`, and
|
|
70
|
+
the package is built and tested against Angular 22.1 with TypeScript 6.0.
|
|
71
|
+
|
|
72
|
+
Upgrade your application to Angular 22 first — Angular does not support skipping majors, so go
|
|
73
|
+
19 → 20 → 21 → 22 with `ng update`. Angular 22 also requires Node.js 22.22.3 or newer.
|
|
74
|
+
|
|
75
|
+
- Requires `ngx-resize-observer` 4.x (the Angular 22 line); the peer range moved from `^3.0.0`.
|
|
76
|
+
|
|
57
77
|
**`FormInputComponent` outputs renamed.** Four outputs were named after native DOM events. Because
|
|
58
78
|
`<lib-form-input>` is a real element, `(change)` and `(input)` fired a consumer's handler twice --
|
|
59
79
|
once from the native event bubbling out of the inner control, once from the component -- and
|
|
@@ -62,17 +82,18 @@ catch the mismatch.
|
|
|
62
82
|
|
|
63
83
|
Rename the bindings in your templates:
|
|
64
84
|
|
|
65
|
-
| Before
|
|
66
|
-
|
|
|
67
|
-
| `(blur)`
|
|
68
|
-
| `(change)` | `(changed)`
|
|
69
|
-
| `(focus)`
|
|
70
|
-
| `(input)`
|
|
85
|
+
| Before | After |
|
|
86
|
+
| ---------- | ---------------- |
|
|
87
|
+
| `(blur)` | `(blurred)` |
|
|
88
|
+
| `(change)` | `(changed)` |
|
|
89
|
+
| `(focus)` | `(focused)` |
|
|
90
|
+
| `(input)` | `(inputChanged)` |
|
|
71
91
|
|
|
72
92
|
`(fixedValueChanged)` is unchanged, but its payload type is now `string` instead of `any` --
|
|
73
93
|
matching what it always emitted.
|
|
74
94
|
|
|
75
95
|
If you were relying on the double-fire, expect one call per event now instead of two.
|
|
96
|
+
|
|
76
97
|
## [1.6.2] - 2026-09-20
|
|
77
98
|
|
|
78
99
|
### Fixed
|
|
@@ -154,7 +175,7 @@ If you were relying on the double-fire, expect one call per event now instead of
|
|
|
154
175
|
The point is where the grouping lives. `region` is a label repeated on every item that belongs to
|
|
155
176
|
a group, matched by exact string equality: a typo silently splits one area into two, and the
|
|
156
177
|
area has no row of its own to carry an order or a translation. Derived from the tree, the area
|
|
157
|
-
|
|
178
|
+
_is_ a menu row — it already has a translated label and an order — and nothing has to be
|
|
158
179
|
duplicated across its items.
|
|
159
180
|
|
|
160
181
|
The children of an area are fetched **eagerly**, at load, because they are rendered without a
|
|
@@ -284,7 +305,7 @@ and want external items too, add a subscription to `menuExternalUrlSelected`.
|
|
|
284
305
|
`lib-multi-editor` now sends rows that `newData()` pre-filled but the user never edited. Nothing to do
|
|
285
306
|
if your `newData()` returns an empty object (`{}`) — the common "blank row" convention — since a
|
|
286
307
|
value-less row is still skipped and the posted batch is byte-for-byte what it was before. If your
|
|
287
|
-
`newData()`
|
|
308
|
+
`newData()` _does_ return field values, those rows now reach `saveData()` where they were previously
|
|
288
309
|
dropped, so a batch may contain entries it did not before; verify your backend rejects or defaults
|
|
289
310
|
them as you expect.
|
|
290
311
|
|
|
@@ -365,7 +386,9 @@ config options and the `getUserProfile()` method still exist but are no longer c
|
|
|
365
386
|
available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
|
|
366
387
|
`library-v*` tags.
|
|
367
388
|
|
|
368
|
-
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/library-
|
|
389
|
+
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/library-v3.0.0...HEAD
|
|
390
|
+
[3.0.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v3.0.0
|
|
391
|
+
[2.0.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v2.0.1
|
|
369
392
|
[2.0.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v2.0.0
|
|
370
393
|
[1.6.4]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.4
|
|
371
394
|
[1.6.3]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.3
|
package/README.md
CHANGED
|
@@ -17,16 +17,16 @@ npm install @zambon-dev/library
|
|
|
17
17
|
|
|
18
18
|
All peers must be present in the consuming application:
|
|
19
19
|
|
|
20
|
-
| Package
|
|
21
|
-
|
|
|
22
|
-
| `@angular/cdk`
|
|
23
|
-
| `@angular/common`
|
|
24
|
-
| `@angular/core`
|
|
25
|
-
| `@angular/forms`
|
|
26
|
-
| `@angular/router`
|
|
20
|
+
| Package | Range |
|
|
21
|
+
| --------------------- | --------- |
|
|
22
|
+
| `@angular/cdk` | `^22.0.0` |
|
|
23
|
+
| `@angular/common` | `^22.0.0` |
|
|
24
|
+
| `@angular/core` | `^22.0.0` |
|
|
25
|
+
| `@angular/forms` | `^22.0.0` |
|
|
26
|
+
| `@angular/router` | `^22.0.0` |
|
|
27
27
|
| `@ngx-translate/core` | `^16.0.4` |
|
|
28
|
-
| `ngx-resize-observer` | `^
|
|
29
|
-
| `rxjs`
|
|
28
|
+
| `ngx-resize-observer` | `^4.0.0` |
|
|
29
|
+
| `rxjs` | `^7.8.0` |
|
|
30
30
|
|
|
31
31
|
## Usage
|
|
32
32
|
|