@anguless/angulux 22.0.0-rc.0 → 22.1.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.
Files changed (98) hide show
  1. package/README.md +284 -0
  2. package/fesm2022/anguless-angulux-api.mjs +20 -62
  3. package/fesm2022/anguless-angulux-api.mjs.map +1 -1
  4. package/fesm2022/anguless-angulux-button.mjs +25 -56
  5. package/fesm2022/anguless-angulux-button.mjs.map +1 -1
  6. package/fesm2022/anguless-angulux-card.mjs +33 -93
  7. package/fesm2022/anguless-angulux-card.mjs.map +1 -1
  8. package/fesm2022/anguless-angulux-checkbox.mjs +9 -29
  9. package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -1
  10. package/fesm2022/anguless-angulux-chip.mjs +11 -31
  11. package/fesm2022/anguless-angulux-chip.mjs.map +1 -1
  12. package/fesm2022/anguless-angulux-confirmdialog.mjs +43 -108
  13. package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -1
  14. package/fesm2022/anguless-angulux-datepicker.mjs +95 -203
  15. package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -1
  16. package/fesm2022/anguless-angulux-dialog.mjs +41 -105
  17. package/fesm2022/anguless-angulux-dialog.mjs.map +1 -1
  18. package/fesm2022/anguless-angulux-drawer.mjs +25 -73
  19. package/fesm2022/anguless-angulux-drawer.mjs.map +1 -1
  20. package/fesm2022/anguless-angulux-fileupload.mjs +71 -147
  21. package/fesm2022/anguless-angulux-fileupload.mjs.map +1 -1
  22. package/fesm2022/anguless-angulux-inputnumber.mjs +29 -60
  23. package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -1
  24. package/fesm2022/anguless-angulux-menu.mjs +24 -74
  25. package/fesm2022/anguless-angulux-menu.mjs.map +1 -1
  26. package/fesm2022/anguless-angulux-message.mjs +21 -52
  27. package/fesm2022/anguless-angulux-message.mjs.map +1 -1
  28. package/fesm2022/anguless-angulux-multiselect.mjs +91 -236
  29. package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
  30. package/fesm2022/anguless-angulux-overlay.mjs +9 -30
  31. package/fesm2022/anguless-angulux-overlay.mjs.map +1 -1
  32. package/fesm2022/anguless-angulux-paginator.mjs +48 -94
  33. package/fesm2022/anguless-angulux-paginator.mjs.map +1 -1
  34. package/fesm2022/anguless-angulux-password.mjs +34 -89
  35. package/fesm2022/anguless-angulux-password.mjs.map +1 -1
  36. package/fesm2022/anguless-angulux-popover.mjs +7 -24
  37. package/fesm2022/anguless-angulux-popover.mjs.map +1 -1
  38. package/fesm2022/anguless-angulux-progressbar.mjs +9 -28
  39. package/fesm2022/anguless-angulux-progressbar.mjs.map +1 -1
  40. package/fesm2022/anguless-angulux-scroller.mjs +27 -68
  41. package/fesm2022/anguless-angulux-scroller.mjs.map +1 -1
  42. package/fesm2022/anguless-angulux-select.mjs +73 -213
  43. package/fesm2022/anguless-angulux-select.mjs.map +1 -1
  44. package/fesm2022/anguless-angulux-selectbutton.mjs +9 -26
  45. package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -1
  46. package/fesm2022/anguless-angulux-splitbutton.mjs +14 -41
  47. package/fesm2022/anguless-angulux-splitbutton.mjs.map +1 -1
  48. package/fesm2022/anguless-angulux-table.mjs +251 -557
  49. package/fesm2022/anguless-angulux-table.mjs.map +1 -1
  50. package/fesm2022/anguless-angulux-tabs.mjs +14 -38
  51. package/fesm2022/anguless-angulux-tabs.mjs.map +1 -1
  52. package/fesm2022/anguless-angulux-tag.mjs +11 -28
  53. package/fesm2022/anguless-angulux-tag.mjs.map +1 -1
  54. package/fesm2022/anguless-angulux-tieredmenu.mjs +16 -43
  55. package/fesm2022/anguless-angulux-tieredmenu.mjs.map +1 -1
  56. package/fesm2022/anguless-angulux-timeline.mjs +15 -46
  57. package/fesm2022/anguless-angulux-timeline.mjs.map +1 -1
  58. package/fesm2022/anguless-angulux-toast.mjs +12 -37
  59. package/fesm2022/anguless-angulux-toast.mjs.map +1 -1
  60. package/fesm2022/anguless-angulux-togglebutton.mjs +14 -41
  61. package/fesm2022/anguless-angulux-togglebutton.mjs.map +1 -1
  62. package/fesm2022/anguless-angulux-toggleswitch.mjs +9 -29
  63. package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -1
  64. package/fesm2022/anguless-angulux-treetable.mjs +173 -372
  65. package/fesm2022/anguless-angulux-treetable.mjs.map +1 -1
  66. package/package.json +5 -5
  67. package/types/anguless-angulux-api.d.ts +17 -21
  68. package/types/anguless-angulux-button.d.ts +6 -12
  69. package/types/anguless-angulux-card.d.ts +8 -17
  70. package/types/anguless-angulux-checkbox.d.ts +4 -8
  71. package/types/anguless-angulux-chip.d.ts +4 -8
  72. package/types/anguless-angulux-confirmdialog.d.ts +19 -29
  73. package/types/anguless-angulux-datepicker.d.ts +27 -42
  74. package/types/anguless-angulux-dialog.d.ts +10 -20
  75. package/types/anguless-angulux-drawer.d.ts +8 -16
  76. package/types/anguless-angulux-fileupload.d.ts +27 -38
  77. package/types/anguless-angulux-inputnumber.d.ts +6 -12
  78. package/types/anguless-angulux-menu.d.ts +27 -39
  79. package/types/anguless-angulux-message.d.ts +6 -12
  80. package/types/anguless-angulux-multiselect.d.ts +20 -41
  81. package/types/anguless-angulux-overlay.d.ts +4 -7
  82. package/types/anguless-angulux-paginator.d.ts +17 -25
  83. package/types/anguless-angulux-password.d.ts +30 -38
  84. package/types/anguless-angulux-popover.d.ts +4 -7
  85. package/types/anguless-angulux-progressbar.d.ts +4 -8
  86. package/types/anguless-angulux-scroller.d.ts +7 -13
  87. package/types/anguless-angulux-select.d.ts +16 -49
  88. package/types/anguless-angulux-selectbutton.d.ts +4 -8
  89. package/types/anguless-angulux-splitbutton.d.ts +17 -21
  90. package/types/anguless-angulux-table.d.ts +42 -93
  91. package/types/anguless-angulux-tabs.d.ts +4 -9
  92. package/types/anguless-angulux-tag.d.ts +4 -8
  93. package/types/anguless-angulux-tieredmenu.d.ts +5 -9
  94. package/types/anguless-angulux-timeline.d.ts +5 -11
  95. package/types/anguless-angulux-toast.d.ts +22 -26
  96. package/types/anguless-angulux-togglebutton.d.ts +5 -11
  97. package/types/anguless-angulux-toggleswitch.d.ts +4 -8
  98. package/types/anguless-angulux-treetable.d.ts +40 -62
