@noldova/ui.components.angular 0.0.5 → 0.0.7

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 (68) hide show
  1. package/README.md +1 -1
  2. package/app/components/button/button.component.d.ts +1 -0
  3. package/app/components/button/button.component.js +5 -2
  4. package/app/components/button/button.component.js.map +1 -1
  5. package/app/components/diff-view/diff-view.component.js +1 -1
  6. package/app/components/diff-view/diff-view.component.js.map +1 -1
  7. package/app/components/gallery/gallery-button.component.js +2 -2
  8. package/app/components/gallery/gallery-button.component.js.map +1 -1
  9. package/app/components/gallery/gallery-content.component.js +2 -2
  10. package/app/components/gallery/gallery-content.component.js.map +1 -1
  11. package/app/components/gallery/gallery-menu.component.js +2 -2
  12. package/app/components/gallery/gallery-menu.component.js.map +1 -1
  13. package/app/components/gallery/gallery-navigation.component.js +1 -1
  14. package/app/components/gallery/gallery-navigation.component.js.map +1 -1
  15. package/app/components/gallery/gallery-resources.d.ts +13 -1
  16. package/app/components/gallery/gallery-resources.js +13 -1
  17. package/app/components/gallery/gallery-resources.js.map +1 -1
  18. package/app/components/gallery/gallery-split-button.component.js +1 -1
  19. package/app/components/gallery/gallery-split-button.component.js.map +1 -1
  20. package/app/components/gallery/gallery-terminal-output.component.js +2 -2
  21. package/app/components/gallery/gallery-terminal-output.component.js.map +1 -1
  22. package/app/components/gallery/gallery-tool-calls.d.ts +2 -0
  23. package/app/components/gallery/gallery-tool-calls.js +4 -0
  24. package/app/components/gallery/gallery-tool-calls.js.map +1 -1
  25. package/app/components/gallery/gallery-toolbar-button.component.js +1 -1
  26. package/app/components/gallery/gallery-toolbar-button.component.js.map +1 -1
  27. package/app/components/menu/menu-group.component.d.ts +9 -1
  28. package/app/components/menu/menu-group.component.js +8 -4
  29. package/app/components/menu/menu-group.component.js.map +1 -1
  30. package/app/components/menu/menu-item.component.d.ts +10 -1
  31. package/app/components/menu/menu-item.component.js +5 -3
  32. package/app/components/menu/menu-item.component.js.map +1 -1
  33. package/app/components/section-header/section-header.component.d.ts +4 -4
  34. package/app/components/section-header/section-header.component.js +2 -2
  35. package/app/components/tab/tab.component.d.ts +3 -2
  36. package/app/components/tab/tab.component.js +2 -2
  37. package/app/components/tab/tab.component.js.map +1 -1
  38. package/app/components/terminal-output/terminal-output.component.js +9 -3
  39. package/app/components/terminal-output/terminal-output.component.js.map +1 -1
  40. package/app/components/tool-call/tool-call-component.resources.d.ts +3 -0
  41. package/app/components/tool-call/tool-call-component.resources.js +5 -0
  42. package/app/components/tool-call/tool-call-component.resources.js.map +1 -1
  43. package/app/components/tool-call/tool-call.component.d.ts +1 -0
  44. package/app/components/tool-call/tool-call.component.js +4 -2
  45. package/app/components/tool-call/tool-call.component.js.map +1 -1
  46. package/app/components/toolbar-button/toolbar-button.component.d.ts +10 -1
  47. package/app/components/toolbar-button/toolbar-button.component.js +6 -3
  48. package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
  49. package/app/enums/button-variant.d.ts +11 -1
  50. package/app/enums/button-variant.js +1 -0
  51. package/app/enums/button-variant.js.map +1 -1
  52. package/app/interfaces/i-tool-call-options.d.ts +5 -0
  53. package/app/models/default-theme.js +49 -2
  54. package/app/models/default-theme.js.map +1 -1
  55. package/app/models/terminal-output-palette.d.ts +2 -0
  56. package/app/models/terminal-output-palette.js +6 -0
  57. package/app/models/terminal-output-palette.js.map +1 -1
  58. package/app/models/tool-call.d.ts +6 -2
  59. package/app/models/tool-call.js +4 -0
  60. package/app/models/tool-call.js.map +1 -1
  61. package/package.json +2 -2
  62. package/resources.js +24 -0
  63. package/resources.js.map +1 -1
  64. package/styles/status.css +2 -0
  65. package/styles/terminal.css +47 -1
  66. package/styles/theme.css +70 -0
  67. package/testing/models/fixture-theme.js +49 -2
  68. package/testing/models/fixture-theme.js.map +1 -1
package/README.md CHANGED
@@ -19,7 +19,7 @@ Its type declarations carry the documentation of every export and public member,
19
19
  With any other version, npm nests a second copy under the kit, beside the app's, without a warning or an error, even when the kit names it as a peer as well.
20
20
  The kit's overlays, focus handling and other services from `@angular/cdk` then run from its copy, and the app's from the other: each copy has its own overlay container, so the app's overlays and the kit's can stack in the wrong order, and focus traps and keyboard handling between them can disagree.
21
21
  `npm ls @angular/cdk` lists one copy when the versions match; an app checks it in its build, failing when it lists more than one.
22
- - Angular's build tools at the kit's Angular version too, such as `npm install --save-dev @angular/build@22.2.6 @angular/cli@22.2.6`.
22
+ - Angular's build tools at their newest patch for the kit's Angular, which they may publish apart from Angular's, such as `npm install --save-dev @angular/build@22.2.7 @angular/cli@22.2.7` with Angular 22.2.6.
23
23
  Until 1.0 the kit names exact versions, its Angular peers included, but for its context peers below, and a new kit version moves them to Angular's newest patch.
24
24
  When Angular's newest is ahead of the kit's, adding the build tools stops with `ERESOLVE`, even at the kit's version: their optional peers, such as `@angular/service-worker`, `@angular/platform-server` and `@angular/ssr`, resolve to Angular's newest, which needs a newer `@angular/core` than the kit's.
25
25
  An app then waits for the kit version that moves to Angular's newest patch.
