@noldova/ui.components.angular 0.0.10 → 0.0.12

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 (142) hide show
  1. package/README.md +7 -4
  2. package/api/index.d.ts +2 -0
  3. package/api/index.js +2 -0
  4. package/api/index.js.map +1 -1
  5. package/api/testing.d.ts +1 -0
  6. package/api/testing.js.map +1 -1
  7. package/app/components/avatar/avatar-initials-fitter.d.ts +4 -0
  8. package/app/components/avatar/avatar-initials-fitter.js +35 -4
  9. package/app/components/avatar/avatar-initials-fitter.js.map +1 -1
  10. package/app/components/avatar/avatar.component.d.ts +9 -5
  11. package/app/components/avatar/avatar.component.js +2 -2
  12. package/app/components/avatar/avatar.resources.d.ts +2 -0
  13. package/app/components/avatar/avatar.resources.js +3 -1
  14. package/app/components/avatar/avatar.resources.js.map +1 -1
  15. package/app/components/configuration-table/configuration-table.component.d.ts +8 -1
  16. package/app/components/configuration-table/configuration-table.component.js +10 -4
  17. package/app/components/configuration-table/configuration-table.component.js.map +1 -1
  18. package/app/components/diff-view/diff-view.component.d.ts +1 -0
  19. package/app/components/diff-view/diff-view.component.js +10 -3
  20. package/app/components/diff-view/diff-view.component.js.map +1 -1
  21. package/app/components/gallery/gallery-configuration-table.component.d.ts +3 -0
  22. package/app/components/gallery/gallery-configuration-table.component.js +5 -2
  23. package/app/components/gallery/gallery-configuration-table.component.js.map +1 -1
  24. package/app/components/gallery/gallery-content.component.d.ts +0 -30
  25. package/app/components/gallery/gallery-content.component.js +10 -79
  26. package/app/components/gallery/gallery-content.component.js.map +1 -1
  27. package/app/components/gallery/gallery-diff-view.component.d.ts +23 -0
  28. package/app/components/gallery/gallery-diff-view.component.js +74 -0
  29. package/app/components/gallery/gallery-diff-view.component.js.map +1 -0
  30. package/app/components/gallery/gallery-feed.component.d.ts +0 -25
  31. package/app/components/gallery/gallery-feed.component.js +6 -65
  32. package/app/components/gallery/gallery-feed.component.js.map +1 -1
  33. package/app/components/gallery/gallery-mention-field.component.d.ts +18 -0
  34. package/app/components/gallery/gallery-mention-field.component.js +45 -0
  35. package/app/components/gallery/gallery-mention-field.component.js.map +1 -0
  36. package/app/components/gallery/gallery-navigation.component.d.ts +0 -4
  37. package/app/components/gallery/gallery-navigation.component.js +4 -16
  38. package/app/components/gallery/gallery-navigation.component.js.map +1 -1
  39. package/app/components/gallery/gallery-overlays.component.d.ts +0 -13
  40. package/app/components/gallery/gallery-overlays.component.js +6 -32
  41. package/app/components/gallery/gallery-overlays.component.js.map +1 -1
  42. package/app/components/gallery/gallery-permission-card.component.d.ts +13 -0
  43. package/app/components/gallery/gallery-permission-card.component.js +31 -0
  44. package/app/components/gallery/gallery-permission-card.component.js.map +1 -0
  45. package/app/components/gallery/gallery-plan.component.d.ts +11 -0
  46. package/app/components/gallery/gallery-plan.component.js +28 -0
  47. package/app/components/gallery/gallery-plan.component.js.map +1 -0
  48. package/app/components/gallery/gallery-popover.component.d.ts +11 -0
  49. package/app/components/gallery/gallery-popover.component.js +30 -0
  50. package/app/components/gallery/gallery-popover.component.js.map +1 -0
  51. package/app/components/gallery/gallery-resources.d.ts +13 -0
  52. package/app/components/gallery/gallery-resources.js +5 -3
  53. package/app/components/gallery/gallery-resources.js.map +1 -1
  54. package/app/components/gallery/gallery-status-colors.component.d.ts +8 -0
  55. package/app/components/gallery/gallery-status-colors.component.js +23 -0
  56. package/app/components/gallery/gallery-status-colors.component.js.map +1 -0
  57. package/app/components/gallery/gallery-terminal-colors.component.d.ts +11 -0
  58. package/app/components/gallery/gallery-terminal-colors.component.js +26 -0
  59. package/app/components/gallery/gallery-terminal-colors.component.js.map +1 -0
  60. package/app/components/gallery/gallery-tool-call.component.d.ts +12 -0
  61. package/app/components/gallery/gallery-tool-call.component.js +31 -0
  62. package/app/components/gallery/gallery-tool-call.component.js.map +1 -0
  63. package/app/components/gallery/gallery-toolbar.component.d.ts +9 -0
  64. package/app/components/gallery/gallery-toolbar.component.js +30 -0
  65. package/app/components/gallery/gallery-toolbar.component.js.map +1 -0
  66. package/app/components/gallery/gallery-virtual-feed.component.d.ts +38 -0
  67. package/app/components/gallery/gallery-virtual-feed.component.js +91 -0
  68. package/app/components/gallery/gallery-virtual-feed.component.js.map +1 -0
  69. package/app/components/tool-call/tool-call.component.d.ts +2 -0
  70. package/app/components/tool-call/tool-call.component.js +15 -4
  71. package/app/components/tool-call/tool-call.component.js.map +1 -1
  72. package/app/components/virtual-list/virtual-list.component.d.ts +3 -1
  73. package/app/components/virtual-list/virtual-list.component.js +21 -4
  74. package/app/components/virtual-list/virtual-list.component.js.map +1 -1
  75. package/app/components/virtual-list/virtual-list.resources.d.ts +1 -1
  76. package/app/components/virtual-list/virtual-list.resources.js +2 -1
  77. package/app/components/virtual-list/virtual-list.resources.js.map +1 -1
  78. package/app/enums/avatar-size.d.ts +3 -3
  79. package/app/enums/configuration-table-density.d.ts +32 -0
  80. package/app/enums/configuration-table-density.js +13 -0
  81. package/app/enums/configuration-table-density.js.map +1 -0
  82. package/app/exceptions/code-highlighting.exception.d.ts +3 -2
  83. package/app/exceptions/code-highlighting.exception.js +2 -2
  84. package/app/exceptions/code-highlighting.exception.js.map +1 -1
  85. package/app/exceptions/diff.exception.d.ts +2 -2
  86. package/app/exceptions/diff.exception.js +2 -2
  87. package/app/exceptions/diff.exception.js.map +1 -1
  88. package/app/exceptions/link-reference.exception.d.ts +2 -2
  89. package/app/exceptions/link-reference.exception.js +2 -2
  90. package/app/exceptions/link-reference.exception.js.map +1 -1
  91. package/app/exceptions/markdown.exception.d.ts +2 -2
  92. package/app/exceptions/markdown.exception.js +2 -2
  93. package/app/exceptions/markdown.exception.js.map +1 -1
  94. package/app/exceptions/theme.exception.d.ts +2 -2
  95. package/app/exceptions/theme.exception.js +2 -2
  96. package/app/exceptions/theme.exception.js.map +1 -1
  97. package/app/exceptions/tree-move.exception.d.ts +2 -2
  98. package/app/exceptions/tree-move.exception.js +2 -2
  99. package/app/exceptions/tree-move.exception.js.map +1 -1
  100. package/app/exceptions/ui-components.exception.d.ts +48 -0
  101. package/app/exceptions/ui-components.exception.js +15 -0
  102. package/app/exceptions/ui-components.exception.js.map +1 -0
  103. package/app/exceptions/virtual-list.exception.d.ts +2 -2
  104. package/app/exceptions/virtual-list.exception.js +2 -2
  105. package/app/exceptions/virtual-list.exception.js.map +1 -1
  106. package/app/models/code-tokenizer.d.ts +1 -0
  107. package/app/models/code-tokenizer.js +2 -1
  108. package/app/models/code-tokenizer.js.map +1 -1
  109. package/app/models/default-theme.js +10 -0
  110. package/app/models/default-theme.js.map +1 -1
  111. package/app/models/markdown-link.js +3 -1
  112. package/app/models/markdown-link.js.map +1 -1
  113. package/app/models/mention-value.js +3 -1
  114. package/app/models/mention-value.js.map +1 -1
  115. package/app/models/row-answer.d.ts +16 -0
  116. package/app/models/row-answer.js +28 -0
  117. package/app/models/row-answer.js.map +1 -0
  118. package/app/services/dialog.service.d.ts +1 -0
  119. package/app/services/dialog.service.js +4 -2
  120. package/app/services/dialog.service.js.map +1 -1
  121. package/app/services/markdown-math.renderer.js +3 -1
  122. package/app/services/markdown-math.renderer.js.map +1 -1
  123. package/package.json +5 -4
  124. package/resources.d.ts +2 -0
  125. package/resources.js +12 -0
  126. package/resources.js.map +1 -1
  127. package/styles/base.css +2 -0
  128. package/styles/theme.css +10 -0
  129. package/testing/interfaces/i-pointer-hover-options.d.ts +18 -0
  130. package/testing/interfaces/i-pointer-hover-options.js +8 -0
  131. package/testing/interfaces/i-pointer-hover-options.js.map +1 -0
  132. package/testing/models/fixture-theme.js +10 -0
  133. package/testing/models/fixture-theme.js.map +1 -1
  134. package/testing/services/appearance-fixture.d.ts +6 -2
  135. package/testing/services/appearance-fixture.js +39 -3
  136. package/testing/services/appearance-fixture.js.map +1 -1
  137. package/testing/services/kit-stylesheet-fixture.d.ts +2 -0
  138. package/testing/services/kit-stylesheet-fixture.js +7 -1
  139. package/testing/services/kit-stylesheet-fixture.js.map +1 -1
  140. package/testing/services/pointer-fixture.d.ts +4 -1
  141. package/testing/services/pointer-fixture.js +2 -2
  142. package/testing/services/pointer-fixture.js.map +1 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @noldova/ui.components.angular