package/README.md ADDED
@@ -0,0 +1,284 @@
1
+ # angulux
2
+
3
+ **A curated Angular 22 UI component library, forked from the last MIT release of PrimeNG (21.1.9), with the MIT provenance proven by machine rather than asserted in prose.**
4
+
5
+ [![CI](https://github.com/anguless-com/angulux/actions/workflows/ci.yml/badge.svg)](https://github.com/anguless-com/angulux/actions/workflows/ci.yml)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
7
+ [![npm](https://img.shields.io/npm/v/angulux.svg)](https://www.npmjs.com/package/angulux)
8
+ [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/anguless-com/angulux/badge)](https://scorecard.dev/viewer/?uri=github.com/anguless-com/angulux)
9
+
10
+ ```bash
11
+ npm install @anguless/angulux @primeuix/themes
12
+ ```
13
+
14
+ ```ts
15
+ import { provideAngulux } from '@anguless/angulux/config';
16
+ import Aura from '@primeuix/themes/aura';
17
+
18
+ bootstrapApplication(App, {
19
+ providers: [provideAngulux({ theme: { preset: Aura } })]
20
+ });
21
+ ```
22
+
23
+ **Why the second package.** angulux ships no theme presets of its own, so the preset comes
24
+ from `@primeuix/themes` — PrimeTek's, and MIT through `2.0.3`. angulux itself still installs
25
+ with **zero PrimeTek packages** in its dependency tree; drop the second package and
26
+ `provideAngulux()` runs unstyled but works.
27
+
28
+ It is declared as an **optional** peer ranged `^2.0.0`, and the ceiling is deliberate:
29
+ `3.0.0` is the first commercial release. Be clear about what that buys you — a peer range is
30
+ a *warning*, not a lock. `npm install @primeuix/themes@3` still succeeds; it just prints an
31
+ `ERESOLVE` warning naming the range it broke. That is enough for the case that actually
32
+ happens (a routine `npm update`, or an agent bumping dependencies, sliding across a license
33
+ boundary in silence) and it is not enough for anything else. If the boundary matters to you,
34
+ pin the version exactly and run a licence guard in your own build. That gate is published as
35
+ its own MIT package, [`angulux-license-guard`](packages/angulux-license-guard) — it reads your
36
+ lockfile, fails closed on any PrimeTek package it cannot verify, and has no dependencies of
37
+ its own. It works in any project; it does not require angulux.
38
+
39
+ ---
40
+
41
+ ## Read this part first
42
+
43
+ angulux is **not** a drop-in replacement for PrimeNG, and it is **not** trying to be the
44
+ community's continuation of it. Three facts decide whether you should keep reading:
45
+
46
+ 1. **It ships 64 of PrimeNG's 117 modules.** Editor, Tree, OrganizationChart, PickList,
47
+ OrderList, Listbox and 47 others are not ported — all 53 are listed in
48
+ [`packages/angulux/attic/`](packages/angulux/attic/). See
49
+ [What angulux is NOT](#what-angulux-is-not).
50
+ 2. **Selectors were renamed.** `p-button` is `agl-button`, `pTooltip` is `aglTooltip`.
51
+ CSS class names (`p-*`) were deliberately kept — see [NOTICE](NOTICE) for why.
52
+ 3. **Bus factor is 1.** One maintainer, a permanent obligation of two Angular majors per
53
+ year. MIT, best-effort, **no SLA**. If that is disqualifying for you, it should be.
54
+
55
+ If what you need is "I run PrimeNG 21 and I want to keep going with minimal change", the
56
+ honest answer is that [Optimus UI](https://github.com/openng-org/optimus-ui) fits that
57
+ better than angulux does: it keeps the `p-*` selectors and carries the full module set.
58
+ We would rather tell you that here than collect an issue about it later.
59
+
60
+ ## Why angulux exists
61
+
62
+ PrimeNG 22 moved to a commercial license. Every release up to and including **21.1.9** was
63
+ published under MIT and stays MIT permanently — that is what a published license grant
64
+ means. angulux is a fork taken at that boundary, for teams whose blocker is **control and
65
+ legal certainty**, not price.
66
+
67
+ The interesting part is not the fork. It is that the boundary is enforced by machine.
68
+
69
+ ## The three things that are actually different
70
+
71
+ ### 1. Every release is machine-proven MIT
72
+
73
+ Thirteen gates run on every commit and every pull request. They do not check style — each one
74
+ closes a class of failure that has already happened in this repository.
75
+
76
+ | Gate | What it refuses to let through |
77
+ |---|---|
78
+ | `check:catalog` | a dependency version drifting off the pinned catalog |
79
+ | `check:scope` | the transitive closure drifting off the 64 warranted modules |
80
+ | `check:license` | any PrimeTek package from a post-MIT release entering the tree — and, separately, any licence-flagged material sitting in `ref/` that `PROVENANCE.md` does not declare |
81
+ | `check:names` | PrimeNG names surviving in selector, API or **trademark** positions — including inside bare strings, JSDoc links and DOM attributes |
82
+ | `check:risk-coverage` | the browser gate's scope drifting off the risky decorators computed from source |
83
+ | `check:language` | non-English text reaching a public repository |
84
+ | `check:public-tree` | internal-only paths sitting in the git index (`.gitignore` does **not** untrack) |
85
+ | `check:scope-names` | a bare `angulux`/`angulux-*` package reference surviving where the scoped `@anguless/*` name belongs |
86
+ | `check:tsup` | the bundler leaking outside the four forks' own build scripts |
87
+ | `check:action-inputs` | a workflow passing a `with:` key that its action does not declare — YAML nobody validates until it silently does nothing |
88
+ | `check:facet-single-route` | a template slot growing a second route, after the whole library was collapsed onto one `<ng-template #x>` mechanism |
89
+ | `check:corpus` | `corpus/corpus.json` drifting off the source it is generated from — a generated artifact nobody regenerates is a lie with a timestamp, and nothing else breaks when it goes stale |
90
+ | `check:gate-count` | this list going stale — the count and the gate names are re-derived from `package.json` and checked against every place they are written down |
91
+
92
+ ```bash
93
+ npm run check # all thirteen, no build needed
94
+ ```
95
+
96
+ One more gate, `check:publishable`, runs after the build rather than inside that suite: it
97
+ packs every package and reads `package.json` back **out of the tarball**, so what gets
98
+ inspected is the exact bytes npm would receive. It exists because a guard that read the
99
+ source tree instead once passed while three packages were about to publish an
100
+ uninstallable `workspace:` dependency.
101
+
102
+ Two of them — `check:license` and `check:catalog` — **also run daily on a schedule**, and
103
+ that is not redundancy. A pull-request run only proves the tree was clean *at our last
104
+ commit*, while the boundary those two enforce lives outside this repository: PrimeTek
105
+ decides which of their releases is the last MIT one, and that can change on a day when
106
+ nobody here pushes anything. The rest gate our own code, so a commit is the only
107
+ moment they can be wrong.
108
+
109
+ On top of that: `provenance/manifest.json` records SHA-256 checksums and registry publish
110
+ timestamps for every archived MIT artifact, and a browser gate renders **15 of 15**
111
+ risk-flagged decorators in a real Chromium and asserts on the result — because a green
112
+ type-check cannot see a render bug.
113
+
114
+ Current evidence, reproducible from a clean checkout:
115
+
116
+ ```
117
+ 13/13 gates exit 0
118
+ library build exit 0 · 210 entrypoints
119
+ inherited spec suite 3765 SUCCESS
120
+ browser gate 13/13 passed
121
+ runtime deps tslib + four first-party angulux-* packages. Zero PrimeTek.
122
+ ```
123
+
124
+ ### 2. Angular-latest-first, as a published commitment
125
+
126
+ The commitment is **a green build within 14 days of every Angular major RC**, verified by a
127
+ nightly job that builds against `@angular/core@next` and reports publicly. angulux's major
128
+ version is locked to Angular's major, so `angulux@22.x` targets Angular 22 and nothing else.
129
+
130
+ ### 3. 64 warranted modules instead of 117 unverified ones
131
+
132
+ Every shipped module is inside the closure that the gates cover. The other 53 live in
133
+ [`packages/angulux/attic/`](packages/angulux/attic/) — verbatim upstream source, not built,
134
+ not published, kept in the open as a roadmap. Promoting one is a well-defined contribution; see
135
+ [CONTRIBUTING.md](CONTRIBUTING.md).
136
+
137
+ ## What angulux is NOT
138
+
139
+ - **Not a drop-in replacement.** Selectors changed. A migration codemod is planned, not shipped.
140
+ - **Not feature-parity with PrimeNG.** 64 of 117 modules. Missing, among others: Editor,
141
+ Tree, TreeSelect, OrganizationChart, PickList, OrderList, Listbox, Terminal, Dock.
142
+ (TreeTable **is** shipped; Tree is not.)
143
+ - **Not affiliated with PrimeTek or Google.** See [NOTICE](NOTICE).
144
+ - **Not a supported product.** MIT, best-effort, no SLA, no response-time promise.
145
+ - **Not a fork made in anger.** PrimeTek gave the community ten years of MIT work and
146
+ confirmed that past MIT releases stay MIT. This project exists because of that grant,
147
+ not in spite of it. Keep that tone in issues and pull requests.
148
+
149
+ ## Requirements
150
+
151
+ | | |
152
+ |---|---|
153
+ | Angular | `^22.0.0` |
154
+ | TypeScript | `6.0.x` (Angular 22's compiler requires `>=6.0 <6.1`) |
155
+ | Node | `>=22` |
156
+ | Package manager | pnpm 9.6.0 (via corepack) for development; any manager to consume |
157
+
158
+ `chart.js` is an optional peer, needed only by the chart module. There is no
159
+ `@angular/cdk` peer — it was dropped on purpose; nothing in the warranted closure needs it.
160
+
161
+ ## Packages
162
+
163
+ | Package | Version | Purpose |
164
+ |---|---|---|
165
+ | [`angulux`](packages/angulux) | `22.x` | the component library — major locked to Angular's major |
166
+ | [`angulux-styled`](packages/angulux-styled) | `1.x` | style engine, forked from `@primeuix/styled` |
167
+ | [`angulux-utils`](packages/angulux-utils) | `1.x` | DOM/object utilities, forked from `@primeuix/utils` |
168
+ | [`angulux-styles`](packages/angulux-styles) | `1.x` | base style definitions |
169
+ | [`angulux-motion`](packages/angulux-motion) | `1.x` | animation primitives |
170
+
171
+ The four forked packages version **independently on `1.x`** — they do not depend on Angular,
172
+ so locking them to Angular's major would be a lie about their compatibility.
173
+
174
+ ## Development
175
+
176
+ ```bash
177
+ corepack pnpm install
178
+ npm run check # the 13 gates
179
+
180
+ # the four forked packages build BEFORE the library — dependency order matters
181
+ for p in utils styled motion styles; do
182
+ (cd packages/angulux-$p && corepack pnpm run build)
183
+ done
184
+
185
+ corepack pnpm --filter angulux run build # → 210 entrypoints
186
+ corepack pnpm --filter angulux run test:unit # → 3765 specs
187
+ corepack pnpm --filter @angulux/verify run build
188
+ npx playwright test --config e2e/playwright.config.ts # browser gate → 13/13
189
+ ```
190
+
191
+ `pnpm` runs through corepack and is not on `PATH`; use `corepack pnpm`. Karma needs
192
+ `CHROME_BIN` set if Chrome is not at the default location.
193
+
194
+ ## Documentation for AI assistants
195
+
196
+ Angulux is new, so no model has seen it. Ask an assistant about it and it will answer with
197
+ PrimeNG's `p-*` API, because that is the only thing in its training data. These files exist
198
+ so it does not have to guess:
199
+
200
+ | URL | What it is |
201
+ | --- | --- |
202
+ | [the index page](https://angulux.anguless.com/) | what is here, for a reader who trimmed the URL back to the host; also served at [`/llms`](https://angulux.anguless.com/llms) |
203
+ | [`llms.txt`](https://angulux.anguless.com/llms.txt) | the index, in the [llms.txt](https://llmstxt.org) format |
204
+ | [`llms-full.txt`](https://angulux.anguless.com/llms-full.txt) | every module's API in one file |
205
+ | `<module>.md` | one page per module, e.g. [`button.md`](https://angulux.anguless.com/button.md) |
206
+
207
+ All of it is generated from this repository's own TypeScript into `corpus/corpus.json`, and
208
+ `check:corpus` fails the build if the committed corpus is not byte-identical to a fresh
209
+ generation. Nothing here is hand-written, so **do not edit the corpus or the pages** — the
210
+ next generation overwrites them. Fix the JSDoc in the component instead.
211
+
212
+ Three things worth knowing before you rely on it:
213
+
214
+ - **`llms-full.txt` is not part of the llms.txt specification.** The spec defines one file,
215
+ `llms.txt`. The full variant is a widely-followed convention, and we serve it because
216
+ assistants look for it — not because a standard requires it.
217
+ - **Most inputs do not document a default.** Only 127 of 1205 declare `@defaultValue`, so
218
+ pages say *not documented* rather than leaving a blank that reads as "there is no default".
219
+ - **69 inputs are deprecated** and each page names the replacement. That number is the single
220
+ best reason for this to exist: without it, an assistant recommends them confidently.
221
+
222
+ The generator can only read `packages/angulux/**` and `tools/**` and makes no network
223
+ request. That boundary is enforced in code and asserted by a test, because the PrimeNG
224
+ *documentation site* was never MIT — only the source was, and only up to 21.1.9.
225
+
226
+ ### For assistants that speak MCP
227
+
228
+ `packages/angulux-mcp` serves the same corpus as five tools over MCP stdio, so an assistant can
229
+ query it instead of reading a page. It is **not published** — run it from a checkout:
230
+
231
+ ```
232
+ claude mcp add angulux -- node /absolute/path/to/angulux/packages/angulux-mcp/bin/angulux-mcp.mjs
233
+ ```
234
+
235
+ The tool worth knowing about is `check_usage`. Give it a selector, an import specifier, a module
236
+ name or a list of inputs, and it answers before you write the code:
237
+
238
+ ```
239
+ check_usage({ selector: 'p-button', entrypoint: 'primeng/button' })
240
+ → selector `p-button` is PrimeNG's; angulux uses `agl-button`
241
+ → import specifier `primeng/button` does not resolve; use `@anguless/angulux/button`
242
+ ```
243
+
244
+ A test drives the real binary over stdio and proves all 20 benchmark questions are answerable in
245
+ at most two tool calls, with PrimeNG's answer absent from the reply. That is a claim about the
246
+ data, not about assistants: whether a model actually consults the server instead of guessing is
247
+ **not measured** — see the package README.
248
+
249
+ See [`packages/angulux-mcp/README.md`](packages/angulux-mcp/README.md) for the other four tools,
250
+ the non-Claude client snippet, and why the package is unpublished.
251
+
252
+ ## Provenance
253
+
254
+ [`PROVENANCE.md`](PROVENANCE.md) records the exact upstream commits, the archived MIT
255
+ artifacts and their checksums, and the command to verify them yourself. You are not asked to
256
+ take the MIT claim on trust — you are given the means to check it. That is the whole point
257
+ of the project.
258
+
259
+ ## Contributing
260
+
261
+ Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request. It is short, but the
262
+ **provenance clause is not optional**: contributions must not carry code, documentation or
263
+ generated output derived from any post-MIT PrimeNG release. One contaminated pull request
264
+ would invalidate the entire argument above, so every pull request carries a Developer
265
+ Certificate of Origin sign-off and an explicit provenance attestation.
266
+
267
+ Also relevant: [TRIAGE.md](TRIAGE.md) (what happens after you file) ·
268
+ [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) · [SECURITY.md](SECURITY.md) ·
269
+ [SUPPORT.md](SUPPORT.md) · [GOVERNANCE.md](GOVERNANCE.md)
270
+
271
+ ### Think the provenance claim is wrong somewhere?
272
+
273
+ Then that is the single most valuable thing you can report here, and it is handled as P0:
274
+ [open a Provenance concern](https://github.com/anguless-com/angulux/issues/new/choose).
275
+
276
+ A project that asks you not to trust it has to mean it. The claim gets checked, not
277
+ defended; if it holds, the affected code is removed rather than argued for; if a gate should
278
+ have caught it, a gate gets written; and the outcome is published either way, including when
279
+ the report turns out to be wrong. If you are a rights holder making a legal claim, use the
280
+ [private channel](https://github.com/anguless-com/angulux/security/advisories/new) instead.
281
+
282
+ ## License
283
+
284
+ MIT — see [LICENSE](LICENSE) and [NOTICE](NOTICE).
@@ -1,8 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, ChangeDetectionStrategy, Component, Input, Directive, NgModule } from '@angular/core';
2
+ import { Injectable, NgModule } from '@angular/core';
3
3
  import { Subject } from 'rxjs';
4
4
  import { resolveFieldData, equals, removeAccents } from '@anguless/angulux-utils';
5
- import { CommonModule } from '@angular/common';
6
5
 
7
6
  /**
8
7
  * Type of the confirm event.
@@ -592,7 +591,6 @@ class AglIcons {
592
591
  static PLUS_CIRCLE = 'pi pi-plus-circle';
593
592
  static POUND = 'pi pi-pound';
594
593
  static POWER_OFF = 'pi pi-power-off';
595
- static PRIME = 'pi pi-prime';
596
594
  static PRINT = 'pi pi-print';
597
595
  static QRCODE = 'pi pi-qrcode';
598
596
  static QUESTION = 'pi pi-question';
@@ -701,69 +699,29 @@ class AglIcons {
701
699
  static YOUTUBE = 'pi pi-youtube';
702
700
  }
703
701
 
704
- class Header {
705
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Header, deps: [], target: i0.ɵɵFactoryTarget.Component });
706
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Header, isStandalone: false, selector: "agl-header", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager });
707
- }
708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Header, decorators: [{
709
- type: Component,
710
- args: [{
711
- changeDetection: ChangeDetectionStrategy.Eager,
712
- selector: 'agl-header',
713
- template: '<ng-content></ng-content>',
714
- standalone: false
715
- }]
716
- }] });
717
- class Footer {
718
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Footer, deps: [], target: i0.ɵɵFactoryTarget.Component });
719
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Footer, isStandalone: false, selector: "agl-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager });
720
- }
721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Footer, decorators: [{
722
- type: Component,
723
- args: [{
724
- changeDetection: ChangeDetectionStrategy.Eager,
725
- selector: 'agl-footer',
726
- template: '<ng-content></ng-content>',
727
- standalone: false
728
- }]
729
- }] });
730
- class AglTemplate {
731
- template;
732
- type;
733
- name;
734
- constructor(template) {
735
- this.template = template;
736
- }
737
- getType() {
738
- return this.name;
739
- }
740
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AglTemplate, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
741
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: AglTemplate, isStandalone: true, selector: "[aglTemplate]", inputs: { type: "type", name: ["aglTemplate", "name"] }, ngImport: i0 });
742
- }
743
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AglTemplate, decorators: [{
744
- type: Directive,
745
- args: [{
746
- selector: '[aglTemplate]',
747
- standalone: true
748
- }]
749
- }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { type: [{
750
- type: Input
751
- }], name: [{
752
- type: Input,
753
- args: ['aglTemplate']
754
- }] } });
702
+ /**
703
+ * SharedModule once carried the three retired facet mechanisms: the `<agl-header>` and
704
+ * `<agl-footer>` projection components, and the `[aglTemplate]` directive whose `getType()`
705
+ * fed a per-component decorator query that switched on the slot name and wrote the result into
706
+ * a shadow `_xTemplate` field.
707
+ *
708
+ * BL-35 replaced all three with one route per slot — `<ng-template #x>` read by
709
+ * `contentChild('x')` — so the module now declares and exports nothing. Removing the three
710
+ * classes was the closing condition of that migration, and `tools/check-facet-single-route.mjs`
711
+ * (R-6) keeps them gone: it fails if any of the three reappears here.
712
+ *
713
+ * The module itself is deliberately kept. It is public API that consumers import, and dropping
714
+ * an export is a breaking change that belongs to a major-version decision rather than to this
715
+ * migration. Importing it is now a no-op.
716
+ */
755
717
  class SharedModule {
756
718
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
757
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: SharedModule, declarations: [Header, Footer], imports: [CommonModule, AglTemplate], exports: [Header, Footer, AglTemplate] });
758
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SharedModule, imports: [CommonModule] });
719
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: SharedModule });
720
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SharedModule });
759
721
  }
760
722
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SharedModule, decorators: [{
761
723
  type: NgModule,
762
- args: [{
763
- imports: [CommonModule, AglTemplate],
764
- exports: [Header, Footer, AglTemplate],
765
- declarations: [Header, Footer]
766
- }]
724
+ args: [{}]
767
725
  }] });
768
726
 
769
727
  class TranslationKeys {
@@ -839,5 +797,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
839
797
  * Generated bundle index. Do not edit.
840
798
  */
841
799
 
842
- export { AglIcons, AglTemplate, ConfirmEventType, ConfirmationService, ContextMenuService, FilterMatchMode, FilterOperator, FilterService, Footer, Header, MessageService, OverlayService, SharedModule, TranslationKeys, TreeDragDropService };
800
+ export { AglIcons, ConfirmEventType, ConfirmationService, ContextMenuService, FilterMatchMode, FilterOperator, FilterService, MessageService, OverlayService, SharedModule, TranslationKeys, TreeDragDropService };
843
801
  //# sourceMappingURL=anguless-angulux-api.mjs.map