@@ -52,6 +52,7 @@ export declare class ButtonComponent {
52
52
  protected readonly isSecondary: Signal<boolean>;
53
53
  protected readonly isText: Signal<boolean>;
54
54
  protected readonly isOutlined: Signal<boolean>;
55
+ protected readonly isAccent: Signal<boolean>;
55
56
  protected readonly isOverlay: Signal<boolean>;
56
57
  protected readonly isDanger: Signal<boolean>;
57
58
  protected readonly isCompact: Signal<boolean>;
@@ -20,6 +20,8 @@ export class ButtonComponent {
20
20
  ...(ngDevMode ? [{ debugName: "isText" }] : /* istanbul ignore next */ []));
21
21
  isOutlined = computed(() => this.variant() === ButtonVariant.Outlined, /* @ts-ignore */
22
22
  ...(ngDevMode ? [{ debugName: "isOutlined" }] : /* istanbul ignore next */ []));
23
+ isAccent = computed(() => this.variant() === ButtonVariant.Accent, /* @ts-ignore */
24
+ ...(ngDevMode ? [{ debugName: "isAccent" }] : /* istanbul ignore next */ []));
23
25
  isOverlay = computed(() => this.overlay() && this.isText(), /* @ts-ignore */
24
26
  ...(ngDevMode ? [{ debugName: "isOverlay" }] : /* istanbul ignore next */ []));
25
27
  isDanger = computed(() => this.danger() && this.variant() === ButtonVariant.Primary, /* @ts-ignore */
@@ -42,7 +44,7 @@ export class ButtonComponent {
42
44
  BusyGuard.watch(inject(ElementRef).nativeElement, () => this.busy());
43
45
  }
44
46
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
45
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ButtonComponent, isStandalone: true, selector: "button[nol-button], a[nol-button]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, overlay: { classPropertyName: "overlay", publicName: "overlay", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, danger: { classPropertyName: "danger", publicName: "danger", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-button-secondary": "isSecondary()", "class.nol-button-text": "isText()", "class.nol-button-outlined": "isOutlined()", "class.nol-button-overlay": "isOverlay()", "class.nol-button-backdrop": "isOverlay() && backdrop()", "class.nol-button-danger": "isDanger()", "class.nol-button-compact": "isCompact()", "class.nol-button-busy": "busy()", "attr.aria-busy": "busy() ? resources.trueValue : null" }, classAttribute: "nol-button" }, 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<span class=\"nol-button-icon\"><ng-content select=\"[nolButtonIcon]\" /></span><span class=\"nol-button-label\" data-truncates><ng-content /></span>\n@if (busy()) {\n <nol-spinner class=\"nol-button-spinner\" [isDelayed]=\"false\" />\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 align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-button-padding);\n border: var(--nol-border-width) solid var(--nol-button-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n color: var(--nol-button-text);\n font: inherit;\n text-decoration: none;\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n:where(:host) {\n margin: 0;\n}\n\n.nol-button-icon {\n display: inline-flex;\n flex: none;\n}\n\n.nol-button-icon:empty {\n display: none;\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -3);\n }\n}\n\n:host(.nol-button-danger) {\n background-color: var(--nol-error);\n color: var(--nol-button-danger-text);\n}\n\n:host(.nol-button-danger:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-danger-hover);\n}\n\n:host(.nol-button-secondary) {\n background-color: var(--nol-button-secondary);\n color: var(--nol-button-secondary-text);\n}\n\n:host(.nol-button-secondary:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-secondary-hover);\n}\n\n:host(.nol-button-text) {\n width: calc-size(auto, max(4rem, size));\n border: 0;\n background-color: transparent;\n color: var(--nol-text);\n}\n\n:host(.nol-button-text:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * 2);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host(:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n color: GrayText;\n opacity: 1;\n }\n}\n\n:host(.nol-button-text:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n:host(.nol-button-text:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.4;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n:host(.nol-button-overlay) {\n border: var(--nol-border-width) solid transparent;\n border-radius: calc(var(--nol-button-height) / 2);\n background-color: var(--nol-overlay);\n color: var(--nol-overlay-text);\n}\n\n:host(.nol-button-overlay:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover)), var(--nol-overlay);\n}\n\n:host(.nol-button-overlay:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n:host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n@media (forced-colors: none) {\n :host(.nol-button-backdrop) {\n background-color: var(--nol-overlay-control);\n color: var(--nol-overlay-control-text);\n }\n\n :host(.nol-button-backdrop:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.35;\n }\n\n :host(.nol-button-backdrop:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-overlay-control-hover), var(--nol-overlay-control-hover)), var(--nol-overlay-control);\n }\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-overlay) {\n border-color: ButtonText;\n background-color: ButtonFace;\n color: ButtonText;\n }\n\n :host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-outlined) {\n min-height: 0;\n padding: var(--nol-space-1) var(--nol-button-padding);\n border-color: var(--nol-border);\n background-color: transparent;\n color: var(--nol-text-muted);\n}\n\n:host(.nol-button-outlined) .nol-button-icon {\n font-size: var(--nol-icon);\n}\n\n:host(.nol-button-outlined:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: transparent;\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-outlined) {\n border-color: ButtonText;\n color: ButtonText;\n }\n\n :host(.nol-button-outlined:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-compact) {\n min-height: var(--nol-button-compact-height);\n}\n\n:host(.nol-button-compact.nol-button-overlay) {\n border-radius: calc(var(--nol-button-compact-height) / 2);\n}\n\n:host(.nol-button-compact.nol-button-outlined) {\n padding-block: 0;\n}\n\n:host(.nol-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-button-busy) > :not(.nol-button-spinner) {\n opacity: 0;\n}\n\n.nol-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
47
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ButtonComponent, isStandalone: true, selector: "button[nol-button], a[nol-button]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, overlay: { classPropertyName: "overlay", publicName: "overlay", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, danger: { classPropertyName: "danger", publicName: "danger", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-button-secondary": "isSecondary()", "class.nol-button-text": "isText()", "class.nol-button-outlined": "isOutlined()", "class.nol-button-accent": "isAccent()", "class.nol-button-overlay": "isOverlay()", "class.nol-button-backdrop": "isOverlay() && backdrop()", "class.nol-button-danger": "isDanger()", "class.nol-button-compact": "isCompact()", "class.nol-button-busy": "busy()", "attr.aria-busy": "busy() ? resources.trueValue : null" }, classAttribute: "nol-button" }, 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<span class=\"nol-button-icon\"><ng-content select=\"[nolButtonIcon]\" /></span><span class=\"nol-button-label\" data-truncates><ng-content /></span>\n@if (busy()) {\n <nol-spinner class=\"nol-button-spinner\" [isDelayed]=\"false\" />\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 align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-button-padding);\n border: var(--nol-border-width) solid var(--nol-button-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n color: var(--nol-button-text);\n font: inherit;\n text-decoration: none;\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n:where(:host) {\n margin: 0;\n}\n\n.nol-button-icon {\n display: inline-flex;\n flex: none;\n}\n\n.nol-button-icon:empty {\n display: none;\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -3);\n }\n}\n\n:host(.nol-button-danger) {\n background-color: var(--nol-error);\n color: var(--nol-button-danger-text);\n}\n\n:host(.nol-button-danger:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-danger-hover);\n}\n\n:host(.nol-button-secondary) {\n background-color: var(--nol-button-secondary);\n color: var(--nol-button-secondary-text);\n}\n\n:host(.nol-button-secondary:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-secondary-hover);\n}\n\n:host(.nol-button-text) {\n width: calc-size(auto, max(4rem, size));\n border: 0;\n background-color: transparent;\n color: var(--nol-text);\n}\n\n:host(.nol-button-text:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * 2);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host(:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n color: GrayText;\n opacity: 1;\n }\n}\n\n:host(.nol-button-text:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n:host(.nol-button-text:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.4;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n:host(.nol-button-overlay) {\n border: var(--nol-border-width) solid transparent;\n border-radius: calc(var(--nol-button-height) / 2);\n background-color: var(--nol-overlay);\n color: var(--nol-overlay-text);\n}\n\n:host(.nol-button-overlay:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover)), var(--nol-overlay);\n}\n\n:host(.nol-button-overlay:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n:host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n@media (forced-colors: none) {\n :host(.nol-button-backdrop) {\n background-color: var(--nol-overlay-control);\n color: var(--nol-overlay-control-text);\n }\n\n :host(.nol-button-backdrop:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.35;\n }\n\n :host(.nol-button-backdrop:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-overlay-control-hover), var(--nol-overlay-control-hover)), var(--nol-overlay-control);\n }\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-overlay) {\n border-color: ButtonText;\n background-color: ButtonFace;\n color: ButtonText;\n }\n\n :host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-outlined) {\n min-height: 0;\n padding: var(--nol-space-1) var(--nol-button-padding);\n border-color: var(--nol-border);\n background-color: transparent;\n color: var(--nol-text-muted);\n}\n\n:host(.nol-button-outlined) .nol-button-icon {\n font-size: var(--nol-icon);\n}\n\n:host(.nol-button-outlined:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: transparent;\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-outlined) {\n border-color: ButtonText;\n color: ButtonText;\n }\n\n :host(.nol-button-outlined:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-compact) {\n min-height: var(--nol-button-compact-height);\n}\n\n:host(.nol-button-compact.nol-button-overlay) {\n border-radius: calc(var(--nol-button-compact-height) / 2);\n}\n\n:host(.nol-button-compact.nol-button-outlined) {\n padding-block: 0;\n}\n\n:host(.nol-button-accent) {\n min-height: var(--nol-chip);\n padding: 0 var(--nol-chip-padding);\n border-color: transparent;\n background-color: var(--nol-selected);\n color: var(--nol-text);\n}\n\n:host(.nol-button-accent:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-selected);\n background-image: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover));\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-accent) {\n border-color: ButtonText;\n color: ButtonText;\n }\n\n :host(.nol-button-accent:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-image: none;\n }\n\n :host(.nol-button-accent:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-button-busy) > :not(.nol-button-spinner) {\n opacity: 0;\n}\n\n.nol-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
46
48
  }