2
2
 
3
3
  Noldova's interface kit: the design tokens, the fonts and the Angular components that Noldova's products build their interfaces from.
4
- Its public API is everything the package exports through its entries: `@noldova/ui.components.angular`, `@noldova/ui.components.angular/code-highlighting`, `@noldova/ui.components.angular/code-highlighting/worker`, `@noldova/ui.components.angular/gallery` and `@noldova/ui.components.angular/testing`.
4
+ Its public API is everything the package exports through its entries: `@noldova/ui.components.angular`, `@noldova/ui.components.angular/code-highlighting`, `@noldova/ui.components.angular/code-highlighting/worker`, `@noldova/ui.components.angular/gallery`, `@noldova/ui.components.angular/markdown` and `@noldova/ui.components.angular/testing`.
5
5
  Its type declarations carry the documentation of every export and public member, which editors show on hover and in completions.
6
6
 
7
7
  ## What an app needs
@@ -26,7 +26,7 @@ Its type declarations carry the documentation of every export and public member,
26
26
  A kit version is released only while its Angular is Angular's newest patch: its release adds the build tools at the kit's version to a fresh install of the kit, and stops when they don't resolve.
27
27
  - Exactly one copy each of `@noldova/context.core` and `@noldova/context.exceptions`, within the ranges the kit names, from npm, `https://registry.npmjs.org`.
28
28
  They are the kit's peer dependencies, which npm installs beside it.
29
- Each is a range from the version the kit builds and tests with to the next minor, `>=0.0.2 <0.1.0` today; from 1.0 it ends at the next major.
29
+ Each is a range from the version the kit builds and tests with to the next minor, `>=0.0.8 <0.1.0` today; from 1.0 it ends at the next major.
30
30
  So an app moves to a newer context release within the range without waiting for a kit release, while a release that may break the kit, the next minor below 1.0, stays outside it.
31
31
  Each night the repository builds and tests the kit with the newest context release inside the range.
32
32
  A second copy of the core fails when it loads, since both install the same members on `Object` and `String`, and a second copy of the exceptions splits `instanceof` checks between the two.
