@zambon-dev/ui 1.4.1 → 1.5.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 CHANGED
@@ -2,13 +2,17 @@
2
2
 
3
3
  All notable changes to `@zambon-dev/ui` are documented in this file.
4
4
 
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions
6
+ follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html). One exception: 1.1.0 and 1.2.0
7
+ were minor releases that carried breaking changes. From now on, a breaking change ships as a major.
7
8
 
8
9
  > **Upgrading?** Each release lists what changed and, under
9
10
  > **⚠ Breaking Changes / Migration**, the concrete steps required to move to that version.
10
11
  > When no migration is needed, that subsection is omitted.
11
12
 
13
+ Releases of the retired `@zambon-dev/library`, `@zambon-dev/framework` and `@zambon-dev/shared`
14
+ packages are listed under [Package history](#package-history) at the end.
15
+
12
16
  ## [Unreleased]
13
17
 
14
18
  ### Added
@@ -23,6 +27,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
27
 
24
28
  ### ⚠ Breaking Changes / Migration
25
29
 
30
+ ## [1.5.0] - 2026-11-08
31
+
32
+ ### Added
33
+
34
+ - **`LoginComponent` is exported from `@zambon-dev/ui/shared`.** `SharedAuthModule` still routes
35
+ to it. Import it directly to place the sign-in card in a layout of your own.
36
+ - **The package ships its license.** The npm tarball now contains the MIT `LICENSE` file.
37
+ - **The logout labels ship with the shared translations.** `Main-Logout`,
38
+ `Main-Logout-Modal-Message`, `Main-Logout-Modal-Message-Cancel` and
39
+ `Main-Logout-Modal-Message-Confirm` are in the shared top-bar translations, in English and
40
+ Portuguese. An application no longer has to define them.
41
+
42
+ ### Changed
43
+
44
+ - **The confirm and error modals' message block is styled as `.error`.** It was `.erro`. Only a
45
+ stylesheet that reached into these modals with `::ng-deep .erro` is affected.
46
+
47
+ ### Fixed
48
+
49
+ - **A multi-select grid shows its checkboxes again.** In a grid narrower than its columns, as the
50
+ multi-select modal's search pane usually is, the selection column stayed at its 1.5rem minimum
51
+ and the row's padding left the checkbox no room, so it was cut off entirely. The column is now
52
+ sized to its content. A `multiSelectSize` you set yourself is unchanged.
53
+ - **Tailwind utilities used in the package's templates are generated in your build.** Tailwind's
54
+ automatic source detection skips `node_modules`, so an application's build could miss utilities
55
+ that only the package's templates use. `theme.css` now declares the package as a source.
56
+ - **The comments in the published stylesheets name the current import path,**
57
+ `@zambon-dev/ui/styles/theme.css`, instead of the retired `@zambon-dev/shared` one.
58
+
26
59
  ## [1.4.1] - 2026-10-31
27
60
 
28
61
  ### Fixed
@@ -50,8 +83,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
50
83
  needs ZWebAPI 1.17 or later, which rebuilds the whole record; against an older backend the
51
84
  changed fields still show and the option is off.
52
85
  - **Each operation in the list says how many fields it changed.**
53
- - **`OPERATIONS_HISTORY_FIELD_LABEL` labels the audited fields.** The default turns `NomeCompleto`
54
- into "Nome completo". Provide a function to use the application's own field labels or
86
+ - **`OPERATIONS_HISTORY_FIELD_LABEL` labels the audited fields.** The default turns `FullName`
87
+ into "Full name". Provide a function to use the application's own field labels or
55
88
  translation keys.
56
89
 
57
90
  ### Deprecated
@@ -126,10 +159,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
126
159
  rows every stripe swapped -- on a long list, constantly. It now follows each row's index in the
127
160
  data.
128
161
 
129
- ### ⚠ Breaking Changes / Migration
130
-
131
- - None.
132
-
133
162
  ## [1.2.0] - 2026-10-27
134
163
 
135
164
  ### Added
@@ -231,10 +260,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
231
260
  always hidden behind the backdrop. When a photograph is set, the footer under the card now gets a
232
261
  glass surface, so its text stays readable over the picture.
233
262
 
234
- ### ⚠ Breaking Changes / Migration
235
-
236
- - None.
237
-
238
263
  ## [1.1.0] - 2026-10-25
239
264
 
240
265
  ### Added
@@ -716,7 +741,7 @@ UI components, directives, pipes and the data-grid services. Published as `@zamb
716
741
 
717
742
  - **A menu with children no longer runs its label under the expand chevron.** The chevron and the
718
743
  external-link glyph sit in an absolute slot at the row's right edge, outside the anchor's flow,
719
- so nothing reserved room for them: "Fluxo de delegação" overlapped the chevron by 11px. The row
744
+ so nothing reserved room for them: "Delegation workflow" overlapped the chevron by 11px. The row
720
745
  reserves the slot now and the anchor fills what is left, so a long label ellipsises before it.
721
746
 
722
747
  Rows with one of those glyphs give up the fixed anchor width to do this, so their label reflows
@@ -1537,8 +1562,8 @@ Tabbed navigation, view scaffolding, ribbon buttons and modals. Published as `@z
1537
1562
 
1538
1563
  - **A record’s non-form views can render their edit button again.** `framework-button-edit` asks
1539
1564
  for `FormService` and `DataProviderService` together, and the details shell provided only the
1540
- second — so a child list routed as its own view (Aplicações → Visões → Business Places, Centros
1541
- de Custo) threw `NG0201: No provider found for FormService` before it rendered at all. The shell
1565
+ second — so a child list routed as its own view (Applications → Views → Business Places, Cost
1566
+ Centers) threw `NG0201: No provider found for FormService` before it rendered at all. The shell
1542
1567
  provides one now; a form view’s own provider still shadows it, so forms are unchanged.
1543
1568
 
1544
1569
  - **The breadcrumbs no longer sit further from the ribbon than the ribbon does from its content.**
@@ -2712,3 +2737,15 @@ URL) in `AppConfig`, and implement a hub that pushes the notification list to cl
2712
2737
  - Baseline release: the changelog starts being tracked from this version. Earlier history is