47
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ButtonComponent, decorators: [{
48
50
  type: Component,
@@ -51,12 +53,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
51
53
  "[class.nol-button-secondary]": "isSecondary()",
52
54
  "[class.nol-button-text]": "isText()",
53
55
  "[class.nol-button-outlined]": "isOutlined()",
56
+ "[class.nol-button-accent]": "isAccent()",
54
57
  "[class.nol-button-overlay]": "isOverlay()",
55
58
  "[class.nol-button-backdrop]": "isOverlay() && backdrop()",
56
59
  "[class.nol-button-danger]": "isDanger()",
57
60
  "[class.nol-button-compact]": "isCompact()",
58
61
  "[class.nol-button-busy]": "busy()",
59
62
  "[attr.aria-busy]": "busy() ? resources.trueValue : null"
60
- }, 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<span class=\"nol-button-icon\"><ng-content select=\"[nolButtonIcon]\" /></span><span class=\"nol-button-label\" data-truncates><ng-content /></span>\n@if (busy()) {\n <nol-spinner class=\"nol-button-spinner\" [isDelayed]=\"false\" />\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 align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-button-padding);\n border: var(--nol-border-width) solid var(--nol-button-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n color: var(--nol-button-text);\n font: inherit;\n text-decoration: none;\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n:where(:host) {\n margin: 0;\n}\n\n.nol-button-icon {\n display: inline-flex;\n flex: none;\n}\n\n.nol-button-icon:empty {\n display: none;\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -3);\n }\n}\n\n:host(.nol-button-danger) {\n background-color: var(--nol-error);\n color: var(--nol-button-danger-text);\n}\n\n:host(.nol-button-danger:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-danger-hover);\n}\n\n:host(.nol-button-secondary) {\n background-color: var(--nol-button-secondary);\n color: var(--nol-button-secondary-text);\n}\n\n:host(.nol-button-secondary:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-secondary-hover);\n}\n\n:host(.nol-button-text) {\n width: calc-size(auto, max(4rem, size));\n border: 0;\n background-color: transparent;\n color: var(--nol-text);\n}\n\n:host(.nol-button-text:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * 2);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host(:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n color: GrayText;\n opacity: 1;\n }\n}\n\n:host(.nol-button-text:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n:host(.nol-button-text:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.4;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n:host(.nol-button-overlay) {\n border: var(--nol-border-width) solid transparent;\n border-radius: calc(var(--nol-button-height) / 2);\n background-color: var(--nol-overlay);\n color: var(--nol-overlay-text);\n}\n\n:host(.nol-button-overlay:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover)), var(--nol-overlay);\n}\n\n:host(.nol-button-overlay:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n:host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n@media (forced-colors: none) {\n :host(.nol-button-backdrop) {\n background-color: var(--nol-overlay-control);\n color: var(--nol-overlay-control-text);\n }\n\n :host(.nol-button-backdrop:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.35;\n }\n\n :host(.nol-button-backdrop:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-overlay-control-hover), var(--nol-overlay-control-hover)), var(--nol-overlay-control);\n }\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-overlay) {\n border-color: ButtonText;\n background-color: ButtonFace;\n color: ButtonText;\n }\n\n :host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-outlined) {\n min-height: 0;\n padding: var(--nol-space-1) var(--nol-button-padding);\n border-color: var(--nol-border);\n background-color: transparent;\n color: var(--nol-text-muted);\n}\n\n:host(.nol-button-outlined) .nol-button-icon {\n font-size: var(--nol-icon);\n}\n\n:host(.nol-button-outlined:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: transparent;\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-outlined) {\n border-color: ButtonText;\n color: ButtonText;\n }\n\n :host(.nol-button-outlined:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-compact) {\n min-height: var(--nol-button-compact-height);\n}\n\n:host(.nol-button-compact.nol-button-overlay) {\n border-radius: calc(var(--nol-button-compact-height) / 2);\n}\n\n:host(.nol-button-compact.nol-button-outlined) {\n padding-block: 0;\n}\n\n:host(.nol-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-button-busy) > :not(.nol-button-spinner) {\n opacity: 0;\n}\n\n.nol-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"] }]
63
+ }, 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<span class=\"nol-button-icon\"><ng-content select=\"[nolButtonIcon]\" /></span><span class=\"nol-button-label\" data-truncates><ng-content /></span>\n@if (busy()) {\n <nol-spinner class=\"nol-button-spinner\" [isDelayed]=\"false\" />\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 align-items: center;\n justify-content: center;\n gap: var(--nol-space-1);\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-button-padding);\n border: var(--nol-border-width) solid var(--nol-button-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n color: var(--nol-button-text);\n font: inherit;\n text-decoration: none;\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n:where(:host) {\n margin: 0;\n}\n\n.nol-button-icon {\n display: inline-flex;\n flex: none;\n}\n\n.nol-button-icon:empty {\n display: none;\n}\n\n:host(:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -3);\n }\n}\n\n:host(.nol-button-danger) {\n background-color: var(--nol-error);\n color: var(--nol-button-danger-text);\n}\n\n:host(.nol-button-danger:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-danger-hover);\n}\n\n:host(.nol-button-secondary) {\n background-color: var(--nol-button-secondary);\n color: var(--nol-button-secondary-text);\n}\n\n:host(.nol-button-secondary:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-button-secondary-hover);\n}\n\n:host(.nol-button-text) {\n width: calc-size(auto, max(4rem, size));\n border: 0;\n background-color: transparent;\n color: var(--nol-text);\n}\n\n:host(.nol-button-text:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * 2);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host(:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n color: GrayText;\n opacity: 1;\n }\n}\n\n:host(.nol-button-text:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n:host(.nol-button-text:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.4;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n:host(.nol-button-overlay) {\n border: var(--nol-border-width) solid transparent;\n border-radius: calc(var(--nol-button-height) / 2);\n background-color: var(--nol-overlay);\n color: var(--nol-overlay-text);\n}\n\n:host(.nol-button-overlay:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover)), var(--nol-overlay);\n}\n\n:host(.nol-button-overlay:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline-offset: calc(var(--nol-border-width) * 2);\n}\n\n:host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.5;\n\n @media (forced-colors: active) {\n opacity: 1;\n }\n}\n\n@media (forced-colors: none) {\n :host(.nol-button-backdrop) {\n background-color: var(--nol-overlay-control);\n color: var(--nol-overlay-control-text);\n }\n\n :host(.nol-button-backdrop:is(:disabled, [aria-disabled=\"true\"])) {\n opacity: 0.35;\n }\n\n :host(.nol-button-backdrop:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background: linear-gradient(var(--nol-overlay-control-hover), var(--nol-overlay-control-hover)), var(--nol-overlay-control);\n }\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-overlay) {\n border-color: ButtonText;\n background-color: ButtonFace;\n color: ButtonText;\n }\n\n :host(.nol-button-overlay:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-outlined) {\n min-height: 0;\n padding: var(--nol-space-1) var(--nol-button-padding);\n border-color: var(--nol-border);\n background-color: transparent;\n color: var(--nol-text-muted);\n}\n\n:host(.nol-button-outlined) .nol-button-icon {\n font-size: var(--nol-icon);\n}\n\n:host(.nol-button-outlined:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: transparent;\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-outlined) {\n border-color: ButtonText;\n color: ButtonText;\n }\n\n :host(.nol-button-outlined:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-compact) {\n min-height: var(--nol-button-compact-height);\n}\n\n:host(.nol-button-compact.nol-button-overlay) {\n border-radius: calc(var(--nol-button-compact-height) / 2);\n}\n\n:host(.nol-button-compact.nol-button-outlined) {\n padding-block: 0;\n}\n\n:host(.nol-button-accent) {\n min-height: var(--nol-chip);\n padding: 0 var(--nol-chip-padding);\n border-color: transparent;\n background-color: var(--nol-selected);\n color: var(--nol-text);\n}\n\n:host(.nol-button-accent:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-selected);\n background-image: linear-gradient(var(--nol-toolbar-hover), var(--nol-toolbar-hover));\n}\n\n@media (forced-colors: active) {\n :host(.nol-button-accent) {\n border-color: ButtonText;\n color: ButtonText;\n }\n\n :host(.nol-button-accent:not(:disabled, [aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n background-image: none;\n }\n\n :host(.nol-button-accent:is(:disabled, [aria-disabled=\"true\"])) {\n border-color: GrayText;\n color: GrayText;\n }\n}\n\n:host(.nol-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-button-busy) > :not(.nol-button-spinner) {\n opacity: 0;\n}\n\n.nol-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"] }]
61
64
  }], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], overlay: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlay", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], danger: [{ type: i0.Input, args: [{ isSignal: true, alias: "danger", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }] } });
62
65
  //# sourceMappingURL=button.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/button/button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/button/button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAe,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE5F,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;;AAoBnE,MAAM,OAAO,eAAe;IACP,SAAS,GAAqB,SAAS,CAAC;IACxC,WAAW,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,aAAa,CAAC,SAAS;oFAAC,CAAC;IAC1F,MAAM,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,E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BAA6B,EAAE,cAAc;wBAC7C,4BAA4B,EAAE,aAAa;wBAC3C,6BAA6B,EAAE,2BAA2B;wBAC1D,2BAA2B,EAAE,YAAY;wBACzC,4BAA4B,EAAE,aAAa;wBAC3C,yBAAyB,EAAE,QAAQ;wBACnC,kBAAkB,EAAE,qCAAqC;qBAC1D"}