@@ -54,6 +54,8 @@ An app that streams code names its common languages in `preload`, as `provideCod
54
54
  Once the app's injector is created, the highlighter and then each of them load one by one, a step per idle callback of the browser, or every 100 milliseconds where there is none.
55
55
  A step still runs on the main thread, so input that arrives during one waits for it; a language not named still loads on first use, as before.
56
56
  The step that compiles a grammar, by tokenizing a short sample, still holds up one frame, since a grammar's first use costs far more than any later one: 150 milliseconds or more for TypeScript's, measured on Linux, of which the sample's first line alone takes 110 to 167, so no split of the sample brings each part under 34 milliseconds.
57
+ The engines of a page share the regular expressions they compile from the grammars, so a later highlighter, such as one a new view provides, compiles a grammar the page has already compiled in 2 to 3 milliseconds, against 39 to 47 for compiling it again, measured on Linux, Windows and macOS.
58
+ The page keeps every pattern its highlighters compiled for as long as it lives, a highlighter that is disposed of included, so a grammar is compiled once a page.
57
59
  An app whose page must keep every frame short provides a highlighting worker, as below: `preload` then loads and compiles each grammar in the worker, and the page holds no frame for it while the worker runs.
58
60
 
59
61
  An app can move the highlighting off the main thread into a worker of its own.
@@ -141,7 +143,7 @@ export const appConfig: ApplicationConfig = {
141
143
  `@noldova/ui.components.angular/testing` holds the helpers the kit's own tests use, for an app's tests that run in a browser through Vitest.
142
144
  Only this entry uses Vitest, so an app's bundle never takes it.
143
145
  A product that uses this entry brings its own Vitest, at the version the kit tests with, 5.0.5.
144
- The kit doesn't list Vitest as a peer dependency, because GitHub's npm registry drops `peerDependenciesMeta`, so an optional peer would become a required one in each product's lockfile.
146
+ The kit doesn't list Vitest among its dependencies or peers, so a product that doesn't use this entry never installs it.
145
147
  Each helper's type declarations document it.
146
148
 
147
149
  - `kitTestProviders`: the providers a component test starts from, with an error handler that rethrows and a clipboard double.
@@ -151,7 +153,8 @@ Each helper's type declarations document it.
151
153
  - `KitStylesheetFixture`: loads the kit's stylesheet into the test page in a setup file and waits for its fonts; a face that fails to load fails it with the face, its source URL and the server's answer.
152
154
  - `MarkdownFixture`: loads the kit's Markdown parser into the test page in a setup file, so the first spec that shows Markdown doesn't wait for its import.
153
155
  - `CodeHighlightingFixture`: for tests only, a provider, `sharedShiki`, that gives every `TestBed` of a test file one Shiki, so each grammar a code highlighter loads or preloads compiles once in the file, not in every test; and `isLanguageLoaded(injector, name)`, which tells whether the highlighter the injector's `provideCodeHighlighting` sets up has loaded a language, by any name or alias a code block takes, without loading anything, so a spec can check what it preloads.
154
- - `PointerFixture`: hovers an element with the real pointer, finding it by a test id, which costs the same on a page of any size; hovering the element itself makes Vitest build a selector for it from the page around it, which takes seconds on a page as large as the Gallery.
156
+ - `PointerFixture`: hovers an element with the real pointer, finding it by a test id, which costs the same on a page of any size; hovering the element itself makes Vitest build a selector for it from the page around it, which takes seconds on a page as large as the Gallery. With `{ isForced: true }` it moves the pointer at once, without waiting for the element to be visible, still and enabled, about half of a move's time, for an element the test knows is laid out and still.
157
+ - `TooltipFixture`: a provider, `atOnce`, that opens a hovered anchor's tooltip, and a hovered link reference chip's card, at once, without the 500ms rest the pointer otherwise waits on its anchor, for tests that check what a tooltip shows rather than when.
155
158
  - `ClipboardWriterFixture` and `ThrowingErrorHandler`: the clipboard double and the error handler that `kitTestProviders` provides.
156
159
 
157
160
  ## Themes
package/api/index.d.ts CHANGED
@@ -88,6 +88,7 @@ export { ButtonSize } from "../app/enums/button-size.js";
88
88
  export { ButtonVariant } from "../app/enums/button-variant.js";
89
89
  export { ChipKind } from "../app/enums/chip-kind.js";
90
90
  export { ChoiceRowType } from "../app/enums/choice-row-type.js";
91
+ export { ConfigurationTableDensity } from "../app/enums/configuration-table-density.js";
91
92
  export { DialogSize } from "../app/enums/dialog-size.js";
92
93
  export { DiffExpandDirection } from "../app/enums/diff-expand-direction.js";
93
94
  export { DiffFileStatus } from "../app/enums/diff-file-status.js";
@@ -132,6 +133,7 @@ export { LinkReferenceException } from "../app/exceptions/link-reference.excepti
132
133
  export { MarkdownException } from "../app/exceptions/markdown.exception.js";
133
134
  export { ThemeException } from "../app/exceptions/theme.exception.js";
134
135
  export { TreeMoveException } from "../app/exceptions/tree-move.exception.js";
136
+ export { UiComponentsException } from "../app/exceptions/ui-components.exception.js";
135
137
  export { VirtualListException } from "../app/exceptions/virtual-list.exception.js";
136
138
  export type { IAnnouncementOptions } from "../app/interfaces/i-announcement-options.js";
137
139
  export type { ILinkReferenceOptions } from "../app/interfaces/i-link-reference-options.js";
package/api/index.js CHANGED
@@ -88,6 +88,7 @@ export { ButtonSize } from "../app/enums/button-size.js";
88
88
  export { ButtonVariant } from "../app/enums/button-variant.js";
89
89
  export { ChipKind } from "../app/enums/chip-kind.js";
90
90
  export { ChoiceRowType } from "../app/enums/choice-row-type.js";
91
+ export { ConfigurationTableDensity } from "../app/enums/configuration-table-density.js";
91
92
  export { DialogSize } from "../app/enums/dialog-size.js";
92
93
  export { DiffExpandDirection } from "../app/enums/diff-expand-direction.js";
93
94
  export { DiffFileStatus } from "../app/enums/diff-file-status.js";
@@ -132,6 +133,7 @@ export { LinkReferenceException } from "../app/exceptions/link-reference.excepti
132
133
  export { MarkdownException } from "../app/exceptions/markdown.exception.js";
133
134
  export { ThemeException } from "../app/exceptions/theme.exception.js";
134
135
  export { TreeMoveException } from "../app/exceptions/tree-move.exception.js";
136
+ export { UiComponentsException } from "../app/exceptions/ui-components.exception.js";
135
137
  export { VirtualListException } from "../app/exceptions/virtual-list.exception.js";
136
138
  export { ArrayVirtualListSource } from "../app/models/array-virtual-list-source.js";
137
139
  export { ColorToken } from "../app/models/color-token.js";
package/api/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/noldova.ui.components.angular/src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,o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ix
15
15
  export { KitStylesheetFixture } from "../testing/services/kit-stylesheet-fixture.js";
16
16
  export { MarkdownFixture } from "../testing/services/markdown-fixture.js";
17
17
  export { PointerFixture } from "../testing/services/pointer-fixture.js";
18
+ export type { IPointerHoverOptions } from "../testing/interfaces/i-pointer-hover-options.js";
18
19
  export { ThrowingErrorHandler } from "../testing/services/throwing-error-handler.js";
@@ -1 +1 @@
1
- {"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../../src/noldova.ui.components.angular/src/api/testing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC"}
1
+ {"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../../src/noldova.ui.components.angular/src/api/testing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC"}
@@ -5,11 +5,15 @@ export declare class AvatarInitialsFitter {
5
5
  private readonly watched;
6
6
  private readonly isInBrowser;
7
7
  private observer;
8
+ private context;
8
9
  constructor();
9
10
  measure(host: HTMLElement, letters: HTMLElement): number;
10
11
  apply(letters: HTMLElement, scale: number): void;
11
12
  watch(host: HTMLElement, letters: HTMLElement): void;
12
13
  unwatch(host: HTMLElement, letters: HTMLElement): void;
14
+ private inkCorners;
15
+ private static cornersOf;
16
+ private static reach;
13
17
  private observing;
14
18
  private refit;
15
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarInitialsFitter, never>;
@@ -15,15 +15,21 @@ export class AvatarInitialsFitter {
15
15
  watched = new Map();
16
16
  isInBrowser = isPlatformBrowser(inject(PLATFORM_ID));
17
17
  observer = null;
18
+ context;
18
19
  constructor() {
19
20
  inject(DestroyRef).onDestroy(() => this.observer?.disconnect());
20
21
  }
21
22
  measure(host, letters) {
22
23
  const style = getComputedStyle(host);
23
- const room = host.getBoundingClientRect().width - Number.parseFloat(style.borderLeftWidth) - Number.parseFloat(style.borderRightWidth)
24
- - 2 * (AvatarResources.avatarInitialsInset + AvatarResources.avatarInitialsSlack);
25
- const width = letters.getBoundingClientRect().width / (this.scales.get(letters) ?? 1);
26
- return width > room ? Math.max(room, 0) / width : 1;
24
+ const frame = host.getBoundingClientRect();
25
+ const radius = (frame.width - Number.parseFloat(style.borderLeftWidth) - Number.parseFloat(style.borderRightWidth)) / 2
26
+ - AvatarResources.avatarInitialsInset;
27
+ const scale = this.scales.get(letters) ?? 1;
28
+ const shown = letters.getBoundingClientRect();
29
+ const [right, below] = [shown.left + shown.width / 2 - (frame.left + frame.width / 2), shown.top + shown.height / 2 - (frame.top + frame.height / 2)];
30
+ const least = Number.parseFloat(style.getPropertyValue(AvatarResources.avatarInitialsLeastProperty)) / Number.parseFloat(style.fontSize);
31
+ return Math.max(Number.isNaN(least) ? 0 : least, Math.min(1, ...this.inkCorners(letters, shown.width / scale, scale)
32
+ .map(t => AvatarInitialsFitter.reach(t, [right, below + Math.sign(t[1]) * AvatarResources.avatarInitialsSlack], radius))));
27
33
  }
28
34
  apply(letters, scale) {
29
35
  this.scales.set(letters, scale);
@@ -46,6 +52,31 @@ export class AvatarInitialsFitter {
46
52
  this.watched.delete(host);
47
53
  this.watched.delete(letters);
48
54
  }
55
+ inkCorners(letters, width, scale) {
56
+ this.context ??= letters.ownerDocument.createElement("canvas").getContext("2d");
57
+ if (Object.isNull(this.context)) {
58
+ const text = letters.ownerDocument.createRange();
59
+ text.selectNodeContents(letters);
60
+ const box = text.getBoundingClientRect();
61
+ return AvatarInitialsFitter.cornersOf([-box.width / scale / 2, box.width / scale / 2], [-box.height / scale / 2, box.height / scale / 2]);
62
+ }
63
+ const font = getComputedStyle(letters);
64
+ this.context.font = `${font.fontStyle} ${font.fontWeight} ${font.fontSize} ${font.fontFamily}`;
65
+ const line = this.context.measureText(letters.innerText);
66
+ const baseline = (line.fontBoundingBoxAscent - line.fontBoundingBoxDescent) / 2;
67
+ this.context.font = `${font.fontStyle} ${font.fontWeight} ${AvatarResources.avatarInitialsMeasureSize}px ${font.fontFamily}`;
68
+ const ink = this.context.measureText(letters.innerText);
69
+ const size = Number.parseFloat(font.fontSize) / AvatarResources.avatarInitialsMeasureSize;
70
+ return AvatarInitialsFitter.cornersOf([-width / 2 - ink.actualBoundingBoxLeft * size, width / 2 - (ink.width - ink.actualBoundingBoxRight) * size], [baseline - ink.actualBoundingBoxAscent * size, baseline + ink.actualBoundingBoxDescent * size]);
71
+ }
72
+ static cornersOf(across, down) {
73
+ return across.flatMap(x => down.map((y) => [x, y]));
74
+ }
75
+ static reach([x, y], [right, below], radius) {
76
+ const length = x * x + y * y;
77
+ const along = x * right + y * below;
78
+ return (Math.sqrt(along * along - length * (right * right + below * below - radius * radius)) - along) / length;
79
+ }
49
80
  observing() {
50
81
  this.observer ??= new ResizeObserver(entries => this.refit(entries));
51
82
  return this.observer;
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-initials-fitter.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/avatar/avatar-initials-fitter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5E,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;;AAKxD,MAAM,OAAO,oBAAoB;IACd,MAAM,GAAiC,IAAI,OAAO,EAAE,CAAC;IACrD,OAAO,GAA8B,IAAI,GAAG,EAAE,CAAC;IAC/C,WAAW,GAAY,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;IACvE,QAAQ,GAA0B,IAAI,CAAC;IAE/C;QACE,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;IAClE,CAAC;IAEM,OAAO,CAAC,IAAiB,EAAE,OAAoB;QACpD,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;QACrC,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC,KAAK,GAAG,MAAM,CAAC,U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AAE,UAAU,EAAE,MAAM,EAAE"}
1
+ {"version":3,"file":"avatar-initials-fitter.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/avatar/avatar-initials-fitter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5E,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;;AAMxD,MAAM,OAAO,oBAAoB;IACd,MAAM,GAAiC,IAAI,OAAO,EAAE,CAAC;IACrD,OAAO,GAA8B,IAAI,GAAG,EAAE,CAAC;IAC/C,WAAW,GAAY,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;IACvE,QAAQ,GAA0B,IAAI,CAAC;IACvC,OAAO,CAA8C;IAE7D;QACE,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;IAClE,CAAC;IAEM,OAAO,CAAC,IAAiB,EAAE,OAAoB;QACpD,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;QACrC,MAAM,KAAK,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC3C,MAAM,MAAM,GAAG,CAAC,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC;cACnH,eAAe,CAAC,mBAAmB,CAAC;QACxC,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,OAA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C,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5H,MAAM,IAAI,GAAuC,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;QAC7H,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;IACjE,CAAC;uGAtFU,oBAAoB;2GAApB,oBAAoB,cADP,MAAM;;2FACnB,oBAAoB;kBADhC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE"}
@@ -11,15 +11,19 @@ import { AvatarColor } from "../../enums/avatar-color.js";
11
11
  import { AvatarSize } from "../../enums/avatar-size.js";
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
- * An avatar, `nol-avatar`, for a person or an agent: a rounded square with
15
- * the large radius, filled with its {@link AvatarColor}'s fill, showing its
16
- * image clipped to that square, or else its initials in that color's letter
14
+ * An avatar, `nol-avatar`, for a person or an agent: a circle at every
15
+ * size, filled with its {@link AvatarColor}'s fill, showing its image
16
+ * clipped to that circle, or else its initials in that color's letter
17
17
  * color, regular at the panel text size, at least 4.5:1 on the fill. Its
18
18
  * color is the one bound, or else the one of its author color's family, or
19
19
  * else the one its color key chooses, or else the default pair,
20
20
  * `avatar-default`. Under forced colors it keeps a 1px `CanvasText` edge.
21
- * Initials wider than the room inside its edge, less 1px on each side, are
22
- * scaled down to that room at every size; initials that fit keep their size.
21
+ * Initials whose letters, as drawn, reach past the circle inside its edge,
22
+ * less 1px all round, allowing for the line's snap to a whole pixel, are
23
+ * scaled down until they fit it, at every size, but never below the small
24
+ * text's 12px, at the icon size and, under forced colors, the icon button
25
+ * size; initials that fit, such as "RV" and the icon size's one letter,
26
+ * keep their size.
23
27
  * Shown alone, it is an image named by its name, or by
24
28
  * its label; beside the name it shows, it is decorative and hidden from
25
29
  * assistive technology, as it is when its name and label are both blank.
@@ -104,7 +104,7 @@ export class AvatarComponent {
104
104
  this.failedImage.set(image);
105
105
  }
106
106
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
107
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: AvatarComponent, isStandalone: true, selector: "nol-avatar", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, colorKey: { classPropertyName: "colorKey", publicName: "colorKey", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, decorative: { classPropertyName: "decorative", publicName: "decorative", isSignal: true, isRequired: false, transformFunction: null }, unavailable: { classPropertyName: "unavailable", publicName: "unavailable", isSignal: true, isRequired: false, transformFunction: null }, filled: { classPropertyName: "filled", publicName: "filled", isSignal: true, isRequired: false, transformFunction: null }, filledColor: { classPropertyName: "filledColor", publicName: "filledColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-avatar-small": "size() === sizes.Small", "class.nol-avatar-icon": "size() === sizes.Icon", "class.nol-avatar-icon-button": "size() === sizes.IconButton", "class.nol-avatar-byline": "size() === sizes.Byline", "class.nol-avatar-unavailable": "unavailable()", "style.--nol-avatar-fill": "fill()", "style.--nol-avatar-letter": "letter()", "attr.role": "isHidden() ? null : 'img'", "attr.aria-label": "isHidden() ? null : spokenName()", "attr.aria-hidden": "isHidden() ? 'true' : null" }, classAttribute: "nol-avatar" }, viewQueries: [{ propertyName: "letters", first: true, predicate: ["letters"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (shownImage(); as image) {\n <img #picture class=\"nol-avatar-image\" [src]=\"image\" alt=\"\" (error)=\"fail(picture.getAttribute('src'))\">\n} @else {\n <span #letters class=\"nol-avatar-initials\">{{ shownInitials() }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--nol-avatar);\n height: var(--nol-avatar);\n box-sizing: border-box;\n overflow: hidden;\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-avatar-fill);\n color: var(--nol-avatar-letter);\n font-size: var(--nol-text-panel);\n font-weight: 400;\n}\n\n.nol-avatar-initials {\n flex: none;\n line-height: 1;\n white-space: nowrap;\n}\n\n:host(.nol-avatar-small) {\n width: var(--nol-avatar-small);\n height: var(--nol-avatar-small);\n}\n\n:host(.nol-avatar-icon-button) {\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n\n @media (forced-colors: active) {\n font-size: var(--nol-text-small);\n }\n}\n\n:host(.nol-avatar-byline) {\n width: var(--nol-avatar-byline);\n height: var(--nol-avatar-byline);\n border-radius: 50%;\n font-size: var(--nol-text-avatar-byline);\n font-weight: var(--nol-weight-strong);\n}\n\n:host(.nol-avatar-icon) {\n width: var(--nol-icon);\n height: var(--nol-icon);\n border-radius: var(--nol-radius-small);\n font-size: var(--nol-text-small);\n}\n\n@media (forced-colors: active) {\n :host {\n border: var(--nol-border-width) solid CanvasText;\n }\n}\n\n:host(.nol-avatar-unavailable) {\n opacity: 0.5;\n}\n\n.nol-avatar-image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n"] });
107
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: AvatarComponent, isStandalone: true, selector: "nol-avatar", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, colorKey: { classPropertyName: "colorKey", publicName: "colorKey", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, decorative: { classPropertyName: "decorative", publicName: "decorative", isSignal: true, isRequired: false, transformFunction: null }, unavailable: { classPropertyName: "unavailable", publicName: "unavailable", isSignal: true, isRequired: false, transformFunction: null }, filled: { classPropertyName: "filled", publicName: "filled", isSignal: true, isRequired: false, transformFunction: null }, filledColor: { classPropertyName: "filledColor", publicName: "filledColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-avatar-small": "size() === sizes.Small", "class.nol-avatar-icon": "size() === sizes.Icon", "class.nol-avatar-icon-button": "size() === sizes.IconButton", "class.nol-avatar-byline": "size() === sizes.Byline", "class.nol-avatar-unavailable": "unavailable()", "style.--nol-avatar-fill": "fill()", "style.--nol-avatar-letter": "letter()", "attr.role": "isHidden() ? null : 'img'", "attr.aria-label": "isHidden() ? null : spokenName()", "attr.aria-hidden": "isHidden() ? 'true' : null" }, classAttribute: "nol-avatar" }, viewQueries: [{ propertyName: "letters", first: true, predicate: ["letters"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (shownImage(); as image) {\n <img #picture class=\"nol-avatar-image\" [src]=\"image\" alt=\"\" (error)=\"fail(picture.getAttribute('src'))\">\n} @else {\n <span #letters class=\"nol-avatar-initials\">{{ shownInitials() }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--nol-avatar);\n height: var(--nol-avatar);\n box-sizing: border-box;\n overflow: hidden;\n border-radius: 50%;\n background-color: var(--nol-avatar-fill);\n color: var(--nol-avatar-letter);\n font-size: var(--nol-text-panel);\n font-weight: 400;\n}\n\n.nol-avatar-initials {\n flex: none;\n line-height: 1;\n white-space: nowrap;\n}\n\n:host(.nol-avatar-small) {\n width: var(--nol-avatar-small);\n height: var(--nol-avatar-small);\n}\n\n:host(.nol-avatar-icon-button) {\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n\n @media (forced-colors: active) {\n --nol-avatar-initials-least: 12px;\n font-size: var(--nol-text-small);\n }\n}\n\n:host(.nol-avatar-byline) {\n width: var(--nol-avatar-byline);\n height: var(--nol-avatar-byline);\n font-size: var(--nol-text-avatar-byline);\n font-weight: var(--nol-weight-strong);\n}\n\n:host(.nol-avatar-icon) {\n --nol-avatar-initials-least: 12px;\n width: var(--nol-icon);\n height: var(--nol-icon);\n font-size: var(--nol-text-small);\n}\n\n@media (forced-colors: active) {\n :host {\n border: var(--nol-border-width) solid CanvasText;\n }\n}\n\n:host(.nol-avatar-unavailable) {\n opacity: 0.5;\n}\n\n.nol-avatar-image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n"] });
108
108
  }
109
109
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: AvatarComponent, decorators: [{
110
110
  type: Component,
@@ -120,6 +120,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
120
120
  "[attr.role]": "isHidden() ? null : 'img'",
121
121
  "[attr.aria-label]": "isHidden() ? null : spokenName()",
122
122
  "[attr.aria-hidden]": "isHidden() ? 'true' : null"
123
- }, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (shownImage(); as image) {\n <img #picture class=\"nol-avatar-image\" [src]=\"image\" alt=\"\" (error)=\"fail(picture.getAttribute('src'))\">\n} @else {\n <span #letters class=\"nol-avatar-initials\">{{ shownInitials() }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--nol-avatar);\n height: var(--nol-avatar);\n box-sizing: border-box;\n overflow: hidden;\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-avatar-fill);\n color: var(--nol-avatar-letter);\n font-size: var(--nol-text-panel);\n font-weight: 400;\n}\n\n.nol-avatar-initials {\n flex: none;\n line-height: 1;\n white-space: nowrap;\n}\n\n:host(.nol-avatar-small) {\n width: var(--nol-avatar-small);\n height: var(--nol-avatar-small);\n}\n\n:host(.nol-avatar-icon-button) {\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n\n @media (forced-colors: active) {\n font-size: var(--nol-text-small);\n }\n}\n\n:host(.nol-avatar-byline) {\n width: var(--nol-avatar-byline);\n height: var(--nol-avatar-byline);\n border-radius: 50%;\n font-size: var(--nol-text-avatar-byline);\n font-weight: var(--nol-weight-strong);\n}\n\n:host(.nol-avatar-icon) {\n width: var(--nol-icon);\n height: var(--nol-icon);\n border-radius: var(--nol-radius-small);\n font-size: var(--nol-text-small);\n}\n\n@media (forced-colors: active) {\n :host {\n border: var(--nol-border-width) solid CanvasText;\n }\n}\n\n:host(.nol-avatar-unavailable) {\n opacity: 0.5;\n}\n\n.nol-avatar-image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n"] }]
123
+ }, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (shownImage(); as image) {\n <img #picture class=\"nol-avatar-image\" [src]=\"image\" alt=\"\" (error)=\"fail(picture.getAttribute('src'))\">\n} @else {\n <span #letters class=\"nol-avatar-initials\">{{ shownInitials() }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: var(--nol-avatar);\n height: var(--nol-avatar);\n box-sizing: border-box;\n overflow: hidden;\n border-radius: 50%;\n background-color: var(--nol-avatar-fill);\n color: var(--nol-avatar-letter);\n font-size: var(--nol-text-panel);\n font-weight: 400;\n}\n\n.nol-avatar-initials {\n flex: none;\n line-height: 1;\n white-space: nowrap;\n}\n\n:host(.nol-avatar-small) {\n width: var(--nol-avatar-small);\n height: var(--nol-avatar-small);\n}\n\n:host(.nol-avatar-icon-button) {\n width: var(--nol-icon-button);\n height: var(--nol-icon-button);\n\n @media (forced-colors: active) {\n --nol-avatar-initials-least: 12px;\n font-size: var(--nol-text-small);\n }\n}\n\n:host(.nol-avatar-byline) {\n width: var(--nol-avatar-byline);\n height: var(--nol-avatar-byline);\n font-size: var(--nol-text-avatar-byline);\n font-weight: var(--nol-weight-strong);\n}\n\n:host(.nol-avatar-icon) {\n --nol-avatar-initials-least: 12px;\n width: var(--nol-icon);\n height: var(--nol-icon);\n font-size: var(--nol-text-small);\n}\n\n@media (forced-colors: active) {\n :host {\n border: var(--nol-border-width) solid CanvasText;\n }\n}\n\n:host(.nol-avatar-unavailable) {\n opacity: 0.5;\n}\n\n.nol-avatar-image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n"] }]
124
124
  }], ctorParameters: () => [], propDecorators: { letters: [{ type: i0.ViewChild, args: ["letters", { isSignal: true }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], image: [{ type: i0.Input, args: [{ isSignal: true, alias: "image", required: false }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], colorKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorKey", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], decorative: [{ type: i0.Input, args: [{ isSignal: true, alias: "decorative", required: false }] }], unavailable: [{ type: i0.Input, args: [{ isSignal: true, alias: "unavailable", required: false }] }], filled: [{ type: i0.Input, args: [{ isSignal: true, alias: "filled", required: false }] }], filledColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "filledColor", required: false }] }] } });
125
125
  //# sourceMappingURL=avatar.component.js.map
@@ -10,6 +10,8 @@ export declare class AvatarResources {
10
10
  static readonly avatarAuthorHues: readonly string[];
11
11
  static readonly avatarInitialsInset: number;
12
12
  static readonly avatarInitialsSlack: number;
13
+ static readonly avatarInitialsMeasureSize: number;
14
+ static readonly avatarInitialsLeastProperty: string;
13
15
  static formatAvatarInitialsFit(scale: number): string;
14
16
  static formatAvatarFill(color: string): string;
15
17
  static formatAvatarLetter(color: string): string;
@@ -9,7 +9,9 @@ export class AvatarResources {
9
9
  static avatarDefaultColor = "default";
10
10
  static avatarAuthorHues = ["default", "teal", "green", "amber", "orange", "red", "pink", "purple"];
11
11
  static avatarInitialsInset = 1;
12
- static avatarInitialsSlack = 0.0625;
12
+ static avatarInitialsSlack = 0.5;
13
+ static avatarInitialsMeasureSize = 1000;
14
+ static avatarInitialsLeastProperty = "--nol-avatar-initials-least";
13
15
  static formatAvatarInitialsFit(scale) {
14
16
  return `scale(${scale})`;
15
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.resources.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/avatar/avatar.resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,eAAe;IACnB,MAAM,CAAU,kBAAkB,GAAW,SAAS,CAAC;IACvD,MAAM,CAAU,gBAAgB,GAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC/H,MAAM,CAAU,mBAAmB,GAAW,CAAC,CAAC;IAChD,MAAM,CAAU,mBAAmB,GAAW,MAAM,CAAC;IACrD,MAAM,CAAC,uBAAuB,CAAC,KAAa;QACjD,OAAO,SAAS,KAAK,GAAG,CAAC;IAC3B,CAAC;IACM,MAAM,CAAC,gBAAgB,CAAC,KAAa;QAC1C,OAAO,oBAAoB,KAAK,GAAG,CAAC;IACtC,CAAC;IACM,MAAM,CAAC,kBAAkB,CAAC,KAAa;QAC5C,OAAO,oBAAoB,KAAK,QAAQ,CAAC;IAC3C,CAAC;IACM,MAAM,CAAC,uBAAuB,CAAC,IAAY;QAChD,OAAO,GAAG,IAAI,eAAe,CAAC;IAChC,CAAC"}
1
+ {"version":3,"file":"avatar.resources.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/avatar/avatar.resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,eAAe;IACnB,MAAM,CAAU,kBAAkB,GAAW,SAAS,CAAC;IACvD,MAAM,CAAU,gBAAgB,GAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC/H,MAAM,CAAU,mBAAmB,GAAW,CAAC,CAAC;IAChD,MAAM,CAAU,mBAAmB,GAAW,GAAG,CAAC;IAClD,MAAM,CAAU,yBAAyB,GAAW,IAAI,CAAC;IACzD,MAAM,CAAU,2BAA2B,GAAW,6BAA6B,CAAC;IACpF,MAAM,CAAC,uBAAuB,CAAC,KAAa;QACjD,OAAO,SAAS,KAAK,GAAG,CAAC;IAC3B,CAAC;IACM,MAAM,CAAC,gBAAgB,CAAC,KAAa;QAC1C,OAAO,oBAAoB,KAAK,GAAG,CAAC;IACtC,CAAC;IACM,MAAM,CAAC,kBAAkB,CAAC,KAAa;QAC5C,OAAO,oBAAoB,KAAK,QAAQ,CAAC;IAC3C,CAAC;IACM,MAAM,CAAC,uBAAuB,CAAC,IAAY;QAChD,OAAO,GAAG,IAAI,eAAe,CAAC;IAChC,CAAC"}
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import { type Signal } from "@angular/core";
9
9
  import "@noldova/context.core";
10
+ import { ConfigurationTableDensity } from "../../enums/configuration-table-density.js";
10
11
  import * as i0 from "@angular/core";
11
12
  /**
12
13
  * A configuration table, `nol-configuration-table`: the kit's pattern for a
@@ -64,6 +65,7 @@ import * as i0 from "@angular/core";
64
65
  export declare class ConfigurationTableComponent {
65
66
  private readonly actions;
66
67
  protected readonly hasHeader: Signal<boolean>;
68
+ protected readonly isCompact: Signal<boolean>;
67
69
  protected readonly isExplanationLeading: Signal<boolean>;
68
70
  /**
69
71
  * The heading above the table, its `heading` input, which also names the
@@ -86,6 +88,11 @@ export declare class ConfigurationTableComponent {
86
88
  * none when empty, the default.
87
89
  */
88
90
  readonly explanation: import("@angular/core").InputSignal<string>;
91
+ /**
92
+ * The table's spacing, its `density` input, normal or compact; normal
93
+ * when not bound.
94
+ */
95
+ readonly density: import("@angular/core").InputSignal<ConfigurationTableDensity>;
89
96
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationTableComponent, never>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationTableComponent, "nol-configuration-table", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "explanation": { "alias": "explanation"; "required": false; "isSignal": true; }; }, {}, ["actions"], ["[nolConfigurationTableAction]", "*"], true, never>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationTableComponent, "nol-configuration-table", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "explanation": { "alias": "explanation"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, ["actions"], ["[nolConfigurationTableAction]", "*"], true, never>;
91
98
  }
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import { Component, ViewEncapsulation, computed, contentChildren, input } from "@angular/core";
9
9
  import "@noldova/context.core";
10
+ import { ConfigurationTableDensity } from "../../enums/configuration-table-density.js";
10
11
  import { ConfigurationTableActionDirective } from "./configuration-table-action.directive.js";
11
12
  import { ConfigurationTableComponentResources } from "./configuration-table-component.resources.js";
12
13
  import * as i0 from "@angular/core";
@@ -15,6 +16,8 @@ export class ConfigurationTableComponent {
15
16
  ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
16
17
  hasHeader = computed(() => !String.isNullOrEmpty(this.heading()) || this.actions().length > 0, /* @ts-ignore */
17
18
  ...(ngDevMode ? [{ debugName: "hasHeader" }] : /* istanbul ignore next */ []));
19
+ isCompact = computed(() => this.density() === ConfigurationTableDensity.Compact, /* @ts-ignore */
20
+ ...(ngDevMode ? [{ debugName: "isCompact" }] : /* istanbul ignore next */ []));
18
21
  isExplanationLeading = computed(() => String.isNullOrEmpty(this.heading()) && this.actions().length > 0 && !String.isNullOrEmpty(this.explanation()), /* @ts-ignore */
19
22
  ...(ngDevMode ? [{ debugName: "isExplanationLeading" }] : /* istanbul ignore next */ []));
20
23
  heading = input(String.empty, /* @ts-ignore */
@@ -25,13 +28,16 @@ export class ConfigurationTableComponent {
25
28
  ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
26
29
  explanation = input(String.empty, /* @ts-ignore */
27
30
  ...(ngDevMode ? [{ debugName: "explanation" }] : /* istanbul ignore next */ []));
31
+ density = input(ConfigurationTableDensity.Normal, /* @ts-ignore */
32
+ ...(ngDevMode ? [{ debugName: "density" }] : /* istanbul ignore next */ []));
28
33
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ConfigurationTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ConfigurationTableComponent, isStandalone: true, selector: "nol-configuration-table", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, explanation: { classPropertyName: "explanation", publicName: "explanation", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "nol-configuration-table" }, queries: [{ propertyName: "actions", predicate: ConfigurationTableActionDirective, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasHeader()) {\n <div class=\"nol-configuration-table-header\" [class.nol-configuration-table-header-explained]=\"isExplanationLeading()\">\n @if (heading()) {\n <div class=\"nol-configuration-table-heading\" role=\"heading\" [attr.aria-level]=\"level()\">{{ heading() }}</div>\n } @else if (isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n }\n <div class=\"nol-configuration-table-actions\"><ng-content select=\"[nolConfigurationTableAction]\" /></div>\n </div>\n}\n@if (explanation() && !isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n}\n<div class=\"nol-configuration-table-body\"><ng-content /></div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-configuration-table {\n --nol-configuration-table-focus-room: calc(var(--nol-border-width) * 3);\n --nol-configuration-table-row-room: var(--nol-space-2);\n\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n min-width: 0;\n}\n\n.nol-configuration-table-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2) var(--nol-space-4);\n}\n\n.nol-configuration-table-header-explained {\n align-items: baseline;\n}\n\n.nol-configuration-table-heading {\n flex: 1 1 auto;\n min-width: 0;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n margin-inline-start: auto;\n}\n\n.nol-configuration-table-explanation {\n margin: 0;\n color: var(--nol-text);\n}\n\n.nol-configuration-table-header > .nol-configuration-table-explanation {\n flex: 1 1 var(--nol-text-field-width);\n min-width: 0;\n}\n\n.nol-configuration-table-body {\n width: fit-content;\n min-width: 100%;\n margin: calc(var(--nol-configuration-table-focus-room) * -1) calc(var(--nol-configuration-table-row-room) * -1);\n padding: var(--nol-configuration-table-focus-room) var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-body:has(> .nol-configuration-table-shared) {\n width: auto;\n min-width: 0;\n overflow-x: auto;\n}\n\n.nol-configuration-table-grid {\n width: 100%;\n border-collapse: collapse;\n}\n\n.nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: relative;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td),\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n background-color: var(--nol-hover);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: \"\";\n position: absolute;\n inset-block: 0;\n width: var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline-end: 100%;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n inset-inline-start: 100%;\n}\n\n@media (forced-colors: active) {\n .nol-configuration-table-grid > tbody > tr {\n position: relative;\n }\n\n .nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: static;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td) {\n background-color: transparent;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline: calc(var(--nol-configuration-table-row-room) * -1);\n width: auto;\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n background-color: transparent;\n pointer-events: none;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: none;\n }\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td) {\n padding: var(--nol-space-2);\n border-bottom: var(--nol-border-width) solid var(--nol-card-border);\n text-align: start;\n vertical-align: baseline;\n white-space: nowrap;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):first-child {\n padding-inline-start: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):last-child {\n padding-inline-end: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: 100%;\n min-width: var(--nol-configuration-table-fill-min-width, var(--nol-text-field-width));\n white-space: normal;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-shared > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: auto;\n min-width: 0;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n white-space: normal;\n overflow-wrap: break-word;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n width: auto;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow.nol-configuration-table-fill-anywhere > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrowest > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid > thead > tr > th {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-row-actions {\n text-align: end;\n}\n\n.nol-configuration-table-row-actions > * {\n vertical-align: middle;\n}\n\n.nol-configuration-table-row-actions > * + * {\n margin-inline-start: var(--nol-space-2);\n}\n\n.nol-configuration-table-row-actions > .nol-icon-button + .nol-icon-button {\n margin-inline-start: 0;\n}\n\n.nol-configuration-table-row-actions > .nol-button.nol-button-text {\n min-width: 4rem;\n}\n"], encapsulation: i0.ViewEncapsulation.None });
34
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ConfigurationTableComponent, isStandalone: true, selector: "nol-configuration-table", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, explanation: { classPropertyName: "explanation", publicName: "explanation", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-configuration-table-compact": "isCompact()" }, classAttribute: "nol-configuration-table" }, queries: [{ propertyName: "actions", predicate: ConfigurationTableActionDirective, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasHeader()) {\n <div class=\"nol-configuration-table-header\" [class.nol-configuration-table-header-explained]=\"isExplanationLeading()\">\n @if (heading()) {\n <div class=\"nol-configuration-table-heading\" role=\"heading\" [attr.aria-level]=\"level()\">{{ heading() }}</div>\n } @else if (isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n }\n <div class=\"nol-configuration-table-actions\"><ng-content select=\"[nolConfigurationTableAction]\" /></div>\n </div>\n}\n@if (explanation() && !isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n}\n<div class=\"nol-configuration-table-body\"><ng-content /></div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-configuration-table {\n --nol-configuration-table-focus-room: calc(var(--nol-border-width) * 3);\n --nol-configuration-table-row-room: var(--nol-space-2);\n --nol-configuration-table-cell-padding: var(--nol-space-2);\n --nol-configuration-table-header-cell-padding: var(--nol-space-2);\n --nol-configuration-table-cell-alignment: baseline;\n --nol-configuration-table-explanation-color: var(--nol-text);\n --nol-configuration-table-header-row-gap: var(--nol-space-2);\n\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n min-width: 0;\n}\n\n.nol-configuration-table-compact {\n --nol-configuration-table-cell-padding: calc(var(--nol-space-1) * 1.5);\n --nol-configuration-table-header-cell-padding: var(--nol-space-1) calc(var(--nol-space-1) * 1.5);\n --nol-configuration-table-cell-alignment: top;\n --nol-configuration-table-explanation-color: var(--nol-text-muted);\n --nol-configuration-table-header-row-gap: var(--nol-space-1);\n\n gap: var(--nol-space-1);\n}\n\n.nol-configuration-table-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-configuration-table-header-row-gap) var(--nol-space-4);\n}\n\n.nol-configuration-table-header-explained {\n align-items: baseline;\n}\n\n.nol-configuration-table-heading {\n flex: 1 1 auto;\n min-width: 0;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n margin-inline-start: auto;\n}\n\n.nol-configuration-table-explanation {\n margin: 0;\n color: var(--nol-configuration-table-explanation-color);\n}\n\n.nol-configuration-table-header > .nol-configuration-table-explanation {\n flex: 1 1 var(--nol-text-field-width);\n min-width: 0;\n}\n\n.nol-configuration-table-body {\n width: fit-content;\n min-width: 100%;\n margin: calc(var(--nol-configuration-table-focus-room) * -1) calc(var(--nol-configuration-table-row-room) * -1);\n padding: var(--nol-configuration-table-focus-room) var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-body:has(> .nol-configuration-table-shared) {\n width: auto;\n min-width: 0;\n overflow-x: auto;\n}\n\n.nol-configuration-table-grid {\n width: 100%;\n border-collapse: collapse;\n}\n\n.nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: relative;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td),\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n background-color: var(--nol-hover);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: \"\";\n position: absolute;\n inset-block: 0;\n width: var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline-end: 100%;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n inset-inline-start: 100%;\n}\n\n@media (forced-colors: active) {\n .nol-configuration-table-grid > tbody > tr {\n position: relative;\n }\n\n .nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: static;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td) {\n background-color: transparent;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline: calc(var(--nol-configuration-table-row-room) * -1);\n width: auto;\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n background-color: transparent;\n pointer-events: none;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: none;\n }\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td) {\n padding: var(--nol-configuration-table-cell-padding);\n border-bottom: var(--nol-border-width) solid var(--nol-card-border);\n text-align: start;\n vertical-align: var(--nol-configuration-table-cell-alignment);\n white-space: nowrap;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):first-child {\n padding-inline-start: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):last-child {\n padding-inline-end: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: 100%;\n min-width: var(--nol-configuration-table-fill-min-width, var(--nol-text-field-width));\n white-space: normal;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-shared > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: auto;\n min-width: 0;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n white-space: normal;\n overflow-wrap: break-word;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n width: auto;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow.nol-configuration-table-fill-anywhere > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrowest > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid > thead > tr > th {\n padding: var(--nol-configuration-table-header-cell-padding);\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-row-actions {\n text-align: end;\n}\n\n.nol-configuration-table-row-actions > * {\n vertical-align: middle;\n}\n\n.nol-configuration-table-row-actions > * + * {\n margin-inline-start: var(--nol-space-2);\n}\n\n.nol-configuration-table-row-actions > .nol-icon-button + .nol-icon-button {\n margin-inline-start: 0;\n}\n\n.nol-configuration-table-row-actions > .nol-button.nol-button-text {\n min-width: 4rem;\n}\n"], encapsulation: i0.ViewEncapsulation.None });
30
35
  }
31
36
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ConfigurationTableComponent, decorators: [{
32
37
  type: Component,
33
38
  args: [{ selector: "nol-configuration-table", encapsulation: ViewEncapsulation.None, host: {
34
- "class": "nol-configuration-table"
35
- }, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasHeader()) {\n <div class=\"nol-configuration-table-header\" [class.nol-configuration-table-header-explained]=\"isExplanationLeading()\">\n @if (heading()) {\n <div class=\"nol-configuration-table-heading\" role=\"heading\" [attr.aria-level]=\"level()\">{{ heading() }}</div>\n } @else if (isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n }\n <div class=\"nol-configuration-table-actions\"><ng-content select=\"[nolConfigurationTableAction]\" /></div>\n </div>\n}\n@if (explanation() && !isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n}\n<div class=\"nol-configuration-table-body\"><ng-content /></div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-configuration-table {\n --nol-configuration-table-focus-room: calc(var(--nol-border-width) * 3);\n --nol-configuration-table-row-room: var(--nol-space-2);\n\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n min-width: 0;\n}\n\n.nol-configuration-table-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2) var(--nol-space-4);\n}\n\n.nol-configuration-table-header-explained {\n align-items: baseline;\n}\n\n.nol-configuration-table-heading {\n flex: 1 1 auto;\n min-width: 0;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n margin-inline-start: auto;\n}\n\n.nol-configuration-table-explanation {\n margin: 0;\n color: var(--nol-text);\n}\n\n.nol-configuration-table-header > .nol-configuration-table-explanation {\n flex: 1 1 var(--nol-text-field-width);\n min-width: 0;\n}\n\n.nol-configuration-table-body {\n width: fit-content;\n min-width: 100%;\n margin: calc(var(--nol-configuration-table-focus-room) * -1) calc(var(--nol-configuration-table-row-room) * -1);\n padding: var(--nol-configuration-table-focus-room) var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-body:has(> .nol-configuration-table-shared) {\n width: auto;\n min-width: 0;\n overflow-x: auto;\n}\n\n.nol-configuration-table-grid {\n width: 100%;\n border-collapse: collapse;\n}\n\n.nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: relative;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td),\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n background-color: var(--nol-hover);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: \"\";\n position: absolute;\n inset-block: 0;\n width: var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline-end: 100%;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n inset-inline-start: 100%;\n}\n\n@media (forced-colors: active) {\n .nol-configuration-table-grid > tbody > tr {\n position: relative;\n }\n\n .nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: static;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td) {\n background-color: transparent;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline: calc(var(--nol-configuration-table-row-room) * -1);\n width: auto;\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n background-color: transparent;\n pointer-events: none;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: none;\n }\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td) {\n padding: var(--nol-space-2);\n border-bottom: var(--nol-border-width) solid var(--nol-card-border);\n text-align: start;\n vertical-align: baseline;\n white-space: nowrap;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):first-child {\n padding-inline-start: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):last-child {\n padding-inline-end: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: 100%;\n min-width: var(--nol-configuration-table-fill-min-width, var(--nol-text-field-width));\n white-space: normal;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-shared > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: auto;\n min-width: 0;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n white-space: normal;\n overflow-wrap: break-word;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n width: auto;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow.nol-configuration-table-fill-anywhere > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrowest > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid > thead > tr > th {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-row-actions {\n text-align: end;\n}\n\n.nol-configuration-table-row-actions > * {\n vertical-align: middle;\n}\n\n.nol-configuration-table-row-actions > * + * {\n margin-inline-start: var(--nol-space-2);\n}\n\n.nol-configuration-table-row-actions > .nol-icon-button + .nol-icon-button {\n margin-inline-start: 0;\n}\n\n.nol-configuration-table-row-actions > .nol-button.nol-button-text {\n min-width: 4rem;\n}\n"] }]
36
- }], propDecorators: { actions: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ConfigurationTableActionDirective), { isSignal: true }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], explanation: [{ type: i0.Input, args: [{ isSignal: true, alias: "explanation", required: false }] }] } });
39
+ "class": "nol-configuration-table",
40
+ "[class.nol-configuration-table-compact]": "isCompact()"
41
+ }, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasHeader()) {\n <div class=\"nol-configuration-table-header\" [class.nol-configuration-table-header-explained]=\"isExplanationLeading()\">\n @if (heading()) {\n <div class=\"nol-configuration-table-heading\" role=\"heading\" [attr.aria-level]=\"level()\">{{ heading() }}</div>\n } @else if (isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n }\n <div class=\"nol-configuration-table-actions\"><ng-content select=\"[nolConfigurationTableAction]\" /></div>\n </div>\n}\n@if (explanation() && !isExplanationLeading()) {\n <p class=\"nol-configuration-table-explanation\">{{ explanation() }}</p>\n}\n<div class=\"nol-configuration-table-body\"><ng-content /></div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-configuration-table {\n --nol-configuration-table-focus-room: calc(var(--nol-border-width) * 3);\n --nol-configuration-table-row-room: var(--nol-space-2);\n --nol-configuration-table-cell-padding: var(--nol-space-2);\n --nol-configuration-table-header-cell-padding: var(--nol-space-2);\n --nol-configuration-table-cell-alignment: baseline;\n --nol-configuration-table-explanation-color: var(--nol-text);\n --nol-configuration-table-header-row-gap: var(--nol-space-2);\n\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n min-width: 0;\n}\n\n.nol-configuration-table-compact {\n --nol-configuration-table-cell-padding: calc(var(--nol-space-1) * 1.5);\n --nol-configuration-table-header-cell-padding: var(--nol-space-1) calc(var(--nol-space-1) * 1.5);\n --nol-configuration-table-cell-alignment: top;\n --nol-configuration-table-explanation-color: var(--nol-text-muted);\n --nol-configuration-table-header-row-gap: var(--nol-space-1);\n\n gap: var(--nol-space-1);\n}\n\n.nol-configuration-table-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-configuration-table-header-row-gap) var(--nol-space-4);\n}\n\n.nol-configuration-table-header-explained {\n align-items: baseline;\n}\n\n.nol-configuration-table-heading {\n flex: 1 1 auto;\n min-width: 0;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-actions {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n margin-inline-start: auto;\n}\n\n.nol-configuration-table-explanation {\n margin: 0;\n color: var(--nol-configuration-table-explanation-color);\n}\n\n.nol-configuration-table-header > .nol-configuration-table-explanation {\n flex: 1 1 var(--nol-text-field-width);\n min-width: 0;\n}\n\n.nol-configuration-table-body {\n width: fit-content;\n min-width: 100%;\n margin: calc(var(--nol-configuration-table-focus-room) * -1) calc(var(--nol-configuration-table-row-room) * -1);\n padding: var(--nol-configuration-table-focus-room) var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-body:has(> .nol-configuration-table-shared) {\n width: auto;\n min-width: 0;\n overflow-x: auto;\n}\n\n.nol-configuration-table-grid {\n width: 100%;\n border-collapse: collapse;\n}\n\n.nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: relative;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td),\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n background-color: var(--nol-hover);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before,\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: \"\";\n position: absolute;\n inset-block: 0;\n width: var(--nol-configuration-table-row-room);\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline-end: 100%;\n}\n\n.nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n inset-inline-start: 100%;\n}\n\n@media (forced-colors: active) {\n .nol-configuration-table-grid > tbody > tr {\n position: relative;\n }\n\n .nol-configuration-table-grid > tbody > tr > :is(th, td):is(:first-child, :last-child) {\n position: static;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td) {\n background-color: transparent;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):first-child::before {\n inset-inline: calc(var(--nol-configuration-table-row-room) * -1);\n width: auto;\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n background-color: transparent;\n pointer-events: none;\n }\n\n .nol-configuration-table-grid > tbody > tr:is(:hover, [data-nol-state=\"Hover\"]) > :is(th, td):last-child::after {\n content: none;\n }\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td) {\n padding: var(--nol-configuration-table-cell-padding);\n border-bottom: var(--nol-border-width) solid var(--nol-card-border);\n text-align: start;\n vertical-align: var(--nol-configuration-table-cell-alignment);\n white-space: nowrap;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):first-child {\n padding-inline-start: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > :is(th, td):last-child {\n padding-inline-end: 0;\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: 100%;\n min-width: var(--nol-configuration-table-fill-min-width, var(--nol-text-field-width));\n white-space: normal;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-shared > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-fill {\n width: auto;\n min-width: 0;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n white-space: normal;\n overflow-wrap: break-word;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n width: auto;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrow.nol-configuration-table-fill-anywhere > :is(thead, tbody, tfoot) > tr > :is(th, td).nol-configuration-table-fill {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid.nol-configuration-table-narrowest > :is(thead, tbody, tfoot) > tr > :is(th, td):not(.nol-configuration-table-row-actions) {\n overflow-wrap: anywhere;\n}\n\n.nol-configuration-table-grid > thead > tr > th {\n padding: var(--nol-configuration-table-header-cell-padding);\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.nol-configuration-table-grid > :is(thead, tbody, tfoot) > tr > .nol-configuration-table-row-actions {\n text-align: end;\n}\n\n.nol-configuration-table-row-actions > * {\n vertical-align: middle;\n}\n\n.nol-configuration-table-row-actions > * + * {\n margin-inline-start: var(--nol-space-2);\n}\n\n.nol-configuration-table-row-actions > .nol-icon-button + .nol-icon-button {\n margin-inline-start: 0;\n}\n\n.nol-configuration-table-row-actions > .nol-button.nol-button-text {\n min-width: 4rem;\n}\n"] }]
42
+ }], propDecorators: { actions: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ConfigurationTableActionDirective), { isSignal: true }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], explanation: [{ type: i0.Input, args: [{ isSignal: true, alias: "explanation", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }] } });
37
43
  //# sourceMappingURL=configuration-table.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"configuration-table.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/configuration-table/configuration-table.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/configuration-table/configuration-table.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAe,iBAAiB,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE5G,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;;AAWpG,MAAM,OAAO,2BAA2B;IACrB,OAAO,GAAyD,eAAe,CAAC,iCAAiC;gFAAC,CAAC;IAEjH,SAAS,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,GAAG,CAAC;kFAAC,CAAC;IAChH,oBAAoB,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;6FAAC,CAAC;IAE1K,OAAO,GAAG,KAAK,CAAS,MAAM,CAAC,KAAK;gFAAC,CAAC;IACtC,KAAK,GAAG,KAAK,CAAS,MAAM,CAAC,KAAK;8EAAC,CAAC;IACpC,KAAK,GAAG,KAAK,CAAS,oCAAoC,CAAC,8BAA8B;8EAAC,CAAC;IAC3F,WAAW,GAAG,KAAK,CAAS,MAAM,CAAC,KAAK;oFAAC,CAAC;uGAT/C,2BAA2B;2FAA3B,2BAA2B,oqBAC2D,iCAAiC,6CCzBpI,k5BAsBA;;2FDEa,2BAA2B;kBATvC,SAAS;+BACE,yBAAyB,iBAGpB,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,yBAAyB;qBACnC;+FAGgG,iCAAiC"}
1
+ {"version":3,"file":"configuration-table.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/configuration-table/configuration-table.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/configuration-table/configuration-table.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAe,iBAAiB,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE5G,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,oCAAoC,EAAE,MAAM,8CAA8C,CAAC;;AAYpG,MAAM,OAAO,2BAA2B;IACrB,OAAO,GAAyD,eAAe,CAAC,iCAAiC;gFAAC,CAAC;IAEjH,SAAS,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,GAAG,CAAC;kFAAC,CAAC;IAChH,SAAS,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,yBAAyB,CAAC,OAAO;kFAAC,CAAC;IAClG,oBAAoB,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;6FAAC,CAAC;IAE1K,OAAO,GAAG,KAAK,CAAS,MAAM,CAAC,KAAK;gFAAC,CAAC;IACtC,KAAK,GAAG,KAAK,CAAS,MAAM,CAAC,KAAK;8EAAC,CAAC;IACpC,KAAK,GAAG,KAAK,CAAS,oCAAoC,CAAC,8BAA8B;8EAAC,CAAC;IAC3F,WAAW,GAAG,KAAK,CAAS,MAAM,CAAC,KAAK;oFAAC,CAAC;IAC1C,OAAO,GAAG,KAAK,CAA4B,yBAAyB,CAAC,MAAM;gFAAC,CAAC;uGAXlF,2BAA2B;2FAA3B,2BAA2B,02BAC2D,iCAAiC,6CC3BpI,k5BAsBA;;2FDIa,2BAA2B;kBAVvC,SAAS;+BACE,yBAAyB,iBAGpB,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,yBAAyB;wBAClC,yCAAyC,EAAE,aAAa;qBACzD;+FAGgG,iCAAiC"}
@@ -95,6 +95,7 @@ export declare class DiffViewComponent {
95
95
  private static readonly noChanges;
96
96
  private static nextId;
97
97
  private readonly host;
98
+ private readonly answer;
98
99
  private readonly announcer;
99
100
  private readonly highlighter;
100
101
  private readonly errors;