2713
2738
  available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
2714
2739
  `shared-v*` tags.
2740
+
2741
+ [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.5.0...HEAD
2742
+ [1.5.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.5.0
2743
+ [1.4.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.4.1
2744
+ [1.4.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.4.0
2745
+ [1.3.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.3.0
2746
+ [1.2.2]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.2.2
2747
+ [1.2.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.2.1
2748
+ [1.2.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.2.0
2749
+ [1.1.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.1.1
2750
+ [1.1.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.1.0
2751
+ [1.0.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.0.0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Ricardo Zambon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,81 +1,82 @@
1
1
  # @zambon-dev/ui
2
2
 
3
- Angular UI components, an application shell and a shared application layer for Zambon
4
- applications, in one package on one version.
3
+ [![npm version](https://img.shields.io/npm/v/@zambon-dev/ui)](https://www.npmjs.com/package/@zambon-dev/ui)
4
+ [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/RicardoZambon/ZLibraries/blob/main/libs/ui/LICENSE)
5
+ [![docs](https://img.shields.io/badge/docs-ricardozambon.github.io-blue)](https://ricardozambon.github.io/ZLibraries/)
5
6
 
6
- The three layers are separate entry points, and they stack one way: `shared` builds on
7
- `framework`, `framework` builds on `library`, and `library` builds on neither.
7
+ Angular 22 components and a complete application shell, in one package. Use the form controls, data grid, modals and ribbon on their own, or take the whole shell: sidebar, top bar, tabbed navigation, sign-in and audit history. Everything is themed with Tailwind CSS 4 design tokens, has a dark theme, and renders under OnPush and zoneless change detection.
8
8
 
9
- | Import | What is in it |
10
- | -------------------------- | ------------------------------------------------------------- |
11
- | `@zambon-dev/ui` | all three layers |
12
- | `@zambon-dev/ui/library` | form controls, data grids, modals, the ribbon and the sidebar |
13
- | `@zambon-dev/ui/framework` | tabbed navigation, view base classes, ribbon buttons |
14
- | `@zambon-dev/ui/shared` | authentication, layouts, audit-history features |
15
- | `@zambon-dev/ui/testing` | a test harness for rendering under an OnPush ancestor |
9
+ ## Entry points
16
10
 
17
- Importing a layer directly keeps the dependency honest and the bundle smaller; importing the root
18
- is fine where the layer does not matter.
11
+ | Import | What is in it |
12
+ | -------------------------- | ---------------------------------------------------------------------------------------- |
13
+ | `@zambon-dev/ui/library` | Form controls, data grid, modal, multi-select and multi-editor, ribbon, sidebar, button. |
14
+ | `@zambon-dev/ui/framework` | Tabbed navigation, view base classes, ribbon action buttons, confirm and error modals. |
15
+ | `@zambon-dev/ui/shared` | Authentication, main and login layouts, top bar, theme, audit history. |
16
+ | `@zambon-dev/ui/testing` | A harness that renders a component under an OnPush ancestor, for your tests. |
17
+ | `@zambon-dev/ui` | All of `library`, `framework` and `shared`. |
19
18
 
20
- ## Install
19
+ Selectors keep their layer's prefix: `lib-` for library, `framework-` for framework, `shared-` for shared.
20
+
21
+ The library and the framework both export a `ButtonComponent`. From the root import, `ButtonComponent` is the framework button, and the library button is `LibButtonComponent`. Import from `@zambon-dev/ui/library` to get the library button under its own name.
22
+
23
+ ## Quick start
24
+
25
+ Install the package. npm 7 and later install the peer dependencies too.
21
26
 
22
27
  ```bash
23
28
  npm i @zambon-dev/ui
29
+ npm i -D tailwindcss @tailwindcss/postcss @tailwindcss/forms
30
+ npm i @fortawesome/fontawesome-free
24
31
  ```
25
32
 
26
- Peer dependencies are the union of what the three layers need, and all are required:
27
- `@angular/cdk`, `@angular/common`, `@angular/core`, `@angular/forms`, `@angular/platform-browser`,
28
- `@angular/router`, `@auth0/angular-jwt`, `@microsoft/signalr`, `@ngx-translate/core`,
29
- `ngx-resize-observer`, `ngx-translate-multi-http-loader` and `rxjs`. Angular 22 or later.
33
+ Add a `.postcssrc.json` at the workspace root:
30
34
 
31
- **Coming from the three separate packages?** See
32
- [the migration guide](../../docs/guides/migrating-to-ui.md).
33
-
34
- ## Styles
35
+ ```json
36
+ { "plugins": { "@tailwindcss/postcss": {} } }
37
+ ```
35
38
 
36
- Each stylesheet is named by its own subpath:
39
+ Add the global styles to `angular.json`, in this order:
37
40
 
38
- ```scss
39
- @use '@zambon-dev/ui/styles/variables.scss';
40
- @use '@zambon-dev/ui/styles/common.scss';
41
+ ```json
42
+ "styles": [
43
+ "@fortawesome/fontawesome-free/css/all.css",
44
+ "@zambon-dev/ui/styles/theme.css",
45
+ "@zambon-dev/ui/styles/common.scss",
46
+ "src/styles.css"
47
+ ]
41
48
  ```
42
49
 
43
- `@zambon-dev/ui/styles/theme.css` is the Tailwind entry point and carries the design tokens. An
44
- application that uses the components' Tailwind utilities needs it in its own build.
50
+ Render a component:
45
51
 
46
- ## Translations
52
+ ```ts
53
+ import { Component } from '@angular/core';
54
+ import { ButtonComponent } from '@zambon-dev/ui/library';
47
55
 
48
- The shipped translation files live under `i18n/framework` and `i18n/shared`. Spread the exported
49
- asset patterns into your build rather than writing the paths out:
50
-
51
- ```typescript
52
- import { ZAMBON_FRAMEWORK_I18N_ASSET, provideZambonFrameworkTranslateService } from '@zambon-dev/ui/framework';
53
- import { ZAMBON_SHARED_I18N_ASSET } from '@zambon-dev/ui/shared';
56
+ @Component({
57
+ selector: 'app-root',
58
+ imports: [ButtonComponent],
59
+ template: `<lib-button intent="primary" icon="fa-solid fa-floppy-disk">Save</lib-button>`,
60
+ })
61
+ export class App {}
54
62
  ```
55
63
 
56
- ## Selectors
57
-
58
- Each layer kept the prefix it published under, so a selector still says which layer it came from:
59
- `<lib-*>` for library, `<framework-*>` for framework, `<shared-*>` for shared.
60
-
61
- ## Development
64
+ The [getting started guide](https://github.com/RicardoZambon/ZLibraries/blob/main/docs/guides/getting-started.md) covers the providers for the data grid and forms, and the full application shell.
62
65
 
63
- ```bash
64
- npx nx build ui # production package into dist/libs/ui
65
- npx nx test ui # Jest
66
- npx nx lint ui # ESLint
67
- npx nx storybook ui # Storybook on :4400
68
- ```
66
+ ## Documentation
69
67
 
70
- Every change under `src/` needs an entry under `## [Unreleased]` in `CHANGELOG.md`; CI enforces
71
- it. The release pipeline stamps the version — do not write it yourself.
68
+ - [Documentation site](https://ricardozambon.github.io/ZLibraries/)
69
+ - [Getting started](https://github.com/RicardoZambon/ZLibraries/blob/main/docs/guides/getting-started.md)
70
+ - [Theming and design tokens](https://github.com/RicardoZambon/ZLibraries/blob/main/docs/guides/design-tokens.md)
71
+ - [Internationalization](https://github.com/RicardoZambon/ZLibraries/blob/main/docs/guides/internationalization.md)
72
+ - [Changelog](https://github.com/RicardoZambon/ZLibraries/blob/main/libs/ui/CHANGELOG.md)
73
+ - [Migrating from the separate packages](https://github.com/RicardoZambon/ZLibraries/blob/main/docs/guides/migrating-to-ui.md)
74
+ - [Issues](https://github.com/RicardoZambon/ZLibraries/issues)
72
75
 
73
- ## Layering
76
+ ## Compatibility
74
77
 
75
- The one-way rule is enforced by `no-restricted-imports` overrides in `eslint.config.mjs`, which
76
- reject both the published subpath and the equivalent relative path. As three packages the rule
77
- held because npm cannot express a cycle; inside one package only the lint rule holds it.
78
+ Angular 22. The Angular peer range is `^22.0.0`.
78
79
 
79
80
  ## License
80
81
 
81
- MIT © Ricardo Zambon
82
+ [MIT](https://github.com/RicardoZambon/ZLibraries/blob/main/libs/ui/LICENSE) © Ricardo Zambon
@@ -948,8 +948,8 @@ var ConfirmModalComponent = class ConfirmModalComponent {
948
948
  isSignal: true
949
949
  }],
950
950
  ngImport: i0,
951
- template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Cancel' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n>\n <div body>\n @if (hasMessage) {\n <div class=\"message\">\n @if (showMessageIcon()) {\n <i class=\"fa-3x\" [ngClass]=\"[messageIcon(), messageIconColor()]\"></i>\n }\n <h4 [innerHTML]=\"message() | translate\"></h4>\n </div>\n }\n\n <ng-content></ng-content>\n\n @if (hasErrorMessage) {\n <div class=\"erro\">\n <h4>{{ errorMessage() | translate }}</h4>\n <span>{{ 'Modal-Failed-Administrator' | translate }}</span>\n </div>\n }\n </div>\n <div footer>\n <ng-content select=\"[footer]\"></ng-content>\n </div>\n</lib-modal>\n",
952
- styles: ["@layer properties;:host{display:contents}.message{display:flex;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}.message h4{flex-grow:1;text-align:justify}.erro{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:calc(var(--spacing, .25rem) * 3);margin-bottom:calc(var(--spacing, .25rem) * -4);padding:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.erro h4{--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700)}.erro span{margin-top:var(--spacing, .25rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
951
+ template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Cancel' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n>\n <div body>\n @if (hasMessage) {\n <div class=\"message\">\n @if (showMessageIcon()) {\n <i class=\"fa-3x\" [ngClass]=\"[messageIcon(), messageIconColor()]\"></i>\n }\n <h4 [innerHTML]=\"message() | translate\"></h4>\n </div>\n }\n\n <ng-content></ng-content>\n\n @if (hasErrorMessage) {\n <div class=\"error\">\n <h4>{{ errorMessage() | translate }}</h4>\n <span>{{ 'Modal-Failed-Administrator' | translate }}</span>\n </div>\n }\n </div>\n <div footer>\n <ng-content select=\"[footer]\"></ng-content>\n </div>\n</lib-modal>\n",
952
+ styles: ["@layer properties;:host{display:contents}.message{display:flex;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}.message h4{flex-grow:1;text-align:justify}.error{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:calc(var(--spacing, .25rem) * 3);margin-bottom:calc(var(--spacing, .25rem) * -4);padding:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.error h4{--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700)}.error span{margin-top:var(--spacing, .25rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
953
953
  dependencies: [
954
954
  {
955
955
  kind: "component",
@@ -997,8 +997,8 @@ i0.ɵɵngDeclareClassMetadata({
997
997
  NgClass,
998
998
  TranslatePipe
999
999
  ],
1000
- template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Cancel' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n>\n <div body>\n @if (hasMessage) {\n <div class=\"message\">\n @if (showMessageIcon()) {\n <i class=\"fa-3x\" [ngClass]=\"[messageIcon(), messageIconColor()]\"></i>\n }\n <h4 [innerHTML]=\"message() | translate\"></h4>\n </div>\n }\n\n <ng-content></ng-content>\n\n @if (hasErrorMessage) {\n <div class=\"erro\">\n <h4>{{ errorMessage() | translate }}</h4>\n <span>{{ 'Modal-Failed-Administrator' | translate }}</span>\n </div>\n }\n </div>\n <div footer>\n <ng-content select=\"[footer]\"></ng-content>\n </div>\n</lib-modal>\n",
1001
- styles: ["@layer properties;:host{display:contents}.message{display:flex;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}.message h4{flex-grow:1;text-align:justify}.erro{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:calc(var(--spacing, .25rem) * 3);margin-bottom:calc(var(--spacing, .25rem) * -4);padding:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.erro h4{--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700)}.erro span{margin-top:var(--spacing, .25rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
1000
+ template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Cancel' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n>\n <div body>\n @if (hasMessage) {\n <div class=\"message\">\n @if (showMessageIcon()) {\n <i class=\"fa-3x\" [ngClass]=\"[messageIcon(), messageIconColor()]\"></i>\n }\n <h4 [innerHTML]=\"message() | translate\"></h4>\n </div>\n }\n\n <ng-content></ng-content>\n\n @if (hasErrorMessage) {\n <div class=\"error\">\n <h4>{{ errorMessage() | translate }}</h4>\n <span>{{ 'Modal-Failed-Administrator' | translate }}</span>\n </div>\n }\n </div>\n <div footer>\n <ng-content select=\"[footer]\"></ng-content>\n </div>\n</lib-modal>\n",
1001
+ styles: ["@layer properties;:host{display:contents}.message{display:flex;align-items:center;gap:calc(var(--spacing, .25rem) * 3)}.message h4{flex-grow:1;text-align:justify}.error{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:calc(var(--spacing, .25rem) * 3);margin-bottom:calc(var(--spacing, .25rem) * -4);padding:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.error h4{--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700)}.error span{margin-top:var(--spacing, .25rem);font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
1002
1002
  }]
1003
1003
  }],
1004
1004
  propDecorators: {
@@ -1154,8 +1154,8 @@ var ErrorModalComponent = class ErrorModalComponent {
1154
1154
  isSignal: true
1155
1155
  }],
1156
1156
  ngImport: i0,
1157
- template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Close' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n (closed)=\"closed.emit()\"\n>\n <div body>\n <div class=\"erro\">\n <h4>{{ errorMessage() | translate }}</h4>\n @if (subtitle()) {\n <span>{{ subtitle() | translate }}</span>\n }\n </div>\n </div>\n</lib-modal>\n",
1158
- styles: ["@layer properties;:host{display:contents}.erro{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:-1.1rem;margin-bottom:calc(var(--spacing, .25rem) * -4);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.erro h4{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700);white-space:pre-line}.erro span{margin-top:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
1157
+ template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Close' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n (closed)=\"closed.emit()\"\n>\n <div body>\n <div class=\"error\">\n <h4>{{ errorMessage() | translate }}</h4>\n @if (subtitle()) {\n <span>{{ subtitle() | translate }}</span>\n }\n </div>\n </div>\n</lib-modal>\n",
1158
+ styles: ["@layer properties;:host{display:contents}.error{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:-1.1rem;margin-bottom:calc(var(--spacing, .25rem) * -4);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.error h4{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700);white-space:pre-line}.error span{margin-top:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
1159
1159
  dependencies: [{
1160
1160
  kind: "component",
1161
1161
  type: ModalComponent,
@@ -1190,8 +1190,8 @@ i0.ɵɵngDeclareClassMetadata({
1190
1190
  args: [{
1191
1191
  selector: "framework-error-modal",
1192
1192
  imports: [ModalComponent, TranslatePipe],
1193
- template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Close' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n (closed)=\"closed.emit()\"\n>\n <div body>\n <div class=\"erro\">\n <h4>{{ errorMessage() | translate }}</h4>\n @if (subtitle()) {\n <span>{{ subtitle() | translate }}</span>\n }\n </div>\n </div>\n</lib-modal>\n",
1194
- styles: ["@layer properties;:host{display:contents}.erro{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:-1.1rem;margin-bottom:calc(var(--spacing, .25rem) * -4);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.erro h4{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700);white-space:pre-line}.erro span{margin-top:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
1193
+ template: "<lib-modal\n position=\"top\"\n [closeButtonText]=\"'Button-Modal-Close' | translate\"\n [size]=\"size()\"\n [title]=\"title() | translate\"\n (closed)=\"closed.emit()\"\n>\n <div body>\n <div class=\"error\">\n <h4>{{ errorMessage() | translate }}</h4>\n @if (subtitle()) {\n <span>{{ subtitle() | translate }}</span>\n }\n </div>\n </div>\n</lib-modal>\n",
1194
+ styles: ["@layer properties;:host{display:contents}.error{margin-inline:calc(var(--spacing, .25rem) * -4);margin-top:-1.1rem;margin-bottom:calc(var(--spacing, .25rem) * -4);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-top-style:var(--tw-border-style);border-top-width:1px;border-top-color:var(--color-gray-300, oklch(87.2% .01 258.338));background-color:var(--color-red-500, oklch(63.7% .237 25.331));color:var(--color-white, #fff)}.error h4{font-size:var(--text-sm, .875rem);line-height:var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));--tw-font-weight: var(--font-weight-bold, 700);font-weight:var(--font-weight-bold, 700);white-space:pre-line}.error span{margin-top:var(--spacing, .25rem);font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)))}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-font-weight: initial}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
1195
1195
  }]
1196
1196
  }],
1197
1197
  propDecorators: {