1
+ {"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/button/button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/button/button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAe,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE5F,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;;AAqBnE,MAAM,OAAO,eAAe;IACP,SAAS,GAAqB,SAAS,CAAC;IACxC,WAAW,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,aAAa,CAAC,SAAS;oFAAC,CAAC;IAC1F,MAAM,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,aAAa,CAAC,IAAI;+EAAC,CAAC;IAChF,UAAU,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,aAAa,CAAC,QAAQ;mFAAC,CAAC;IACxF,QAAQ,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,aAAa,CAAC,MAAM;iFAAC,CAAC;IACpF,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Aa;wBAC3C,yBAAyB,EAAE,QAAQ;wBACnC,kBAAkB,EAAE,qCAAqC;qBAC1D"}
@@ -368,7 +368,7 @@ export class DiffViewComponent {
368
368
  return next;
369
369
  }
370
370
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: DiffViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
371
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: DiffViewComponent, isStandalone: true, selector: "nol-diff-view", inputs: { files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, wrapped: { classPropertyName: "wrapped", publicName: "wrapped", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, canOpenFiles: { classPropertyName: "canOpenFiles", publicName: "canOpenFiles", isSignal: true, isRequired: false, transformFunction: null }, reviews: { classPropertyName: "reviews", publicName: "reviews", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, revealed: { classPropertyName: "revealed", publicName: "revealed", isSignal: true, isRequired: false, transformFunction: null }, collapseLimit: { classPropertyName: "collapseLimit", publicName: "collapseLimit", isSignal: true, isRequired: false, transformFunction: null }, hasShortcuts: { classPropertyName: "hasShortcuts", publicName: "hasShortcuts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", wrapped: "wrappedChange", collapsed: "collapsedChange", revealed: "revealedChange", reviewRequested: "reviewRequested", fileOpenRequested: "fileOpenRequested", contextRequested: "contextRequested", fileExpanded: "fileExpanded", lineCommentRequested: "lineCommentRequested" }, host: { attributes: { "role": "region" }, listeners: { "keydown": "runShortcut($event)" }, properties: { "attr.aria-label": "label()", "attr.aria-keyshortcuts": "hasShortcuts() ? keyShortcuts : null", "class.nol-diff-view-wrapped": "wrapped()", "class.nol-diff-view-side-by-side": "isSideBySide()", "class.nol-diff-view-opens-files": "canOpenFiles()" }, classAttribute: "nol-diff-view" }, 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<div class=\"nol-diff-view-bar\" nolToolbar [nolToolbarLabel]=\"partResources.diffViewActionsLabel\">\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-layout\" data-nol-resizes-row [icon]=\"partResources.diffSideBySideGlyph\" [label]=\"partResources.diffSideBySideLabel\" [pressed]=\"isSideBySide()\"\n [nolTooltip]=\"partResources.diffSideBySideLabel\" (click)=\"toggleLayout()\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-wrap\" data-nol-resizes-row [icon]=\"resources.wordWrapGlyph\" [label]=\"resources.wordWrapLabel\" [pressed]=\"wrapped()\"\n [nolTooltip]=\"resources.wordWrapLabel\" (click)=\"toggleWrap()\"></button>\n</div>\n@for (file of files(); track file.id; let fileIndex = $index) {\n @let isOpen = !collapsed().has(file.id);\n @let fileState = fileStateOf(file);\n <section class=\"nol-diff-file\" [attr.aria-labelledby]=\"id + '-file-' + fileIndex\">\n <div class=\"nol-diff-file-header\">\n <button type=\"button\" class=\"nol-diff-file-toggle\" data-nol-resizes-row [id]=\"id + '-file-' + fileIndex\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggleFile(file)\">\n <span class=\"nol-diff-file-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-diff-file-path\" data-truncates>{{ file.oldPath === null ? file.path : partResources.formatDiffRename(file.oldPath, file.path) }}</span>\n <span class=\"nol-diff-file-status\">{{ partResources.diffStatusTexts[file.status] }}</span>\n <span class=\"nol-diff-file-counts\" aria-hidden=\"true\">\n <nol-chip [kind]=\"chipKinds.Added\" [count]=\"file.additions\" />\n <nol-chip [kind]=\"chipKinds.Removed\" [count]=\"file.deletions\" />\n </span>\n <span class=\"nol-diff-hidden\">{{ partResources.formatDiffCounts(file.additions, file.deletions) }}</span>\n </button>\n @if (fileState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.formatDiffReviewText(fileState) }}</span>\n }\n @if (canOpenFiles()) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-file-open\" [icon]=\"partResources.diffOpenFileGlyph\" [label]=\"partResources.diffOpenFileLabel\" [nolTooltip]=\"partResources.diffOpenFileLabel\"\n (click)=\"openFile(file)\"></button>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk: null, subject: file.path }\"></ng-container>\n }\n </div>\n @if (isOpen) {\n <div class=\"nol-diff-file-body\">\n @if (file.content.stateText; as text) {\n <p class=\"nol-diff-note\" [class.nol-diff-note-pending]=\"file.content.isPending\">{{ text }}</p>\n }\n @if (isHeld(file)) {\n <div class=\"nol-diff-held\">\n <p class=\"nol-diff-note\">{{ partResources.diffHeldText }}</p>\n <button type=\"button\" nol-button class=\"nol-diff-load\" data-nol-resizes-row [variant]=\"secondary\" (click)=\"reveal(file)\">{{ partResources.diffLoadLabel }}</button>\n </div>\n } @else {\n @for (hunk of file.content.hunks; track hunk.id; let hunkIndex = $index, isLast = $last) {\n @let hunkLabel = partResources.formatDiffHunkLabel(hunkIndex + 1, file.content.hunks.length);\n @let hunkState = reviewOf(file).hunkState(hunk.id);\n <div class=\"nol-diff-hunk\" role=\"group\" [attr.aria-label]=\"hunkLabel\">\n <div class=\"nol-diff-hunk-header\">\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Up]\" [label]=\"partResources.diffExpandLabels[directions.Up]\"\n [nolTooltip]=\"partResources.diffExpandLabels[directions.Up]\" (click)=\"expand(file, hunk, directions.Up)\"></button>\n <span class=\"nol-diff-hunk-range\" aria-hidden=\"true\">{{ partResources.formatDiffHunkRange(hunk.oldStart, hunk.oldLength, hunk.newStart, hunk.newLength) }} {{ hunk.section }}</span>\n @if (hunkState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.diffReviewTexts[hunkState] }}</span>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk, subject: hunkLabel }\"></ng-container>\n }\n </div>\n <div class=\"nol-diff-hunk-lines\" #lines [attr.aria-keyshortcuts]=\"lineKeys()\">\n @if (isSideBySide()) {\n @for (pair of pairsOf(hunk); track $index) {\n <div class=\"nol-diff-pair\">\n @if (pair.oldLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.Old, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n @if (pair.newLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.New, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n </div>\n }\n } @else {\n @for (line of hunk.lines; track $index) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: line.side, file, hunk, lines }\"></ng-container>\n }\n }\n </div>\n @if (isLast) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand nol-diff-expand-down\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Down]\"\n [label]=\"partResources.diffExpandLabels[directions.Down]\" [nolTooltip]=\"partResources.diffExpandLabels[directions.Down]\" (click)=\"expand(file, hunk, directions.Down)\"></button>\n }\n </div>\n }\n }\n </div>\n }\n </section>\n} @empty {\n <p class=\"nol-diff-note nol-diff-empty\">{{ partResources.diffEmptyText }}</p>\n}\n\n<ng-template #reviewActions let-file let-hunk=\"hunk\" let-subject=\"subject\">\n <div class=\"nol-diff-actions\" nolToolbar [nolToolbarLabel]=\"partResources.formatDiffActionsLabel(subject)\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffAcceptLabel\" [icon]=\"partResources.diffAcceptGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Accepted)\"></button>\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffRejectLabel\" [icon]=\"partResources.diffRejectGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Rejected)\"></button>\n </div>\n</ng-template>\n\n<ng-template #cell let-line let-side=\"side\" let-file=\"file\" let-hunk=\"hunk\" let-lines=\"lines\">\n <div class=\"nol-diff-cell\" [class]=\"kindClassOf(line)\" [class.nol-diff-cell-changed]=\"line.kind !== contextKind\"\n (focusin)=\"activate($event, lines)\" (keydown)=\"handleCellKey($event, lines, file, line, side)\">\n <button type=\"button\" class=\"nol-diff-comment material-symbols-rounded\" tabindex=\"-1\" aria-hidden=\"true\" [nolTooltip]=\"partResources.diffCommentLabel\"\n (click)=\"comment(file, line, side)\"><span>{{ partResources.diffCommentGlyph }}</span></button>\n @if (isSideBySide()) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, side)\">{{ line.numberOn(side) }}</span>\n } @else {\n @for (numberSide of numberSides; track numberSide) {\n @if (line.hasNumberOn(numberSide)) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, numberSide)\">{{ line.numberOn(numberSide) }}</span>\n } @else {\n <span class=\"nol-diff-number\" aria-hidden=\"true\"></span>\n }\n }\n }\n <span class=\"nol-diff-sign\" aria-hidden=\"true\">{{ signOf(line) }}</span>\n <span class=\"nol-diff-text\"><span class=\"nol-diff-hidden\">{{ nameOf(line, side) }} </span><span class=\"nol-diff-code\" [nolDiffCode]=\"tokensOf(line, side)\" [nolDiffCodeText]=\"line.text\" [nolDiffCodeChanges]=\"changesOf(hunk, line)\"></span></span>\n </div>\n</ng-template>\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-diff-view {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n color: var(--nol-text);\n}\n\n.nol-diff-view-bar {\n display: flex;\n justify-content: flex-end;\n}\n\n.nol-diff-file {\n min-width: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-code);\n}\n\n.nol-diff-file-header,\n.nol-diff-hunk-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-2);\n background-color: var(--nol-code-header);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-diff-file-toggle {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.nol-diff-file-toggle:is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-diff-cell:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(0px - var(--nol-border-width));\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-diff-file-twistie {\n flex: none;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-diff-file-toggle[aria-expanded=\"true\"] .nol-diff-file-twistie {\n rotate: 90deg;\n}\n\n.nol-diff-file-toggle:dir(rtl)[aria-expanded=\"false\"] .nol-diff-file-twistie {\n rotate: 180deg;\n}\n\n.nol-diff-file-path {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-file-status,\n.nol-diff-hunk-range,\n.nol-diff-review {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-diff-file-counts {\n display: flex;\n flex: none;\n gap: var(--nol-space-1);\n}\n\n.nol-diff-hunk-range {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n font-family: var(--nol-font-mono);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-actions {\n display: flex;\n flex: none;\n}\n\n.nol-diff-file-body {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-hunk + .nol-diff-hunk {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-note {\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n color: var(--nol-text-muted);\n}\n\n.nol-diff-held {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-space-3);\n}\n\n.nol-diff-hunk-lines {\n --nol-diff-gutter: max(1.5rem, var(--nol-pointer-target));\n\n display: grid;\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(max-content, 1fr);\n padding-block: max(0px, (var(--nol-pointer-target) - 1lh) / 2);\n overflow-x: auto;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n}\n\n.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(max-content, 1fr) var(--nol-diff-gutter) auto auto minmax(max-content, 1fr);\n}\n\n.nol-diff-view-wrapped .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(0, 1fr);\n}\n\n.nol-diff-view-wrapped.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(0, 1fr) var(--nol-diff-gutter) auto auto minmax(0, 1fr);\n}\n\n.nol-diff-pair {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-cell {\n position: relative;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-pair > .nol-diff-cell,\n.nol-diff-filler {\n grid-column: span 4;\n}\n\n.nol-diff-cell-added {\n background-color: var(--nol-added-background);\n}\n\n.nol-diff-cell-removed {\n background-color: var(--nol-removed-background);\n}\n\n.nol-diff-number {\n min-width: 2ch;\n padding-inline: var(--nol-space-2) var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: end;\n user-select: none;\n}\n\n.nol-diff-view-opens-files .nol-diff-number:not(:empty) {\n cursor: pointer;\n}\n\n.nol-diff-sign {\n padding-inline-end: var(--nol-space-1);\n white-space: pre;\n user-select: none;\n}\n\n.nol-diff-cell-added .nol-diff-sign {\n color: var(--nol-added);\n}\n\n.nol-diff-cell-removed .nol-diff-sign {\n color: var(--nol-removed);\n}\n\n.nol-diff-text {\n padding-inline-end: var(--nol-space-3);\n white-space: pre;\n}\n\n.nol-diff-view-wrapped .nol-diff-text {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-diff-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n user-select: none;\n}\n\n.nol-diff-comment {\n position: relative;\n z-index: 1;\n display: grid;\n place-items: center;\n align-self: start;\n box-sizing: border-box;\n width: 100%;\n height: var(--nol-pointer-target);\n margin-block: calc((1lh - var(--nol-pointer-target)) / 2);\n padding: 0;\n border: none;\n background: none;\n color: var(--nol-button-text);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n cursor: pointer;\n visibility: hidden;\n user-select: none;\n}\n\n.nol-diff-comment::before {\n content: \"\";\n grid-area: 1 / 1;\n width: 1lh;\n height: 1lh;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n}\n\n.nol-diff-comment > span {\n grid-area: 1 / 1;\n}\n\n.nol-diff-cell:is(:hover, [data-nol-state=\"Hover\"], :focus-visible, [data-nol-state=\"Focus\"]) > .nol-diff-comment {\n visibility: visible;\n}\n\n.nol-diff-code::highlight(nol-code-comment) {\n color: var(--nol-code-comment);\n}\n\n.nol-diff-code::highlight(nol-code-keyword) {\n color: var(--nol-code-keyword);\n}\n\n.nol-diff-code::highlight(nol-code-control) {\n color: var(--nol-code-control);\n}\n\n.nol-diff-code::highlight(nol-code-string) {\n color: var(--nol-code-string);\n}\n\n.nol-diff-code::highlight(nol-code-number) {\n color: var(--nol-code-number);\n}\n\n.nol-diff-code::highlight(nol-code-type) {\n color: var(--nol-code-type);\n}\n\n.nol-diff-code::highlight(nol-code-function) {\n color: var(--nol-code-function);\n}\n\n.nol-diff-code::highlight(nol-code-variable) {\n color: var(--nol-code-variable);\n}\n\n.nol-diff-code::highlight(nol-code-regex) {\n color: var(--nol-code-regex);\n}\n\n.nol-diff-code::highlight(nol-code-meta) {\n color: var(--nol-code-meta);\n}\n\n.nol-diff-code::highlight(nol-diff-added-change) {\n background-color: var(--nol-added-change);\n}\n\n.nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: var(--nol-removed-change);\n}\n\n@media (forced-colors: active) {\n .nol-diff-cell-added,\n .nol-diff-cell-removed {\n background-color: Canvas;\n }\n\n .nol-diff-code {\n color: CanvasText;\n forced-color-adjust: none;\n }\n\n .nol-diff-code::selection {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .nol-diff-code::highlight(nol-code-comment),\n .nol-diff-code::highlight(nol-code-keyword),\n .nol-diff-code::highlight(nol-code-control),\n .nol-diff-code::highlight(nol-code-string),\n .nol-diff-code::highlight(nol-code-number),\n .nol-diff-code::highlight(nol-code-type),\n .nol-diff-code::highlight(nol-code-function),\n .nol-diff-code::highlight(nol-code-variable),\n .nol-diff-code::highlight(nol-code-regex),\n .nol-diff-code::highlight(nol-code-meta) {\n color: CanvasText;\n }\n\n .nol-diff-code::highlight(nol-diff-added-change),\n .nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: Canvas;\n text-decoration: underline solid 2px Highlight;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "directive", type: DiffCodeDirective, selector: "[nolDiffCode]", inputs: ["nolDiffCode", "nolDiffCodeText", "nolDiffCodeChanges"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "busy"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], encapsulation: i0.ViewEncapsulation.None });
371
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: DiffViewComponent, isStandalone: true, selector: "nol-diff-view", inputs: { files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, wrapped: { classPropertyName: "wrapped", publicName: "wrapped", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, canOpenFiles: { classPropertyName: "canOpenFiles", publicName: "canOpenFiles", isSignal: true, isRequired: false, transformFunction: null }, reviews: { classPropertyName: "reviews", publicName: "reviews", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, revealed: { classPropertyName: "revealed", publicName: "revealed", isSignal: true, isRequired: false, transformFunction: null }, collapseLimit: { classPropertyName: "collapseLimit", publicName: "collapseLimit", isSignal: true, isRequired: false, transformFunction: null }, hasShortcuts: { classPropertyName: "hasShortcuts", publicName: "hasShortcuts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", wrapped: "wrappedChange", collapsed: "collapsedChange", revealed: "revealedChange", reviewRequested: "reviewRequested", fileOpenRequested: "fileOpenRequested", contextRequested: "contextRequested", fileExpanded: "fileExpanded", lineCommentRequested: "lineCommentRequested" }, host: { attributes: { "role": "region" }, listeners: { "keydown": "runShortcut($event)" }, properties: { "attr.aria-label": "label()", "attr.aria-keyshortcuts": "hasShortcuts() ? keyShortcuts : null", "class.nol-diff-view-wrapped": "wrapped()", "class.nol-diff-view-side-by-side": "isSideBySide()", "class.nol-diff-view-opens-files": "canOpenFiles()" }, classAttribute: "nol-diff-view" }, 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<div class=\"nol-diff-view-bar\" nolToolbar [nolToolbarLabel]=\"partResources.diffViewActionsLabel\">\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-layout\" data-nol-resizes-row [icon]=\"partResources.diffSideBySideGlyph\" [label]=\"partResources.diffSideBySideLabel\" [pressed]=\"isSideBySide()\"\n [nolTooltip]=\"partResources.diffSideBySideLabel\" (click)=\"toggleLayout()\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-wrap\" data-nol-resizes-row [icon]=\"resources.wordWrapGlyph\" [label]=\"resources.wordWrapLabel\" [pressed]=\"wrapped()\"\n [nolTooltip]=\"resources.wordWrapLabel\" (click)=\"toggleWrap()\"></button>\n</div>\n@for (file of files(); track file.id; let fileIndex = $index) {\n @let isOpen = !collapsed().has(file.id);\n @let fileState = fileStateOf(file);\n <section class=\"nol-diff-file\" [attr.aria-labelledby]=\"id + '-file-' + fileIndex\">\n <div class=\"nol-diff-file-header\">\n <button type=\"button\" class=\"nol-diff-file-toggle\" data-nol-resizes-row [id]=\"id + '-file-' + fileIndex\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggleFile(file)\">\n <span class=\"nol-diff-file-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-diff-file-path\" data-truncates>{{ file.oldPath === null ? file.path : partResources.formatDiffRename(file.oldPath, file.path) }}</span>\n <span class=\"nol-diff-file-status\">{{ partResources.diffStatusTexts[file.status] }}</span>\n <span class=\"nol-diff-file-counts\" aria-hidden=\"true\">\n <nol-chip [kind]=\"chipKinds.Added\" [count]=\"file.additions\" />\n <nol-chip [kind]=\"chipKinds.Removed\" [count]=\"file.deletions\" />\n </span>\n <span class=\"nol-diff-hidden\">{{ partResources.formatDiffCounts(file.additions, file.deletions) }}</span>\n </button>\n @if (fileState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.formatDiffReviewText(fileState) }}</span>\n }\n @if (canOpenFiles()) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-file-open\" [icon]=\"partResources.diffOpenFileGlyph\" [label]=\"partResources.diffOpenFileLabel\" [nolTooltip]=\"partResources.diffOpenFileLabel\"\n (click)=\"openFile(file)\"></button>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk: null, subject: file.path }\"></ng-container>\n }\n </div>\n @if (isOpen) {\n <div class=\"nol-diff-file-body\">\n @if (file.content.stateText; as text) {\n <p class=\"nol-diff-note\" [class.nol-diff-note-pending]=\"file.content.isPending\">{{ text }}</p>\n }\n @if (isHeld(file)) {\n <div class=\"nol-diff-held\">\n <p class=\"nol-diff-note\">{{ partResources.diffHeldText }}</p>\n <button type=\"button\" nol-button class=\"nol-diff-load\" data-nol-resizes-row [variant]=\"secondary\" (click)=\"reveal(file)\">{{ partResources.diffLoadLabel }}</button>\n </div>\n } @else {\n @for (hunk of file.content.hunks; track hunk.id; let hunkIndex = $index, isLast = $last) {\n @let hunkLabel = partResources.formatDiffHunkLabel(hunkIndex + 1, file.content.hunks.length);\n @let hunkState = reviewOf(file).hunkState(hunk.id);\n <div class=\"nol-diff-hunk\" role=\"group\" [attr.aria-label]=\"hunkLabel\">\n <div class=\"nol-diff-hunk-header\">\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Up]\" [label]=\"partResources.diffExpandLabels[directions.Up]\"\n [nolTooltip]=\"partResources.diffExpandLabels[directions.Up]\" (click)=\"expand(file, hunk, directions.Up)\"></button>\n <span class=\"nol-diff-hunk-range\" aria-hidden=\"true\">{{ partResources.formatDiffHunkRange(hunk.oldStart, hunk.oldLength, hunk.newStart, hunk.newLength) }} {{ hunk.section }}</span>\n @if (hunkState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.diffReviewTexts[hunkState] }}</span>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk, subject: hunkLabel }\"></ng-container>\n }\n </div>\n <div class=\"nol-diff-hunk-lines\" #lines [attr.aria-keyshortcuts]=\"lineKeys()\">\n @if (isSideBySide()) {\n @for (pair of pairsOf(hunk); track $index) {\n <div class=\"nol-diff-pair\">\n @if (pair.oldLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.Old, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n @if (pair.newLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.New, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n </div>\n }\n } @else {\n @for (line of hunk.lines; track $index) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: line.side, file, hunk, lines }\"></ng-container>\n }\n }\n </div>\n @if (isLast) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand nol-diff-expand-down\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Down]\"\n [label]=\"partResources.diffExpandLabels[directions.Down]\" [nolTooltip]=\"partResources.diffExpandLabels[directions.Down]\" (click)=\"expand(file, hunk, directions.Down)\"></button>\n }\n </div>\n }\n }\n </div>\n }\n </section>\n} @empty {\n <p class=\"nol-diff-note nol-diff-empty\">{{ partResources.diffEmptyText }}</p>\n}\n\n<ng-template #reviewActions let-file let-hunk=\"hunk\" let-subject=\"subject\">\n <div class=\"nol-diff-actions\" nolToolbar [nolToolbarLabel]=\"partResources.formatDiffActionsLabel(subject)\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffAcceptLabel\" [icon]=\"partResources.diffAcceptGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Accepted)\"></button>\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffRejectLabel\" [icon]=\"partResources.diffRejectGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Rejected)\"></button>\n </div>\n</ng-template>\n\n<ng-template #cell let-line let-side=\"side\" let-file=\"file\" let-hunk=\"hunk\" let-lines=\"lines\">\n <div class=\"nol-diff-cell\" [class]=\"kindClassOf(line)\" [class.nol-diff-cell-changed]=\"line.kind !== contextKind\"\n (focusin)=\"activate($event, lines)\" (keydown)=\"handleCellKey($event, lines, file, line, side)\">\n <button type=\"button\" class=\"nol-diff-comment material-symbols-rounded\" tabindex=\"-1\" aria-hidden=\"true\" [nolTooltip]=\"partResources.diffCommentLabel\"\n (click)=\"comment(file, line, side)\"><span>{{ partResources.diffCommentGlyph }}</span></button>\n @if (isSideBySide()) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, side)\">{{ line.numberOn(side) }}</span>\n } @else {\n @for (numberSide of numberSides; track numberSide) {\n @if (line.hasNumberOn(numberSide)) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, numberSide)\">{{ line.numberOn(numberSide) }}</span>\n } @else {\n <span class=\"nol-diff-number\" aria-hidden=\"true\"></span>\n }\n }\n }\n <span class=\"nol-diff-sign\" aria-hidden=\"true\">{{ signOf(line) }}</span>\n <span class=\"nol-diff-text\"><span class=\"nol-diff-hidden\">{{ nameOf(line, side) }} </span><span class=\"nol-diff-code\" [nolDiffCode]=\"tokensOf(line, side)\" [nolDiffCodeText]=\"line.text\" [nolDiffCodeChanges]=\"changesOf(hunk, line)\"></span></span>\n </div>\n</ng-template>\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-diff-view {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n color: var(--nol-text);\n}\n\n.nol-diff-view-bar {\n display: flex;\n justify-content: flex-end;\n}\n\n.nol-diff-file {\n min-width: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-code);\n}\n\n.nol-diff-file-header,\n.nol-diff-hunk-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-2);\n background-color: var(--nol-code-header);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-diff-file-toggle {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.nol-diff-file-toggle:is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-diff-cell:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(0px - var(--nol-border-width));\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-diff-file-twistie {\n flex: none;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-diff-file-toggle[aria-expanded=\"true\"] .nol-diff-file-twistie {\n rotate: 90deg;\n}\n\n.nol-diff-file-toggle:dir(rtl)[aria-expanded=\"false\"] .nol-diff-file-twistie {\n rotate: 180deg;\n}\n\n.nol-diff-file-path {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-file-status,\n.nol-diff-hunk-range,\n.nol-diff-review {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-diff-file-counts {\n display: flex;\n flex: none;\n gap: var(--nol-space-1);\n}\n\n.nol-diff-hunk-range {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n font-family: var(--nol-font-mono);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-actions {\n display: flex;\n flex: none;\n}\n\n.nol-diff-file-body {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-hunk + .nol-diff-hunk {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-note {\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n color: var(--nol-text-muted);\n}\n\n.nol-diff-held {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-space-3);\n}\n\n.nol-diff-hunk-lines {\n --nol-diff-gutter: max(1.5rem, var(--nol-pointer-target));\n\n display: grid;\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(max-content, 1fr);\n padding-block: max(0px, (var(--nol-pointer-target) - 1lh) / 2);\n overflow-x: auto;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n}\n\n.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(max-content, 1fr) var(--nol-diff-gutter) auto auto minmax(max-content, 1fr);\n}\n\n.nol-diff-view-wrapped .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(0, 1fr);\n}\n\n.nol-diff-view-wrapped.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(0, 1fr) var(--nol-diff-gutter) auto auto minmax(0, 1fr);\n}\n\n.nol-diff-pair {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-cell {\n position: relative;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-pair > .nol-diff-cell,\n.nol-diff-filler {\n grid-column: span 4;\n}\n\n.nol-diff-cell-added {\n background-color: var(--nol-added-background);\n}\n\n.nol-diff-cell-removed {\n background-color: var(--nol-removed-background);\n}\n\n.nol-diff-number {\n min-width: 2ch;\n padding-inline: var(--nol-space-2) var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: end;\n user-select: none;\n}\n\n.nol-diff-view-opens-files .nol-diff-number:not(:empty) {\n cursor: pointer;\n}\n\n.nol-diff-sign {\n padding-inline-end: var(--nol-space-1);\n white-space: pre;\n user-select: none;\n}\n\n.nol-diff-cell-added .nol-diff-sign {\n color: var(--nol-added);\n}\n\n.nol-diff-cell-removed .nol-diff-sign {\n color: var(--nol-removed);\n}\n\n.nol-diff-text {\n padding-inline-end: var(--nol-space-3);\n white-space: pre;\n}\n\n.nol-diff-view-wrapped .nol-diff-text {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-diff-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n user-select: none;\n}\n\n.nol-diff-comment {\n position: relative;\n z-index: 1;\n display: grid;\n place-items: center;\n align-self: start;\n box-sizing: border-box;\n width: 100%;\n height: var(--nol-pointer-target);\n margin-block: calc((1lh - var(--nol-pointer-target)) / 2);\n padding: 0;\n border: none;\n background: none;\n color: var(--nol-button-text);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n cursor: pointer;\n visibility: hidden;\n user-select: none;\n}\n\n.nol-diff-comment::before {\n content: \"\";\n grid-area: 1 / 1;\n width: 1lh;\n height: 1lh;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n}\n\n.nol-diff-comment > span {\n grid-area: 1 / 1;\n}\n\n.nol-diff-cell:is(:hover, [data-nol-state=\"Hover\"], :focus-visible, [data-nol-state=\"Focus\"]) > .nol-diff-comment {\n visibility: visible;\n}\n\n.nol-diff-code::highlight(nol-code-comment) {\n color: var(--nol-code-comment);\n}\n\n.nol-diff-code::highlight(nol-code-keyword) {\n color: var(--nol-code-keyword);\n}\n\n.nol-diff-code::highlight(nol-code-control) {\n color: var(--nol-code-control);\n}\n\n.nol-diff-code::highlight(nol-code-string) {\n color: var(--nol-code-string);\n}\n\n.nol-diff-code::highlight(nol-code-number) {\n color: var(--nol-code-number);\n}\n\n.nol-diff-code::highlight(nol-code-type) {\n color: var(--nol-code-type);\n}\n\n.nol-diff-code::highlight(nol-code-function) {\n color: var(--nol-code-function);\n}\n\n.nol-diff-code::highlight(nol-code-variable) {\n color: var(--nol-code-variable);\n}\n\n.nol-diff-code::highlight(nol-code-regex) {\n color: var(--nol-code-regex);\n}\n\n.nol-diff-code::highlight(nol-code-meta) {\n color: var(--nol-code-meta);\n}\n\n.nol-diff-code::highlight(nol-diff-added-change) {\n background-color: var(--nol-added-change);\n}\n\n.nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: var(--nol-removed-change);\n}\n\n@media (forced-colors: active) {\n .nol-diff-cell-added,\n .nol-diff-cell-removed {\n background-color: Canvas;\n }\n\n .nol-diff-code {\n color: CanvasText;\n forced-color-adjust: none;\n }\n\n .nol-diff-code::selection {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .nol-diff-code::highlight(nol-code-comment),\n .nol-diff-code::highlight(nol-code-keyword),\n .nol-diff-code::highlight(nol-code-control),\n .nol-diff-code::highlight(nol-code-string),\n .nol-diff-code::highlight(nol-code-number),\n .nol-diff-code::highlight(nol-code-type),\n .nol-diff-code::highlight(nol-code-function),\n .nol-diff-code::highlight(nol-code-variable),\n .nol-diff-code::highlight(nol-code-regex),\n .nol-diff-code::highlight(nol-code-meta) {\n color: CanvasText;\n }\n\n .nol-diff-code::highlight(nol-diff-added-change),\n .nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: Canvas;\n text-decoration: underline solid 2px Highlight;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "directive", type: DiffCodeDirective, selector: "[nolDiffCode]", inputs: ["nolDiffCode", "nolDiffCodeText", "nolDiffCodeChanges"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], encapsulation: i0.ViewEncapsulation.None });
372
372
  }
373
373
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: DiffViewComponent, decorators: [{
374
374
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"diff-view.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAe,iBAAiB,EAAuB,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EACvK,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAA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AAC,iBAGtK,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,eAAe;wBACxB,MAAM,EAAE,QAAQ;wBAChB,mBAAmB,EAAE,SAAS;wBAC9B,0BAA0B,EAAE,sCAAsC;wBAClE,+BAA+B,EAAE,WAAW;wBAC5C,oCAAoC,EAAE,gBAAgB;wBACtD,mCAAmC,EAAE,gBAAgB;wBACrD,WAAW,EAAE,qBAAqB;qBACnC"}
1
+ {"version":3,"file":"diff-view.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAe,iBAAiB,EAAuB,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EACvK,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,OAAO,EAAE,SAAS,EAAE,M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AM,EAAE,QAAQ;wBAChB,mBAAmB,EAAE,SAAS;wBAC9B,0BAA0B,EAAE,sCAAsC;wBAClE,+BAA+B,EAAE,WAAW;wBAC5C,oCAAoC,EAAE,gBAAgB;wBACtD,mCAAmC,EAAE,gBAAgB;wBACrD,WAAW,EAAE,qBAAqB;qBACnC"}
@@ -21,10 +21,10 @@ export class GalleryButtonComponent {
21
21
  variants = ButtonVariant;
22
22
  buttonSizes = ButtonSize;
23
23
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryButtonComponent, isStandalone: true, selector: "nol-gallery-button", 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<nol-gallery-specimen [name]=\"text.button\">\n <nol-gallery-cell [caption]=\"text.primary\"><button type=\"button\" nol-button>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><button type=\"button\" nol-button nolGalleryHover>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondary\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><button type=\"button\" nol-button disabled>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\" disabled>{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><button type=\"button\" nol-button nolGalleryFocus>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textButton\"><button type=\"button\" nol-button [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Text\" disabled>{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFocus\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerLook\"><button type=\"button\" nol-button [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerHover\"><button type=\"button\" nol-button nolGalleryHover [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerDisabled\"><button type=\"button\" nol-button [danger]=\"true\" disabled>{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerFocus\"><button type=\"button\" nol-button nolGalleryFocus [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\"><button type=\"button\" nol-button [busy]=\"true\">{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlay\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayHover\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayDisabled\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" disabled>{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayFocus\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayRow\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayBackdrop\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide nol-gallery-backdrop\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" [backdrop]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button nolGalleryHover [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlined\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedDisabled\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\" disabled><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compact\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactRow\">\n <span class=\"nol-gallery-compact-row\">\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphCopy\" [label]=\"text.copyLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><button type=\"button\" nol-button class=\"nol-gallery-narrow\" [nolTooltip]=\"text.longText\" [nolTooltipTruncated]=\"true\">{{ text.longText }}</button></nol-gallery-cell>\n</nol-gallery-specimen>\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: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryButtonComponent, isStandalone: true, selector: "nol-gallery-button", 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<nol-gallery-specimen [name]=\"text.button\">\n <nol-gallery-cell [caption]=\"text.primary\"><button type=\"button\" nol-button>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><button type=\"button\" nol-button nolGalleryHover>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondary\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><button type=\"button\" nol-button disabled>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\" disabled>{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><button type=\"button\" nol-button nolGalleryFocus>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textButton\"><button type=\"button\" nol-button [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Text\" disabled>{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFocus\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerLook\"><button type=\"button\" nol-button [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerHover\"><button type=\"button\" nol-button nolGalleryHover [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerDisabled\"><button type=\"button\" nol-button [danger]=\"true\" disabled>{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerFocus\"><button type=\"button\" nol-button nolGalleryFocus [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\"><button type=\"button\" nol-button [busy]=\"true\">{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlay\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayHover\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayDisabled\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" disabled>{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayFocus\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayRow\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayBackdrop\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide nol-gallery-backdrop\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" [backdrop]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button nolGalleryHover [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlined\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedDisabled\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\" disabled><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accent\">\n <button type=\"button\" nol-button [variant]=\"variants.Accent\">{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accentHover\">\n <button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Accent\">{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accentDisabled\">\n <button type=\"button\" nol-button [variant]=\"variants.Accent\" disabled>{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accentFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Accent\">{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compact\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactRow\">\n <span class=\"nol-gallery-compact-row\">\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphCopy\" [label]=\"text.copyLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><button type=\"button\" nol-button class=\"nol-gallery-narrow\" [nolTooltip]=\"text.longText\" [nolTooltipTruncated]=\"true\">{{ text.longText }}</button></nol-gallery-cell>\n</nol-gallery-specimen>\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: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
25
25
  }
26
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryButtonComponent, decorators: [{
27
27
  type: Component,
28
- args: [{ selector: "nol-gallery-button", imports: [ButtonComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, TooltipDirective], 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<nol-gallery-specimen [name]=\"text.button\">\n <nol-gallery-cell [caption]=\"text.primary\"><button type=\"button\" nol-button>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><button type=\"button\" nol-button nolGalleryHover>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondary\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><button type=\"button\" nol-button disabled>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\" disabled>{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><button type=\"button\" nol-button nolGalleryFocus>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textButton\"><button type=\"button\" nol-button [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Text\" disabled>{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFocus\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerLook\"><button type=\"button\" nol-button [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerHover\"><button type=\"button\" nol-button nolGalleryHover [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerDisabled\"><button type=\"button\" nol-button [danger]=\"true\" disabled>{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerFocus\"><button type=\"button\" nol-button nolGalleryFocus [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\"><button type=\"button\" nol-button [busy]=\"true\">{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlay\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayHover\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayDisabled\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" disabled>{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayFocus\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayRow\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayBackdrop\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide nol-gallery-backdrop\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" [backdrop]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button nolGalleryHover [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlined\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedDisabled\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\" disabled><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compact\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactRow\">\n <span class=\"nol-gallery-compact-row\">\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphCopy\" [label]=\"text.copyLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><button type=\"button\" nol-button class=\"nol-gallery-narrow\" [nolTooltip]=\"text.longText\" [nolTooltipTruncated]=\"true\">{{ text.longText }}</button></nol-gallery-cell>\n</nol-gallery-specimen>\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: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
28
+ args: [{ selector: "nol-gallery-button", imports: [ButtonComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, TooltipDirective], 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<nol-gallery-specimen [name]=\"text.button\">\n <nol-gallery-cell [caption]=\"text.primary\"><button type=\"button\" nol-button>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><button type=\"button\" nol-button nolGalleryHover>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondary\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Secondary\">{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><button type=\"button\" nol-button disabled>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.secondaryDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Secondary\" disabled>{{ text.secondary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><button type=\"button\" nol-button nolGalleryFocus>{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textButton\"><button type=\"button\" nol-button [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textHover\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textDisabled\"><button type=\"button\" nol-button [variant]=\"variants.Text\" disabled>{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFocus\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\">{{ text.textButton }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerLook\"><button type=\"button\" nol-button [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerHover\"><button type=\"button\" nol-button nolGalleryHover [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerDisabled\"><button type=\"button\" nol-button [danger]=\"true\" disabled>{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dangerFocus\"><button type=\"button\" nol-button nolGalleryFocus [danger]=\"true\">{{ text.deleteLabel }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\"><button type=\"button\" nol-button [busy]=\"true\">{{ text.primary }}</button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlay\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayHover\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayDisabled\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" disabled>{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayFocus\"><span class=\"nol-gallery-picture nol-gallery-picture-tools\"><button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button></span></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayRow\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.overlayBackdrop\">\n <span class=\"nol-gallery-picture nol-gallery-picture-tools nol-gallery-picture-wide nol-gallery-backdrop\">\n <span class=\"nol-gallery-picture-row\">\n <button type=\"button\" nol-icon-button [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomOut\" [label]=\"text.zoomOutLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Text\" [overlay]=\"true\" [backdrop]=\"true\">{{ text.zoomPercent }}</button>\n <button type=\"button\" nol-icon-button nolGalleryHover [overlay]=\"true\" [backdrop]=\"true\" [buttonHeight]=\"true\" [icon]=\"text.glyphZoomIn\" [label]=\"text.zoomInLabel\"></button>\n </span>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlined\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedDisabled\">\n <button type=\"button\" nol-button [variant]=\"variants.Outlined\" disabled><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.outlinedFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Outlined\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphShield }}</span>{{ text.outlinedLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accent\">\n <button type=\"button\" nol-button [variant]=\"variants.Accent\">{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accentHover\">\n <button type=\"button\" nol-button nolGalleryHover [variant]=\"variants.Accent\">{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accentDisabled\">\n <button type=\"button\" nol-button [variant]=\"variants.Accent\" disabled>{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.accentFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Accent\">{{ text.accentLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compact\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactFocus\">\n <button type=\"button\" nol-button nolGalleryFocus [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.compactRow\">\n <span class=\"nol-gallery-compact-row\">\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphCopy\" [label]=\"text.copyLabel\"></button>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [size]=\"buttonSizes.Compact\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ text.glyphStop }}</span>{{ text.stopLabel }}</button>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><button type=\"button\" nol-button class=\"nol-gallery-narrow\" [nolTooltip]=\"text.longText\" [nolTooltipTruncated]=\"true\">{{ text.longText }}</button></nol-gallery-cell>\n</nol-gallery-specimen>\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: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
29
29
  }] });
30
30
  //# sourceMappingURL=gallery-button.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gallery-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,sBAAsB;IACd,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,QAAQ,GAAyB,aAAa,CAAC;IAC/C,WAAW,GAAsB,UAAU,CAAC;uGAHpD,sBAAsB;2FAAtB,sBAAsB,8EC1BnC,u8OAsEA,0gEDhDY,eAAe,oJAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,mBAAmB,2MAAE,gBAAgB;;2FAI5H,sBAAsB;kBANlC,SAAS;+BACE,oBAAoB,WACrB,CAAC,eAAe,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC"}
1
+ {"version":3,"file":"gallery-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,sBAAsB;IACd,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,QAAQ,GAAyB,aAAa,CAAC;IAC/C,WAAW,GAAsB,UAAU,CAAC;uGAHpD,sBAAsB;2FAAtB,sBAAsB,8EC1BnC,srQAkFA,0gED5DY,eAAe,oJAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,mBAAmB,2MAAE,gBAAgB;;2FAI5H,sBAAsB;kBANlC,SAAS;+BACE,oBAAoB,WACrB,CAAC,eAAe,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC"}