@zambon-dev/ui 1.12.2 → 1.13.1
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 +41 -1
- package/fesm2022/zambon-dev-ui-framework.mjs +2 -1
- package/fesm2022/zambon-dev-ui-framework.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-library.mjs +98 -7
- package/fesm2022/zambon-dev-ui-library.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-shared.mjs +2 -2
- package/fesm2022/zambon-dev-ui-shared.mjs.map +1 -1
- package/i18n/framework/en.json +1 -0
- package/i18n/framework/pt.json +1 -0
- package/package.json +1 -1
- package/types/zambon-dev-ui-library.d.ts +96 -0
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,44 @@ packages are listed under [Package history](#package-history) at the end.
|
|
|
27
27
|
|
|
28
28
|
### ⚠ Breaking Changes / Migration
|
|
29
29
|
|
|
30
|
+
## [1.13.1] - 2026-12-06
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- **Importing anything from `@zambon-dev/ui/shared` pulled unused components into an app.** The
|
|
35
|
+
`externalContentRoutes` table looked like it had side effects, so bundlers kept it, and with it
|
|
36
|
+
the external content page, the tab view, the ribbon and the data grid. A test app that imports
|
|
37
|
+
only `ThemeSwitchComponent` went from 396 kB to 230 kB before compression. The table itself is
|
|
38
|
+
unchanged.
|
|
39
|
+
- **Safari searched the data grid with a half-written word.** The Enter that ends an IME
|
|
40
|
+
composition, as in Japanese or Chinese input, ran the quick search there. It no longer does.
|
|
41
|
+
|
|
42
|
+
## [1.13.0] - 2026-12-06
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- **Sorting and quick search in the data grid.** Two settings, both done by your API:
|
|
47
|
+
- `sortable: true` makes each heading a button that sorts by the column, ascending, then
|
|
48
|
+
descending, then not at all. `getData` receives `sort: { [field]: 'asc' | 'desc' }`. A column
|
|
49
|
+
sorts by its `field` with the dot path flattened, so `customer.name` sorts by `customerName`,
|
|
50
|
+
or by the new `sortField`; `sortable: false` on a column opts it out. The headings carry
|
|
51
|
+
`aria-sort`.
|
|
52
|
+
- `quickSearch: true` adds a search box to the toolbar. Once typing pauses, or on Enter,
|
|
53
|
+
`getData` receives `search`, the trimmed text. `quickSearchText` names it; the framework's
|
|
54
|
+
provider uses the new `Grid-Search` key.
|
|
55
|
+
- The dataset holds the current `sort` and `search`, and `setSort` and `setSearch` change them
|
|
56
|
+
from code. Each change reloads from the first block and keeps the filters, and drops a request
|
|
57
|
+
still in flight. A grid that waits for its first load keeps them for that load.
|
|
58
|
+
- ZWebAPI's list helpers apply both from the release that adds them,
|
|
59
|
+
[RicardoZambon/ZWebAPI#35](https://github.com/RicardoZambon/ZWebAPI/pull/35). Without either
|
|
60
|
+
setting, the grid sends the same request as before.
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
|
|
64
|
+
- **A reload during a load kept the old rows.** `setFilters`, `refresh` or a new `parentEntityId`
|
|
65
|
+
while a block was still loading was skipped, and that block's answer stayed on screen. The load
|
|
66
|
+
in flight is now dropped and the grid loads again with the new request.
|
|
67
|
+
|
|
30
68
|
## [1.12.2] - 2026-12-06
|
|
31
69
|
|
|
32
70
|
### Changed
|
|
@@ -2941,7 +2979,9 @@ URL) in `AppConfig`, and implement a hub that pushes the notification list to cl
|
|
|
2941
2979
|
available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
|
|
2942
2980
|
`shared-v*` tags.
|
|
2943
2981
|
|
|
2944
|
-
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.
|
|
2982
|
+
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.13.1...HEAD
|
|
2983
|
+
[1.13.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.13.1
|
|
2984
|
+
[1.13.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.13.0
|
|
2945
2985
|
[1.12.2]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.12.2
|
|
2946
2986
|
[1.12.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.12.0
|
|
2947
2987
|
[1.11.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.11.1
|
|
@@ -5664,7 +5664,8 @@ var FrameworkGridConfigsProvider = class FrameworkGridConfigsProvider extends Da
|
|
|
5664
5664
|
resetColumnsText: "Grid-ResetColumns",
|
|
5665
5665
|
resizeColumnText: "Grid-ResizeColumn",
|
|
5666
5666
|
copiedText: "Grid-Copied",
|
|
5667
|
-
copiedRowText: "Grid-CopiedRow"
|
|
5667
|
+
copiedRowText: "Grid-CopiedRow",
|
|
5668
|
+
quickSearchText: "Grid-Search"
|
|
5668
5669
|
});
|
|
5669
5670
|
}
|
|
5670
5671
|
static ɵfac = i0.ɵɵngDeclareFactory({
|